skysight-inc/HackerNews huggingface dataset:
> plain, abundant and worthless in our modern world as food.

Excuse me, but you're an idiot. (Unless your whole comment is meant as a joke.)

People exchange things that are worth less for things that are worth more. In such an exchange, both parties profit, always. In the case above, you exchange hours of your life for food so that you can live another day.

Also, people are the only source of wealth. Right now, machines are not capable of producing anything on their own, that is why there are no completely automatic factories and nothing gets created without human help, design or at least supervision. Once we create such a world, great! But capitalism dictates that once this happens, the price of goods will drop tremendously. The fact that this has not yet happened tells you that this spot has not yet been reached.
A great historical novel could be written based on this.
I am curious how much a Go lang rewrite would make a difference in scaling up.
German Federal Minister of the Interior declares the NSA affair as ended
Ergonomic keyboards are great, but a bit overkill for the Emacs pinky problem. As the article points out somewhere at the bottom, the simplest thing is to deactivate Caps Lock (most annoying and useless key ever) and use it as the Ctrl key. Worked perfect for me, is easy to do in Windows and Linux alike, and pays off most on the already not-so-ergonomic laptop keyboards.
This was one of the first, David Hasselhoff CD review: http://www.amazon.com/exec/obidos/tg/detail/-/B0000070S1/002...
Some tweaks to the design would help!

At the top of the page, the search boxes are mis-aligned to the text above them. Fix that. They could also take up more horizontal space, or simply be aligned better.

Add an extra ~3-10px of horizontal padding to table cells (td's)
Table headings should be text-align: center except for the longest field (hospital). Also, vertical-align: middle on table headings.

Link color on the tables could also be darker.

Add left-margin/padding on the (?) question mark icon at the top right of fields.

Font size on the search drop downs could be bigger.

May want to try the font "Open Sans", too, on the tables.

Add a hover effect for all links and buttons. It's kind of nuts that you could overlook that.

Add a focus effect for all inputs. Also make input font color brighter, and on focus, make font color darker.

On the "worst hospitals" table, the percentages could use a + sign before them like "+97%".
Because the bet is that your brain is much superior at figuring out what is important/aberrant and what is normal as compared to the best algorithm you design.

E.g. if you know a co-worker is on holidays then a dearth of checkin sounds will seem normal (ideally this feeling of normalcy will be subconscious). On a different day, a dearth of checkin sounds might alert you that your startup isn't making much coding progress (depending on context not necessarily a bad thing!).
It looks interesting, but, what is it?
The down arrow is for inappropriate or off-topic posts, not for opinions you disagree with...
Net gains and losses
I wonder how many young drivers care?
The worst side effect of this is the initial confusion trying to type on anyone else's system for an extended period of time, especially if you know Ctrl-based keyboard shortcuts for whatever you're using.
The simple reason for requiring them to embed it using HTML5 is that then YouTube can control the presentation, including advertisements. Otherwise they would have to constantly work with Microsoft to have them update their native code when they make changes.

It's the same reason Twitter has these guidelines for how you can display tweets.
I can read a slide deck at a rate of 5s/slide (or faster), pausing to concentrate on the ones that interest me. I don't have the spare time to watch a video of someone, just in case the topic is interesting.
Hmm, interesting idea. You might actually be able to make quick super-light one-time use spacesuits like that.

Mechanical compression suits are lighter than pressure suits in the first place (in addition to being less bulky), so having every astronaut bring along their own might not be too unreasonable now that I think about it. More labor with the tailoring bit, but not if you heatshrink them...
There's a way out of the looking-the-part problem. Cultivate an image of an eccentric genius (and work hard to actually have genius level skills) and people will start to focus more on what you can do and less on what you look like you can do. In fact, that's why the tech industry seems to get an exemption -- they're mostly perceived as eccentric geniuses.

Also, spend lavishly on the best clothes, eat lavishly, but drive a very modest car and live in a modest home. People don't know what to make of that.
Companies. In addition to Apple he also owned a film studio...
True, although you'll have the same problem if you get used to an ergonomic keyboard (or even more so, get used to dvorak).
Ask HN: why Google play's search so suck?
when i searching app on google play, the only problem is that searching service is too sucks, i knew the apps exist but it didnt display in the result

its not about the location, i have searched my local app provider's products, also got a bad result

that made me very very angry
I wrote about this very problem some time ago:

http://blog.barrkel.com/2006/07/fun-with-asynchronous-method...

Await is basically a continuation-passing style transform that puts the continuation in the continue handler of the task. The exception handling is also no more or less syntax sugar than the CPS rewrite - it's an error continuation that needs to be routed by querying the underlying Task's properties.

But the really great thing is that you can finally just thread the async keyword through your call stack to get the CPS effect across multiple method call boundaries, even your case of a sorting function. It's not just applicable for a single callback; the second half, the implementation half, is also implemented, so you're not just limited to using the pattern, but creating new instances easily too.
I'm sure the whole gaming of HN has been talked to death. But it's not ever that clear to me as to what an 'upvote' actually is. In my mind a submission upvote means 'Interesting', and with comments it's less clear. Does it mean 'I agree', 'Interesting angle' , or what
This is simply not true. You can use any C# library without using async (code rewriter). You'd still be using Tasks but there is nothing special about them (no compiler magic). They're just futures on which you can schedule continuations.
> A simple rule that degrades the experience that the official app doesn't follow.

And that degrades the experience how? Just because Google doesn't use the same API (nor are they required to) doesn't mean everyone else gets a poorer experience. There are a number of unofficial YouTube clients for iOS and Android, and they all use the public API.

Again (and I say again because I replied to another one of your comments), if Microsoft doesn't have a web frame for their mobile apps, and has to make the entire app web-based, how is that Google's fault? They didn't create a (in that case, because if it's not the case, I have no comment) sub-par API for their mobile OS.

> It's apparently not a very pleasant rule if the largest API consumer doesn't follow it.

Again, how so? They don't need to follow the rule because they know when their advertising is going to change, nobody else does. The overhead involved in allowing everyone to do things the same way Google does is too high compared to just saying use a web view. Would you want to monitor every use of the API and make sure everyone was up to date by a certain point of time?

> It's not 'open' if some users get the good API and some users get the bad API.

How is the public API bad? Because it requires a frame? What's bad about that?

Also, really, no users are using a "good" or "bad" API, everyone who isn't the producer has access to the same API. All users get your so-called "bad" API.

> And it makes you sound ridiculous to put so much emphasis on 'one simple rule'. It's very easy for rules to be both simple and unfair at the same time. How about '$500 entry fee for short people'.

But how is this rule unfair? You've yet to convince me that the rule is unfair. This argument only works if everyone agrees that the rule is unfair. I don't see any preference for anyone other than the producer. Everyone who doesn't manage the entire infrastructure is given the same treatment as the other people not managing the system.
What's safer for developers, reading from /dev/urandom, or calling the platform CSPRNG when the platform CSPRNG does something other than reading from /dev/urandom?

I think you're right about this and the (rather fiddly and nerdy) point where we disagree is on where the line of abstraction lies. I don't think you have any business reading /dev/urandom any more than you have using, say, AES-NI
In C it is quite common for functions to indicate failure by returning NULL. Not checking for these errors is another very common reason for segfaults.
Maybe some sort of spray-on rubber that cures on contact with air? You'd get naked, put on your helmet and enter the spray-chamber that will coat your body thickly and evenly.
Move outside the US to a country with socialised medicine. Done.
Congrats on completely perverting what Bukowski meant and also being a big old idiot
The ability to unlearn is important as well.
I did own a couple of 4000s because I was intrigued by its good reputation as well as its design.

While the general ergonomics is much better than it is in standard keyboards, I've never liked how much force is needed to push a single key. And I don't mean just compared to mechanical keyboards or scissor switches -- the keys needed more force to press even compared to other rubber dome keyboards that I own.

While the palm rest is great as is the curvature, when it came to daily use and pushing the resisting keys, it simply wasn't as much a joy for me as for stickydink.
Yeah, same with the ember.js guys. Churning out releases and RCs under such restricted timelines.
Apples are becoming bland and mushy due to climate change
One possible problem is the 'sunburn' aspect, heatshrink tends to want to shrink more the longer you heat it. So being exposed to direct sunlight might cause you to get squeezed. Maybe there is a way to limit the amount of inward pressure that the heatshrink would create.
For me, it doesn't even respond to ^C (or even ^\). I had to ^Z it, and then `kill %1`.

Could be an OS-dependent thing. I'm using OS X.
Diving comparisons can actually give us real-world examples of Hollywood style decompression too. In real life human bodies don't explode when decompressed in space, but if you depressurize a diving bell on the surface then all bets are off: http://en.wikipedia.org/wiki/Byford_Dolphin#Diving_bell_acci...

1atm->0atm won't do it, but apparently 9atm->1atm can.
Or if you have PHP, there is an equivalent in 5.4 and above.

http://php.net/manual/en/features.commandline.webserver.php
You may be able to get around that with a loose-fitting mylar (or similar) outer-garment.
Can you give an example about that? I like this idea but I am not sure I can picture it.
Using the palm to press the modifier keys is extremely poor advice. Move your whole arm/had and use the index finger instead. Never the pinky.

Follow the pattern of moving the arms in general. Avoid contorting the wrists.

Ergonomic keyboards and trackballs haven't worked for me. I've been using the Apple Wireless Keyboard + Magic Trackpad instead for a year, all issues (which were pretty severe) disappeared. Just watch out for the angle in which you use them - it must be neutral relative to your wrists (but your arms can be in angle - the absolute angle doesn't matter a lot).

The Colemak layout helps, but I've been using plain old Qwerty lately, out of pure laziness and I've found no difference other than effectiveness.

I occasionally use a split software keyboard layout. It relieves the right hand from contortion issues (put your both hands in the home row, then compare their angles...).

There are hardware split keyboards, but they're so poorly implemented.
Project Management Follies
http://www.reddit.com/r/HumorousReviews
I laughed. Deft trolling. Bravo.
The only movie mistake was something Clarke later claimed would never have happened had he been on set that day: Bowman is seen apparently taking a deep breath before opening the pod door.

Hah, I thought that was just a tick. You would take a breath before doing any hard physical effort and I'm pretty sure you'd try to do it even in the vacuum of space just because you're used to.
I would say 'the ability to learn how to learn'.
OK, it gets complicated but the way I see it is that learning is great, if you know when you have reached enough knowledge to move on.
On the other side, not learn too much as the same time, like being able to know how to do 'Hello World' in 24 languages is not useful, but some people/companies consider it as learning.
Author makes that point in the very first paragraph.
Imagine it's an iOS modal prompt. It doesn't block the thread, it sends an event.
Very true. It's my biggest annoyance with Visual Studio when I write straight C code that the intellisense error checker moans about this.

The compiler is of course perfectly happy when it's running in C mode. But then I'm still upset about <stdbool.h> it should get off my damn lawn.
This. Specifically, I'm thinking about iOS prompts and alerts, they are not blocking.
A Survey of Real-Time Strategy Game AI Research and Competition in StarCraft
Just as an anecdote, my 85-year old peasant grandmother told me this last time I saw her: "I wish my feet won't hurt so much so that I could still work". She's been married since 17 and I don't think she's had a day of vacation in her entire life. Cows and pigs and what-have-you don't feed by themselves.
Easiest on OS X: under Keyboard settings, click "Modification Keys" and you can switch Caps, Control, Alt and Command around.

I did this for use with Vim, and now I can't live without it anymore. (Also handy together with the built-in emacs text editing keys, when I'm not in Vim. Xcode for example...)
I'm looking forward to catching it. I know the history; I want to see it dramatised. I mean, I even enjoyed Pirates of Silicon Valley…
I agree that the palm is terrible advice. Ctrl-Z is near impossible with large hands using that method.

The thing that has been saving my pink from emacs is the capslock rebind. it enables me to use my ring finger for the modifier.

edit: I eat my own words. It mentions later in the article never to use a modifier with the same hand as the actual key. Whoops.
http://bugmenot.com/view/infoq.com

Bugmenot is great for sites like this.
I should try this, I have some pretty large diameter heatshrink lying around in a warehouse, next time I'm there I will bring it with me.

Better try it on some sausage or a (dead) chicken first :)
FirefoxOS doesn't need a native or official YouTube app, because the entire thing is just web pages. If Google wanted to make something official, all they would need to do is add an app manifest file with some metadata about the app.
Have you read the article? It's not about tasks per se, it's about a code rewriter.
I think it wouldn't. I believe your lungs in a vacuum will de-oxygenate your blood regardless, so you only have as much time as it takes for that blood to hit your brain.

Hyperventilating is good for removing CO2 from your blood, which reduces your "I really need to breath" reflex (turns out that is, at least largely, cause by the presence of CO2 rather than the absence of O2). From personal experience I can tell you this can allow you to push yourself further without breathing, but you also run the risk of blacking out because you pushed too far (I don't have experience with that part).
>This shouldn't be a problem, especially in the US, where there is so much empty space.

If you spread population of the world to occupy all the land evenly it would be only 300 feet from each person to its closes neighbors. So it's not that much free space.

> The problem is just that people want to live in the cities, and there just isn't a lot of space in the cities.

And this makes the problem of price elevation from hoarding real estate even more pronounced.
> The notion that poor memory cache efficiency is inherent with GC's is not terribly well founded.

It may not be "inherent" to GC, but in practice every GC that I'm aware of has terrible cache efficiency compared to manual memory management.

> Copying collectors (like the one the HotSpot VM uses for Eden Space) tend to have great cache efficiency as compared to typical use of the C heap

False comparison. The real test is against high performance memory techniques (like memory pools, which are relatively easy and common in practice if you care at all about cache efficiency) not "typical use of the C heap." When you actually compare GC vs high performance manual memory management, manual memory management is significantly faster.
I seem to remember that a minimum interval of two seconds was the rule for following another vehicle, but the whole car lengths thing always threw me...

Are we talking Lincoln Continentals, or Volkswagon Beetles?
I've never found moving from computer to computer with dvorak that much of a problem because it's rather easy to switch to it on anyone's computer, if I'm using it for more than a few minutes.

Custom keymappings are much harder to transfer unless they relate to a single application with a config file (like emacs or vim).
If anything, Homo Sapiens was designed (read evolved) to be flexible because species that hard-coded their responses to the environment went extinct when the environment changed. So the only thing that could be coded into human behavior was to try to be "better". Better than what was left intentionally blank. At least, that's how I see it.
Yes, please try it on food first... that might be a hard one to explain at the hospital if it goes wrong. :P
It's still badly. You get sunburned, lose consciousness due to lack of oxygen and die.
Martin Manley: My Life and Death
Have to agree - despite the good reviews, the keypress on the 4000 feels wrong.

I was on the Microsoft Natural Elite for a long time. Unfortunately it's been discontinued so I need to find a replacement.
I use space2ctrl ( https://github.com/r0adrunner/Space2Ctrl ) which makes the space bar act as Ctrl when used as a modifier. It can occasionally turn the first letter of a word (eg. "hello") into a shortcut (eg. "Ctrl-H" ello) and prevents me holding down space to get lots of spaces, but that's what Alt-number is for. It's been the most effective way to reduce my Emacs pinky. I still map Caps Lock to Ctrl, so I can do Ctrl-Space to mark.
You misread the article. The compiler allows you to write code in sequential manner but rewrites it into a state machine with callbacks.
We are actually taught stopping distances (inc. reaction times) in the UK, for our theory tests.

I typically find that when I'm being tail-gated it's someone in their mid-life, I don't know if there is a problem with young people knowing about stopping distances.

I do know there is a problem with young people like me driving recklessly and causing crashes, I just think that there's a possibility that that comes from, well, recklessness. They know the facts and choose to ignore them.
I wonder how many drivers realise that a modern high end car with good brakes will stop in a fraction of the time of a 20 year old Escort with barely legal tyres?

I wonder how many drivers realise that reaction times are not equal between drivers, and that attempting to include it within any estimations is futile because whilst I fiddle with my radio, or check my exquisitely coiffed hair in the rear view mirror, my reaction time is roughly that of my 95 year old grandmother.

I could go on?

The only truly accurate speed limit is one that which accounts for everything. Visibility, road conditions, brakes, tyres, alertness, time of day, type of road, skill of driver and probably 15 other things I haven't thought of in this little rant. Once this is accepted one can appreciate the most fundamental problem with speed limits - just because it says 60 on the sign doesn't mean that is a safe speed at which to drive.

Fixed speed limits are the only mechanic we have to try and keep people safe. A simple momentum equation tells 5% of the story.
Reddit's not profitable though..
Seems plausible. You might need a rubber that "cures tight" though, I'm not sure.
Original is here (it's back up): http://martinmanleylifeanddeath.com/home_page

Zip archive (thanks to u/katwell12): http://www.mediafire.com/?ab1986c72nc2ctt

find . -type f -exec mv '{}' '{}'.html \;

Edit: Looks like the original is back up. There were some issues with the mirror, so if a mod happens to notice this please swap the post link for the martinmanleylifeanddeath.com
You make an interesting point about abstractions and the march of technology. As technology progresses, difficult and complicated tasks of yesterday become abstracted away and become more accessible to lesser trained people. C followed by Java allows MOST programmers to not bother with understanding assembly, same with web frameworks, and i can see how it would be possible to implement a markup language that generates custom kernels. I can also see how within the next few years, we will certainly have easy to use machine learning libraries (there are already many good ones today) that bring the power of ML systems to programmers not trained in statistics and linear algebra.

That makes me wonder what kind of technical skills have long lifetimes, valuable in the real world (as opposed to merely being technically interesting), and are difficult enough to acquire that one doesn't have to worry about competition against a low-paid worker army....
Personally I use bash when I need to, well, script shell commands. Anything that is reasonably described as series of shell commands, filter/pipes.

There are a lot of best-practices that one need to adapt though, and there's definitively a learning-curve. Generally scripts should work under things like dash, and not be bash-specific. That means delegating some work to sed/grep/awk (or being really "clever").

I've found that using functions, and passing arguments rather than setting (global) variables help a lot -- and if you get to the point that you really want do debug, you're better off rewriting in something like python.

I've never liked perl -- it's always seemed like a bit of a pointless exercise in moving side-ways rather than "up". I've never had to move away from shell scripts out of performance needs, only out of maintenance needs -- and for me perl buys me nothing in that direction.

Now, things like fabric[f] can make sense -- but the benefit of (ba)sh is that it's guaranteed to be there (on a nix platform) -- and it is great for bootstrapping.

I'm not* a fan of how some projects use (ba)sh, though. The ones that list instructions like these (and there have been a few lately):

curl http(s)://great-tool.com/install | sudo bash

They often a) don't use https and b) require sudo/root blindly (rather than at least wrapping what needs sudo in something like:

prompt -p "Need superuser permission for apt-yum-install libfoo [y/n]: " ans
if [ "${ans}" == "y" ]; then
sudo apt-yum-install libfoo
else
echo "Aborted."
exit 1
fi

Which generally works rather painlessly -- and could be further "automated" by allowing a --yes-go-ahead, or checking if the script is running as root.

[f]: http://fabfile.org