skysight-inc/HackerNews huggingface dataset:
> environment related bug on linux, which is mysteriously less a problem on other unix's.

How do you figure? The problem isn't the implementation, it's the API. setenv(), unsetenv(), putenv(), and especially environ, are inherently unsafe in a multithreaded program. Even getenv_r() can't really save you, since another thread may be calling setenv() while the (old) value of an env var is being copied into the provided buffer. Sure, a getenv_r() fixes the case where you get something back from getenv(), and then another thread calls setenv() and makes that memory invalid, but there's no way to protect the other calls breaking the API.

There are ways to mitigate some of the issues, like having libc hold a mutex when inside getenv()/setenv()/putenv()/unsetenv(), but there's still no way for libc to guarantee that something returned by getenv() remains valid long enough for the calling code to use it (which, right, can be fixed by getenv_r(), which could also be protected by that mutex). But there's no good way to make direct access to environ safe. I suppose you could make environ a thread-local, but then different threads' views of the environment could become out of sync, permanently (and you could get different results between calling getenv_r() and examining environ directly).

Back-compat here is just really hard to do. Even adding a mutex to protect those functions could change the semantics enough to break existing programs. (Arguably they're already broken in that case, but still...)
anonymity doesn't preclude chain-of-trust (really "reputation").
after all, anonymity only means "can't be linked to real-life identity".
That's close to what I have gleaned. You'll recall in Fear and Loathing in Las Vegas, HST goes on and on about the American Dream, as if the duo could locate it in a physical place, like finding the source of a river. In this case, Las Vegas.

I do not believe that was a selection based on convenience.

The American Dream has a sense of social and/or financial mobility to it, but most of all, from what I can extract, it is about an ever-present opportunity to "make it." Fail miserably? Try again. Bankrupt? Maybe you'll make a go of it this time. Effort is part of it, yes, but an acceptance of the role of pure luck is also a vital component. You can bust your ass and it will likely turn out better for you than not busting your ass, but there are no guarantees. You can only approach the table and go again. Another role of the dice or the hope that you haven't drawn a bad beat.

I will not bore you with how that works into the novel, but one point to take away was the sense that the Dream was moribund, if not already dead. A sense that credit scores, background checks, and "I hope you know that this will go down on your permanent record" mentality is a noose slowly drawing shut. No more second chances, or third, or fourth. You screw up, bucko, that's it. The American Dream is now a taxidermied carcass whose silhouette we can see in the window of a house on a hill: referenced as if it were still alive, but never met.

Now, we see people who have made it big, but some section of them are products lifted from the mud and polished for public consumption. Others, when investigated, come from surprisingly fortunate backgrounds. Sons of senators' sons, as Jello Biafra put it. This has been sensed on an unconscious level since perhaps the mid-eighties.
Fair point - but I suspect the outcome was more due to non-voters who voted Biden in 2016 than those who voted for someone else.

If someone has good data on this, it would be great to see it.
I think there is the difference of calm in everyday use and initial set-up, maintenance, etc is...less calm.

There are functions managed in the app but we aim for those to be rarely interacted with. All the interactions that you have with the device should be as simple as your wireless earbuds, maybe even easier.
Hands-on Assignment – Therac-25 (2007)
Yes, but here be dragons, especially in front of customers (B2B sales).

Sales Engineers for example are trained never to give the hard No to a customer request. Sometimes, they think they are saying no but the customer hears, "maybe". For example, "we'll consider adding that to the roadmap". Now the PM is stuck developing a single feature, the customer just got handed a stick to beat you with, and your CFO just got lumped with revenue thats unrecognize-able until some feature ships in who knows when.
Nobody cares.

Also alcohol = drug = substance = molecule. IT all depends on how you morally frame it.
It could start helping finance infrastructure projects, schools, hospitals, universities, and so on. Along that comes the opportunity to exercise cultural influence and develop consumers and suppliers for your own industry.

It’s far less nasty than invading, freeing the people from their government and installing a puppet in its place. Also a lot cheaper. Any missile could pay for a school.
We're a Honda household. I daily a 2007 Civic Si 6-speed. My wife drives a 2014 CR-V. We have the old 2007 Pilot in reserve for hauling stuff and driving in the snow.

My choice of car says I'm frugal and practical. (With the Civic being an Si model I guess maybe a bit impractical too. I didn't seek out the Si, though. I got it cheap and we both love driving manual transmission cars.)
The environment and the screen should have similar brightness. In the pictures in the article, the screen seems much too bright in comparison.
Well, it's used by the OS when exec-ing a new process, but at least the Linux syscall for that takes the environment as an explicit parameter. So it could be managed in whatever way by the runtime until execve() is called.
For anyone interested in a "not-so-simple" CPU design, I have a couple old college assignments from a CPU design class that may be fun to peruse:

This one is a 4-stage pipelined CPU: https://github.com/wyager/Lambda16

This one is a superscalar out-of-order CPU: https://github.com/wyager/Lambda17

Both are written in Clash, which is a subset of Haskell that compiles to target FPGAs. It's an incredibly OP HDL.

I don't think I ever ran the second one on an actual FPGA, because at the time values of type `Char` wouldn't synthesize, but I think the Clash compiler fixed that at some point.
Europe is a big continent with very different countries.

Whether you're talking about UK, Norway, France, Poland, Switzerland, Italy, etc. that's a completely different story for each.
The Yes, Prime Minister advice is different. That 4-stage formula is for ignoring a crisis. The PM's No is advocating for working on tickets in priority order which will result in following the plan under a remarkably large number of situations. The two major differences are firstly that the YPM steps don't involve priorities at any stage. And secondly, the PM's No is a straightforward but a polite way of pointing out that the work being asked for is very low priority and so is unlikely to ever get time assigned to it.
I'm aware of the CSAM, the execution of it wasn't surreptitious and had a huge backlash. The conspiracies I'm talking about is maliciously subverting a protocol that they've engineered secure in secret. These are conspiracy theories and have never eventuated. That's all I'll really say on the matter.
85" @ 1.5m is insanely big for me, do you not get sore having to dart your eyes about to read the corners?
Then why isn't the CEO of anheiser-busch given two consecutive life sentences plus 40 years?
Ha, I gave it a red hot go. I'm too dumb for NixOS sadly.
An extension like this should be relatively small. Download the source code, read it to make sure nothing bad is happening, then install it from source so it doesn't get automatically updated.
Man vs. Machine Learning
Not in my wildest dreams I imagined Brazil would give the good example for prosecuting a former president who attempted a coup and that the US would fail to do the same.
I blocked the right elements in Safari on iOS. I use Unhooked in Firefox on my laptop.
That doesn't solve anything. You could be using a library (perhaps a closed-source one) that doesn't use these hypothetical lockenv()/unlockenv() functions.

This needs to be fixed inside libc, but there's no way to do so completely without breaking backward-compatibility.
The sky has been falling for a while, but the chunks were much smaller.
https://ledstrain.org/
I actually "solved" the problem by using remote controlled light bulbs.

I can still use the switch to turn them on and off, but I have to use the remote for dimming. Not the most elegant solution, but the dimming works flawlessly, and on my model I can also change the color temperature, which is nice, and it was actually cheaper than most "dimmable" light bulbs.
If intent matters, why can't people be tried for crimes before they commit them?
> do you not get sore having to dart your eyes about to read the corners?

I wouldn't be surprised if this is what makes it healthier. Not only are you exercising your eyes, you're also giving them a chance to let you know when they need a break.
FIPA: Good old fashioned agent standards
Moccamaster coffee maker.

It has exactly 1 button I need to understand to get it to function. The design has not changed in decades - every part they offer spares for.

It's handmade in the Netherlands. US support is based out of Oregon. When you call, a real person answers. It's not cheap, but it's not expensive either - buy a refurbished model and it will make great coffee for a lifetime.
Cars are an obsessive hobby for me but I work in IT for home depot.
Comes up in my Googling sometimes.

I don't really have the time I used to have to try to answer things these days.
There was a category for drugs. And specific subcategories for different specific kinds of drugs.

Unlike, say, the phone network or your neighborhood street corner it was pretty unambiguously designed to sell drugs (and more)

Apart from any sort of judgement we might want to make, facts are facts and Silk Road was factually designed to sell drugs.

You don't get to participate in the discussion until you acknowledge basic reality.
Trump revoked Biden's AI executive order as one of the first things in the office

https://www.cio.com/article/3806594/trump-repeals-bidens-ai-...
- "Tell me more about how a judge is calling people privileged"

ok

- "The family received food stamps for four years beginning when Katherine was 12. They were homeless for six months. "I came from nothing," Forrest said. "I came from a father who made no money. He was a playwright and then a writer, and even though he published a lot of books, I was a complete scholarship student all the way through."

https://en.wikipedia.org/wiki/Katherine_B._Forrest
And like this in Windows/Chrome latest:

https://imgur.com/a/QnNbLEG

on a non-maximized window.
What are you talking about? Non-citizen immigrants pay the exact same taxes as citizens. Not just "some" taxes.

Taxation is based on where you live, not your citizenships. (Well except US citizens who have to pay federal taxes even if they live abroad but that's an exception).
https://en.wikipedia.org/wiki/Proton_therapy

https://en.wikipedia.org/wiki/Proton_therapy#FLASH_therapy
I wonder if those special cases are handled by a bunch of if/else statements wrapped around the model :)
Amazon/Microsoft/Meta all hire new college grads, and all will have a total comp above 165k.

You do not need an impressive Github profile, these companies are almost entirely leetcode interview based.
> It is the task that basically structures the group.

Interesting idea. But the illustrations are lacking for now. I have seen events put up - and the thing is less that there was no structure (there are a core of people who know what they are doing, and the others who need their leadership) and more that (1) there is no time to haggle about the structure and (2) what you do notice is the people who are willing to put hard work on anything that needs it and the people who are there socially.

In the case of software projects, there is the thing of people putting in programming work on whatever they feel like - but meanwhile there is a structure of people defining the project, prioritizing bugs, etc. And there is very often a project owner or BDFL. We can rationalize it by saying that it's a technical structure or leadership but it's still there.

What I don't see much of is projects where being willing to show up and do the work is "enough". There are many project where people self assign themselves to this or that group - but that's not the same.
I know of such a community: https://ledstrain.org/

While it's informative, I would proceed with caution. Many users there indulge in a level of obsession that is not helpful. The basics of reducing eye strain are actually simple:

1. Don't use a display at unnecessarily high brightness.
2. Make sure there's plenty of natural light around you (avoid LEDs if possible).
3. Take frequent breaks and look off in the distance. (If you're in a social setting, assume an air of mystery with your ponderous gaze.)
4. Reduce your level of stress. Stress makes nothing better and everything worse. Enjoy life! Stretch regularly to reduce muscle tension in the body.
5. Probably diet helps, but that's a whole can of worms. Don't obsess over it, but try to reduce inflammatory foods.
> I think his original sentence was absolutely deserved

The original sentence was two life terms. TO be pedantic, it sounds like you meant to say he deserved sentencing, but not the original sentence.
With a fixed implementation that leaks environments (like the one that just landed in glibc)?
> 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.

No, the problem is that libraries try to do this at all. Libraries should just have those APIs you mention, and not touch env vars, period. If you, the library user, really want to use env vars for those settings, you can getenv() them yourself and pass them to the library's APIs.

Obviously we can't change history; there are libraries that do this anyway. But we should encourage library authors to (in the future) pretend that env vars don't exist.
I've been doing that for 8 years, and organized into local groups with others (the lone voice has little impact, but a contingent of people that politicians think will vote a certain way and tell their friends to vote a certain way have a much bigger impact). However, it's not been very successful, because there's an even larger contingent of people with more wealth, more time, and more experience. The tide is turning, but it's slow.

Minnesota is an example where it worked really well, and I wish that the people in my California town were as big-hearted and progressive as those in Minneapolis. Maybe we'll get there here some day.

In the meantime, state-level efforts are overriding the local NIMBYs far more effectively than the local efforts. It turns out that nearly every single local politician wants to override the NIMBYs, but can't due to the way that local elections work (small number of highly motivated folks usually determine the outcome). However, when elected to the state level, there's a broader electoral base and the politicians can finally start to force housing into cities.

I still recommend getting involved locally, whether or not it has a big effect. It is rewarding in its own way, and has lots of benefits in areas other than housing too.
I dual boot currently. If the windows experience degrades too much (I'm still on 10, so idk what I'll think of 11) I might just stop playing games at all. I have had bad experiences with proton, so I wouldn't go that route. Maybe I'd look into console gaming.
Wow! There have been multiple (astoundingly so) arrests of agents who were present in the Silk Road case. As far as I can see:

1 DEA agent for extortion, money laundering and fraud.
1 Secret Service Agent for money laundering.
2 Key advisors in the case.
There are now commercial signit satellites. I would assume that they can track mobile devices since that would be the main market. Since everything is encrypted now, I bet they are focused on finding locations and identities of devices.
How does your headband work? I did some searching and it looks like there are 2 main technologies:

1. tES, transcranial electric stimulation, used by the Somnee sleep band.

2. acoustic stimulation (sound waves), used by the Elemind sleep band, which uses EEG sensors to determine the exact sound waves to apply.

I admit I was quite skeptical, but a brief look showed that both bands have a decent amount of clinical data backing them up, although funded by the companies (unsurprising at this point, but would be good to get some independent studies on their efficacy).

Curious if anyone has tried any of these bands and what they thought.
Yes, we could do that, but what would be the benefit? I'm saying that whether we want nature conserved and whether we want them to be in cages for us to look at are entirely separate issues that should be evaluated separately. The best argument in favour of zoos is assuming that the people who want to look at dancing bears would be sufficiently enraged by their absence that they would decide to condemn the whole of nature in not doing conservation.

As for why I think we could do it, the answer is because we obviously can. The world become a much worse place once you realise the many things of which humanity is capable, yet which we choose not to do.
Britain Says Russian Spy Ship Returned to U.K. Waters in Sign of Kremlin Threat
Sounds like you just didn't know it's not threadsafe. This is common knowledge in the C and C++ world.
https://archive.ph/EJF2S
Just to be the devil's advocate, notepad.exe is 200 kb.

How much space and ram does this use?

The MacOS textedit bundle is 2 Mb too.

TextMate's bundle is 38 Mb but even that is probably less than a browser, npm and all the baggage it comes with.
I replaced doomscrolling, a passive and empire-led activity, with active playing chess. I play correspondence games so a minute or two of engagement, per active match, fits me just right any fit time of the day.

I don't at the slightest feel bad about it.

Tell them I sent you: https://www.chess.com/?ref_id=7467288
Hi Stephane,
You might run into scale or cost issues soon with Neo4J. Check out https://kuzudb.com/ instead for your graph database.
The law's majestic equality forbids rich and poor alike to beg, sleep under bridges, and steal bread.
Do the Hard Things
You keep posting this, but the official US inflation numbers do not claim 0.3% year-over-year food inflation (and have never claimed that at any point in the past several years):

https://www.bls.gov/news.release/cpi.t01.htm

This has been pointed out to you more than once, so at this point I assume you are deliberately lying and not just badly confused:

https://news.ycombinator.com/item?id=42607919
Sure, there's a broader concept here, which doesn't require any operating system. But any alternate string->string map you define won't answer to C code calling getenv, won't be passed to child processes created with fork, won't be visible through /proc/$PID/environ, etc.
I feel like this also only works if you care about having a net impact. Though I suppose that’s a definition problem. My first read assumes it means an impact on the world, but I tend to believe that my life purpose is more “local” - I’d be happy to say I lived with kindness and made those around me happier.
He rarely keeps his promises, so he must still want something from libertarians.
> information and communication are controlled by a small handful of corporations who's objective is to simply make more money.

Local elections are where that small handful of corporations have zero impact. Even the real estate investment trusts and private equity don't bother with local elections, because its hopeless. Local elections are entirely determined by small networks of highly connected individuals, which is almost always homeowners looking to protect their biggest asset, their home value.

And that's why local politics has resulted in a housing shortage, because the big bad villain isn't a man in a tophat with a gold watch in a corporate office, it's the next door neighbor that really hates the idea of seeing an apartment building when they drive to work each morning, and especially hates the idea of mere renters living nearby and thinks that they'll bring crime and reduce his property value.
Anonymously registered yesterday with a registrar in Hong Kong. Alarm bells are ringing.
Your on hackernews, maybe you confused this place with Reddit?

This site's guidelines include "On-Topic: Anything that good hackers would find interesting. "

Generally speaking, that points to software devs, which points to a high paying job.

So when op said they don't know how their kids will save money, most commenters are replying with the assumption they're talking to a software dev.

Also please by all means toss out your own solutions.
I personally use the Braun, because it does not have a snooze function. Just one big button on the top to turn it on/off. Run on a single AAA battery for months. Only problem is no backlighting, so no way to read time in the middle of the night. For me that's a feature not a bug.
https://us.braun-clocks.com/collections/clocks/products/bc12...
where your username
Maybe. Or maybe the arbitrary lines drawn and maintained that define "country" and "society" are the only things allowing hate to prosper. Get rid of the lines and become one people.
United Healthcare already got caught using an LLM to make life or death coverage decisions. IMHO that's both worse than your nightmare scenario and it's already happening.
That is an http basic auth URL.
2023 MG4 Excite 51
> the ability to just close the editor, open it again, and get back the workflow exactly where it was, but unsaved files as well

Most text editors I use on MacOS do that, TextEdit included.

I'm only posting because I had come to think that's the normal behaviour, not an extra... haven't been using non mac os desktops too much in the past years.
There is a interactive web toy for sequent calculus proofs here: http://logitext.mit.edu/main

For natural deduction and other topics, Bob Atkey's interactive course is fun: https://personal.cis.strath.ac.uk/robert.atkey/cs208/index.h...
A full pardon should mean that he can get all his bitcoin back, as I understand it.
I wish there were more!

There is a ton of snake oil in the industry, and I see so many people building similar products, that take the language of the research papers, and apply it to absolute nonsense.

There is over a decade of research in slow-wave enhancement, Philips funds a lot of research in this space, and even had a slow-wave enhancement device out in 2018/2019.

I'm not sure if what you are asking is "are we snake oil", or "do I get people asking". But in general, I hear so many people talk about grounding mats (no scientific evidence), EMF, neuromodulation to put you to sleep instantly, and so much other garbage, that I wish people would question things more.

I wish people knew how to read a basic research paper and decide if it even says what the company is claiming. I'm amazed that a company can put up a page that says "science", with a picture of a person in a lab coat, and people go "ok, must be true".

We're on a long view of this, and while VCs are dumping tens of millions into snake oil "neuromodulation" companies, we're taking a slower approach and playing the long-term game.

I'm keen to hear your thoughts.
If anything, the publicity (more mentions of their company name) may have even led to a slight uptick in sales.