skysight-inc/HackerNews huggingface dataset:
Both the deepstream.io server

https://github.com/deepstreamIO/deepstream.io

And node client

https://github.com/deepstreamIO/deepstream.io-client-js

are examples for a very clean, "no nonsense" style of writing JavaScript
I think it's safe to say that the Google Maps team hasn't cared about end-user convenience and utility for quite some time. The Google Maps of 2016 is utterly terrible compared to the same service ten years ago.

You don't get customer feedback like this (https://productforums.google.com/forum/#!topic/maps/HfC6dYi4...) when you're doing things right.
Nethack's repository is pretty great, especially considering how old it is and that it is in C.

https://github.com/Vanilla-NetHack/NetHack/tree/master/src
I mentioned dash and ash. I'm aware of the difference across distros.
In the US, "sales tax" refers to an additional percentage charge added to the retail prices of goods and services. It's a terrible system, but individuals (poor or otherwise) might pay it for just about everything they buy: clothing, restaurant food, tools, repair services. It's collected by the retailer at the time of sale, who then reports it and passes the amount collected on to the state. Sometimes cities and counties have additional taxes, normally smaller than the state does. There is no federal sales tax.

Depending on locality, combined state and local sales taxes are typically in the 7-10% range, and unlike a VAT are only charged by a retailer who sells to the final user of the product. Business that resell products are exempt (after filling out the proper forms) until they sell to the final consumer. Also unlike a VAT, they are almost always in addition to the posted price --- if an item is marked as $5, you will be charged $5.54 (or some such). Despite the exemptions, sales taxes are generally end up being "regressive", in that the poor tend to pay a greater percentage of their income as sales tax than the rich.

Each state has it's own convoluted laws for what is taxed and what is not. Frequently, "essentials" are untaxed, while most other items are taxed at the same rate, but no two states agree on what is considered an essential. One state might never charge for food items, another might charge only for ready-to-eat food, and another only for food consumed on premises (unless it's cold, a breakfast beverage, or above a certain size). It's a mess, getting it right as a small retailer can be difficult, but the penalties for failing charge and collect the correct tax can be strict.
I'm aware the Supreme Court disagrees. The Heller opinion was written by Justice Scalia, who could have opened a Waffle House with the number of flip-flops of historical revisionism he went through in order to justify decisions which just coincidentally agreed with his personal political views. And while it is enforceable, it is neither right nor historically correct to find an individual right in the Second Amendment, and I hope that within my lifetime a better-composed Court will agree.
This is a glimpse into what we'll see much more in the IoT-future.
And while for a superexpensive car someone will take care, the same is not necessarily true for your home control system, washing machine, (insert other technology with lifetimes far beyond normal IT cycles), which may rely on an ancient app that doesn't run on any modern system any more.
For comparison: The GTO vehicle for the Curiosity rover was about 8 tonnes. SpaceX is about half the price of Atlas V a few years ago.
Strangely, golang adopted this practice of very short variable names. Surprising since golang is so focused on clarity and readability.
Think of short variable names as pronouns. Like saying "it", except you have maybe 1-4 distinct "it"s. Short variable names work well for things that have common and obvious meanings. "i" for an iterator or loop index (add "j" and "k" if you have nested loops). "fd" for a file descriptor. "n" for a count of something. "p" for a pointer. "ofs" for an offset. Other conventions can apply within a codebase.

Short variable names work less well when you have more than about 4 of them in the same function/block or there is no common convention suggesting what the variable might be from its name alone.

Short variable names are also not good for globals or struct members, because those names are used across many contexts. Combine this convention with a short local variable name and you end up getting things like:

typedef struct {
int retry_count;
} connection_t;

// If "connection_t" is used widely throughout your codebase,
// you get used to seeing a variable "c" that is a connection.
void func(connection_t *c) {
fprintf(stderr, "Retry count: %d\n", c->retry_count);
}

...which I think is pretty readable.
Salesforce -- successful business, hated by every programmer who has ever touched it.
The way I use Google Maps a lot is for discovery. I look at the map of New York to see cities around it. When I look at a more zoomed in level of the city I want to see different boroughs and major roads. More zoomed in you want to discover shops and businesses. The bareness of the current Google Maps makes it very unsuitable for these functions. For example, even at full zoom level it only shows a few (<5%) of the shops and bars at the city center where i live. If i want to get a feel for a city (where are the most restaurants, where are the shopping centres, etc) the maps are really bad for that unless i go searching for the specific terms in the search bar. But that is the down side of the search bar: you never finf something you didn't know you were looking for.
I... is that sarcasm? NetHack's code is a tangled mess of K&R C.
There was a town in my country that was bragging during the winter a few years ago that you could monitor all the slowplows in real time on the Web.

I checked the page, and sure enough it worked. On a hunch I zoomed out, only to see a couple of them parked on null island
Uber always dropped me there when I started it (before I stopped using Uber for Lyft).
"High quality" is an strange concept. I would look at code you actually use and rely on - that's the best indication of quality. A lot of critical code deals with inelegant, complex problems correctly and efficiently - I'd consider anything that can be relied on to manage that "high quality", even if it is unclean, inelegant, poorly formatted and algorithmically mundane.

That said, if you want to read elegant code, I'd recommend the stb parser libraries (written in C). They are small self-contained decoders for many common media formats, with excellent documentation:

https://github.com/nothings/stb/blob/master/stb_image.h
https://github.com/nothings/stb/blob/master/stb_truetype.h
https://github.com/nothings/stb/blob/master/stb_vorbis.c

These libraries are likely insecure, handle many edge-cases incorrectly, implement fewer features, and perform worse than other options. However, they meet your criteria better.
Windows 98 holds up better in modern terms, and there you had things like USB support build right in.
> all means up to an including a preemptive strike (nuclear or conventional) is on the table

>all national means would be expended to prevent this from happening

What you're saying is overly dramatic to say the least.

If any of that were actually true, the US would have nuked or invaded North Korea in the mid 1990s. It was extremely well understood they were developing a nuclear weapon. We knew it for two decades. The same is true for Pakistan, we knew they had a program, why didn't the US invade / nuke / attack / subdue them in response (even afterward)? The US hardly did anything of consequence to Pakistan in response, they got a slap on the wrist and the runway to develop a hundred nuclear warheads.
Presto has great source code too, check it out: http://github.com/prestodb/presto
The threshold of what the high code quality is was set long ago and remains far beyond the reach of the mere mortals.

You will hardly find anything even distantly approaching the quality of TeX and Metafont. Not sure if there are mirrors on github, but you can always grab a copy from CTAN.
Not likely to happen, as unlike Microsoft, Apple makes and sell the whole widget.
There are also one too many buttons when you choose a route. If I want to drive, then I type in the address, select it, press a button to activate it, then press a similar button to start the route.

Why is that last button needed?
Ask HN: Do you low level programmers have time to read anything else non-tech?
After I dropped out of Computer Science ten years ago I started to read everything. For ten years. Only few years ago I got serious about programming, but when I see someone posting a long list of books here, I can not stand to ask if they really have time left to do or read anything else.
indeed it seems it's often a sea of nested if's and switch's with occasional #ifdef's e.g. https://github.com/Vanilla-NetHack/NetHack/blob/master/src/a...

I think this is a reasonable way to handle the tons of special cases in nethack's gameplay, but not really "inspiring".
I think POPL is PLT and PLDI is systems.

I say that I'm a systems person to signify that I want to talk about ASTs, IRs and compiler output rather than core language models and formal semantics.

But you could argue about definitions all day.

The relevant observation is that the reason this list focuses on formalisms like type theory and models we can reason about formally like FP is that this is what we mean by PLT.
I wish you'd be reasonable

And how am I to do so? You have literally been acting out a predictable, tired pattern of sound-bite arguments which neither prove nor refute anything, and you've yet to actually answer the question I originally posed: what would be, in your eyes, a "reasonable compromise" on guns? If you adopt the logical consequence of your own statements on the Second Amendment, the only possibility you can offer is that no compromise whatsoever is possible; after all, who could countenance "compromise" with the sort of vicious disarming tyrant I must obviously be (or be paving the way for), in your eyes? Who could accept any "compromise" with a government over something alleged to be the sole protection from that government?

And since you've literally acted out a stereotype, why shouldn't I just say that's what you've done and leave it at that?
From memory, Open Street Map has layers. I'd be interested in comparing OSM to Google Maps!
So I am not crazy after all!

He, came here to post the same thing. Since the last 2 or 3 years I had the impression GM went worse (for what I do with it, not even mobile) after every update made to it, and sometimes also slower and more CPU hungry. To the point I stopped using it and went looking for alternatives.
NK has leverage a random group wouldn't (alliance with China, and more importantly, a huge, dug-in conventional force which can obliterate Seoul in hours no matter what the US does, even a pre-emptive nuclear strike).

Iran does, too.

A hypothetical rando country probably doesn't. A company or terrorist group unallied with a major state certainly doesn't.
High Code Quality is not synonymous with perfect. Your critique is disqualified.
s/billing/vilify.

I can no longer edit this post. Apologies for the mistake.
I've only ever been using Google Maps for the sattelite imagery, street view, and routin. For those things, Google Maps is still great. OpenStreetMap is what I use for orienting, find cycling paths, trails etc.

So I'm not too bothered by this change. What I don't understand is why hasn't anybody taken the Google Maps routing and use it in OSM apps? Might not be legal, but similar non-commercial projects it should be fine.
Teamviewer for Linux is quite the hack indeed. I honestly couldn't believe it worked.
That isn't entirely true. You could easily develop a web extension that validated the hash of the scripts being sent down the wire. Then you'd have an equivalent security guarantee to a normal desktop client.
I'd suggest legal action, but unless a system like the UK small claims court is available this would probably cost more than could be recovered.
Did you read what I said? I never mentioned security. More secure software is not the goal of free software. The goal is for users to have freedom when using their computers. And it is a simple fact that proprietary software puts you in a position where you can be taken advantage of by the software developer and free software doesn't (you can always pay a developer to fix the code without needing to ask the original developer -- this is unique to the free software world).

So, please stop putting words in my mouth. I never mentioned security, I'm talking about freedom.
Serious question - why isnt this stuff, including today's manufacturing, using easily interchangeable modules with standard interfaces? Why doesn't everything just fit into a single box that can then be replaced with box v2 in a few years, adding more features and performance and removing this maintenance nightmare?
What's wrong with the short variable names? Did you ever encounter long variable names in any decent, readable mathematical paper or even a textbook?
No worries, I read it twice and realized it was an autocorrect mistake and what you'd intended. I recognize that you personally may not be calling for this, but in general individuals that do fixate on guns' capacity for harm do fall to this. I still should not have generalized.
WW3 TURDS TIED TO ISIS AND UK TO PAY 2 BILLION,FOR TURDS TO JOIN EU,WTF
Do you mean they're focusing more effort on reducing the complexity of the maps, to save bandwidth, because vectors derive much larger bandwidth savings from reduced complexity than bitmaps would?
Laravel is a pretty bad codebase, making use of reflection or just assuming methods are present instead of interfaces, actively laughing in the face of static typing.

They're also awful at managing issues/bugs, where they'll gladly close issues without explanation, or close an issue when a pull request gets submitted, only to reject the pull request and not re-open the issue.
"We'd like documentation on this proprietary interface. How much does that cost?"

"No."

"What do you mean?"

"That's our proprietary IP and not for sale."
Reading this made me think how can you know the number of atoms in the universe (observable, smellable, touchable, whatever ). So I go and check on Wikipedia and of course its just a guesstimation based on assumptions and hypothesuses.

This again reminds me how science today is no different than religion. Of course there is nothing wrong with having the number based on assumptions , but take it out of the field of study and suddenly it is a fact :)

Like in this article and the discussion in HN where its just the number and its name, and the fact that this him be is just somebody's wild guess is totally ignored. Same with Jesus , he exists and he loves you and the fact that it was just somebody's idea is totally left out.
The "Google, where did I leave my keys?" joke is getting closer to feature status, and that's probably what's going on with Google Maps.

Anecdatum: last month I was driving out for a weekend in some rural bungalows a few miles outside a small city (Elvas, Portugal). The address was a bit vague, the place name too common, so much so that I had GPS coords stowed away in a message pic (don't ask ;-).

So, when I pop out Google Maps in the old faithful iPad2 (which happens to be the 3G version, and therefore GPS chipped, good for navigation), and zoom in the area ... amidst thin local roads and lots of blank space, there's the place name and the days we're staying there.

Turns out the Gmail app in that iPad was also used to send or review the emails with the reservations.

Even in my 'desktop' I've been noticing Google Maps marking out city places which seem small compared to other landmarks, but where I often go or mention in emails.

(Thanks, I do know where I left my keys today, I'm good.)
crystal-lang's standard library is a good example. https://github.com/crystal-lang/crystal
There is at least one other large zipper manufacturer (Ideal) who competes in many of the same markets as YKK. If you start checking your clothing, you'll see it quite a bit.
> Wouldn't it be great you could just run different drivers and file system in userspace rather than having to compile a big kernel?

Except that it makes debugging almost impossible and the overhead of IPC is very large. I'd argue that most popular kernels today (k{Free,Open,Net}BSD, illumos, Linux) are monolithic because that model makes development much simpler than a microkernel (not for historical reasons). Hybrid kernels like NT are a compromise for efficiency against the benefits of having a microkernel.

The panic argument is a good point, until you realise that kernel drivers don't panic --they oops. And a kernel oops just kills the thread it was running in. Linux has kernel threads that can be killed, but they're all playing in the same address space. So you can think of that as having the advantages of a microkernel without the debugging issues.
Does Amazon typeset the physical books they sell in their store? Should they be expected to typeset ebooks that they aren't involved in publishing?
https://en.wikipedia.org/wiki/On-board_diagnostics OBD-II was made mandatory shortly after this car was built specifically for this reason, manufacturers wanted to maintain their lock in so in the interest of the customer regulations had to be mandate.
Comparing google maps to here maps at the same zoom level (on desktop, not on mobile) here maps has more info. It's like google maps has completely given up on the desktop.
Did you type this from a macbook?
I think the thing that pissed people off was the was naming the computer Christopher instead of Victory by inventing this idea that Turing had a childhood crush he never got over.

I don't know though. I've never seen it. There's a whole section on Wikipedia if you care.
This is absolutely appalling. Apple cannot possibly think they are in the right here, especially due to their own ToS. It seems this dude lives in the US, doesn't he have a legal case against Apple for theft?
I know it was just a taster, trying to interest us in a forthcoming book. But, nevertheless, I thought that story was very long on hyperbole and very short on detail.
I don't mind it. With SF you've got to remember they've been updating and extending the same live platform for over ten years. It's amazing that it's as cohesive as it is.
A while ago I met someone with a side business in maintaining the Aston Martin Lagonda's high-tech dashboard. It's a set of CRTs driven by proprietary 70s 6v logic, and he claimed to be the only person still in business who knew how it worked.
True, browser is more and more looking like a regular OS which executes untrusted programs. As far as security is concerned though I am hoping Servo will solve most of the issues.
Exactly. The assumption that only long variables are readable is false
You ported Bochs to Apple Watch (complete x86 computer emulator, not a just a virtual machine) and run Win95 (because it consumes little resources and already took hours too boot). You could also run Rhapsody/NeXTSTEP (the precursor of Mac OS X/iOS/WatchOS) or even a stripped down WinXP on Apple Watch which has 512MB RAM (https://en.wikipedia.org/wiki/Apple_Watch ). Anyway great job, and I am waiting for someone to run Rhapsody (or early Mac OS X version using PearPC) on Apple Watch, that would be so meta ;)
There might be something in that, yes. Obviously I don't know the details of Google's internal tech, but certainly that's true of the OSM equivalents: Mapnik (produces raster tiles) is much better at label placement than Mapbox GL (renders vector tiles).
That's interesting... Does Lennart explain why he doesn't recommend the environment file/directive?
Then choose a different vendor. I gotta believe McLaren had a healthy gross profit margin on these vehicles and could just shovel money at the problem. I also find it hard to believe that only a single vendor could provide what they needed. Based on my experience I'd blame lack of foresight before I'd blame physical impossibility.
Confidence Calibration Game
You mean, systems in the OSDI/SOSP sense? Systems and PL implementation (compilers) communities have always overlapped quite a bit, maybe more so a decade ago than today (e.g. see Sanjay Ghemawat and Jeff Dean as PL people who did systems who are now doing machine learning...).
A smaller, more accessible project would be Mithril, very nice, clean code. I haven't looked at the v0.2 code yet, but I can't imagine it deviates much from the quality of v0.1.

https://github.com/lhorie/mithril
Blaming a collective for a collective failure is just as okay as blaming an individual for an individual failure.
The security provided was fully within the threat model presented, which never considered this type of attack.
Solid state doesn't mean that it won't wear out. Electron migration over time will eventually render ICs unreliable. To be fair, that's less of an issue at the process sizes of 90s semiconductors - but it still happens.
Something that has become interesting to me recently is the amount of knowledge about maratime weather and sailing that isn't readily accessible in a some kind of neat database, app or website. You actually have to talk to people and wander through museums to find out some of it.

It's an example of an industry and body of knowledge that still grows and is passed around outside of the internet.

Weather patterns for a particular area, places to anchor and dock, safe passages through reefs. You can't always google the answer and much of it is gleaned from other sailors who used experience and their tools to figure it out.

Having grown up pretty much constantly online, with the answer to any question I have being reasonably available with a quick search; that some common information about the world can still be discovered and shared is is really fascinating.

It sometimes feels like there isn't much outside of STEM fields left to explore.
Cheap flights to #Copenhagen on flychecker at € 56
Agreed. Who's choice was Gordon-Levitt if not Stone's?

As another commentator pointed out, it's one of those rare situations where the real-life character is more beautiful, fascinating and tall(!) than the actor. Don't you find this a little funny/awkward?
At scale many organizations create substructure that contain strong peer culture and human-centered process, so it isn't lost, it's localized.

I think that the big challenge is to recognize that hierarchical structure isn't good or bad, it's something that most natural systems do in response to scaling. If we understand it as a design parameter we can make it humane.
I've really enjoyed looking at the GraphQL JavaScript reference implementation source [1]. It is well-commented, consistently formatted and structured, and makes frequent references to the spec. The spec itself [2] is very well written too, and I think the project being spec-driven along with the code quality make it a good example.

It feels like a lot of thought was put in to making the code well-documented and easy to follow for people new to the project.

[1] https://github.com/graphql/graphql-js
[2] https://facebook.github.io/graphql/