Posted on:

I'm just getting started with Cloud Foundry. So I grabbed Springs samples and compiled hello-spring-mongodb doing "mvn package" and then "vmc push -no-start". That got me:

Would you like to deploy from the current directory? [Yn]: The input stream is exhausted.<br /> /Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:601:in `get_line'<br /> /Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:622:in `get_response'<br /> /Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:216:in `ask'<br /> /Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/commands/apps.rb:369:in `push'<br /> /Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:426:in ...

Posted on:

Wow, I remember back in 1998, me and another photo enthusiast were discussing DSLRs vs digital film. I was holding out on DSLRs until there was a camera that could fit my lenses and was as good as the Canon 500N I had at the time. Turned out I'd be waiting a while, the first one I got (matched the requirements!) was the Canon 20D. Anyway, my friend showed a links on Slashdot and a few papers on "Digital Film", and I had to agree: that was probably a much better fit for the time.

Well, digital film didn't materialize, until now (or rather, soon) hopefully: Tom's guide has an article where they describe Park Hyun Jin's concept:

Digital film

While in my mind the right ...

Posted on:

Fair warning: This is speculation on my part

Fact 1: The Intel desktop chipset Z68 will be released in a week or two to the general public.
Fact 2: Apple cares about user experience
Fact 3: Intel has given Apple preferred access to its components before

The iMac, Apple's Desktop offering, is long overdue. I had my bets for a refresh in February, that never happened. In March it would be logical to release an update with Sandy Bridge and Thunderbolt. That in itself would he a huge gain.

The Intel Z68 chipset will allow Apple to let the user have a small SSD drive for caching, so that all frequently run program data will be there. That's not that different from what Samsung (and I'm sure others) already do on regular hard drives: keep a small bit of SSD for caching so that data that is frequently accessed ...

Posted on:

One thing that I seem to forget from project to project (after all, you only need to take care of this once pr project) is that a deployed Spring project is two parts: model, business and controllers is one part, views are another.

This means that in your web.xml you're likely to have two parts defined, the org.springframework.web.context.ContextLoaderListener servlet which contains model, business and controllers, and the org.springframework.web.servlet.DispatcherServlet that contains your view resolvers and views.

This distinction is important, if nothing else than because it's easy to set the url-pattern for the view servlet too broad, for instance to /*, and this will surely mingle your requests so that you don't really know if it goes to the controller or to the view resolver.

Posted on:

These days I'm heavily looking into the NoSQL space, and I've currently limited my learning to the document space of CouchDB, MongoDB, key/value space of AWS SimpleDB and Cassandra, and the Neo4J graph space. For the projects I'm involved in I'm most excited about Couch & Mongo, even though I'd love to host it in the AWS space and therefore should be looking at SimpleDB.

If you're exploring this space as well, I'd love to hear from you and your thoughts. Many more posts are bound to come :-)

Image Image

Father, husband, software developer, musician and photographer.


Get to know what I'm up to

© 2020 Niklas Saers Contact Me