HNHacker News
TopNewBestAskShowJobs

rjrodger

139 karma · joined September 3, 2010

@rjrodger https://www.devrelmeetup.com/ https://senecajs.org https://voxgig.com
submissionscomments
rjrodger··on Ask HN: What are the things keep in mind while giving/preparing for a tech talk?
I write a weekly newsletter on this exact topic - you might find it useful :)

http://blog.voxgig.com/2018/07/13/welcome-voxgig-newsletter-...

rjrodger··on The street art collective taking back Dublin’s walls
Waterford is way ahead of the Dubs on this one - our council actually commissions street art: http://waterfordwalls.ie/

All this wonderful art greets me on the way to the office every morning - fabulous!

rjrodger··on Node.js: Cluster vs. Async
Callbacks suck, no doubt, and the sooner we have an real alternative (sorry Promises, not you) for them in JS, the better.

In the meantime, for those of us stuck with contemporary JS, there are mitigating code styles, in particular "early return":

    function foo(a, callback) {
      bar(a, function(err, b) {
        if (err) return callback(err)

        baz(b, function(err, c) {
          if (err) return callback(err)

          // some more stuff
          callback(null, d)
        })
      })
    }
Just to be clear, this is still inferior to a linear style.

It is however much clearer than the "traditional" style.

rjrodger··on The Trello Tech Stack
Unlike SQL, which you have to build as a string, the natural approach in JavaScript (even for junior devs) is to use an object literal to build the query. And then you get escaping for free.
rjrodger··on Fixing the callback spaghetti in node.js
I think every competent programmer who comes to Node for the first time thinks "hoo boy, better fix this callback stuff first", and immediately writes a module to do just that. I know I did! :)

koush just took this to the next level.

But you know what. Just stop fighting the callback model. Adapt your coding idioms and move on...

rjrodger··on Node v0.5.0 just released
This is not a desktop app. The versioning requirements are different.

Many server systems use this convention as a way of embedding an extra bit of info (stable/unstable) for sys admins.

Many people are using Node to push boundaries in various ways, so they are using the unstable versions. I did this with 0.3, but 0.4 is good enough for the moment.

rjrodger··on Help Me HN: Can't think of new ideas I am interested on working on
Second album syndrome eh? :)

Read everything James Altucher has written: http://www.jamesaltucher.com/

He's been around the block a few times, but wears his heart on his sleeve.

rjrodger··on Why F1 Steering Wheels Have Over 20 Buttons - And What They All Do
You don't watch it for the racing, you watch it for the strategy. That's why Murray Walker was the best all-time F1 commentator - it was the way he explained the strategies.
rjrodger··on CoffeeScript: Accelerated JavaScript Development
Go to jsconf and nodeconf in Portland next week.
rjrodger··on SVG Girl IE9 HTML5 Promo
works fine in chrome... the entire thing is wrong on so, so many levels...
rjrodger··on Prezi - The Zooming Presentation Editor
Great tool - highly recommended.

One tip: go very easy on the movement - you'll make your audience sea sick!

rjrodger··on ShowHN HTML5 shooter - updated
Please do a write on this! Fantastic framerate :)
rjrodger··on Node.js 0.4.5 Released w/ many bug fixes
Use the node version manager: https://github.com/visionmedia/n

npm install n

n 0.4.5

and you're done

rjrodger··on Do I need a CS degree for a startup job if I already have skills?
There is some "academic" stuff you need to know to be a really good coder: algorithmic complexity, information theory, lambda calculus, and a good grounding in discrete and continuous mathematics.

You need to be able to eye-ball an algorithm and go: hmm, that's O(n^2) ... not gonna work for this use-case... etc.

You can book learn this stuff. Just make sure you do.

Some of the best coders I know never darkened the door of a university.

rjrodger··on Starvation = Focus?
Yeah, works for me.

I've never done this deliberately, but I have noticed this effect.

Drink loads of coffee as well for a double boost: it reduces appetite.

After a few days you will burn out though - only use at critical times.

rjrodger··on Startup Economics 101, or, How Long Until We’re Dead?
... which inspired me to hack up a memento mori for my own startup: http://startupdeathclock.com
rjrodger··on I'm seeking beta-testers for my user support snapshot service
Speaking of canvas, can you grab canvas/svg content embedded in the page?
rjrodger··on How do you work out what server spec you need?
You don't.

You start with a free t1.micro instance on Amazon and you measure empirically.

rjrodger··on What is the single most influential book every programmer should read?
The Design of Everyday Things by Donald Norman

The internal design philosophy of any creative person completely permeates their work.

Many developers have very little awareness of this. The primary symptom: randomly indented code.

rjrodger··on What do you think is the most beautiful algorithm?
Only if you get it right: http://reprog.wordpress.com/2010/04/19/are-you-one-of-the-10...
rjrodger··on I Hate CSS
Use sass: http://sass-lang.com/

In particular: sass --watch styles.scss

Big productivity win.

rjrodger··on Hummingbird, Real Time Web Traffic Visualization
You should check out my take on this: http://chartaca.com Free, as many charts as you like, and no data limits! :)

Just a word of warning ... it's barely even an MVP at this stage. More a sort of experiment to see how far I can push one of those free Amazon micro instances (pretty far when you use node.js as it happens!).

rjrodger··on Ask HN: In what scenarios use of node.js can be useful?
Use node for anything that has a HTML(5) front end. The big win is that you no cognitive disconnect between the client-side and server-side code. The productivity increase is significant.

All the async event goodness (which is great for streaming of course) is just icing on the cake.

rjrodger··on We’re creating a “Startup toolbox”. What apps should go in it?
My http://startupdeathclock.com is great for cheering yourself up.

Only to be used in the week after you close a round!

rjrodger··on Update your timezone defs: Russia abolishes winter time (DST)
Woohoo! Good riddance.
rjrodger··on What is the most effective thing you did to improve your programming skills?
Read Steve McConnell's Code Complete. This book takes you from apprentice to journeyman.
rjrodger··on When Irish Eyes Are Crying | Business | Vanity Fair
Just to explain: "DOWN WITH THIS SORT OF THING": http://www.youtube.com/watch?v=gT9xuXQjxMM
rjrodger··on 37signals Basecamp Mobile HTML5 app for WebKit browsers
<meta name="apple-mobile-web-app-capable" content="yes"> solves 2) - you do have to bookmark first though...
rjrodger··on 37signals Basecamp Mobile HTML5 app for WebKit browsers
This is the way to go guys - HTML5 web apps will eventually kill native apps anyway. Might take a few years, but local decisions, like yours, show the dynamics behind that prediction.
rjrodger··on The Socioeconomics of Parenting: Why Rich Parents Don't Matter
The thinking in this article is entirely wrong headed. All that is being observed is a hygiene factor. As soon as home life reaches a good enough childcare baseline, other factors such as genetics predominate.
← PreviousPage 2 of 3Next →