Better HN
topnewbestaskshowjobs
Log inSign up

justwrote

31 karma · joined Mar 29, 2011 (15y ago) · 18 submissions

I'm a Scala Hacker from Germany.
Submissions

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

3.

How much does it cost to develop an iPhone application?(stackoverflow.com ↗)

1 points · by justwrote · 13y ago · discuss

4.

Inheritance is evil, and must be destroyed(berniesumption.com ↗)

3 points · by justwrote · 13y ago · discuss

comment 13y ago · link · parent

Just wondering, is it better to use relative or absolute URLs ?

comment 13y ago · link · parent

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 :)

comment 14y ago · link · parent

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!

comment 14y ago · link · parent

I was also shocked when I read this article. Didn't know those boxes don't exist in the US. They are quite convenient!

comment 14y ago · link · parent

I see. Ebean looks interesting! I'm kinda stigmatized because of Hibernate and therefore avoid any persistence library that calls itself an ORM :)

comment 14y ago · link · parent

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)

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

another nice example: http://beetle.com/

comment 14y ago · link · parent

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!)

comment 15y ago · link · parent

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))

comment 15y ago · link · parent

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 :)

comment 15y ago · link · parent

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)

comment 15y ago · link · parent

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 ...

comment 15y ago · link · parent

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.