skysight-inc/HackerNews huggingface dataset:
As a type 1 diabetic for 20+ years, I feel like two large but underrated issues in the overall sugar conversation are (1) the functional aspect of fiber and (2) the rate of consumption and its effect on the body (e.g. drinking a SSB all at once).

The body just has trouble dealing with a large amount of both insulin and sugar at the same time. When we reduce fiber intake the issue compounds.

Simply spreading out your normal daily sugar consumption throughout the day (you know, chew your food slowly ;) would have huge benefits in terms of your body's ability to convert glucose efficiently (what's at the heart of the type 2 diabetes epidemic). Add fiber back into the equation would also help this immensely.

I say all this to say that we shouldn't ignore the machine like qualities of the body in the discussion. Think about your intake rate along with the overall consumption.
Unclear to me from the writeup: Would it be possible to implement the original futex() API on top of futex2() or is Linux doomed to preserve most of two complete futex implementations?
Find your thing(s).

You can work a job you don't like as long as it fuels your other hobbies.

You can work an all consuming job and love every second of the grind and have no hobbies.

Most people find something in between.

Learn, you are lucky to live at a time (and place) when the worlds information is right at your fingertips.

Figure out your goals and then figure out a plan to get there.
For the benefit of anyone who hasn't read it, his autobiography is called Carrying The Fire, and is excellent.
Ah, so this stuff is why my elderly immigrant mom refuses to get vaccinated until the "good" Russian vaccine is made available to her in the US, and there is no more chance that she will be vaccinated with the "deadly" "American vaccine" by American doctors who are out to kill her.

That's what watching Russian Youtube on autoplay does to gullible shut-in elderly.
I was curious about this. I'm on a diet now and I often weight like 0.5-0.8 kg less in the morning.

And when I go on a 20km walk on the weekend I lose about 1kg in 5 hours. Is it mostly water? Cause I drink a lot during the walk and I don't go fast enough to get sweaty.
KDE Connect is a power user's dream. If you're currently on a Mac wondering how people go without Handoff, synced media controls and desktop messaging, we don't; many of us use KDE connect. In all honesty, there's too many features in this app to list, and I recommend anyone with a spare computer and an Android phone to check it out. It's a legitimate gamechanger for productivity!
Previous discussion, currently #1 on front page: https://news.ycombinator.com/item?id=26971100
Long live the Sun – The case for solar power
You do lose weight via the moisture, typically around 200g if this article[1] is to be trusted (doesn't cite its sources). More if you are sweating heavily for one reason or another. Much bigger effect than calories burnt in the same duration.

[1] https://washingtoncitypaper.com/article/221338/straight-dope...
The way I see it is that Linus already left his mark in history twice over (so far). I don't know how he feels about it[1], but if I were given the choice between being a billionaire and being remembered for a great thing I did, I'd certainly pick the second.

And sure, many people have achieved both, but they didn't take their money with them once they were gone. As long as you have enough to live comfortably, everything else is at most an incidental bonus IMO.

[1]: Though I haven't heard anything suggesting he's anything but pretty okay with his lot in life.
To our misfortune the Supreme Court does not agree, and where they are the opinion that counts. (As you know no doubt already.)
How is Figma considered a browser in a browser? It's a great design tool, I just haven't heard it described this way before.
Not defending the cia, but the yellow cake thing was not a lie of commission (arguably a lie of omission): it was very much true in the strictest senses - hussein did have yellow cake and we did not know for sure where it was and he blocked inspectors that he was supposed to let in. but utterly overblown and misrepresented: yellow cake is not that dangerous by itself, hussein had stopped trying to enrich it - and we probably knew that - and it turned out to be exactly where it was last known to be to be under the UN inspections regime.

As they say, technically correct, the best kind of correct.
The problem is that it was an article of marxist faith that "class origin" was a guarantee of correctness - the proletariat was supposed to automatically lead the way to the future.

Communist parties all over the world were keen on demonstrating that their central committees had a "proletarian majority", with a sprinkling of helpful intellectuals, which might include the secretary general ...
It seems to me that buildings and medicine and cars and gym equipment and everything, need to be usability tested on all groups of people: short, tall, men, women, black, white, thin, fat, old, young, wheelchair, blind, deaf.

But I don't think all those groups of people need to take part in the construction work.

It'd be nice with more diversity in tech. So please don't misunderstand. I just think that there are other better examples of how diversity is good.

(Usability testing: Testing early prototypes I suppose -- it's not that easy to redo, say, a car, once it's in production.)

> keep getting complaints because their doorways are only 5'11" high (ideal for 99% of women's bodies),

That thought makes me feel upset! (Although I'm not a human. But I am tall) Thanks for a good example
I tried out both snowpack and esbuild recently, and while the approach of using es modules was neat, these tools are still wildly immature compared to webpack.

Need to handle non-js assets in your bundle?
Need to integrate into both node and browser environments?

You should stick with webpack. Any time you lose waiting for webpack to run you will get back 10x over by not fighting with your tooling because it doesn't handle a set of use cases you have.

I'm sure the next generation of build tools and bundlers will mature over time and we'll all get to enjoy the benefits of es modules, but right now webpack's mature plugin ecosystem, documentation, and stability makes it my default choice.
The best programmers I've ever worked with are also good business analysts. They understand the technology and the business process. Furthermore, they are also able to communicate technical concepts to a variety of stakeholders.

What Bruce is advocating for isn't new. To me it's just a logical step in any IT career. Anyone with 2-3 years experience will need to spend some time talking to end users or business stakeholders. Honing those skills will make you more employable and put you on track for a BA / Senior developer role.
>do you know precisely what an innocent DNS packet looks like to detect this anomaly

Wouldn't an abnormal amount of DNS data also stand out? I assume for this to work they'd still have to send a lot of data unless they're willing to wait for half an eternity.

Just curious, since I hadn't heard of this before.
I was able to get it working on my Mojave hackintosh (Thinkpad T460s), but ymmv.
And unless you both pay your tax on your $10,000 income, you are defrauding the IRS (assuming you are in the US).
I see no difference between "We'll give you $X to vote for this bill" and "We'll spend $X on advertising for your campaign if you vote for this bill".
I'm a newbie to this area, but how does Metapost compare to things like Graphviz or tikz? Does the comparison make sense, and if so what are the differences?
There's a distinct group of folks that are very interested in this: https://www.finops.org/
So you think you're providing a service to others by copying and pasting a top Google search result link for this topic?
Where could those people going back to nursing home go? I'm assuming that if another facility or their family could have taken them they would have opted for that. Reminder that likely these people needed 24/7 skilled nursing help.
For normal non-nuclear candles the energy obtained through breaking chemical bonds and creating outputs with less energy contained in the connections between atoms. The matter is not destroyed.
bet you haven't read the article at all because your comment has nothing to do with it.
I haven't heard about a global opt-out in the browser, but I haven't really looked for that info either. I think I've heard Chrome allows extensions to "easily" hook document.interestCohort and return any value the user wants (including random values). The standard also mentions "The user agent should offer a dedicated permission setting for the user to disallow sites from being included for interest cohort calculations." but that's only for blocking specific sites from contributing to cohort computations, not for disabling globally.
think about the energy in a candle released via burning vs the energy of that same mass viewed through E=mc^2. that's the ratio
Of course it does, given that there is a cognate Swedish word. I still have never seen "schtum" in English before. Maybe I'm just a schmuck.
I could, but altruism is too fantastic to bother.
Shareholders don’t care about UFOs.
It's not just GA though it's any analytics or other 3rd-party that decides it wants to collect the cohort data
But there’s also water generated when buying (edit:burning) carbo hydrates.
Maybe you've lost time on unrealistic dreams, but never mind, "no use crying over spilt milk", you've still hopefully plenty of time to live a good life, even just by being a good friend and having good friends. What's the definition of "mediocrity"? For example there are people whose full-time job is to clean toilets! That to me is far from mediocre, it's essential to all of us, saves lives if its somewhere like a hospital etc. Having a job you don't like is no fun , for sure. Maybe you need to quit and go do something entirely different that makes you happy. We shouldn't allow ourselves to be defined by our jobs or how much money we've got. But IMHO too many people do exactly that. Those who don't do that, are free! In my own life, I could have gone further up the career ladder but because of caring responsibilities and a desire to balance work with hobbies, I didn't. So other people get more kudos, more image, more pay. Does that make me mediocre? Maybe. Do I care? No! ;) Well, this is a bit of a random brain dump, hope it can be of some help :) Good luck.
Previous discussion: https://news.ycombinator.com/item?id=26971100
Hey, if you don't like free markets, that's fine, I'll respect your opinion.

I'm just saying that:

Oxford defines a free market as: "an economic system in which prices are determined by unrestricted competition between privately owned businesses."

Wikipedia defines it as: "a system in which the prices for goods and services are self-regulated by buyers and sellers negotiating in an open market. In a free market, the laws and forces of supply and demand are free from any intervention by a government or other authority, and from all forms of economic privilege, monopolies and artificial scarcities."

Investopedia defines it as: "an economic system based on supply and demand with little or no government control."

Words have meaning, god damn it.
No this is a chemical reaction, not a nuclear reaction.
Not to defend facebook, but they are hardly the party to blame here, any company to operate anywhere has to bow to the local government wishes,

Companies should not be expected to make a stand against governments.

Indian government has bungled the covid19 response in so many ways already, not helping anyone, not allowing ppl to help each other either.
UK did exactly the same thing.

Everyone was panicking that the epidemic would grow exponentially and the hospitals would get over-run. Hence freeing up beds, and building a bunch of eventually pointless overflow hospitals.

A lot of modelling was claiming that's exactly what would happen, e.g. Imperial College London claiming millions of deaths, while the actual infection curves never hit those numbers.

In hindsight, that's not how the virus works, it seems to infect clusters and then drops and eventually levels out, jumps to a new clusters does the same thing, and on.
If it’s true, at best the vaccine receivers would have experienced a cold or cold like symptoms beyond the norm. At worst they effectively received a placebo, based on Dr. Rasmussen’s comments.

Any data from Russia/Hungary is suspect, at least at the same rate that the data is suspect from every country that’s had significant Covid.
the opt-in is choosing CF who's known to make many decisions for you. its not a new pattern for CF clients
Shocking. What do the pro censorship people say all the time when defending Facebook or Twitter: speech is free but not free from consequences. I believe that's the line.
COVID is a catastrophe in India because the government's core is religious extremism and other forms of bigotry, and those have driven its response, including cabinet members promoting folk remedies above vaccines and encouraging large religious gatherings (including an upcoming one).
Totally reasonable to say we should look at Greater Houston and Dallas-Ft. Worth as well as BOS-WASH, SoCaL, and Chicagoland.
webpack AND all the extra plugins and preprocessing and postprocessing CRA adds -- its not a small webpack setup by any means and you can get 1s build times with webpack pretty easily without CRA
Yeah, I should've been more clear that I was supporting what you were saying and agree with your point.
HR can be very useful and has helped me on multiple occasions, so the advice I often see that HR isn’t your friend might be a little reductive. Perhaps the advice should be that HR is not your friend during a dispute with your organization?
What I find remarkable about that quote is that there were only three billion humans at the time. Apollo 11 wasn’t that long ago was it? And we’re already at a population more than twice that figure.
A compatibility layer wouldn't require that you essentially emulate the same file system layout, registry and functionality. It is basically emulating a Windows environment.
The Indian government's position is perfectly in line with so-called free speech defenders: they are shutting down illegal content, not applying their own judgement.
Agreed. It's shockingly bad... A somewhat modern equivalent is Amazon's Twitter fiasco some weeks ago - https://www.vox.com/recode/2021/3/28/22354604/amazon-twitter...
rip.
A Visa model for scaling moderation
If you have no cryptographic protection then it's just a matter of writing code to tamper with the thing leaving no evidence of that tampering behind.
I never used Facebook.

What's the use of it?
‘El Risitas’ (The Giggles) Dies
We're lucky that we can still catch some of them now. The current status of closed CPUs running proprietary firmware talking with closed chipsets running proprietary firmware blobs would make trivially easy to move the malware injection to the iron level for agencies funded by governments. Once they accomplish it, detecting their spyware using software, at any privilege level, will become impossible.
I fear the scenario in which magic packets with a signature that turns off detection in network hardware (proprietary firmware) and interfaces (again, proprietary firmware) can directly instruct a system (proprietary firmware) unbeknownst to the user; it seems impossible today, however all it takes is having enough closed software and firmware so that a covert channel can be created from the CPU to the external world. Governments have enough funds and motivation to tell most network iron manufacturers to produce hardware according to some additional specifications.
>IIRC, WaitForMultipleObjects can only block on 63 handles

Yup (64 though), it's an extra annoying limitation. It has been there since the 90s, WinNT (cant recall win95 version as I never used it with win95). It's limited by MAXIMUM_WAIT_OBJECTS which is 64.

For instance Java implements non-blocking IO (java.nio.Selector) by using multiple threads and sync between them to effectively achieve linux' epoll.

----

my point was mostly that the 'huge' 4% happens with massive amounts of threads and WaitForMultipleObjects won't see even that... so kind of click-baity. Flip note: sync. between threads can be done better than relying on OS primitives aside for real wait/notify stuff (which indeed it's implemented via futex)
It was always a bad decision, and we questioned it in realtime.

Also, after the death toll rolled in they deleted the executive order from the New York State website despite it still being in effect.

There was a cover up from the moment the order was issued, I'm not sure how this action was taken in good faith.
Ah, I really hope it works out for you :)
iMessage in the US took over before WhatsApp or Messenger landed. So it's still going strong based on that (although I wouldn't want to switch to a FB product, so I may be biased.) But SMSs are free and therefore the number of people who use SMS (or RCS, whatever it's followup is), is really high.
Show HN: Notion – contextual views vs. complex dashboards?
LOL'ed hard at "that classic movie Click, where Adam Sandler finds a magic remote."
A Notion template containing nested simple-ish contextual views of databases instead of complex dashboards. Maybe this workflow works better for you? I find this workflow less distracting.
A few months back I wrote a blog post very much inspired by Dan’s post, though a little more academic: https://kevinventullo.com/2020/12/21/2-adic-logarithms-and-f...

The idea is to exploit deeper structures in p-adic number theory to develop useful and novel algorithms with unsigned integer arithmetic, e.g. fast integer exponentiation. Feedback welcome!

(Warning: math heavy)
The hospital ships weren't for covid patients, but for others who couldn't get a bed due to the hospitals being over capacity. The military specifically was testing everyone coming to make sure they didn't have covid because it can spread way faster in the confines of a ship.
Good time for HN to implement its own replies notification feature. The best time to do so was a decade ago. The second best time is today.
Right, but the lunar science was not just limited to sample return, and here the J missions (Apollo 15-17) with their SIM bay cameras produced much better image quality than even Lunar Orbiter for much of the Moon's surface (Lunar Orbiter 5, in the polar orbit, was able to map parts of the Moon that the J missions never saw.) Similarly, the rover's traveled farther than the Lunkhod's did, showing us a much greater area of the surface. And the most sophisticated scientific instrument ever to go to the moon, even today, would be Harrison Schmitt, with his Harvard Geology Ph.D brain and hands.

As for "done with 1960's technology" so was Apollo: the ability to discover hydrogen (used to find the ice in the lunar crater shadows) wasn't possible with 1960's sensors that were light enough even for the much larger mass and power budgets of an Apollo spacecraft (vis a vis Lunar Orbiter or similar probe).
That is very insightful information! Thank you greatly.

I must ask, do you know if there is a relationship between engaging in cuckoldry and developing low testosterone levels?

It was a pastime that I knew nothing about until I started working at a Ruby shop about three years ago. Some of my coworkers were active cuckolds and they encouraged me and my wife to give it a try. We did and it was quite the thrill seeing her experience things that I could never get her to experience even though I did not ever consider myself to be an inadequate lover.

But as time went on and I was denied all intimate contact with my wife, I found my body starting to change. My testes shrank until I could feel them no longer. My doctor did not seem concerned, though, but my T levels showed a decline.

When I got a new job and we moved to a different city we stopped that pastime. My testes have gotten bigger again but I do not think that they are as big as they were in times past.

Do you have any insights?
I believe they say "as long as we censor just this one particular politician because he's really bad just this one time using a variety of arbitrarily enforced technicalities, it's not censorship and it'll never come back to haunt us."
Where it stops being yellow, the particles have just cooled down so they don't glow. At that point, you see a black trail of smoke wafting upward. You won't see easily that by the light of the candle alone, though.
We heard about it from the New York AG. The coverup was confirmed by his top aide, Melissa DeRosa.
Why Does the Universe Exist? Some Perspectives from Our Physics Project
Probably from the film Apollo 13, which depicts (likely wise) hesitance to fire the SPS due to suspected damage and instead firing midcourse correction burns with the LEM descent stage while attached to the CSM. By contrast, during the otherwise normal Apollo 11, SPS was responsible for returning Collins and the CSM to Earth (TEI) whether he retrieved Armstrong and Aldrin or not. The latter case was a rehearsed abort and the stakes were known, but the maneuver was otherwise the same as a normal TEI (excluding LEM jettison, obviously). Nixon’s backup speech illustrates this, as it eulogizes those two alone; Collins would have most likely returned on his own in that horrible circumstance barring a further failure of some kind.
Cyma Zarghami on running Nickelodeon for 20 years
But that's just folks giving the benefit of the doubt to your earlier statement - the technical definition of a free market is incompatible with our modern society.
For those who want to know why FLoC may be a bad idea see https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-...

How much monopolistic behavior does Google have to engage in before antitrust laws have enough teeth? It also seems to me that Google has been more aggressive in its monopolistic behavior in different areas the more there is talks of regulations raining down on it. Maybe they know the end is near and are trying to get away with as much as possible before that happens.
There is no direct function calls into the kernel.

At the end of the day a function call is an interrupt with the syscall parameters in a bunch of registers. As you do not want to use a different interrupt (as there are only so many interrupts [1]) for each function call, the syscall id is passed as a parameter in a register. On the kernel side the id is used to index in a function pointer table to find and call the actual system function.

Turns out this table is actually limited in size so some related syscalls use another level of indirection with additional private tables (I think this is no longer a limitation and these syscall multiplexers are frowned upon for newer syscalls).

All of this to say that FUTEX_WAIT and FUTEX_WAKE are just implementation details. A proper syscall wrapper would just expose distinct functions for each operation.

But for a very long time glibc did not expose any wrapper for futexes as they were considered linux specific implementation details and one was supoosed to use the portable posix functions. So the futex man pages documented the raw kernel interface. That didn't stop anybody from using futexes of course and I think glibc now has proper wrappers.

[1] yes, these days you would use sysenter or similar, but same difference.
I suppose if you only have 'calculating' friends that could be true. Most people just don't care and avoid the friction of change.
wow, single file restore!

I love it!

these guys are really great!