skysight-inc/HackerNews huggingface dataset:
Could you please stop posting unsubstantive comments to Hacker News, and follow the site guidelines?

https://news.ycombinator.com/newsguidelines.html
Days before death, renowned scientist urges rapid research into geo-engineering
It turns out that banging together bash scripts which contain invocations of cloud SDK tools has as much relevance in the k8s era as any before.

Maybe it’s Python instead of Perl but that is about the most-significant change.
Another example would be Oppenheimer, who got perhaps the rawest deal from the government since the Indian treaties.
My great grandmother was reading a pulp magazine about man going to the moon when she was young, her father made a point to check that she understood that such things were impossible if not extremely far off in the future. The only reason I know this story is that she survived to watch the moon landings and told my father, who told me. The moral of the story was always that it's very hard to predict technological growth, in particular, we tend to undershoot with our long term predictions. Personally I tend to be more weary of people that claim something won't happen in my lifetime than people that tell me something will happen.
The Heroes of Telemark is even better! Kirk Douglas and Richard Harris, what could be better?
This actually isn't well backed up by psychology. The large majority of violent crimes aren't premeditated--they're impulses.
I was thinking, this is either a really subtle pun, or a typo.
Yes - to be more specific, you can lock your own package's dependencies to an exact version, but you cannot lock dependencies of your package's dependencies. You can't do anything about them. They will get updated because their package lock specifies the lock in the form of ^2.0.0. The fact that a package lock can resolve to multiple versions is counterintuitive. One would think the whole point of a package lock is to lock packages.

As a result, when you do a npm install in your oblivious and happy life, npm naturally assumes you want to summon Cthulhu. If you didn't want to summon Cthulhu, why did you call the command that summons Cthulhu? Yes, the default command summons Cthulhu because we believe in agile Cthulhu. If you don't want to summon Cthulhu, try this undocumented command with a misleading name we've added silently a few weeks ago for weird people like you who don't want to summon Cthulhu when they want to do a npm install. But seriously, why do you not want to summon Cthulhu?

Unfortunately, this was the impression I've gotten of the position of npm folks when I read a few threads about this. I've moved to npm ci for now and moved on. Npm's package lock is many things, however, none of the things it is, is a package lock.
Related: given a permutation of numbers 0..999, find out the position of a given number (e.g. number 5). It may seem that on average, you need 500 iterations. In fact, you need much less:

let index = 5;
while (element[index] != 5) index = element[index];
If only ignoring the dangling sword could prevent it from falling!
So VW is ahead of Tesla because they've made a bunch of announcements of things they may ship in the future? It's all vaporware until you actually ship. They didn't "get there first" on 350kW chargers when there's not a single car on sale that can use them. They're making a bunch of announcements and maybe they'll do well, I hope they do, but they're still quite a bit behind Tesla.
Yeah...the 500-kV projects that TVA built in the 50s are very useful today. They waaay overbuilt it then (they only needed 115 or 138 kV iirc) and that would never happen today.
From the linked Twitter thread: It's the Chinese equivalent of "password": 我的密码
Honestly, its hard to see this comment as actually addressing anything the OP your replied to said.
If you run `npm install` with no arguments, and you have a lockfile, it will make the node_modules folder match the lockfile. Try it.

$ json dependencies.esm < package.json
^3.2.5
# package.json would allow any esm 3.x >=3.2.5

$ npm ls esm
tap@12.5.3 /Users/isaacs/dev/js/tap
└── esm@3.2.5
# currently have 3.2.5 installed

$ npm view esm version
3.2.10
# latest version on the registry is 3.2.10

$ npm install
audited 590 packages in 1.515s
found 0 vulnerabilities
# npm install runs the audit, but updates nothing
# already matches package-lock.json

$ npm ls esm
tap@12.5.3 /Users/isaacs/dev/js/tap
└── esm@3.2.5

# esm is still 3.2.5

$ rm -rf node_modules/esm/
# remove it from node_modules

$ npm i
added 1 package from 1 contributor and audited 590 packages in 1.647s
found 0 vulnerabilities
# it updated one package this time

$ npm ls esm
tap@12.5.3 /Users/isaacs/dev/js/tap
└── esm@3.2.5
# oh look, matches package-lock.json! what do you know.

Now, if you do `npm install esm` or some other _explicit choice to pull in a package by name_, then yes, it'll update it, and update the package-lock.json as well. But that's not what we're talking about.

I often don't know what I'm talking about in general, but I do usually know what I'm talking about re npm.
Soyuz is a remarkable vehicle and the people who make and fly it should be very proud. The DM-1 mission is significant for several reasons. A return of manned space launch capability for the USA which will bring a lot of national pride. The commercialisation aspect with SpaceX and Boeing not just building a NASA vehicle like SLS/Orion but providing a launch service which could help open up space exploration to more sustainable development. And the story of SpaceX themselves from improbable tech founder vision 17 years ago to industry disruption and market leadership today. This is clearly a very important milestone for them as they ultimately want to send people to the Moon and Mars.
I believe it's due to HN including this:

<meta name="referrer" content="origin">
good recommendation, if the author understood control theory he'd understand that code that feedbacks on code is quite different than code with no feedback loop.

while I find it hard to find anything I'd recommend about the authors article as most of the reasoning seems a little off, I can understand the sentiment of the article .

Agile and TDD are really recognition of control theories ideas of feedback loops keep things in better control and can adapt faster vs long feedback loops going out of control far easier. This is more targeted at the human side of creating software. Nothing to say there aren't better strategies than TDD and Agile techniques, however I think that principle of feedback loops to give confidence will stay in some form. I think there is a LOT more to be said about engineering / designing correct, robust, and secure software.
This is totally irrelevant for San Francisco. Even if you're a libertarian (or maybe especially if you're a libertarian) you should support building housing in the bay area.

Nobody's asking for government funds to build housing in SF. Developers are lining up to build housing funded entirely out of their own pockets. People who are pro-housing generally just want to government to stop preventing people from building more high density housing on property they already own.

So, if you're arguing some sort of taxes and government regulation are bad thing, you should be in favor of drastically more housing in SF.
Maybe we should have an open source error tracking engine that can be self hosted. Too often I see this being the reason people freak out about using a product (only on hackernews though).
Please don't take HN threads on generic ideological tangents. They're all the same, therefore uninteresting, therefore off topic here.

We detached this subthread from https://news.ycombinator.com/item?id=19296446.
This is about validating code, not about maintaining the integrity of the system in the presence of corruption or a party that is deliberately trying to break things. It's actually helpful to be able to check that the system is sound in theory. Nobody is suggesting that you can use that as an excuse to get sloppy.
> American politicians don't have those visions of magnificient infrastructure any more. All they want to do is play divisive politics.

Pinning it on politicians is somewhat fair, but the voters share responsibility on this one. They've made it pretty clear that if there is spare money in the budget it should be directed to checks US Federal Budget social security, healthcare and the military in that order.

I suspect China's programs in those areas are not as advanced as America's. That leaves more financial room for infrastructure.
But testing exhaustively means the full range of inputs are used, and therefore, if a bug arises as inputs not considered by the dev initially, it would show up as a failure.

What you're actually saying is that reaching full exhaustive testing is near impossible.
Per, good to see you commenting on HN. I know I’m gonna get downvoted since this doesn’t fit the forum but just wanted to say hi.
By ailing infrastructure I don’t merely mean poor infrastructure. I mean infrastructure that was originally a big investment and, one would hope, initially productive. I’m curious just how messy those wires were in 1960’s China. Sounds like they weren’t a huge investment and could be scrapped when it was time to actually build something.

Maybe American politicians don’t dream of magnificent infrastructure because we don’t have a clear dream today. Five decades ago there were so many highways clearly worth paving, so many drying machines needing power. Most of the infrastructure we’d probably agree we need today (trains, renewable energy, whatever) isn’t enabaling radically new possibilities like the first highways or energy grids did, even though it’s clearly worth building. There also isn’t as much universal appeal for building Big due to the progress of environment awareness, for example. Politicians sell dreams and maybe our dream for infrastructure is too murky to give them strong footing.
That is how most cubes have been launched historically - piggybacking on larger launches. The electron launcher is a relatively recent development.
With an appropriate payload there were proposals for upto 80 people in the shuttle. At $450m to launch that would be $6m a seat.
For example, Antarctica is a great place to research Antarctica. And Mars is a great place to research Mars. For that reason alone, there will be people on Mars, even if there's nothing to commercially exploit there and no reason to colonize it.
Most NodeJS with ReactJS frontends.

Some of them had already started doing React for frontend and just need the backend work.
> Students should have two long classes each day for six to eight weeks.

It wouldn't work. All the article seems to focus on "productivity", without defining what productivity is. What the goal of solving problems in a class? To solve problem? No, to goal is to learn something. Maybe to learn how to solve this problem, maybe to learn how to solve problems of this kind, maybe to learn some new words.

The goal is learning. Learning needs constant efforts applied. Not one time per month, but two-three times per week, or even every day efforts. It is how memory works. There is a forgetting curve[1], the forgetting begins when you learnt some new in a class. You need to rehearse material a few times, to move it into long-term memory. It is considered the most effective to rehearse material after three days. Effective in terms of minimizing efforts needed to move information into long-term memory. You could learn faster if learning sessions was placed each 2 days or even every day, but it would need more efforts per bit of long-term memorized information. At least theoretically so -- there are other factors which have their influence on a process of memorization.

So we need to have math lessons a few times per week. English lessons a few times per week. History lessons a few times per week. The most effective schedule would be 2-3 lessons per subject per week. It can be 1 lesson, but then we would need to add a homework assignment for student make a rehearsal of material between lessons, splitting a week by half. I can work great with highly motivated and conscientous students, but not all of students are highly motivated and conscientous. Therefore school creates schedule that forces students into the most effective learning experience. Or at least tries to do it.

[1] https://en.wikipedia.org/wiki/Forgetting_curve
See what happens when someone gets in a crowded place with a gun vs a knife. Also the general public should not be allowed to take a vehicle in to a dense area like a city.
The point is that what people are willing to pay for a car is already well within the range of a Model 3. If you wanted to compare like for like the actual comparison is a BMW 3 Series or Mercedes C Class, not a Camry. But you can definitely include pickups in the comparison since most people that buy a pickup or SUV have no actual use for them, it's just a fashion symbol. And yet here's the Model Y on the way. The model 3 is already a feasible mass market car in the US any way you run the numbers. Even a Camry goes to over 35k. If you see the numbers I quoted there are now very few car types that average below 30k.
If you run `npm install` with an argument, then you're saying "get me this thing, and update the lock file", so it'll do that. `npm install` with no argument will only add new things if they're required by package.json, and not already satisfied, or if they don't match the package-lock.json.

In the bug linked, they wanted to install a specific package (not matching what was in the lockfile), without updating the lockfile. That's what `--no-save` will do.

The SO link is from almost 2 years ago, and a whole major version back. So I honestly don't know. Maybe a bug that was fixed? If this is still a problem for you on the latest release, maybe take it up on https://npm.community or a GitHub issue?
It’s about validating that your own code matches the spec. Not validating that anybody you’re communicating with does. Though if you wrote the client and the server then you know that both do.
A subtlety in that quote: most guns were not submitted for tracing in the first place. Of those that were, ~90% led to the US.

The whole 90-percent-of-Mexican-gun-crimes-happened-with-US-sourced-guns argument never passed the smell test with me. Guns are expensive at retail. And wholesale prices aren’t low, either. Who wants to spend truckloads of cash on brand new guns from licensed dealers when all manner of ex-military AKs and FNs are available on the Latin American black market? Much cheaper and less risky to get guns from the south than the north.

Anyway, what’s the proportion made up by US-sourced firearms? Nobody’s sure, but probably nowhere near the bulk of it:

https://www.factcheck.org/2009/04/counting-mexicos-guns/
Now check this out: http://www.vavr.io
I doubt it. But maybe you have a specific reason for saying that in this case, so we'll put the caps back.
You should check out at least a couple of things:

- The Dune build system for OCaml, also written in OCaml, does exactly what you are describing: https://dune.build/

- Jane Street's Incremental library lets you build auto-updating computations which change whenever their inputs change: https://github.com/janestreet/incremental

Honourable mention: Thomas Leonard's really interesting series where he describes rewriting his dependency management tool, 0install, from Python to OCaml http://roscidus.com/blog/blog/2014/06/06/python-to-ocaml-ret...
> So VW is ahead of Tesla because they've made a bunch of announcements

No, they're ahead because they'll be delivering more options at a larger scale.
is the python code public ?

I toyed with phantom type in kotlin recently (toy examples); I'm curious how it would be done in python.
Korea had a dictator too.
The examples you cited can be written down and they don't have to be taught in person. You could instruct somebody to do these without being present in person. I'm sure there are reasons that's not the way it's taught primarily, but you've not convinced me it's fundamentally impossible.
Building a line to run @ only 25% capacity isn't exactly super smart. We have these conversations all the time in grid operations and planning when we hear about these big projects. In power transmission you always have to carry power reserves for your single greatest contingency (actually more). Let's say your largest contingency today is the loss of a 900 MW nuke plant. So you have to always have an extra 900 MW laying around. Now go build a 4 GW line. What happens if it trips? Big changes around the regions on each side. Chances are you now have to carry considerable more reserves unless you operate it at a much lower percent of capacity. It's the same with large amounts of wind. If you suddenly see your wind forecast fall off a cliff and need to make up multiple GW of lost generation, you're in a really risky spot. You have to carry extra reserves and try to best anticipate the event and that also costs money. In a future with lots of big batteries, this isn't as problematic, but we're very far from having that much storage on the grid.
Best of both worlds, I can paid to learn the new tech and the old tech...
Note that OCaml and Reason are the same language with a different syntax. So when you're learning one, you're learning the other. There are some ecosystem differences because you can target native compilation, or JavaScript compilation. But otherwise the concepts carry over.
I appreciate the intention in your comment to promote greater tolerance, but posting in the flamewar style is exactly the wrong way to do it, and violates the site guidelines. If you'd please review https://news.ycombinator.com/newsguidelines.html and follow them, we'd appreciate it.

Edit: https://news.ycombinator.com/item?id=19261926 was another example of how people aren't allowed to post here, and looking back further I notice https://news.ycombinator.com/item?id=18159584. Would you please not post like this again?
>Pretty hilarious all around, anyone checked if d0g!(!(!(!(!(!( is in the database too?

I just checked and... looks like it's not been seen by HIBP:

>Good news — no pwnage found!

>This password wasn't found in any of the Pwned Passwords loaded into Have I Been Pwned. That doesn't necessarily mean it's a good password, merely that it's not indexed on this site. If you're not already using a password manager, go and download 1Password and change all your passwords to be strong and unique.
> I don't think there's an alternative to datatables that even comes close to being as well put together.

One of my projects uses ag-Grid[1]. It works very well and doesn't depend on jQuery. There are lots of others to choose from, including FancyGrid[2] and a vanilla-JS version of datatables[3].

ag-Grid has paying enterprise clients that contractually obligate the developers to continue support. As a guarantee of future support, that's as good as it gets in the open-source world.

> rock solid with continuing support

It looks like jQuery itself is not very actively developed anymore[4].

> I don't want to come across as unappreciative, but there's still reasons to use jquery.

It's completely fine to disagree. That's what makes HN interesting. I didn't take it personally.

1. https://www.ag-grid.com/

2. https://fancygrid.com/

3. https://github.com/Mobius1/Vanilla-DataTables

4. https://github.com/jquery/jquery/issues/3886
But those country whether it's qatar or the UAE with high GDP capita don't have replacement birthrates. As far as the dictator angle I think it's going to hard to toe that line. Because you push to hard to cause social unrest which is the one thing the CCP doesn't want.
SpaceX has been Lansing and reusing first stages for years. Last year they landed 3 at the same time (well ok one had a minor glitch)
This makes no sense. You can't be ahead in the market by making announcements while shipping less product. That they will in the future deliver more options at more scale is your prediction. I hope it works out but it remains to be seen.
It's not cherry picked, it focuses on the phenomenon of mass shootings specifically. Gang wars and genocide are certainly tragic, but they are a very different type of gun violence than what people mean by mass shootings. The study is asking why in America people are shot by the tens or hundreds at ordinary, law-abiding venues such as schools or concerts, which is relevant in its own right.
Doing flamewars like you did in this thread will get you banned here, so please don't do it again.

https://news.ycombinator.com/newsguidelines.html
Possibly, but I don't work with any teams that use any languages that don't have their own formatters, so I don't even know which languages are still missing one.

The languages they're using are C#, TypeScript, JavaScript, Go, Python, and Ruby.
Wtf are you talking about? There are numerous stories of people accidentally crossing the border without even knowing it while hiking or boating. And you're really going to tell me that clearing the forests for 20ft at the border magically prevents people from crossing if they want to? Do you think there are thousands of drones patrolling the clearings or something?
I wish I knew how to get this point across to people. The way I think of it is that a type-checker which validates a single program at a time isn't capable of proving certain facts which hold when access to filesystems or networks are involved.
I don't understand, what is being lost here?
No. I've never been banned for being incendiary and I use the comment section almost exclusively to criticize things, including this comment which I now feel compelled to disagree with given that my experience contradicts it.
Since everybody's asking for sources, here are a few.

HPSCI (Rogers/Ruppersberger) report (2012):

https://republicans-intelligence.house.gov/sites/intelligenc...

Story about Rogers report (2012):

https://www.nytimes.com/2012/10/09/us/us-panel-calls-huawei-...

Australia Bars Huawei From Broadband Project (2012):

https://www.nytimes.com/2012/03/27/technology/australia-bars...

CBS News interview with Rogers (2012):

https://www.cbsnews.com/news/huawei-probed-for-security-espi...

Analysis: Who really owns Huawei? (2010):

https://www.itnews.com.au/news/analysis-who-really-owns-huaw...

Foreign involvement in the Critical National Infrastructure (UK 2013):

https://www.gov.uk/government/uploads/system/uploads/attachm...

The History Of Tech Giant Huawei And The Chinese Government (2018):

https://www.npr.org/2018/12/07/674467994/huawei-and-the-chin...
Study Links Rise of SUVs to the Pedestrian Safety Crisis
That’s not my viewpoint at all. I think we SHOULD build as much supply as possible.

However I’m not holding my breath nor am I optimistic about the short-medium term reality.
Slashdot was fun and I too learned some amazingly arcane stuff on certain topics. HN does have humor sometimes, one of my favorite threads is https://news.ycombinator.com/item?id=12781157 looks towards the bottom. I guess we all need to be serious these days lest someone doesn't see the funny. Slashdot was pretty amazing for a community policing itself as opposed to making moderators do a lot of the heavy hauling, but you really need people to stick around and do the work.
The Great Courses Plus perhaps
Your examples show that CEOs "can" matter, but not that they "do" matter.

I think anyone would agree that there are plenty of CEOs who happened to get their jobs just as pipelines come through, the economy rebalances in their favor, long-term HRD plans come to fruition etc. but they get all the credit anyway