adriank's blog

Android for Everyone?

It could be a joke if someone tell us that PHP would be one of developing languages for mobiles, but the impossible is nothing for Android: http://www.developer.com/lang/php/article.php/3904261/Build-Your-First-P...

Who's the King

Answer: Google :) I'm really amazed what's going on at Android technology - last few weeks I look at it closer, thinking about become an developer after regular job time (but now I'm really confused if I shouldn't look for full time job - it's so brilliant technology). Yesterday I have looked at some blogs and found something what is a revolution in developing for mobiles: http://appinventor.googlelabs.com/about/. Developing with Idea plugin, or Eclipse is great, but this tool seems to be so simple to use, that market share of Android should get a huge impact.

LucidGaze

If you work with Lucene search or Solr, you probably would be interested in http://www.lucidimagination.com/Downloads/LucidGaze-for-Lucene - this is very useful monitoring tool, which most important features are:
* AnalysisStats: Analyzers, TokenFilters, TokenStreams, and Tokenizers, and which were used to produce the TokenStream for particular field
* DocumentStats: Number of documents indexed, as well as fields in the index

Hibernate Spatial

It's nice library which allows Hibernate to use geolocalization data - with few simple criteria queries you can search e.g. events in proximity of some place.

Some examples from their tutorial:

private List find(String wktFilter){
WKTReader fromText = new WKTReader();
Geometry filter = null;
try{
filter = fromText.read(wktFilter);
} catch(ParseException e){
throw new RuntimeException("Not a WKT String:" + wktFilter);
}
Session session = HibernateUtil.getSessionFactory().getCurrentSession();

HTML5 very good presentation!

On http://slides.html5rocks.com/ you can watch in well prepared presentation some features of incoming html5. Everybody should know that new era is coming, and a lot of new features would be to learn. I wish that Wicket would be ready to all these new features soon :).
Most of this presentation is visible in Chrome, some effects in Firefox.

Why NOT Spring

I nearly every project I'm involved I use Spring, some time ago I have decribed migration from Spring to Guice, but so far I wasn't any chance to use it in any new project. I have still strong feeling that Guice have a power, and as a prove that these feelings aren't fool and naive, you can read the someone else point of view and thinks Guice beats the Spring:

Sad information for all Linux fans

Linux isn't commonly used desktop system yet, even as it is free of charge, with quite user friendly installer, great GUI - people still use Windows OSes for surfing. People don't know what is good :) My personal opinion is that entertainment industry can "dig the grave" faster for Windows, than any flunny Compiz L&F.
http://royal.pingdom.com/2010/08/10/failure-of-linux-to-grab-1-percent-o...

Patents - nowadays most dangerous weapon?

"Patents make a lot of sense in many industries; they are needed to protect the designs of industrial equipment, pharmaceutical formulations, biotechnology products and methods, biomedical devices, consumer products (toothpaste, shampoo, contact lenses, etc.), advanced materials & composites, and of course, widgets (lighting fixtures & elements, batteries, toys, tools, etc.). But in software these are just nuclear weapons in an arms race. They don’t foster innovation, they inhibit it. That’s because things change rapidly in this industry.

Scala's interesting blog entries

I found this two entries very informative, even if they are quite short. I think they are good pros for using Scala, could be useful when you want to convince someone to Scala.

http://warpedjavaguy.wordpress.com/2010/08/02/the-scala-is-too-complex-c...
http://blog.fogus.me/2010/08/06/martinodersky-take5-tolist/

Idea small hint

Tired of writing private static final Logger LOG = Logger.getLogger(SomeClass.class);? So you probably already use Live templates - if not try to type in Java Editor sout that press Tab, or Ctrl+J than find psvm - really cool, but there is some hints to learn anyway.
Let see our logger example:
private static final Logger LOG = Logger.getLogger(SomeClass.class);

We want to have a Live Template called log which will type this into our Java code, so:
1) in settings find Live Templates, than press Add...

Recent comments

Syndicate content