skysight-inc/HackerNews huggingface dataset:
> Most of the coding problems would have been caught had unit tests been clearer and closer to 100% branch/code coverage. It is amazing how many bugs lurk in the last 5% of testing.

Presumably, coverage starts with the low-hanging fruit (simple, linear code; heavily-exercised code like startup routines and main loops; etc.) and grows to encompass ever more unweildy, smelly, edge-case parts of the codebase.

Hence, by increasing code coverage, we're boiling off the solvent of run-of-the-mill code, such that what remains uncovered gets an ever stronger concentration of hackery, unintelligibility and black magic. By 95% coverage, the bits remaining are those parts people don't want to touch, so I'd expect the concentration of bugs to be highest there.

:)
I did! Thanks for catching that.
This is the reason why I find "tipping" food servers for "good service" so perverse. the quality of the service you get is almost always a function of how well the place is managed.

Was your hard working server set up for failure by someone making 4 times her wage? A good manager can take a terrible team and make them a great team.
In most cases[0], Js "looks" at the next line to see if it could continue the current statement, in which case no semicolon is inserted.

[0] Not true for "restricted productions", which include naked returns, and some other "special" cases.
No semicolons, two space indentation, space after function name, single quotes for strings? There's no way this would fly with a majority of developers.
Responsibility Without Authority: How to Drive Employees Crazy
Good luck! I hope you find a way to improve our world.
Different tab widths are a non-issue. Sure, the maximum character per line only works for a set tab width, but I take that “problem” over the rigidity (and unsuitability) of spaces as indentation.
Funny that a project that is supposed to fight debates about style, creates so much debate!

As a experience of actually adopting standard (this very project) in a company, I must say it's refreshing to not having any discussions about coding style anymore.

Process before was to discuss which eslint rules we want to follow and then sometimes it changes. With "standard", we just asked ourselves "Can we adopt these rules and stand with them?". Most people agreed and then we implemented the support company wide and now we never discuss coding style in our javascript projects anymore, which is a pleasure.

If you find yourself discussing coding styling, see if you can adopt something like standard, and then just go with it.
I find tabbed editors useful in that they allow you to open the current "working set" of files, and then disregard the rest of the project files. After I open up the working set, I usually close the tree view (Sublime, in my case) so my code has more room.
Maybe a coal miner is the wrong example, but I think you can think of plenty of jobs you would not want. I certainly would not want to go back to working in a call center like I did in my previous life, even if the pay were the same or slightly better.
In the US, the questions are not per se a violation of the law, but you are treading on very thin ice because using the answers to such questions in a way that has a disparate impact on anyone because of their gender, age, family status, religion, etc is a violation of the law, even if you did not intend to discriminate against people on that basis.
It's a vague term as: Other orders of magnitude may be calculated using bases other than 10. https://en.wikipedia.org/wiki/Order_of_magnitude

In base 2, 2x = 1 order of magnitude 8x = 3 orders of magnitude. Worse both informal definitions are in common usage.
>Can you guys stop thinking we're an election or two away from a fascist dystopia?

How long did it take Germany? Maybe 3 or 4 elections then.
Want to Dominate Your Market? Pick a Word
In short, that's because Apple flat-out refuses to license the patent to anyone.

Never mind that magnetic power connectors had already been invented, and that Apple's patent is essentially another "this already existing thing except on a computer" patent.
I respect the idea of a vibrant job market but free pizza seven nights a week sounds a bit like hell.
singlequotes for strings is very much a standard thing in JS. And two space indentation is fairly common as well. The no semicolons and space after function name are really the weird things here.
Tired of Slack? 13 Alternatives to Try
I find the vitriol towards Bitcoin kind of odd.

If I posted an article about Linux 4.1 or something, I wouldn't expect to see comments saying 'meanwhile, I used Windows yesterday, and played GTA5, and it was good'.

What gives? Are there forums in which people have this sort of reaction to, I dunno, HTML5?

From some of the posts here you would think that it's IED control software.
EDIT: It looks like I replied to the wrong comment and quoted the wrong comment on top of that. No idea what happened.
Still doing .NET 4.0 and Java 7 for production code here, exactly because of these type of issues.
11x would be "orders", if we're playing semantic pedantry.
Personal attacks are not allowed on HN. You've done this repeatedly, and we ban users who do that, so please don't do it again. Instead, please (re-)read the site rules and follow them. That means posting civilly and substantively (or not at all) from now on.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html
The entire page is a translation of blog articles that already exist in German.

http://www.grimm-jaud.de/index.php/blog/multithreading-in-mo...

Dozens of follow up articles are on the blog in German.

http://www.grimm-jaud.de/index.php/blog

The Author has published several German books on C++

http://www.grimm-jaud.de/

I have never read any of the books or blog posts, so can't say anything on the quality.
Yes, but why can't you just connect TND sellers and EUR sellers? Why insert all the complexity and risk BTC provides? The end result for both parties would be exactly the same.
> That said, if it is iPhone to iPhone, it may well be that the call never touch the carrier systems and instead happens over iMessage for all i know.

That would only happen if you are using Facetime Audio
I don't get the pricing model of the leading cloud providers. Their data transfer pricing in particular makes zero sense. Running data intensive applications on Google's or Microsoft's or Amazon's cloud costs 10 times as much as running them on vultr or DO. I find that huge difference baffling.
I don't know about others but jsbin, codepen, and c9.io all have e.preventDefault on tab because it's trivial and many people still use tab.
Removing long distance trails makes your trip mix biased toward short trips, but doesn't increase the rate of short trips.
No it's not, because it's not just an editor configuration, it's something in the code structure. People with different indentation working on the same files is a problem, so it's really relevant to try to set a standart about this, at least for open source project.
Don't you think it's much more likely that their stack is largely Java but you were working on a largely TCL piece of it, than it is that they decided to lie and trick you into taking a job you wouldn't otherwise want?
Why doesn't that bother you? It reminds me a little of the giant middle finger that Bezos recently gave to his workers via his letter to shareholders, in which he effectively said that he knew the workplaces he fostered at Amazon were unhealthy, toxic, soul-crushing graveyards, but basically that he didn't plan on changing it and didn't give a shit if people didn't like it or even if it was demonstrably unhealthy for them.

Saying "I've become successful" (or in Wolfram's case, very marginally successful) "because of some arrogance" is not some redeeming, insightful virtue. In fact, in many ways the person is saying, "I took the lazy way of using my laurels and status to treat others badly and act entitled to my asshole tendencies."

Instead of working hard to succeed with class, Wolfram, like so many other tedious and unremarkable people that pinch up some minor bit of fame for a while, is just excusing his own laziness.
Just a heads up, "Apply HN" is for built products/services, not ideas.
Diane Ravitch has a most unusual conversation with a billionaire school reformer
> "Explicit is better than implicit" is also a naively wrong maxim. Verbosity is bad. Period. Every good writer I know is non-verbose. Meaning behind words is what makes a good literature, not long words or elaborate passages half page long

Good writing often allows (or even encourages) a reader to concoct their own inference of exactly what the author means. Witness discussions that last to this day of many ancient classics. Such ambiguity may be fine for writing, but it is obviously disastrous for large engineering projects.

That's fine - not all code is a large engineering project - but most of the people I know who work on very large code bases will take explicitness every time. And those are the kind of projects that Rust is aimed at tackling.
For anyone not noticing this is the blog from a swiss bank. Take it with a grant of salt.

Disclaimer: I have just skipped trough it.
> Would I rather be a software developer - even one who is building boring CRUD apps - or a coal miner?

I've done manual labor. I feel when I did carpentry it was more rewarding than software development.
Every time I've dealt with furniture movers I've noticed that they work incredibly hard and I'm glad I don't have to do that for a living (my back would disintegrate).
Money makes people right-wing and inegalitarian
But collection is sweeping and worldwide (including domestic). We know that already.
I don't think this was done for any political or idealistic reason. I imagine bitcoin makes it a lot easier for purchases in countries with unreliable banking, high levels of fraud, etc. Try transfering a non-trivial amount of money to Eastern Europe, Africa, Russia, Brazil, etc. Steam deals with this millions of times a day with fraud credit attempts, legitimate credit cards being turned down, etc. Legitimate buyers can just use bitcoin and not worry about credit card shenanigans.

The "omg futurist" brownie points are just a side-effect. Steam/Valve isn't terribly progressive. Heck, its only recently that they put in a refund policy and started putting in common sense limitations on trading to stop fraud. Someone did a cost/benefit analysis here and it simply worked out. I guessing this is part of a larger anti-fraud initiative at Valve.
I'll join that fight, unless you want you your tabs showing up as two spaces instead of four. Then we'll have to fight after we take down the spacers.

On a slightly more serious note, the benefit of tabs is so clear: everyone can have whatever spacing they want and it doesn't affect anyone else. You just configure your IDE and it looks the way you want it to look. For whatever reason, indenting two spaces makes it hard for me to read code.
That's valid javascript, and it would produce what you expect, with or without the ending semicolon.

Here is an example: http://jsbin.com/mokipigeqa/edit?html,js,console

Here are the ASI-relevant parts of the ES5 standard: http://es5.github.io/#x7.9

In JavaScript, LineTerminators are used as a separator between tokens, just like other whitespace is. Therefore:

list .map() .filter()

is equivalent to

list
.map()
.filter()
Ha, ha. I would hire you in an instant.

Wit/sense of humor is an indicator of intelligence. Which means even if you are not entirely familiar with the whole stack of tech we use, you will pick up things fast.

Sense of humor also helps immensely in crunch times...
Well said. Furthermore aren't most apps at the core actual CRUD apps? Surely, if we remove all those layers of abstraction that make an app feel pleasant to use, there won't be much remaining that distinguishes it from those CRUD apps. Isn't that the actual challenge?
Starting today, the internet is going to get so much faster
Designers and Developers – guide to a seamless integration
Cal is broken for Sept 1754
standard is a really bad name for this.
File manager Zen
They always feature DJI phantoms as the "example drone" on the beeb - and given that they can fly autonomously, follow waypoints, etc. "drone" is a fair moniker.

Agreed however that not all quadcopters are drones, just as not all drones are quadcopters.
I recently drove a European mini-van through Paris and it was a very tight squeeze... some streets were too narrow, and in one case a moped was parked 6" beyond the designated zone, which made the street impassible for me.

It was quite a fun experience, but in the future I'll rent a smaller vehicle.
If anything I guess Docker has become Go's killer application, even Microsoft is giving contributions to it as a means to help Docker run better on Windows.

I look forward if it can help OCaml as well, given their acquisition of Unikernel Systems.
Just FYI, on my iPhone 6S the date selector for scheduling your introductory workout is dark grey over a grey background....almost impossible to read.
Once, I was driving about 65mph on a state highway and a car pulled out of a farm road right in front of me. I had one or two seconds to react and swerve around them. They were probably going 10mph when I passed them.

I was driving a Toyota Camry. If I'd been driving a large truck, I probably couldn't have avoided the crash.

When I buy a car, I want to know both how likely it is that I can avoid a crash (manueverability, stopping distance, ABS, etc) and how likely it is that I can survive one if it happens. Both are relevant.

Consumer Reports' 2016 Automotive Edition had a lot of discussion about car safety. Most of it was centered on technology that helps to prevent accidents or make them less severe. Eg, if your car detects that you're about to hit something (Forward Collision Warning) and has Automatic Emergency Braking, you might not hit it, or hit it at 30mph instead of 60mph.

That could save your life. To say that the weight of your car is a safety factor but stopping distance isn't is just silly.
I have never thought of that. Very good argument. By choosing spaces over tabs, we open up ways for contributors push code.
You are neglecting the class of users that is the one of the oldest. The people that use it for illegal means. Until something comes out that approaches the financial stability of bitcoin (yeah bitcoin isn't great, but other cryptocurrencies are worse) and is harder to trace than bitcoin, bitcoin will be what is used for illegal online transactions.
As John Siracusa once said, Success hides problems.
Primacy of publication, unfairly in many cases, is histories yardstick. Sometimes so great a leap is made that the 'great thinker' model applies. It is generally highly useful to examine the context surrounding groundbreaking ideas for neglected valuable insights.
I suspect rearview camera/sensors are far better protection against bulldozing than small cars. No car is small enough to show a toddler under your tires.
> apart from few very specialized areas, you can do harm with bug but not harm/kill anybody

I'd still say that more bugs can kill people than you would expect. Many seemingly harmless bugs can be used (maybe chained together) to extract personal information out of systems, which is then used to prosecute people, or to justify putting them on a death list.

> and we all do bugs, don't we

Yes, sadly.
That was pretty much my point. Bitcoin has a solid use case (being a global currency) and Steam is exploiting it.
Credit to Wired for having said the same thing three years ago when the Mars Foundation first pushed the idea: http://www.wired.com/2013/02/inspiration-mars-foundation/
Except military UAVs tend to follow the traditional fixed-wing format rather more, as you can't fly a quadcopter halfway around the planet and keep it airborne for years. Yet.
> then run a poll to let the community produce a final ranking

Given the voting patterns on some of the Apply HNs so far, I hope that the voting ring detector on the poll is extra-strict. :P

(Fortunately, such patterns have been in in the minority of Apply HN submissions from what I've noticed, though.)
This is almost exactly like Microsoft's response to the ribbon criticism when it first came out. They were so proud of themselves that a handful of those buttons were used 30% of the time or whatever, but ignored the fact that another handful was used <1% of the time yet were still visible by default on the default tab.

Which is to say your justification is very much "75% of our interview process makes sense, it's only this 25% that you almost never needed any any previous job, you don't need at this one, and if you're self-taught you probably never learned in the first place, but we're going to ask you anyway because it makes the interviewer feel smart."
Trump Culture: Threat, Fear and the Tightening of the American Mind
Try doing some work in IT: I feel the management problems are usually the same (if not worse) and the pay is half if you're lucky ;)
Made me think of spiders on drugs: http://www.trinity.edu/jdunn/spiderdrugs.htm
How will "most interest" be defined?
The Most Important Financial Metric for Startups
Back in the day, there were few javascript libraries and none of them could handle differences between browsers consistently. This was when people had to "roll their own" javascript, explicitly use xmlhttprequest (ajax) and web development was a pain in the ass.

People will laugh when I say this now, but for a time GWT was seen as an AWESOME alternative. The proposition that you could just write java and just have GWT shit out html and javascript for you was incredibly compelling.

... until you started using it!
High school student builds interactive R class for the intimidated withJHU DSL
When you buy a car in the US, most of what you pay for is fancy molded plastic and attractive sheet metal work, cleverly organized by the manufacturer into trim level "tiers" intended to create maximum perceived value.

The package is then financed or leased with incentive financing and the sights are set on getting you to replace it after 2-4 years whether it needs to be replaced or not.

I think a 6 passenger mini-van could be manufactured for the US market (electric or gasoline) for under $8K if all the frills were removed.

This would entail simple, rubber bench seats, no radio (just a plastic bracket to snap in a smart-phone, which would also be used as a speedometer, and the smallest allowable engine.

I'd like to see an open hardware platform for car chassis, perhaps modeled after a successful platform like some of the 1980s Toyota trucks, designed to use abundantly available OEM and 3rd party parts.

Of course, self-driving electric cars might leap into reality before any of this is relevant, but once we stop owning our own vehicle, firms can focus on cost cutting for their fleets in ways that will usher in similar platform-style improvements that are difficult when people pick cars for aesthetic and emotional reasons.
Your username is well chosen - Tcl is a very underrated language. I'll wager they engineer rings around their competition. Good luck with the Java. You know it's the new COBOL right?
It's possible. It seems a lot of businesses I've worked for in the US really just don't have their shit together, or they have some weird "business fear" or paranoia that really impacts their employees in a bad way.
In other news: https://i.imgur.com/3ncet7I.jpg
Deprecating: java.util.Optional.get()?
Ah yes, will fix. Thanks.
So it's like www.isidewith.com except that it's about who you hate and you have to install it on your phone?
That's exactly my problem with bitcoin as well. I'm just elaborating Hearn's points here; but as it turns out the incentive for miners (in order to pay their mining) is actually a deflationary good (so the value of their mined coins keeps increasing). Unfortunately miners are also required for the confirmation of transactions.

On the other hand a global payment system would require a currency which is at the very least stable (and not increasing in value). But a stable value might not be enough to cover the expenses of most of the miners. Mining is already dominated by Chinese miners which happen to have access to the cheapest electricity - which incidentally completely undermines the aspect of decentralization.

In summary it seems that at this point a decentralized payment system just appears to be too expensive (computationally) to be any serious competition for currencies in countries with a well established, trusted payment system. It still might be of use in the developing world.
While I'm not the biggest fan of this style, mostly because of the semicolon thing, I like packages like these.

When you're starting a new project with more than one developer you're going to run into people talking about this stuff more than actually making the project. Pre-bundled linting rules just gets everyone on the same page immediately and stops all the discussion.

I honestly don't care what the style is, 99% of them are sane and readable, consistency is what matters. Nothing worse than working in a project with 5/no styles all over the place.
More like: If possible, then don't define a macro. You should use macros as much as possible.
Two space indentation is a deal breaker for me.
'Disruptive' means something worse and cheaper than eventually overtakes its more better, expensive competitors, like microcomputers versus mainframes.

Which makes the current market-winning electric cars, which are generally both more expensive and better than gasoline cars, not disruptive:
http://www.vox.com/2016/4/12/11394260/tesla-not-disruptive
those long bad days trying to fix a bug that you can't figure out and everything just seems bleak and full of despair, back aching from sitting badly at the desk all day trying without hope to fix the problem (because can't pull away just keep going), eyestrain, imposter syndrome - basically being in a bad and unrewarding relationship with your computer.

A bad day at the physical work was just cold, windy, hard work, muscle aches. Luckily I never got injured and I didn't know anyone that died there otherwise I suppose my opinion of the two works might be different. But I've worked other hard physical labor; for example - ditch digging - cold, muddy, and a real workout, less strenuous - washing dishes in a restaurant, bussing tables.

Again - all preferable to programming on a bad day of programming, maybe it's because when programming goes bad I keep thinking about it afterwards, the other work I forget it right away - hell, I don't even really think about it when I'm doing it.
Next atomic bomb on May 9 at 2 p.m. EDT (1800 UTC)
+ vultr.com

I really wish more people knew about them. They are great.
The reason Go is known for this is the gofmt tool. Until there's a good equivalent for JS, thousands of man-hours will continue to be wasted on style-related nonsense like this.
Oh, I don't so much fear travel to the US so much as I'd just rather not reward their behaviour with my oh-so-esteemed presence.
Just another Trumpist statement, how he's getting people to vote on him should worry all of you americans (and the rest of the world as well)
Why Founder Market Fit Is So Important
Where are you getting the information that stop/start is inefficient and costly for fracking? It's less than conventional oil wells. I've found a significant cost of fracking is establishing the wells.

If the price goes up that much, fracking is viable and will happen. The only way fracking is out of the equation if when low prices keep it from being profitable. Fracking presently functions as a cap on the price.

If prices vary wildly, then there are strategies to deal with that, and the variation needs to be explained. How does it come down so rapidly? Assuming healthy economics, probably because of fracking.

It doesn't make sense to say that market prices aren't demand driven just because other costs and factors exist. If suppliers will lose money at a given low price because of costs, eventually supply decreases and prices rise, etc.