HNHacker News
TopNewBestAskShowJobs

roder

1,777 karma · joined April 20, 2009

pythonista, erlang lover, compulsive refactorer, obsessive about testing. living in miami
submissionscomments
roder··on Riak Handbook
we're working on it :)
roder··on Oracle on why you shouldn't use NOSQL (PDF)
http://www.oracle.com/technetwork/database/nosqldb/overview/...

hipster oracle loves irony

roder··on How and Why Mixpanel Switched from Erlang to Python
https://bitbucket.org/which_linden/eventlet/src/f30a2fa65f30...
roder··on Poll: Have you moved from JavaScript to CoffeeScript?
SyncPad switched its webclient from JS to CoffeeScript.

In terms of human-readable code, we reduced the lines of code by ~30%. It's cleaner and more concise. I feel our code is more managable because of CoffeeScript.

In terms of the generated JS, I really appreciate that CoffeeScript creates an abstraction that will implement JS best practices and consistency

At this point, any JS work I do is done with CoffeeScript

roder··on It's Time to Drop the "F" Bomb - or "Lies, Damn Lies, and NoSQL."
Of course the opposite of ACID is BASE: http://queue.acm.org/detail.cfm?id=1394128
roder··on Show HN: SyncPad on 40 iPads simultaneously
The video demonstrates SyncPad's Enterprise edition. The consumer version runs using a custom Erlang message-queue server on EC2.

The Enterprise Edition of SyncPad allows you to run that same server on your own hardware or managed by SyncPad.

roder··on Ask HN: Who Is Hiring Remote Workers? (February 2011 Edition)
Basho

http://basho.com

Engineers Sales/Marketing

roder··on Riak's Bitcask - A Log-Structured Hash Table For Fast Key/Value Data
I wouldn't call it "related" or even "similar"… it's similar in that they're both key value stores, but there's no durability and Ramcloud stores both keys & values in memory; whereas bitcask only stores keys in memory as an "index" to the value on disk.
roder··on Cassandra vs MongoDB vs CouchDB vs Redis vs Riak comparison
Riak also supports, in addition to HTTP, Protocol Buffers - a binary encoding protocol introduced by Google.

A few other notable Riak features include a JS or Erlang MapReduce API and full-text search.

roder··on SyncPad Node.js Server Revisited
tumblr :/

The way that SyncPad was prototyped was using PHP/MySQL. I ported that to using Mochiweb. I manage all of the queuing of messages through a relatively straight forward OTP gen_server and Redis.

roder··on SyncPad Node.js Server Revisited
here ya go: https://twitter.com/#!/roder/status/12954711699230720
roder··on SyncPad Node.js Server Revisited
gist was updated, I included a client, which is needed to recreate the issue.
roder··on SyncPad Node.js Server Revisited
Yes - first set of tests in the updated post.
roder··on SyncPad Node.js Server Revisited
I have no idea, I am completely baffled. I really want to try without the node_redis library and do it all in memory, keeping the Array of elements in the returned list at less than 1000.

UPDATE: I should also mention, if you look at the charts, there's a point in time which the CPU hits 99%-100% and it's always reproducible. Once the CPU hits 100% I have just sat back and watched the memory get chewed up.

I'm sure someone w/ more experience than me can probably debug what's going on. The code is there, I really hope someone else can take a look at it. As my friend mentioned, it's reproducible, it can be fixed.

roder··on Node.js vs Erlang: SyncPad's Experience
contact me @roder to talk about the performance. There was a bug in 1.0 on the iPad app that didn't keep the line up with your finger. Now in 1.0.1, which is in the queue for approval, that has been resolved. Hopefully the network stuff was ~ok~
roder··on Node.js vs Erlang: SyncPad's Experience
When I wrote the Node.js server in September, the latest version was v0.2.3; which is what I tested on. I failed to mention that in the post, but thanks for pointing that out.

I'll run the test again later tonight and post a follow up.

roder··on Node.js vs Erlang: SyncPad's Experience
tumblr :/
roder··on Ask HN: Who's Hiring? (December 2010 Edition)
Boston, San Francisco, Remote

Basho (Riak)

  * Software Developers
  * Developer Advocates
http://blog.basho.com/2010/11/30/basho-is-hiring/
roder··on Show HN: Syncpad, like Facetime but for drawings
Good to know, we are definitely capable of going that direction. This really release is good for gauging interest and getting feedback. MVP. Thanks for your feedback
roder··on Show HN: Syncpad, like Facetime but for drawings
We actually started with Node + redis, but when we were running load tests, we were having issues with memory consumption. I think, but I am not certain it was due to garbage collection around JSON.parse[1].

We ended up re-writing it all in erlang and it solved our problem much better. Erlang is much better suited for multicore, binary, and seemingly memory handling. Frankly, I really enjoyed writing it in erlang as well, but prototyping in Node.js worked out really well.

Regarding redis, we're actually storing the base64 string (list in erlang) as binary. This sounds crazy since we could just store the binary file, but since we'd have to encode it as base64 for all the connected clients receiving the data. This actually lowers CPU usage in the long-run. The image is only cached in redis for a period of time then flushed (or in the future persisted elsewhere) anyhow.

If you're interested in using our server for your feature, just let me know @roder and I'll contact you. Maybe we can work something out.

[1] http://news.ycombinator.com/item?id=1739995

roder··on How a programming language documentation ought to look like: clojuredocs
My favorite docs are http://erldocs.com/

The speed and ease at which I can search the erlang docs for specific functions is the best I have found.

roder··on Google Chrome tops 'Dirty Dozen' vulnerable apps list
Network World is owned by International Data Corp (aka IDC, IDG) and this[1] blog author seems to think that they are the puppet of Microsoft. While I certainly cannot make an argument one way or another, this raises the question of how valid this report is.

I couldn't believe when I read this article that in related content, the top item was "IE9 tops Chrome, Firefox in HTML5 Compatibility"[2]. That's what made me research if there was any connection between Network World and Microsoft.

[1] http://techrights.org/2010/06/11/idc-idg-and-propaganda/

[2] http://cl.ly/3A0q1F2o44000u1O2P3l

roder··on Are Serverside Web Frameworks Becoming Irrelevant?
I realize that you don't want to maintain state in a REST api. It's not that it's painful to do something I'm use too (ie: session handling), it's just its painful implementing.

My point was that I totally agree with the notion of a REST-based service, but it's easier from an implementation perspective to have have web-heads for views (static files, session handling, etc) that interact with the application (REST) server.

roder··on Are Serverside Web Frameworks Becoming Irrelevant?
I've tried to accomplish a REST API + JS client on a few of my projects, but where I get hung up is session handling.

What I've ended up doing is writing the REST backend and writing the presentation layer in something light, like flask or sinatra, just for session handling.

roder··on [dead]
You have to really understand miami.... we don't do anything on time. It's part of our culture to show up late.
roder··on Looking for cofounders? Forget meetups, use Github search queries
This is a really great idea, but what's missing is private repos and organizations. You could be missing out on a lot of people.
roder··on Skype for Mac 5.0 beta released
I really think they got the right idea by making it look more "mac" window/finder like....

But they totally missed the mark by putting so much white space and padding around everything.

The minimal size I can shrink the window to is still >=33% of my 20" monitor, even with "Compact Sidebar" and smaller font.

They really should have studied the Mac OS user interface a bit more before releasing this. It seems like they fell into the whole lots of white-space and big font web-design trends...

roder··on A web server in a shell script
Unix is awesome.

I recently had lunch with a friend and I asked him about if he was planning new features their key/value store and I loved his answer: (paraphrased)

I'm a unix-guy. I want small bits of software that does one thing and does it really well.

His point was that software these days is rarely "finished". However in Unix so much of the software are small pieces. Each piece does one job and does it well. Then you can fit those pieces together in all sorts of configurations to do new and interesting things.

roder··on [dead]
According to China Daily, "China's greatest danger is that US policymakers face economic and national security crises they cannot solve.

That's really scary that China's media narrative is pumping fear of the US into the populous.

If this worldview is followed to its logical conclusion, war between the two powers over influence or resources may be inevitable.

_shutters_

roder··on 0.30000000000000004
Erlang likewise:

1> 0.1 + 0.3.

0.4

Page 1 of 4Next →