HNHacker News
TopNewBestAskShowJobs

LeafStorm

3,533 karma · joined April 11, 2011

submissionscomments
LeafStorm··on The Free Universal Construction Kit
That would certainly form a more palatable acronym.
LeafStorm··on World's Dumbest Rebrand?
No, it's because because "facebook" has never been used as a common noun to describe social networks - as in, "I'll go log onto the facebook," referring to MySpace or LiveJournal or something. This conversation is about businesses which are named after the field they are in. (The equivalent is if Facebook were named "Social Network.")

Also, I doubt most people have really heard of the concept of a physical facebook. From my understanding, it's limited to Harvard and maybe other schools around there.

LeafStorm··on As promised, Kim Dotcom starts payouts for Mega vulnerability reward program
You never have the option of releasing bug-free code. So if they released code with bugs, called it bug-free, and boasted about it, someone would come along, prove them wrong, and embarrass them.
LeafStorm··on God: Scalable in Memory Data Structure Server in Go
And that's not even getting into the Third Commandment issues.
LeafStorm··on Apple Shows Signs a Major Interface Overhaul Is Coming
Not for articles, though. The only way to exert a negative influence on an article is to become an editor, which apparently requires meeting pg personally and participating in a secret ritual, after which your identity can never be revealed.
LeafStorm··on Neil DeGrasse Tyson’s Eight Books Everyone Should Read
Just a note: the Torah is a subset of the Tanakh, which is itself a subset of the Bible. (Christians refer to the Torah as the Pentateuch and the Tanakh as the Old Testament.)
LeafStorm··on Firefox to block content based on Java, Reader, and Silverlight
Besides the obvious security benefits, this also makes sense as part of Mozilla's HTML5 campaign. By getting users to think of plugin-based content as "foreign" and "inconvenient," they bolster users' opinions of pure Web-based content. However, by allowing a simple clickthrough, they hopefully prevent users from just getting frustrated and switching to Chrome.
LeafStorm··on It is ridiculously easy to refactor Go
That doesn't make failed builds any less frustrating. Heck, in Python, you don't even have builds, but getting a SyntaxError on import is still frustrating.
LeafStorm··on It is ridiculously easy to refactor Go
> To be fair, you can do this in java by adding to Header and MIMEHeader "implements emailHeader".

Not if you aren't the author of the package. (You could modify your local copy, but requiring a fork is always a pain.) Without the ability to modify the sources, you would have to create custom subclasses of Header and MimeHeader which implement that interface, and find some way to make the library generate your custom subclasses instead of the defaults.

LeafStorm··on Linux Is Coming to Windows 8 PCs... Slowly
I tried this at my office in August. When hosting the VM on my (somewhat old) laptop, raw performance was the issue -- there wasn't enough RAM and CPU to run both Win7 and the VM concurrently, and as an intern I couldn't justify the laptop upgrade.

When moving the VM to a server, the raw performance issues went away, but network lag became a pretty serious obstacle when using the GUI. In the end, I ended up just SSHing into the VM, and mounting part of its filesystem using Samba.

(And assuming that I had been able to get a working graphical environment, it's still a very low standard of "working." There are dozens of little annoyances when you're nesting a completely separate window manager inside your current window manager.)

LeafStorm··on Ask HN: Best books you read in 2012
Code, by Charles Petzold

Through the Language Glass, by Guy Deutscher

LeafStorm··on Centurion - A SASS & CSS3 Responsive Web Framework That Scales With Your Device
I have been using Bootstrap for this entire year on various projects at work. Nobody complained because I was using Bootstrap. In fact, I actually got a lot of compliments about how well the projects looked. The fact is, outside Hacker News, nobody cares if you're using Bootstrap. They care if your project doesn't look horrible, and more importantly, they care if your project works.

Now sure, I could learn CSS and do all the stuff you put in the last four sentences. But designing a good-looking style with all the components I needed - grids, buttons, navbars, modal dialogs - would take far longer than unzipping Bootstrap, dropping it in my assets folder, and actually writing the bloody code. Especially since I walked out of the office Friday after emailing my supervisor a two-and-a-half page list of stuff I wanted to get done this year but couldn't.

LeafStorm··on Tom Preston-Werner: Development of Jekyll to be revived in 2013
That name is already taken by a Python port of Jekyll, that is actually endorsed by Mojombo. You should probably change it.
LeafStorm··on Python Software Foundation will require code of conduct at all sponsored events
Linus may be known for his usage of four-letter words, but the code of conduct isn't (primarily) about profanity. It's about sexism and harassment, and I haven't known Linus to participate in or condone either.

(Another tangential point about Linus and language: he is very good at targeting his profanity. He doesn't drop f-bombs every third sentence, he saves them for when they are most effective. I don't think "knuckle-dragging troglodyte" quite applies.)

LeafStorm··on Let's make GitHub better, together
One way to deal with the problem of people communicating in a language the project does not understand would be to let repo owners set one or two languages for the repo. When users on GitHub en Español see an input box on their repo, it would be labeled: "Este proyecto sólo acepta contribuciones en inglés o alemán." It won't solve the problem completely, but it would at least make expectations clear.
LeafStorm··on Dubjoy will translate and voice-over your start-up explainer to any language
Even ChiSukwa?
LeafStorm··on Poll: What's your favorite static site generator?
nanoc [1]. It takes more effort to set up the basic rules for your site, but it's incredibly powerful. For example, my blog [2] can generate archive pages for my articles by year, month, and tag, with the generation handled entirely in "user space," without any undocumented hacks to the system or extenal pre/postprocessing. Another site I created using nanoc has the ability to take recipes that are specified only in the YAML content metadata, and expand them into full-fledged HTML pages - again, entirely in "user space."

In general, I find the ability to use code to control the site's generation very refreshing - the static site generators I had used beforehand (for example, Webgen) rely on configuration files to determine the rendering process, which for sufficiently complicated sites can be hard to trace. By contrast, nanoc's Rules file allows you to see and control exactly how a given file will be processed.

The code is also very well-written (it resists using the hard-to-follow Ruby magic that Rails and company tend to use), although were I Denis Defreyne, I would have written some sort of plugin manager by now.

[1] http://nanoc.stoneship.org/

[2] https://bitbucket.org/leafstorm/leafstorm.us/src

LeafStorm··on Call for comments - RethinkDB wire protocol
So, basically using SQL prepared statements. Which are fine for simple queries where the behavior is always exactly the same, but become very complicated when you outgrow the "one hour blog" demo phase. It's much easier to build queries out of data structures in most languages, and if you're already building a data structure, there's no reason to convert it to a human-editable text form just so it can be parsed again.
LeafStorm··on Announcing HashiCorp (a Company for Vagrant)
Cool. I was considering using Vagrant for my current project at work, but our production VM infrastructure is on vSphere. Fortunately, we don't need to spin up new servers very often, so I just wrote a shell script to set everything up. It would be nice to use something a bit more battle-tested.
LeafStorm··on Announcing HashiCorp (a Company for Vagrant)
Will it be possible to run development VMs in VirtualBox and production VMs in vSphere with the same Vagrantfile?
LeafStorm··on Gondolas Could Be the Next Great Urban Transportation Device
Case in point: neither of you mentioned the Red Line, nor have I ever heard any of my family members in Austin mention the Red Line.
LeafStorm··on Gondolas Could Be the Next Great Urban Transportation Device
A Siemens S70 LRV such as the ones used on the LYNX Blue Line in Charlotte, NC, can hold 68 passengers sitting, 230 including standers. One train comes every ten minutes peak, fifteen minutes off. This means we have a max capacity of 1380 pphpd (passengers/hour/direction) peak, 920 pphpd off.

These gondolas look like they can hold a max of about six passengers, but there's also a lot more of them. The article offhandly mentions a peak headway of thirty seconds. This implies a max capacity of 720 pphpd peak. For the same max capacity as current Blue Line service, we'd need to land a gondola every 15 seconds. The catch is that the Blue Line still has room to add trains, but landing a gondola every 15 seconds is probably pushing it.

I was expecting this to turn out rather poorly in the gondolas' favor, but considering the major advantages in capital cost, this actually doesn't look too bad. And they do have a point about high-frequency services attracting ridership. The main question is whether they can actually pull this off for the stated capital costs, and whether the operations and maintenance costs will come back to bite you later.

LeafStorm··on Minecraft: Pi Edition
It's Lua, not LUA. Lua is the Portuguese word for "moon," and it does not stand for anything.
LeafStorm··on Elon Musk and the Hyperloop
No matter how closely together the cars can drive, as long as you have an engine and a crash-resistant shell around each passenger, it will never be as space-efficient was the 35' Gillig Advantage I am sitting in right now.

IMO the best application of self-driving cars in an urban landscape is last-mile demand for people who live outside the city, where it's not economical to run buses or trains. But inside a city proper, or even on a busy freeway, having one car per passenger takes up a lot of space that could be better used elsewhere, both while moving and while parked.

(Also, self-driving technology could be applied to buses and streetcars to reduce operating costs and expand frequency and range of service.)

LeafStorm··on Python for Humans
I am fairly sure that most of the streams and sockets would get closed when the interpreter exited regardless.

Also, in accordance to the principle of "explicit is better than implicit," it's generally better to avoid messing with global state (such as atexit) behind the scenes, and to provide a way to shut down the logs manually.

LeafStorm··on Watch Mitt Romney's Facebook Likes Decrease in Real Time
A friend of mind posted this article on Facebook earlier:

http://www.slate.com/articles/news_and_politics/politics/201...

The summary is that in the aftermath of this election, Democrats and their allies are not just celebrating the fact that their preferred Presidential candidate won, but taking mean-spirited glee in the disappointment of Republicans - largely enabled by the preeminence of social media (for example, the "White People Mourning Romney" Tumblr).

The linked site is a pretty serious example of this phenomenon. The message behind it is essentially, "Ha ha, look how all the Republicans are dissociating themselves from Romney since he didn't win! What losers!"

LeafStorm··on Commuting? Have you done the math?
One of my coworkers and I both live around the same area. I commute to work via bus, he drives (occasionally we carpool, but our schedules are different most days). He doesn't understand why I would take the bus when it's a fifty-minute ride via bus and a twenty-five-minute ride by car.

However, I can use the time on the bus to catch up on email and news (I'm paid by the hour, so no point in working on the bus if I'm going to put in an 8-hour day anyway), or even doze off slightly. By contrast, when you're driving, your attention has to be entirely focused on the freeway. So while he has 50 minutes of being locked up driving, I have 100 minutes of time to relax.

LeafStorm··on The driverless road ahead
While driverless cars do provide advantages over normal cars, there are two counterpoints I would like to make.

First, there are people who simply will not trust the driverless cars. I was talking to a friend yesterday who said that he wouldn't ride in a driverless car, and he wouldn't want to drive on the same road as one. Uptake is not going to be as fast as people seem to expect once the cars are practical for market.

And second, in the words of Jarrett Walker [1]: "Technology never changes facts of geometry." No matter how small you can make the engines, airbags, and frame, as long as you have each passenger in a separate, self-propelled, hopefully crash-proof shell, they are always going to take up far more space than a bus or a train, and require far more resources to construct.

[1] http://www.humantransit.org/2012/08/bus-stigma-and-driverles...

LeafStorm··on PHP Annotations Are a Horrible Idea
Annotations are not required to use either of those libraries. Doctrine allows mapping information to be defined in XML or YAML files. For Symfony, the @Template annotation is not part of the core at all: it is part of the SensioFrameworkExtraBundle, which can be turned off easily. The normal way to render a template is:

    return $this->render("MyBundle:Controller:template.html.php", array(...));
That said, it would be easy enough to add the static variable-based mapping information to Doctrine as a metadata driver, and create a version of SensioFrameworkExtraBundle that does the same for its annotations.
LeafStorm··on Observations on what's getting downvoted, with some dissected specimens
An idea I had the other day is a "resurrect" feature. If you have X karma and showdead turned on, you have an upvote link for comments made by hellbanned users (unless a moderator killed that comment specifically). Two upvotes by non-hellbanned users leads to the comment being resurrected, so those without showdead can see it. If a user consistently gets their comments resurrected, they may be eligible to have their entire account resurrected.
← PreviousPage 3 of 14Next →