skysight-inc/HackerNews huggingface dataset:
One of the most common causes of failures are cases that the programmer never considered. Once of my favorite test coverage tools shows you missed branches and I find that invaluable.

My initial reaction was "oh no" but as I thought about it, this explicitly indicates that the programmer actually thought about a case.

And is it any different than what most of us do in our unit tests? If we're expecting an exception that isn't thrown or the wrong exception is thrown, we force a test failure.

One of the goals our team is working towards is more robust and complete metric and log collection. We specifically want to capture exceptions that make it to the application server for analysis, but this assumes that the developer has a) considered all cases and b) caught intermediate exceptions and continued processing (or abort).
Expect some kind of power analysis. I'm guessing key extraction of some kind.
> idk say a bee colony, as constituting a single organism.

Humans try to classify collections of matter into coherent objects. Otherwise there would be no way we'd be able to understand the world without that abstraction. But you live in that world long enough, and you begin to believe that reality neatly fits into the categories, however the categories exist only in our minds. But you can always make the categories break if you push them far enough. Plenty of philosophical discussions are really just about definitions of words and not anything 'real': Does life begin at conception? Is Theseus' ship the same? Is a bee colony a single organism?

From http://www.paulgraham.com/philosophy.html:

> Outside of math there's a limit to how far you can push words; in fact, it would not be a bad definition of math to call it the study of terms that have precise meanings. Everyday words are inherently imprecise. They work well enough in everyday life that you don't notice. Words seem to work, just as Newtonian physics seems to. But you can always make them break if you push them far enough.
This surely must be some sort of service utilising space capacity akin to OSH Park.
Sod national, I'm talking about corporate. If my company mandates that all code must be written in Lisp, then that's what I'll do. If they mandate all monetary values must be stored as USD then that's what I'll do. And if they require that all code must use the metric system - with display options to convert to imperial? Thats. What. I'll. Do.

I don't care what the coding guidelines are - I only care that they exist. [within reason]
I never felt unwelcome, but I think there are some incompatibilities between German and Turkish cultures (and I would rather not generalize them as Western vs Eastern) which one needs to overcome before feeling totally comfortable. Another reason could be overzealous repetition of the word "integration" making the same effect on immigrants that the word "rule" makes on teenagers.

Also, I wouldn't discount monetary, climatic and religious reasons so easily. I'm a theological noncognitivist and have thankfully no serious financial issues but sometimes I think about moving to somewhere with a nicer weather - especially in those depressing-weather days =) The best candidate would be then Spain but well, I really like it here.
Or even billions of years, if you consider bacteria. They span enormous areas and reproduce so quickly that it does in effect act as a broad information network, just not in a way we would call sentient intelligence.
What, do they have to be identical to make the comparison? I could refer to Putin as the Russian Erdogan, but Putin was there first.
Now we're talking. I don't expect it'll ever be as smooth to develop with Rails under Windows as it is under actual Linux, but if it were as good as OS X, I'd say this was a success. But, then again, maybe this subsystem really will make it feel native. As a matter of fact, this was the only use case I could come up with to test the implementation of this announcement. I'd like to think that I speak for enough people to make it worthwhile to suggest that you should do a writeup on your experiences with this. I'm strongly reconsidering letting my main machine re-upgrade to 10 to try it, but it works really nicely for gaming right now, without any other cruft. ;-)
I wish they would still use Scheme in intro computer science. It's so obvious in that language what is and isn't pure functional.
MacBooks are outdated, underpowered and overpriced
>"Ok, now how to make these phones even more secure?"

Or more likely how to _market_ the next round of phones as being more secure and whether claiming the upgrade is essential for businesses ("our old phones are all broken now, you must upgrade") will lead to a gross increase in profits or not.
How to Not Sweat the Small Stuff (And It's All Small Stuff) – 3 Book Lessons
Honestly isnt that the perfect example how a lot of comments make code actually way less readable?

The code is pretty cool tho :)
BoldPort (https://boldport.cratejoy.com/) recently had some excellent boards made up with European Circuits (http://www.european-circuits.co.uk/).
Because, it was all fun and games until a hacky "arab spring" like attempt in 2013 summer and later Gulenists decided to take government down at the end of 2013. Even though Government won the battle it was a strong blow. Government went into deep paranoia and now doing things like paranoid fools.
Also one of the intelligences encountered in Diaspora by Greg Egan.

Actually, they just meet a localised handling agent that explains that they work for a star-spanning sentience - which is something the characters had been considering as a way of making themselves robust against civilisation-destroying gamma ray bursts, but dismissed on the grounds that it made everything so slow - though that links into the other theme in that book of simulated beings existing on very different timescales.
The Mac gaming boom
My pleasure :) Even though I'm fully bought into the functional and immutable idea (I have a couple of fairly popular libraries bringing the functional world to C# [1][2]), I still like to watch this video from time to time.

The clarity of thought and the way he communicates the ideas is really impressive. Especially the notion of immutable structures being about managing time, and that's why the original blog is wrong. What he seems to totally miss is the fact that with immutable structures you can keep the old world and the new world: not collided and collided. And then step back in time to the not collided state. It gets far too bogged down on implementation attempts and doesn't think about the problem conceptually.

[1] https://github.com/louthy/language-ext

[2] https://github.com/louthy/csharp-monad
So has something changed or was I just 'lucky' before, because for the first 10 years of my career I almost never ran into these whiteboard/skillz-tester type of interviews. And never into a "we take your life for the day and drill you with multiple teams for hours on end, oh and also you have to point us to a very illustrious github and stackoverflow portfolio."

It was usually just a phone screen, an in person, a few questions to see if you were full of shit, and then call references. Ta da!
Thanks for ignorantly speculating, but over 300,000 nsl's have been sent over 10 years. So, no.
Is there something that makes 12 special? I am no expert in music theory, but I can imagine that it could be useful that 12 has many factors: 12 = 2x2x3. Since 19 is prime, would that be a bad choice?
If EU were decent, they'd delist Erdogan's enemy the PKK from the terrorist list. The PKK could teach the EU how to improve European society: (http://edition.cnn.com/2016/03/30/opinions/rojava-kurds-syri...)

Not to mention the PKK would obviously help end ISIS.
A 52-year-old tech journalist went to work for a startup. It did not go well
Nothing stops then from making architectural changes that is in conflict with how native Linux systems behave, which the Linux community is unwilling to adopt.
FeatureToggle (2010)
To expand on this, it's exactly a thousand little ways that add up. In your day to day business, like an an African American, there is no visible discrimination, but in any case of disagreement one party quickly pulls the you're-from-the-other-tribe card. Goes for both sides. I stood by when a Turkish friend got accused by a German-German to be a sleazy Turk who lives off the state (which he clearly does not), just because he was trying to reach consensus in a conflict. I don't know if I could have stayed calm if it had been me being singled out as a lesser German citizen. In essence, a thousand little and unremarkable experiences do add up, and this is a major reason why the youth would seek refuge in groups that accept them fully but like Neo-Nazi campfire events it's mostly Rattenfaengertum.

I like to think it's all because of missing proper education (not mis-education), which has to start with the parents.
Using github to search like this reminds me of how a CS professor of mine would show the "best commit messages of the year" (homework was submitted via git) by looking for various patterns like all caps, all symbols, etc.

http://www.slideshare.net/bsotomay/uchicago-cmsc-23300-the-b...
How did I not know that existed? I love both Douglas Adams and Tom Baker (and once met Douglas at Sydney University and was literally dumb-founded).

It's typically prescient for Douglas, and I feel even more sorry that he's not around today to enjoy, and shape the way technology has progressed.

Now I'm melancholy... Time to re-read some Dirk Gently!
The difference between an 'expat' and an 'immigrant' is that an expat made their choice from a position of strength and an immigrant made their choice from a position of weakness.

That's really all there is to it, everything else is exactly the same. Though usually people from wealthy countries would not like to be known as 'immigrants', they are expats, of course.
Soundcloud Go compensate artists on invite-only basis
You don't need to have great soldering skills for surface mount components. The easiest way to solder surface mount is the "solder stencil + solder paste" method (for want of a better term). You create a solder stencil to match the pin layout, place it over the PCB pads, apply solder paste, place the component on top then melt the solder (if you'd be doing multiple batches it's easy enough to modify a toaster oven to do this).

Solder stencils are also easy enough to create, especially if you have access to a laser cutter.

Are there any hackerspaces near where you live?
Royal Dutch Shell is a big employer in NL and NL has a good part of the North Sea field (they were pumping so much gas from the NAM field it caused earthquakes!). I can't see the canny Dutch doing something to harm themselves.
I, for one wouldn't be welcoming a country in EU that is now committing genocide against the Kurds for almost 3 generations.

I also wouldn't be welcoming a country that refuses to acknowledge the full independence of another EU member state (Cyprus).

If you want to play the racism/xenophobia card and pretend that these are not the big issues we have against Turkey in EU go ahead, but I can't tell you that you are not convincing anyone.
Given that most users in the world fut that description perfectly, I'm quite glad that Microsoft adopted such aggressive auto-update policies. I try not to use Windows if I can, but I enjoy living in a world with less botnets.
How to Select the Right Prescriptive Analytics Technique for Your Business
How do you feel about using a toaster oven? I've had some success using a DIY reflow oven and pick-n-place by hand. Haven't tried 0201's, but 0402 resistors and 5mm QFN packages go pretty well.

Just don't use lead free solder.
Yeah, I think there's probably a middle management trap in a lot of organizations where they want you to have an MBA for a director of product management role, but for a vp of product or cpo job they're actively recruiting the exact people they want usually based on job experience or prior success.

I think I skipped over that because I got acquired into the middle management role, no resume or job spec required.
Search for "WTF", results by language

C++ 2.4M
C 400K
Java 150K
...

Sounds about right.
Major UK Supermarket Opens First Cashless Store
Lack of interstellar travel / stellar engineering == locked in syndrome?
Erdogan is not an idiot for trying to censor German press. He does know that that won't ever happen because he wanted. But most the voters of his party will be excited to see him shouting at the Germany, the US, etc. This is not that obvious to the opposition. I came to know some supporters only recently, and boy, they have arousals when the guy acts like this. I'm a Turkish citizen BTW.

And see, criticism of Erdogan is not really forbidden. Criticism in its every form is forbidden, if you're powerful enough. Criticise Ataturk, and what happens? Lawsuits, and you'll probably be jailed (1). Say that the Armenian Genocide happened, you'll be jailed. Criticise the party leaders, and they sack half of the party, e.g. the recent MHP situation.

Erdogan does not like criticism, but it's our culture that allows him to actually enforce a surpression thereof. There was a guy who reported his own wife because she spoke pejoratively about Erdogan. Here there still is a godly ruling class, the class of devlet buyukleri. Until they become merely the citizens with the duty to decide for us for a limited time and with full responsabilities, the status quo will go on.

(1) A very recent example is the havoc against a documentary that criticised him.
For-in array can be implemented using ES6's for-of.
https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...

Also, Not sure if it would be correct to implement a python dict using an ES6 map. If the keys are all strings, probably better to stick to a JS object.
Check out the performance difference:
http://jsperf.com/es6-map-vs-object-properties/73
I actually thought about putting democratic in quotes but then decided that could steer the discussion further off topic. Rest assured that the irony is not lost on me.
Here's a complete web game a mate and I did for global game jam this year in less than 24 hours from scratch using ClojureScript and core.async targeting pixi.js.

https://github.com/retrogradeorbit/moonhenge

It even has multiple weapons, enemy waves and an end sequence if you complete the game!

The code is not as clean as it could be. For instance it has many more atoms than it needs and lots of code that could be simplified and re-factored. But time was extremely tight and it was a massive rush job.

But even so in the end it came together seamlessly with no weird bugs or crashes of any kinds and it is rock solid. I attribute this to the immutable data structures and pure functions used. I've done games before using mutable OOP and in my experience they never come together this easily or with so few bugs.
I'm a little horrified to suggest this seriously, but this could be a cool way to accomplish consistent field validation between server and client.

I wrote this little library https://github.com/fuhrysteve/marshmallow-jsonschema#complet...
to convert marshmallow schemas to a JSON representation with the intention of passing it to a browser or mobile device for rendering. Imagine if you could also pass native code to be used by the client for validation. In other words: write your validator in python and use it server side - but also convert it to javascript so that the client can attempt to validate it before bothering to send a web request.
Check out the docker app for Windows (Beta now). Pretty sure this is the road they are heading.
When I have political discourse with people the aspect that makes me the most irritable is the implication that it's simple. Politicians are corrupt, stupid, or both - and if they'd just do "x" everything would be better.

Even when politicians do the right things (get a panel of experts to write a detailed report, and then try to act on the findings) - headlines contain only the barest hint of the depth of the analysis and the findings are chastised by various ill informed commentators who don't even bother to read the damned reasoning.

I actually feel sorry for those trying to govern.
In C#, I tend to use the built-in InvalidOperationException class -

https://msdn.microsoft.com/en-us/library/system.invalidopera...
I usually annotate should-never-happen asserts by the most plausible explanation how it _could_ happen, for the sake of some poor guy unlucky enough for having to debug my code.

E.g. "Should not happen — probably a bug in Apache Commons Math?"

Or "Shouldn't really happen, barring compiler bugs or cosmic rays"

As they told us, there is no such thing as probability of zero.
Edit, guess I didn't do my research on the scope of what a warrant allows to be done.
There are a lot of similarities though. Both trying to be president for life, having huge palaces, throwing reporters in jail, corrupt, somewhat popular at home and so on.
Show HN: Underdog.io Remote – The easiest way to hire remote software engineers
>Nice, instead of supporting the PCB business 5 miles away, send it to China.

I don't see why he should support somebody who charges 5x the competitor.

Im not gonna pay $20 for a jar of peanut butter because the factory owner lives 5 miles from me.
Generate Test Data for Oracle Database with New Tool from Devart
I must say I don't understand your position. You adopt a definition of "race" so extremely narrow that it doesn't describe anything in the real world. Then you use the term "cluster" to describe the same exact concept that most people use the term "race" to describe. Finally, you call people racist if they don't s/race/cluster/g.

Why go through all this wordplay just to define most folks as racist? Why not simply adopt the common usage of the word "race"?

And with this definition of racist (uses one set of jargon rather than another), why should we care if someone is racist?

(I say your definition is uncommon because most people use "race" to refer to what you call "cluster". For example, the US Census asks for "race" rather than "cluster".)
It was always as religious. Just the army and the secular order it imposed prevented the religious people from rising trough the society ranks.

Which of course fueled Erdogan support ...
Python lists are supported:

* as literals;

* in for loops;

Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....
I can't tell if you're being serious or facetious.

A given moral rule doesn't change because it's held by you versus someone else. Just like it makes no sense to refuse to answer the question of whether a fruit is an apple because it is in my hand instead of yours.

In other words, by having a moral rule yourself, you implicitly have a moral metarule: a rule about how to choose your moral rules.

Your refusal to answer the question doesn't make sense.
Immutable data structures look awful in mutable languages; also, the performance is worse.

Still, don't confuse syntactic overhead with the general usability of an idea. Writing a['x'] += 3; would be godawful in pure assembler, but we still use hashmaps, references, variables and operators daily when it's easy enough to do so.
You can certainly experiment and innovate. Nothing about agile stops you from adding an issue to spend half a day investigating the right tool to solve a problem, or implementing something two different ways to determine the best one. But by explicitly defining that objective and blocking out time to do that you de-risk the development process related to it.

These "extreme" processes force you to define the motions (issues, work tasks) and allow you to practice getting them done using the same process over and over again.
// And a `tokens` array for pushing our tokens to.
var tokens = [];

// We're going to create a `value` string that we are going to push
// characters to.
var value = '';

Sure OP tried to be super descriptive but there a few comments that you simply don't need at all with at least nice a little understanding.
I'm with you. Why is it that the immutability path always requires endless amount of streaming-here, streaming-there, parsing-this, generating-that, &etc. Methinks there is a cargo cult factor going on .. at least in this case.
Probably a huge "hope" but it would be cool to see Microsoft move towards releasing some sort of windows/linux hybrid O.S. to rival ubuntu that could run linux and windows software. -- Perhaps make it foss but have some sort of premium app store with fee/split for devs like Apple to pay the bills instead to get it out there.. -- that could make me go back to Microsoft from ubuntu (as I abhor using WINE, so just don't use MS software - but I'm a developer and linux just works better for me.. ).
Well, it is listed under "Ramblings". I don't think it was written as an article, it's just a blog post that could help out someone looking to do the similar.
Related: https://blog.glyphobet.net/essay/2557

By the way, I prefer Javascript's scoping rules over Python's. Also, it is easier to create a lexical block in Javascript than in Python.
Anyone considering doing similar in the UK, try ragworm [1]. Low cost (and cool orange) PCBs. They are trying to position themselves as the community PCB provider who you should go to for low-volume jobs e.g. kickstarter prototypes, hobbyist projects, and presumably are hoping that those early prototypes grow into big orders for them.

Turnaround is 10 working days because they presumably combine lots of people's orders at once then cut them out.

I've had good experience with them but the big downside is that the front-page prices are for two-layer only. Also, obviously if you need them faster then try someone else. Their website is a bit odd too.

[1] http://ragworm.eu/
That sucks. But (Desktop) Chrome/webkit selection has been partly broken too for a few years now.

https://bugs.webkit.org/show_bug.cgi?id=66630

https://bugs.chromium.org/p/chromium/issues/detail?id=346613

I've been dealing with this stuff for the last week.

Edit: added webkit reference
But there's a risk I'll become stuck in an infinite loop of writing shit! this should never happen shit! this should never happen shit! ...

and so on. Still it would be a change from writing bad code.
Really ? I always thought them as synonyms and "Software Engineer" as a more "upscale" title (which is kind of stupid, IMHO).

From Wikipedia:

"The term programmer has often been used as a pejorative term to refer to those without the tools, skills, education, or ethics to write good quality software. In response, many practitioners called themselves software engineers to escape the stigma attached to the word programmer. In many companies, the titles programmer and software developer were changed to software engineer, for many categories of programmers."
Artsy's Engineering Organization Stack, 2016
"the AlphaGo algorithm, this is something we’re going to try in the next few months — we think we could get rid of the supervised learning starting point and just do it completely from self-play, literally starting from nothing."

http://www.theverge.com/2016/3/10/11192774/demis-hassabis-in...

(This is why I take exception to the claim in this blog post that the supervised training data was critical to success...)
OMG best answer. Thank... you!
The EU was designed with lots of hops that a country had to jump threw but because for political (even idiological reason) those things always gets ignored if they are in the way of the larger planes. Greece for example should never ever have been able to join the EU given the rules that existed and we can see how that turned out.

The EU simply has very little oversight of internal politcs of countries and because there is no way you can be kicked out, once you are in, you can do pretty much as you want. That is, as long as you don't need massiv amounts of financial aid.
Solve the 3 Top Information Fragmentation Problems
aaand naturally javascript is right up there in the top languages where this is found.
I wrote a bigger comment too but Ragworm do (pretty cheap) 2-week turnaround. Only 2-layer by default though, get in touch with them for more.