Quem é Telefone.ninja ?

Segue os dados da hospedagem do infame site que fornece informações pessoais publicamente pela internet:

Domain Name: telefone.ninja
Registry Domain ID: 4267933f0d484676b1c51fe7bec6fd2a-RSIDE
Registrar WHOIS Server: www.netim.com/domain/tools/whois.php
Registrar URL: http://www.netim.com
Updated Date: 2017-06-06T08:18:14Z
Creation Date: 2017-05-11T19:30:36Z
Registry Expiry Date: 2018-05-11T19:30:36Z
Registrar: NETIM sarl
Registrar IANA ID: 1519
Registrar Abuse Contact Email: tld@netim.com
Registrar Abuse Contact Phone:
Domain Status: clientTransferProhibited https://icann.org/eppclientTransferProhibited
Registry Registrant ID: c7c277e5830240ce8b00f0a836dc5b45-RSIDE
Registrant Name: ricardo torres
Registrant Organization: bytecode tech inc
Registrant Street: al rio negro 545
Registrant City: SAO PAULO
Registrant State/Province:
Registrant Postal Code: 06454001
Registrant Country: BR
Registrant Phone: 55.137458745
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: cnpjbrasilcontato@gmail.com
Registry Admin ID: 857f0565e0374fcf9bc81020c5a16303-RSIDE
Admin Name: ricardo torres
Admin Organization: bytecode tech inc
Admin Street: al rio negro 545
Admin City: SAO PAULO
Admin State/Province:
Admin Postal Code: 06454001
Admin Country: BR
Admin Phone: 55.937458745
Admin Phone Ext:
Admin Fax:
Admin Fax Ext:
Admin Email: cnpjbrasilcontato@gmail.com
Registry Tech ID: bf07e26654264ccc923f72fed7109b43-RSIDE
Tech Name: ricardo torres
Tech Organization: bytecode tech inc
Tech Street: al rio negro 545
Tech City: SAO PAULO
Tech State/Province:
Tech Postal Code: 06454001
Tech Country: BR
Tech Phone: 55.937458745
Tech Phone Ext:
Tech Fax:
Tech Fax Ext:
Tech Email: cnpjbrasilcontato@gmail.com
Name Server: aida.ns.cloudflare.com
Name Server: curt.ns.cloudflare.com
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
Last update of WHOIS database: 2017-06-08T14:59:16Z

Java @Schedule error

I was trying to scheduling a method from a EJB class using the @Schedule annotation of the javax.ejb package.

@Schedule(second=”*/5″, minute=”*”, hour=”*”)
public void listarMsgs()
logger.log(Level.INFO, “do something…”);

But every time the method was called it  appeared a error like this:

Failed to reinstate timer…

Googling for about some time I figure out that it was a kind bug of the application server, JBoss Wildfly. I’m using the 9 version.

The solution was clear the folder under the standalone/data/timer-service-data that is where the server creates the xml of the schedule job.

Javascript is awesome

Javascript logo.

I’m very excited about studying Javascript on the mission of expand my knowledges at front-end. The principal goal is use Javascript at my Java back-end projects.

So, two things I really liked on javascript so far is:

  1. template string;
  2. spread operator.

The first concept lets a array be used as params of methods, on a very easy and functional way.

The second one helps on format messages that uses dynamics values, as variables. We can just reference the value inside a string pattern, marked with the ` character.

See the example…

Continue reading

Machine Learning – Classification

How it works?

Tthere’s a input x, like sentence from review, a classified MODEL that generates the output, y. The predicted class, like positive or negative reviews.


Multiclass Classifier: input (x) webpages and classifiers (y) like education, sport, health, IT and so on.

Spam filtering: by model classification of email input variables like text of email, ip, sender, etc. To output of classifying into not spam or spam.

Image classification: predictions through analysis of pixel images.

Personalized medical diagnosis: input of indicators like temperature, x-ray analysis, medical tests, for a disease classifier model, that predicts healthy, cold, flu, pneumonia etc.

And the last, the application for reading minds, with brain images that, applied to a model classifier it is possible to discover which image is seeing by the person.

Lambdas Oracle MOOC

Java 8 Lambda

Section 1

– Need changes to Java to simplify parallel coding.
– Lambda expressions simplify how to pass behavior as a parameter.

-Show the differences through Java basic code, inner classes and lambdas.

Non-functional (imperative) programming style versus functional.

Problem: external iteration.
After: more functional with inner classes;
And then: lambda approach, more concise, less code (error-prone), client logic is stateless, thread-safe.

The lambda expression provides the implementation of the abstract method. The type is the abstract method.

@FunctionalInterface -> Functional Interface = an interface with one abstract method; default doesn’t count. The equals also doesn’t count in therms of abstract method.

Variable assignment: Callable c = () -> process();

Method parameter: mew Thread(() -> process()).start();

Lambda expressions can be used anywhere the type is a functional interface.

– A functional interface has only one abstract method.

The lambda expression provides the implementation of the single abstract method of the functional interface.

java.util.function Package


Operation that takes a single value and return no result: String s -> System.out.println(s) .

Example: String s -> System.out.println(s);


Takes two values and returns no result.

Example: (k,v) -> System.out.println(“key: ” + k + “, value: ” + v);


The opposite of a Consumer. Doesn’t take any parameter and returns a value.

Example: ( ) -> createLogMessage();


Takes one argument, do something and returns a result.

Example: Student s -> s.getName();


Takes two arguments and returns a result.

Example: (String name, Student s) -> new Teacher(name, student);


Kind function: single argument and result of the same type.

  • T apply(T a)

Example: String s -> s.toLowerCase();


Specialised form of BiFunction: two arguments and a result, all of the same type.

  • T apply(T a, T b)

Example: (String x, String y) -> { if (x.length() > y.length()) return x; return y; }


A boolean valued function of one argument:

Example: Student s -> s.graduationYear() == 2011


Takes two arguments

Example: (Student s, int minGrade) -> s.grade <= minGrade

Method and constructor references

FileFilter x = (File f) -> f.canRead();

FileFilter x = File::canRead;

External variables

Final or effective final.

Link to the on line free Oracle course.

10 Rules for Writing Safety Critical Code

In the current issue of Java Magazine the from editor column talks about the size of classes. The benefits of class with lines of code (LOCs) less than 60. But also some challenges that comes with.

What I found curious was a reference to 10 rules for writing safety critical code, that’s language agnostic. So it can be applied on actual Java projects without constraints. Other curious thing is that these rules are used by NASA, as describes the article.

The link for the rules is here.

The rule of limiting classes (functions at the original) to 60 lines of code is challenger and the article explain it very well.

Other important rules is the 10th: compile with all warnings enabled, and use one or more source code analyzers. Very actual.

So I thought that it was interesting and could open deeper discussions.