skysight-inc/HackerNews huggingface dataset:
The Google c++ styleguide[0] has some examples, in general and specifically for files, functions, etc. Looking over them most are pretty objective so maybe it's worthwhile to come up with some usable rules that enforce qualities you notice readable code shares, even if they aren't completely comprehensive.

[0] https://google.github.io/styleguide/cppguide.html#Naming
I disagree; it's modern in its sensibilities about which features to restrict in order to fulfill its design goals, and it is informed by experience distilled from millions of developer hours at large companies since Java was designed.

Go will never have functions (well, this is a class in Java) like RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory, an actual apache xmlrpc server class name.
Whether they bury themselves or not depends on impact speed, soil conditions and angle.
They just closed $18B in revenue in the past fiscal year. Even if they successfully began selling hardware and were making twice that, they'd be idiots to give up that huge, huge income stream. Their investors would kill them, and for good reason.
That was long and rambling but I think the summary is that when you try to make the world a better place it does not yield all to easily. And sometimes you are ok with that but sometimes your stamina is running low. Managing stamina is important and just as important is managing hubris - I am reminded of the anecdote about Plato told by NN Taleb. Plato was offended by the fact that most humans are naturally right-handed and not ambidextrous because that is woefully asymmetric. I guess even the most able people are often offended by the wrong things.

Michael has made the world (well at least a small part of it) a genuinely better place. I think he deserves to chill out a bit before returning to his attitude of caring too much.
Cities are pretty messed up when clicking around - for example my home town of Livermore CA is nearly impossible to find as most of the region comes up as various formerly unincorporated towns that haven't existed for decades. Ex, Ulmar and Trevarno...
It is somewhat frequent for the buyer to be local, and the money to come from overseas. Son buys a house with his dad's dubious-origin money.

And given the lack of required information & intentional ignorance ("so, Mr. Boriskypov, would you describe yourself as an oligarch?") I'm not sure how that dataset could reliably identify "international" purchasers.
eslint is great. Through plugins it supports ES6, jsx, etc. Also, automatic code fixing.
Slight quibble: the token is just authentication. The authorization is done by the pad. Granted, the current scheme grants the access authorization to any authenticated tag, but that could change if butt-thentication took off.
I should have been more specific by stating the difference between a dumb digital thermostat as I was describing, and a truly analog thermostat like the Honeywell T87.

A dumb digital thermostat is just a thermocouple and a relay, which you could rig together with very little EE knowledge and a weekend with an Arduino.
I wonder if a more fruitful attack target than the lights in other rooms might be the android switches themselves. Even cheap commodity android tablets contain cameras or at least microphones. There's almost certainly a remote update interface on them of some sort.
How does that help? We can build really nice trains to low density suburbia?
Catching Einstein in an Error
Why do you think the results of competitions with toy AIs can tell you anything about DeepMind?
I briefly had mine as "ayo computa" on my Moto X. That phone was the perfect size and shape. I miss it dearly :(
The author seems a bit conflicted on whether he likes or dislikes types.

First, to say that "Types are not nearly as critical to front end development as some will have you believe" misses the point of types. Every programming language has types, even dynamically typed languages. As a programmer, embracing that types underly the code's meaning affords much more power to write clean, correct, and elegant code. This argument stands regardless of the type of programming; types underly code.

On the other hand, there's his remark, "TypeScript tries too hard to make JavaScript like C# or Java." (You claim that this is an unfair complaint against TypeScript. Would you care to elaborate what you think TypeScript's purpose is?) Personally, I feel similarly when working in TypeScript. Sure, the compiler can catch a few things, and it's certainly a step above only runtime type checks, but the type system itself is fundamentally flawed.

The type systems of Java and TypeScript are actually quite similar, so I'm going to refer to them both here. Neither language has a really good idea of what a sum or union type looks like. Consider doing math, but you can only multiply. Sure, it's possible to hack around some things so that you get the same results, you're doing a huge song-and-dance just to say that what you really want is this plus that.

Type systems like those present in Java or TypeScript (or, as it turns out, most mainstream languages) that lack unions end up leaving this weird aftertaste.

So my takeaway here is that we can do better. Certainly writing Java or TypeScript eliminates classes of bugs that Python or JavaScript are susceptible to, but let's keep pushing. We owe it to ourselves to strive for much better more expressivity in our type systems.

I'll use TypeScript over JavaScript for now, but I'm always keeping an eye out for technologies that raise the bar.
German is the Java of human languages.
The problem with React is its patent rider. React.js comes with a BSD license, but has a patent rider that gives you a license to React's patents.

The obvious next question is: what patents are necessarily infringed in the first place, just because you used React? It's a useful tool, but even if Facebook have successfully acquired relevant US software patents, it's hard to believe there's anything significant in there that had no prior art. GUI programmers have been specifying presentation details declaratively, using templates, and bundling updates for performance since long before the existence of React (or Facebook, for that matter).
Go and Atari games aren't anywhere near as complicated as a RTS. Plus, players create new patterns on the fly. Even if it wins, then it won't have beaten us by far any more than it does with Go. I didnt have to see a million pro games to win at StarCraft or any other strategy game. I improved with thought, some tips from pro's, and limited amount of experience.
Let me take the opportunity to repeat myself.

We need a "professional-courtesy" license. Something like a GPL on steroids that can only ever be distributed as tarballs.

The minute to pass a binary around, the minute you try to deploy with any sort of devops, etc, you have just opted-in for a commercial license, which requires a (modest) yearly fee.

This way, your generosity will gain jobs for a fellow hackers somewhere. Takers still can pay for the benefit of convenience, though.
An Introduction to the Web Bluetooth API
Ember barely gets mentioned and includes each "piece of modern web applications" OUT OF THE BOX with a great support community. I love not making all of those decisions and doing all the integration BS work. Ember feels like the worst kept secret.
The trick is to realise that thanks to the rise of "early access" in indie games, "alpha" means release, but released absolved of any sort of commitment to continue to develop the game or ship quality software. Final "release" versions are often really "end of life" _final_ versions with no future expansion.

It's not to say that many indie (and not-indie) devs produce good games under this model, it's just there's been a huge shift in what players and developers expect from each other, as well as how they market it.

Similar parallels can also be drawn to the pre-paid kickstarter systems which were originally intended to help pay for upfront costs like manufacturing, but are now really used as risk-management tools to help ensure a certain number of sales before a project starts in earnest. There's no reason Peter Molyneux should need to ask players to pre-fund a game [1] of unknown quality and even scope, for example.

[1]: https://en.wikipedia.org/wiki/Godus
The solution is simple: let every user choose a name for their assistant on setup.
Product Management via PhD: did it even help?
> It doesn't want to be Haskell or Lisp, those languages can be very hard to use and maintain for junior developers in large teams.

Can you expand a bit on the difficulties that these junior developers had with Haskell?
This Is What I Do Before 8 AM
The dataset was from a real estate company's reports from individual realtors. I'm confident the realtors know the origin of money.

I think a more appropriate criticism would be to focus on the narrow class of purchases (cash only) or small sample size (n=300, though the company represents 10% of the real estate market in the SF Bay Area). Unfortunately, it's the only published information I could find.
My guess is that this was outsourced to some big agency that tried way too hard to design something cool and unique. What surprises me is that the internal Google team would look at this and find it acceptable. Anyone know which agency did it or if it was in fact an internal team?
They showed that a complex game with complex, adaptive opponents working in real-time with limited info doesnt work with any known technique. That means my position is the status quo until DeepMind shows otherwise by toppling amateur and pro human players without full map visibility.
> But that's as far as it goes.

You, the store owner, may know that; but how do I, the customer, know it? How do I know you aren't selling data from that CCTV camera to others, who don't own your store and don't have the use for the data that you do? Even if you aren't doing that today, how do I know you won't tomorrow, when someone shows up with an offer you simply can't refuse? And so on and so on.

You're right that this is a sad situation, when people's desire for privacy means cutting off access to data even for the (few, I suspect, but still...) store owners who actually want to do something with it that might benefit the customer. But it's what we have. If you want to know where to put the eggs, you'll have to figure it out some other way.
The current version on their website is 0.12.26 (alpha).
In other words, choose the middle finger?
Yeah, I read their explanation and don't really see it. Sure, if you're typing something out you don't need to hit the space key as much, but... meh.

I meant unwieldy in the sense that they have a lot of syllables. I assume Germans can pronounce these words without tripping over them.
Let's see, schadenfreude, oops. Try again: zeitgeist, drat. I'm coming up kaput. Mox nix anyway.
These Drone Photos Show the Density of High-Rises in Hong Kon
> Unless you’re working on a legacy application or have 3rd party libraries that depend on it, there’s no reason to include it. That means you need to replace $.ajax.

> I like to keep it simple and just use fetch. It’s promise based, it’s built in Firefox and Chrome, and it Just Works (tm). For other browsers, you’ll need to include a polyfill.

I laughed. Is this satire? There's no reason to have X, therefore you need Y and Z to replace X. It just works.
RFID!=NFC

NFC is a specific kind of RFID which uses the ISO 18000-3 band for communication over short distances. There are many other types of RFID, which can have much longer ranges.
SC2 is a 1v1 game and extremely competitive.
And of course Dilbert: http://dilbert.com/strip/1994-04-24
Out of curiosity, what is the current state of Unity games running on OSX/Linux environments? I recall that you could compile with Mono for cross-platform support, but I'm curious if the recent cross-platform support of much of the .NET CLR has made it easier (or more stable, etc.).
To be fair, the city has enacted some rather ill-conceived regulatory changes to encourage tech growth, most of which should probably be reversed. It's not about shaming...it's a matter of good public policy.

It makes no sense to me, for example, that we should be giving tax incentives to developers to convert buildings on Market street into office space. Why not apartments? Or how about the fact that we're incentivizing large companies to hire more employees in the city? Or that we're looking the other way while startups colonize all of that shiny new residential construction? (Aside: one of the under-reported scandals of this boom is the number of market-rate apartments that are being used as offices. Who can afford a $6,000 one bedroom? A startup office.)

It's hard to argue that these are intelligent responses to the growth crisis.

I think this is a bubble and it will eventually pop. But we could be doing more to manage the explosion in the meantime.
Superagent has flaws. It doesn't support promises out of the box unfortunately :(
We've received a complaint alleging that this comment is a fabrication.

Obviously we're not going to delete it, but I think it's fair to attach a caveat lector.
Ah I see. The OpenAPI specification for the interface description language and the auto-generation tools are actually two separate entities so I'm not sure it would make sense that they put examples for a specific auto-generation tool in the official OpenAPI repository.

It seems like the best supported tool for generating client and server stubs is Swagger Codegen. Version 2.1.2 seems to support the OpenAPI 2.0 draft spec.

http://swagger.io/swagger-codegen/

http://swagger.io/getting-started/
He did put a disclaimer at the bottom to use only what you need.
Technology for technology's sake is a real shitshow and a big problem.

I was in my friend's Honda Pilot the other day, which has the new trendy big screen interface to replace the radio. I'm sure it is insecure junk, but more importantly it is a nightmare for humans.

I have a BS in CS, have developed some enterprise apps, run major complex tech programs successfully, and could program my dad's VCR in the early 80s. And... It took me nearly 10 minutes to figure out how to turn off the radio on the weird touchscreen.

To turn the radio on requires 4 clicks, and the key button is on the corner of the screen, where it is least responsive to touch. I would probably be safer driving with my knees and texting with two hands than controlling that radios.
For a bijective base:

7 bits -> Decode 0xxxxxxx and add 0 (unchanged)
14 bits -> Decode 10xxxxxx xxxxxxxx and add 0x80
21 bits -> Decode 110xxxxx xxxxxxxx xxxxxxxx and add 0x4080

In a non-bijective base vs a bijective base:
7 bits encode 0 to 2&7 - 1 vs. 0 to 2^7 -1
14 bits encode 0 to 2^14 - 1 vs. 2^7 to 2^14 + 2^7 - 1
21 bits encode 0 to 2^21 - 1 vs. 2^14 + 2^7 to 2^21 + 2^14 + 2^7 - 1
...

In the bijective decoding routine, you need to special-case the maximum length case to check for numeric overflow.
The german language has long words simply because its written form (orthography) doesn't require spaces between the elements of a noun phrase.

So whereas in English we write "law school entrance examination test requirements", the German written transliteration of that will string the words together without spaces.

Calling that a "word" makes a strawman out of the concept of a word.
Spelling mistake prevented hackers taking $1bn in bank heist
The obvious problem with this interpretation is that it doesn't matter if a patent contains anything significant. How much cash you have and how long you can endure the	uncertaintities which come with a legal confrontation with facebooks lawyers are what matters.
Fundamentally, English is a flexible enough language that if any of these concepts became common enough they would become ordinary words (probably lifted directly from German).

This has actually happened, for example Blitzkrieg (commonly the "blitz"); now this does not simply mean "lightning war", it very much references a particular part of a particular war. Also, Zeitgeist is used in English, but doesn't simply translate to "spirit of the time".

Often such compound words mean more than the sum of their parts (as I guess the OP kind of meant), which is what makes them interesting to other languages. OTOH, it seems pretty rare these constructs actually describe something that English doesn't have a word/phrase for already. In fact, I would say that its not so much that German has such constructs in their language that makes them interesting, and more that as a different culture they have different words to describe different concepts.

Edit: I should probably point out that I am a native English speaker that can speak fluently Norwegian. "Ohrwurm" and "Wunderkind" are such nonsense examples in this case; they are literal translations (just without the space, and are understandable from any Scandinavian language), and they are pretty much anti examples. Using foreign words that mean exactly the same as the English equivalents is nothing but pretentious, and doesn't support his central argument at all.
All the more reason to support the Turris Omnia [1]. Open hardware / software [2]:

[1] https://omnia.turris.cz/en/

[2] https://github.com/CZ-NIC/turris-os

[3] https://www.indiegogo.com/projects/turris-omnia-hi-performance-open-source-router#/
YouTube now shows "An error has occurred" while ads running
I don't get it. Why does everyone need to live in San Francisco?

The real story here is poor commuting infrastructure. Not enough of it and the existing is slow or unreliable.
You don't see actual scripting languages on HN every day.
a) Continue reading the Wikipedia article until section 'Common Names' and note that they're closer to dolphins than to whales.

b) Both the original article and Wikipedia mention that Orcas vary quite a lot and are even considered different subspecies or species, depending on the person you talk to. Wikipedia (section 'Types') lists 'Residents'. They eat fish.. No seals are involved. They're "killers" (if we're looking at the targets they hunt) like .. dolphins. Or Tuna, really (eating fish and squid as well). Killer Tuna?
How does it look on retina/hiDPI displays?
> You will need to swamp SFBA with housing (tens of thousands of new units a year) in order to drive down market prices.

Ok, when do we start?
Don't be bummed :) The point was that there's no "obvious" solution. Something released in January needs a bit more time to become an obvious go-to. Doesn't mean it's not great or that it won't.
Measuring time intervals in years for everything JS related is to imprecise. "State of the Art in 3/2016" or at least quarterly would make more sense.
Well, the important difference is that German has actually simple, clean rules for spelling in those cases.

Why does english make a difference between housewive and middle school?
Thanks; it was good to reread those patterns. I wonder how the trajectory of say a life stage like http://www.laputan.org/lifecycle/lifecycle.html#Consolidate is affected if some or all of the people responsible for previous stages left in the interim.
sitzpinkler! I had no idea this was actually a word.

15 years ago, when I was a young man in my early 20s, I lived in the top floor of a house, sharing that floor (and that floor's bathroom) with two other people: a German chap, and an English girl. Fast forward about six months and somehow one day a conversation took whatever turn would be required for it to be appropriate for me to say: "Well, I almost always leave the seat down, because I almost always sit down to take a piss." Cue a sudden burst of laughter from the German - who says they don't have a sense of humour? - because it turned out he did exactly the same thing. Good to know it wasn't just me at least, I suppose.

"Well" said our floormate. "I always wondered how such a pair of inconsiderately dirty bastards were still so consistently good at politely leaving the seat down."

There were 3 men in the house, and the 3rd man would occasionally use "our" bathroom. So the very next day the German guy put a sign up on the door in order to keep him out. SIT PISSERS ONLY.
Great question. I'd probably look into something like Sysdig Cloud that can collect that information through its own agent, or one of the tools mentioned by seanp2k2. I do also agree with his point on edge cases though, it should be the goal for the majority of your infrastructure while still allowing for edge cases.
Which is an awesome concept, if the alternatives are PHP (english).
‘Realities’ Jaw-Droppingly Detailed Photogrammetric VR Environments
Plastic Eating Bacteria
Thanks, I'll check it out. My proof-writing is definitely shaky. I can clearly see the relationship between programming on writing proofs, but I can't get immediate feedback on the validity of my mathematical proofs like I can with code.
Bootstrap's styling does not need jQuery. Only some of the interactive parts require jQuery, like the tooltips, collapsibles and modals. If you happen to use Bootstrap requiring only the styling, grids and all, the JS is totally optional.
Yeah, I had good fun building a Polymer frontend for my weekend project, Secureshare. I got around some of the data binding shortfalls with polymer-signals.

It's been probably 2 years since I did it, so I'm sure there are better solutions - but I liked it as a dev environment. It's somewhat opaque, though.

https://github.com/STRML/securesha.re-client/tree/master/pol...
Did you read the full article? The author then proceeds to explain how German allows for more complex constructs than just concatenating two nouns.
As an aside, the Sorcery games referred to here are very faithful adaptions of Steve Jackson's Sorcery! adventure gamebooks, the pinnacle of the Fighting Fantasy series and total catnip for the eight-year-old version of me. Buying and playing them has been a huge nostalgia trip.
eslint also has auto-fix support to some extent. I don't know how far JSCS pushes it though.

The biggest thing is that whenever something new pops up, you can get an eslint plugin to lint it (eg: it took a wh ile for jshint to be able to take JSX or even just ES6 syntax, while ESLint got plugins for it pretty quick).

I think (don't quote me) that eslint is starting to have pretty cool Flow hooks, too.
The Author is 1/2 Right

>The answer is to build. Build more fucking housing, just like Nolan says. But the answer is also to zone: To take away land-use decisions from neighborhoods

that is where the statement should end, Take away land-use decisions from neighborhoods, and put them in the hands of property owners, if a developer wants to build something on land they legally acquired, then they should be free to do so even if the neighbors do not like it
That's the SFO optimized solution.

Fortunately, the market isn't just SFO. Eventually the prices are so out of whack, and the governance and tax structure gets onerous enough that people and businesses head off to other places. New York City and State circa 1965 is a great example of this phenomenon.

There were sleepy small towns and farms within 15-20 miles of Manhattan welo into the 70s.
IE engine is still embedded in many apps as a html viewer. You may be using it even if you don't expect it. Or even if you don't actually see it.
Incidentally, it is probably also the best language to swear in :)
All construction drives down housing prices in the region, by providing alternatives to bidding up any particular piece of housing. IMHO, "affordable housing" is a misnomer: all expansion of residential stock makes housing more affordable.
When you convince the majority of SFBA property owners (ie voters) its in their interest.