skysight-inc/HackerNews huggingface dataset:
Yeah, but the fact is that there are billions of lines of C out there, and tens of millions more being added every year, and that's not going to change for a while. Under no scenario will more than, say, 50% of new systems code be written in a memory safe language within the next 15 years. It doesn't matter what we want or what we think the industry should do; given the rate of change in those sections of the industry that use C/C++, realistically that's just not going to happen any time soon, while the errors already affect us.

That doesn't mean people shouldn't switch to safe languages for new projects if they can, but it does mean that they should use the tooling available for C much more. Unlike what the article claims, they don't -- at least not those who write programs with lots of memory safety issues. There are static analyzers that can guarantee -- 100% -- no memory safety issues. Airtight guarantees may take some work, but it's still far, far cheaper to achieve using state-of-the-art tools than switching to a new language for many projects (even new ones in organizations where C is established, let alone old ones). Unlike what the article claims, programmers utilizing state-of-the-art C tooling and best practices do not "constantly produce programs riddled with severe memory safety vulnerabilities".

Unfortunately, those state-of-the-art tools and practices are used almost exclusively by authors of safety-critical software, and are not commonly used in more mundane kinds, let alone in open-source projects. An intervention more likely to work in the short term should push for that, regardless of longer-term solutions in the form of safe languages.
> Remember when Twinkies disappeared from the markets? Unions.

That is total unmitigated bullshit.

Source:
https://www.nytimes.com/2016/12/10/business/dealbook/how-the...
I find it's a good sign that he jokes about it. I've encountered many doctors who were bitter and insecure about patients who researched their symptoms online, and reacted with a knee jerk, passive aggressive "you're a hypochondriac" prejudice that pervaded the diagnostic process.
What are you talking about? Have you heard of the ISS? Hubble? NISAR? The Apollo-Soyuz Test Project? In what world does NASA not share its knowledge and technology?
Explain to me why having an actual physical meter and seat sensors are sensible regulation? To me, they are clearly barriers to entry that make it harder for individuals to participate in the sell side of this market. Neither are necessary to provide the service in a safe and trustworthy manner. They simply make it so people need to actually acquire special cars with the seat sensors and then go through additional bureaucratic hoops to get a physical meter installed. This is so obviously protectionism and anti-consumer, that I don't see how anyone can consider them sensible except the taxi cartel.
My favorite tool this year has been SaltStack. It manages the entire lifecycle of our VMs now (provisioning and state management) and it was very easy to create a Slack bot with it that can update our production/dev environments.

Salt is a little confusing at first, since it's essentially just a framework for systems management with Python + ZeroMQ, but you can do a lot with it.
Cool. I haven't seen this explanation before.

Shameless plug for an interactive application I made some time ago for creating fractals like the Julia set via functional iteration:

http://notmatthancock.github.io/software/func-iter/
While debugging an application I often repeat the same thing three or more times, because I'm not 100% sure I'm doing it exactly the same way. And I think that it's often very hard to define "the same thing". And that's the magic behind problem-solving for non-technical friends: they already tried the same thing, "why does it always work when you try it"?
The supplier/street vendor relationship is not the same as the street vendor/drug user one.

Also, this is not a case of the supplier trying to con its "client", but one of choice. "Would you prefer real or or more in fake ?"
"If someone gets burned because they accepted vendor fud as gospel without doing their own testing thus ended up with stuff that doesn't work for their application then that's their fault alone" - absolutely not. Most numbers are legally binding, even if under ideal conditions.

"And besides, no one is buying these anyway"
- your comments are full of ignorance laden hubris.
'There's no such thing as a free lunch' seems to be code for 'I've got mine, screw the rest of you.'
The credit card receipt shows 1 total: food+tax. So the amount the server is basing the tip off is higher than what I am. So for me to tip what they think is 20%, I have to tip what I think is 22%.
Can be read as a question about real estate.

The moon was not claimed for the USA (though a USA flag was planted). What if the moon was less like Antartica, amd more like California?
Kind of like Ohio State football
Why We Can't Have Nice Things (a Twitter Thread)
Did I understand correctly that HolyC is a C like dynamic Language with AOT compilation and dynamic binding?
Does this mean that functions can be redefined in the REPL while the code is running?
Looks like a pretty cool language!
Not so much. I've been in a Tesla - the dashboard feels cheap, gives, creaks under any weight (resting your hand on it). "Plastic-y". Similar with door internals.

My 2015 Audi? Not even a little bit. The build of the Tesla feels like that of my old Altima on the inside.

The dash electronics? Certainly nice hardware, at least.
but NYT has seen a massive increase in subs following the election, so there really is no excuse
Adam from Kite here. Thanks for all the feedback and encouragement around the launch today. We're excited to be opening up Kite for everyone to download today.

When we launched Kite here on hackernews almost a year ago we were blown away by the enthusiasm for our smart copilot vision. Over 65,000 of you signed up for Kite in the first 72 hours, and over the past year we've been working with many of you to deliver that vision. It's taken a momentous effort, but today we're ready to take off the wrapping paper and open up Kite to the world.

Here's what we've been working on:

* Deep editor integrations: to make Kite better for smaller screens and more integrated into the coding workflow. You no longer have to dedicate a sidebar of your screen to Kite; instead, recommendations from Kite replace your editor’s autocompletions and hover results.

* Fine-grained privacy controls modeled after the .gitignore file format means that you can selectively and precisely decide which files and folders Kite indexes.

* Next generation type inference engine that uses both static analysis and statistical inference over Github. Kite beats PyCharm and Jedi by 32% on a typical Django project, offering more completions when you need them.

* Ranked completions which put the most relevant completions at the top of the autocomplete box using techniques traditionally used in web search.

* Kite for Windows. (And Linux in testing!)

Check it out at kite.com.
Reading Consumer Reports' judgments based on their subscriber surveys, I would say that Tesla reliability is comparable with BMW and Mercedes-Benz.

The Tesla Model S rates 3/5 or "average" in expected reliability, while the Model X is 1/5 or "much worse than average".

Out of 12 reviewed BMW models, the 2 Series is 5/5, the X1 is 4/5, and all others are 3/5. (BMW also owns Mini; all 3 reviewed Minis score 2/5.)

Benz is worse, or at least less consistent: out of 12 models, 7 score 3/5, 2 each score 1/5 and 2/5, and one scores 5/5. (Benz owns Smart; the Smart ForTwo scores 2/5.)

I think that at worst, you can say that Tesla is slightly worse than BMW and Benz. And since the Model X is a new model, the low score for it could reflect early bugs not yet fixed.
I was in London a few months ago. I have Android Pay (I'm American) and could use it everywhere [1]. Coffee shops, train stations, supermarkets, even a whole in a wall cafe. Unlike in US, payment simply was not a problem/point of friction at all.

I am really curious what was the thinking behind Square's UK launch (if there was). At least as a business traveler (and admittedly in London, the financial center of Europe), I saw no space in the market for Square to enter.

[1] (The ONLY place I could not use Android Pay was Apple Store)
For the most of its existence Euroasian civilizations didn't function based on the existence of inhabited lands which are to be conquered, quite the opposite, it was known the other humans are there and the conquering involved military actions.

And there were other civilizations on the American continent too at the time it was "discovered" by the Europeans.

Still, the whole Earth is Earth-life-friendly due to so many aspects not present on Mars, including the magnetosphere and air.
Energy Efficiency: A New Concern for Application Software Developers [pdf]
Data Strategy for Entrepreneurs
More dangerous than lying us into foreign wars that kill millions of people and bankrupt the country?

That's quite a high bar.
[0]Ilja Van Sprundel discovered that dmcrypt-get-device does not properly handle errors returned from setuid()/setgid() despite being a setuid-root binary. Although it looks to be handling trustworthy input from the kernel after the setuid()/setgid() calls, the intent is to be parsing the data as a non-root user.

[0] https://bugs.launchpad.net/ubuntu/+source/eject/+bug/1673627
Yeah would've been better to at least understand why these are supposed to be so awful.
Presumably, it is designed for larger customer support requirements, where you have a call center team taking many calls one after the other. It doesn't seem worth it to take occasional support calls.
This link has all the links from red-lang.org that were posted on HN:

https://news.ycombinator.com/from?site=red-lang.org

And from that I saw:

http://www.red-lang.org/2015/01/dream-big-work-hard-and-make...

which mentions the funding etc.
> It's true that the charging rate of a supercharger gets pretty slow once you pass 90%, but it doesn't stop.

That's what I meant: the supercharging stops at some less-than-advertised capacity, and becomes normal charging (and normal charging rates also slow down above the 80% mark).

> thanks to the active cooling system in the battery pack.

That makes some sense, as the damage does come from heat buildup in the cells. However, since battery packs are typically remarkably dense to achieve a good W/h : size ratio, that would have to be quite the cooling mechanism; I don't believe that simply cooling the air around the battery cells (such as with a peltier and a fan) would suffice.

I base this supposition on the completely unscientific method of recharging batteries in my garage in the winter; they still get remarkably warm with an ambient air temperature of around 40°F and normal charging (around 1c - their mAH rating). Perhaps they simply set artificially lower capacities per cell than the battery pack's real capacity in order to prolong their advertised lifespan.
Wedding Trailer – Ninad and Juhi
With enough work one can convince oneself that each 'discovery' or 'invention' is a trivial follow-up of existing technology. DNA sequencing is in the post-laser era. Can you build a convincing argument as to why it's not new but the laser is new?
Also keep in mind that the unemployment rate is highly skewed. It doesn't factor in people who have dropped out of the workforce or consider minimum wage or nearly minimum wage workers. If unemployment was truly as low as it says, then wages would be going up due to a higher demand for workers. This wage increase is not being seen.
Actually, the reason GM "doesn't care" about the Volt (I'm exaggerating here; they obviously care a little bit) is because they're rational: electric cars are not popular with mass-market consumers, and it's far from clear that they're going to become popular.

GM is investing in what sells, and right now (i.e. for the last decade or two), that's SUVs and light trucks. Which doesn't bode well for Tesla, at least in the near term.

You can certainly argue that fuel prices are going to go up and make electric cars popular. The question is: does it happen before Tesla goes broke?

(Edit: downvoting doesn't change facts. From GM's own 2017 outlook [1]: "Ten all-new or recently redesigned crossovers are expected to drive GM’s sales and share higher in 2017, including the Chevrolet Equinox and GMC Terrain, which will compete in the industry’s largest segment." And they're not joking about that last part. As of February 2017, SUVs and Trucks dominate the list of most-popular vehicles sold in the USA [2].)

[1] https://www.gm.com/investors/sales/us-sales-production.html

[2] https://www.cars.com/articles/top-10-best-selling-cars-febru...
More information here: https://venturebeat.com/2017/03/28/kite-a-cloud-powered-deve...
Yes. Short-selling pioneer Bob Wilson nailed the key insight on these situations. They are "manana stocks," Wilson declared, way back in the 1970s. Their valuation is premised on the notion that something wonderful will happen in the future. Time horizons keep being pushed out, but the stocks' fans don't mind.

Shorts can get very cranky and righteous about each little bit of slippage. But as long as new enthusiasts keep showing up, and old ones feel lenient, it's hopeless to insist on strict accountability. Even a short-lived burst of optimism is sufficient to arrange more funding, so manana always seems within reach.

Worst case: you're shorting Amazon. The bulls were right, and you go broke.

Best case: you're shorting something like Energy Conversion Devices, which eventually did run out of money and file for Chapter 11 in 2012. Shorts had been predicting its demise since the 1970s. That is a long time to wait.
That's interesting. I'm 24 and have a different experience. Among my close friends, none use Instagram to the point that I feel the need to. Snapchat is fairly popular. In the last couple months, my girlfriend and I both realized that Facebook was giving tons of stuff about people we don't care much about, and

It's definitely popular in high school. I know a police officer who works in a high school. Snapchat is a huge pain point for them. Someone takes a screenshot of a nude their girlfriend sent and passes it along to friends 6 or 12 months later after they broke up and suddenly 45 people have child porn on their phones. One person took a picture of a friend and in the background they noticed a student upskirting a girl.
Yo got 1.5 million dollars fwiw.
Imaging and imagining black holes
This I feel like it's killing my career. A majority of the contracts I start are canned within a few weeks of me joining. Then they literally give me janitorial work. Can't leave, because you jump around to much. Can't say the job was canned, you should have chosen better. I haven't had a job where stuff was used for 6 years.

The exception being a contracting gig. Where I wrote everything they canned me, outsourced it overseas. Then several months later asked me to come back, because the outsourcing firm only knew an older programming language.

It's burn out just going to work every day. I'm either cleaning up others messes. Or interfacing with vendors. I'm totally aware that work will be tedium four out of the five days. I just want one freaking day, where I can stretch my mind, and actually do something useful. I have a world burning in my head I want to write. Several projects I want to program, and learn. Yet I'm so burnt out by work end.

My work feels like a syndicate show at this point. I have been doing primarily the same thing for 5 years. I've constantly tried to buck this and get into some other area. But a personal mistake has ensured I constantly need money, and can't take the time to move properly.
Unless you're born with all the resources you'll ever need, you have to put in one kind of effort or another to secure them. Work never had to have meaning beyond being a way to stay alive. One just needed to accept that life wasn't going to be all leisure.

I have a pretty comfortable job/career. I have a hard time saying I'm being exploited just because my work makes someone else richer to a greater extent than it makes me richer. It's engaging (enough) and I live well. I'm not putting my own resources at risk or making personal sacrifices. 20 years into my career and I've never burned out, probably because I never told myself I needed to, or was going to, change the world. And I made it my goal from the start to just find a job/life I was happy with.
I've tried reading the saltstack doc many times, I still am very confused. To the point that I've stuck to ansible, despite truly thinking saltstacks might be better.

Is there any not confusing doc about saltstack available?
Ansible is basically my favourite automation tool, though I use it less to "save time" and more for peace of mind. I can define how I want my servers set up and ensure that every time I spin up a new one or make a deploy, all the proper steps are followed automatically.

Though technically, this can save time in tracking down errors or weird state-based bugs, I guess? So it even still qualifies under that.
That's true only up to a point. Look at baseball players, they frequently outperform in the last year of their first (lower value) contract, but then underperform after getting the longer high value second contract. People are motivated by money only up to some point. The point varies by person and some people are far more motivated by other factors.
Well, typically people chatting about programming languages are programmers. I can see cheesemakers chatting about cheese for similar reasons, but mere mortal eaters of cheese?
A clipboard manager is an absolute have to have.
Having the last 40 or so clibboard items available to me instinctively has increased my productivity and the speed at which i can do anything on a computer.
I use the one that is part of the Alfred power pack, but there are plenty of others out there. https://www.alfredapp.com/help/features/clipboard/
> 2. Prime Meridian mark (that goes through the Royal Observatory in Greenwich) is off by 102.5 m

No it ain't, it's right on the meridian by definition. Some other co-ordinate system's 0° meridian is adjacent & almost coincides, but for a 102.5m offset.
A demonstration of IncludeOS with Mender at Embedded Linux Conference Portland: https://www.youtube.com/watch?v=S_0D5Yh9czo
There are variants on the t-statistic calculation. I assume these were all checked? Either way this should be mentioned in the methods of the paper, along with the software used... I wonder if they used excel, in that case who knows what may have happened. I've seen excel change numbers/names to dates, and all sorts of wackiness.
Discussion of this appalling situation is over here:

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

It was doing quite well, but about 4 hours ago it appears it got flagged into complete oblivion:

http://hnrankings.info/13975351/

I don't know why people have flagged it, I guess they're getting tired of what they see as too many political posts. Personally I think techs and hackers should be deeply concerned by this. But possibly they're not.
Never been to any rehab and recovery groups, but I used to hear this all the time in real estate training, and self-help seminars. These days, it's life coaches who love this quote.
Cornelius Ryan's "The Last Battle" goes into some details about the Berlin Philharmonic, and Albert Speer's involvement and efforts to evacuate them prior to the Soviet occupation of the city.

All 3 of his books are well worth the read, as they were written in the 50's-70's and include plenty of interviews with actual participants of WWII.
This is a pretty intriguing idea. I'd love to find out if this kind of thing could remain constructive for long without devolving into toxic workplace scheming and gossip.
"There are two novels that can change a bookish fourteen-year old’s life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs."

John Rogers
Tennessee and Georgia have been in a somewhat long-running dispute over a surveying error with their shared border. Georgia seems to be particularly interested in the water in the Tennessee River, which would flow through GA if the border were moved. This has led to some humorous moments, e.g. "[i]n 2008, former Chattanooga Mayor Ron Littlefield sent an aide, who reportedly wore a coonskin cap, and a city councilman to Atlanta with a truckload of bottled water during a previous chapter of the dispute."[0]

0 - One of the more recent articles about this hullabaloo: http://www.timesfreepress.com/news/local/story/2017/feb/26/f...
"but what Trump is doing is something new and very dangerous."

The mainstream press was not just partisan, they colluded with Hillary Clinton to destroy all of her political enemies, which included Bernie Sanders and all of the Republicans. Sanders wasn't willing to do what it took to win, which meant going to social media and using the arrogance of the press against themselves.

Until the press decides not to act like spoiled children and actually start reporting non-partisan news, I'm all for the current behavior of our president.

I actually had hoped his win would get some of these news organizations to admit their faults (and maybe we could all take a step back and get some better candidates next election cycle). I was wrong. The lies and collusion is only getting worse.
Ask HN: Which headphones do you use while working?
I have used the Shure 215 (https://www.amazon.com/Shure-SE215-K-Isolating-Earphones-MicroDriver/dp/B004PNZFZ8) for a number of years. The ability to replace the cable has saved me a number of times and the headphones still work/sound great.

I am curious to know what others use especially for noise cancellation. The Shure 215 are not noise-cancelling but do significantly block.
Burnout is about how the time is spent, not about how it's rewarded. You can get paid whatever you want, but if you're miserable for 50%+ of your waking time, you're going to burn out.

Rewards can only sweeten the deal. They can't turn a bad working situation non-toxic (at least not until they cross the threshold of allowing one to escape from the bad situation entirely).

People can only put up with that frustration for so long. When they can't put up with it anymore, that's burnout. It's not about who's getting the profit (though the discouragement from feeling that you're not being treated fairly can definitely be a significant contributor to the stress). Indeed, burnout is very high among business owners.

I'm strongly pro-capitalist, but I agree that we need to adjust structures to ensure that companies are obliged to share a fair portion of their profit with employees. However, I believe this only tangentially relates to the problem of burnout, which is fundamentally about the psychic impact of daily exposure to the same significant stressors.
Globals are hard to name, so we use things like BEM [0] as a good naming convention to mitigate human error. CSS-in-JS is nothing more than an automatic BEM. I wrote down some thoughts on this today [1].

[0]: http://getbem.com/

[1]: https://medium.com/@jdan/css-is-fine-its-just-really-hard-63...
Just curious, but why would you expect lower salary for essentially the same time being worked?
And there are a lot of people getting SolarCity roofs...I'm starting to see them all over...combine that with a PowerWall, which you can charge during the day, and you have a really compelling argument to go all-in.
> are you serious about second-hand high?

Of course ! I've experienced it myself many times.
You won't get a 'real' stoned kind of high, but you're getting a healthy micro dose if you're sitting right next to someone who smokes a joint.
(Ok, for better results you have to hold the smoke in for a while).
This seems at odds with a password manager, though.