Forgot your password?

Comment: REST + pure HTML5/JS frontend (Score 2) 532

Generating HTML on the server is more or less outdated.
So a "web language" on the server doesn't make sense, the way it used to do (like perl cgi, ASP, JSP, PHP and decendents)

What you do now is write the frontend in one of the new JS/HTML frameworks that run exclusivly on the client.
AngularJS is popular and will likely stick around in one form or another. But pick any you like.

For the backend you want to expose REST services, that serves the content in a way that is easy to digest for the frontend (so you don't end up with too much logic out there).
For that I'd recommend taking a look at Scala (10 years old, and not going away) and the Play Framework (
What is nice about the Play framework is that it not only makes it easy to expose REST services. It also makes it easier to deploy the client side framework.

Also take a look at using microservices. Using that architecture enables you to write the REST services in smaller components, rather than one big server. That way you can more easily replace each service, when you want to migrate to the next backend technology.

Comment: Re:LinkedIn uses Node (Score 1) 304

by Laz10 (#44236529) Attached to: Ask Slashdot: Node.js vs. JEE/C/C++/.NET In the Enterprise?

LinkedIn uses it for their mobile backend.
But I more than suspect that the mobile backend is just a simple frontend to the real backend. And that is written mainly in Scala.

As far as I know the closest thing to node.js in Scala would be something like Finagle, which they use at twitter:

For my current hobby project the backend is written in Scala, Akka and Play! - though I am considering replacing Play with Spray, since all the backed does is serving JSON from REST services.

Comment: Re:nothing new at all needed (Score 1) 717

by Laz10 (#41590065) Attached to: How We'll Get To 54.5 Mpg By 2025

I have five kids (three are adopted, so no preaching about overpopulating the Earth). Add the wife, and I need a vehicle to carry at least seven people. Good luck finding a 50 MPG car that can do that.

In Europe you could buy a Citroen C4 Grand Picasso, that has 7 seats and in the most economic version does more that 57 mpg.
That mileage is nice, since a gallon of diesel costs more than 7 usd around here :-/

Anyways you guys need to wake up. That 2025 technology exists today, just buy it.

Comment: Cross posting from G+ to FB? (Score 1) 456

by Laz10 (#40033927) Attached to: Online Loneliness At Google+

I use both G+ and FB.

The great joy of G+ for me is how easy it is to share some content with some cirles.
So I share pictures of my kids with my family and links to Scala programming with my geek friends.

Only sometimes, I'd like to share some of my "personal" stuff with the FB crowd as well.

I have tried several chrome plugins and FB's mobile e-mail sharing, but none of them really works.

Do you guys know of a way to share a private G+ post to FB??

Comment: Re:Real problem. Bad solution. (Score 1) 123

by Laz10 (#38570838) Attached to: The Semantic Line Interface

Eclipse has an excellent solution for this.

Ctrl + 3 pops up a search window that lets you type your way in to every available command in the system. Including what is hidden in the menues and context menues. So instead of trying to remember if the "Override/implement method" is hidden in the Source or Refactor menu or in the context menues somewhere, I just press ctrl + 3 and type 'override'.

I miss that in MS Office and many other applications.

Comment: Re:A little late? (Score 4, Insightful) 136

by Laz10 (#38441038) Attached to: October, November the Worst Months For Writing Buggy Code

Looking back at my invoices, I can see that I usually work more hours those two months than any other months of the year.
I also get depressed from lack of sunlight in the dark Scandinavian autumn days.

On the other hand a total of one (and that was some trivial layout) bug was reported on the code I coded and shipped in that period this year.

Maybe the bugs are only found later?
That also suggests that the bugs found in October and November was introduced by the interns during the summer vacation?

Comment: Re:As much as I like this cool stuff (Score 2) 49

by Laz10 (#38367484) Attached to: NASA Developing Comet Harpoon For Sample Return

I am not a trekkie, but you must be referring to this:

The Enterprise arrives in the past, on April 4, 2063, the day before humanity's first encounter with alien life after Zefram Cochrane's historic warp drive flight.

So I assume that Zefram will invent it. I'll be sure to suggest that as a name candidate for my future grandchildren.

Comment: Don't build your own (Score 1) 135

by Laz10 (#37771554) Attached to: Ask Slashdot: Which OS For an Embedded Display Unit?

Make your black box join a wifi network or blutooth.

Then make apps for Android and iPhone that can control your device.
That way the customers can choose which device they want to control your device with.

As a default device you can tape som generic Android tablet to your device.

Same idea as

Of course I realize that your application is probably much more serious than a flying toy, but the basic idea is good for many applications.

Air pollution is really making us pay through the nose.