Last weekend I was part of Node Knockout for the first time. We were three man team and I couldn’t have done it without @jkjuopperi and @paveq2. It was fun to work together!
Also great thanks to Kapsi Internet-käyttäjät Ry for letting us to work from their HQ.
Our entry was a hosted web shell service which can be used for IRC — and other things in the future. The source code
will be published is published as MIT-licensed at GitHub soon. We plan to continue the development there, too.
For now, you can review and vote our deployed entry at oulu.nko2.nodeknockout.com.
Update: Only custom guide works; we were banned from Freenode #Node.js and cannot change the code.
There was only three other teams from Finland. Please review them too!
If our oulu.nko2.nodeknockout.com doesn’t work try refreshing the browser or change API key to something wrong (it will then automatically create a new one). Please wait at least 15 seconds for the red balloon to change green — that means the browser has working connection to the shell server.
We open sourced it: https://github.com/nko2/oulu
Our database should be cleaned now. If you had problems to make it working please try again now. If something doesn’t seem to work (you see only your lines for example), just refresh once more.
It’s not working now because we were banned from Freenode #node.js. We are working to make it work somewhere else but it’s hard since we cannot change the code.
We are now using Kapsi’s IRC server at irc.kapsi.fi and #node.js there. We were able to change chat.freenode.net to point there from /etc/hosts.
Our team has gathered some useful links and notes for upcoming Node Knockout contest. These might be useful for others, too.
Node Knockout in general:
Online resources (Books etc):
Useful Node.js libraries and tools:
- Cradle — A high-level, caching, CouchDB client for Node.js. It has very nice and simple asynchronous interface.
- NowJS — Easy to use browser vs server integration
- socket.io — Sockets between client and server (and other servers with additional modules)
- JADE template engine — A template engine. Not sure if this is the best choice, thought. It’s slow (for human) to transform HTML to JADE.
- Express JS — A web framework
- Forever — Keep node process running forever
- underscore — General operations. Good thing: doesn’t modify global objects.
- backbone — Lightweight MVC abstraction
- node-init — Turn node.js into LSB-compatible init script
- everyauth — Authentication module
- BlueprintCSS — CSS Framework
- lesscss — The dynamic stylesheet language
If you know something else useful please tweet me or write a comment below!
I am setting up a team for Node Knockout. It is a contest where teams are creating a web application with Node.js in 48 hours starting August 27. For us this will be a hobby project: having fun and learning will be the main purpose here.
At the moment I am looking for people with programming or graphical skills to join my team. I would prefer if you are near Oulu, Finland or can travel here. We could then work in the same location. Finnish language skills would be nice but not required — English is the language of programmers anyway.
I am also seeking sponsors. Talks have already started with some but please contact us if you think you can offer something! We will mostly need a place to work but food and drinks might be nice, too.
The concept of our app is not settled yet. I personally would like to use our old concept AGE – Ajax Game Engine. It’s over four years old but we never did more than concept work and it was all that summer four year ago. I have done nothing for AGE after that time.
It has been over two weeks since I published my first NPM module. Also a month since I started using GitHub. I am posting about this because this is the biggest change in my life as a programmer since I got my own computer and access to the Internet.
I am not saying that systems like these are something new. These were not new to me. I wasn’t just using them before. I am a bit agnostic and it takes time for me to move from something old to new.
I have been programming same things over and over again most of my life — sometimes it’s called NIH. Usually that’s because one of these bad reasons:
- I don’t remember or know where the old code is or even that it exists
- I don’t know how to use it anymore and writing new is easier
- I made the first code for a company I don’t work anymore
There’s a lot more reasons to do NIH (both good and bad) but these are the reasons I hopefully don’t need to use anymore because of open source NPM and GitHub.
Now I have 15 repos in GitHub and five public NPM modules. GitHub provides me and my projects version control system, bug-/issuetracker, social tracking of programmers and projects, wikis, websites, easy way to write documentation, and much much more. I could do these myself but it wouldn’t be that easy. Also it’s likely that nobody would find their way to my website either.
One of the biggest things using GitHub and public NPM is how easy it is to share your code. It’s not just easy to share it to other people but to yourself, too.
Today I was searching Blue Ocean Strategy as a legit download to be used with my Kindle. It turns out that it indeed exists for Amazon Kindle Store but sadly that’s yet another ebook not sale for Finnish customers.
It seems that the only way to buy it digitally here in Finland is from Harvard Business Preview as PDF chapters $6,95/chapter totalling $69,50 for full 10 chapters.
Here is a link list to these chapters:
- Part One: Blue Ocean Strategy
- Part Two: Formulating Blue Ocean Strategy
- Part Three: Executing Blue Ocean Strategy
- About the Authors
PS: Also thanks for Samuel at Harvard Business Preview customer service for helping me to solve my problems.
I am just on my way to vote in the Finland’s Parliamentary elections.
There is probably two realistic outcomes:
I vote for a candidate that does not get to the Parliament…
- …but someone from his party I don’t like does
- …and nobody from his party does
You might ask, “why do I vote?” Simply because I hope I am wrong. So, please vote! Any useless vote counts!
You can now follow me on Twitter, @jheusala. Too bad my full name was too long. I had to cut hyphen from it. :-)
We are starting a new kind of web service platform for websites and applications all alike. Our mission is to make installing, building and maintaining web applications as easy as it should be for any user (advanced or not) no matter what server or system they use.
Our system will technically enable any user to create their own cloud-like network connecting any system he/she has access (servers, shell accounts, desktops etc) into a single coherent easy to use environment. Apps like WordPress can be moved or cloned from one node to another without unnecessary work or hassle. Our service will be accessed using standard web browser or a programmable HTTP-based API.
You can request an invite for a free beta system at sendanor.com.
$ cat dummy.js
console.log("I am a dummy.js");
$ node-builder.js -q -o dummy dummy.js
I am a dummy.js
$ file dummy
dummy: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
Only ./dummy file is needed to execute your program. Nothing else needs to be installed. (Except special external modules, which node-builder doesn’t support (unless provided with the binary) but I probably will figure some way to support those too.)
I’ll be releasing this as a open source npm module once I get time to clean the code with fresh eyes.
I recently bought Kindle in hope that it would boost me to read more books. It is not that I didn’t read books before — I have actually been active user of books over ten years now. Kindle has worked quite well and I’ve actually finished more books than I would have normally in the same time.
Ebooks make reading easier because I can have all of my books with me where ever I am now. That’s why I have something to do always, even when in the bus or the breakfast table (you can drink tea while changing pages!), or when waiting appointment for a doctor. Most of my books are over 1000 pages long — it just isn’t possible to take them with me, and because of that I don’t have them when I would like to read them. (I have lots of unreaded professional books in a box only because that.)
At the same time there’s a big problem with electronic books. It’s true that I’ve finished more books since I bought Kindle, but at the same time, I’ve spent less money on them. It’s not because I would not like to pay. It’s because I just cannot. Most of the books Amazon sells which I would like to read are not available for European customers or they are priced more than the real hardcover version (with no reselling possibility!). It’s true I could use those books usually with 5 different devices, but if I am not buying books for a programming team, that makes no sense. The main reason that there’s no books in sale for European is probably that amazon pays only 30% of the sale price outside UK and US, where the normal compensation is 70%.
It’s also possible to buy ebooks from our local Finnish stores now. In a theory at least. Those are about two euros cheaper than the already overpriced hard cover version and also DRM’d, which means I cannot use my Kindle to read them and I cannot resell them… So, no luck there either. I don’t usually care about DRM unless it makes it impossible to read the book of course. My Kindle was about 150 € (including shipping and taxes). Readers they sell for Finnish ebooks are at least double of that, and with most of the same problems I’ve described.
That’s why I’ve been reading free books. Thanks for the Internet, there’s lot of books to read. I just finished Art of Computer Game Design by Chris Crawford. It didn’t cost anything and it was part of the history, the first book about computer game designing, I’ve told. I also have Doctor Who books on my Kindle waiting to be read. Actually I didn’t find them there now — good thing I downloaded them on my Kindle already!