skysight-inc/HackerNews huggingface dataset:
You can create a small chroot with a custom resolv.conf.

Example (tested on Ubuntu 14.04 64-bit):

mkdir -p root/lib/x86_64-linux-gnu root/lib64 root/etc
cp -a --parents /lib/x86_64-linux-gnu/lib{c,nss,resolv}* root
cp /lib64/ld-linux-x86-64.so.2 root/lib64
cp CVE-2015-7547-client root
echo 'nameserver 127.0.0.1' > root/etc/resolv.conf
sudo chroot root ./CVE-2015-7547-client

If it prints nothing it crashed. Try running with strace to be sure.
For 192 years, all 6 supreme court justices were men #AllNineWomen
Indeed, but technical means also improve with time.
That's the wrong message to take away. The right message is: every manufacturer goes through periods of good and bad disks. Don't depend on any drive to be perfect.

The Seagate 3TB were awful, but their 4TB seem to be just fine.
Massive amount? US foreign aid to Israel is about at most 3% of Israel yearly budget. Most of it Israel has to spend in a specific defined way, mostly buying from US companies. Some go to R&D which are joined operations with the US.
Don't forget that Egypt and Jordan get foreign Aid, 1.5B$ while Israel gets 3B$.
I don't see any comments on why US should stop it.
UK, France, Germany are in NATO which gives them much more luxury to do what they want.
Iran developed a Nuclear program, is funding and assisting terror organization which killed thousands of civilians, not to mention in details what's going on in Syria right now.
>>> “changed the code” (the scare quotes bit)

It wasn't scare quotes. It was an actual quote "US Vice President Joe Biden was quoted in the film as saying in a meeting that the Israelis 'changed the code' of the deadly virus’s software."
why would they expect blow back? They literally bombed our naval vessel (the Liberty, IIRC) in the Mediterranean in the 70s, and there were zero consequences. For a bombing. Why would releasing a software project early cause anything bad to happen?

Israel operates with utter disregard for the US, and has done pretty well for itself by doing so.

It's hard to fault them for continuing their pattern of behavior.
Do you have a suggestion for a pulse oximeter that I can use overnight. Quick googling doesn't give me anything in the price range.
My own personal rant, I think the specific feeling I get is the conceptual idea of R has long since outpaced the reality of R.

People like to fetishize data, and R sure lets you do that. The data science landscape however is growing such that R is really just a one-trick pony, however, that one trick is for better or worse being the gold standard of statistics and modeling, somehow.

But everything else wants to sugar coat the software surrounding the statistics, and leaves you no room to grow.

This is a very bad over-simplified example, but you sort of can't learn much about graphic design or good communication skills by using ggplot2 ... you can make something look very very nice, hopefully, in the general case, sure. And you can definitely do all kinds of hacks and crazy code to make it do whatever you want, but by doing that you produce ever more fragile and environment dependent code. You'd be better off learning just about anything else for graphics (Straight SVG, D3, Processing, Cairo directly, etc) because it is of course a bit more of a problem starting up, but a generalized skill set that could allow you to grow.

You also learn pretty much nothing about web development from Shiny. Shiny is a wonderful idea, but ultimately prevents a statistician from implementing what it promises, which is an analytic application. At some point, you have to ditch it and learn more traditional web stacks. It is also something of a sales funnel into a server solution that's a DDOS or security nightmare just waiting to happen.

So instead of just griping, I guess I have some ideas... it would be nice to have a Ruby/JS/Java/Python service generator. It would be nice to have a D3/React/whatver based generator. It would be nice for there to be a data munging solution (or even whole models, more like more PMML type stuff) that can be generalized into something that could be compiled or generates Python/Java/Bash/JS/Whatever code.

Ultimately you start thinking along those lines, and you realize that the promises R is making about empowering the analyst are just teasing them rather than helping.

R could do with less magic and more concentration on being simply a great statistics engine that integrates better. I guess it is that to some degree, but it sure fails the rest of the technology world that tries to live with it.
There are certain languages that are good for a first-time programmer.

R, despite being one of the first languages a budding "data scientist" might want to use, is probably not one of them for the many reasons given, among them:

- there are way too many ways to do everything

- implicit iteration (although great for statistics) makes performance issues hard to spot

- the data structures are a bit too flexible (it is Lisp-y in places), and you really need to understand them all to deploy the *apply and plyr functions effectively

- 3+ object-oriented programming systems

- non-standard evaluation. It's all over popular libraries like ggplot2, because it increases terseness, but it just looks like magic to beginners.

Basically, all the chapters listed here [0] -- which happens to be a great guide for experienced programmers to really understand R as a language -- happen to be the same reasons beginners give up too quickly.

Python, although it sufficiently nags me with its one-way-to-do-it motto and its many warts [1] to not want to use it regularly, is just well-rounded enough that it is a much better language for beginners. With Anaconda and iPython installed, I've found that a total programming beginner can actually get productive pretty quickly, even on stats and math problems.

[0]: http://adv-r.had.co.nz/

[1]: https://wiki.python.org/moin/PythonWarts
Fork of linenoise in the TXR language:

http://www.kylheku.com/cgit/txr/log/linenoise

Doc:

http://www.nongnu.org/txr/txr-manpage.html#N-025AAA27

These changes are in a different direction. I don't have windows or UTF-8 support, though. I started a branch to convert it to use wchar_t. Maybe I can cherry pick some things out of NG.
They won't. They might notice shrinking revenues if some of their customers were VC-funded startups or other people in that ecosystem, but the decline of funding is at worst irrelevant and at best good for them. (Less funding means less competition.)

But then, since it's irrelevant, bootstrappers have little incentive to comment here, other than a few folks for whom HN has become a habit. From where I sit the bootstrap startup world is actually significantly larger than the VC world, but the incentives are different: it is not to a bootstrapper's advantage to publish what they're doing to people other than their customers.
I bought a phillips wake-up light alarm clock from Amazong for about £75 (the one with the colour spectrum light). Seems to help.
​Here comes the terabit per second network
It can also be fun to read something that just isn't parsed down to the bare facts. For example, in my opinion, [0] would be much less interesting without the benefits of long form journalism.

[0] http://archive.wired.com/politics/law/magazine/17-04/ff_diam...
Maybe one of the large e-reader. For example there is an Onyx Boox not released yet that is supposed to be 13.3" 1600x1200 and running Android. Maybe it can be repurposed. I doubt refresh rate is going to cut it though.
Non-sequitur. The point of the thread is that it's not at all clear that reliable long-term storage is getting cheaper by the day.
Different food cultures have different preferences. For instance, in some parts of China, the dishes are mainly 1–2 ingredients each, and a meal has many dishes.

Other places prefer big stews with everything mixed together.

Neither is inherently “better” than the other.
The older I get the more I'm fooled by prospective partners. When I was younger, the girls I was interested in were people I'd gone through life experiences with: school, general growing up, etc. But now, in my thirties, I'm meeting people randomly. And I'm realizing that character is pretty easy to fake (for a while). I knew that the girls in my past had character, because I watched them grow, overcome hurdles, and so on. But meeting people in your 30s removes all context and -- I'm finding, at least -- that people who lie and cheat and who are generally bad actors are really hard to distinguish from those people who don't act like that.
If the electricity for the grow lights is produced locally via solar power, it is actually more efficient than using sunlight directly (provided LED grow lights are used). This is because the grow lights provide only the narrow bands of wavelengths that plants absorb most efficiently. Only about 45% of visible sunlight is usable by plants, compared to around 95% for photovoltaics, which more than makes up for conversion losses. You also get the ability to stack the plants vertically, and the lack of windows makes for lower heat loss in the winter.
Sketchbook of a GPS artist
To add to what others have said: mmap is a system call; it's not something provided by libc.
Ask HN: Best way for monitoring Node.js in production?
Hi,

What do you use to monitor node.js processes in production? Assume that I would like to use nginx as my load balancer and some tool to keep node.js application running, like: forever or pm2. I would like to display data like heap, cpu usage, errors, maybe event loop state in realtime by web user interface remotely.

The best option would be to use some open source tool, but I am also thinking about using some proprietary solution.

What do you think?

Best,
Wiktor
I'm not trying to imply that Morocco's money would be better spent on dams, as Morocco is not in a location suitable for dams. I'm merely drawing attention to the fact that they intend to invest in a facility that will cost 1800x more per Kw than another common source of energy. Perhaps a better comparison would be pure solar, or off shore wind. Though I'm still confident those options would still be vastly cheaper than their current plan
There was a halfway decent (if simplified) segment on Countryfile [0] about the use of PhytoLux LEDs in the UK.

They've been working with Bristol Uni to investigate the effect of various colours and wavelengths on plant growth (Something Gigaom, linked, is only just experimenting with); they claim energy efficiency [1] as just one advantage when using vertical farming methods.

0: http://www.bbc.co.uk/iplayer/episode/b06z9ph6/countryfile-no...

1: http://resources.phytolux.com/images/phytolux/newsletters/Pr...
If nothing else, it makes me realize how many tweets aren't in English.
Invisible Bridges: Life Along the Chinese-Russian Border
Gold Scam, Scamalot Episode
The article addresses the unordered set problem. Did you really read the whole thing?

"There’s the risk, for example, that the first person you date really is your perfect partner... If you follow the rule, you’ll reject them anyway. And as you continue to date other people, no one will ever measure up to your first love, and you’ll end up rejecting everyone, and end up alone with your cats."

"Another -- probably more realistic -- option is that you start your life with a string of really terrible boyfriends or girlfriends that give you super low expectations about the potential suitors out there... The next person you date is marginally better than the failures you dated in your past, and you end up marrying him. But he’s still kind of a dud, and doesn't measure up to the great people you could have met in the future."

"So obviously there are ways this method can go wrong. But it still produces better results than any other formula you could follow, whether you’re considering 10 suitors or 100."
I don't care about the cost of the tin can. It's worth far more than that to find out why the accident happened, and if it was an equipment failure, do something to the rest of the tin cans so that it doesn't happen again.
3 Prototyping Tools Compared: Invision, Marvel and Justinmind
You can create a plugin that installs key bindings for the `!!` sequence and define your desired behavior. Fish can do this.
Saw the same...

Reloaded the page and began to get randomized tweets, some in foreign languages...

MAC being tracked...?
This is a really bizzare statement. Of course, if you compare Israel to Iceland, as someone did in another comment, the difderence in behavior is noticeable. But do you consider the worlds these two countries are living in? Israel gets critisized for 1/10 of what all the surrounding countries commit without any international outlash. It have been at war since its creation — with the countries not across the world, but right at the border. Most of Israel's population comes from people who were expelled from these neighboring countries mere 70 years ago. So yeah, to survive in the environment where people are constantly trying to kill you — and just "you" as a country, but you personally, because of your ethnicity — you have to grow some arrogance.
Compare to the musl implementation: http://git.musl-libc.org/cgit/musl/tree/src/network/getaddri...
What do you mean by jump the shark there? Jumping the shark is normally a bad thing. It is a sign of the beginning of the end for a TV show or franchise.
No, you really can't. Not only is the version available on OS X significantly out of date, it isn't even fully functional for the level of OpenGL it claims to support.
I was a meat eater for a long time. The above sounds perfectly tasty, but of course everyone eats differently.

That said, I did say I spent time in the US South, and I'm originally from Pennsylvania (Home of Scrapple!), so my food expectations might be a little off :)
On Chatbots
Buffett to webcast Berkshire annual meeting on Yahoo
I think additional damage means something like "breaks more centrifuges". A virus that does nos spread can only break a single centrifuge per attack.
Ask HN: Does performance really matter?
I know we all like to sit around and talk about the merits of 1 programming language vs another but has anyone actually gone through a full rewrite into another language and seen a real improvement based purely on the change of language?
the Washington Post has really gone down hill since Bezos bought them
The solution to climate change that has nothing to do with cars or coal
My bad, I missed that as the context.
I knew about Invision but I recently discovered Justinmind. I feel this is a good article comparing these three tools for prototyping.
Usually startups, defined roughly as young companies with extremely high growth creating something new, to start off with are running at a negative cash flow to sustain their growth or development and plan to capitalise on the position later.

These companies would struggle to operate with positive cashflows as their products/services and growth hasn't matured to allow for it yet. Perhaps they are building their product and/or are still in the early stages of iterating on their idea. Just because they have a decent business doesn't mean straight away they can consolidate right away on their business in terms of running a profit.

A lot of decent future businesses could die if startups are forced to consolidate. However in instances this may be a wake up call to keep them accountable to the financials of their business.
Yeah, I don't want to defend the system and would not use such categorical language in describing it again.

This comment mentions houses surviving bankruptcy in Florida:

https://news.ycombinator.com/item?id=11110139

(I think some exception is reasonable, but not a huge one)

And then on the other side of it people are being kept from working because they owe petty fines. It's obviously not just.
could you filter out some of the more ominous commands?
If only it was not on Sourceforge.

But, damn it is looking more and more like an OS you could install and use for Semi Daily use for small stuff
What are you doing to pull this patch? I've apt-get updated and still am seeing Version: 2.19-0ubuntu6.6
> a Swedish animation from 1961:

https://www.youtube.com/watch?v=XhNT501DsJI
Engineering at Home Manifesto
Interesting! I've been playing around with Serverless/Lambda this weekend (the node version), but a main thing that struck me was that I couldn't use a connection pool for database connectivity. This means that each request to a lambda-backed API will need to create new connections.

Anyone who wants to share their thoughts about this?
>I'm finding, at least -- that people who lie and cheat and who are generally bad actors are really hard to distinguish from those people who don't act like that.

This is a great example of how easy it is to misinterpret stuff in English.

If someone is really good at faking good character, doesn't that make them a "good actor"? :-)
Paradox of Achievement and How Motivated Dissatisfaction Fuels Creativity
Show HN: Urubu – A micro CMS for static websites
The math can't really tell you to settle down: it assumes future knowledge as to the number of people you are going to end up dating. Then in the same breath it suggests a strategy which will yield a stopping point that is less than the number of people you guessed you would end up dating.

If there are ten people you will end up dating as your guess as to how many you should date then apparently you now stop gathering information after dating about 4 people. Lets say the next person meets the criteria gained through the first 4 dates. Then this firth person is the stopping point. You have now dated five people.

So really according to the math you should have actually stopped gathering criteria at roughly two people. But then you could have settled for the third.

So in that case you would have only needed to date roughly one person to gather criteria. So now you could have ended up getting matched to the second person.

And if you were matched to the second person then the criteria would have been roughly one person.

Basically, the length of the data collection process and the resulting selection both depend on each other.
So good. It never ceases to amaze me what could be done in such constrained systems (I guess it'll always look like that in retrospect).

For anyone who has never seen it, Sketchpad, from the 60s:

https://youtu.be/USyoT_Ha_bA?t=3m47s

Edit: With commentary from Alan Kay! https://www.youtube.com/watch?v=495nCzxM9PI
What are some eproducts that you guys often buy? Or wish was easier to buy?
Something like PDFs, music, game keys, etc?
https://en.wikipedia.org/wiki/Secretary_problem (more info here)
According to this paper (http://arxiv.org/pdf/1601.02184v1.pdf), the entry for n=56 should also be one. Apparently, these values come from a computer-assisted calculation from 1990, and the error wasn't discovered until 2014.
> For example complaining that R is slow and then writing iterative solution instead of using vectorisation.

But if someone prefers iterative solutions, or that's all they know, why can't R make them just as fast as the vectorised versions?
There's no inherent reason why being cash flow positive is such an important consideration for a venture capital firm.

A startup that's not cash flow positive right now but could be massively so in the future (or, atleast, the market expects it to be massively cash flow positive in the future) is significantly more valuable than a startup that is cash flow positive right now but with not a ton of room for growth.

In fact, placing the requirement of cash flow positivity right at the beginning of the startup would probably squash a lot of good (i.e. valuable in the long-er term) ideas.
How to Build Life in a Pre-Darwinian World
Possible, yes. Practical, not really.

https://en.wikipedia.org/wiki/Kamioka_Liquid_Scintillator_An...

Edit: Ok, let me not be so brief. In short, the current detectors for monitoring reactors are either HUGE (rooms and rooms full of highly purified water, and even those just look at nearby reactors and only get 1 count every 3 days). Or the detectors are very close to the reactor (7 meters i.e. https://www.iaea.org/safeguards/symposium/2010/Documents/Pap...). So signal to noise is the main issue first of all.
Are Backblaze the company that bought all the hard drives in the Bay Area during the 2011 crisis?
Actually, it was called a Bin Laden in Spain at least because it was difficult to find one.

I've also read once that probably 50% of 500€ notes were in Spain, due to the high corruption levels hence all the bribery and untaxed payments. Even the party in government has been caught (actually it is the most corrupt party by far, as far as we know).
Show HN: HTML 5 Boilerplate generator
>They seem to to believe that no action they take will ever be questioned or lead to any blowback

Israel did not and never will colonize Palestine "properly" like the British Empire did. They are either afraid of the blowback or surprisingly restrained.
Fetching images with the Fetch Api
Why would BackBlaze send business to Amazon?!
it is released in ISO files. Do not be afraid of SF.
Just like a kernel written in C is a big block of assembly code, right?
You can isolate any unsafe blocks into small functions, with the smallest scope needed. Same as you would do for asm blocks in C. This is good because it calls attention to what you are doing, when reviewing any code with an unsafe block, you remind yourself to check for these kinds of bugs very carefully, unlike when you are reviewing generic C code where almost every line can have a memory bug.
Learning graphic programming through Vulkan is like learning to implement quick-sort using assembly language.

Sure, it can be done, but it's most likely to lead to tons of frustration and abandonment.

I was pretty good using classic OpenGL (before shaders), and writing a 100% shader based simple example was quite some work, mostly spent understanding how 4x4 matrices and graphics are related.

I expect for most typical programmers for that to be the hardest part, understanding how pixels emerge from a long pipeline of operations on 3 or 4-vectors and 4x4-matrices
Poc for CVE-2015-7547
I like it. It is a great community with a bunch of people who love creating cool stuff, a lot of cool products to explore, a lot of new launches happen there and when I need a product I go to PH to search if something exists first, then google. Why? Because google is full of shit-tier SEO spam in most cases.
By definition this is low grade heat. In cold climates that can be used for stuff like heating nearby homes. In hot climates you're basically limited to running it through a bottoming cycle [1].

But that needs a delta T between the hot water coming out of your cooling system and ambient temperature of probably about 40 K, which probably requires a bigger cooling system than otherwise. So you have the added investment cost of a bigger cooling system plus the bottoming cycle, but you've gained some more energy output. Is it worth it? Impossible to say without crunching the specific numbers. But my first guess is "no" in this case. It is usually worth it for gas fired powerplants though.

[1] Covered in https://en.m.wikipedia.org/wiki/Combined_cycle
Engineering at Home
All rubbish. 1 year late to the party and you talk like you knew what happened. By the way, are you chasing me? This is creepy.