skysight-inc/HackerNews huggingface dataset:
There is a great browser extension for Chrome/Firefox called "Unhook" which allows you to selectively remove parts of the YouTube UI you find distracting. Personally I have shorts and recommended videos turned off.

https://unhook.app/
I see absolutely no reason to have the risk of terrible pardons like we have seen over and over in the US. Clinton pardoned Mark Rich while he was still wanted by the DOJ because he donated a lot. Trump just pardoned everyone convicted in the Jan 6 insurrection.
Looks like they have premium plans

https://groups.io/static/pricing
Targeting of Taiwan's Undersea Cables Previews Cross-Strait Tensions
I will mark this as reason number 521 that Cryptocurrencies are 'bad', and we shouldn't be using them for anything real.
Because out of all possible communication failures OP and ChatGPT could make, them both making the exact same error, in a way that makes the two errors cancel out, is extremely unlikely.
you've gotten a lot of answers which say the same thing, but which I don't think answer your question:

synchronization methods impose various complexity and performance penalties, and single threaded applications which don't need that would pay those penalties and get no benefit.

Unix was designed around a lightweight ethos that allowed simple combining of functions by the user on the command line. See "worse is better", but tl;dr that way of doing things proved better, and that's why you find yourself confronting what it doesn't do.
It might be time for me to upgrade my monitors (they are very old). I never thought too much about flicker, etc. Does anyone have any good recommendations for just decent 24" monitors for coding?
Yup, it's mostly just the story and tools we used to get ourselves out of a mess that was made harder by some decisions made earlier -- the tests were running in a container with stripped symbols (we're going to ship symbols after this, no reason to over-optimize), our custom test runner failed to report process death (an oversight).

There's no reason setenv should have been called here. The `openssl-probe` library could simply return the paths to the system cert files and callers could plug those directly into the OpenSSL config.

Oversights all around and hopefully this continues to improve.
It's not insane, it depends on what you value.

If you value societal order above all else, then you want extremely horrific punishments for crimes, you want near-absolute certainty that you'll be punished for criminal acts, and you want capture and trial to be swift, so that people know that breaking the law results in:

Swift capture
Swift trial
Swift execution

And with those three things, you get a highly ordered, law-abiding society, because it becomes common knowledge that breaking the law results in death, guaranteed, so unless you're just stupid or insane, you don't break the law.

If you don't value that kind of clockwork societal order, then you get... Western civilization.

Frankly I'll take the chaos of our Western civilization over the stifling draconian societal order of places like Singapore any day of the week.
Same exact thing (or worse) happens in private orgs. But we don't even have access to it.

I mean, we don't have to go far to see this. Nepotism is illegal in many countries for public institutions, and rampant on private ones.

This narrative that private corporations are better "just because" is so silly. We simply see the inefficiencies of the government and can't see the same ones on private entities. Especially the big ones.

I've never worked at a company that didn't have many absurd processes, incompetent people, useless bureaucracy and so on.
This reminds me of when Walter Gilbert's team faced challenges in cloning the human insulin gene due to a moratorium on recombinant DNA research in Cambridge, Massachusetts, which forced them to relocate to England. This relocation impacted their progress, allowing the team from Genentech and the City of Hope National Medical Center to successfully clone the gene first in 1978, leading to the production of the first genetically engineered drug, human insulin.

Gilbert still got the Nobel Prize for his work sequencing of nucleotides.

Researchers in AI, likewise, will have to relocate to more favorable countries losing precious time.

https://dnalc.cshl.edu/view/15258-Government-restrictions-on...
That's not exactly true.

They can access credit by giving poetuons of their wealth as collateral. Do you think they sustain lavish lifestyles and have an outsized influence by crashing the stock value of their companies?
switching to light editor themes that more closely matches ambient lighting will reduce eye fatigue a ton too
Not to mention justifying further tax cuts for this tiny sliver of billionnaires so they can continue to "take risks to innovate".
By definition, a "reentrant function" is a function that may be invoked even when it has not returned yet from a previous invocation.

So a non-reentrant function is a function that may not be invoked again between a previous invocation and returning from that invocation.

When a function may be invoked from different threads, then it is certain that sometimes it will be invoked by a thread before returning from a previous invocation from a different thread.

Therefore any function that may be invoked from different threads must be reentrant. Otherwise the behavior of the program is unpredictable. Reentrant functions may be required even in single-thread programs, when they may be invoked recursively, or they may be invoked by signal handlers.

An implementation of "malloc" may be reentrant or it may be non-reentrant.

Old "malloc" implementations were usually non-reentrant because they used global variables for managing the heap. Such "malloc" functions could not be used in multi-threaded programs.

Modern "malloc" implementations are reentrant, either by using only thread-local storage or by using shared global variables to which some method for concurrent access is implemented, e.g. with mutual exclusion.
So I recall this being briefly discussed, under the "Classic Wizard" code name, in the 1986 book by William Burroughs, _Deep Black_ (his history of US space intel). Obviously didn't have details like how the computer systems processing the data worked, but it's been known for a while. The Soviet's paid far more attention to tracking NATO ships, launching 33 nuclear reactor powered radars (program named US-A, RORSAT to NATO) between 1967 and 1988 and a series of similar ferrets as well. One of the Soviet RORSAT's broke apart and scattered uranium across the Great Slave Lake region of Canada(1).

Fact that will probably be of interest to the crowd here: the huge radio antenna on the Stanford campus was used by the CIA in the 1960's to spy on Soviet radar! (2) In the mid-1960's, the US realized that bored Soviet operators would have their powerful new ballistic missile tracking radar (Dnestr, NATO name Hen House) track the moon. And the US tried to always have antenna pointed at the moon listening for signal reflections when the geometry of Earth and Moon were right- the one at Stanford and a Navy antenna on the East Coast were the primary stations for this, but other antennas were used as well.

1: https://en.wikipedia.org/wiki/Kosmos_954

2: https://www.cia.gov/resources/csi/static/Moon-Bounce-Elint.p...
Yes, that's kinda obvious, but actually doing that and not go back to your old habits is hard. For some more, for some less
I reported weird shit happening with SYN and PING and what I got was "how dare you insult my reports" from Paul Vixie; but I used to work for him. Ultimately I blocked all SYNs and ICMP ping inbound from Amazon addresses, spoofed or not. Problem solved. Boohoo soi disant "security researchers".
It is weird that I got this right before Rust did.

Because I use structured concurrency, I can make it so every thread has its own environment stack. To add to a new environment, I duplicate it, add the new variable, and push the new enviroment on the stack.

Then I can use code blocks to delimit where that stack should be popped. [1]

This is all perfectly safe, no `unsafe` required, and can even extend to other things like the current working directory. [2]

IMO, Rust got this wrong 10 years ago when Leakpocalypse broke. [3]

[1]: https://git.yzena.com/Yzena/Yc/src/branch/master/tests/yao/e...

[2]: https://gavinhoward.com/2024/09/rewriting-rust-a-response/#g...

[3]: https://gavinhoward.com/2024/05/what-rust-got-wrong-on-forma...
Thank you for commenting!

Really the reason I picked Hugo is because that's what the person I was talking to wanted. He'd only found contractors who would charge more than he wanted to pay to do a manual conversion, and said even something that just got his pages and posts over would be worthwhile to him.

I have more experience with Jekyll. In fact, I had tried to start a hosted platform with a CMS for it that I opened sourced a while back (https://github.com/symkat/MyJekyllBlog) but it never really got traction.

At this point I'm actively looking for a new job and figured getting this on Hacker News might be helpful for that.

I hadn't heard of Astro before, it looks neat!
The standard 60Hz refresh rate of monitors is unlikely to produce any eyestrain. The refresh rate of the backlight could produce eyestrain and headaches.

Unfortunately, the exact frequency of the PWM used for backlight isn't often mentioned in the specs.

In general, anything above 500 Hz is better as some people get headaches even for 250 Hz.
> The Trump admin was already selling pardons at the end of their last term, why wouldn't they continue doing so?

Substantiating my obliterated sibling comment:

https://www.nbcnews.com/politics/politics-news/giuliani-accu...
That'd be interesting, but imagine how poorly it'd work given how often medium/large companies change hands. Heck, when Google itself became a subsidiary of Alphabet, it didn't require everyone to create new "Alphabet" accounts and replace Google Chrome with Alphabet Chrome.

Although...I'm not necessarily opposed to that. Companies can change names and ownership a little too easily. Making it painful might help some things.
That isn't welfare. Most of those are middle-class entitlements. And defense is the second highest category:
https://fiscaldata.treasury.gov/americas-finance-guide/feder...

Calling Social Security "welfare" is some weird political stance.
> A record to an non-elastic IP, and the box gets rebooted

Oh mate, I've seen that happen with a company that was selling security-adjacent services, which were running on servers with just random IPs ffs
> "Just for today"

This is great at getting me to justify procrastination.
life is complicated.
A safe API would look a lot like Windows' GetEnvironmentVariable and SetEnvironmentVariable

https://learn.microsoft.com/en-us/windows/win32/api/winbase/...

https://learn.microsoft.com/en-us/windows/win32/api/winbase/...
In the React world, the only times I've seen dangerouslySetInnerHTML consistently used is for outputting string literal CSS content (and this one is increasingly rare as build tools need less handholding), string literal JSON content (for JSON+LD), and string literal premade scripts (i.e. pixel tags from the marketing content). That's not to say there's no danger surface there, but it's not broadly used as a tool outside of code that's either really bad or really exhaustively hand-tuned.
> Many normies think that Elon "invented" electric vehicles or SpaceX's rockets and isn't simply a financier with a large inheritance.

How large was the inheritance you're alluding to? Ballpark figure? How many billions would a financier need to do the same?
Nice idea, but I fear that my mind will quickly get stimulated by the expectation of getting a new and exciting jumpscare, thus reinforcing addiction instead of reducing it.
I could be wrong but isnt that because each thread has its own heap?
it looks like there's a recording linked at the end of the post
Microsoft throws more cash at its carbon guilt replanting Brazilian rainforest
I agree with this. No computer or screens in the bedroom, read a paper book; no phone - "but my alarm!" you cry - buy a sony dream machine at the goodwill for < $10. Go for a short trip outside the house without your phone, walk a few blocks, drive somewhere without your phone or GPS, buy a paper map - whatever; it's scary and so liberating! You will feel amazing self-sufficiency.
Personally, this seems like an out of touch definition akin to Gen Z’s version of “dirty laundry”. When I first began to see doomscrolling appear in the digital vernacular it was almost exclusively in reference to scrolling with no end in sight, mindless scrolling, wasting inordinate amounts of time scrolling, etc. with no reference to the tone or themes of content consumed other than that it was short-form and ultimately unfulfilling.

But that is exactly how I expect a dictionary definition of a relatively new and tonally ambiguous term to present itself.
The things he cites are mostly middle-class entitlements. That's where a lot of social security and medicare spending goes.
Money does not equate to speech. Money is a megaphone for speech, that is not the same as speech.
We're just letting sex traffickers of children off the hook now? Gross. Putting my head in the sand for the next 3 years and 11 months.
P. S. The linked website is poor on details and not worth reading.
I totally agree. This came about because of a pretty expensive quote the person I was talking to got.
A big thing not often spoken about with eye strain is dry eye caused by the lack of blinking due to focusing on screens too close to our face. This is an evolutionary phenomenon--close dangers cause extreme focus without blinking. Extreme focus on close items reduces our blinks.

Our eye lids have glands in them that release oils on your eye with each blink. These oils help prevent the watery part of your tears from evaporating. When it evaporates your eyes dry out causing discomfort and potentially pain.

If you don't blink enough, the oil doesnt get on your eyes and eventually, in extreme cases, the glands can even die. A lack of oil in tears can cause extreme eye fatigue and even pain.

This is why dry eyes is on the rise. Remember to blink!

I actually built a little web app to count my blinks. See https://dryeyestuff.com/. Not perfect, just a prototype. 100% free.
My bicycle light ("LS 760 I-GO Vision 100 Lux"). It charges with USB-C, I can use it as power bank. It displays the current time and how long the battery with last (in minutes). When riding home at night very useful information other models don't have. It's pretty random but I owned 10 different lights in the past, this one makes me happy.
> Not to defend Madoff, but it's not like he made off with that money himself, so I'm not sure "stole" is the correct term.

What else would the term be? Did you always feel that Robin Hood was being unfairly maligned when he was described as robbing from the rich and giving to the poor?
or buy a day planner for $3.
or print a weekly TODO list and mark it up with pen/pencil
A dimmer switch for an LED light is different from a dimmer switch for a non-LED light. If you try to use an LED light with a “normal” dimmer, it won’t work well.
How does an external process mess with env state? As far as I know, you pass the environment when doing the execvpe() and then you cannot touch it from outside of the process anymore.
Neuromorphic semiconductor chip that learns and corrects itself?
Nope. A human that is regularly exposed to such environments has probably developed a strong cutaneous vasodilation response and can tolerate limited exposure just fine. Instead of a cold plunge in a frozen pond, they're doing a sauna. Human bodies are amazingly adaptable.
European automakers face a "perfect storm" as sales stagnate
This isn't _really_ a Rust problem. Rust is a victim of POSIX.

If you have 1) C FFI interop in Yao, there's still a chance you might have two C libraries cause a crash without your code even being involved.
Not me, sorry. At the time I did watch a bunch of reviews on YouTube, but since the purchase I haven't kept up
The issue is that the law enforcement agent investigating the allegation had serious credibility issues, but the same agent had access to the laptop, so now you have a chain of custody problem. How much of the chat logs are real and how much of them are made up by this guy who was convicted for extorting Ulbricht?

In particular, the chat logs allegedly contain multiple separate instances of murder for hire, but then the claim that Ulbricht had already been sentenced to life without parole as the reason these claims were never prosecuted doesn't make sense, because a conspiracy to commit murder has multiple parties, so where are the murder prosecutions of these alleged contract killers and co-conspirators?
The problem is that applications sometimes need to set environment variables which will be read by libraries in the same process. This is safe to do during startup, but at no later times.

Ideally all libraries which use environment variables should have APIs allowing you to override the env variables without calling setenv(), but that isn't always the case.
I'm normally very allergic to (A) buying software and (B) subscription plans, but I do both for Jetbrains IDEs.

It's nice to have a familiar and functional option available for various languages/stacks that I can also use at home, that isn't tied to a particular employer, and which which works on multiple OSes.

One key aspect is that one can use older versions indefinitely, even if the subscription lapses, so I don't feel like my projects or workflow will be "held hostage."
But isn't that the story of technology and civilization? Hunter-Gatherers produced no surplus and couldn't support a complex and unequal society. Early agriculture could support a pyramid, but not very high.

It used to be almost everyone worked in agriculture, now about 1% does, so the others are free to do something else. Prior to the microprocessor making a computer required manual assembly of thousands of parts, early microprocessors contained thousands of parts manufactured by a small number of photographic and chemical steps, and the number of parts has grown into the billions without the number of steps expanding millions of times.
A more powerful Android assistant with Gemini
Hi HN!

I’m thrilled to share Pictomeme, an app that lets AI do the heavy lifting in meme creation. Just upload your images, and the AI generates hilarious captions tailored to your content. It's perfect for anyone looking to add humor and creativity to their posts effortlessly.

What Pictomeme does:

AI-powered captions: Upload your image, and our AI crafts witty captions in seconds.
Instant sharing: Post your memes directly to your favorite social platforms.
Customization: Edit captions or add personal touches before sharing.
I built Pictomeme to make meme creation as fun and easy as it should be. I'd love to hear your thoughts, feature suggestions, or feedback on how it can be even better.

Thanks for your time, and I can’t wait to see what you create!
"no more anonymity"

Fighting perceived fascism with actual fascism.
I just had a look at the creators's other project and this one his hilarious! https://www.unoptimal.com/push-off

Two friends receive a notification and the first one to tap it wins!
Other people here have recommended such browser extensions. E.g. "one sec" and LeechBlock.
There was literally no evidence of an attempted murder. Just an empty and unsubstantiated accusation.
"The Spanish leader proposed replacing anonymity of users on social-media platforms with an “EU digital identity wallet,” allowing people to use nicknames but also enabling enforcement agencies to link those to their real identity if they commit any crimes. A digital identity wallet would also protect minors from accessing inappropriate content, he said."
This is a very crude and on every level incorrect understanding on how laws work, both in a formalistic, as well as a societal way.

When the Nazis captured power, they did so by excluding the legitimate (and lawful) parliamentary opposition from key votes in parliament by (unlawfully) imprisoning opposition parliamentarians. In a strictly legal sense, this made their entire regime illegitimate from the outset.

What you fail to grasp is that a regime like Hitler's is constitutionally and ideologically incapable of being "lawful", i.e. having any set of laws and norms that would apply consistently, even if these laws were shaped by their own ideology. The whole point of Hitler's leadership was that laws were irrelevant and completely subservient to facilitating his twisted idea of Arian racial domination, with even the "German" society being completely dominated by the "Ubermenschen" that he hoped to create out of the murderous struggle of war.

Even the ancient Romans and Greeks would have recognized the Nazi regime as "unlawful". While the roman empire was a dictatorial regime, it had a mostly consistent set of laws and norms that even the Cesar had to abide by (though these laws gave him tremendous power in comparison to modern democratic executives). "Personalized" regimes in contrast are not build on laws, but revolve around the whims and/or ideology "the leader". You can see some aspects of this in Trump's approach to governance, though the US is obviously still a long way away from the extremes that the Third Reich went to.
Many of them are. Scroll through Wikipedia's list of wealthiest charitable foundations.[1]

And instead of starting their own foundations, a lot of wealthy people quietly give to existing ones. To pick one example: The founders of Netflix, GoPro, WhatsApp, Microsoft, and Facebook have all donated hundreds of millions of dollars to the Silicon Valley Community Foundation.[2]

In terms of both absolute dollars and percentage of GDP, the US is the most charitable country on the planet. In 2016, Americans donated $258.5 billion to charities, or 1.44% of GDP.[3] The next most charitable country was New Zealand, which donated 0.79% of GDP. Since then, the US has become even more charitable. In 2023, Americans donated $557.16 billion to charities[4], or 2% of GDP.

And this doesn't include non-charitable improvements in the human condition such as better internet access, new drugs, cheaper solar cells, cheaper batteries, and increased adoption of electric vehicles. I agree that there's plenty of room for improvement, but quality of life today is better than it ever has been.

1. https://en.wikipedia.org/wiki/List_of_wealthiest_charitable_...

2. https://en.wikipedia.org/wiki/Silicon_Valley_Community_Found...

3. https://www.cafonline.org/docs/default-source/about-us-polic...

4. https://www.nptrust.org/philanthropic-resources/charitable-g...
But are you actually?
Linux is an unusual platform in that it allows you to call into it via assembly. Most other platforms require you to go through libc to do so. It's not really in Rust's hands.
Trellis (YC W24) Is Hiring
I love karniadakis energy. I invited him to give a talk in my research center ands his talk was fun and really targeted at physicists who understand numerical computing. He gave a good sell and was highly opinionated which was super welcomed. His main argument was that these are just other ways to arrive optimisation and they worked very quickly with only a bit of data. I am sure he would correct me greatly at this point. I’m not an expert on this topic but he knew the field very well and talked at length about the differences between one iterative method he developed and the method that Yao lai at Stanford developed after I had her work on my mind because she talked in an ai conference I organised in Oslo. I liked that he seemed to be willing to disagree with people about his own opinions because he simply believed he is correct.

Edit: this is the Yao lai paper I’m talking about:

https://www.sciencedirect.com/science/article/pii/S002199912...
I mean that's just what I see here. All these people live in gated communities walk their corgis and stare at children at their neighborhood swimming pool.
No HTTPS either