HNHacker News
TopNewBestAskShowJobs

sad

104 karma · joined August 7, 2009

submissionscomments
sad··on Moving forward with work on the D language and foundation
And just over there in the ocean is his ship, Loki.
sad··on Puma, a fast concurrent web server for Ruby
I created a sample app using Puma and Celluloid to work through similar troubles I was having with Sinatra's streams and Puma. If it helps, it's here: https://github.com/sdeming/cellfun. This does not use EventMachine, depending instead on Celluloid. I work primarily in JRuby and EventMachine has always tripped me up.
sad··on Display 100 Hello World Without Using Loops
These are fun.

In C++, make the compiler do your recursion:

  #include <iostream>

  template <int N>
  void pr(const std::string &msg)
  {
      std::cout << msg << std::endl;
      pr<N-1>(msg);
  }

  template <>
  void pr<0>(const std::string &msg)
  {
  }

  int main(int argc, char *argv[])
  {
      pr<100>("Hello World");
      return 0;
  }
sad··on Goodbye autoload
It is threadsafe in jruby (as of 1.6.6)[1]. It is a decent feature, and it would be great if matz would reconsider.

[1] http://jira.codehaus.org/browse/JRUBY-3194

sad··on Raspberry Pi announcement on Wed 29th Feb at 6am GMT
2/29 is a good date. 3/14 would have been much more in tune with the Raspberry Pi name.
sad··on [dead]
I'll go out a limb here. It seems like it was too easy and too valuable. Smells like a Trojan Horse. Who knows what Iran will be getting themselves into when they move the thing to some "secure" location. Oh, I do likes a good conspiracy...
sad··on Introducing Kikuchat: The Self-hosted Team Chat Solution
Don't be sad. Competition and innovation are good things. XMPP and IRC aren't perfect solutions. I haven't seen this app in action so I can't comment on the "doing it poorly" part, but can you elaborate on that? What is poor about the implementation?
sad··on GameStop opening Deus Ex boxes, removing free OnLive game code
Indeed, if you haven't tried it yet then you absolutely should. I highly recommend Just Cause 2, it's a huge game and it plays perfectly. You can play any game for 30 minutes without spending a penny.

Disclaimer: I wish I was an investor.

sad··on C++ or Java, which is faster for high frequency trading?
Isn't GC pause good enough reason for anything of this kind? I'm perhaps not up to date in the latest JVM GC performance profiles, but if shaving even a few usec is important then I'd think avoiding it altogether is paramount.
sad··on Sqlite and couchdb creators announce unQL. SQL for NoSQL
I'd say forward for sure. This breaks down the barriers to entry for a lot of folks, especially in enterprise land. Definitely looking forward to how this develops.
sad··on Netflix introduces new plans and price changes
This sure sets the table for spinning off the DVD rental product. Prior to this arrangement the two were practically inseparable.
sad··on Ramanujan's Notebooks
I first learned about this guys work in The Music of the Primes by Marcus du Sautoy. Excellent read for anyone interested in these topics. I understand maybe one hundredth of the mathematics and it's still seriously fascinating.
sad··on Ask HN: Favorite hacker movie
Gotta be Sneakers. Incredible cast and well written.

What's not to love about Darth Vader answering "We are the United States government, we don't do that sort of thing." to the simple request for "Peace on earth, good will towards men" seen here: http://www.youtube.com/watch?v=rHsUYF5VfQ0

sad··on Record Industry: Limewire Could Owe $75 Trillion
Agreed. It almost feels like we're being herded into indentured servitude. Share a song you like? That'll be $40MM please. "Can't pay? We have this hole we need dug... On Mars... I hear it's cold there."
sad··on Amazon Releases Elastic Beanstalk!... What?
So scala, clojure, jruby, mirah ... are all ok.

Or even quercus if you are into php.

This sounds fun!

sad··on JRuby 1.6.0.RC1 Released
YARV is the VM, it's still MRI (Matz's Ruby Interpreter)
sad··on JRuby 1.6.0.RC1 Released
Because:

You get the whole Java ecosystem at your fingers. It's faster than MRI (1.8.7ish) and a contender (maybe even faster now) against MRI 1.9.2. It interops with other JVM languages. It plays nicely with uptight IT departments (you only need to download the jars).

sad··on No GPL Apps for Apple's App Store
llvm, clang, webkit...

Directly benefiting FreeBSD: http://wiki.freebsd.org/BuildingFreeBSDWithClang

They've contributed infinitely more than "nothing" back. Literally...

sad··on Write A Function To Determine If A Number Is A Power Of 2
Ohh, looks like you are probably right. Mea culpa!
sad··on Write A Function To Determine If A Number Is A Power Of 2
Yes, but we must solve the problems correctly. The question is whether a number is a power of two, not divisible by 2.
sad··on HN Domain Exchange: Add your unused domains
I've a few that I'd like to see used eventually:

* inhaling.com - political satire?

* awk.us - because awk is cool

* grep.us - something unixy and searchy

<edited formatting>

sad··on Tell HN: I accidentally ran up a $1000 Heroku bill
It's tough to say. You really sound like a reasonable person and if you are the model customer you appear to be then I would probably side with you.

I like a very simple rule: Customer retention is far more important than customer acquisition. It may be a flawed rule, I'm not sure since I'm not a successful business person. But it sounds good to me. It seems vitally important to retain your good customers.

sad··on GNOME 3: The Future of the Desktop
I am a big fan of gnome-shell. I'll be an even bigger fan when it plays nicely with VirtualBox. Or is it VirtualBox that has to play nicely with gnome-shell?
sad··on XMonad as IDE
Thanks for this. I just pulled down the molokai theme and it is very pleasant.
sad··on How can I keep learning on my 1.5 hr commute?
Many reasons come to mind, such as not wanting to live in the area you work (maybe you have kids the schools are bad, or the neighborhood isn't real good). It could be that living close to a family member is more important than living close to where you work, like maybe your wife is taking care of her mother or grand mother while you are out working (or the other way around).

There are lots of good reasons. These days you just might be stuck in a mortgage because the value of your house has fallen below what you owe. Given the current "economic climate" it's very easy to have gone from a 70% LTV to 110% LTV.

sad··on VoltDB - in memory, ACID compliant, partitioned, SQL database
Legally, probably not. They aren't demanding that you not redistribute, just asking. And asking politely. They are banking on the good nature of people. Good for them! And us.
sad··on Ask HN: What to use for world zip codes?
This has been a pet peeve of mine for a very long time.

Creating a free-form address parser might be a fun project. Validating the addresses might get expensive though. Are there any low cost/free alternatives to a service like Experian's QAS?

sad··on Making ActiveResource 34x faster: QActiveResource
What an awesome marriage of Qt and Ruby. Two of my favorite languages and toolkits used appropriately to solve a real problem.

Well done! And thank you for open sourcing this.

Well done!

sad··on How to convince any C developer to dump gcc and use clang
But it is a compelling reason. Imagine all of the brain cells you can reclaim by forfeiting that C++ error message intuition that you now have.

First we need full C++ coverage in clang. Onward!

sad··on Ask HN: Review my rapid AJAX idea
This makes for an excellent academic challenge that may actually bear fruit. I'd do it and see where it takes you. The experience alone will be worth it.

I do silly stuff all the time (I'm not calling this idea silly!) and I always take something away from it. This is a much better idea than the stuff I usually come up with.

Page 1 of 2Next →