skysight-inc/HackerNews huggingface dataset:
Self driving mobile homes could become a thing, many advantages of cities and rural life could be combined this way. The routing of the individual homes would just happen based on your personal and work shedule and preferences, including the composition of your neighborhood. basically a decentralization of cities.
THIS. Material Design guidelines tried to drill these into deisgners' head. But man, their damn artsy skulls are thiiiiick...

There should be a "Shadow + Fill if it's tappable/clickable. F please!" rule though in every design school. Every time I see it not followed I get a fit of rage, that unfortunately I need to swallow and not fire the designer because I know he's otherwise good at UX too.

It's should something like a "don't f drive when you're drunk rule" rule... common sense to every-f-body!
I have kind of stopped indenting my files while editing. I know prettier will do that when I hit save (I have it as an extension in code)
> If the same universe results from two paths, then they are the same path.

And if from the current universe two paths may result then they are the same path. So there is a single path?
I love metabase! I know that you're running a Clojure backend, did you ever consider a similar approach there (cljfmt or any of the other ones?)?
It's great to have reviews that do not involve discussions regarding formatting
er no thanks. hated it at the time, good riddance.
Yes, TS support was baked in recent versions
easy, tell them you are under 18, they wont call again
Nuclear fusion on brink of being realised, say MIT scientists
Saying that we are unwiser post-enlightenment than in the dark ages is pure charlatanism in my opinion, however vague than statement is. The arrogance argument is more arguable but in the context it makes it look like the only thing we got out of the scientific revolution is arrogance, which is like saying that the only thing we got from discovering penicilin is antibiotic overuse.
Presumably he's pointing out that colanderman's use of "always" in the phrase "always free to buy gold" is suspect. A better word might be "currently". Currently, one can buy gold freely in most countries. In the 1930's this was not the case in the US. As recently as the 1960's this was not the case in India. Investors in gold should probably be aware of these precedents.
> Fashion really has no place in computing. These are tools and we should treat them as such

This cracked me up... You do realize that even things like programming language selection are 90% fashion-driven, right?
It's not even about being old, but having different versions.

Take libcurl and OpenSSL for example. Some distros use OpenSSL 1.0.2, some default to OpenSSL 1.1.0, in some cases libcurl depends on 1.0.2, but the system in general prefers OpenSSL 1.1.0. Which one should you use in your application for crypto?

Obviously, the sane decision is to provide a separate build for each distro which uses the libraries bundled with the distro. Or you can just link everything statically (and then security updates of OpenSSL become your problem).

Then also come QA people and management, which want to support multiple distros, but do not want to support multiple packages (as they are different and require separate QA effort), plus the users would find it hard to install an appropriate package for their distro.

So... it's more convenient to just link statically.
I think the authors include people from React team and fb open source team has been innovating at scale since some time now
Prove you are not an evil corporate person
I like the idea behind your compression analogy, but it doesn't quite work. In particular, you assume the solution when saying that the set of all programs is incompressible. Indeed, there are programs which operate on the set of all programs, e.g. trivially "is the first bit of the program a 1".

I think you're correctly proving that non-computable functions exist (though the proof needs to mention countable vs uncountable infinities I think, based on a power set over the input/output set), but you still need some sort of self referential statement to prove the halting problem.
Island bones 'likely' belonged to Amelia Earhart
Politely, you don't know what you're talking about here.

If you read up on the author you get a much better picture of the orgs she's been a part of, the work she's done, and the problems she has done troubleshooting on, I think you might adjust your opinion a bit.

She suspected her team was underperforming and unfortunately the quietest way of verifying that is just not to be the one to step up. There was no "witch hunt" here.
I remember reading that gofmt was one of the inspirations for prettier
Death Star Thinking and Government Reform
No, because the hosting problem really isn't solved and FileCoin was something of a massive train wreck.

When the most charitable critique of your ICO is, "We don't think this is a scam because the people involved aren't famous scammers but it certainly looks scammy" you've failed to solve your problem.
What if we source control straight up AST instead of code? Each tool can decide how to render it...

I bet if Github supports such thing it will become standard
Thanks! I also have the extension installed in code.
React - nodejs - mongoDB
Incredible. I sincerely believe advances in computer vision will be dependent on creating a 3d 'mental model' of imagery/video.

What happens when you give it images that fool people? For example the infamous Escher drawings.
Best way to lose your weight fast
A Career Cold Start Algorithm
See my comment below for how to prevent this: https://news.ycombinator.com/item?id=16550209
https://media0.giphy.com/media/l0MYu38R0PPhIXe36/giphy-tumbl...
Anecdote data.

I also have anecdote data from our customers doing UWP ports.
> Consumer reports ranks Tesla close to the bottom in reliability.

This is simply false. I have the March 2018 Car Issue of Consumer Reports in my hand. They segmented Tesla P85D into a group: "Cars: Ultra-Luxury" and put it at the top in the overall rating. In specifically the Predicted Reliablity rating the P85D was rated "Above Average". The other car with "Above Average" reliablity in that group was the BMW 750i xDrive.

The remaining cars were: Genesis G90, MB S550, Audi A8, Jaguar XJL. To avoid fouling CU's copyright I will give the reliability ratings out of order to the list of cars. The rating of the group excluding the BMW and Tesla: Average, Less Than Average, Average, Average.

No car in the group rated higher for reliability than the Tesla. Hardly "close to the bottom".

For the curious Consumer Reports reliability ratings are based on an annual detailed survey of their membership. They have had a consistent methodology for years and have defended in in court (manufacturers don't like to be called "Worse than Average") successfully repeatedly. I don't take them as gospel on everything, but the car reliability data seems solid.
"i'm sure programmers skew both towards higher IQ and views that the strong should crush the weak". Well, that's settled that then! Nice to be sure.
Writing an x86 “Hello world” boot loader with assembly
Perhaps such a thing makes sense when you are a target for languages but not when you are just a language. Instead make sure anything that you can express with your IR can be expressed with the language?
I don't think they will add them. They are very opinionated and skeptical about adding configuration options. If there is more of those, then again everyone will try and have an opinion of their own and it will end up being like ESLint. Also that will lead to a lot of time spent on understanding the configuration file which will be a disadvantage as well since currently prettier just works!
Thanks, someone said pretty much the same thing to me but couldn't share the data. I'll increase the ARPU number again to reflect that, sounds like they're extremely profitable...
You are trying to try people what they should prefer. This is about openness and choice. If I've been using screen and irssi/xchat/etc for decades I don't want to learn anything new. I don't want a huge app shoved down my throat that's not nearly as customizable and integratable into my workflow as all those tools I already know. The slack app is just a horrible tool designed to get into your way and interrupt your work. Thank god we didn't jump that shittrain on my current job.
> If 2016 was the year 4chan won the US presidency maybe 2018 will be the year HN wins an election?

I suppose it's possible, but I seriously doubt it.

I live in Arkansas. I was born here, grew up here, and recently bought a house and moved back after living five years in Charlottesville, VA. While I'm not in Spencer's district I know several people who are.

From my perspective, this article is going to be a millstone around Spencer's candidacy. It will do substantially more damage to his campaign than the money will bring him benefit. There is a strong GOP majority there, and being able to point to this article and say "Look! My competitor's campaign is being financed by California liberals!" will all but guarantee that incumbent French Hill will be able to consolidate and energize his base.

The district flipped in 2010, after the retirement of seven-term incumbent Democrat Vic Snyder. It was successfully handed off to another GOP candidate in 2014 when the previous incumbent gave up his seat to run for governor.

Further, in light of Trump's recent rapidly changing stance on gun rights, I anticipate that will be polarizing issue of the 2018 midterms. Of the 435 current members of the House, Hill received the most money from the NRA[1] - just over $1m, split between ads supportive of Hill and opposing his opponent. According the Great Slate website[2] they raised $938k in Q4 of last year, which was divided amongst nine candidates. That's less than 10% of what the NRA alone provided to Hill last election cycle, while it sounds like it constitutes the majority of Spencer's war chest.

In short, while the approach taken by the Great Slate is valid and could have had a significant impact, this article probably eliminated what little chance Spencer had in this election.

1: http://abcnews.go.com/Politics/lawmakers-nra-money/story?id=...

2: https://secure.actblue.com/donate/great_slate
Hardly pragmatic and more stupidly self-interested.

Look at the DCCC screwing Conor Lamb in Penn. There is no downside; he's running in a district that was Trump+20.
I tried running it on save, but I can't "make" others configure their editors in a way I want (our fe team is around 10 ppl, be is much bigger).

Lint-staged can't handle partials, but precise-commits can, though we are using ls for now and will see how much this hurts in terms of partials.
It's not uncommon to announce an IP address from one ISP through another ISP. As long as they agree, anyway.
Or just uRPF enabled on the server facing SVIs in the DC. Simples.
Npm install tslint-config-prettier and add it to the extends array in tslint.json to switch tslint rules to be compatible with prettier
Stanford neuroanatomy lab bridges virtual reality, operating room
As someone who doesn't live in the USA I've always wondered: NYC (heavily DNC?) routinely seems to do things that are far more inhuman and racist than anything the GOP does, how come it never generates the same level of outcry?
Fun article.. From the title it sounded like something about their business model or kaizen related stuff
The Case for Making Chimp-Humans
This sucks so much !

What a waste of time and resources, hiding knowledge in video is the among most inconvenient and inefficient way of making it useful: no indexing, ni skimming, no copy pasting, it's slow, cannot be searched, cannot be put in a translator, cannot be mirrord, uses much more resources.

Then it's hosted on youtube which is the worst offender privacy wise and does not work without allowing script from a few different domains.

Once again mozilla fails to deliver according to their supposed values which are mostly marketing.

Why do I have to relinquish my privacy to endure an inconvenient and inefficient way to learn when it could have been written in the very same page with text which will survive time and can be easily mirrored. Why put such an unecessary wall between knowledge and audience ?
Ask HN: Do you prefer pre-commit or post-commit linting/formatting?
Out of curiosity, what do you use? I hope it isn't back to raw pointers and size_t offsets for lengths. What do you do if you want to pass a container of ... anything around? What's the replacement for:

U do_something(const std::vector<T>& vec);
One thing that bugs me about Prettier is that JSX intentionally does not respect your quote setting -- it always uses double quotes. It's not a big deal but it's such weird issue to put your foot down over. Make it respect your setting and be done with it.
Thanks for this very informative interesting write-up, notes such as these are what makes Hacker News so great.
I’m curious, what do you think of SQL?
I come from a finance background was an Excel guru but now prefer PostgreSQl, amazing what you can do with their Windows Functions, Recursive CTEs, Lateral Join Set Functions, Custom Aggregates, also has Python and R built in. I don’t like PowerBi too disjointed from Excel and v weak SQL support why does Microsft have to keep imposing their own languages on us instead of alloing us to use far superior SQL, would be awesome to have SQL in Excel (python Exel wings offers this but limited and clunky)Main proble with PowerBi for me is you can’t update the database without obtuse hacks.
To be fair, it's not always true. Many APIs actually don't have NSError argument and throw Obj-C exceptions on actionable errors. For example, reading from an NSFileHandle may throw NSFileHandleOperationException. I suppose, in most cases it has been done for brevity. Though, you can also argue that only opening a file could fail (due to invalid path or insufficient permissions).
Native apps using Vue.js and NativeScript
Evading in-flight lightning strikes on commercial aircraft
Choosing the "desktop version" option in your mobile browser is a workaround. Should really be supported by default on mobile though
Isn’t there a Paredit somewhere [1] for JavaScript? After all lisps are unreadable...

ducks

1: http://danmidwood.com/content/2014/11/21/animated-paredit.ht...
As you might have guessed, when you don't want someone to use a binary beyond a certain date.

Security Solutions could benefit from this, the customer will have to update or disable the signature check if their version of the solution becomes too old. Old versions could open them up to vulnerabilities.

Another might be when you distribute beta or testing versions of your software. The customers can safely test the version and the lack of timestamp prevents them from running it in production permanently. They have to update to the release version.

It could also be useful when you sell a software to a business and want them to test it first. So you send them the program without a timestamp signature and limit the validity of the certificate. That way they can't just run the test version forever.

Really anywhere where all parties involved, user and producer, do not want to run a binary forever but the producer might not fully trust the user to do that.
> I think encouraging a culture of distributing software in such a fashion is an incredibly bad idea

It isn't obvious to me how that is dramatically different from traditional package managers as far as the update process goes. Upgrading decencies seems like a generally active and involved process as far as most package managers I've seen go.

pip/apt/npm/go-get/glide/yum/nixos etc all require you to actively discover and upgrade your dependencies and I've never been prompted to upgrade a package from any of the programs (a few do ask if you actively engage special subcommands on CLI e.g apt list --upgrade). Unattended-upgrades might be close but you can really only enable that on security releases and most package managers don't have the resources to setup special distros (and fewer backport security fixes).

So is the pain really just not having a quick upgrade cli and is that dramatically different from going to a github page and getting the new URL for a new binary? Would something as simple as writing a script to list and download versions of binaries from github releases make this a non issue?
Not disagreeing with your point, but just because spotify isn't tied to an already-huge company doesn't make them more of an underdog. They already have a much larger subsriber-base than all the other music services, and it's clear to me from seeing the way people act and their choices in what they do that, similar to netflix, it's bound to succeed despite all the armchair analysists pointing to graphs with lines pointing down.

Also, I'm curious, what issue do you take with exclusives? Do you also find fault in netflix, hulu, and amazon creating media and making it exclusive to their service?
The second is absolutely an advantage of references, and other than having to use (if I'm being honest, legacy and/or bad) interfaces, there is absolutely not a downside in this regard.

The first can be a legitimate complaint, although I find it's rarely an issue in practice.
> it’s hard to overstate how much this streamlines _editing_. You can modify code so much faster if you don’t have to worry at all about formatting. Just push code around any which way, cut and paste, type some giant expression into the middle of another one. Then hit Save and move on.

If this is a new discovery for you, it sounds like you missed out on these things we used to call "IDEs" which were pretty popular more than a decade ago.
Is there an open-source hypercard equivalent? It seems that Hypercard made programming very accessible, so it would be good if an open source project/community is continuing the ethos.
They shouldn't even be used interchangeably... if you have two different ways of doing something, you put that bit of information to good use, not make a mess of it. Personally I always use double quotes should for user-facing (generally, i18n'able) strings, reserving single quotes for internal strings/symbols. IMHO everyone should do this.
I cannot remember that it have ever showed one while I was sitting and reading an entire evening. But as soon as we start talking it will show advertising. That could be explained that it simply detects noise in the room, but it correlating to what we're talking about more often than not.
> This is a definition of "progressive" with which I was previously unfamiliar.

Welcome to Arkansas! The Democrats here are a faint shadow of those on the coasts - they walk a fine line to have any chance at making it into office, and have a (at least publicly) uneasy relationship with the DNC.

I note that the word "progressive" only appears once in a search of Spencer's campaign site[1], and isn't used to directly describe him or his beliefs: "[...] we must no longer be afraid of making bold, progressive demands on the issues that matter most to average Americans [...]"

> How is Great Slate itself not a PAC, in the general sense?

I'd say it is, in spirit. In practice, my understanding is that the distinction is in the fact that individuals nominally choose where how their donations are allocated, whereas a PAC makes that decision on their behalf.

1: https://encrypted.google.com/search?hl=en&q=site%3Apaulspenc...
C is the interop standard on OSes written in C, mostly following UNIX ideas.

It isn't the interop standard on OSes that have decided to follow other path, namely Windows (COM/.NET), Android (Java), ChromeOS (JavaScript), IBM z (Language Environment), IBM i (ILE), Unisys ClearPath (MCP).
If we can simply ask hosts to not send packets with spoofed source addresses, then surely we can just ask them not to send any DoS attacks in the first place?

Dunno, but somehow this just doesn't feel like such a realistic approach to me.
I don't agree with the author, like most of the comments.

She's setting herself up for a win-win. Either somebody fixes it and nobody else notices and she gets to escalate the severity/subtleness of her testing of teammates, or else nobody fixes it and she can yell about something that she thinks should have happened. It just seems like she's setting other people up to fail.

I generally don't play those gotcha games. There is no winning path. If your coworkers play these games, LEAVE.
It’s amazing how many Accessibility settings I have to turn on in iOS (which restore shaped buttons, etc.) in order to make the system sensible. While I’m glad the options even exist, I am a fan of sensible defaults and Apple and Google do not have those.
If you put the control in the hands of the people whose data is being handled, I'm sure a significant percentage will default to "Do not share" given an explicit choice.

People aren't going to directly assist and curate the ability for 3rd parties to spew more spam & spyware on their webpages and in their email inboxes. If they could see what sort of data is being tracked, that can easily trigger their creepiness receptors and wish to distance themselves from it.

The only reason people endure the current situation is because they don't feel they can do anything about it, and really don't know the extent of what's going on. Empowering them will finally allow them to actively break out of that cycle.
> they ignore your typos and unsupported features gracefully

I wish there was a browser version that would handle these errors loudly rather than silently. The fact that React does some of this is rather nice.
On a related note: if you're looking for a unified linter toolkit, try out coala [1]. I'm a core maintainer, so if there is anything you want to know, feel free to ask me.

P.S. we now have an issue about about integrating Prettier into coala.

[1] https://coala.io/
Hedy Lamarr – the 1940s ‘bombshell’ who helped invent wifi
> I can't "make" others configure their editors in a way I want

We run `prettier -l` in CI, so it's up to each person to decide how they want to make sure their code is prettier-ed before being pushed.

I'll check out precise-commits, thanks.
This is cool! Working on large files, especially with syntax highlighting, line numbering, etc. can really bring emacs to its knees, at least on my work machine.

Silly question, but does anyone know if this works on Windows?
Well she did figure it out from the documentation, so clearly it was adequate for her. Maybe she's just that much smarter and more competent than her colleagues, and what's adequate for her is not adequate for them, but if so then that somewhat justifies the frustration that caused her to run her little experiment in the first place.
World's worst investment: why urban highways destroy wealth
Yeah, what did Microsoft get when they decided C was done and the path forward was C++ and .NET?

Google with their locking down of C in Android and ChromeOS?

Apple with their long term roadmap to replace everything with Swift?

Being bashed how it is possible that they aren't willing to keep on using C, walled gardens and such.
NYC routinely seems to do things

Are you blaming city government rather than crooked employers?
I don't think it was a witch hunt, I think it was just "I'm sick of fixing this crap, let's see if anyone else will show an iota of initiative."
You're thinking of a const pointer or reference. Of course if the data the pointer is pointing at changes, if you dereference it you get something else. But notice: the pointer, ie. the page number of your book, or the offset in your array, did indeed remain const. It is just the contents of the book/array that changed.

So, a const value cannot be mutated locally or globally. So if you make something const and expose it, it cannot be changed.
Pre-commit formatting. When I use IntelliJ to commit, it automatically formats pre commit.
If you format post commit, you need another commit to format, and then your commit history will have many formatting commits.

I will suggest use an IDE to auto format pre push, or use a git pre commit hook to format before commit.