HNHacker News
TopNewBestAskShowJobs

xionon

268 karma · joined October 13, 2008

submissionscomments
xionon··on JavaScript Modules
That, and it was a chance to reference an Achewood comic, instead of an XKCD one

http://achewood.com/index.php?date=07052007

xionon··on Google Maps Mania Blog is Dropping Google Maps
I think the point is that there are multiple sites like eHow, and searching each of them individually and then deciding which results were the best is sub-optimal. Plus, it prevents the serendipitous discovery of new sites like eHow.

If only there were a way to search multiple content farm sites at once, and rank those results according to how useful they were...

xionon··on Seeing Future in Fuel Cells, Toyota Ends Tesla Deal
Gasoline is not actually explosive - the fumes are flammable, but not the liquid itself. Hydrogen is much more flammable, and will ignite from a much smaller spark than gasoline will.

Cars catch fire in accidents all the time, it's not that hart to imagine that the problem might get worse if we switched to an even more flammable fuel.

xionon··on Hangout with Martin Fowler, Kent Beck, and DHH: May 9th, 11am ET
"Uncle Bob" goes by Uncle Bob. It's a nickname. He likes it. He's also pretty well respected in the software development world.

Kent Beck invented TDD, I think he's pretty qualified.

DHH is the one who started the recent discussion about the value of TDD; in his opinion, it doesn't have any. He's the reason that this conversation is even happening.

xionon··on Our homegrown A/B testing framework
Disclaimer, I've not used A/Bingo, so there might be a caveat I'm missing. But: It sounds like you're talking about prepend_view_path, which doesn't require monkey patching.

  class ApplicationController < ActionController::Base
    before_filter ->() {
      prepend_view_path "app/views/YOU_CALCULATE_THIS_PART"
    }
  end
With that, Rails should look for e.g. "products/index.html.erb" first in "app/views/YOU_CALCULATE_THIS_PART/products/index.html.erb", and only if it doesn't find it there, it looks in "app/views/products/index.html.erb"

It seems like you could do something like this:

  class ApplicationController < ActionController::Base
    before_filter ->() {
      if cookies[:test_a]
        prepend_view_path "app/views/test_a"
      elsif cookies[:test_b]
        prepend_view_path "app/views/test_b"
      end
    }
  end
The neat thing about prepend_view_path is that if it doesn't find a matching file in the prepended path, it falls back to the default rails paths. This makes piecemeal upgrades or redesigns much easier.
xionon··on Camden, New Jersey: America's Most Desperate Town
What are these buildings? Are they discount grocers, with cheap but OK food, or are they gas stations, with lunchables and frozen pizzas? It's hard to tell from a screenshot of a map.

I'm not denying that the term "food desert" is suspect, I just can't tell what you're trying to prove.

xionon··on She's a beauty and a geek: Supermodel is a coder
Ah! Yeah, my bad. My Midwest assumptions are showing through. I'll try to be more aware.
xionon··on She's a beauty and a geek: Supermodel is a coder
That's a good point that I hadn't considered, thanks for the POV-check.
xionon··on She's a beauty and a geek: Supermodel is a coder
I think articles like this help to "normalize" programming as a career for people that aren't nerdy white dudes. The hypothesis goes, a lot of [women,minorities] don't go into [programming,finance,etc] because they don't see it as a career that people like themselves can or do choose. Puff pieces about "this person who is like you or who you aspire to be like is also into [programming,finance,etc]" help them visualize themselves choosing this career.

You may not agree, but I think having more women and minorities in programming would be a good thing. Because I think that articles like this are a way to help get young women and minorities interested in programming, I like that this article exists, even though it wasn't written for me.

xionon··on Nest, Google and you
While I agree that this isn't the "general population," it seems to me that this is an incredibly important demographic to Google.
xionon··on New study confirms that eating healthy does indeed cost more
Fat has more calories per pound than lean protein, that's all. In this context, "fewer calories per ounce = healthier."
xionon··on Why Meteor will kill Ruby on Rails
It takes maybe a day working with your Capistrano script to implement zero downtime deploys in Rails if you're running Unicorn, Puma, or Passenger Enterprise...
xionon··on Show HN: Mac Pro equivalent using i7
How is this "equivalent?"

The Xeon E5 in the Pro is faster and costs at least $100 more. I'm not sure how these motherboards compare in quality. The ECC memory memory in the Pro is faster and more reliable. This also doesn't have Thunderbolt, onboard WiFi, or Bluetooth 4.

Last, this is big, loud, and hideous.

If the point was, "you can build an equivalent computer for $1000 less," it misses the point, widely.

xionon··on Rubinius 2.0 released
Ruby is what's known as an interpreted programming language. It was invented in Japan by a guy nicknamed Matz. You write code, save it to a file, and then a separate program "interprets" this file into code that the computer can understand.

So, when people refer to "Ruby," they are most commonly referring to two things: the language, and the default interpreter. The default interpreter is known as "MRI," which stands for "Matz's Ruby Interpreter."

Rubinius is an alternative Ruby interpreter. It's main claim over MRI is that Rubinius has (much) better support for multi-threaded applications. Additionally, where much of the core Ruby functionality (e.g., Array) is built using C in MRI, Rubinius builds most of it's core functionality using pure Ruby code, and relies on the interpreter to make it fast enough, similar to PyPy. The theory is that if you build a fast enough interpreter, it's easier to build your dynamic language functionality in the dynamic language, rather than in C.

xionon··on Apple Unveils The iPhone 5S
I can imagine lots of reasons to use my partner's phone.

"Your dad sent a text, want me to read it to you while you're washing dishes? I know your mom's in the hospital."

"Mind if I use your phone to call our friends and tell them we're running late? I left mine at home and you're driving."

"Is it OK if I use your phone to put on some music? It's already paired with the reciever."

And so on. Checking a partner's phone doesn't have to include spying. Sometimes it's just the most convenient thing to do.

xionon··on Postgresql 9.3 Released
It's a joke, it just pipes everything to /dev/null
xionon··on Certain bacteria may help ward off obesity
http://en.wikipedia.org/wiki/Gut_flora

Bacteria that aid in weight control don't just "eat your food," they actually help your body break down food correctly. That's why you take a pro-biotic after going through a round of anti-biotics - you need to re-grow your gut flora to aid in proper digestion.

xionon··on Certain bacteria may help ward off obesity
It's not similar at all. Your body already has several pounds worth of bacteria in it. Hopefully, your body has zero tapeworms.

This is talking about bacteria already in a healthy person's body.

xionon··on Less guns = more violence: Harvard Study
I've never found this argument convincing. I've always thought that the following seems like a likely expansion to your thought experiment:

You live in a city that enforces gun control, and you know that the nearest convenience store holds a lot of cash after 8pm. The nearest city that doesn't enforce gun control is over a 1hr drive away in traffic, and you don't own a car. Do you (a) commit a crime of desperation at a local, familiar place, or (b) find a way to travel 20+ miles to knock over a liquor store?

Chicago would be a good example of this. To get from downtown Chicago to a nearby city without gun control might take an hour in a car, which our supposed criminal might not have access to. It seems to me that "locality of victim" is just as strong a determinant as "safety from retribution."

xionon··on How “cell tower dumps” caught the High Country Bandits, and why it matters
It seems like you're calling this out as if it's a negative. MS Access is perfect for a situation like that - available, disposable, and easy for semi-technical people to use. When the community talks about "everyone learning to program," this is what it would look like.

They don't have the authority or budget to set up something permanent just to catch a couple dudes, and frankly they probably don't need something permanent. They just got it done quickly and with the tools on-hand.

xionon··on For Brits: click Republican? on the Guardian front page to hide royal news
The Democrats used to be pretty racist; before the American civil war, they supported slavery, and afterwards supported segregation, while the Republicans generally opposed slavery (Lincoln was a Republican, for example). As a result, the US South used to be heavily Democrat, and the north was heavily Republican. They basically flipped in the 40's and 50's due to the Democrats support for civil rights and the "southern strategy" (basically: appeal to racism, sometimes subtly, sometimes not, to get votes in the South) https://en.wikipedia.org/wiki/Southern_strategy

Today's (US) Republican party is nothing like the Republicans from 100+ years ago. It's kind of sad.

xionon··on Github.com is down
GitHub's employees are massively distributed. A video + sound stream might not be as interesting as you think.
xionon··on Nginx just became the most used web server among the top 1000 websites
nginx is a good tool, and you should probably twiddle with it sometime so you know what it's about.

As far as I know, nginx can do anything Apache can do. nginx is generally faster than Apache. Apache can include modules without a recompile, nginx often requires you recompile to add features. nginx can be used as a reverse-proxy, a load balancer, or a thin SSL / SPDY layer, and succeed; Apache isn't as well suited to non-traditional web serving.

Personally, I find nginx's configuration syntax nicer to read and write than Apache's.

LAMP is fine for small experimental websites. Do what you're comfortable with! The scale at which the differences between nginx and Apache actually matters is pretty large.

xionon··on Nginx just became the most used web server among the top 1000 websites
From their website: "But G-WAN was written to have an application server, so it also supports 7 of the most popular scripted languages: Java, C#, C/C++, D and Objective-C/C++."

As far as I can tell, G-WAN does not support the features or languages that many people want. As a Ruby programmer, G-WAN is (probably) impossible for me to use, and if I could fiddle with it enough to get it working, it would not provide enough of a benefit to justify replacing a working nginx setup.

There's also the prevalence of tutorials, books, and StackOverflow answers related to nginx; G-WAN is pretty sparse in this regard.

Basically: the eternal balancing act of "features" vs "speed." nginx hits a sweet spot for features & speed for more people than G-WAN.

xionon··on Google And Apple May Bring Us A Console War We Didn't See Coming
A disc-free iOS game costs $0.99 to, usually at most, $19.99. A disc-free xbox game costs $59.99 for as long as possible; MS doesn't discount prices on digital games very frequently.

The "gamer demographic" was upset because they felt like something was being taken away (easy used game sales and purchases) without any clear benefit in return (same old prices). Making them out to be luddites who don't want to get with the disc-free times is unfair.

An example: A digital copy of Darksiders II is $59.99 on XBox Live (http://marketplace.xbox.com/en-US/Product/Darksiders-II/66ac...), and a physical copy is $16.99 on Amazon (http://www.amazon.com/Darksiders-II-Xbox-360/dp/B0056WJA30/r...). Darksiders II came out nearly a year ago, and MS still charges as if it were a brand-new game.

xionon··on Want to help the poor and transform your economy? Give people cash.
Canada is not a third world country...
xionon··on Developer Tools Update – Firefox 22
The only difference I see is:

  * method and name column swapped
  * green/yellow status icons added (probably 200/304?)
  * dark color scheme vs light color scheme
Is there something I'm missing? Because it sure doesn't seem like the MS Word super-toolbar you compared it to.

Or is it the tab icons? Chrome recently disabled those by default, and I'd agree that they do seem like clutter.

Edit: Misread the comment you were replying to. I thought you were comparing the number of icons and tabs, but you're just talking about the size of the elements. Firefox is slightly larger, yeah.

xionon··on Developer Tools Update – Firefox 22
In my experience, debugger tools built into the browser run much faster and with much lower overhead than Firebug.
xionon··on Ubuntu low-memory install for VMs
A minimal install is going to require you to install dozens of related packages just to accomplish simple tasks. It's basically a blank slate, with nothing you might want aside from the OS and terminal.

It's a great starting place if you know exactly what you want to do with that VM and how to configure it; it's kind of a pain if you're using it as a general purpose server.

xionon··on 22 and no life
I have a degree from a state college and do quite well for myself. I don't work at Google or Yahoo, but since I graduated in 2006 I've never been without a well paying job, or offers for one.

If you're studying computer science or a related field, your ROI is going to be just fine at a state university.

← PreviousPage 2 of 3Next →