Archive for the 'Uncategorized' Category

Scala Developer’s Level

Martin Odersky wrote the leveling of Scala developers:

Level A1: Beginning application programmer
Java-like statements and expressions: standard operators, method calls, conditionals, loops, try/catch
class, object, def, val, var, import, package
Infix notation for method calls
Simple closures
Collections with map, filter, etc
for-expressions
Level A2: Intermediate application programmer
Pattern matching
Trait composition
Recursion, in particular tail recursion
XML literals
Level A3: Expert application programmer
Folds, i.e. methods such as foldLeft, foldRight
Streams and other lazy data structures
Actors
Combinator parsers
Level L1: Junior library designer
Type parameters
Traits
Lazy vals
Control abstraction, currying
By-name parameters
Level L2: Senior library designer
Variance annotations
Existential types (e.g., to interface with Java wildcards)
Self type annotations and the cake pattern for dependency injection
Structural types (aka static duck typing)
Defining map/flatmap/withFilter for new kinds of for-expressions
Extractors
Level L3: Expert library designer
Early initializers
Abstract types
Implicit definitions
Higher-kinded types

I guess I’m not even on A1 level :)

Eclipse 3.7 M5 New and Noteworthy

Here is the new and noteworthy list for the milestone 5 of Eclipse 3.7 (aka Indigo).

guava-r08 is here!

Last night, Kevin released the 8th version of Google Guava libraries. For me personally, nothing so exciting in this release. Just nice to have some bugs fixed and some new methods and classes. MinMaxPriorityQueue could be interesting, but I don’t have scenario where to use it right now.

Enjoy it while it lasts!

Google Cloud Print?

Will it be a better solution than AirPrint?

By connecting your printer with the Google Cloud you will be able to print to your printer from any computer or smart phone, regardless of where you are. Just activate the Google Cloud Print connector in Google Chrome and your printer will automatically be available to you from Google Cloud Print enabled web and mobile apps.

Wolfram Alpha API

Now is for all to use. I hope people will build sophisticated application using the API. Java binding is also available!

By the way, DuckDuckGo also uses the API.

DuckDuckGo

While Google is obviously the only search engine for many people, it’s been lately spoiled by black SEO practice which causes a lot of spams in its search result.

Here comes a new search engine, which promises to filter spam websites and promises not to track its visitors. While it’s certainly not close enough to any major search engines out there, it has great promise and it is for us to see the future…

Removing vertical scrollbar from SyntaxHighlighter 3

An annoying bug in the new version of SyntaxHighlighter 3 shows vertical scrollbar on every code snippet.

To fix this, SSH to your hosting and change the code under syntaxhighlighter/syntaxhighlighter3/styles/shCore.css and change:

.syntaxhighlighter {
  ...
  overflow: auto !important;
  ...
}

to:

.syntaxhighlighter {
  ...
  overflow: hidden !important;
  ...
}

Proof: Did you see vertical scrollbar on my snippet?

Code coverage goal: 80% and no less!

But it is nice to see green overall on your code coverage reports, isn’t it?

Google Docs: Before and After

How you compare the old Google Docs and the new one?

Here is the old:

Here is the new:

I like the new one much better.

2000! Yippi!

I can now edit a post on StackOverflow.