skysight-inc/HackerNews huggingface dataset:
As, yeah, stupid applications is hard to guard against, but stupid applications might/will have their own share of code execution bugs, which you also have to control. Everything sucks.

As for the environment, that's the same for any UNIX, though. .bashrc is run only if you start bash. Getting an ubuntu dist. to set up your environment variables in GUI applications certainly won't be fixed with a .bashrc. It might inherit /etc/profile, if you're lucky.

For OS X, launchd handles the environment by simply being the one responsible for starting the applications that you inherit your environment from (such as Finder, Dock and Spotlight), and .bashrc is just a file that bash executes itself that might set additional environment variables. This is not unlike a Linux setup, where you only inherit environment variables written in .bashrc if you started the application from bash.

(OS X does have a path management system for shells in the form of path-helper and /etc/path.d/, but that's run through the profile, which won't affect GUI applications.)

I'm not really trying to defend OS X here, other than pointing out that if you cut out the proprietary GUI stuff, it's basically just your run-of-the-mill custom UNIX dist. As a long time Linux user (I use a Mac as laptop, because screw trying to get Linux working perfectly on a laptop), I find everything to be an equal pain in the ass to deal with. systemd or launchd, X11 or windowserver, Finder, Nautilus, Konqueror or even Windows Explorer - They all suck. Pick your poison.
Title should say 2013. These days, PyPy is way past 25% average speedup with respect to CPython.

/edit to be fair, the project README points out the difference in goals and performance between Falcon and PyPy quite nicely: https://github.com/rjpower/falcon/blob/master/README.md
Who is writing these horrible systems for Amazon? From the article, the way they detect page reads sounds like the simplest use case that a novice developer would come up with. Kindles can definitely record information and upload it later when there's a chance to sync; I use it all the time to submit corrections for books. There's no reason that it should be this simple to game.

Of course, the scammers would just move on to using actual device farms but at least there would be some physical obstacles.
How does Falcon compare to PyPy performance wise?
i don't know if it counts, but there's musl-gcc, right?
I think they have the luxury of targetting a specific, invariant set of requirements vis-a-vis the Cassandra project, so that helps. But still, their speed has been phenomenal.

I really hope to try out Scylla with some of my cassandra schemas... see how much of the 10x -> 20x speed advantage really bears out.

I was suspicious of these guys originally but they've been pretty upfront with testing and despite the convenience of Java, I can see how they might get massive improvements in speed by doing lower-level C/C++ code.
Please stop posting unsubstantive comments to Hacker News.

We detached this comment from https://news.ycombinator.com/item?id=11521496 and marked it off-topic.
I wonder how much of this is selection bias by media. There are now twice as many human beings on this planet as when we were kids (totally making assumptions about you here, if you don't mind). That means more gifted kids, in addition to our ever more invasive media. Our various feeds are (unfortunately) full of page after page of people talking about the things they think their kids are doing. However I don't think kids today are especially special snowflakes compared to when we were kids. I'm not saying there aren't gifted kids. I just mean it's probably not right or true to say that gifted kids these days are more amazing than gifted kids of yesteryear. And it doesn't help that every parent on the planet sells their kid as a genius. Even the parents of stupid kids.
Are you telling me there's a ~station wagon~ delivery van full of tapes hurtling down the highway right now?
Totally agree. Of course it's easier to tolerate when it's not happening to you.

Our media is responsible for hyperinflating the perceived danger of crime and terrorism. Fear sells more readily than good journalism and it costs far less to produce.

Realistically though, crime and terrorism have nothing to do with it. It's more about consolidating power and maintaining control over the increasingly rebellious populous.
I'm not sure you can make a linear projection.

This could be early exponential growth.

Or the constant growth may hit a tipping point as a critical mass of tools and infrastructure is developed.
You can downvote all you want, but it's right there in Amazon's guidelines:

https://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGui...

"Place the HTML TOC towards the beginning of the book and not at the end of the book. "
Crashes are not a proliferating risk. Crashes don't achieve a societal critical mass at which they become extremely worrisome -- nobody watches people getting into a crash and becomes convinced to try it themself.
House Prices Keep Falling in World's Best-Run Economy Like They Are Supposed To
Rust is probably more appropriate for that, since (like C++) it uses system APIs directly instead of importing a runtime.
Grandmothers everywhere can enjoy social media by snail mail, with GramGram
Biotech Companies in YC
Does anyone have experience with applying/interviewing for biotech/pharmaceutical companies at YC? We just submitted a late application.
It's rendered with some really shitty sounding instruments. Run it through Ableton Live at least. Or even better, a specialized piano engine.
yea it really depends on the person. I've had female bosses that went out of their way to harass men because they knew they could get away with it (HR didn't believe the men), and I've also had female bosses who were threatened by younger women, and harassed the heck out me.
Unless you live in one of the world's terrorism hotspots or an area with a high crime rate. I suspect neither is common among HN readers.
If you're interested in learning more about React Native, I have published one of the most comprehensive and certainly highest reviewed tutorials here: https://www.udemy.com/reactnative/?couponCode=4HN

I've had a great year with React Native. The number one selling point of the platform for me is productivity; I can create mobile apps and iterate on them awfully quickly compared to what I was able to achieve with native iOS (never worked on Android).
No, it only mentions that D&D was being reported as motivation for a 16 year old that went missing in 1977. It concluded that series of articles with a simple statement that D&D was not in any way associated with the boys disappearance or his eventual return. ("Accio bratty teenager!")
I'm not even sure what it means, as the article says that the DNA will be used for paternity tests.
Never underestimate what people would do to keep the stock market running...
I believe the greatest benefit of react is that its javascript, html and a familiar framework. Outside of that, the diffing is only "good" now is because drawing is the bottleneck. Arguably, it may be possible to have a faster framework that doesnt need to iterate over every item in a list to check for item changes.

If you have junior devs, having them learn one framework would likely be far easier than different ones for different environments. Personally, I really enjoy thinking in react. Its opened my eyes up to opportunities, relation and application to Oop in general.
The video above the article does mention the show.
Diodes are cool. One changed my life too! But I built a crystal radio set with mine. Many nights of listening to AM stations across Europe.

That took me to electrical engineering. All because of a 3 penny part.
It's a problem and could be used to hide processes from the average sysadmin, but Bitcoin mining is not a likely use of this exploit.
Sneakernet thief!
I use C# every day in my current job. I would say that most software development in this region is either C# or Java. I live in a city in California that is not in the Bay Area/Silicon Valley.

However, I don't read Hacker News for the Java/C# news, that's for sure. There's plenty of Javascript-related stuff here, which is also relevant to what I do, and I'm always interested in learning more about (and trying out) various other languages and frameworks.

I've been learning Node.js, and I've been contemplating learning Elixir. I may or may not need any of that in the future, but I think they are valuable to learn about anyway. Learning a different way of thinking about things improves my awareness of what is possible.

I don't think C#/Java is a waste of time, but don't stop there. Learn as much as you can about other languages and platforms. You'll find yourself in a better position than someone who is uninterested in anything that doesn't directly apply to the job they are doing right now.
ufo claimed above that "The only thing the publisher does is own the name of the prestigious journal."

This is false. Why is calling them on it now "faking to be an idiot"?

I pointed out that there's curation, and that imposes costs. Denying that it exists doesn't help.
Narrowing it a bit, how about paying to read research I WROTE? I tried to access a paper of mine I didn't have handy and sure enough the fee was $35. Turned to sci-hub, of course. I pirated myself. --Anonymous, just in case
How long before they start making clones of people they don't like for easy drop-in replacement?
No, but I do have my privacy to protect. I don't imagine my not visiting Kuwait will have a noticeable effect on Kuwait's economy. But if enough people do the same, especially entrepreneurs and businesspeople, they just might notice.
This is very, very scary for a country where adultery is severely punished.

Even with a cuckolding rate of <1% (1-2% in Belgium [1]), that's a lot of people in a population of 3.5m.

[1] http://rspb.royalsocietypublishing.org/content/280/1772/2013...
Nuklear: A small ANSI C GUI toolkit
I thought the replacement of Telnet with OpenSSH was fairly fast? Few years at most, it seemed to almost happen over night compared to the move from SSL to TLS for example.
It does seem to be the definition bandied about here as espoused by pg's essay: http://www.paulgraham.com/growth.html

As a software engineer working nearly 2 decades, prior to discovering HN some 5 years back I always just thought it was a small, relatively new tech company that was designed to grow beyond a lifestyle business. I never thought about the hypergrowth factor. I still use the term in that fashion.

Interestingly enough, my gf works in commercial finance and they use the term to apply to any new business where there is no like prior for the applicant. In your example above a brand new burger business is certainly a startup until they open up a second location. IOW, they're no longer a startup once they've proved successful enough to grow to a second location with the ability to use the first as collateral reducing their inherent risk.
I don't like Java, but don't underestimate the performance of the JVM. Unless you're a crazy perf wiz, then your average C code won't beat your average Java code. It's fast enough for short processes, and for long processes the JIT is pretty darn good. Also note that a JIT can perform runtime assumptions and optimize code based on what is currently the case, which an AOT compiler cannot.

It takes a lot more than a toolchain to write fast code.
My Facebook Friends
You might want to edit and prepend an "ASK HN: "
Most of the time, just couching the comment with a little kindness works fine...

"Great article, enjoyed it. I noticed a couple of minor typos you might want to fix..." or "I see you speak several languages. English is a little tricky with homonyms, "peeked" in this context would be "piqued".
Given that the database will eventually leak, how useful will it be for scientific research ?
Not really. AI wrote some compelling classical music, and years ago:

https://www.youtube.com/watch?v=QEjdiE0AoCU

https://www.youtube.com/watch?v=2kuY3BrmTfQ

https://www.youtube.com/watch?v=mnBUxG-wSVg&t=13s
If you can take the time to visit 10 company websites and go through their documentation every day, I assume you cab find the time to read (and possibly respond to) 10 emails per day

Know how I can tell you're not an EE?
It seems that you're cherry-picking items in a deliberately deceptive way.

The CO2 level rise clearly must have been an estimate based on, "If we project current usage trends forward, here is how much fossil fuel gets burned. Here is what that does to CO2." That usage model would have been thrown off by the first OPEC price shock of the 1970s, which induced a lot of conservation efforts and resulted in significantly less emissions.

I'd be shocked if they had the basic "fossil fuel to CO2" relationship wrong. There is no way that they could have predicted the economic shocks that slowed consumption.

Now let's talk about their environmental model. They gave a range from about 1 F to 7 F. The actual rise is about 1 F. I'd call that a success! (And why did you switch between F and C? Was it just to make the actual rise seem smaller.)

Moving on, you argue for which model should apply, then argue that they got it wrong. Your behavior already doesn't make me trust you, but let's assume you are right. What mistake likely explains it?

My best guess is that they simply did a long-term steady state model for what temperature things would stabilize at. That is a relatively simple calculation, and would have been fairly accurate if the atmosphere were mostly separate from the ocean. However we've learned since that heat exchanges with the oceans are much larger than we knew. (I remember circa 1990 learning in fluid mechanics that there was a big question THEN about how much global warming would slow down.) So the long-term temperature picture in the model is relatively accurate, but we get there more slowly than predicted.

This is the kind of detail of our system that we COULD NOT have predicted with 1960s science. They knew that they were overestimated and knew that they would be right in the end, but had no way to know how long it would take to get there.
System predicts 85% of cyber-attacks using input from human experts
Working around a broken API is not premature optimization. Stroustrup et al. point out the same problem with std::endl[1] and advise the same remedy as the presentation linked here. Conflating EOL with flush() was a mistake the moment it was first written.

Systems programming languages aren't about easy troubleshooting. C/C++ APIs should be performant by default because when they are not we end up working around them, often badly. If I want the stream flushed I'll configure it to behave as such or I'll call flush explicitly. Any other mindset belongs in Python, Java or some other higher level language.

[1] https://github.com/isocpp/CppCoreGuidelines/issues/357#issue...
Who said it couldn't have been named std::eol_flush?

And why do you think its name (std::endl) doesn't match its effect (ends the line)?
> With todays abundance of APIs, libraries etc, the phrase "in xx lines of code" should be put to rest.

Here is someone sharing their experiment/code and the best that can be said is "gotta put to rest this phrase".

Not that I am particularly interesting in chat bots, but what is disconcerting is the attitude of hurling negativity into a thread of discussion.

Why not just skip it and not say anything and move on to another topic?

Maybe it's ok to be negative if this is a news piece from NYT, but it is sad watching that happen in response to someone showing what they've been hacking on.

"What did you do today?" -- "I built a cool chat bot"

"What about you?" -- "I told the person who built a chat bot to change the title, cause I didn't like his title".
We banned your account early on because you appeared to create it to post trollish comments here. If that's wrong, you're welcome to email us at hn@ycombinator.com. We're happy to unban people when there's reason to believe they will only post civil, substantive comments in the future.
I didn't downvote you, but perhaps somewhat extraordinary claims require a little evidence.
It's certainly much more likely to lead to a more profitable career. Do you wind your own transformers and use vacuum tubes? The really old guys would look down on cheating by using transistors and store bought coils. It's all just nostalgia. People can and should find the magic in different places than the previous generations did.
Sounds as though Holmes really did put all her eggs in one basket: government relations. Score government contracts; use regulatory capture to create moats against competition; profit.

If that was indeed her calculus, then in retrospect, the Walgreens partnership was strategically off target -- at least for Phase 1 of the company's plans. So was that part of Plan A, or was it someone's Plan B, or was it simply a biz dev opportunity that came their way and which they decided to pounce on? Interesting to consider.
Electric cars can react to changing inputs faster than gas powered cars. They can also have two, three or even four, independent motors driving the wheels. This makes it much easier for a computer to achieve high performance, though the difference may not be noticeable until you hit a gravel patch and attempt to recover at high speed.
Just sent a message to my sales team that all Kuwait project bids need to take this into account. I will not force my team to accept projects that they are not comfortable taking. The Middle East has some friction for businesses but I imagine this will only add to the discussions.
Accusations of shillage without evidence break HN's civility rule. I've posted about this countless times.

We banned this account for serial trolling and detached this subthread from https://news.ycombinator.com/item?id=11516860 and marked it off-topic.
Asia Student Supercomputer Challenge 2016
I was exactly the same; once, just once, one of my friends told me his Dad was into electronics; he showed me a room full of his Heathkit kits in various stages of construction (I remember the full-size organ). But we moved that summer before I could ever meet him - he may or may not wanted to mentor someone in grade school, but I was so very eager to learn.
Ah yes. 25% faster.

I get 50x faster (that would be 5000%) just dipping into Numpy when I need to (admittedly with AVX), and C when I have to. Both are like, trivially easy.

Why are we bothering with making native Python marginally faster when it is already the perfect tool for the mission it is there to accomplish (glue), and there are dozens of other tools which are optimized for performance?
Universal Install Script by XKCD – Combat Test
Looking back, is there anything that stands out as something you should have done differently? Or not done? Or just done? (intended to be as open-ended as you care to interpret it)
I think then the question becomes, are humans doing anything different than that?

If so, why do you believe the network is only reproducing statistics rather than having learned the same circuitry humans have when improvising/composing jazz? It's hard to show that it's doing one thing or the other. In this case with n=1, it seems pretty clear it's doing the former.

If not, then it doesn't seem to matter since that's what humans are doing.
Can you add anything as to what the culture was like internally?
You are mistaking political propaganda for economic arguments.
incompetence is bad.
gross incompetence is bad on a widespread and surprising scale.
incredible gross incompetence is shockingly bad on a widespread and surprising scale.

"Incredible" doesn't mean good, by definition - it means unbelievable.
Almost every major tech company in the Bay Area uses Java in some respect: Google, Amazon, Facebook, EBay, Netflix, Yahoo, LinkedIn (almost entirely Java), and Square just to name a few. It's not discussed that much because it's not "cool" or "cutting edge", which frankly is how languages should be in my opinion.
What's the status of secondary index? It was described as "half-ready" here[1]. Is that still the case?

Also does Scylla support some sort of data locality as far as secondary index is concerned?

For example if I want to store comments, I'd want to store all comments that belong to the same forum thread in a single node. All these comments have the same thread_id. Then I can have a secondary index on thread_id. When I want to get all comments that belong to a certain thread I can just query on the thread_id secondary index and only 1 node is queried. Is that possible?

[1] https://github.com/scylladb/scylla/issues/401
Why do people steal things?
Wow, if that happened today, it wouldn't even be in the news, much less result in a scandal and someone going to prison.
What I said of course also applies to google. I don't use google either (or at least, I go out of my way not to), and I try to minimize my use of any service where I'm the product.
Mod_http2 (v1.4.6) released
Marketing is the exploitation of information asymmetry. Firms are selective with their message to maximize perceived value. Truth is hidden.
Granted, you can't start a company in most countries "instantly" but compared to the time it takes to write software?

For instance in Germany you have the "Unternehmergesellschaft" or Mini-GmbH which is really cheap to set up and should also be really cheap to run as long as you're not doing anything complex accounting-wise. From what I've heard it doesn't take more than a couple weeks.

https://de.wikipedia.org/wiki/Unternehmergesellschaft_(haftu...

In certain industries there is a bias against that form as it shows you are bootstrapping without much cash, but I would hope it's not a problem in tech. Though it probably does suck to write "haftungsbeschränkt" (liability-limited) everywhere: there is no legal short version.
Tricking a man into spending 18 years and a quarter million dollars raising another man's child is deserving of severe punishment IMO.
3.7 release has definitely slowed everything to a crawl for me. Organizing Icons is totally impractical and my workflow is all messed up.
I wouldn't say it's free. It is just less obvious what you pay.
It's common enough that every time the topic comes up someone new pops up to "explain" how I'm wrong. (See comment below)
Yes, I found it quite interesting but deeply disturbing.
You can rest assured that I'm not the only one:
http://www.slate.com/articles/arts/books/2005/12/lolita_at_5...
https://101books.net/2011/12/15/lolita-inside-the-mind-of-a-...
It's a great feature, but Microsoft appears to have crippled it in Windows 10 - none of the Windows 10 native applications (not sure of the correct term, but stuff like MS Store applications and the built-in music/video players) are shown in the volume mixer.
Llvm-Dev RFC: Efficiency Sanitizer
Computer generates all possible ideas to beat patent trolls
Due to an unfortunate series of events I ended up at a private military-themed school in south Texas for several years of high school (80s). I was told that D&D was not allowed because it would make you communist. And when the school chaplain (!!) found out I was an atheist he interrogated me and flatly stated that if I didn't believe in got that I must therefore worship Saran. I think it's a (religious?) tendency to condemn any activity that they can't completely control.
The guy behind the man page page didn't make that claim.
Not anymore; it's in Go these days.