skysight-inc/HackerNews huggingface dataset:
It's not an unpopular opinion: it's true. Graphql is a terrible piece of software/paradigm.

I've completely avoided it for years. If a potential new job contacts me and they use graphql, it's an immediate no from me. It's an immediate red flag that the engineering culture at the company is poorly run and would be a nightmare to work in.

Run away, as fast as possible.
It looks like a lot more boilerplate than normal GraphQL queries.
Most important for me is the ability to ignore page boundaries. Removing the first half of the first page of one source document shouldn't produce differences on all following pages.
What do you mean by 'open ended', are you talking about literals for data structures or something deeper?
I agree science needs to be used as a justification carefully, and pushing COVID vaccines out quickly may or may not have been a good use of that power (consider other diseases though). But I still believe that science needs that credibility in order to have a fighting chance of influencing policy because science is so difficult and in places counterintuitive that a public "debate" about it will inevitably end up with a worse truth.

Politics doesn't exist precisely to address those topics, politics exists for people to obtain power. Discussing those topics may be a route to power. Without a respect for science as a more objective truth than rhetoric, power will be secured by the most appealing rhetoric, whether or not that voice conflicts directly with the science that we know.
We have a cheap Eufy (but there are many brands) that just has an IR remote control. Obviously it doesn't have any advanced automation though (but you can set a daily schedule).
This is just nonsense. Garbage in, garbage out, nothing gained.

Google tries to interpret a UUID search query as a math equation and solve it.
Interesting, could that be a regional difference? Every single 90s kid owned a PS1 or N64 over here (western Europe) and MGS/FF7/Z:OOT were mandatory titles to own. PS1 was so easy to pirate that even lower-ish class could afford it.
Well, the agreement has Musk making personal financial guarantees.

So, it’s like the thin shell company has agreed to the deal, and Elon Musk has personally guaranteed the financing.

Which means the only specific performance the judge would be mandating from Elon Musk personally would be financial payments. The actual purchasing and paperwork would be done by the shell corporation. The only thing Elon Musk would be ordered to do in his personal capacity would be to write a large check (which, seems to be well within the remit of a judge’s authority over a person without raising 13a concerns).

Like, I agree that ordering specific performance for painting someone’s house is a bit odd and might raise those questions. But, Elon Musk’s only requirement as an individual under this contract is to write a check.

To be honest, I’m pretty skeptical of the analysis of the article you cited. The article says: “ Unfortunately for Twitter, it isn’t Elon Musk Inc. but Elon Musk the individual who offered to buy the company” which is wrong.

It literally is Elon Musk Inc. which is offering to buy twitter (technically X Holdings I, Inc.). See the merger agreement here: https://www.sec.gov/Archives/edgar/data/1418091/000119312522...

Since that point underlies the entire analysis, it seems… very suspect to me to get that exactly wrong.
In university I was introduced to a group of people by a common friend. After ward she told me they all argued about me; half the group thought I was the funniest guy and the other half a complete ass.
Speakers can't move at the precision and speed required for stair-stepping to be a real thing.
Even though I try to make almost all of my meals vegan, I eat two small portions (3 ounces) of non-feed lot organically raised beef a month. I have no scientific basis for my opinion but I think a small amount of beef is good for me. My other occasional meat source is quality sardines, usually sourced from Norway or Spain. Sardines: the “you either love them or hate them” food :-)
First, s/opinoin/opinion/

Second, there's a reason DBA (Database Administrator, something like that) is a formal, separate role.

If you don't have a DBA it's not because that's a good idea, it's because you (or your bosses) are too cheap to do things well. That's okay, a lot of times cheap is more important than correct.

You're still going to need schema.

Both NoSQL and GraphQL seem to throw the baby out with the bath water. It was all done before, and Relational Model won. Gotta know your history kids: https://en.wikipedia.org/wiki/Database#History

- - - -

Tidbit of lore: SQL is not the original language for relational model databases, Codd had a language he called Alpha: https://en.wikipedia.org/wiki/Alpha_(programming_language)

SQL is the JS of DBs!
> Where are all the bath tubs found in excavations?

medieval bath tubs have survived intact in many places, they are not so old that you need excavation to retrieve them.

> Why the low life expectancy?

Because people died young much more often.

Just like in the west today is for USA.
I think the author makes of common mistake of talking so generally that readers cannot think of any specific examples.

He would help his case by giving specific examples of problematic programs.
They’ve required a phone number every time I’ve tried to sign up. They don’t have it in the sign up flow - they wait until you try to sign in and won’t let you proceed without it.
What is funny, is that Google would throw you off the Google Play Store if you were trying to push app doing this: deceptively have users confused about the app they are looking for, or pushing 2 different apps with the same name.
> Nation states, sure, they've probably bought a few […] If a nation state has a nuke, it's in their interest to hold it as deterrent.

It also is in their interest to let ‘them’ know they have an atomic bomb. Of course, they could have done that secretly, but I think the world at large would know of it, anyways. Since that hasn’t happened (Pakistan and North Korea built their own devices, and so, likely, did Israel, all after buying it stealing the technology), I think it’s unlikely this happened.

> If they [terrorists] use it, they achieve the attention and blood they seek, while the world doesn't know where they all live

Terrorists don’t want to instill fear, they want to instill fear in the pursuit of political aims. Because of that, they would have to tell the world they were responsible. I think the world would figure out where they live from that.

I agree with you that it’s unlikely terrorist groups are in possession of nuclear devices. It’s not a weapon that’s easily hidden (its radiation probably gives it away), and it’s expensive to obtain, and they wouldn’t have many, so losing one without using it would be a big loss.
And good luck doing that in a language that isn’t JS. All our GQL services were Go, but were forced to use JS for any stitching needs.
Colour me surprised. I remember back in 2020, pictures of beaches covered in discarded masks. In summary, Humans as usual.
Not really. The key question is whether meat is carcinogenic or not. If you eat less of it, sure it will be less carcinogenic, but it won't be suddenly good for you.

There seems to be a lot of people who want to eat meat and also deny that it has various adverse health effects. The evidence is pretty clear, that's all I'm saying. What one does with that information is up to the individual. I don't do anything with it.
Did they send money to the creator or buy it when it became available? If not, OP received a benefit without compensating the creator.

You don’t have a right to use other people’s work without their consent. If it’s not available, the only ethical choice is not to use it - we’re not talking lifesaving medication here, you can watch something else.
If you don't feel your project needs his request, or you just don't want to do it; give him an hourly rate.

He'll figure it out soon enough, no point in wasting your personal time on a stranger.
Steps to create an effective hiring plan for your product teams
Also worth considering that the author refers to herself with the title "Dr.", suggesting an implicit demand to receive all the respect and prestige that presumptively attends such an honorific.
Stephane is AMAZING. Years ago (2014) I noticed a point in one of the rain noise platters that had too much of an obvious pitch component, so that it was too easy to identify it when it repeated. Stephane edited the platter within a couple days to fix the problem!
> But I think we can both agree that [...] isn't exactly the best way to say that

That's why it takes some charity to read it that way. :-)
While others might call that the point.
Astonishing that the word "littering" was not mentioned even once in the article, as if masks could just crawl into the open on their own volition.
Interestingly, I do get this on mobile.
Trying to get an average new developer up to speed in a modern JS environment is ridiculously hard. There are so many things that only exist due to historical accident. It's basically a big ball of mud, where being a swamp guide is more important than being an engineer.

http://laputan.org/mud/

As a big ball of mud, it will be really hard to replace. There's too much value in being a swamp guide, so the swamp guides will resist anything that will take away from their status.
I'd go with:

"I'm glad you are interested in the software I wrote! Please keep in mind that I wrote it for my own personal needs, and decided to share it with others. I may add features I find helpful, but adding features I don't believe should go in (even if they are really helpful to others, like you) will bite me in the future, because all code makes the codebase more complex, and I alone will have to support it all."
Surprised to see a major company like Apple who cares so much about privacy to leave out an SSL certificate for redeem.apple.com
The human body is poor at processing cellulose. You need a lot of plants to equal the nutrients from meat. You can do it, but a cheeseburger, a multivitamin, adequate sun, and good exercise is also a healthy lifestyle.
Jamaica is the festival capital of the world, says EAB chairman
I gave up on nutrition scientists a couple of decades ago.

I've taken the view that my stomach is my best guide to what I ought to eat. That's convenient, because jamming food down my throat that I don't actually fancy makes me gag.

I end up eating a mix of veg and red (mostly) meat. The veg consists mostly of grains (pasta, rice, wholemeal toast) - I don't much care for rabbit food. I eat red meat daily, but in tiny quantities. I have a very small steak once a week or so. The steak isn't small because I'm scared of red meat; it's small because that's how much I want to eat. Tonight, I will eat Brocolli Mornay (broccoli-cheese).

I eat refined sugar. Not much, but it doesn't frighten me; the sugar in refined sugar is either the same as the sugar molecules that occur in all foods, or suffers the same metabolic destiny (it's either excreted, or turns into glucose). I am liberal with butter when cooking; fat makes food appetising, and it's hard to make tasty food without using fat.

I'm overweight, but the main reason for that is that I drink a lot of booze - not that my diet is no good.

I think nutritionists should focus on teaching people how to listen to their stomachs more, and to nutritionists less.
Yes, a perfect recording of the amplitude of a function at a frequency of at least 2B contains enough information to perfectly reconstruct that function.
Reaching this frequency is not that hard, but getting a perfect amplitude measurement is. This is where "noise, distortion and dynamic range" come in, they act as disturbances to the amplitude.
Here are some contra points:

- Aztecs were burning incense around the conquistadors to hide their unpleasant body odor (documented)

- The Christian Church actually said bathing naked was forbidden

- the pope instructed all public bath to be closed

- The monks order clearly said to bath only once a year

- general decline of the cities caused that a lot of public baths to be closed. Rome had none in medieval time.

- Muslim and Byzantine records mentioned how dirty westener were

My understanding was that bathing was strongly discouraged by church and in places where church did not have a lot on influence or they become Christian latter like Skandinavia bathing was still considered important.
And in this case usually you can easily opt to exclude the troublesome field with a param, or an endpoint that returns a minimum version of the entity.
Mastering the Mundane – The Mundanity of Excellence
As an avid reader, I anticipate the feedback as "unlikely to scale, since the centralized productivity gains don't outweigh the diminished flexibility and substantial transport costs".

This is a recurring theme with prefab system he analyzes, they scrape by employing labour arbitrage at a cheap production site, but do not unleash the productivity gains we associate with industrial production.

This becomes obvious when you look at the distribution of construction costs for a finished building:
https://constructionphysics.substack.com/p/construction-cost...

The most a prefab can hope to achieve is attack maybe 30- 40% of the total costs in that pie chart. You cannot prefab electrics and plumbing, foundation, landscaping, permitting etc. So even if they crush it and get 100% improvement on their products compared to on site build, that's still a 20% at best overall cost improvement.

Bit with that comes the risk of a new and unproven system, costly coordination issues that are easy to rectify in the traditional method -
but if the wrong prefabs are shipped across the country you are dead for a few weeks, since the next stage cannot start.
I saw this problem and it immediatly took me back to my undergrad days in which I had an optimal control class, where one of the topics studied is minimizing expressions of this kind by abstracting the problem to a tool called functional ([0], [1]) and then applying different methods of resolution, a combination of Lagrange multipliers and the Euler-Lagrange equation [2].

In this particular example, we take the expression to be minimized and then sum the restricions scaled by parameters λ1 and λ2. It should look like this (y=f(x)): ∫ y^2+λ1y+λ2xy dx integrated from 0 to 1. Then, we grab what is inside and apply the Euler-Lagrange equation: L(x,y)=y^2+λ1y+λ2xy ⇒ 2y+λ1y+λ2x=0. So now we now f(x) is linear (which is why the method in the post works, if f(x) was a polynomial of higher order, then it should have been substracted a poylynomial in x other than ax+b). Solving for y and substituting in the restrictions, we integrate linear and quadratic functions (easy) to arrive at a system of equations for λ1 and λ2. Solving we get (λ1,λ2)=(4,-12). Then f(x)=6x-2 is the minimizer for the functional. Integrating f(x)^2 we get that its integral is 4, so for any f(x) satisfying those two conditions, ∫ f(x)^2 dx is greater than or equal to 4, and that lower bound is achieved for f(x)=6x-2.

I didn't mention convexity, which is what allows us to conclude that the inequality is in that direction, but I leave it to the reader.

[0] https://en.wikipedia.org/wiki/Functional_(mathematics)

[1] https://en.wikipedia.org/wiki/Functional_derivative

[2] https://en.wikipedia.org/wiki/Euler%E2%80%93Lagrange_equatio...
Probably because people who waste their time (and don't just hang up, or fall for the scam) are a tiny minority that it doesn't blip on their radar.
There is a Hindu mythological story in India about how the elephant god ganpati/gajanan/ganesh(https://en.wikipedia.org/wiki/Ganesha) got his elephant head while his body is of a human.

The story goes something like this, Shiva/Shankar/Mahesh(https://en.wikipedia.org/wiki/Shiva) is a god of destruction in Hinduism. When he was out in the forest, his wife Parvati was alone and had to go for a bath. But she was concerned what if some stranger gets into the house while she was bathing. So to prevent anyone getting into the house she removes the layer of sandalwood and turmeric paste she had applied to her body and makes an idol of a boy and puts life into him. As the boy comes to life she instructs him to guard the house and not let anyone enter while his mother(Parvati) is having a bath.

Her husband returns after a while. Parvati is still in the bath. And as he tries to enter the house, the boy prevents him from doing so saying that his mother has instructed him not to let anyone inside the house. Shiva, known for his temper, gets angry and throws his weapon, trishul(trident), at the boy which chops off his head and it falls somewhere in the forest. Parvati, when she returns from her bath sees the headless body of her son and gets angry at Shiva and demands that he bring the boy back to life. But there is a problem, the head is missing. So Shiva goes in search of the head into the forest but he is unable to find it. So when he sees an elephant in the forest, he chops off the head of the animal and attaches it to the boys body and puts life back into it. That is how people of HN, the Hindu god Ganpati got his elephant head :)

Now, did I mention this is a mythological story? So please be kind to this gentle soul. I only narrated this story because it includes the concept of bathing :D

There are lot of such stories in Indian mythology where there is mention of bathing.
With a systems view, it appears governments are not able to be responsive enough to known environmental problems. This is a big part of why I advocate for electoral reform (in particular a citizens' assembly on electoral reform) to move to a proportional system where we as individuals have representation and can actually have our votes matter. Without citizens able to control their governments, it just leaves large corporate interests to control them, and blame everything on what people buy. We don't get long term systemic change that favours the well being of people without upgrading the electoral systems first.
The last sentence of the summary is totally contradicted by reality: Seeking to understand how NIST, a U.S. government agency, was able to
remain a purveyor of cryptographic algorithms despite the Dual_EC_DRBG
problem, we examine the Dual_EC_DRBG situation, NIST's response, and
why a non-regulatory, non-national security U.S. agency remains a
successful international supplier of strong cryptographic solutions.

NIST is wholly without credibility, and as a result, the industry uses x25519 and other non-NIST algorithms. Djb's flap with NIST about transparency in the PQC selection process is more evidence that they are fatally compromised.
I wonder if Gen Z will know book stores that aren’t Barnes & Noble or independents who sell everything from books to socks to chocolate, but still call themselves bookstores.
Surprisingly, it is possible to do exactly what the author wants. I know because I've done it. However, it is as complicated as the author says it is.

The project in question is my `bc` [1].

Until version 3.0.0 [2], it used a "yield" architecture: every loop it could enter had a check for a signal. This got tedious, so I decided to make the jump to instant-ish reset.

I was lucky in several ways. First, `bc` is a really good program to reset; you just stop it executing, wipe all data away, and ask for more input with a blank slate. Second, it is single-threaded.

Nevertheless, it was still really difficult, especially to have no memory leaks.

First, I had to learn how to use `sigsetjmp()` and `siglongjmp()`. Yep, that was how I was going to do this. Once I learned, I implemented a stack of `sigjmp_buf`'s. Then, when a signal happens, each individual `sigjmp_buf` is used. This allowed me to properly free memory on the way.

In essence, if a function had allocated memory, then it would push a `sigjmp_buf` on the stack, and then when a `siglongjmp()` happened, execution would go to a label where that memory would be freed before continuing the jump series.

Then I implemented signal locks. It is safe to `siglongjmp()` out of signal handler, as long as it didn't interrupt code that was non-async-signal-safe. So I used signal locks for that, and when "unlocking" the lock, it would check for a signal and jump. And if the signal handler sees a lock, it just sets a flag and returns.

Then I had to go through my codebase and protect every bit of non-async-signal-safe code with locks. It was tedious, but the result is fantastic.

Edit: I forgot to add that there is more information at [3] and [4].

Nowadays, I'm working on a threaded build system, and when it gets SIGINT, it sends a message to threads to stop as soon as their children are done. If it receives a second, it just exits.

So yeah, every application is different, but it is possible.

[1]: https://git.yzena.com/gavin/bc

[2]: https://git.yzena.com/gavin/bc/src/branch/master/NEWS.md#3-0...

[3]: https://git.yzena.com/gavin/bc/src/branch/master/manuals/dev...

[4]: https://git.yzena.com/gavin/bc/src/branch/master/manuals/dev...
Yes, and the retailers should be sued.
Note: the 2021 preprint version https://www.biorxiv.org/content/10.1101/2021.11.30.470657v1.... was also extensively discussed, so that is why this might sound familiar.
I recommend dosing before your workout, I enjoy my long runs a lot more on micro/thresh
That's a pretty successful grift. A lot of gullible people out of money.
Google seems to disable a lot of features (e.g. package tracking) when I'm using Firefox mobile, but not Chrome.
I wasn't even born when the NES came out. Maybe my perception is faulty, but video game consoles were the domain of "rich" kids when I was young.
> not a single rogue general

There was a rogue soviet lieutenant colonel though, and thank god for that.

https://en.wikipedia.org/wiki/1983_Soviet_nuclear_false_alar...
Or, how much better things could have been if they'd not only considered 2 options, but instead built more solar, and more wind, and more interconnections, and installed heat pumps, and had their car industry not pointlessly fought the inevitable EV transition for so long.

Sorry, I forgot, you only want me to choose between nuclear and coal.

Well, coal is definately worse than nuclear, so if everything else was equal I'd definately choose nuclear as the better option. But, since they intend to phase both of them out, and since the Greens got some power recently they've accelerated the coal phase out by nearly a decade, and they have a carbon tax and emmission controls which mean they won't actually run the coal plants as much as they otherwise would and it's mostly an insurance policy, I'm not really that fussed.

I'm still annoyed that it took them so long to get on the EV bandwagon though, but they did a lot of good work with solar so I guess it evens out.
In this particular case, I believe the issue was that the librarian was introducing lgbt the book to schoolchildren.

They weren't just "on the shelf". That's why she resigned
But really, people should not put you in this situation and discuss the work they are about to do. After all, we don't do major "surprise" work in the workplace (usually).
You could get through 3 minutes or so with some pre-recorded "yeah" "ok" responses. Maybe add a "wait a minute, in a tunnel" to it.
Thanks for the feedback. Should the user specify the page boundaries or does pdf-diff automatically checks where page boundaries are?
Curiously enough, mine doesn't. In fact, he explicitly recommends against it, since the tooth enamel is weakened by food and saliva, and brushing immediately after a meal scrapes off the weakened enamel.

Instead, he says it's best to wait half an hour between the meal and brushing the teeth.
We get it.
Kinda cringeworthy, TBH. Great info though and her later entries seem much better.
Cube gets all possible combinations of grouping sets. It´s like showing all subtotals in a pivot table. That´s different than just grouping on the lowest level without totals.
I agree, be careful what kind of fish you consume. I really like sardines (tasty!) and they have much less heavy metals, etc. than larger fish that are higher up the food chain.