Archive for the 'Opinions' Category
I very much prefer this approach: OutputStream out = new MyOutputStream(…); //may throw IOException try { //use the stream } finally { out.close(); } than this: OutputStream out = null; try { out = new MyOutputStream(…); //may throw IOException //use the stream } finally { if (out != null) { out.close(); } } I just [...]
Checking configuration files inside jars
0 Comments Published June 1st, 2011 in Java, Linux, Opinions, UnixAre you habit to have some configuration files packaged inside the jar of your application? If so, you can still have a look at those configuration files in the running environment using the unzip Unix utility. $ unzip -p /opt/myapp/lib/my-app.jar log4j.properties log4j.rootLogger=INFO,stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Threshold=INFO log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{dd-MMM hh:mm} [%-5p] %m%n The -p option uncompress and prints [...]
Fan Control for MacBook
0 Comments Published May 25th, 2011 in Apple, Hardware, Opinions, OSX, SoftwareIf you are an objective MacBook user you may think that those laptops tend to overheat. In case, you may give FanControl a try. If you are an Apple Fan, then it’s just correct that your keyboard is on fire.
Java Hangs When Converting 2.2250738585072012e-308
1 Comment Published February 3rd, 2011 in Java, OpinionsJust discovered an interesting bug in Java interpreter and compiler, that makes them hang when converting the value 2.2250738585072012e-308. Nice to know. The bug has been reported to Oracle, but I supposed they will include this in their collection of bugs and sell it as “Oracle Database 12g” product. :-)
There are a certain number of naming conventions used for unit tests. At beginning, with JUnit 3, to define a test it was mandatory that the class name was named like MyClassTest, be extending from TestCase and all the test method names were starting with ‘test’ as in ‘testMyMethod()’. I think that this is a [...]
AppStore, Playstation Store and the forced language
3 Comments Published January 13th, 2011 in Apple, Internet, Opinions, Software, WebDear Apple, dear Sony, dear stupid "international" company willing to sell me stuff through internet... the fact that, in this period of my life, I am living in Germany and I own a German credit card, doesn't mean that I can perfectly understand German. So why there is no way to change the language in [...]
I've spent last 3 months working on Zürich, so here I am going to share my experience as I did previously about Düsseldorf. I moved in Zürich with my girlfriend after having found a job in a bank. Switzerland is famous to have a low unemployment rate, and Zurich is known to be an international [...]
Working in Düsseldorf
11 Comments Published June 3rd, 2010 in Life, universe and everything, OpinionsI've been working in Düsseldorf for some years and now I am leaving because I got job elsewhere. But before I want to share my experience and some tips that could be useful to people working (or planning to work) abroad, and in particular in this geographical area. About Düsseldorf Düsseldorf is a wonderful place, [...]
I feel safe in managing my tasks on computers when I can always undo last operations and restore a working environment. For that reasons tools like cvs, subversion, git, etc. do exist. But the same should be true with an operating system. You do your stuff, install apps, and when unhappy of the changes you [...]
Top 3 things to do to make better software
8 Comments Published April 16th, 2010 in Java, Life, universe and everything, Opinions, SoftwareSome time ago, I've answered to a job interview question which was sounding more or less like: «suppose you have 20 minutes to talk to an audience of junior developers about what have been the lessons you learned from your software development experience, and resume that in three points, about what a good developer shall [...]
Search
About
You are currently browsing the NewInstance weblog archives for the 'Opinions' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||
Archives
Categories
- Android (3)
- Apple (26)
- Books (7)
- Eclipse (14)
- Errors (3)
- Firefox (7)
- Git (2)
- Hardware (16)
- Horror Code (8)
- Internet (18)
- Java (98)
- JavaScript (9)
- Life, universe and everything (45)
- Lifehacks (25)
- Linux (50)
- Opinions (25)
- OSX (4)
- Python (1)
- Software (27)
- Speeches and Conferences (8)
- Unix (3)
- Web (21)
- Windows (19)
Tag Cloud
Android apple architecture Bash colors configuration CSS Development Düsseldorf Eclipse germany Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux MacBook music night Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu video Web XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.



