skysight-inc/HackerNews huggingface dataset:
As a side note, here's an argument from Paul Graham regarding central planning (when writing about MIT and Harvard):

> [1] This is one of the advantages of not having the universities in your country controlled by the government. When governments decide how to allocate resources, political deal-making causes things to be spread out geographically. No central goverment would put its two best universities in the same town, unless it was the capital (which would cause other problems). But scholars seem to like to cluster together as much as people in any other field, and when given the freedom to they derive the same advantages from it.

[1] http://www.paulgraham.com/cities.html#f1n
I remember thinking the same thing after reading https://www.hillelwayne.com/post/equals-as-assignment/

Math symbols and expressions are inconsistent just like regular languages. But, unlike math, other languages don't claim to be consistent.

It's not surprising that John von Neumann said "in mathematics you don't understand things. You just get used to them." - I've never heard a software developer say this about coding.

For example, I did not enjoy integrals at school because of the 'dx' at the end which means 'with respect to x' but which actually looks like a multiplication (* d * x).

I think that the reason why I never got deep into math is because the language of math is too inconsistent and has too many logical shortcuts and I can't operate in such environment.
No they're not? SpaceX launch prices are in the range of $60M, while Ariane 5 prices are around double to triple that.

Ariane was competitive back when Falcon 9 performance was lower, and splitting capacity 50/50 in an Ariane 5 rideshare gave you similar payload to orbit; these days, it's a very different story.
And the sad thing is that many people still think that the "fat free" stuff with heaps of sugar is somehow healthier....
> I'm actually thinking of starting a website to create "comic-style" (as the author calls them) explanations of important papers and ideas in science.

There already is a hub for such projects: http://explorabl.es

Perhaps you can get some inspiration and/or exposure through it.
I don't see anything wrong with automatic unwrap in principle. It's not really much different from how Rust handles array indexing (where you don't have to explicitly handle the case where the array lacks an element at the given index).
Wouldn't this be fixed simply by calling `addSubview` last (and designing your UI toolkit in such a way that you don't need to imperatively call `sizeToFit` after adding a thing to a container, but implicitly sizing things correctly during layout)?
Interesting article, but there’s this architect type out there I’ve been encountering who are like, Kafka maximalists. In this case, the overall model is ok, but the insistence to put the keys into Kafka instead of a normal data store, and then to rely on hot access and the Kafka streams state stuff for potentially millions of keys seems misguided. It’s ok to use relational db’s when they make sense. It almost feels like with Kafka we’re going through the whole NoSql or die thing all over again, just so in a few years we realize Postgres isn’t that bad.
Oh my I'm gonna hafta try this! I had no idea what shmaltz was either.
Even if you use fusion power you need to use some mass that you can accelerate and then expel opposite to your direction of motion. So while you would need less fuel, this is only really true if you also have what would amount to a miniaturized particle accelerator beyond anything we are able to build so far. Or put other words simply producing lots of energy is not enough.
The specific citizens in that case are those that run banks, and contracts provided by banks are backed by governmental laws.
> Maybe people are tired of the endless claims from the Tesla fans that "everything everyone else has ever done before is wrong".

Of course everything everyone else has ever done before isn't wrong. Lots of it is right. But if challenging all of it is what's needed to innovate in the places where they were wrong, then by all means I support Tesla and Musk. Why would I not support someone trying to innovate, and succeeding? Unless of course you want to try to tell me Tesla hasn't innovated the auto industry in any way-- in that case we can end our discussion here because we won't ever see eye to eye.

> Why do so many people here root against Ford and GM?

I root against Ford and GM and the others because with all their resources and might, they haven't done what Tesla's done....instead they've done the bare minimum. Tesla started in 2004 from scratch. If GM or Ford had committed the resources they could have to electric vehicles and autonomy and so in 2004, God knows what they would have for us now. But they didn't. They sat still, incrementally improving mileage and adding bluetooth and so on. Why would I root for that? Why are you rooting for that? What's exciting about that?

> Yet to be seen. Right now they are hand-building cars for huge losses. There's no "mass" production

"Yet to be seen"? Geez. Yeah, clearly Tesla's not scaling at all. Selling about the same number of cars as two years ago, or five years ago. No evidence of progress at Tesla.

> Or are you of the mind that Musk is infallible?

Of course Musk is fallible. Does a person have to be infallible to innovate and succeed? Do they have to be infallible to be admired?

> According to whom? Tesla won't release the numbers, and the Model 3 tracker from Blomberg shows 2,300 per week

Yep, no doubt the 2300 will decline back towards 1000, then they'll go bankrupt. No reason to believe that things are picking up. Just because it's 2300 now and was 150 three months ago, that's not evidence of any progress. Easier to believe they're going to fall apart.

So hard for me to understand your way of thinking.
You can use both, ala tcomb or io-ts
I downvoted the parent comment but your response is also disengenuous. Unless I’m allowed to claim credit for Rome’s victories the ‘China’ that invented those things shares nothing with the China being discussed right now.
Musk talks a lot.
You make a valid point. One thing that I don't like about other frameworks is that the styles come across a bit childish. The original intent was to create something that would allow you to make something that actually looks good without a lot of effort. It's not there yet, but I wanted to share to get some feedback and maybe even a few more contributors so I could hit that goal.

...updated the title to reflect this more.
Did I say that was the way to get people to use it? No. I said it's the way to make it work. I want it to work when people need it, not to get more people to encrypt their shopping lists.
There have been practical demonstrations of using padding in several formats to generate valid files that collision with an original one, but with entirely different contents.

This means that it is possible that someone could download the real image, introduce some rootkit, and then tinker that (for instance, by adding a hidden file with carefuly crafted content) until the resulting md5 is the same as that of the original image. Then hack the server and upload the modified image in place of the original one, and everyone who installs Dragonfly is now their minion.

If you use a stronger hash (which is not harder for anyone than using md5), then this attack vector becomes impossible. So... even if it is a remote possibility, just use the stronger hash because it is just a dominant strategy (it has upsides, yet 0 downsides).
"In this case the entrepreneurs know something potential employers don’t – that nowhere on their resume does it show resiliency, curiosity, agility, resourcefulness, pattern recognition, tenacity and having a passion for products."

Those aren't really signaled by asking coding questions either.
> That's 4 out of the 15 standards currently developed at the WHATWG; not so bad, given how few companies are willing to pay people to work full time on web standards.

Thats actually nice to know, but specifically about HTML (which is one of the most important specs the whatwg works on) it's all browser makers. (That too, majority of them from one particular browser maker).

>I think this is probably the right way to go, instead of "The Director" having the final voice.

I think having a better mix of people in the decision making process than just browser makers would be the right way to go. I understand that browser makers have to implement the specs, but the web community as a whole has to use the specs to build the web of the future - and as such, people from non-browser companies should have a greater say in the final voice.
30% of tesla's float is shorted and yet price is pretty high
That’s already a property of rust errors. If a function errors you can’t use its return value until you handle the error some way either explicitly, forward it with the ? operator, or unwrap it indicating an unrecoverable error.
IDEs like webstorm can ostensibly be quite helpful if you use jsdoc style annotations.

However, in my experience, once a code base is big enough, you can open almost any file and find documentation that's out of date, incorrectly copy-pasted, or some other major issue. TS, on the other hand, at least forces you to stay correct, which is ultimately what convinced me to switch.
> about the same price as competitors

Um, no? The competitors have had to drop their prices very substantially in recent years, due to competition from SpaceX. Yet they're still somewhere between 50%-300% more expensive. That's far from "about the same price".
Show HN: Nirow – Habit Tracking: Automated, Siri-Ed, Calendar-Ed, and More
That is ridiculous. The electric grid is actually facing precipitous demand growth drop[0] due (in part) to efficiency improvements. Long range electric vehicles are able to charge when demand is lowest most of the time, and for long trips, they charge at Superchargers which are buffered with stationary batteries. Far from destroying the electric grid, electric cars are critical to making utilities profitable.

[0]https://www.vox.com/platform/amp/energy-and-environment/2018...
commit your vendor folder
I think network effect and the fact that the linux kernel was in git. When the kernel was using BitKeeper that was huge for us, people went "welp, if it's good enough for the kernel it's good enough for us".

And I think, might be wrong, but I think github was first.
'There is no such thing as past or future': physicist Carlo Rovelli
> Tencent Holdings Ltd., with nearly 1 billion users, reported that its net income almost doubled in the last quarter, to $3.3 billion. Alibaba Group Holding Ltd., which dominates online retail, is expecting growth of 55 percent this year. Investors may worry about Chinese debt, but they're giddy about Chinese tech.

Anyone knows the SEC equivalent site for pulling revenue numbers for Chinese companies? If possible, direct links for Tencent and Alibaba will be even more helpful.

The reason I am asking is Alibaba has been investigated for their creative accounting:

https://www.thestreet.com/story/14277425/1/alibaba-still-coo...

And, I recently watched "The China Hustle" documentary. Discussed here:

https://news.ycombinator.com/item?id=16726355

One of the highlights in the documentary was the financial reporting. There was a huge gap between revenues western Media and US markets was seeing vs what was being reported in China. The whole idea being accessing financial data for Chinese companies was hard.
Removing capacity probably doesn't include removing capacity at all levels of the stack - perhaps it only means reducing the number of frontends, not db servers. That'd reduce load on the db server, allowing it to serve faster.
imo the dream of exceptions is deferring error handling so happy-path code can be straightforward and free of worries, but if every line of code indirectly under a try-catch block has to embody transactional thinking to enable proper RAII behavior, that seems like a huge obligation.
There’s a lot of ninja downvoting on seemingly thoughtful comments going on in this thread.
As someone with parents who experienced the USSR, this is what really terrifies me about China's rise, and the reason I can't say I'm against a trade war if it hinders them more than us.

Imagine a world in which China holds more control... a country with little legal or social respect for individualism, where your fate is 'centrally planned' by how impressive your maths skills are. By contrast, ~30% of American billionaires are dropouts. We highly value ambition in the U.S., and we attract (and reward) people who have it; those people, upon coming here, largely have the freedom to create and build and be in charge of their own future.

It just seems like the U.S. will self-select for the ambitious and the inspired and those who desire freedom, and it would be immensely worrying if this model we have appears wrong.
Have you tried Amazon outside of the USA? It sucks. In the UK I've been told it is ok. In Australia, Thailand and China it is not a great experience. In China Tmall is an amazing experience. In their home markets they both seem to be entrenched but globally I'm not sure if either will win.
The cost od the lower bay on an Ariane 5 is 60 million USD.

The cost of a launch on Falcon 9 is 62 million USD.

That's not 20 million less, that's 2 million more — ofc, finding a second satellite to launch with is with Ariane more time consuming, so you'll not be as agile.

And if SpaceX cuts the cost of a non-reusable launch (previously 62mm) by 50mm, to 12mm, that'd be a breakthrough. If you meant to say that they cut the cost of reusable launches (previously 30mm) by 500mm (aka paying people for launching), then lol.
Diy Purse Clutch Wallet Tutorial
well said on TPP, we should be in that than out. Unfortunately it became a political talking point, rather than a real discussion.
> extreme emotional reaction to Tesla these days?

It's the reaction for facts and Musk giving predictions that are off by a magnitude constantly.

Remember that Tesla was supposed to produce 20,000 units per week by the end of 2017, then 10,000, then 5000, then 2500 by end of March. It fall below the latest goal by 20%. When Musk hypes up the product for the customers, that's a good thing. When he hypes up for investors, they lose confidence and interest rate for capital will increase.

>Now they're tracking to 100,000 or more in just in the second half of the year.

Why would we trust this claim from Musk? If we assume that Musk is consistent in his messaging, we must downgrade his claims by order of magnitude. He has constantly claimed that Tesla is on track and failed to deliver.

>They build shit cars.

Tesla's are arguably very shitty cars with lots of details just plain wrong, but they are super nice to drive. This is typical for high performance luxury cars. They can spend time in repair shop because people love to drive them and they can afford the cost.

Model 3 is completely different animal. Tesla has invested so much for the production like that they can't back up to low volume manufacturing. They must produce Model 3 in large volumes or ROI will drop like a stone.
I suggest taking a look at launch prices for a single satellite in an Ariane 5 dual launch, which is cheaper than any non-reused launches SpaceX offers.
Seems HN went from Musk love to hate pretty fast. I am rooting for the man.
I had a class that was so easy that most students didn't bother to show up for lectures. Near the end of the semester the profesor got angry that nobody came to his lecture and decided to retroactively grade attendance with 70% of the grade. Most students flunked. I was fortunate that his class was in between two others I was taking, so I attended about half of the lectures and passed it with a grade that corresponds to the American C+/B-
"A developer who can code the front-end, back-end, API, and database isn't as absurd as it once was (excluding visual design, interaction design, and CSS). Still mythical in my opinion, but not as uncommon as it once was."

I see this attitude expressed a lot among people who identify as "front end" developers and it seems like psychological projection to me. I would count myself and a number of close friends and associates as these mythical "full stack" developers so (in my circle) I don't think it is uncommon at all.

One thing I have noticed (again, in my circle) is that "front end" developers tend to start learning with front end development and are commonly self taught, while "back end" guys are more likely to have a degree and start with something enterprisey like .NET or Java. From what I've seen, back end guys have a much easier time moving to front end than vice versa.
No, that's wrong. It is far worse than that.

There's an entire industry of entities involved with medical pricing. One of the players in one of the larger niches, a Pharmacy Benefits Manager[1], recently bought an insurer[2]. Manipulating, negotiating and offering various financial and marketing products (it gets really blurry) around medical pricing is huge business.

[1] https://en.wikipedia.org/wiki/Pharmacy_benefit_management

[2] https://www.nytimes.com/2017/12/03/business/dealbook/cvs-is-...
The biggest plusses of representational democracies imo, open opposition and replacement of the leadership every few years.
>What good work is it doing in HTML?

From my experience, it has generally done a better job of explaining things developers would want to know, especially in terms of accessibility and internationalisation.

The XHTML stuff was a long time back, and at that time, it warranted having a whatwg. Now that W3C is no longer insisting on XHTML (and hasn't for many years).

>When it was clear that the WHATWG standard was the one that actually mattered because it was what was actually implemented, the W3C invited them back in to start working on the standard together. That's what HTML5 was; the W3C agreed that they would start from the WHATWG standard, that they could have the same editor (Ian Hickson), and they wound down the XHTML 2.0 group.

This is the crux of it. The WHATWG is really usefull for browser vendors because they can do essentially whatever they want in it without anyone having the power to formally object to it (unlike the W3C). Now the whatwg editors (and thus browser makers) can say that they will listen to community feedback, but thats pretty much a benign dictatorship over the most important spec of the web.
What are your thoughts on the home-grown effort to produce small, portable .. and open .. computing devices, as represented by such as the Pyra Handheld and so on?

http://pyra-handheld.com/

Earlier iterations of the machines supported by this community utilized ARM-based CPU's that had smaller cores onboard that could be repurposed for other things .. audio and video codecs, 3d engines and so on.. maybe you have yet to see the Pyra/Pandora classes of devices?
Falcon 9 launches are only around 60MM if the first stage can be recovered, which limits performance. A dual Ariane 5 launch provides the same performance for the same price.

I agree that the reused prices are starting to significantly affect the market, but otherwise it's pretty much the same, for pretty much the same cost.
> SpaceX hasn't reduced prices yet

You keep repeating this, but it's completely untrue. Today an Ariane 5 will cost you $10,000/kg to $14,000/kg to LEO, but you can get a Falcon 9 to LEO for $2,800/kg. That's already a very substantial price reduction, and that's before the economics of reusability has kicked in.
> Imagine a Chinese company operating in the states, with an a fully imported senior management and all "c-level" discussions in chinese.

For what it's worth, you just described two separate companies I've consulted with, and I'm sure there are many others.
As in: "I am not wrong because everyone else is doing it"?

Anyway, I am not too concerned with your country's future since I am not American.
A Good Night's Sleep
>Microsoft tried that, investing in easier to use GitHub tooling to allow a wide range of people to submit pull requests to update/fix bugs in the W3C HTML standard. "If you build the field of dreams, they will come...." Nope. "They" had all gone to WHATWG ballpark, and all the W3C editors do is cherrypick (that's the actual word in the HTML 5.2 Recommendation) WHATWG's specs. It made a LOT more sense to just join WHATWG for HTML (and DOM).

It won't work if only one browser maker will participate. If only microsoft participated and implementing things in the CSS WG then nothing really would get done over there too.

If all the browser makers would have editors in the w3c html spec (like they do in many other w3c specs) and agree to implement stuff there, then that would also work.
> Imagine a Chinese company operating
> in the states, with an a fully imported
> senior management and all "c-level"
> discussions in chinese.

In other words, imagine a Chinese company operating in the US the same way US multinationals operate on continental Europe.
I recall this being brought up by a guy who had been a helicopter mechanic in the Army... he believed it was a Vietnamese word spelled ‘buku’, and it took me some time to realize he meant beaucoup.

Example in context: “They’re making buku bucks over there.”
I think when people talk about ergonomics of a programming language, it basically means "convenience", but more dramatic.

If your language offers a good way to express the problem, but it's inconvenient (too much typing to write it out, makes you think too much about inessential problems, fragile and needs to be adjusted when other code changes, ...), the total cognitive overhead (TCO? heh) might be higher than if you just used a different, worse way to express the problem, thus potentially making really cool language features completely useless because people won't want to use them.
Thanks a lot for this! When I need to focus, sometimes I need to look stuff up on youtube and then I get distracted by all the clickbait meme shite.

Now I can use this site.
Yeast Probably Originated in China
That helps with writing, but does it completely solve the problem with reading/code review?
Could it also be that Go encodes symbols in a way that strip can't read, or is is just standard ELF stuff?
Not to mention Korean ones (Samsung is famous for this). There are enough Chinese expats in the states that I’ve heard there are even a few American startups that conduct business in Chinese.
A flamewar is a disagreement of opinion. I am not aware of any actual problem reported as a result of using the `=` sign for things other than equality or anything suggesting it is generally counterintuitive.
Have you tried UDF?

http://duncanlock.net/blog/2013/05/13/using-udf-as-an-improv...
Context means everything. Is the author working on a startup with weekly sprints and a small dev team, or an enterprise app with 400 devs and a legacy codebase in a waterfall environment?

The author strikes me as someone who has a very narrow breadth of experience.
Qt for Python is coming to a computer near you
This last sentence made me think, it's probably because people who start learning from the backend have an understanding of the whole stack from the bottom up, whereas those from the frontend start with a much more distant abstraction and gradually discover the underlying layers of the system.
Ask HN: If I taught myself quantum computation, could I get a job in it?
I've been working on teaching myself quantum mechanics for a few years and have recently stepped up my game and made some real progress (especially with the help of McMahon's "Quantum Computing Explained").

If I taught myself rigorously enough, could I get a job in the field of quantum computation?
> jsdoc style annotations

Which are a form of type annotations. Case in point: the typescript compiler can actually parse those, in .js files, and yield appropriate warnings on errors. See the //@ts-check annotation.