hacker news viewer: expandable inline top comments    .. more
?
home   ask   best  classic  links  :  1h 34m ago   :  
1
Understanding the bin, sbin, usr/bin , usr/sbin split (busybox.net)
245 points by sciurus  2 hours ago   59 comments 19 top all
1
ChuckMcM 1 hour ago 0 replies      
Wow. As someone who was there (I know dating my self here) reading this is kind of like that scene in Sleeper where the person from the future is trying to understand artifacts from the past.

So during the BSD / System V merge (project Lulu at Sun) the /opt filesystem was introduced as a way to keep 'packages' separate from 'system'. The difference between /bin and /sbin was that sbin was 'static-bin' which is to say everything in it was statically linked and could run without any libraries being available.

The fact that Linux starts up differently is because Linux never was UNIX they are two different OSes, pretty much from the ground up. They use similar concepts, processes, file descriptors, Etc, but they are two different species. FreeBSD on the other hand is a derivative of UNIX and last time I checked it started up in a similar way.

The lack of space on the RK05s was indeed the reason for the addition of /usr/{lib, bin} and the general consensus at Sun and AT&T in the 80's was that the root file system contained the system, and the /usr file system contained stuff that was not-system.

AT&T (the guys that 'owned' UNIX) had some pretty detailed specifications about what lived in what directory and why. It was a "BigDeal" (tm) to add a new directory in the root file system so new directories, when they were proposed, appeared under /usr. And once /opt existed it gave people free reign to create their own trees. Early package managers would build /opt/<package>/{bin/lib/share/man} and the downside was that ones path variable got longer and longer, and there arguments about if there should be more constraints on opt.

2
tmhedberg 2 hours ago 4 replies      
The FHS (Filesystem Hierarchy Standard) [1] is the go-to reference for this sort of thing. It explains that `/bin` is for binaries that are essential before other file systems are mounted (e.g. in single user mode), and `/usr/bin` is for "most user commands" (all others). This allows you to keep a minimal local filesystem containing only the binaries needed for init to get the system running, and then `/usr` can be mounted, say, from a network share. This is useful because then network admins can install software to the common `/usr` share and make it immediately available to all machines which mount that share.

The `/sbin` and `/usr/sbin` directories are for commands needed only by administrators, which will not normally be used by regular users.

Most systems don't really require this separation, but it does make sense. Perhaps the historical reason for doing it is no longer a factor, but that doesn't mean it's perpetuated merely because of tradition.

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html

3
drewcrawford 2 hours ago 0 replies      
> I'm still waiting for /opt/local to show up...

Wait no longer: http://guide.macports.org/

4
dredmorbius 58 minutes ago 1 reply      
And why / /usr split still makes sense:

If it's needed to boot, it goes in root: boot images (including root filesystem) can be initrds, bootp images, flash sticks, or other similar tools. Maintaining the discipline of keeping what you need in / and what you don't need to boot in /usr helps when you're trying to minimize boot images, troubleshoot, and/or just simply keep things comprehnsible.

Different partitions can be mounted differently: There are still a few things in the root FS which are written periodically, especially in /etc. By contrast, /usr is largely static. They can be mounted writeable vs. read-only (dittos /boot BTW). Root may require device permissions. Both require suid (but /home doesn't). For various degrees of security and self-inflicted foot-gunshot incidents, mounting with minimal permissions can be useful.

Not all bootloaders handle all filesystems and storage: Applies more to /boot, but particularly for exotic / networked storage, ensuring that early-stage bootstrapped filesystems are accessible with a minimum of fuss can be useful.

The arguments from Fedora about the ability to manage a system from within an initramfs are particularly amusing given RHEL's traditional use of a non-interactive, script-only shell: Yes, that's right, you can't exit out of the initramfs shell to do maintenance. Debian's 'dash' shell is not only smaller than the RHEL equivalent, but supports interactive use. Go figure. (Apologies if this has changed recently but it was true as of the past year or so).

Shared/network mount purposes: A read-only, shared /usr filesystem can be used and accessed by multiple systems. Maintaining the root /usr split ensures that local system commands (if necessary) can be provided independently of the shared bits.

While the origins of /bin vs. /usr/bin lie in what are now largely irrelevant disk capacity constraints, there are a number of reasons why maintaining the split continues to make sense. As has been noted, a fair bit of hierarchy persistence is on account of differentiating between differently-managed packages at different parts of the system. As the guy who gets to come in, comprehend, rationalize, and clean up systems afterward, I can assure you that a logical ordering and seggregation does help markedly.

For distros with a decent package management policy and toolset, there's no particular problem to maintaining this. $PATH variables already make the end-user impact essentially nil.

For those who wish to combine things, union mounts or symlinks can certainly be used, again, with little or no end-user impact. For some embedded/small systems this makes sense. There's no reason to force one-size-fits-all on everyone, however.

I'm also generally opposed to arbitrarily adding top-level directory trees. The naming rarely stays consistent over time (business unit / institutional name changes are notorious). And it tends to complicate matters especially concerning backups and where essential local data lives.

Tempest in a teapot.

5
peterwwillis 1 hour ago 0 replies      
Oh man... if only we had all statically-compiled Linux systems these days. Sure it'd be a pain to deploy changes in libraries, but less dependency-breaking consequences means you can push a patch to a single application without testing a whole suite of dependent apps.

The really hacky solution to that seems to be building versioned packages in versioned directory paths (e.g. "/opt/lib/db/4/4.2/4.2.52/libdb.so") and mess with linker paths and create a sprawling tree of symlinks and wrappers for weird use cases. With a custom package manager it works really well: run 6 conflicting versions of the same library and just build apps against the library you know works, instead of fighting to get everything running on one compatible library.

6
saulrh 2 hours ago 3 replies      
There's an interesting piece of advice at the bottom of this post - the author symlinks /bin, /sbin, and /lib to /usr/whatever. Anybody else have an opinion on that practice? It's kind of unnecessary, but it also doesn't break anything.
7
rachelbythebay 1 hour ago 1 reply      
Let's not forget the whole partition split situation due to the 1024 cylinder limitation. Once upon a time, you couldn't get to certain parts of the disk from your bootloader (using BIOS calls), so you had to make something like a tiny /boot which would hide < 1024.

This situation has only improved a little. There are still lingering bits of it here and there, depending on how deeply you poke and which distribution you have installed.

8
calloc 1 hour ago 1 reply      
I still have various partitions: /, /var, /usr, and /tmp (on a single slice). When I am in single user mode the only binaries I have available are in /bin. Unless I mount /usr that is all I have access to, so the split still makes perfect sense.

A lot of Linux distributions by default suggest using the entire disk and creating a single partition named /. In that case it doesn't make sense to have the various different locations since mounting / means you have /usr/bin as well.

I don't want a user being able to fill up the hard drive stopping me from writing my logs, stopping me from logging in or various other things (yes, i've filled up my / partition at one point and was unable to log in because SSH was failing to log something or other). There are also security reasons and being able to set various security flags on mount makes it easier to secure a machine as well (such as noexec on /tmp and or /var).

9
aaronh 2 hours ago 0 replies      
much of the original traditional unix file system hierarchy is basically redundant and unnecessary in the modern age. for a good overview (from the author of a linux distribution which departs completely from this tradition), see:

http://www.gobolinux.org/index.php?page=doc/articles/clueles...

10
comex 1 hour ago 0 replies      
It drives me crazy every time I'm on a Linux system and ifconfig is in /sbin, and not on users' PATH, even though the no-argument form works perfectly fine as a user.
11
lanstein 2 hours ago 0 replies      
great sig:

GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem
Forever, and as welcome as New Coke.

12
ggchappell 2 hours ago 1 reply      
The title isn't quite correct. He explains /bin vs. /usr/bin, but not /bin vs. /sbin.

My understanding for the latter is that /bin is "normal stuff", while /sbin is system maintenance. But, hey, maybe that split is actually there for obsolete historical reasons, too. Does anyone know?

13
triffidhunter 1 hour ago 1 reply      
The Fedora changes are bikeshedding. They start with wanting to change something, and then find a justification. Why not just put all the executables files in /Program Files/?

All this to save a few bytes in $PATH, to avoid problems with systemd, and to avoid fixing udev.

14
emillon 1 hour ago 0 replies      
So, /usr really means "user", and the "Unix System Resources" acronym was put together afterwards. Interesting, thank you !
15
dreamdu5t 1 hour ago 1 reply      
Directories that are based on objective criteria don't have this problem.

For example /dev is defined by objective criteria, and thus there's not much argument to what goes into /dev. We should only have core directory structure defined by objective criteria.

16
nailer 1 hour ago 0 replies      
Way, way too long. Go read the FHS:

- If it's needed to boot the system, it belongs in /

- Binaries for normal users are in bin, system (i.e., root user only) binaries are in sbin

That's all.

17
agumonkey 2 hours ago 1 reply      
Glorious.

More history bits like this please.

At the same time, makes you think about dropping FHS .. yeah I said it.

18
xenator 1 hour ago 0 replies      
Cargo cult driven development
19
drhowarddrfine 1 hour ago 1 reply      
Reason #9364 why I am soooo glad I stick with FreeBSD.
2
Facebook to File for IPO Next Week (mashable.com)
186 points by james-fend  4 hours ago   91 comments 21 top all
1
albertsun 2 hours ago 4 replies      
Why is this a link to Mashable when all the reporting work and original information is from the Wall Street Journal?

http://online.wsj.com/article/SB1000142405297020457370457718...

2
gojomo 48 minutes ago 1 reply      
The S-1 filing will almost certainly contain enough info to allow my bets with jacquesm and il, that Facebook's revenues would reach $2B/yr by 2014, to settle (2 years early!):

http://news.ycombinator.com/item?id=689993

http://news.ycombinator.com/item?id=1163144

Would still be happy to take $200 in Facebook stock instead. :)

3
RuggeroAltair 3 hours ago  replies      
Well, honestly I think that buying Facebook shares right now is a high risk move. While it is possible maybe to forecast some ups and downs in the immediate following days, if the evaluation actually goes to 100 billions it'd look scary to me.

I'm not saying that Facebook is dying or that it's gonna die anytime soon, but I am not able to foresee any significant growth.

The article compared, with sort of negative terms, Facebook's IPO to Google's, saying that google didn't even impress that much when it went public.

But we all know here, that Wall Street made a mistake with Google, since now their shares now are worth 5 times as much as they were at the opening.

So, my question is, how can Facebook ever be worth half a trillion dollars? What should the company do to get evaluated 5 times as much as it is now?

At least with the number of users, it seems to me that they can't be too far from their natural limits.

Facebook is a company certainly with great minds and ideas, but after all it's a website, and I'm not sure people will want to stick around for so much longer on just a website. It seems unfeasible to me that people will stop using the rest of internet, just doing everything on Facebook.

Sure, they can improve a million things (like a real search in Facebook posts, or ways of sharing more complicated things, or better off site integration (which is already pretty good though), but at the same time they can't just open too much, or people will just start migrating. Yet, if they stay too close, people will get bored and start migrating anyways.

Sure, they can start having actual physical products and increase their presence on different markets, but there are lots of tradeoffs for that too. People won't eventually be happy to have a anything-Facebook.

So, maybe I'm wrong, but I tend to believe that this might be one of the highest points that Facebook can reach. I'm sure it can still grow, but I can't expect a growth of orders of magnitudes, it just seems unreasonable.

Maybe it's just that I got bored of Facebook's social life a long time ago and ended up spending very little time on it, almost using it as an email server for certain friends. But I certainly don't think that things like timeline can do this huge difference. To me, timeline is just another improvement (maybe) to avoid people to get bored after a while. One of the constant and frequent improvements and changes that every feature/product has to do to feel alive, but can anyone see any change that could make this company much bigger than what it already is?

If I were Zuckerberg I would probably sell a bunch of my shares and buy a bunch of companies, without necessarily integrating them into Facebook, you never know...

4
aresant 1 hour ago 0 replies      
Here's why I am going to buy:

Google's Retargeting product drives insanely strong conversions for clients vs. their traditional adwords.

You're able to re-reach folks that, by arriving on your site in the first place, have categorized themselves as interested and, as a result, close at a much higher rate.

Google's recent move to consolidate privacy policies, and in effect, sets of customer data is going to provide massively better targeting capabilities.

As a result they'll be able to sell the exact same ad-space to advertisers and yet advertisers will see better results, thanks to better targeting.

In the "bid-for-space" model this will translate to higher ECPM to Goog, to site owners, etc.

Now, enter FB, coiner of the "Social graph" and consolidator of all the things and people.

They are doubtlessly working to build and improve their advertising products.

They are going to earmark a lot of that $100b to buy large advertising businesses, just like Goog bought AdMob etc, that they believe they can improve ECPMs on.

Is it speculative? Absolutely.

Does $100b already have a lot of this expected upside baked-in? No doubt.

But still, I have seen the future of online advertising and it be profitable.

He with the most customer data wins, and FB has that in abundance.

5
pathik 23 minutes ago 0 replies      
There hardly seems to be much upside left. Most of the potential for appreciation has already been milked by late stage VCs (DST), Goldman's preferred clients, and investors on SharesPost and Second Market. This probably won't be a Google or Amazon. But then, 5 years down the line, who knows.
6
zotz 4 minutes ago 0 replies      
I wonder if the timeline being made mandatory is tied to the IPO somehow.
7
untog 3 hours ago 2 replies      
It'll be interesting to see what Facebook employees do once the IPO goes through. There must be a good number that want to break off and do their own thing, but are sitting on stock they don't want to lose. It'll be interesting to see what ideas/startups they come up with.

Didn't the same happen when Google IPO'd?

8
nchuhoai 3 hours ago 5 replies      
Just out of curiosity, why is Facebook doing this? I'm unfortunately not very knowledgeable on the field of IPOs, but aren't IPOs usually just needed to raise money? I always thought Facebook is in a position where it does not need to raise money, since it gets sufficient revenue, and being public has its own disadvantages?
9
philwelch 3 hours ago 1 reply      
Well, now we get to see their financials. This hasn't been an encouraging step for other recent IPOs, like Groupon, and at least their business model involves people actually paying them. Unless Facebook's profitability is much better, the other shoe's going to drop and things might get pretty rough.
10
bproper 2 hours ago 0 replies      
And of course, the entire social media sector surges on news of the IPO.

http://www.streetinsider.com/IPOs/Entire+Social,+Online+Medi...

11
mkr-hn 2 hours ago 0 replies      
I'm looking forward to a good IPO. It feels like the economy is on the rebound for real, and good news out of this could help.
12
joejohnson 3 hours ago 2 replies      
Does anyone know how long to expect between the filing date and the IPO date?
13
CyrusL 3 hours ago 0 replies      
I took part in SecondMarket's 1/18/12 Facebook auction and was unaware of any trading being halted for that week.

Does anyone know what normal IPO timelines are? My uneducated expectation is that shares begin trading something like 3-6 months after filing the prospectus.

14
bitsweet 3 hours ago 6 replies      
What would the world look like if Facebook IPOs and Apple immediately buys them out with their horde of cash?
15
outside1234 1 hour ago 0 replies      
this is great news - end of the hype era and the beginning of the reality and earnings era for Facebook.
16
stevenj 1 hour ago 0 replies      
I'm long Facebook over the next 20 years or so.

So I'm going to buy shares.

17
joelmaat 1 hour ago 0 replies      
Damn that 2009 job request of mine. I coulda, woulda, and shoulda. Haha.
18
mkramlich 1 hour ago 0 replies      
I wonder if the timing has to do with Google's recent "hey let's fuck up our core feature!" (search)
19
senthilnayagam 3 hours ago 1 reply      
IPO is inevitable but timing is not right, groupon, zynga, LinkedIn, pandora are all trading at very low valuations and so is investor sentiment
20
aviherschman 3 hours ago 0 replies      
If facebook goes through with this. How would this effect the privacy of their users?
21
bilalhusain 3 hours ago 0 replies      
3
points by    ago   discuss
4
Chapter 6 of the Rails Tutorial, 2nd Edition is out ("Modeling users") (railstutorial.org)
30 points by mhartl  1 hour ago   5 comments 4 top all
1
pg_bot 31 minutes ago 0 replies      
Michael, your rails tutorial continues to be the best source for those who want to learn the basics of rails. I used it as an introduction, and I recommend it to anyone who wants to begin creating web apps. I am glad to see that it was enough of a success to warrant a second edition, and wish you continued success.
2
mhartl 20 minutes ago 0 replies      
See also the original announcement of the 2nd Edition, which includes a FAQ and a list of new features:

http://news.railstutorial.org/ruby-on-rails-tutorial-second-...

The biggest changes are:

    * A full update to Rails 3.2, including coverage of the
asset pipeline

* A complete rewrite of the authentication & authorization
system, taking advantage of the new has_secure_password method

* A revised test suite using the latest techniques in
RSpec programming

3
fonzie 1 hour ago 1 reply      
Michael, this is fantastic once again. Thanks a bunch. Really looking forward to those screencasts whenever they come out also.
4
james-fend 36 minutes ago 0 replies      
Great stuff Michael!
5
Curebit (YC W11) Raises $1.2 Million For Online Referral System (techcrunch.com)
33 points by allangrant  1 hour ago   3 comments 3 top all
1
csallen 15 minutes ago 0 replies      
Congrats guys!
2
channelmeter 32 minutes ago 0 replies      
Awesome job to Allan and team. Can't wait to try it for our own software.
3
karljacob 55 minutes ago 0 replies      
go curebit! Nice work
6
Welcome Geoff (ycombinator.posterous.com)
100 points by pg  4 hours ago   15 comments 12 top all
1
socratic 4 hours ago 1 reply      
Is there anywhere to read more about Geoff's Rocketmail experience?

In Founders at Work, Sabeer Bhatia (who co-founded Hotmail) paints a pretty awkward picture of Four11. According to the interview, Rocketmail started out as a directory service (I guess, hence "Four11"). They were Hotmail's partner, providing them with a searchable directory of other users. But then through the partnership Four11 found out how many users Hotmail was getting and decided to compete directly by making Rocketmail. Things were apparently especially awkward because both Hotmail and Four11 were funded by DFJ!

Anyway, it would be really interesting to hear the other version of events. (Hotmail and Rocketmail were competitors after all.) Obviously, being in webmail rather than directory services was the right call, but how did Four11 decide to switch and what were the interpersonal and business dynamics really like?

2
twakefield 4 hours ago 0 replies      
This is great news, congrats Geoff!

Having had the pleasure of working with Geoff, I really appreciate his ability to quickly address the flaws in your product, strategy, presentations, etc.

He groks things almost instantly and gives really constructive criticism that might sting a bit at first but adds a lot of value. Most valuable advice isn't what you wanted/expected to hear, but you come away in a better position after hearing it. He's really good at giving it.

He'll be a great addition to the team.

3
olivercameron 3 hours ago 0 replies      
Geoff was one of my favorite partners at YC, so awesome to see him come on full time. He has this intensity that really gets to the root of a problem, I learnt a lot from him.

Congrats Geoff and YC!

4
earbitscom 3 hours ago 0 replies      
Geoff Ralston is the man. He was one of our YC mentors and is now an investor in Earbits. He took the time to meet with us long before any formal YC meeting, simply because he knew we were involved in music. His insights were amazing and he doesn't bullshit you about anything. He's fun to work with and brings a wide array of experiences to the startups he works with. YC just got better - is that possible?!
5
Karhan 1 hour ago 0 replies      
My name is Geoff and I've found this to be a strange thread.
6
west1737 4 hours ago 0 replies      
I've only known Geoff for a short while now, but this will be a huge benefit to YC. Geoff has a great eye for product development and can really strip an idea down to its core elements.
7
wuster 3 hours ago 0 replies      
Congrats to Geoff! We're looking forward to working with him at ImagineK12 to build out our edu product. In two offices hours so far, he's given us some hard hitting feedback about our customer development progress, so we've taken that to heart and "left the building" to talk to our potential users, not just relying on phone/email/social media like we were before.

I hope YC doesn't steal away -too- much of his attention ... =)

8
zeratul 4 hours ago 1 reply      
http://ycombinator.com/people.html needs updating. There are at least 3 people missing.

I would like to know if YC has data mining/analytics specialist that reviews YC applications and helps people.

9
tedkalaw 3 hours ago 0 replies      
Congratulations Geoff!

Geoff is an incredible product guy, and an even more incredible person. Every office hours we had with him during ImagineK12 he gave us a good old-fashioned hustling...prepare yourselves, YC.

10
krmboya 4 hours ago 0 replies      
Ycombinator must really be an wonderful place to be in, with all these smart people around.

I wish I knew how to get there from halfway around the world.

11
PStamatiou 2 hours ago 0 replies      
Grats Geoff!
12
aravindc 4 hours ago 0 replies      
Welcome Geoff, I have nostalgic memories of RocketMail!
7
How Much Is an Astronaut's Life Worth? (reason.com)
235 points by johno215  7 hours ago   127 comments 26 top all
1
DanielBMarkham 5 hours ago 6 replies      
This is about 25 years too late, but good.

The problem here is that NASA is a political agency, not a scientific one. Each year, elected politicians sit down and decide how much they're going to get.

This means the number one rule is don't make us look bad. You can't waste too much money, you can't go making a bunch of controversial statements, and good grief, whatever you do don't have astronauts getting exploded on TV.

The analogy with the mission-centric military was a good one. Unfortunately, as we involve the U.S. military in more and more missions that look highly political, we're going to end up with a badly broken military, for exactly the same reasons.

NASA should have but one mission: lower cost to orbit. If they can reach a 1000-fold reduction in cost to low-earth orbit, a lot of scientific research, exploration, and commercialization can take place.

2
noonespecial 6 hours ago  replies      
Space is dangerous. We should stop pretending it can be made "safe". It just gives politicians something to wag their tongues at when something inevitably goes wrong.

If you go to space you might not come back. That's why explorers rock and everyone else watches TV.

The article also misses an important variable. How much is discovery worth? Once that's added to the plus column, all of the other costs seem insignificant.

3
mechanical_fish 5 hours ago 2 replies      
Mars is key to humanity's future in space. It is the closest planet that has the resources needed to support life and technological civilization.

... well, except for air, and food. But there's water! Which we can detect with sensitive instruments!

This whole article has no point. As everyone in the military knows full well, if the benefit is great enough humans will happily risk other human lives, even expend lives, by the thousands and even millions.

The "problem" is that there's nothing for humans to do in space that is worth so much as a single human life. This isn't 1937 anymore; the transistor and the IC have been invented and we know how to build robots. These days even the military pilots on Earth spend more and more time in chairs on the ground, steering robots, often from halfway around the world.

4
tokenadult 6 hours ago 3 replies      
This article ended up being more interesting than I expected. Particularly noteworthy is the point that if a program sets an unusually high value on human life, it diverts resources from other programs also intended to protect human life, and thus brings about LESSENED protection of human life through that drain on resources. This provides thoughtful perspective on policy trade-offs. As Thomas Sowell has written, "The first lesson of economics is scarcity: There is never enough of anything to satisfy all those who want it. The first lesson of politics is to disregard the first lesson of economics."
5
hartror 17 minutes ago 0 replies      
Starting with near zero space capability in 1961, the National Aeronautics and Space Administration (NASA) put men on our companion world in eight years.

The whole premise of this article, that we can't send people beyond LEO any more because of risk aversion, is based on this line and it is wrong. There are several differences between today and the 1960s that make manned space flight less feasible. This can be summarised as political and manufacturing, with the former driving the latter.

Politically the world and the US are different places, the cold war is over so the need for grand gestures for moral building and propaganda has gone.

However the OP's line of near zero space capability is wrong, ICBMs were being designed and tested at a furious rate throughout the 1950s. This created a massive pool of people with first hand knowledge, and a massive manufacturing base from which to draw upon.

6
chernevik 5 hours ago 0 replies      
Apollo was a national security project -- demonstration of our system, exploration of technology of potential military importance.

Fixing Hubble was really important. I'm not sure how much the shuttle's work was of the same magnitude, or couldn't have been done with automated gear.

BUT bureaucratic and political imperatives called for continuation of the space program, at scale, and that called for justification of the costs. The money is no big deal, but if those justifications aren't that good, the collision of those weaknesses with the human risks will cause cognitive dissonance. If the people concerned haven't the will to rethink the whole thing -- and there are many examples of much, much larger failures -- you're going to see some strange behavior along the way. Shuttles failed twice in 100 missions, is the milestone of first senator in orbit really worth a 2% fatality risk? No, but rather than admit that and cancel the mission the response is to imagine that risk can be driven down to negligible. And if that isn't possible, the standard is going to shift from "known but justifiable risk" to "we're doing the best we can / no expense has been spared".

Of course it doesn't make sense. But if they recognized that, they wouldn't have flown such missions in the first place.

7
joshuahedlund 6 hours ago 1 reply      
This article answered for me one of those things I'd always wondered but never took time to figure out: why no one has been back to the moon even though our technology has advanced exponentially in the last 40 years. An irrational emphasis on risk makes perfect sense.

Still doesn't explain why no other country has done it, though. Well, except for the boring explanations about high costs and no immediate benefits besides bragging rights...

8
wiredfool 5 hours ago 2 replies      
When discussing the 2 rovers with a 90% success rate, the author comes to the conclusion:
<blockquote>The right answer is to go for two rovers, because if you do it that way, you will have a 99 percent probability of succeeding with at least one of the vehicles</blockquote>

Which is not exactly right. It's correct if you're looking at random, uncorrelated factors. However, two rovers from the same program are not going to be uncorrelated. If one rover is hit by a software blunder, it's likely the other one will have the same problem. (e.g. using mks instead of english units in the flight computer, using a 16 bit counter that overflows to name two)

9
mlwarren 6 hours ago 1 reply      
"We are going to have failures. There are going to be sacrifices made in the program; we've been lucky so far. If we die, we want people to accept it. We are in a risky business, and we hope that if anything happens to us it will not delay the program. The conquest of space is worth the risk of life." â€" Virgil 'Gus' Grissom.

It seems like most of the Mercury/Gemini/Apollo era astronauts felt like their lives came second to mission success. I'm sure there are plenty of astronauts that feel the same way today.

With a pool of astronauts willing to take reasonable risks to advance space exploration, it's the NASA management that has been responsible for disallowing the more dangerous missions. On the one hand that's tragic, but on the other it makes sense from a PR perspective. With each spaceflight tragedy there has been a backlash from taxpayers and Congress. Politicians will use spaceflight accidents to push agendas that cut funding, etc.

NASA has to walk a fine line between keeping the program safe enough to maintain funding and adventurous enough to make gains in space exploration. I think in early NASA it was easier to justify the human cost of accidents because of Cold War pressure, but now there is a harder time with this justification and thus the huge emphasis on safety.

10
SudarshanP 5 hours ago 0 replies      
What is the risk a mountaineer or fighter pilot or car racer facing? Should we ban these people from taking calculated risks? Are there some stats about how risky various adventure sports are compared to Space Exploration?

Another question is what is the worth of revisiting the moon to set up a hyper expensive tourist camp there? Should it not be NASA's job to focus on research that lays the groundwork for entrepreneurs like Elon Musk to expand human presence beyond Earth?

11
moe 4 hours ago 0 replies      
Obligatory:

  "It's a very sobering feeling to be up in space and
realize that one's safety factor was determined by the
lowest bidder on a government contract." --Alan Shepard

12
ap22213 4 hours ago 1 reply      
If an astronaut dies during a mission, there's a lot more indirect cost incurred than just the astronaut's life. There are the endless investigations and media coverage and related activities that are hard to put a number on.

Simply put, government funded programs receive more scrutiny than commercial ventures. If a private inventor dies while experimenting with their own invention, there isn't the massive, longtime affecting fallout similar to a government disaster.

Now, sure, I am a proponent of space exploration and its advancement. But, having worked with the government in the past, I kind of understand why their risk management is so heavy handed. Few government leaders will take on that much risk themselves.

13
vannevar 6 hours ago 1 reply      
The article is thought-provoking, but marred by an enormous and unsupported leap of logic at the outset:

Yet despite vastly superior technology and hundreds of billions of dollars in subsequent spending, the agency has been unable to send anyone else farther than low Earth orbit ever since.

Why? Because we insist that our astronauts be as safe as possible.

Safety concerns undoubtedly carry a cost at NASA, but they are hardly the central reason there have been no manned missions beyond Earth orbit. During Apollo, when presumably the agency wasn't so safety conscious, NASA's budget (adjusted for inflation) was twice what it is today, and as a percentage of the Federal budget it was over 5x today's level.

14
waffle_ss 3 hours ago 0 replies      
I've also heard this argument used by libertarians such as Milton Friedman to denounce the FDA, saying that it has costed lives through being overly cautious by delaying the approval of life-saving drugs. The proposed alternative is to not have an FDA, but rather sue the drug companies directly in civil court if their drug ends up being harmful and they haven't performed adequate testing/trials.
15
natep 6 hours ago 2 replies      
As he barely acknowledges, the problem isn't necessarily that NASA is too risk-averse when it comes to human lives, it's society at large. After every failure, there is a massive outcry along the lines of "how much money did we give you again? And you still couldn't get it right?"

The argument that the money could be spent elsewhere has been around since the beginning of the space program, I think. Do the people making this argument know that NASA's current yearly budget is around 0.6% of the entire budget (and only ever as high as 4.41%[1])? So really, the question should be flipped around. Think of what we could accomplish if all the money spent inefficiently elsewhere were instead given to a space program (not necessarily NASA, because I won't deny it has its problems)

It also seems silly to me to use large-number probability analysis on what are usually one-time occurrences. If a $2 billion mission fails immediately after launch, and it could have been prevented by $0.5 billion in more testing, then spending the extra money does make sense, especially if the failure would also cause public outcry. And it would not mean that an identical mission would also have the same risk. If the failure was due to bad design or a systemic error in a part (the more likely scenarios than a random failure[2]), then that failure would also happen in the next mission.

So yes, I agree that NASA needs to have a focused goal and shorter timelines, but I think this article might have been better directed at the public, then scapegoating NASA administrators.

[1] http://en.wikipedia.org/wiki/Budget_of_NASA

[2] Source: a talk by the founder of AeroAstro, sorry it's not online

16
lutorm 6 hours ago 1 reply      
Interesting, but I thought it sort of built a straw-man argument in that the main premise, that all the delay on a Mars mission is just to lower risk to the astronauts, isn't really substantiated. The calculation that ends up showing that the cost of a Mars mission is a hugely inefficient way of reducing risk to human life assumes the entire cost is to lower human risk. So it's only an upper limit, and there is no way to judge whether it's a useful upper limit.

Besides, the fact that there is a difference between risk to human life and risk of mission success is only relevant if there is a significant probability of mission success. You can only play the game with multiple missions for redundancy if an individual mission has a probability of success reasonably close to 1, otherwise it doesn't buy you much.

Of course, this whole affair assumes that we actually have some hope of a priori estimating the risk of failure of complex systems. I doubt it's possible, and I think that's confirmed by the observed 2% shuttle failure rate compared to what the "acceptable risk" of the mission was supposed to be.

17
svmegatron 5 hours ago 1 reply      
Lost me after defining the worth of an astronaut to be $50 million, and the value of scientific knowledge obtained from a longer-lived Hubble to be incalculable.

Even though I think the author makes a point worth considering, I found that a really sloppy justification.

18
joshuahedlund 6 hours ago 2 replies      
the multi-decade preparatory exercise adopted as an alternative to real space exploration has already cost the lives of 14 astronauts, and will almost certainly cost more as it drags on...

Seriously? Does anyone have more information on this? I like Reason but sometimes they can be a little biased. If there's no missing context and we're literally killing astronauts in safety training then there is no excuse not to just get them in space already.

19
ctdonath 4 hours ago 0 replies      
It's worth exactly what the guy is willing to risk to go out there.
20
shareme 5 hours ago 0 replies      
Author premise only half right. The cost over-runs of the shuttle program were composed of two deep expensive factors.

Infinite human safety and the costs of having a horizontal system of sub contractors building the shuttle system instead of a vertical approach.

But, conversely while close to infinite safety costs can reach military objectives, for example using tracked-light heavy armor in places of urban combat(less civilian casualties thus locals want to work with our forces), the same cannot be made for civilian space agency in terms a full benefits.

21
dennisgorelik 5 hours ago 0 replies      
That's a wise policy:

===
To avoid such deadly waste, the Department of Transportation has a policy of rejecting any proposed safety expenditure that costs more than $3 million per life saved.
===

22
uberalex 6 hours ago 1 reply      
I like the article but I wonder a little about the figures. He seems to assume that the extra research measures push the likelihood of a successful mars mission from 90% to 95%.

I think this underestimates the complexity of the problem. Two thirds of automated mars missions have failed, with an especially dark period around the time of the 1980s, when we were to have sent out the first Astronauts.

I think that there is also an issue with the military/contest aspect. The moon mission had a cold war battle feeling which would be hard to ignite now -- deaths in space just seem tragic and expensive in a way that they did not before (his description of the finger paints being a good example). Would people have the stomach to spend billions to kill 5 people on their way to Mars? How many times before they lose interest?

23
squarecat 2 hours ago 0 replies      
24
DMalloy 5 hours ago 0 replies      
One cost-effective proposal for a mars mission that was actually discussed:

http://en.wikipedia.org/wiki/Mars_to_Stay

Btw, -many- people died during early space travel.

25
ChrisArchitect 6 hours ago 0 replies      
maybe in bad taste, but made me think of this 'art' http://www.astronautsuicides.com/
26
wbienek 5 hours ago 2 replies      
Here is where you supposedly "smart" people are morons.

We didn't go to the moon in the first place.

They jumped the shark when they showed people on dune buggies on the moon.

They won't go back because when people see how hard it is to land and relaunch with human life in tow, the world will know we didn't go in the first place.

Nobody will be going to the moon until it doesn't matter that the world finds out we didn't go in the first place.

Ask yourself. What is easier: scamming a trusting, patriotic 60's public on TV or landing a human being on a foreign planet.., whats harder? Having people drive a dune buggie, then relaunching and landing safely back on earth or setting up a desert set piece to look like the moon. Or maybe a Hollywood studio to look like the moon. I've seen the video. It's a joke.

And you're shocked we never went back to the moon? Please! How gullible can you be?

8
Coding Horror: Separating Programming Sheep from Non-Programming Goats (codinghorror.com)
119 points by joeyespo  6 hours ago   74 comments 24 top all
1
cletus 4 hours ago 4 replies      
I see this largely as a failure of education. You see this issue in many areas and much earlier on like teaching mathematics. In schools there tends to be one method used and that method doesn't suit everybody.

I see this at work. I've known programmers who, when they get a new hire, will basically let them flounder. I guess the basic idea is that if you're "good" you'll "figure it out" (with minimal time investment to boot). And that will work with some people. My own philosophy is that there are a significant number of people who need direction. Don't overwhelm them with "everything". Give them small, structured tasks to learn processes, small parts of the system, build confidence and give some measure of progress.

That all being said, I honestly don't know how I learnt to program at all. I can teach people who know how to program (the basics) more. But I can't teach someone who doesn't know how to program how to program.

I've come around to thinking that Zed Shaw (as just one example) is right about this. With his "Learn X the Hard Way" books he starts out by basically saying "just type this in" (and don't copy and paste). Don't worry what it does. You'll figure that out later.

I see people (in many different areas) who are under the mistaken impression they need to know "everything" before they can do anything (or even in games, make a decision of any kind). They feel the need to weigh up all the options and consider all the consequences. That's not actually how people learn (IMHO).

Children don't know any better so can just learn this way. Adults often let self-doubt, fear of embarrassment or fear of "what might happen" get in the way such that they won't allow themselves to learn.

So perhaps what universities should do is separate students who already know how to program from those that don't. Those that don't don't take ANY theory at all until they do an introductory course that starts with "just type this in". If you lack the ability (and willingness) to turn a thought into a program, no matter how simple, you're doomed to failure. This, I believe, is something that can be taught.

The ability to just try stuff and see what happens in a key element in continual learning (IMHO) and something that needs to be ingrained in programmers (to be) from day one.

I'd really love to see the outcome of this approach versus more traditional approaches.

2
gatlin 4 hours ago 5 replies      
I studied to become a computer science teacher. I have not finished my certification for various reasons but I have some limited field work under my belt along with numerous discussions and readings. And, of course, my anecdotal but legitimate experience in public schooling.

Let's get one thing straight: the problem is bad teachers. My mentor once said it kind of sucks that UTeach was only available to UT students and by extension those who statistically succeeded in traditional schooling because they are usually the least acquainted with the system's failures.

That "test" they show inside is bullshit, first of all. If they showed that to me as a completely green 11 year old without explaining the syntax or semantics of what was going on, I'd probably have to ask some clarifying questions. And, I think it goes without saying, if the professor is the type of teacher to go into a class with the expectation that half the class will fail, I'd probably have shaky confidence and would hesitate to ask questions since everyone is quickly cast into a mold of either "have" or "have not." I've taken math courses before by these people.

Many so-called "gifted" math students (and we're all students) are great with applied math but are just as stumped by theory as everyone else (anecdotal). Testosterone and typical youthful arrogance turns classrooms into settings hostile to people aren't extremely competitive and who are somewhat unsure of themselves. Combine this with a teacher who was once one of the cocky ones and a few snide remarks about how some students "just don't get it" and what you have is a self-fulfilling prophecy.

If your students fail to learn, it means you did not teach them adequately. Learning is the product of the work of learners: you have to give them the proper resources to work with. Humans are exceptionally capable. Children are extremely inquisitive and interested in so many mundane things; they can be taught math. This is beaten out of them as they get older and they're told there is a cap to what they can accomplish.

Bah. Humbug.

A good set of resources for anyone looking to teach programming and/or computer science is CS Unplugged (http://csunplugged.org/). No computers. Much of it relies on human interaction. It's fun, it's versatile, and most importantly it distills the important parts of computer science while shedding the stuff that gets in the way: confusing, advanced user interfaces; arcane terminology and confusing history; and the stigma that a computer brings to those who've never worked with them before.

3
raganwald 5 hours ago 6 replies      
Jeff closes with the following words IN BOLD:

“The act of programming seems literally unteachable to a sizable subset of incoming computer science students”

There is, of course, an alternate explanation:

“We in Universities seem literally incapable of teaching programming to a sizable subset of incoming computer science students”

Experiments going back to the 1980s with teaching children how to program using Lego blocks and robots with Logo seem to indicate that nearly everyone can learn how to program, but possibly not when they're 18 or 19 and possibly not with the kind of academic environment represented by the test.

4
jerf 4 hours ago 1 reply      
As I recall, people have attempted to replicate the results this blog post is based on and the result was debatable. Which is to say, not that they were completely unreplicable, but that under further investigation debate has intensified. It isn't clear that this methodology actually works, but it also was not conclusively destroyed. It's probably not a good scientific base to draw a lot of conclusions on right now.
5
lutorm 4 hours ago 4 replies      
That article is positively drenched in fixed mindset (http://www.scientificamerican.com/article.cfm?id=the-secret-...). Those prophecies tend to be self-fulfilling. But as raganwald says, the only evidence is that universities fail to teach a sizable fraction of the population. Maybe the trick is not to play with IDEs or whatever else they claimed to have tried, but to get rid of the computer and focus on what programs are: instructions for how to do something.

The example of "mental model of assignment" is ridiculous. a=b can mean whatever. It means something totally different to a mathematician than a programmer. Say:

"The piece of paper on the left says dog and the piece of paper on the right says cat. Overwrite the contents of the piece of paper on the left with the contents of the piece of paper on the right. What is written on the pieces of paper?"

I bet pretty much everyone would have a correct mental model of assignment if the problem was stated like that.

6
pnathan 2 hours ago 2 replies      
I've worked with freshman CS students.

The aggregate breaks down like this, loosely:

20% succeed, always. Hackers/nerds, basically.

80% might succeed. They don't have the talent. They succeed or fail on teacher's competence and their own hard work and background.

20% fail, always. Cheaters, people who are constitutionally incapable of getting it, misplaced students, people with health issues, etc.

The 80% is what a teacher can affect. If they don't have the thinking (math/logic) background or the curiosity, they probably won't do well.

Teaching is hard. It's probably the hardest task I've ever done.

7
drblast 2 hours ago 2 replies      

  int a = 10;
int b = 20;
a = b;

The new values of a and b are: False!

All that example would really measure is who has had previous programming experience.

This is obviously a teaching failure.

I don't accept that there are certain things people "just don't get." Watch the documentary "Waiting for Superman," about some heroic teachers who didn't accept that either and did something about it.

8
neilk 3 hours ago 0 replies      
I agree that there probably is a sharp distinction between people who can keep very rigid rules in their head, and project forwards to anticipate what will happen, and lastly also reason backwards from a desired state to figure out the necessary instructions.

The question is whether this can be taught. When I read the study I see another possible conclusion; that we haven't sufficiently prepared everyone for the basic reality of computing -- that this is about arbitrary machine rules, and how to think about them.

Some of us may come into the world having that 'mechanistic' worldview, or perhaps some early experiences teach it to some earlier than others.

But we're evolved to deal with organic environments. Where precise definition and full knowledge aren't possible, so instead we have fuzzier categories and flexible responses. Where everything intelligent in the environment can be negotiated with, using empathy. In programming 101 you have to abandon that mindset.

9
Simucal 4 hours ago 3 replies      
Eh, that test seemed like it could be unintuitive to those that have never had programming exposure before.

How are they to know that "=" is assignment and not testing equality? I guess you could glean that from the context where they immediately ask you the values of the variables after the operation but I could see someone misinterpreting the semantics of that operator.

10
drumdance 3 hours ago 0 replies      
FWIW I remember having a hard time understanding equations when I first learned them in algebra. I remember that most of the class argued with the teacher about it. Eventually I was able to grok it, of course, but the average person doesn't get much beyond algebra.

Also, assignment is rather strange concept relative to math education. I don't remember any test where we had to create an algorithm. Variables where things you solved for, not tools.

11
lifeisstillgood 3 hours ago 0 replies      
I am willing to bet a largeish sum of money that had such a test been around for literacy sometime in 1870 when mass education in the uk started in earnest, we would have found a double hump of people who had a consistent mental model of sentence construction, story arcs, past and future tenses.

The fact almost everyone has same mental model now is down to very early age education. When your parents are literate you will be too.

It's possible this test could be done today in countries with terribly low rates of literacy

12
jseims 4 hours ago 2 replies      
I used to teach the first CS course at both Harvard and University of Washington. I didn't have this issue at Harvard, but at UW there was definitely a bimodal distribution in abilities. Roughly half the students had what I feel is a more visual / associative way of thinking vs. the focused structure you need to program.

The concept that the "non programmers" could never understand was the abstraction of functions. Like:

foo(a) {
// stuff
}

foo(b);

would confuse them because they'd get hung up on foo's parameter declared as 'a', but called with 'b'.

13
sassafras 4 hours ago 0 replies      
Teaching is hard.

I understand the impetus to filter out students that are less naturally inclined to it, and if your goal is to establish something of a programming conservatory, then administering a test like this would be an effective barrier. However, I think perhaps more advantageous reading of these results would be to recognize that the ability for students to construct these mental models is the single most important foundation in their education.

Anecdotally, I have had some experience teaching non-programmers basic programming skills at the university level, and it's absolutely the case that some kids, even bright ones, struggle greatly with these constructs at first. They look at the symbols and freeze, intimidated by the arcane expressions, and control flow is often non-intuitive to them. To me at least, that's a pedagogical challenge, not a lost cause. You should have seen the exclamations of wonder and excitement when some of them finally got it, once a particular way of illustrating it stuck for them.

14
tylerritchie 3 hours ago 0 replies      
I recall reading about a doctoral student or new professor who was teaching an intro computer science course and the whole while all of his peers were telling him that his course was too difficult for the dolts he had as students. (I can't find the article with what little I remember) By having his students complete much harder, smaller homework than normal (I think?) he was able to push his students farther in the one term than most would be able to get in several.

As the final exam approached the instructors asked his peers to go over the exam he had written up to which they replied something like, "you can't give this to your class, it's too hard and they will all fail and that will make you look bad." The instructor was worried, decided his students could hack it and gave them the exam despite of peer unease. Upon grading the exam, a higher than "normal" proportion (as measured from years previous) of the class left with higher grades and greater grasp of material.

Now hopefully someone knows what I'm talking about so I can re-read that account.

15
sunils34 4 hours ago 1 reply      
It's really all about how you teach programming. My first exposure to programming was in high school where a math teacher who had never coded a day in her life was thrown into the position for some extra cash. I witnessed the dichotomy first hand here--and I was clearly in the wrong bell-curve. But that summer, I attended a summer program where it was taught properly. First explaining the context and history of programming, and then exposing us to real world applications. This had a huge rate of success for everyone in that program.

I don't think that the goats will ever go away, but I do think that if taught properly, that the ratio of people who understand to those who don't can be on the order of someone who understands an art history class to someone who doesn't-- or any other area of specialization for that matter.

16
sicxu 51 minutes ago 0 replies      
Everybody learns natrual language, yet large number of people cannot learn programming language. It sounds like learning programming language is harder than learning natrual language. This is not intuitive to me. A lot of concept in natrual language are much more abstract and difficult to understand than the assignment concept. Even the leap from one apple, two apple to one, two is a much bigger conceptual leap. I see the story as a failure in education.
17
kghose 4 hours ago 0 replies      
May I know where these folks teach, so I may never send my children there. I expect teachers to teach new concepts. I expect them to gradually train an untrained mind.

This test merely indicates that teachers, by tossing out untrained minds and using a subset of already trained minds, can skip the challenging part of their job and take credit where none is really due.

Grrr.

18
paulhauggis 1 hour ago 0 replies      
it's funny. I met a guy that had a PHD in computer science. He not only didn't really know how to develop software, but he didn't know anything about the internal makings of a computer (CPU, HD, etc).
19
hluska 1 hour ago 0 replies      
In 1995, I used to tutor my classmates in a first year computer science course. I noticed that the people I tutored always had a bad attitude towards programming. I used to hear (and have to deal with) objections like, "this is stupid" or "this is boring"...

In retrospect, I don't know why I put up with all of that. I think it was 18 year old Greg's way of meeting girls...:)

I wonder if attitude towards programming is responsible for the distribution? Seems to me that people either love programming or loathe it - there isn't a whole lot of middle ground.

20
zerohp 3 hours ago 0 replies      
My guess is that some students never really let go of mathematics. Without this step, you cannot even begin to form a mental model of how the machine evaluates an imperative program.

Students with no experience programming may be better off starting with a language like Haskell.

21
lnanek 4 hours ago 0 replies      
From the article:
>To write a computer program you have to come to terms with this, to accept that whatever you might want the program to mean, the machine will blindly follow its meaningless rules and come to some meaningless conclusion.

I guess it is reasonable that people have a hard time with this. They've grown up their whole lives dealing with people and animals and themselves. These act according to wants and gloss over minor errors, a fuzzy world full of fuzzy actors. Heck, even our species has lived and evolved mostly dealing with such. It doesn't make much sense to them that one typo could cause a super powerful computer or expensive device to keel over and be useless and do nothing.

22
Shebanator 4 hours ago 0 replies      
Weird to see a blog post from 2006 show up here. Especially when I read it and discovered I'd already commented on it...
23
snitzr 4 hours ago 0 replies      
// The solution test in JavaScript

var a = 10, b = 20; // Declare variable values

a = b; // Assign b to a

console.log(a); // Output a to the console

console.log(b); // Output b to the console

// Log: 20

// Log: 20

24
dpkendal 1 hour ago 0 replies      
Aside: I think it would be better were the animals the other way around: sheep aren't very smart (they have a tendency to start following one another for no real reason and this can quickly build up into a stampede) but goats are intelligent, curious creatures, much like programmers.
9
Professional Photographer's Association as out of touch as MPAA and RIAA (stuckincustoms.com)
15 points by yangez  1 hour ago   4 comments 3 top all
1
jxcole 1 hour ago 0 replies      
I've always been a fan of stuckincustoms. His collection of HDR photography is incredible. I recommend everyone to check it out.
2
kstenerud 49 minutes ago 0 replies      
PPA, MPAA, and RIAA are the modern equivalent of guilds. They were once useful for protecting the little guy, then evolved into a protection racket.
3
jack-r-abbit 53 minutes ago 1 reply      
Holy Over-sized Page Header, Batman! 850px... that is ridiculous.
10
This is what 864GB of RAM looks like now (37signals.com)
163 points by wlll  8 hours ago   91 comments 25 top all
1
forgotusername 41 minutes ago 0 replies      
I'd be more interested in a writeup of what data you actually store. I've used Basecamp at a customer's before, and it certainly didn't justify the requirement of 1TB RAM, let alone 100kb RAM to serve quickly.

This sounds more like Reddit's problem where some architectural simplifications might net a giant win versus piling yet more gunk on top (Reddit is still perceptibly doing random IO for every comment in a thread during page load, or perhaps some insanely slow sorting, I have NFC how they haven't fixed this yet).

2
rwmj 7 hours ago 2 replies      
Pfft ... We were testing RHEL 6 on machines with 2 and 4 TB of RAM (in a single machine) the other day.

They have lots of cores and are very NUMA.

3
herge 6 hours ago 1 reply      
We had a server with half a TB of ram. It was a lot of fun until we had to reboot it, and then it took half an hour to perform a memory check.
4
adestefan 7 hours ago 2 replies      
"...russian-doll architecture of nested caching that I'll write up in detail soon."

The details will be interesting, but that description sounds like a headache waiting to happen.

5
ck2 7 hours ago 2 replies      
Those must be ECC prices.

16GB DDR3 is "only" $100, that would make non-ECC $5400

ah okay, ECC is $175, so 175 * 3 * 18 = $9450

6
ajdecon 6 hours ago 0 replies      
We've been playing with a Kove xpd (http://kove.com/xpress) with 2 TB RAM lately. 2 TB RAM and four Infiniband cards make for a very fast DB server... :-D
7
russell 3 hours ago 1 reply      
The obligatory comment from the old guy:

My first computer, an IBM 7094, had 32k of 36 bit words, about 200K characters. The memory cost about $1M and was the size of a refrigerator.

8
iamleppert 1 hour ago 0 replies      
I question the architecture and approach of this much caching. Because this is memory, I assume it's for a read-only cache?

That said: most read heavy services only need at most 10% of their working set cached, in memory. The hardest problem in caching is figuring out what that set is and how to control consistency. Not how to store it.

So, having this much cache seems to imply that you think you're going to have large amounts of read intensive data to cache.

Or else you intend to cache your entire working set? Either way, you'll have a single point of failure (either in a single server, single datacenter, or single geographic area).

Any large operation can tell you that the problem becomes 90% network and stuff like a CDN become far more important than how fast and big your cache is.

Perhaps a nice technical writeup on your architecture would silence the pundit inside me?

9
ch 6 hours ago 0 replies      
Hmm. I wonder if those are laid out on a grounded mat or just some random office table, sitting on carpet?
10
brudgers 4 hours ago 0 replies      
That picture reminded me of the first time I saw a fully populated 8meg board - for about the same price.
11
16s 4 hours ago 0 replies      
It's common to see servers with 100+ GB of memory these days and I've seen some programs use it all!
12
st3fan 1 hour ago 0 replies      
I think this site could use some of that memory and caching love. Loading articles or even /newest is sooo slow sometimes.
13
prolepunk 1 hour ago 0 replies      
I wonder if they would run into fragmentation problems with this much of memory, and if so how they are going to deal with that?
14
gaius 4 hours ago 6 replies      
Is this supposed to be impressive? Show me what you can do with how little resource. Anyone can brute-force it.
15
illumin8 5 hours ago 2 replies      
This is what 864GB of RAM looks like after you laid it all out on a table without using ESD (electro static discharge) protection. A few of these DIMMs are probably bad now, but you won't know which ones because you're going to stuff them all in a Linux box that you built yourself... this is such a bad idea for a production system.
16
NanoWar 2 hours ago 0 replies      
Reminds me of the days when 1 MB of RAM did cost 500 bucks. Used to run Windows 95 :) after installing from floppy.
17
tezza 7 hours ago 2 replies      
What sort of servers are they going into?

~ 13 servers with 4 sticks (64GB) each?

18
wlll 3 hours ago 0 replies      
It's in a secure datacentre surrounded by millions and millions of dollars of other equipment (some of it ours), it should be OK :)
19
jebblue 6 hours ago 1 reply      
That would make a great Minecraft server. For real.
20
hyuen 6 hours ago 2 replies      
I wonder what kind of stuff can be done with 1Tb of SSDs, much cheaper than RAM, but also somewhat slower...
21
st3fan 6 hours ago 1 reply      
This is not really special anymore in 2012?
22
jonknee 7 hours ago 2 replies      
And who says Rails doesn't scale?
23
strictfp 6 hours ago 0 replies      
"...russian-doll architecture of nested caching that I'll write up in detail soon."

A.k.a object orientation? (Maybe an explanation is due here, or do other HNers grok and agree?)

24
ajack 5 hours ago 2 replies      
It's great that companies post articles describing their architectures and backend systems (and I'm certainly looking forward to your follow-up post detailing your caching system) but why show a picture of commodity hardware available for anyone with enough money? What's impressive is your skills, now how much money is in your bank account.
25
jrockway 5 hours ago 0 replies      
Before I worked at Google, 864GB of RAM would have impressed me. Now I think I have that much in my laptop...
11
Show HN: I made a site that rings a bell every time you have a new customer (bellbot.com)
37 points by pud  3 hours ago   30 comments 14 top all
1
patio11 2 hours ago 1 reply      
Fair warning: a similar system nearly caused me to destroy my cellphone, the screen over my window, and the windshield of the Honda beneath it.
2
moconnor 2 hours ago 1 reply      
From the landing page: "One of the programmers set up the computers so that a bell would ring every time an order came in."

Continuation of the quote in the WSJ source:
"A great novelty at first, it quickly got annoying and had to be turned off."

3
lancefisher 32 minutes ago 1 reply      
If you are curious what it sounds like, just hit this url: http://bellbot.com/sounds/up.mp3
4
dpritchett 1 hour ago 2 replies      
Last week I set up a heroku+twilio app to call me and yell whenever I curled its URL.

The idea was to use it to train myself to stop hitting ESC in vim, but I'm sure it's portable for other pavlovian needs.

https://github.com/dpritchett/no-calls-please

5
rachelbythebay 2 hours ago 0 replies      
This reminded me of the Netscape FTP server rigging. They had an Indy play a cannon shot every time someone successfully finished a download. It's a small part of a much bigger story, and all of it is good as far as I am concerned.

http://www.jwz.org/gruntle/nscpdorm.html

6
apalmblad 36 minutes ago 0 replies      
Hah, I remember seeing that quote from Bezos and wanting to do the same thing. At the moment, I make do with Jabber and a cron job, but a bit of semi-realtime feedback on positive activity is fun.
7
Dexec 2 hours ago 0 replies      
Philip, just know that the rate at which you put out projects of all sizes really is inspiring.
8
nsmartt 2 hours ago 2 replies      
I have nothing useful to say, but I can't help but wonder if I'm the only one who read "Beeps when you've got customers" and immediately thought "Goes ding when there's stuff!"
9
rksprst 2 hours ago 0 replies      
Great idea - nice when you've just launched. FYI, GetClicky does this as well as part of their Spy section.
10
jamese 2 hours ago 1 reply      
Nice work! It would be very helpful if there was a special URL that could be shared with employees that want to receive the notice.

Perhaps also a small Win/Lin/Mac resident service, and mobile app?

11
apeconmyth 2 hours ago 1 reply      
Reminds me of Middle Men. "We just made $9.99..."
http://www.traileraddict.com/clip/middle-men/we-just-made-99...
12
PaulMest 2 hours ago 0 replies      
There was a pretty funny scene in Middle Men regarding this very topic. http://www.imdb.com/title/tt1251757/
13
mjhoyer 2 hours ago 1 reply      
Clicking on bellbot.com with headphones in... not recommended. I almost crapped myself.
14
bootz15 2 hours ago 2 replies      
How does it know when I've got a new customer... a new site visitor? So confused...
12
What I Learned From Opening a Bookstore (salon.com)
215 points by fogus  10 hours ago   54 comments 16 top all
1
Jun8 6 hours ago 1 reply      
This was a funny and somewhat insightful read; however, it misses some interesting points. Opening a bookshop (much better name than a bookstore, and if you think "what's the big deal about naming" you probably shouldn't even attempt to open one).

Allow me to offer my own list:

1. Opening a bookstore is very much like starting a startup in that a really high percentage of the attempts will fail. The big difference is that if you do succeed, you won't get rich.

2. If you think (1) is a sad consequence of today's soulless dominance of Amazon, people not reading, etc., then read Stuart Trent's The Seven Stairs where he chronicles his adventures in opening a bookshop in Chicago after WWII, where he details pretty much the same difficulties as today's bookshops face.

3. In order to succeed, you have to have a specialty, e.g. maps and map making, the classics, books on New York, etc. Stock a very good collection on the topic (or two) of your choosing and strive to be the best source of information and books in your state, than in the US for that topic.

4. Of course, in addition to (3) you have to have generalities, throw-away popular fiction, cookbooks, travel books, etc. But that it let dilute your niche.

5. Your store should have a unique atmosphere. Additional points if this correlates with your chosen topic niche.

6. Know and love your customers, even when they're weird (you'll encounter these much more frequently than would be expected from a normal distribution) and their flies are open. You have to earn their respect with your knowledge and collection. Again, refer to The Seven Stairs for a wonderful example of how this is done.

7. In case you skipped 1: remember that the wonderful Stuart Brent also failed (I had a chance to see his store on Michigan Ave in 1996, ran by his son, I believe; it was reduced to a standard B&N type of store and was closed in the late 90s).

8. Reread 6! If someone with a classical bent asks for historical fiction and you take them to the romance section they will never come back. If you don't have even a small collection of timeless classics, say Aurelius' Meditations, Khayyam's poetry, Ulysses (and, of course, Odysseus) yours is not a bookshop.

9. Learn how to use the Internet! Understand that probably a good percentage (if not the majority) of your sales will come through the Web, so have Web presence as good as your store. Put useful information on your web page.

10. Lastly, you just have to love books, this is no endeavour that a truly sane or financially dependent person should attempt. If reading Parnassus on Wheels doesn't truly move you (to tears), you are in the wrong business.

2
jdludlow 7 hours ago 1 reply      
People are getting rid of bookshelves. Treat the money you budgeted for shelving as found money. Go to garage sales and cruise the curbs.

I found this amusing as the first bullet point, since it pretty much screams, "Don't open a bookstore."

3
bryanlarsen 8 hours ago 2 replies      
When people make lists like that, they usually come up with an odd number, like 8, and then think "Hey, if I think of two more I can make a list of 10". That's one of many reasons why such lists usually aren't reading.

With this list, I get the impression that instead she crossed off a few less worthy items to get the round number because it's pretty hard to find any fluff.

4
mseebach 8 hours ago 3 replies      
Turns out mild loathing towards users isn't unique to software.
5
jimminy 7 hours ago 0 replies      
Having just come in to work at an independent bookstore, I find most of it accurate, particularly the part about checks. We have an abnormally high-quality customer in that regard.

The one gripe I have is the thought that when people ask for historical-fiction they want romance, that's hardly the case here. That probably comes with the fact we're primarily a niche store focused on the sale of West Virgina History, and related, and West Virginian Authors. We rarely carry supply of Best-Seller list titles, with the exception of children's titles, because Amazon has severely undercut that business. We handle special-orders in this case, which take on average about 4 days.

6
johnohara 6 hours ago 2 replies      
8. If you put free books outside, someone will walk in every week and ask if they're really free, no matter how many signs you put out .

That's because the book has a physical existence. It's made of paper and ink, has a cover, etc. Adults understand it costs money to make such things, so it's better to put an inexpensive price on it, like $0.50, than to try to give it away.

It's odd that the opposite is true of e-books and e-media. The low cost of frictionless delivery gets confused with the true cost of production.

Kids will always go for free gum btw. That's in chapter 3 of the "being a kid" handbook.

7
rnernento 8 hours ago 0 replies      
Great morning read, I'll have to be more careful about my fly...
8
newandimproved 6 hours ago 0 replies      
Reading her list reminds me of when I worked in a record store back when I was a teenager.

One thing I quickly learned is when a grandma asked what album/artist do I recommend for her grandson, she wasn't asking for MY recommendation (i.e. Zodiak Mindwarp and the Love Machine or whatever the heck I was listening to).

The correct answer was almost always Rick Astley.

9
johnwatson11218 5 hours ago 0 replies      
One thing I do is keep old books in the trunk of my car. Whatever a store won't buy I put back in my trunk. Every couple of weeks I add some newer books and try again. Sometimes books that were rejected the first time are bought later.
A few months ago I was on a short road trip and tried to sell
my stuff in another town. They bought everything I had, even some old pc games.
10
sunnysideup 9 hours ago 2 replies      
This was much fun too read. What I really would like to know is how book stores will look in 20 years? It seems the author sees her store more as a hobby and is not really concerned about the future?
11
arjn 3 hours ago 1 reply      
I wonder if these smaller, indie bookshops would benefit by being a bookshop+cafe . A place you could grab a coffee and snack while catching up on reading or news. There was this very nice place back where I went to grad school. Old used books, good coffee and snacks. I really miss having such a place where I live now.
12
habudibab 3 hours ago 2 replies      
I'm suprised bookstores are still viable business. I can not come up with any real benefit of buying books in a store.

The only reason that comes to my mind is the joy of browsing, maybe buying something you've seen somewhere recommended before. Are impulse buyers a huge part of the market?

I've been to a local private bookstore twice and the only customers I've seen there are people who probably prefer face-to-face and resent the distant and modern way of buying things, where the only social interaction is saying hello to the mailman.

Could the bookstore provide me with anything amazon couldn't? Books that were unavailable to amazon were unavailable to them. Imports took even longer and due to not living in an english speaking country, 99% of the books on the shelves were translations which I don't want to read.
Which is even more of a problem in bookstore chains. We have one with four large floors and a café. How many shelves of Twilight in German the day on release? About 10. How many shelves constantly filled with english literature? 1. Out of a number that probably goes in the hundreds.

13
markwong 8 hours ago 1 reply      
in my country, the biggest sections in bookstores are self-help and "how you get rich [really really fast]"
14
dpapathanasiou 7 hours ago 0 replies      
After trying to run an ebook marketplace, I can empathize with #14.
15
davidwparker 6 hours ago 0 replies      
I thought this was great, and rather humorous. Funny thing is, unlike #1, I just bought a bookshelf less than two weeks ago.
16
quizotic 8 hours ago 0 replies      
WONDERFUL!
13
Twitter uncloaks a year's worth of DMCA takedown notices, 4,410 in all (arstechnica.com)
23 points by Slimy  2 hours ago   5 comments 2 top all
1
ngokevin 14 minutes ago 0 replies      
We've automated the whole DMCA process here at Oregon State University. We have Python scripts that parse the takedown emails, a Python suite that parses network logs to associate it with a user, emails appropriate people, disable network access if they do not respond, complete with django webapp and api.
2
akashshah 1 hour ago 2 replies      
Can someone explain to me how links to copyright content come under DMCA? Twitter is most definitely not hosting the copyright content? Why are they even at the receiving end of takedown requests?
14
Pinpointing the day from Ice Cube's "Today Was A Good Day" (murkavenue.tumblr.com)
12 points by bproper  1 hour ago   discuss
15
Twitter isn't Censoring You. Your Government is. (thenextweb.com)
50 points by evo_9  5 hours ago   25 comments 8 top all
1
drcube 3 hours ago 5 replies      
Twitter is censoring users at the behest of their governments. They don't have to. How long do you think it would continue to be illegal to mention Naziism in Germany if Twitter, Facebook, Google, et al, decided to boycott the entire country? If Hollywood can play governments like evil marionettes, the vastly richer internet giants ought to be able to pull off a simple boycott for good.

That they aren't says a lot to me. Their priorities are revenue, regardless of their stated abhorrence of censorship.

2
joebadmo 4 hours ago 1 reply      
I think this is more a problem with centralized services than with Twitter or any particular government.

I'm with Dave Winer on this one:

http://scripting.com/stories/2012/01/27/onTwittersNewFilteri...

3
InclinedPlane 17 minutes ago 0 replies      
Twitter taking action to remove/block tweets due to individual court orders would fall under "governments are censoring twitter".

Twitter complying with requests to pre-emptively filter tweets would fall under "twitter is censoring itself".

4
nextparadigms 3 hours ago 0 replies      
Someone was raising the question if there's a coincidence between them doing this now, a month after that Arabian prince invested $300 million in Twitter.

It's probably not a coincidence, but I bet the US Government wanting to censor tweets from certain groups in the Middle East for "spreading propaganda" has a lot to do with it, too. And I'm a lot more worried about that than about a certain country wanting to censor their own people's tweets, because at least then that country's citizens can protest against it. Not much another country can do about US censoring their tweets.

5
Someone 2 hours ago 0 replies      
What if one started playing with terms close to forbidden ones? For example, will Twitter hide tweets denying that people got killed in Mousewitz or Duckau (http://www.telegraph.co.uk/comment/letters/3595693/Mousewitz...)?

If so, an enterprising group of people will probably be able to make Twitter hide terms that, currently, are utterly unrelated to forbidden terms.

6
bbwharris 1 hour ago 1 reply      
Slowly but surely, the internet will receive the same censorship apparent in public broadcasting.

The fun's over. We've been discovered.

7
draggnar 3 hours ago 1 reply      
Does anyone believe that the nature of censorship on the internet actually makes a situation worse? Maybe during tv days censorship worked because a story was blacked out completely, but on the internet the fact that a story is blacked out can become a story. It may be argued that this is an attempt to make more gradual the shift to a more free and open society but isn't it a step backwards?
8
thetrendycyborg 3 hours ago 0 replies      
But Twitter is too.
16
Vellum, a verified model for LLVM (upenn.edu)
8 points by Rickasaurus  54 minutes ago   1 comment 1 top all
1
p4bl0 28 minutes ago 0 replies      
So I guess you're at POPL too, Rickasaurus?

Context: we just had a paper presentation talk about Vellvm this afternoon at the POPL[1] conference, it was very interesting.

[1] http://www.cse.psu.edu/popl/12/

17
PyPy funded to begin support for Python 3 and Numpy (morepypy.blogspot.com)
143 points by synparb  9 hours ago   10 comments 2 top all
1
EdM 7 hours ago 1 reply      
This post made me think of this article:
http://technicaldiscovery.blogspot.com/2011/10/thoughts-on-p...

For those who don't know, Travis Oliphant is the creator of NumPy and(?) SciPy.

It's a good read and it puts some of the issues with a port into perspective.

2
ColdAsIce 8 hours ago 3 replies      
I like pypy and its ambitions, last time I tested it, about a month ago it was very speedy and startup time considerable faster than Cpython. However the regex exercises I wanted to do couldnt be done. Pypy seemingly didnt have a good regexp engine. If I remember correctly, something with groups and backwards-reference...

Has that changed?

18
Seriously.js: A Realtime, Node-Based Video Compositor for the Web (badassjs.com)
53 points by devongovett  5 hours ago   7 comments 4 top all
1
aschwo 4 hours ago 0 replies      
This is seriously cool, but can't there be a better way to embed fragment shaders in javascript for WebGL? Check out this effect:
https://github.com/brianchirls/Seriously.js/blob/develop/eff...

Or is there a tool that needs to be created that will compile a fragment shader for WebGL down to .js, kind of like CoffeeScript?

Now all you need is for someone to write an OpenEXR implementation in JS or WebKit and you'll have all you need to build a Nuke killer in the browser. Well, you'll still need the UI framework for the node graph.

2
rwaldron 5 hours ago 2 replies      
"Node" as in http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-195064124... - not "node.js". Seriously runs in the browser.
3
Mizza 5 hours ago 1 reply      
So awesome, glad they're still developing this. I was at the Open Video Conference where they demoed this.
4
franze 4 hours ago 0 replies      
cool

i coded some real time video effects demo a year and a half or so ago http://www.barbafan.de/html5video?video=tron
i tried to create a lib for video effects then, but ran into serious performance issues, looks like it's time to revisit that topic.

19
Asus working on Kinect laptop, compatible with Windows 8 (winbeta.org)
4 points by ViolentJason  20 minutes ago   1 comment 1 top all
1
r00fus 6 minutes ago 0 replies      
So the panopticon gains new eyes... Is it just me that covers my laptop's webcam during use? (I use tape+microfiber so I can use the webcam by unpeeling for the rare times I need it)
20
points by    ago   discuss
21
The AngelList 2011 Yearbook (angel.co)
28 points by noelsequeira  4 hours ago   4 comments 2 top all
1
hornbaker 27 minutes ago 1 reply      
Anyone else surprised by how low the numbers are? Only 500 startups and 2,500 investors joined last year?

2011 was the breakout growth year for AngelList according to their Alexa graph[1]. And Angel.co has 740K pages indexed by Google, of which about 356K of which appear to be investor profiles, 159K appear to be company profiles, and the remaining 225K could be assumed to be entrepreneur profiles. Perhaps there's another large subset of indexed pages I'm missing?

I'd love to know the actual total counts of startups, angels, and entrepreneurs if anyone is privy.

[1] http://i.imgur.com/lsMCY.png

2
dzohrob 3 hours ago 0 replies      
Hint: click the "Shuffle" icon in the upper-right. It's addictive.
22
How I Learned Enough Ruby On Rails In 12 Weeks To Launch Freelancify (webstartup.me)
125 points by james-fend  10 hours ago   68 comments 13 top all
1
tptacek 3 hours ago 5 replies      
Congrats on the launch. I think I speak for everyone on HN when I say, you're going about this the right way: learn enough to build applications for yourself, whether or not you're going to be a code committer over the long term.

Can I give you some quick advice? Don't take this the wrong way: Rails makes it easy to learn enough to be dangerous in 12 weeks. Some quick hits on obvious things you should look over in your application to ensure it isn't overtly insecure:

* Every model class should have an "attr_accessible" statement, and the attributes you expose through it should be minimal. A very common misconception: "the things in attr_accessible are the only attributes users can set". Not so! The things in attr_accessible are the only attributes users can set automatically, through mass assignment. You can expose things that aren't in attr_accessible by manually settings them with assignment statements. Assume anything that's in an "attr_accessible" list, and every attribute of a model without attr_accessible, can and will be set to the most hostile possible value, like "role=admin".

* Rails programming intros have a bad habit of introducing ActiveRecord finders in the context of the model class object --- in other words, "Post.find(params[:id])". This is exactly the wrong way to do it; it's so bad that you can literally generate a list of vulnerabilities on Rails projects by grepping app/controllers for "[A-Z][a-z]+]\.find". Instead, make sure all your finders work via associations, like "@current_user.posts.find(params[:id])".

* Use a popular plugin for file uploads. Rails doesn't do much of anything to defend against file upload/download vulnerabilities. If I was building a public-facing Rails application, I'd do whatever I could to keep the filesystem namespace out of my requests --- storing all files on Amazon S3 without explicitly storing them in temp files is a good way to do this.

* Don't enable the old-style wildcard route ("/:controller/:action/:id) or any of its variants ("/posts/:action/:id :controller => :posts); whether you declare methods "public" or "private" in a controller should have nothing to do with whether they're exposed to attackers.

* Have a "PreauthController" that inherits from "ApplicationController" and disables the is-logged-in check; in other words, every controller, particularly every controller generated by "rails generate", should be post-authentication by default. Set up the before_filter that checks for a valid user session right there in ApplicationController, then "turn it off" for the LoginController by having it inherit from PreauthController.
Similarly: if you can get away with not having an AdminController at all --- run a totally separate Rails app for admin that requires a VPN to get to --- do that; otherwise, have an abstract AdminOnlyController class with no methods in it that does nothing but set up a before_filter to check for admin privileges, and have every admin-only controller inherit from it.

* Pretend the backtic operator (the one that executes Unix commands) doesn't exist.

You may do all of these things already (in which case, good for you! you learned more in 12 weeks than a lot of Rails developers do in years). I just called them out because (a) not doing them will be tremendously painful down the road (individual XSS slipups are annoying but unlikely to kill you, but vulnerabilities that allow people to dump your whole database are something else) and (b) they are so easy to fix.

Good luck!

2
mellifluousmind 7 hours ago 3 replies      
As someone with programming background, I actually wish there are more stories on the opposite direction (programmer who gets kickass awesome in UI design (HTML + CSS)).

I think that the complexity of CSS compatibility (what browser supports what not... even there are minor quirks between Firefox & Chrome, not just IE.. don't get me started on IE7 & 8 either), it is very easy to raise a white flag and say "that is it..I am going back to deal with backend only tasks, nothing that consumer will see on the surface).

Perhaps, OP already has a knack for UI design (as he/she mentioned in the post that he/she is a UI designer by trade before Ruby), so kudos for getting a nice grip on Rails. As for me, I wish I can master the UI design etc.

3
saltcod 8 hours ago 2 replies      
The other thing I want to add is how much 'else' I learned while running through Michael Hartl's tutorial.

Despite many years making websites, I really had no clue about basic http methods â€" get, put, post, etc â€" and in fact, I didn't even realize what they were. The other huge, huge thing for me was finally figuring out what REST is all about.

Basically, the web runs on those few basic http methods, and using the REST approach spells that out for you and cements it in your head.

I had an awesome jump-up-and-down moment when it finally clicked.

4
freehunter 3 hours ago 0 replies      
I get really annoyed when there is an element that follows me down the page as I scroll. It's really distracting. I get even more annoyed when I have to set up an adblock rule to make it go away.

Please, designers, stop doing this (and stop doing menu bars with the same behavior). There's not much on your site that is important enough that I need it to follow me everywhere.

5
saltcod 9 hours ago 3 replies      
Fantastic post. Thanks so much for it. I decided to really dig into Ruby on Rails after Christmas this year, after thinking/talking about it for years. I was thrilled to hear that you really had no programming backgroundâ€"I think a lot of us are in this boat.

I watched the Lynda.com videos on Ruby, and the one on Ruby on Rails (both from Kevin Skoglund). I just watched enough of both to get fairly overwhelmed and confused, then moved on to Michael Hartl's site. Things started to click much better thereâ€"that's the best Rails resource I've seen to date.

Still though, After really digging in over the evenings and two weekends, that nagging feeling started to set inâ€"am I actually going to 'get' this? Am I wasting my time? Is this going to take years? Will I ever get past layouts/partials? Should I just go learn PHP / Javascript / iOS / something else?

Did you feel like giving up? Or question the purpose/wisdom of learning Ruby and Rails?

6
tmh88j 9 hours ago 1 reply      
Great write up. I experienced a similar adventure in learning PHP over the past couple months and I completely agree that the first few weeks are by far the hardest.

Late last summer a friend and I came up with a great idea but we lacked the programming skills to create it ourselves. I knew a bit of HTML, a touch of c++ , and PLC ladder logic programming(huge help, right?). It wasn't until around October that I realized we were getting nowhere. I decided enough was enough and I was going to learn how to program. I spent an entire weekend reading and trying out zend's PHP 101 for beginners. Three months later and I had created a user authentication system with messaging, friends lists, administrative rights, and all sorts of other goodies. I was working a full time job so I did this with my spare time.

Your site looks great by the way. Keep up the good work.

7
instakill 3 hours ago 3 replies      
Did you go about this project doing TDD/BDD?
8
GnomeChomsky 8 hours ago 7 replies      
Any advice for getting started for someone without a Mac? I remember once trying to learn and immediately stalling out during setup (lame, I know). I have WinXP & Ubuntu, and would like to take a stab at this again no matter how stupid I feel about not even being to able to install the damn stuff to start with.
9
darushimo 8 hours ago 2 replies      
thanks james and commenters saltcod and tmh88j for saying that the first few weeks are the hardest. I'm banging away at the google python exercises and nearly crying. knowing that other people are going through this headache too gives me a bit of confidence to truck through.
10
moreorless 5 hours ago 0 replies      
Fantastic and inspirational writeup. Definitely will be forwarding the story to my nephew who is starting to show interest in programming.
11
spiredigital 6 hours ago 0 replies      
Awesome work, James!

Your site looks really nice, and now you've got the ability to do design AND program, which is a combo that isn't too common.

Best of luck with your site....

12
civild 9 hours ago 2 replies      
I just had a look at Freelancify and registered, and I'm amazed that you did it all in 12 weeks learning Ruby from scratch. Kudos!

Based on your experience, how do you think learning materials/tutorials could be improved for people learning from scratch?

13
fragileandys 7 hours ago 1 reply      
is this a joke? if so its funny... when i click the link i get: "Error establishing a database connection", haha
23
Graphene: The perfect water filter (extremetech.com)
145 points by ukdm  11 hours ago   35 comments 15 top all
1
swombat 10 hours ago 4 replies      
Water filtration is indeed a key survival technology for humanity in the next 50-100 years, so seeing technology already providing possible solutions to the so-called "water wars" of the future is great!

I presume such a filter will also remove all bacteria/etc from the water. So basically, you could grab some water from the Thames, stick it through one of those filters, and drink it. It might lack some minerals, but it won't get you sick.

2
api 1 hour ago 1 reply      
Four words: water recycling in spacecraft.
3
aprescott 7 hours ago 1 reply      
On the water filtration front, one thing I'm curious to know is what happened to the LifeSaver bottle. Was that just the victim of TED hype?

http://en.wikipedia.org/wiki/LifeSaver_bottle

http://www.ted.com/talks/michael_pritchard_invents_a_water_f...

From the Wikipedia page: "In 2007, the LifeSaver bottle was tested by the London School of Hygiene & Tropical Medicine and the results found it to completely filter out all bacteria and viruses."

This may be a stupid question, but is that simply nothing remarkable?

Since graphene seems to be the best thing discovered for filtering evaporated water, not liquid water, is the LifeSaver not as great a solution as the TED video makes it out to be, for some reason?

4
nutjob123 5 hours ago 0 replies      
Evaporated water is already very clean. I would like to see this material tested as a regular filtration mechanism. Normally filters are rated by the size of molecule they allow to pass through them, flow rate and how many liters of water they can filter before it is necessary to replace or clean. I would also like to point out that filtration and sterilization are different processes. Filtration is usually a mechanical process and sterilization is normally done chemically (although not always).
5
samirahmed 9 hours ago 1 reply      
As a research who has worked with graphene. I would like to point out that Graphene oxide and graphene are two very different materials in terms of properties and synthesis.

The graphene oxide mentioned in this article tends to exhibit weaker electrical and mechanical properties than graphene oxide but is much easier to synthesize than conventional graphene, and so a future with graphene oxide products is not as far as away as one with real monolayer graphene.

7
nosse 3 hours ago 0 replies      
This article only makes fun about making hard liqueur this way, but this could really revolutionize that business. Normal distillation is very violent procedure that unavoidably affects the taste. It would be possible to produce large amounts of rum just by leaving sugar cane juice in glass bottles to sunlight for a couple of months, with every bottle sealed with grapheme oxide.
8
brador 9 hours ago 1 reply      
How can I make graphene? How's it made? What do I need?
9
yock 9 hours ago 1 reply      
Would this include other areas of water purification such as softening and desalanization?
10
eridius 3 hours ago 1 reply      
I keep seeing articles about all the wonders of Graphene (and its derivatives, like Graphene Oxide). When will I actually see any of these wonders affecting my life?
11
jcfrei 7 hours ago 1 reply      
I hope this works as proclaimed - the only two questions i have left are:
do traditional desalination techniques require more energy than boiling the equivalent amount of water? if so, this might indeed be a breakthrough.
and the second question: will the membrane ever need to be replaced?
12
racketeer 1 hour ago 0 replies      
This is what I've always used http://www.steripen.com/
13
alanh 5 hours ago 0 replies      
How much does it currently cost to obtain a 16cm^2 sheet of graphene oxide?
14
enduser 5 hours ago 0 replies      
This website loads the full desktop page before redirecting to the mobile version.
15
adrianwaj 9 hours ago 1 reply      
"finds that graphene capillaries either shrink in low humidity or get clogged with water molecules"

How useful will the filter be if it gets clogged? Reverse Osmosis needs high pressure and produces much less water than it takes in, then it needs remineralization. Same situation?

Maybe it will be better for filtering steam or air.

24
points by    ago   discuss
points by    ago   discuss
26
Why Eating Fat Doesn't Make You Fat: Sources (massivehealth.com)
24 points by jaybol  1 hour ago   16 comments 5 top all
1
dbbo 1 minute ago 0 replies      
Technically, it is energetically easier to store dietary fat as adipose as opposed to carbohydrate.

The problem most people have is that they eat enough carb to satisfy their daily energy demands, and the fat they've eaten will be stored. Keep in mind that almost all muscle tissue and the brain prefer glucose (which usually comes from starch) over anything else, although some vital organs run mainly on fat, particularly at night.

Our digestive system is very efficient. The bottom line is this: if you eat more calories than you expend, you will gain weight.

2
TomGullen 24 minutes ago 3 replies      
Excellent to see this, it's a western myth that eating fat makes you fat. It's carbs.

Carbs are cheap, carbs are bad for you and carbs are often marketed as health food.

We don't need carbs. We evolved eating meat and veg. Meat, veg and water is the perfect diet. It's hard to stick to that diet though as carbs are so highly accessible.

3
scoofy 26 minutes ago 2 replies      
Whenever i read much of this anti-carb stuff, i'm always concerned about how different carbs affect the body. Taubes always blames the whole lot, but people like Lustig distinctly go after fructose. I get that carbohydrates probably affect the body in a negative light, but I certainly wish they would study sugars independently.
4
brianmwang 19 minutes ago 3 replies      
It's ridiculous to claim that you can eat as much protein and fat as you desire and not gain weight.
5
hackermom 30 minutes ago 0 replies      
Insulin.
27
NASA on GitHub - open.NASA (nasa.gov)
27 points by mshafrir  5 hours ago   1 comment 1 top all
1
markelliot 2 hours ago 0 replies      
Link NASA's GitHub page: https://github.com/nasa
28
Show HN: Startup Threads Monthly - Subscription Swag Service (startupthreadsmonthly.com)
66 points by frankdenbow  6 hours ago   53 comments 21 top all
1
vaksel 5 hours ago 4 replies      
so I'm supposed to pay money to promote some random startup?

in order to get a shirt, that they give away for free at their booths all over the place?

+ $20/mo to get a shirt is way overpriced...at that price, I might as well get a shirt from threadless that I like instead of "randomstartup.com!" one.

The business model should be flipped. Startups should pay you...to distribute shirts for free. And allow them to make it local....i.e. 300 shirts to people in los angeles.

Cost wise just charge them the same $20 per shirt. $10K for a one time marketing cost is nothing really. And getting 500 people to wear shirts would be worth it.

2
AznHisoka 4 hours ago 1 reply      
YC startups start companies that sell to other YC startups that sell services to other startups that sell t-shirts to people who are doing startups... When we gonna reach the actual companies that provide the thick value?
3
EToS 14 minutes ago 0 replies      
Mystery box, who can resist! cant wait for my first :)

Backordering could be a great addition if it goes well. All the best with this idea!

4
dotBen 4 hours ago 0 replies      
The guys who run GetSatisfaction used to run ValleySwag (an identical service). It's cool to see ideas coming around again and finding (hopefully) new feasibility.
5
hornbaker 3 hours ago 1 reply      
Startups will probably subsidize all your inventory if you get some traction, and make it easy for them. You're an advertising platform, the AdSense of high-value torsos.
6
localhost3000 6 hours ago 1 reply      
Do the companies pay you for this distribution? They should. It's advertising for them, after all
7
frankdenbow 6 hours ago 1 reply      
Hey HN! I put together Startup Threads Monthly to be a service that sends out startup merchandise (t-shirts, stickers, trinkets, discounts, etc) every month to consumers. It has been done in the past, and with some advice and guidance from Roddy (who ran Startup Schwag for a few years) I decided to bring it back.

Would love to get your feedback on the project.

8
shakes 6 hours ago 1 reply      
I could see this being very popular. Whenever I wear startup swag (especially Twilio or Foursquare) I have people ask me where they can get it. When I say I got it at a user group or conference they seem disappointed.
9
jjacobson 6 hours ago 0 replies      
I love the idea of a startup raising money by selling their own shirts.
10
andrewnez 6 hours ago 1 reply      
It sounds just like the now defunct Valleyschwag from 2006, http://techcrunch.com/2006/05/04/get-web-20-schwag-from-vall...
11
sachingulaya 5 hours ago 0 replies      
Great product Frank. It took me less than 10 seconds to decide to sign up. Group the $14.95 and the $5.00 shipping in to a flat $20/mo quote. There's no need for the breakdown.
12
mcarrano 5 hours ago 1 reply      
I have been looking for a service like this. Some questions I have:
1. Is there a way to view what the t-shirt will look like?
2. The monthly package we receive, are all the goodies from one company? Or will the sticker and surprise be from a different company?
3. Will you be able to opt out of certain months?
13
wattjustin 6 hours ago 1 reply      
I signed up for this last week and I'm excited to start receiving some great swag next month. Living in Victoria, BC it's not so easy to get your hands on some shirts from the companies you use, follow, and hear about so this is a great new service. Thanks Frank!
14
sloak 5 hours ago 1 reply      
It could be totally cool if you considered a "vintage" section, where you sell genuine one-off threads (think JavaSoft, DEC, Windows 3.11, ...)
15
satjot 6 hours ago 1 reply      
Looks cool. I'd love to see a price range on the home page as well, just so I know if this is something I can afford. Maybe even a/b test different price points on a splash page (unbounce) and see what sticks.

whens the first box shipping?!

now i don't have to buy clothes anymore

16
bullfroge 5 hours ago 1 reply      
Just a thought, I found the chat box popping up on every page to be quite annoying.
17
fiorekeith 4 hours ago 0 replies      
i think it may be wiser to get the startups themselves to subscribe to a swag subscription service (not consumers or fans). then each month the startups receive different types of products at their office. they could then order more of the ones they like. the subscription service introduces them to cool swag that they can give out (or sell?) to consumers & fans of their service. different approach, but i think it may make more sense.
18
jscherm 5 hours ago 0 replies      
I think this is a great idea. I have a bunch of civilian friends ask me to "steal" a shirt for them when I'm at a hackathon or a meeting. Now i can just point them here. Thanks Frank!
19
mattangriffel 6 hours ago 0 replies      
Great idea. I've been waiting fOr a sErvice like this.
20
MrAndyRosenberg 6 hours ago 0 replies      
This is a great concept. Visibility is key for any startup's success and thoughtful, on-the-ground swag is a huge part of this!
21
venturestackly 6 hours ago 1 reply      
really cool.

will there be more t-shirt styles/hoodies?

29
points by    ago   discuss
30
points by    ago   discuss
cached 27 January 2012 23:02:01 GMT  :  recaching 25 mins