skysight-inc/HackerNews huggingface dataset:
How does it compare with good old command line 'mc'?
The problem is money. Implementing the bad idea means there won’t be money for the good idea. The bad idea also gains inertia, so it tends to stay around and worsen for decades (e.g. current auto-centric infrastructure).
Well, you can screenshot it and share the screenshot, but that doesn't seem to stop people apparently.
> [...] the extension gets silently pushed to all the US users(!)

Non-US user here, my Firefox got it, too.
Hmm flagged eh? Maybe title should read stuff you cant say on hacker news..
I thought this was a snarky title for a GraphQL article. Since implementing a server in GraphQL, I much prefer it to REST
Sorry I did not read it properly, you can use these ones instead to actually write WASM.

https://github.com/WebAssembly/wabt

https://github.com/cretz/asmble
On OSX shift+cmd+4 gives you a box selector that saves what you selected as an image to your desktop, where you can share it back on Facebook as a public image.
They could, if they cared. I don't think they do. EP election participation is very low, and I don't think it's widely publicized which parties back which candidates. De jure, it's the national governments that elect the commissioner. I doubt the commissioner plays much of a role in national elections. Finally, I don't think people know or care much who is the commissioner. I mean, this is HN, so probably a subset of top 5% intellectually curious people and people here still know nothing about how this stuff works.
That looks like a pretty cool project. My problem with tunnels is mostly related to being in a car: no room to stand, it's easy to be locked into the car in an accident, and nice big windows to let in the absolute darkness (or to "trap" you inside a reflection if you turn on your interior lights).

That train is also looking to go about 2.5x faster than the Boring Tunnel cars, resulting in a much shorter trip.
Soma Def Con – Music for Hacking
I thought this was a good question so I looked it up.

While on average, lighter elements are more common, it looks like after hydrogen and helium, the rest are far less common and not in atomic mass order ( https://en.wikipedia.org/wiki/Abundance_of_the_chemical_elem... ). This seems to be due to matter being created in two phases, primordial nucleosynthesis (https://en.wikipedia.org/wiki/Big_Bang_nucleosynthesis) where hydrogen and helium formed out of protons and neutrons, and then later stellar neucleosynthesis (https://en.wikipedia.org/wiki/Stellar_nucleosynthesis) where heavier elements were formed inside stars via fusion.

This explains the distribution of heavier elements, because they were created by specific fusion pathways rather than just hot stuff cooling down.
> Cities scale with busses and trains.

You're missing that the boring premise is to utilize electric mass-transit units within the tunnels as well. That could dramatically scale the transit systems. It becomes a defacto variation of a subway system. Musk keeps pointing this out and it keeps getting ignored for some reason.
Doubleplusgood
It's easier to read. I appreciate proper font size for once. I have to use 200% zoom on HN to get the same font size, for example.
I'm developing stuff in the web for 20 years now and try to keep up constantly with all the new stuff. A year ago, when we started to work on a bigger project, we decided to use a modern (but not the newest) tech stack and we are really happy by now.

While developing all this stuff, we faced a lot of challenges these typical "this is how you build a todo list in angureactvuemberbone in 5 minutes" tutorials don't tackle.

We prepared a few articles with our experiences on a bigger project. If you're interested, leave a clap. :)
I have not tried it yet, but this technique is documented as the second pattern on this website:

https://basarat.gitbooks.io/typescript/docs/tips/nominalTypi...

(edit:) Ah ha! "Because numbers are type compatible with enums the previous technique cannot be used for them."
Im actually curious now that you mention it but don’t expand on it. Was the road to hell really paved with good intentions?
Facebook’s business model is essentially surveillance. Same with Google, who was also involved with illegal, wide-scale wage fixing. Amazon is notorious for labor abuses, and Microsoft’s history on all these fronts is storied. And they all court and pay off politicians to avoid repercussions. The mob of old could only dream of having this kind of reach.

Uber is not really a different standard. They’re more like an upstart gangster faction whose lack of discretion is calling attention to the baseline amorality and criminal intentions that lurk beyond the (quite thin) veil of techno-utopianism. The big guys lean on this ideology to get away with what they’re doing and thus don’t like Uber undermining it with their flagrant criminality.
Artists team design a unique OverWatch custom PC and the result is just amazing
>>> In Europe, we don't have net neutrality

News to me. The EU most definitely has NN and healthy competition, it's doing fine.
At what point does a funicular become an elevator?
Oh, is that why we see the than/then typo so often? I never understood how you could mix the two up.
The decision was made out of greed. And for a person who is not greedy it is a clear us v them. I don't understand how can we put pro-greed and anti-greed into the same 'us' basket.
>they think of themselves as companies that address diseases. They are concerned with the ill, rather than people seeking cosmetic changes

Agreed. The joke being that black hair (or blonde hair or red hair) is a disease that can be "cured" by a different hair color :)

>backlash ... [against] designer babies

Agreed that this is an issue, especially if the treatment were marketed at unborn children. It may be better to focus on cosmetic treatments for adults to try and avoid this.

I expect this technology will eventually become ubiquitous in our lifetimes, with the only question being the time frame for which it will come to pass
Not if the language supports a mix of value types, off heap allocations or untraced references.

There are a few like that.
What you think of as "the natural relationship between men and women" is not natural at all. It might seem natural to you, but it is an artefact of the culture you live in.

If you are a phisically attractive man, women WILL make advances at you and try to have sex with you. I don't know about the U.S., but here in Europe and in Canada it certainly is the case.

Try to think of men and women as exactly the same, just with different genitals and bodies. This might be an oversimplification, but it is nearer to the truth then our common preconceptions about men and women. Before I got to that conclusion I used to have only male friends and I didn't get along well with women. Now my closest friends are women.

If you seriously believe this "natural relationship" stuff, you might be part of the problem. Also, you're restricting yourself to a certain kind of relationship to women and you're probably missing out on some great experiences, including sexual encounters.
In my experience percent grade is usually used as a measure when people want to make something sound really steep.

E.g. "this ski slope has a gradient of 90%!!!"
I am willing to bet that theater has a monopoly with no substitute goods.

Rural != Cheap

The lowest prices are probably in suburban areas where there are many competing theaters in a populated area with easy access.
I suggest changing the link from the .pdf to the web page:
https://papers.nips.cc/paper/7181-attention-is-all-you-need

It's one click to get the pdf from there. But you also get a plain webpage with abstract, citation details, and so on, which you can't get back to from the PDF.

In general it's good to knock the ".pdf" off the end of all papers.nips.cc links. Similarly turn /pdf/ links on arXiv into /abs/ links, and replace "pdf?" in openreview.net links with "forum?".
Great to hear your thoughts on this, pmd. You don't mind if I call you that? Oh, you do? Well I'm going to anyway.
It's full of click-bait because of the opportunity for articles to go viral. Spread is built into the platform, so you have people writing the most click-bait articles possible.
I tried some experiments earlier this year with radically simpler RPC calling conventions. It's called NSOAP, and is available for express, koa and React. It gets rid of HTTP verbs and treats the url like code. https://github.com/nsoap-official/nsoap-express

Some examples.

//Adds two numbers
http://www.example.com/addTwoNumbers(10,20)

//String arguments
http://www.example.com/search(thomas)

//Parameters
http://www.example.com/math.square(x)?x=20

//Chaining
http://www.example.com/getCustomer(100).getAccounts(2017)
The UK suffers from similar issues, we are not that flat.
If you see a map of TX sites like [0] then you will see many small TV and Radio relays covering valleys.

[0]http://tx.mb21.co.uk/mapsys/google/alltx.php
Will try to promote in these circles! thanks.
There would be "rioting in the streets" of the internet if Mozilla ever decided to drop support for ALSA in Firefox.

There are distros, Void Linux (which I am using right now) for one, which ship without pulseaudio (or systemd for that matter) installed by default, thank goodness.
> I think ruining the person's life would be over reacting.

If lives are ruined, it is the harrasser's own doing. It is precisely the fact that such incidents are routinely shrugged off that harrassers feel emboldened to continue. Perhaps if they realized their careers were on the line, they would check their hormones and act more appropriately.

Furthermore, this line of thought completely ignores the lives and careers that the harassers have already ruined. By treating junior colleagues as sexual opportunities, this robs the field of future talent by pushing them out.
Isn't that what the VAT is for?

Honestly asking because US states fall all over themselves to give tax breaks to companies all the time. Hell, even individual cities compete with each other using tax breaks to attract employers.

I couldn't even imagine the federal government stepping in and forcing a state to collect more in taxes "to encourage competition".
They won’t let you use it on phones - you’re prompted to install the app.
Or they get sent there because they lost a fight in their party: "In Brussels, no one can hear you scream".

It's definitely a step down compared to national politics. I don't think there's anything wrong with that. Of course, if the EU was more powerful this might attract more up-and-coming politicians, but I don't think that's what people who make this complaint wants.
It's precisely the 'simple' examples which don't address any of the complexities in the original article. read-only properties in a resource being PUT back, for example. You're not having to deal with that with simple read-only services like freegeoip.
Hi and thanks for answering!

I already bookmarked it the other day and anyway I'm happy for everybody who contributes to open source even if I choose to use another problem.
I find REST APIs a bit annoying, primarily because of caching behaviour. For example, if I have a GET on a list of resources and then PATCH a particular resource from the list, the browser will still keep the old list in cache and not update (with the newly patched resource) till the cache expires. For this reason, I just use my own json APIs using POST requests (to bypass the cache) with some application specific caching in the browser via indexedDB - it's not that much more work, but the experience is significantly better for the user.
The $X trillion missing from Pentagon funds is a meme that pops up every few years (new "journalists" discovering the same news and trying to fill their click quota?).

The money is not missing, just not tracked up to expected accounting standards

Article from 2013:
https://www.reuters.com/article/us-usa-pentagon-waste-specia...

Article from 2002:
https://www.cbsnews.com/news/the-war-on-waste/

And you can Google [missing trillions] to find an article on the topic from any given year.
It would appear his reputation has been well known for a long time, that is precisely how everyone immediately knew who he was even though he wasn't explicitly named in the blog post.

This doesn't seem to be a case of a good man being dragged down by an angry mob. This is a well known jerk being shown the door.
> no longer electable

Guy Verhofstadt is an MEP so was directly elected by his home country. Mandelson and Junker were/are civil servants so wouldn't get elected directly, but appointed by elected politicians.

> nice place to retire

Or in Mandelson's case a nice place to negotiate a ground-breaking trade deal with India. I'm planning an easier retirement myself. Maybe the UK house of Lords. Unellected clapped out politicians...
Google – Year in Search 2017
Languages don't win. Package management and distribution wins. Access and energy required for a viable solution.
HTTP caching behavior is extremely flexible. You could use must-revalidate with ETag or If-Modified-Since caching.
Tribalism is red in tooth and claw, it's the culture of might makes right. Technology stops tribalism being a viable or desirable culture today. Tribalism scaled up as technology necessarily permits and forces it be scaled up is fascism.
It's really hard to fill up your battery, without learning how much juice you have used. They don't have to track you, they can just follow the amount of power spent.
In Haskell:

fac :: Int -> Int
fac x = case x of
0 -> 1
n -> n * fac (n-1)

or even

{-# LANGUAGE LambdaCase #-}

fac :: Int -> Int
fac = \case
0 -> 1
n -> n * fac (n-1)
I wondered about exactly that point.

Reading on, it seemed like one of his suggestions for cost-reduction was to drive down wages for workers. I would have thought he would have seen Musk as a kindred spirit there:

"There appears to be a lot of union featherbedding in some American cities, but this is a political rather than technological problem; without such featherbedding, labor costs are not onerous."
Some http clients can only do GET and POST. If your API demands PUT, PATCH, or DELETE it may be less useful.
I live in Florida. Almost no solar here. Lots of fruit to be picked.
At precisely 90 degrees.
It is becoming clear that the UK has a deal with big US tech too. https://waitingfortax.com/2017/06/30/uber-a-new-front/
Hmmm. A lot of this rings true, but a couple of things seem to indicate to me that brick-and-mortar bike shops may continue to exist over time:

Bikes are an interesting confluence of both very personal (i.e. the style/"feel" of someone's new bike is important, or the "fit" if they're buying with a bit more experience), very expensive (relatively), and very physically large (and hard to assemble).

That means that people will want to try out bikes before they buy, since the investment is substantial. Bikes need to be assembled to try out. If a brick-and-mortar store went online-only, it might be a substantial outlay for them to ship bikes to people to try out, and a hassle for folks to assemble them before trying them (unless they were shipped assembled, which is a much larger container). It seems like that might be cost/difficulty preventative for moving a lot of merchandise compared with the benefits of a showroom. Sure, bike stores might have to become more showroom-only, but I don't think they're going away.
No it’s not. Calls for socialised healthcare are not a coded expression calling for the overthrowing of our capitalist overlord via violent revolution. I know it’s tricky because these look similar but please accept that this is a social problem, not a logic problem, and thus traditional engineering argument techniques are completely useless.
Get the feeling that this has been done before. I just can't remember where.

I would really like to see this used to tell people where street parking is available in areas where there is alternate side cleaning. A LOT of people spend ~ 5-10 mins 2-3 times a week looking for parking in NYC and its boroughs(where I live) or really any city with this issue.
This is awesome!

from the link:

>Historically, MAP in humans has been difficult to study as it cannot be seen under an ordinary microscope and is very difficult to grow. Testing for MAP by the presence of its DNA (using PCR) has found MAP in up to 92% of Crohn’s patients but until now no-one has developed a test to show MAP in-situ in the tissues of people with Crohn’s disease.

It is fascinating that there is a virus that evades regular diagnostic techniques (i.e., using a microscope). That the virus can be found using genetic testing speaks to the power of genetic technology and how revolutionary the true understanding of genetics will be
The National Emissions Inventory is a more complete picture of our nations emsissions. The TRI is only conceded with permitted industrial sources. The NEI includes estimates from other source types including :

- On-Road mobile sources (cars / trucks )
- Non-Road mobile sources such as trains and plains and construction equipment
- Non-Point emissions such as land-fills, agriculture burning and unpermitted sources such as dry cleaners

https://www.epa.gov/air-emissions-inventories/2014-national-...
No, I don't. I actually wonder why it gets mentioned. It is some professor's research project not an actual programming ecosystem. The documentation on the site is more than a decade old, it covers version 2.2 released in 2006. Want documentation on what has been happening since then? Pick up a research paper. By comparison Haskell has a dozen books on Amazon and plenty of newbie level documentation since multiple universities use it as a teaching language.
I think this is a damaging perspective. Sure, it's not a bad goal, but I strongly disagree with the implication that we should drop the fight for net neutrality in return for a faint sliver of hope of some small progress.

As far as I can tell, the only effective way to break up ISP monopolies would be to force allowing any/all companies to share the wires to your house. As long as one company owns the physical wires and a competing service would have to physically lay down new, redundant infrastructure, there's no chance due to the costs involved.

And it will be difficult, painstaking, and incremental to pass those kinds of laws (probably starts at the state and local level). It will take years and years.

NN was a simple, single federal law that protected all Americans everywhere and was already in place. So while improved competition is a good long-term goal to shoot for, it should be complementary to NN, definitely not a replacement.
Does the pay dynamic change if the article was a promotion for a book?
I agree with a lot of the things in your post, but this one in particular has produced the most grief for me:

> Don't get me started with conflating http server errors with applications errors.

I've wasted so much time dealing with 404 errors that were returned by the webserver itself (not the app) because the endpoint I was hitting was wrong or had moved, and vice-versa when I was correctly hitting the app but got a 404 error back from the API and I thought that the endpoint was wrong. And, of course, similar issues for 500 errors and the app itself dying versus the app processing normally and indicating an expected failure response via a 500 error code.

To add to all that badness, a lot of JS libraries in their async API method calls have different error handlers for success and for failure response codes, so you end up having to lump together business logic (for resources not found) and retry/error-handling logic (for the server the not working correctly) into the same failure response callback handler. It'd be much cleaner if all the business logic could be handled in a single callback and all of the failure logic could be handled in another. And, of course, you only even get to this level of badness once you figure that out; you can still waste quite a bit of time before you even realize that your callback is not being called because the JS framework is interpreting the expected 404 your API endpoint is returning for non-existent things in business logic differently than you are.

I still wouldn't go back to SOAP, but I do tend to prefer HTTPS/JSON-based APIs that don't abuse verbs, HTTP error codes, and mixes of URLs/params/headers/payloads. Better to put all of that stuff inside the JSON payload where it will only be handled by the application business logic, rather than mixing it in with all of the HTTP constructs that are used for other things as well.
You can certainly do this - you just need something to contain the enum since an enum is a nominal subtype of `number` already, so TypeScript unifies `number & anyEnum` to `number`.

The best tagging mechanism these days is `Nominal<T>` (which has no emit) or `As<T>` (which has a minimal amount of emit):

interface Nominal<T> {
'nominal type tag': T
}

class As<T> {
private tag: T
}

Both are used in the same manner:

const enum SomeTag { }
type Something = number & As<SomeTag>
// or
type Something = number & Nominal<SomeTag>

You can even avoid the boilerplate of `const enum` if you make the `T` of `As` or `Nominal` `T extends string`:

type Something = number & As<'some:unique:string:tag'>

In both cases, the values are not unified, so:

type Something = number & As<'kind1'>
type SomethingElse = number & As<'kind2'>
var x: Something = 123 as Something;
var y: SomethingElse = 456 as SomethingElse;
x = y; // Type 'SomethingElse' is not assignable to type 'Something'.
"b) promises reducing tunneling costs by a factor of 10, a feat that he himself has no chance to achieve, and
c) is unaware that the cost reduction he promises, relative to American construction costs, has already been achieved in a number of countries."

So Musk, a person who owns and is the CTO of a company that can now land reusable rockets that were only dreamed about in science fiction a decade ago, won't be able to drop tunneling costs in the US by a factor of ten, when the author admits this is already done in other countries.

Not sure this is worth reading past that part.
There are a few videos of the built thing running on YouTube, and http://stoos-muotatal.ch none of which are perfect but this is my fav:

https://m.youtube.com/watch?v=C5YoI5F3xEw
> Their politicians always like to pat themselves on the back and are trying to present Canadian situation as better than the US all the time.

Lol. This reminds me of their highly publicized welcoming of undocumented immigrants after Trump was elected. But, once that count crossed thousand, they just shut their border.
Article says most of this work is done in countries like philippines. I wish they interviewed people from philippines not just people in america. I was more interested in their view of things.
oh you mean outside of the browser. yes that would be interesting