skysight-inc/HackerNews huggingface dataset:
> it seems like C#, Java and Go all have at least one simple and safe method to achieve this.

Its only simple after you've studied double-checked locking. Initial attempts often lead to failure.

> If you depend on global state in the parent process, how can the subprocesses even operate, since they do not have access to that state?

Plenty of ways to get access. The #1 way is probably to use a database to share that state in a concurrency-safe way. sqlite3 works, though postgresql is more scalable.

There are also solutions that require less resources: flock() a file and then read the shared state in a manner that's cohesive across processes. If your process dies while flock()ing something, the flock() automatically undoes (unlike mutexes where if pthread_cancelled() you could very well have a permanently locked mutex).

That's why so many systems have a database + dedicated process that handles this kind of shared global state between processes.

> Yes, certain resources, such as loggers, need to be global, but these should really be thread-safe anyway.

Loggers are an excellent example of where opening up a pipe or socket to syslogd is far easier than trying to shoehorn in a mutex+queue across threads.

> Yeah, it is easy to kill a subprocess. But let's consider the opposite: what happens if the parent process dies? How do you make sure that a long running subprocess automatically terminates? It is definitely not trivial.

If the parent of a process group is terminated, SIGHUP is sent to its children. Catch the signal then terminate.

So once again: processes handle both situations (parent dies, kill children. Or children die, notify parent), with SIGHUP and SIGCHLD respectively.

No such signaling exists in pthread_blah world. You're (trying to) argue about the "superiority" of threads when processes have all of these issues 100% figured out, while the pthread-world is completely ignorant to these issues.
I expected the story ending with none of the machine working :)
The goal is to not need a translation layer sure, but the reality is that of having translation layers, and that the ai is not smart enough to understand when it can't accurately respond to a prompt to say so. It's the translator that has the understanding that diffusion won't come up with Santa giving a massage, only receiving one.

Translation is a skill, and translators remain employed today despite ml improvements in automated translation over the years.

Humans do talk in different variations of language for different tasks. Eg. Legalese and code switching.
The full statement (linked above) covers it better than the short quote.
I guess I'll echo some of the other comments re: extensibility. For us, Bazel's Starlark language is useful because it allows us to integrate w/ non-JS things like protobuf schema definition files. I suspect most companies are going to have hybrid stacks instead of Node.js-only ones. FWIW, Bazel vs Buck have some history wrt adoption wars, and Bazel largely pulled ahead due to a better ability to flourish an ecosystem (hell, the entire JS ecosystem around it is done via the extensibility system). It very much reminds me of how Typescript won against Flow.
Depending on the details, this is the same as charging a fine in money or it's worse.

Say the company is worth $1B and has 10M shares that are trading at $100 each. Now there's an accident that will lead to a $100M fine. This get priced in, the value of the company is now $900M, and the stock goes to $90/share. Whether they send $100M to the government in cash or by issuing 11M shares, either way the stock price stays at $90 and investors are equally affected.

On the other hand, if the amount of the fine is higher than the value of the company you'd much rather be a creditor than a shareholder, since in bankruptcy the stock goes to zero.
And now you don't need religion the same way kids don't needs fairy tale monsters so they behave well at home.
I'd say FEMA are best known for responding to emergencies, and not poisoning people who have stayed in temporary accommodation far longer than it was intended for
I tried to use new.reddit because it is the only thing working, why is it that when I'm reading comments that 50% of my 1440p screen is just black background on the left & right? You can kind of fix the front page by putting it into "Compact" view, but the comment section has nothing akin to that.

This is such a usability disaster relative to old.reddit, and it hasn't been fixed for years. Who is this for? I still remember when Reddit had one of the best mobile websites, before they had an official app and then mysteriously the mobile site started to lose previously working functionality.
My (Zwift) gaming PC is on Windows. The contrast to my work/hobby OSX is jarring. I am constantly bombarded with ads with opt-out tricks. It feels unclean to say the least.

The worst OSX gets is trying to get me to agree to iTunes ToS once a month without a way to turn it off.
As an ideas guy that can program, I super value people that want to sell stuff.
The main repository is a single page app that's mostly Typescript compiled via Svelte down to a JavaScript bundle.

Most of that repository is a series of modules in their own directories (e.g., "src/modules/character").

The second repository is a Node.js API. The majority of its functionality comes from one of the modules from the first repository that I copy in its entirety to the other repository whenever I change it.
this was due to low interest rates and savings/stimmies not anything about remote work
Inefficient RPC compounds the common error of “SELECT * FROM BigTable”. I regularly see multi-hundred-megabyte result sets bloat out to a gigabyte on the wire

Bizarrely, this take just a couple of seconds to transfer over 10 GbE so many devs simply don’t notice or chalk it up to “needing more capacity”.

Yes, yes, it’s the stingy sysops hoarding the precious compute that’s to blame…
What kind of verification is done without a formal system?
I actually appreciate the good-faith rephrasing, and it's correct, but I think my precise concern failed to come across. It's not "local man frowns upon change", it's that I think we've created the mirage of place to add value that is very temporary but may look attractive to people perhaps eventually replaced by this very tech. It's a sweet "don't worry" song while an absolutely exploding area of innovation is actively trying to make it exist less.
Let's be honest here...Reddit is _always_ experiencing a partial outage...
I live on the west coast, and work for people on Central time. I regularly take my first meeting of the day having just rolled out of bed. There is a 7AM weekly all-hands meeting that I simply don't attend most of the time, because it's usually pretty light on information and my productivity will tank for the day if I cut my sleep short to make it.

I recently travelled while working; through the Eastern and Atlantic timezones. It was hilarious how much more effective I felt. I was fully awake for morning meetings and had several hours for focused work each day where no one could bother me. People who work in the "ahead" timezones truly have a slight advantage in the corporate world, IMO. Makes me wish I worked for a company on Hawaii time TBH.
>There's a misconception that the 4th Amendment requires warrants for all searches. It does not: it requires reasonableness (which is code for "a judge agrees with it").

Isn't the documentation of "a judge agrees with it," just a warrant signed by a judge?

The exceptions that I can think of are:

Probable cause of a crime and this only applies to person/vehicle in public.
It's publicly visible

I believe domiciles have the highest standard of searching, meaning it requires a warrant every time.
A Startup's First CFO: How to Hire, the First 12 Months and Beyond
Is closing the door when you poop virtue signaling? Or are people really more interested in being seen closing the door?

I think when given a set of options they understand, many people will choose more privacy from companies and the government because that’s what they want. I think that’s especially true when they understand the actual scope and scale of the surveillance.
That's exactly why the extension works. Imagine paying for advertisements thousands of dollars just so that people keep autoclicking to cost you a few cents out of spite. The advertiser loses money but doesn't get conversions, Google gets the advertisers money but loses them as a customer in the long term. If everyone did this then the model would become unsustainable and we would be finally forced to find an alternative.

Whether that's the right to solve the issue or not is another matter altogether, but the fundamentals of this extension are sound.
Filing a 13F is essentially a tax upon all market participants, it provides zero benefit to the public. Filing has a financial cost. If the SEC settlement were less than the cost of filing over multiple years, then all rational actors would stop paying to file 13-Fs and simply pay off the SEC every couple years. The middlemen and the pretend regulators both benefit from busywork continuing, so the fee is slightly more than the cost of filing 13-Fs to encourage cooperation.

There's probably a joke in there somewhere about the 13-F process being "securities theater" as compared to the better known IT "security theater" phrase. 13-F is a classic example of "regulation can sometimes be wasteful and inconvenient" therefore anything wasteful or inconvenient can be hand waved away by appeals to "regulation" much like the classic analogy with computer security. See also security theater at airports, plenty of the governmental covid responses, etc.
Is is relevant for all LLMs, for instance if you're asking Stable Diffusion to generate an image of a castle.

Composing the right prompts here will allow you to obtain actually what you want versus, let's say, a castle as drawn by a toddler (okay maybe that's what you want, but that's not the point)
It's extra clicks when navigating between tabs.
And before that it was the google toolbar. Literal spyware.
nice, looks great, for few questions I tried it sometimes drifted into unrelated details after responding original question. But at that point I'm already satisfied and maybe giving some additional info isn't bad either.
great product, for sure better than digging through all copycats of stack overflow and GitHub in Google results
Maybe, but personally I don't care and feel that difference much at all - both can go and d... forcing me a specialized advertisement just because I use your unrelated search site with the wrong and not your browser is the same as advertising when I visit another browsers website that is not you - to me.
But to be honest, I have a strange relationship with unasked and unconsented advertisements at all, imo they are one of the biggest unnecessary wastage sins today ;)
It was not obvious to me. You clearly said one thing calling out the EPA in an thread about the EPA. How am I supposed to infer you didn't mean the EPA.
Sure, never said it was mysterious, was just giving an interesting observation. As an aside, the first time I heard much about Mormons was reading the biography of Jon Huntsman, the late billionaire industrialist, whom I really liked. After that, I checked up on some other well-known Mormon entrepreneurs, luminaries, et al., and had some interesting observations.

1) You guys do have a lot of kids. One founder of a well-known fintech startup has 10 kids! Josh James of Domo fame got over 7 if I remember...seems to be common.

2) Ensign Peak has $100 billion+ from member contributions...what do they even use it for because as far as I'm aware, the fund just keeps accumulating?

3) I'm no fan of organized religion (I grew up attending a silly megachurch). But then, I think you guys have your things in order for a large religious organization...most people I know would get corrupt and power-drunk if they were in the position of Russell Nelson and the other leaders.

4) Utah has a problem with MLM schemes, which I assume is because of strong familial ties that preys seek to exploit...anything being done about this?

I hope I'm not intrusive with my questions. Just trying to understand how you guys run despite being a diehard atheist.
It serves the function of a Q&A place to get help, just roughly and against its best intentions (eg a user may aggressively close your Q with some ideological nonsense from the site owners but still link you to another answer)
I think part of it is that the quality of the hard product, as the Atlantic calls it, has declined. The catalog is thinner than ever (in quality and IP, perhaps less so in raw quantity) and the magic of recommendations is now poorly disguising its attempt to just make you watch content that's just barely good enough to not make you churn but without breaking the bank.

So when the soft benefit of social sharing is now penalized (risk being SOL if trying to watch Netflix in a hotel room while on the road) and monetized the users are annoyed. On top of this Netflix is somewhat of the ideal scapegoat for another frustration, media fragmentation. I think that one is a bit unfair but I know a few people who sort of blame Netflix as the kingpin of the streaming industry for the fact they need 7 different streaming services that each ramp up the advertising dials every year despite starting out ad-free.
Without any context on the page, my first impression is this is presented as a tool for people to validate certain theories such as "could a balloon released from china at some recent time and date have actually blown into the US?"

As other comments have pointed out, the lack of ability to test with different altitudes makes the tool unfit for that purpose.

That leaves an open question of what the creator is hoping people will see in this. Is it a game or toy? Is it a technical experiment? Is it art? Does the maker not care what it is to us? (but, still, I'm curious what it is to the maker)
Some of what you said reminds me of a friend of mine who had "night terrors". This friend described how they would sometimes wake up in the wrong order. Their conscious mind would wake up while the body was still paralyzed with sleep, typically with a terrible feeling of dread, like someone behind them is going to attack them and they can't move. What you described made me wonder if sometimes you fall asleep in the wrong order.
As someone who mostly just runs into SO through searches and rarely asks: I want to see these duplicates thrive, I want to see the ideas. It's so common that the first SO thread is useless but that a near duplicate does actually provide me with the answer I need. Unfortunately, near half the questions I land on which I feel might actually help me are shut down, which is not just a complete waste of an opportunity but also a waste of my time.
You're both probably right.
That is quite nuanced. It is good to be clear when you are building a POC or a production ready feature. Often the POC becomes the POS. But https://www.explainxkcd.com/wiki/index.php/2730:_Code_Lifesp...
I love the attitude of this article; trying to pretend that Chome is somehow better for privacy than... anything.
One of the emergent properties of large language models is that they allow for "in-context learning" by providing "zero-shot", "one-shot", "few-shot" training examples. This seems to be consistent across all sorts of transformer based models with language capabilities. Certain kinds of prompts result in certain kinds of completions and "prompt engineering" is a collection of methods related to encourage a specific completion.

For example, prompts that do not contain enough facts about a desired question will result in "hallucinations", whereas prompts that have additional context programmatically added to the question will result in more reliably factual completions. I find it useful to think about this grounded in terms of the analytic-synthetic distinction from analytic philosophy.

The above guide is an excellent resource! You should read it!
One thing that could improve is that it seems to filter on age and location. It should filter on specific skills.
I don't particularly like edge but I'm happy someone is poking the bear. Chrome dominance is bad and is too much power in the hand of one company. Competition and diversity of browsers is good.

And yes, I am getting "login with google" modal on half of the websites I visit even though I don't even have a google account, don't use chrome, and don't want touch anything google.
Not at all. The demographics of this site make its users the ideal targets of propaganda.

HN is where smart people peer with other smart people. A little proposition injection, a dash of Dunning-Kruger, and you have yourself a Views Differ But.
Trust and Microsoft in the same sentence is really approaching peak irony. Especially in this context.
It's only "bilking" if SpaceX doesn't deliver. They do.
I’ve always been curious if mangling stdout or stderr can trigger bad actions, when cat-ing a binary file I occasionally see control characters on my prompt, could I get it to somehow type ‘rm -rf /‘?
Slow down. I feel like I just updated my projects from 3.1 to 6.
A tradition of meditation and spiritual practices with a history encompassing more than two thousand years is the polar opposite from "dogmatic religious junk"; it's filled with observations derived from experience. The Westernized use of psychedelics is barely a few decades old. I think it's reasonably clear what we should choose if we are to remain humble and avoid dogmaticism.
The problem in that case was the bankruptcy filing, not the spinoff. The judge said the spun-off company wasn’t bankrupt.
Edge is Chromium.
It's fun and stimulates the imagination
I sometimes click ads, go through almost through the entire funnel, but bail at the last minute. It's very funny.
They shipped the wheelset to DC for inspection but we haven't seen the report from that inspection yet. They are also going to inspect the actual site, but are waiting until the site is decontaminated.

So we might get a good ruling on the bearing in the coming weeks but based on other reports that I have read (and I quite enjoy the industrial disaster genre of podcast/video) it will probably be a year or two before the full report is complete.
everyone has different hobbies. there was a time when i knew what the forecast at night in much more detail than the day specifically for making plans for viewing the stars. most people don't know what the current phase of the moon is, but it's the face of my watch. most people (not on this site) don't know what the difference between [] and {} would be. how many people know what the term top dead center references? how many people actually know that there's a proper term for the sideline on a football pitch other than sideline? how many people know exactly how many episodes are in DBZ or One Piece? on and on and on
I agree with both of you. I talked with a friend about this a while back and it seemed that so much of the language about climate change focused on evoking fear of apocalypse, and overlooked so many other emotions related to the environment. I wondered what it'd look like if instead of showing photos of ducks in oil, we talked about what pristine nature looks like, feels like smells like. Crystal clear waters, creeks one can drink from, etc. Maybe the combination. Something pulling on other emotions besides just terror.
I never took it to be about organization vs chaos.

For example, if a team is responsible for two modules of an application they are less likely to create an API because the modules can communicate directly inside the application (i.e. monolith)

If the same two modules are cared for by separate teams, then maybe they end up being two separate API services.

It both cases there is organization, just different types of organization.
Found it, pg 47 https://www.cs.auckland.ac.nz/~pgut001/pubs/defending.pdf
Ha ha, everything I launched from the U.S. passed over China.

What is that faint whiff I detected? Is it web-site-as-performance-art?
I'm guessing it contains https://en.wikipedia.org/wiki/Bell_character ?
I don't disagree at all. I like that WebAuthn prioritized security and privacy over usability, and they have made improvements in usability later on (like Passkeys or hybrid transport). Bolting on security is undoubtedly worse than bolting on UX. But I also think that it's important that consumers keep actively voicing their needs and preference. I believe we'll have a good solution in this space, but until we do, I'll keep parroting the need every chance I get.

Also please don't get me wrong, I don't want sync fabric establishment to be part of the WebAuthn or CTAP2 spec at all, but I do want a solution that both gives third-party sync fabric developers access to the hardware. It being a standard isn't strictly needed unless we're thinking of cross-fabric compatibility, which I think no one wants. It would certainly help with not messing up the implementation, though, but if that happens it should be something separate from WebAuthn.
I agree. SO is great because it doesn't try to please everyone. It's for professionals not to build your whole app for you.

There seems to have been a swell in beginners learning to code perhaps due to economic motivations rather than curiosity. These people seem to want SO to do their homework for them without having done any leg work themselves. I can sympathise with people trying their best to find the answers but lacking the domain vocabulary to find the answers; Usually closed questions point them in to the right place anyway. However a lot of the questions are 1) duplicates or 2) high level questions for which there isn't a definite answer it's a matter of taste.

That's not what SO is for. It's your job to figure out the high level picture, learn the absolute basics of the tech stack you're working with and SO can fill gaps where information is too esoteric to find easily in docs. The questions are generally unique rather than duplicated and improve over time rather than a constant stream of crap that reddit is.
I'm fairly sure this is some "design paradigm" or something. I've complained about it for years but I've never heard it described by anyone as an "issue" that's going to be fixed, as much as "a design some old people don't like".
Look at https://moonrepo.dev/docs#supported-languages

They only fully support Javascript. The complex stuff, like defines, C++ toolchain, dynamic libs, etc.. is all out of scope.
You're missing that ad networks can detect and exclude these spammy clicks. And on many networks advertisers can choose to be charged on a per-conversion basis.
Multi-policy-based annealer to solving real combinatorial optimization problems
> it’s not the land of equality and opportunity that we’d like to believe it is

yet, right ?

Just so many Indians in the US makes this evident to me

Anyway, nobody likes others shiting on their country, but no need to gaslight or minimize
I worked at an ad search company for local businesses. This question was raised at all hands: what if we provided a paid ad-free experience?

The answer was simply: we earn $35/mo per user from ads. Do you think people pay that much for an ad-free experience? Our most valuable users might can afford that fee, but we earn way more from them.
In line with that comment, there was a more recent disaster in Lac-Megantic in 2013. Inquiry brought to light that there were more tracks and operators than those we are used to see in Canada (CN, CP and VIA). It also revealed various cost cutting means that led up to this event (skeleton crew, long hours, lack of safety measures.

https://en.wikipedia.org/wiki/Lac-M%C3%A9gantic_rail_disaste...
A friend of mine once found a $100 bill on the street, at night on a city street near restaurants and bars, which makes me wonder if $100 bills are more likely to be found than $20 bills. Or maybe people under report finding $20 bills since it isn't as memorable an experience.
That's because it has the beep character, which is non-visible, on lines 3 through 7

The beep character is control-g, ASCII 0x07