HNHacker News
TopNewBestAskShowJobs

justwrote

31 karma · joined March 29, 2011

I'm a Scala Hacker from Germany.
submissionscomments
justwrote··on Fake Name Generator
There are also faker libraries for various languages, e.g. the famous https://github.com/stympy/faker, https://github.com/fzaninotto/Faker and a little port in Scala (created by me) https://github.com/justwrote/scala-faker
justwrote··on Why is a minute divided into 60 seconds, an hour into 60 minutes?
You can also find the duodecimal system in languages like English and German:

  ten, eleven, twelve | thirteen, fourteen, fifteen, sixteen
  zehn, elf, zwölf | dreizehn, vierzehn, fünfzehn, sechzehn
justwrote··on The RESTful CookBook
Just wondering, is it better to use relative or absolute URLs ?
justwrote··on Faker.js - generate massive amounts of fake data in the browser and Node.js
Shameless plug: I also created a similar library for Scala some time ago https://github.com/justwrote/scala-faker

Need to update to 2.10 soon :)

justwrote··on Rod Johnson joins Typesafe's Board
So, twitter has a nice tutorial called Scala School (http://twitter.github.com/scala_school) and of course the official site (http://docs.scala-lang.org/tutorials/) has also some tutorials for programmers coming from other languages.

So what's the best IDE? If you're an eclipse user, it's Scala IDE (http://scala-ide.org/). You can find a full download eclipse + Scala IDE plugins on the typesafe homepage (http://typesafe.com/stack/scala_ide_download). If you're an IntelliJ user like myself you just need to install the Scala plugin.

Both IDE's have there drawbacks, none is perfect. I guess the easiest way to start is using the Scala IDE.

To test your new Scala skills you may want to solve some puzzles (http://scalapuzzles.org).

Have fun!

justwrote··on BufferBox (YC S12) Solves The Problem Of Missing Packages
I was also shocked when I read this article. Didn't know those boxes don't exist in the US. They are quite convenient!
justwrote··on Build RESTful web services with Java technology
I see. Ebean looks interesting! I'm kinda stigmatized because of Hibernate and therefore avoid any persistence library that calls itself an ORM :)
justwrote··on Build RESTful web services with Java technology
Ah, I'm not the only one who thinks ORMs suck! That's why I love the latest development in the Scala community towards a non-ORM solution for persistence: Slick (http://slick.typesafe.com) and Play! Anorm (http://www.playframework.org/documentation/2.0/ScalaAnorm)
justwrote··on The Great German Energy Experiment
I'm living in Germany and to support this 'Energiewende', I'm only buying green electricity. It is more expensive but I'm happy to pay more if I can boost the industry around it and also help our environment. Many young people think like this.
justwrote··on JQuery Scroll Path - Scroll a page along a custom path
another nice example: http://beetle.com/
justwrote··on Offbeat: Scala by the end of 2011 – No Drama but Frustration is Growing
For me, the eclipse plugin is crashing (or the whole IDE is freezing for a few seconds) too often when I try to get code completion. On the other hand, in IntelliJ the Scala plugin is pretty good! (Use the nightly builds!)
justwrote··on Joel Spolsky: Can your programming language do this?
Yes, it can! Scala:

  def Cook(i1: String, i2: String, f: String => Unit) {
    println("get the " + i1)
    f(i1)
    f(i2)
  }
  
  Cook("lobster", "water", x => println("pot " + x))
  Cook("chicken", "coconut", x => println("boom " + x))

  List(1,2,3).sum
  List(1,2,3).mkString
  List(1,2,3).map(println) // or more verbose List(1,2,3).map(x => println(x))
justwrote··on Play Framework (full stack Java framework with Scala) v1.2 released
continues...

Lift:

* stateful

* no code in the view

* there is more than one way to use Lift

Play!:

* stateless

* code in view: similar to erb files in rails

pros and cons about code in the view: http://scalate.fusesource.org/code-in-view.html

My experience: Well lets say on my next project I'll give "code in view" a try :)

justwrote··on Former Google VP Kai-Fu Lee Got a Nickname, Start-Copy Lee
We actually have an idea in an area which is - if I read posts on HN - pretty well funded. VCs and Angles have a lot of interest. But in Germany, people don't see it - the ones with money even less. And its really hard to start a business, as you already summed up.

We even think about moving to the US, but as a foreigner it's also not "easy" (well, noone said it would be easy to start something on your own - but you get what I mean)

justwrote··on Once Again, Twitter Drops Ruby for Java
I also love Scala, but how do you do your web frontend? Using Lift? Play Framework? I'm currently developing a side project with Lift and lets say I like the Scala-part of Lift.... The web part doesn't feel nice (also I don't like the last decisions made by the Lift Team). Currently I'm looking into RoR and I like what I see.

So, what I would love to see is a Web Framework similar to RoR written in Scala ...

justwrote··on Why designers need to stop moaning about 99designs.com
I think everyone would love to hire a good designer. But as already told: if you are a startup or doing some weekend project you cannot afford the money - this doesn't mean that you will never hire a pro designer and change the design if your thing is going off.

If you only have a logo its kinda hard to build a harmonious design around it but its still better than nothing.