skysight-inc/HackerNews huggingface dataset:
To clarify; what (x) stow does, is manage a set of symlinks from/in eg: /usr or /usr/local to a similar tree under eg: /usr/local/<program-version/, so that for instance:

/usr/local/bin/<program> -> /usr/local/<program-version>/bin/<program>

Similarly for man, lib etc. If you don't put stuff under /usr or /usr/local (but, say under /opt or ${HOME}/opt) -- you need to update your paths (PATH, MANPATH, USER_LD..).

Uninstalling just means removing the symlinks (unstow) and deleting the tree under /wherever/<program-version>.

This is what I do in my bashrc (which I use across a range of systems, some of which are mine, some of which I only have a user accounts -- some on Solaris, most on a flavour of Linux):

# set PATH so it includes user's private bin if it exists
for dir in "${HOME}" "${HOME}/opt" "${HOME}/opt/${unps}"
do
if [ -d "${dir}/bin" ]
then
PATH="$dir/bin":"${PATH}"
fi

# For python binaries, in "default" virtenv:
if [ -d "${dir}/pybin" ]
then
PATH="$dir/pybin":"${PATH}"
fi

# do the same with MANPATH
if [ -d "${dir}/man" ]
then
MANPATH="${dir}/man":"${MANPATH}"
fi

if [ -d "${dir}/lib" ]
then
USER_LD_LIBRARY_PATH="${dir}/lib":"${USER_LD_LIBRARY_PATH}"
fi

if [ -d "${dir}/include" ]
then
USER_LD_RUN_PATH="${dir}/include":"${USER_LD_RUN_PATH}"
fi

done

#Then later:
export PATH MANPATH USER_LD_LIBRARY_PATH USER_LD_RUN_PATH

The part about "pybin" is just becaus I do:

cd ~/opt
mkdir python-venvs
virtualenv --no-site-packages python-venvs/misc
ln -s python-venvs/misc/bin pybin

And can then pip install stuff and have it available without having to worry about activating a virtualenv etc. I generally keep large packages in separate venvs -- but install stuff like mercurial in the "misc" one.

Note that the structure of my opt-folder mirrors that of eg. /usr/local, so:

mkdir -p ~/opt/{bin,include,lib,man,share}

(I also have src and xstow in there -- src for source packages I want to keep around, xstow for xstow-installed packages.)

And to repeat, if you put your xstow tree under /usr/local or somewhere most likely already in your path, it should "just work" without having to set any extra variables -- and is more useful for eg: installing a system wide service (like Redis for production use).

edit: forgot to add export of environment variables to the .bashrc snippet

edit: the "${HOME}/opt/${unps}" points to a directory that contains architecture specific binaries; the unps-variable, is set to be `uname -ps` (with some trickery) -- and is then used for finding local binaries and setting some options like PAGER.
Can you give an example of an exploit that would do harm from within a UIWebView but would not do harm from within Mobile Safari? Not questioning you, I'm genuinely interested.
I enjoyed the personal story, it was quite gripping!

Inspired by "Broca's Brain" by Carl Sagan, I made it halfway through medical school with the intention of being a psychiatrist, before I finally realized that, on closer examination, psychiatry was not only a scam, but actually pernicious, repressive and evil!
We won't blow it. Our entire team has worked abroad (5 former Peace Corps Volunteers, international doctor, etc.) and we put transparency and accountability first. We're extremely anal about reducing risk, and we plan to grow slow to ensure we don't over-extend ourselves.

If there is any information with regard to transparency that you don't see on the site, please let us know and we will add it. Thanks for the support!
"Myriad's patenting effort has drawn opposition from groups such as the American Medical Association"

It amazes me that when experts weigh in on a topic it doesn't get more consideration for their view. Just like software. When that majority of engineers tell you software patents are stupid you should believe them.
> Also, you're going to eventually need to take a very small cut of the donations to pay living expenses for your volunteers.

Not to mention the 11 staff members they have, who probably are not in this just for the joy of saving adorable little African babies.
> Now, Twitter uses the format "10:42 PM - 15 Aug 12"

Wouldn't including the relevant timezone be even better?
And those people are not in the middle class, and are therefore not relevant for an article about the middle class.
Daring Fireball: Sharing the Stage
"It's not that Apple 'doesn't want you building web apps they can't monetize'"

That's simply not true.

1) A year ago Apple rejected one of our app updates because a webview inside the app had a payment form. (They told us that they do not allow any other payment option other than Apple in app purchases)

2) Yesterday they rejected yet another update for our app because it had a form where users could enter bonus codes.

Their explanation: We don't know if you are not selling those bonuscodes to your customers somewhere else on the web. (We don't, thats just bonus codes from promotion agreements with blogs/newspapers etc)
Incredible timing, I was just thinking how irritating this is on Github.
Cloning the MakerBot Is Legal, But Does That Make It Right?
I think a bigger problem is absolute dates with no year; I've seen this on blog posts and comments (can't remember any examples right now though).

At first, I'm tempted to think "oh that must be from this year then", but I'm often wrong and it's just a floating date.
The article provides very little information on where the performance problems lie, so I can't really judge whether the decision was correct or not.
That would be very helpful actually! Good point.
Open bug tracker please Apple! Lots of technical people are finding bugs and want to report them and keep visibility!
If you really wanted to, you could spin up a windows machine and use VMWare's P2V software to create a VM of the running machine. Then downloaded it and run it on your laptop (VMWare workstation/fusion) or home server (VMWare ESXi)
It's because of a design mistake early in the iOS development.
I'd like this very much, but I'd also like to have it made as easy as possible to spend the credit. I made some quick suggestions in another reply, but I'd like to get an email (or App notification, or something) that prompted me to select from a handful of candidates that were selected in some way (where "some way" can be a lot of different things.

I appreciate that people want to have a connection to the people they fund, and I'd like to have that as well, but I don't necessary need it before I commit to funding--I just want to be able to follow up later on.
If the cause of this on your machine is the same as on mine, I know why it happens and a (fairly awkward) workaround.

My MacBook does this whenever some process runs away with all the CPU cycles, sometimes it takes ages to properly wake up and log in and sometimes it doesn't manage it at all.

The work-around is to SSH in from another machine and kill the process that's hogging the CPU. Your MacBook will spring back to life! (Assuming, as I said, that we are experiencing the same issue - I only know for sure that we are experiencing the same symptoms)

If this does prove to be the cause, if you know or suspect a process is going to use a lot of CPU, to keep the system stable and perky you can either launch it from the command-line with "nice", e.g.

$ nice ./some_beastly_script.pl

Or if the process is already running, you can "renice" it:

$ renice $PID

Both of these will give that process lower CPU priority, stopping it bogging down other things.

I've mean meaning to look into the possibility of making essential things like the screensaver / unlock / core OS bits have higher priority than anything else, I'll write it up if I figure anything out.
HN hasn't changed my life -- yet? -- but it has taught me that a lot of my assumptions about new technology startups were wrong. I'd always assumed "networking" was only something a specific type of person could do, that if you wanted to do anything you'd have to be really great at selling yourself or get lots of media attention.

Through my usage of HN I've learned that this really isn't the case, sure being able to sell yourself is a useful skill but if you can build great things and put your work out there you can achieve a lot without needing to focus on people. A good example I think is Gumroad founder Sahil (http://news.ycombinator.com/user?id=sahillavingia), he's very talented, he made cool stuff and people took notice and now he's doing really cool things.

HN has made me confident that if I ever build anything great that I won't need to spend 12 hours a day cold calling every Techcrunch writer hoping that they post nice words about me, I can let my work speak for me.

Now I just need to build something cool :)
More than ever. The capital investment necessary to start a "tech company" (admittedly that's a very vague term) has dropped fairly steadily over the past 40 years. Think about it - back then you probably had to actually manufacturer and ship your product, but now thanks to the net and open source you could easily have a product available to end users the same day you think it up. That's not true of all products, but clearly, one of the problems Venture Capital is facing is that you need less and less money to "prove out" an idea than you used to.
I work with both extensively, and still loathe git.

note: I work on the guts of VCS for a living.
Not handling error semantics well: sometimes things fail, and thinking through what happens when they do fail is one of the more complex problems in programming. I can easily just write more code to handle authentication or interoperability (I'm a programmer: I write code; I have no fear of writing a lot of code), I have never found APIs with "poor documentation" to be a serious issue, and the terms of service on APIs are usually fine.

The real problem is that when the API fails I get back what... one of a massive set of possible error conditions with opaque code numbers and some random english string that I guess I have to render all the way out to the user in the hope that they understand it or that it is even relevant to them? Are new error states going to be added in the future? Who even caused the error, so I know who to give it to: was it me, was it the user, or was it a natural disaster?

What happens if the response from your server to mine is lost after you've already committed the change; is there an idempotent way I can verify what happened? Is it ever the case that I can get back a success and the request didn't actually work after the fact? If so, how do I figure out what requests failed, and am I stuck occasionally making, quite literally, a few million requests to check the status of every transaction I've ever previously executed?

If you are making callbacks to my server (ugh, this always sucks, and should be avoided except as a notification to cause an early poll: you can design systems that are both efficient in requests and don't require push) are you retrying failures? What do you even consider to be a failure? Again, is there an idempotent way that I can determine whether I've already seen the callback when retried? When retries happen, what happens to the ordering between messages?

Most web APIs these days seem to believe "oh, I'll make some really pretty documentation for a single call that shouldn't be able to fail anyway, and yeah... webhooks!", and the result is a horrible mishmash of garbage that, when it fails, simply "fails" in a way that pretty much requires a human to go interact with the state of the entire system and figure out what may have been forgotten or lost, or worse: how to fix the result.
All of these routers work under Nginx or Lighttpd, they just need a different config file. Here's one that is often used under Nginx:

location {
root /usr/share/nginx/html;
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$request_uri;
}
Assange case: US unlikely to prosecute, sources say
Chicago to institute a bike toll booth
A look at the impact of CPU choice on frame latencies in games
For years, PC hardware sites have maintained that CPUs have little impact on gaming performance; all you need is a decent graphics card. That position is largely supported by FPS averages, a metric that sadly doesn't tell the whole story. Examining individual frame latencies better exposes the brief moments of stuttering that can disrupt otherwise smooth gameplay. We've used those methods to quantify the gaming performance of 18 CPUs spanning three generations. The results illustrate a clear advantage for Intel, whose CPUs enjoy lower frame latencies than comparable offerings from AMD. While the newer Intel processors perform better than their predecessors, the opposite tends to be true for the latest AMD chips.
I'd love to find a way for Gittip (http://gittip.com/about) to help you fund Watsi.org. The "public benefit corporation" sounds like what I was aiming at with open companies:

http://blog.gittip.com/post/26350459746/the-first-open-compa...
IE6 was actually just an incremental improvement on IE5 and IE4 before it. IE4 was the really important leap.

Story time:

IE3 and NN3 both had small amounts of programmability via JavaScript - you could change the src of an image, you could inspect and modify form values, you could navigate the page, or completely clear its contents and rewrite it as a string. Oh, and also alert(), confirm(), and prompt().

IE4 and NN4 came out at roughly the same time. But in IE4, they took this idea of small amounts of programmability, and generalized it to the entire document. IE4 introduced the idea that every HTML node should be programmable and interactive in a generalized way. If you knew the HTML properties for an element, you already knew its programmatic interface. It was a simple, powerful idea that hasn't been improved dramatically since.

NN4, on the other hand, introduced this ridiculous hack called 'layers'. You could create these floating layers, and write into them using document.write(). That was the only dynamic mechanism in NN4 above what NN3 had.

So IE4 introduced a powerful and simple generalization of the platform, and NN4 introduced an ugly hack. Surprisingly, developers preferred IE. On top of that IE4, was rock solid and NN4 was crashy.

It's true that Microsoft abused their monolopy position, but the part of the story everyone forgets is that they also more or less invented the modern web in IE4.

Sorry.
This post is indicative of where we are on the hype cycle for 3D printing (http://www.gartner.com/it/page.jsp?id=2124315), i.e. right at the peak.

Consumer products are still, and will be for a few years, made in traditional ways. The lower cost of production in China being the biggest factor today for the last step of concept to real.

Pumping money into a sector will accelerate it, but the heating funding environment for hardware isn't a fundamental change.

To draw an analogy to software you really need to compare timescales and access to sufficient technology.

A talented developer can rent sufficient technology to support thousands of customers a day on a website and build the product in a week for a small launch.

On axes of both time and money hardware idea to product are still at least an order of magnitude higher. Which, to be fair, is still much better than it has been, and a welcome evolution of the market.
You probably shouldn't hijack the keyboard shortcuts for the back button either.

Nice article otherwise.
Sam Yagan: Confessions of a Former Entrepreneur
Or just install twice the solar panels, if they're getting cheap enough. Or put them 4 time zones East (they will have to float in some cases) and send the electricity West.
Helm: Open Source Real Time Discussions
They originally invested in the webview interface. In light of that investment, doesnt that mean its a good idea?

No, of course not. What they invest in is irrelevant. Only results matter.

Just look at Mootothemax's comment further down the thread. Poor UI wasn't causing people to not use FB.

Valley execs are probably the most susceptible group to falling in line with the echo chamber. Currently the chamber is reverberating with 'APPLE GOOD!'.
This post is very light on information

That's generous. I've played around with a couple of ML techniques and would love to apply ML to more of my day-to-day work.

The title of the article was total link bait and I'm sorry I read through 90% of it looking for something semi-useful.
And on HN.
As a sometimes developer of web applications, relative dates nicely (for me) solve the problem of timezones. "10:42 PM - 15 Aug 12" means nothing without the relevant timezone information. "30 minutes ago" is timezone agnostic.

For non-commercial apps, lately I've been displaying relative time, but embedding the actual datetime (in UTC) as a title attribute.
Just read his code. It is impressive.
As long as we're on the love boat: I've met at least three good friends here. Y'all have collectively pushed my career in a quite different direction than it was probably on when I started. I think I'd probably have ended up quitting ye olde day job and putting the BCC phase of my life in the "That was fun and I learned a lot, but time to get serious, what is next?" bucket. Then I would have done what everyone other than the Internet always suggested I do: get a job at a megacorp. I think I literally know the exact office I'd be working at in Tokyo. It is a nice office, and a nice megacorp, but it is still a megacorp.

I'd probably be a lot less happy doing that, because my current gig is pretty much everything I could ask for in a job. More importantly, the most consequential thing to ever happen to me was meeting my future wife. It is likely that I would have been in a soul-deadening crunch in Tokyo rather than at the BBQ where that happened.

So, thanks.
Any way you could add a brief synopsis of your organization to your "site unavailable" page? I (and I'm sure others) would be much more likely to keep the tab open/check back soon if that were the case.
Audited how? Unless MobileSafari is itself tightly sandboxed, I don't see how auditing the code inside it is useful. Once you get malicious executable code inside MobileSafari, it can do whatever MobileSafari can do.

Edit: I think a better hypothesis is that Apple wants to be able to analyze app code, and thus disallows executable memory, which also rules out JITs. See: http://apple.slashdot.org/comments.pl?sid=2044470&cid=35...
63,000-Year-Old Skull Supports the "Out-of-Africa" Theory, Archaeologists Say
I think the point was that when women played games more, that didn't result in an additional problem or conflict in the relationship.
I'm not sure how this is news. America was living above its means with a negative savings rate and then we had a massive recession when people ran out of money to borrow. Now a few years later people are working to get back to zero. When you're saddled with a pile of debt and not a lot of buyers, it takes a while to get everyone back to a sensible place.

Now, if companies paid higher wages, it might accelerate the recovery certainly, but at the same time, people would likely just raise their standard of living, not necessarily pay off debt.

What our society needs to fix the long term economy is for the average citizen to be in a strong enough financial position to pay their bills and have enough left over to save some money and spend a bit extra on entertainment, vacations, toys, etc.

It's not about everyone being rich, if we are in a consumer based economy, we need people to be able to afford to buy things without causing financial ruin. It's not about bigger houses, more cars, etc. It's simply about being able to afford to buy things without going in to debt to do so.
We need an HNers meetup.

Anyone in SF who may be interested in the next month or so?
Okay, so that standard is not currently applied as one would expect. That doesn't necessarily mean it couldn't be so applied. I think the question here is, how much more expensive is software development when held to this standard?

I don't propose an answer -- I'm curious what you think.
The Economist magazine: A review.
Love it or hate it (i oscillate) you can't deny this magazine has done extremely well by focusing on high quality analysis. Print is excellent but they have a great iPad app as well. While it would have been thought of as a bug, my 10 months of free iPad subscription was definitely a feature... ;-)
You aren't using hyperbole. You're just using language incorrectly. Socialism isn't Twitter's practices taken to extremes - it's something wholly different.
Rounded dates make it less obvious when you've been posting during work hours...
> Another important argument against self-correction is the extent to which institutions of government (and by extension regulation) have been captured by the lobbies and proxies for the wealthy.

This is a result of the size and power of the government. If the government was far less active in the market and wielded far less power, there would be, accordingly, far less incentive to influence the government. This all pretty much leads back to the New Deal.
This is a ridiculous argument - relative dates are an enormous usability improvement for actual users, who don't care about machine-readable timestamps or the incredible mess that is timezones.

Twitter also doesn't give a fuck about archival via screenshots. I'm pretty hard-pressed to imagine who would, actually.
Looks pretty awful if it's on purpose.
Spanish fresco restoration botched by amateur
It's supposed to catch the left and right arrows. Didn't notice it also caught the back button! thanks.
Great work. I would suggest tweaking the <title> text when there are zero or one fundings going on to encourage me to donate still.
I think the Monty Hall Problem is also extremely misleading in its formulation.

Take Wikipedia's formulation for example:
Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1 [but the door is not opened], and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice?

What's not being explicitly said here is that the host knows what's behind the doors (this part is said) but that he also always chooses the goat. With that information, it's pretty clear that when the contestant first made the choice of a door, the probability of getting the right one was 1/3. The probability that the right door is among the other two is 2/3. NOW however, the host removes the one of (or the only) wrong option among those two doors. The thing to realize is that the host opening one of those doors does not give us ANY new information that would change the distribution. Therefore, the other door that the contestant didn't pick must have the probability 2/3.
Agree. I prefer "ago" and your suggestion of a title/hover/hidden datetime is an even better idea!

recently I published a python module to calculate the ago: http://pypi.python.org/pypi/ago
The death of Twitter as we know it?
Equally frustrating is when dates are displayed without the weekday, especially when trying to schedule an event. "August 30 2012? Wait, is that a Tuesday or a Wednesday?"

Hopefully the <time> element catches on, so I can make my browser display dates however I like.