skysight-inc/HackerNews huggingface dataset:
V8 developer here (who happened to also implement perfect hashing in V8's tokenizer) - perfect hashing is a very common compiler optimisation, and as the sibling comment says, is worth it for the runtime scanner speed improvement. If you do end up adding new keywords (which is ~never for anything that wants to preserve backwards compat), then you just recalculate your perfect hash with gperf or by hand or however.
Just to clarify, Milton Friedman most likely did not “support” the Pinochet regime. Here is another article on the topic:

https://www.theatlantic.com/business/archive/2008/07/milton-...

Nevertheless, Friedman’s words stand on their own, and I thought that the addition of the quotes worked well with the post. I am not making political statements, because I don’t find them to be appropriate for HN. Peace.
This article reads like an anecdotal rant.

> Groups never admit failure.

> I’m hard pressed to find examples in history of large groups that said, “We thought A, but the answer’s actually B.”

First statement does not follow from the second. The rest of the article is even worse in its sudden jumps to conclusions.
Gut microbes may drive weight gain after smoking cessation
This feels like a pretty low hanging fruit to regulate away. Ban antibiotics use in agriculture in civilized countries and ban importing antibiotics grown meat from the others (I would guess it's easy to test).
If you are really concerned about flux and lead I would suggest using a lead-free solder with a good (i.e. not the cheap on with "active charcoal filters") fume hood.

As far as handling leaded PCB goes I really don't see it as being an issue unless you voluntarily lick it, and even then I am not sure that there would be nefarious consequences (aside from probably getting sick from leftover flux).

What I do is just use leaded solder but wash my hands afterwards. I solder about every two weeks so I just don't think it would even show up in a blood work. I don't have children but I suppose you can just lock your supplies somewhere or educate them depending on their age.
Be VERY careful on accepting push notifications!

There is a huge malvertising campaign targeting mobile users (especially Android) that tricks users into accepting push notifications with fake CAPTCHAs or fake media player buttons that push malicious ads and mobile malware and can even lead to botnet activity.

The risk versus value is too high.
Have you ever talked to real physicians? Except for a few small specialties the pay isn't that great once you factor in educational expenses, unpaid overtime, and liability insurance. Very few are really in it primarily for the money.

We already have a shortage of primary care physicians. Imposing additional selection criteria based on some arbitrary, subjective measure of geekiness would be completely stupid and counterproductive.
It's growthism driving this. If you need to grow your revenue 20% year-over-year every year for decades, pretty soon you have to swallow ungodly amounts of new dollars. You can either gobble more of the market (higher market share), grow the market, or find new markets. And growthism will mine out every one of those possibilities.
I can't tell if this is a troll or not. HN is explicitly anti-political, but it's difficult to resist the bait. Dang, if you have an issue here, please consider the obvious bait, predicated on lies.

There was a coordinated campaign amongst ALL left-leaning media organizations, including social media like Twitter, Facebook, Google, etc, to suppress a materially important story about the Biden family influence with Ukrainian and Chinese counter-parties just a few weeks ahead of the election.

The story, broke by the NY Post, was factually correct, but deemed "misinformation" on dubious grounds by all major media apparatuses, because it did not support their chosen candidate. There was no other reason.

There is NOTHING MORE ANTI-DEMOCRATIC than a Press that lies to the very people tasked with deciding elections. And that press overwhelmingly leans in a specific direction.

To claim that the Right is uniquely anti-democratic is both insane and factually incorrect. Hanlon's Razor rarely applies on HN (a bastion of competent, high-IQ posters), so it's fair to say that you are lying out of malice, not some sort of innocent misunderstanding of reality. Your bad-faith arguments are ridiculous and not grounded in any semblance of reality.
> 1. was done in secret

Was it? Reading the article, the only 'secret' component was the lobbying, which is obviously done behind closed doors. Everything else is public commitments and public statements - which makes sense, since they were trying to pour oil on troubled chinese waters.

FWIW, western media often suggests stuff is 'secret' in china, because they can't read chinese, and all those orientals are awfully mysterious.
Finding Bugs Using Path-Sensitive Static Analysis – CppCon 2021
That I am aware of, "protection money" clearly implies that the payments are to a criminal organization - which is separate from, and unauthorized by, the established state. The MacRumors story seems very clear that Apple and Mr. Cook's deal was with the Chinese government, and the ruling Chinese Communist Party.

Do you have information to the contrary? Or is your point merely to voice anger at China, the CCP, Apple, and/or Mr. Cook?
TL;DR: principal of least surprise. Bringing `ls` into this isn't a great idea.

Advocate? No. Would I excuse it? Yes.

When I write tools, I write two kinds: ones that care intended to be consumed by something and ones that are not. If something is even marginally the former, I assume the former.

I can excuse a tool having output changing behaviour if it's the latter, and only in the case of dropping ANSI escape codes, but only because it makes sense to pipe such output into, say `pbcopy` and `tee`, without the escape codes for capture.

Automagically removing ANSI escape codes is the _most_ I'd be comfortable with, and only because is _reduces surprise_. Something sent to stdout should be the same as something sent to a pipeline, but I can forgive somebody adding ANSI codes to make things clearer to a human reader, for whom those are invisible in the stream.

Would I advocate for `ls` not to send ANSI escape codes to a pipeline? Yes. Do I think it's a good idea to pipe from `ls`? Most certainly not! `ls` is written with assumptions about the consuming terminal that defeat the principal of lease surprise.
CEO / execs love the extra revenue. SaaS recurring revenue model.
> Alexa is my go-to place [...] I have never looked into how they get their data

Right, this is a problem with all sorts of data sources that provide numbers (and use lots of SEO) but don't talk much about their methodology. CelebrityNetWorth is another example of this.
Beijing Reins in China’s Central Bank
US Hegemony Doesn’t Make the World More Peaceful, It Makes It More Dangerous
As a reminder, OpenDNS (now Cisco Umbrella) provides a similar top websites listing: http://s3-us-west-1.amazonaws.com/umbrella-static/index.html
20-30B would have been about what I had estimated given the complexity involved for this project. I think 11B spread over 2 decades and some change was a pretty good deal comparatively.

Now I think that hindsight being what it is, if we had known that Starship was in the pipeline and this would be launching right when Starship is getting into production (considering JWST started development in the mid 90s), I would have said that we should be designing a cheaper/simpler telescope that uses this larger launch package.

But that's all hindsight. For what the JWST actually accomplishes, it's an engineering marvel and given what we knew when it was being designed, I think NASA and the associated committees did an excellent job making it as cheap and large as it is.

Now if we were to take what was learned from the JWST (a lot of innovative work on beryllium mirror design and segmented telescope design was done on this project) and were to design a new telescope today using modern technology, modern materials knowledge, and a launch vehicle like the Starship, I'd suppose we could make an equivalent telescope for 25% or less of the JWST's cost. Unfortunately however by the time this would be feasible, the majority of that money had already long since been spent using existing technology and techniques. This hypothetical cheaper telescope would also likely not be ready for launch if started in say 2015 until 2025 or so when the Starship would be considered safe enough for such a high value mission.

TLDR: It was a good value for the era in which it was designed and built. It is limited by what NASA knew when they designed it. And if it was to be built today, it wouldn't launch for at least a decade after the design would start and you'd undoubtedly be able to make a similar statement about said design from "now-era" vs a hypothetical better value proposition from "future-era". Knowing what we knew at the time it was worth it and to wait indefinitely for the optimal time to start a design will always be a race of better vs perfect.
Woah - this thing is really freaking cool. Thanks for all this info - I feel equipped to go on a long "nerd out" after work today.
The author states the best way to “change the world to a better place” is to work at a for-profit, which is reductive and ignores the purpose of the business.

In many cases selling heroin doesn’t make the world a better place.
> a national asset

Or a threat. An entity with a trillion dollars in reserves and devices in billions of people's hands, including hundreds of thousands, if not millions, of government employees. That's a lot of leverage.
Just like Google that bent over backwards to please the Chinese censorship and their persecution. Then when Google failed in China (domestic competitors was better) they tried to exit "gracefully" by claiming it's due the Chinese hacking them and pretending it's about ethics...
It took a lot of effort, but Japan's Meiji Era civil war was a big one.

The Samurai Class said: "This system is not good, and look over there, battleships from Western Nations are on our shore. Time to modernize and industrialize, and time to retire the Samurai system".

Of course, the other half of the Samurai argued otherwise and thus the civil war started. Turns out that the side that chose guns and industrialization won.

----------

Arguably, every revolution and civil war was basically a group deciding that the old way was bad and that some new way was better. But the Meiji Restoration is perhaps the most striking example in the past 200 years.

Yes, the "schism" happened as per the blogpost. But the schism was fixed and Japan was reunited, fighting as a united front in the Russo-Japanese war... proving that Japan had in fact become a modern world power.
Ha, you're right. Whoops!
I think the JWST is managed as part of NASA's Space Science Directorate. That directorate gets a little less than $8B of the agency's roughly $23B budget. You'd have to look at the breakdown by year, but 10-15% of the annual directorate budget is substantial but not absurd given the project.
except, that applies if you are reading something top to bottom, like a book. That's not what I do on wikipedia, I scan for information.... and it is much easier to do that in wide format. What you end up actually reading is a paragraph or two. As a speed reader, I read in chunks, and in wide format it's actually not that bad, its not a wall of text. Most paragraphs end up to be 3-4 lines long and are naturally chunked by citation notes. I find it really easy. There is no one rule of typography, there is general guidance, but context matters. If in your head you've translated that to a "rule", you are doing it wrong.
Yes, I can.
A heritable, non-genetic road to cancer evolution
I know people who got into the medical field because the like "Grey's Anatomy".
Incompetence and lack of internal motivation is everywhere. I think most people are just not good at their job.
Local government officials have no real incentive to get the most for their money. They "get the job done", but I really doubt they are anywhere close to efficient
Commented above, but OpenDNS (Cisco Umbrella) has a similar top listing: http://s3-us-west-1.amazonaws.com/umbrella-static/index.html
The software being used to push this malware is from Propeller ads and more recently AdMaven but is protected by Russian DDoS services.
It is the only site. Someone once had an even lower number and someone made mention to it and the person replied saying it was easy and he had just gotten it so I decided to try and see what was available. I had been a long term lurker and never posted but once I got this username I try and respectfully post when I can.
It's an ad tracker. It's loading in ads that people see, but isn't the source website generating the traffic.
Sure, but Sweden's acceptance of refugees is not "unbridled mass immigration" as you described it.

My comment was that if Norway and other countries accepted more refugees, then the work to integrate, support, etc. could have been distributed across more people. "Many hands make light work."

Obviously if Sweden were the only country to accept refugees then they would be the only ones to have problems because of refugees. And the other countries would disrespect basic human rights. So why do you place the blame solely on the refugees and not also include those who refuse to offer aid or, as with my country, offer only pitiful aid?

According to the article, the recent change in policing was driven by the authorities, not by "people wanting to fulfill their social ideals", etc. How can you be sure the earlier change wasn't also driven by authorities? (Had it been the US, racism would almost certainly have been a contributing factor. I can't speak to Sweden.)
But governments have improved, and improved radically over the years. And the advantages of small groups over individuals are so comprehensive they have been a primary source of evolutionary progress in humans.

I'm not sure Friedman knew what he was talking about.
So they rein a bank that was never independent?

The word gymnastics deserves an Olympic medal.
> A group will never admit they were wrong. A group will never admit, “We made a mistake,” because a group that tries to change its mind falls apart. I’m hard pressed to find examples in history of large groups that said, “We thought A, but the answer’s actually B.”

Just because the author can't think of an example doesn't make it true.

In fact groups of people, typically businesses, admit failure all the time. And it doesn't follow that this causes a "schism"

Isn't Y-Combinator all about failing fast and pivots? Funny to see such a silly notion here of all places.
What exactly are we hoping to learn from the telescope? I understand that it will allow us to see farther than ever before, and that is exciting. But, there must be a list of hypotheses that astronomers are planning to test. None of the videos/articles I've found actually speak to the specific discoveries we are hoping to make. Is it simply that the science is so advanced that it's out of reach for a layman?
Powershell is a weird beast for sure.

Takes care of the parsing and makes pipelines less brittle for sure (just look at things like NO_COLOR [0] that are basically "please adopt this so we can stop having to add endless edge cases to strip ansi color codes") because it keeps data flowing between programs into a machine-friendly format. It's only when it reaches a human that it is formatted for a human to see.

Then when you peel off the surface you realize you can invoke C# directly from the shell. That's right, either you can import any C# .dll out there and call it from the shell or flat out write C# in your script and have Powershell execute it at runtime [2]. You can add syntaxic sugar to make your dll easier to work with but any C# dll can be called from powershell.

As a side effect, this means that if you have a front-end/back-end app with the back-end written in C#, you also have a (bad) scripting interface basically for free.

[0] https://no-color.org/

[2] https://tekcookie.com/use-c-in-powershell/
Got into the preview, can finally search for actual code! One thing I'd like to see, though, is the ability to mark directories to be ignored in the search results. No one needs to search the raw HTML of my generated documentation, yet it shows up in every search for project symbols. And since HTML is considered "source", I can't filter it out unless I select a particular language.

Also the search text field is bit messed up in Safari when the text gets longer than the field.
> Can you provide some context here? While I don't necessarily dispute what you are saying, it is a very broad and general statement.

You're allowed to dispute it. It's not an obvious thing.

Let's take asthma as an example as it's the most recent thing I read. When you analyze the data about asthma, it turns out that asthma attacks decreased even more than expected during the lockdowns. If you compare people who were partially working from home versus the office against the results from the lockdowns, asthma decreased more than expected for the people suddenly thrown home. Since you have the people originally working partially from home, you get a read on the fact that general air pollution got better so you can tease the environmental effects out.

What it looks like is that some significant chunk of asthma is due to general activity of the immune system due to swimming in a daily soup of pathogens.

"Long COVID" is also a good example. "Long COVID" put a spotlight on lasting damage due to viral infections--of course, once we started looking we find that a lot of viruses leave lasting damage. So, general viral exposure isn't really as "safe" as we thought. How do you make sure that "grey water" doesn't have viral contamination?
>> lots of ads and spam via push notifications

Yup, including via apps distributed in the iOS App Store. Hell, even some of Apple's own apps do it!
> Bitcoin doesn’t suddenly say, “We should have smart contracts.”

Bitcoin does support certain smart contracts, but it just isn’t trying to be a world VM like ETH and instead tries to emulate cash plus a few features.

I agree with the rest though.
> most Software Engineers don't actually know how their code works.

This is only true when you decide that the specific level of abstraction that you learned is the important one.

Sure, you knew the machine code. Did you know how the instruction set was implemented on the chip? The decode logic at a transistor logic to set the right signals to route your register to the ALU? Did you care about the equations that governed the flow of electrons through silicon?

Or did you trust the machine code to be your level of abstraction that Worked?
Well, this is the issue you have with a lot of these lockdown, mask laws. Are they enforceable? No, unless you have a compliant population and in that case no law is probably necessary.

Almost all western governments did a piss poor job of preventing facts which why we're in the situation we are now. They appear untrustworthy because they've presented partial truths or completely changed their stance throughout.
Better Bash in 15 Minutes
Well, I happen to know that Apple management signed many deals with the US, which is just as problematic of a world state as China, if not more so.

That is to say - unless you have a planet-wide blind spot, this title evokes the same emotional response as, say, "JD.com signed RMB 275B deal with US corporations in 2016".
Not directly, but once you want to do that, IMO, you've moved out of "shell script" territory and into "actual program" territory.
I'm surprised this doesn't implement any sort of automatic differentiation (like dual numbers) - I guess you can use a separate library for that but it's quite a nice-to-have for optimization.
This is certainly a problem when banning antibiotics for growth promotion, but allowing the prophylactic use of antibiotics.

Any animal in the type of farm looking for growth promotion is at risk for a bacterial infection basically all the time.
I liked the previous title about the Monster of the Cascadian Basin. I looked it up (found nothing) but came across this on the cascadian subduction zone:

https://pnsn.org/outreach/earthquakesources/csz

This is what's responsible for "megathrust" earthquakes on the west coast every 400-600 years. It seems we're early for one of those, so this is probably not that. I'd love to see more info on the significance, if any, of this movement.
Isn't the training and GAN mean that the resulting image will look like the persons they trained? You probably could have a dog walk around and you'd still "see" a human in the synthetized image.

The idea of this being used for, say, security would have obvious dangerous bias in it. "Hey, every robber is a middle aged black man."
Show HN: An interactive WebGL shader using xemantic's shader-web-background
It was a great fit for us. The thread management was what slack was missing. We loved the promise that the system was going to develop even-better features for suggesting message groups using ML. The groups-of-channels was also a relief to the complexity of so many channels through the org. We were willing to put up with the incomplete look/feel compared to Slack. We struggled to get the whole team to switch, and now the product is closing. Sad
Generating copy text programatically using Python
The charge seems to be using gold's excellent ability to reflect, to concentrate all wave lengths onto a molecule that will then produce visible light.
> hopefully someone will find it

https://acoup.blog/2021/09/17/collections-no-mans-land-part-...
Absolutely disgusting, Twitter-- Twitter has reached a new level of corruption
I'm afraid not. The brevity of my prior statements was never a suggestion that I had one, so if that's where the confusion you have is coming from, my bad.
Great, let’s end nation states as they’re forced collectivist groups, and they refuse to acknowledge failures.

Wait, not like that?

Blogging is social media. Social media is a pox on humanity. “Here’s my arbitrary line in the sand! And my Patreon! Cause my group can’t admit it’s failings!”
> > systems programming contexts

> What does this mean?

It means operating systems and similar places.
Isn't it inconsistent to demand comments refrain from ideological claims where a posted article's raison d'etre is unsupported ideological argument?