skysight-inc/HackerNews huggingface dataset:
Even my allergies are tamed when I am at the right weight and physically very and consistently active. (It might just be coincidence though). Cutting off refined/white sugar almost completely has helped a lot I guess (I do have a sweets cheat day every 3-5 months. It’s not planned but somehow this is how it has worked with visits to friends and relatives).

Is type 2 a permanent disease? Or is like when you lifestyle is bad and your sugar remains high/etc you are suffering from type 2 diabetes, but when your lifestyle and weight and great and sugar is well under control you don’t have type 2 diabetes, but if that changes you can get it again? Or it’s like - once “marked with type 2” no matter the sugar marker results you are a type 2 patient forever?
Neuroscientists discover mechanism that can reactivate dormant neural stem cells
I make heavy use of this idea in many of my open source projects. I've tried a variety of approaches:

* ScalaSql, where the reference docs (e.g. https://github.com/com-lihaoyi/scalasql/blob/main/docs/refer...) are generated by running unit tests (e.g. https://github.com/com-lihaoyi/scalasql/blob/53cbad77f7253f3...)

* uPickle, where the documentation site (https://com-lihaoyi.github.io/upickle/#GettingStarted) is generated by the document-generator which has syntax to scrape (https://github.com/com-lihaoyi/upickle/blob/004ed7e17271635d...) the unit tests without running them (https://github.com/com-lihaoyi/upickle/blob/main/upickle/tes...)

* OS-Lib, where the documentation examples (e.g. https://github.com/com-lihaoyi/os-lib?tab=readme-ov-file#osr...) are largely manually copy-pasted from the unit tests (e.g. https://github.com/com-lihaoyi/os-lib/blob/9e7efc36355103d71...) into the readme.md/adoc

It's a good idea overall to share unit tests and documentation, but there is a lot of subtlety around how it must be done. Unit tests and documentation have many conflicting requirements, e.g.

* Unit tests prefer thoroughness to catch unintuitive edge cases whereas documentation prefers highlighting of key examples and allowing the reader to intuitively interpolate

* Unit tests examples prefer DRY conciseness whereas documentation examples prefer self-contained-ness

* Unit tests are targeted at codebase internal developers (i.e. experts) whereas documentation is often targeted at external users (i.e. non-experts)

These conflicting requirements mean that "just read the unit tests" is a poor substitute for documentation. But there is a lot of overlap, so it is still worth sharing snippets between unit tests and examples. It just needs to be done carefully and with thought given handling the two sets of conflicting requirements
hindsight has its advantages
Food? Or processed "food"? Whatever, it's a campaign promise and desperation breeds fringe-y pronises.

Yes, inflation has hit the supermarket. But - anecdotally - people (junk food) buying habits haven't changed. When soda is a "must have", in a culture plagued by preventable health issues, something is wrong.

For a while, it seemed like the pandemic was going to be an enlightening moment for diet, exercise and personal health in the US. It never happened, and "leadership" seems happy to avoid having that tough conversation with voters.

Meet the new disconnect, same as the old disconnect.
Nah, we'll get a pretty decent open source model so we needn't muck about with that. Then we'll use said model to perform the social hacking on humans again.
It's a Bible reference.

>The fifth miracle of Davies' title refers to Genesis 1:11: "Let the Land Produce Vegetation." (The first four Biblical miracles are the creation of the universe, the creation of light, the creation of the firmament and the creation of dry land.) It is proverbial in the popular science publishing world that God is good for sales, especially since Steven Hawking sold millions of copies of an otherwise unremarkable book by promising that a unified physical theory would enable us "to know the mind of God." Commercial requirements alone seem to have dictated that word "miracle," since Davies begins the book by disavowing it. Like other evolutionary scientists he starts with the presumption that "it is the job of science to solve mysteries without recourse to divine intervention." Life is not a miracle because scientists wish it to be a product of natural forces which they can explain.

- http://www.arn.org/docs/johnson/fifthmiracle.htm
> How big is a bit?

A quarter nybble.
What’s the current best solution for associating a public key to an identity or person?

This is not related to cryptography protocols.

OpenPGP key server verifies email. Keybase was a good idea but seems dead. Maybe identity providers?
So why isn’t this a problem in China, Russia, Korea, Japan, or Taiwan? There are many poor countries with people who would benefit from the increased standard of living in the countries I listed.

Also it’s obvious that many incoming migrants are not from central or South America, there are significant numbers of people coming from Africa and Asia to the US southern border. Is the only way to secure the US southern border to raise the standard of living in every country in the world?
It is hard to say whether it would have been 9 or 12, now that people have stopped experimenting with alternative hardware designs. 9-bit byte designs certainly did exist (and maybe even the 12-bit designs), too, although they were still based on the Boolean logic.

I have certainly heard an argument that ternary logic would have been a better choice, if it won over, but it is history now, and we are left with the vestiges of the ternary logic in SQL (NULL values which are semantically «no value» / «undefined» values).
Technically the smallest addressable piece of memory is a word.
Next Sunday A.D.
It's easy to have your keys backed up to a device, but then the question becomes losing the device and being able to get back into a new one. I know that Google really, really likes to make sure it's you when you log in from an unexpected device, location, IP, etc, and it might be hard to prove that it's you without that one device.
Tiled is great. I really wish there was an SVG equivalent though. Inkscape is alright but custom data parameters are really annoying to deal with, and ultimately the tool is built around drawing things to paper.
Sure, but you are entitled to equal application of the law protection from competition blatantly flaunting the law.
To have an honest debate about immigration, we need to admit two things: First, that the issue is global and is affecting most developed nations. Second, that the primary concern is demographic change, not the economics of immigration.

This demographic change is the primary reasons for the "populist uprising" of Brexit, Trump and the recent victories of right-wing parties in Europe and, in my opinion, will likely provoke a civil war in at least one Western country in the near future.

Demographics arguably determine the future of nations, and we have been under this bizarre delusion the last few decades that it was no big deal that mass migration was causing demographics of many nations to radically change.
>In the US, iMessage and FB Messenger are fairly prominent messaging services.
>Yet in Japan+Taiwan+Thailand it's Line, in Korea it's KakaoTalk, in Vietnam it's Zalo, in China it's WeChat, etc.

Notice how none of those companies in the second line have anything close to a globally dominant position? They're only popular locally. LINE is probably the best here since it's dominant in more than 1 country, unlike the others. Meanwhile, people all around the world use Facebook (though this is falling off lately admittedly). If you want to chat with friends in another country, FB Messenger is probably the go-to chat app for this; your friends in Europe or the US aren't going to be using LINE or KakaoTalk if you live in Japan or Korea, and pretty much no one outside the US/Canada uses SMS messaging (and thus iMessage) for talking to friends/family.

>Furthermore, the entire publicly listed tech industry globally generates around $6T in revenue, but FAANG represents only $1.4T in revenue.

MAMAA (because of Microsoft) builds the infrastructure most of the tech industry is built on. This infrastructure isn't going to come from China; no one in the western-aligned nations would trust infrastructure tech from there.

>look at Coupang and Flipkart decimating Amazon in SK and India.

Inside their own countries, sure, just like KakaoTalk dominating Korea. But just like KT, they have no exposure outside their countries. Amazon is huge not just in the US, but many other countries: Canada, various European countries, Japan, etc.
The Philips "Fresh Air" or "Fresh Breeze" mask (different names in different regions).
It isn’t but really should be. Apple requires you to register a minimum of two U2F keys if you use that as 2FA for iCloud.
Okay, I'll go with it: statically defined types are also documentation!

And the method names are equivalent to the test names. Of course, only if you don't wildly throw around exceptions or return null (without indicating it clearly in the type signature).
"SUMOylation of Warts kinase promotes neural stem cell reactivation" (2024) https://www.nature.com/articles/s41467-024-52569-y :

> Intro: Drosophila NSCs in the central brain (CB) and thoracic ventral nerve cord (VNC) enter into quiescence at the end of embryogenesis, and subsequently exit quiescence (reactivate) in response to dietary amino acids, typically within 24 h after larval hatching (h ALH) (Fig. 1a) [14,15,16]. The nutritional signals originate from the Drosophila fat body—functional equivalent of mammalian liver and adipose tissue [17]—and lead to activation of the insulin/insulin-like growth factor (IGF) signaling pathway [18,19] and inactivation of the Hippo signaling pathway in NSCs for their reactivation [18,19,20,21].
Show HN: Flow – YAML-driven CLI automation with a customizable TUI
I've been working a CLI task runner/automation tool with a customizable TUI for exploring and running tasks (which I call executables). It started as a small wrapper around some side projects but has evolved into a fun and flexible CLI platform, thanks to many charm.sh packages.

Check out the docs and GitHub repo for more details!

https://flowexec.io

https://github.com/jahvon/flow
I am curious why we still need PyPI to hold packages: it may be better to install from github.

Github provides much better integrated experience: source code, issues, docs, etc.
This just goes to show you how unserious the whole debate is. You start imprisoning employers, and illegal immigration would dry up with quickness. Everyone in power knows it. But they also know doing so would absolute cripple the U.S. economy. Republicans create window dressing in the form of tough talk, raids, and somewhat increased border enforcement. Democrats don't even bother. They just leave the border wide open.

What in god's name will it take to cause politicians to get serious about sensible, economically viable immigration reform? My guess: there would have to be a very significant terrorist attack on U.S. soil in which the perpetrators are shown to have crossed the Southern border illegally without a shadow of a doubt.
That has not been my experience. The podcasts are vapid and full of cliches.
almost no illegal immigrants can easily return "home".
People already do this.

Recommended blog: https://embracethered.com/blog/
It's not just DDL that isn't transactional, there's a whole bunch of other things that aren't. And they break the transactionality silently. It's like an obstical course where bumping into something might be fatal.
corporate friction
3 to 5 years I suspect.
It can open Affinity Designer files!? That’s something of a buried lede.

That could make the path from Designer to FreeCAD a bit easier; FreeCAD still has something of a special relationship with Inkscape SVG files.
10-bit arithmetics are actually not uncommon on fpgas these days and are used in production in relatively modern applications.

10-bit C, however, ..........
Why is it a problem? There's even more material for those services now and for their customers, the value these services can provide is even higher.
I mean, it wasn't really a trick.

It's truly the exact same as someone saying "onefive can be read as (one five), but it's not (fifteen)" - to a non-English speaker I mean - I don't read 'prank' in that statement
How terrible.. Let's enforce draconian ID checks, destroy families, corral people into human warehousing centers and then aggressively throw them back into the hell they escaped from over the border..... because some Los Angeles residents (and residents of other cities) cant stand the site of a food stall on their otherwise "perfectly clean" streets.

If those food stalls weren't offering an attractive service at a good price, they wouldn't be stealing customers from anyone anyhow. The restaurant owners aren't owed an income and customers aren't a product to be "taken away" or given. They make their own choices that others decide to serve in this context.

Among all the arguments against illegal or legal immigrants, this has got to be one of the more pedantic and absurd examples.
Which … if your heap always returns N bit aligned values, for some N … is there a name for that? The smallest heap addressable segment?
What's stopping someone from reading the code, studying it deeply, and then writing down what it does? That's what I do, but I see people struggle with it because they just want to get more tickets done.
I get what you're saying, and on a philosophical level you're probably right. If a website owner misconfigures their CDN to the point of impeding legitimate traffic then they can fail like businesses do everyday. Survival of the fittest. But with the majority of web users apparently running stock Chrome, on a practical level the web still has to work. I went looking for car parts a number of months ago and was blocked/accosted by firewalls over 50% of the time. Not all Cloudflare-powered sites. There isn't enough time in the day to take every misconfigured site to task (unless you're Bowerick Wowbagger [1]), so I believe the solution will eventually have to be either an altruistic effort from Cloudflare or from government regulation.

[1] https://www.wowbagger.com/chapter1.htm
Yes, precisely.

The point is that we tend to think of jargon creators as particularly insightful when their biases/viewpoints match our own, and annoying when they don't.
iOS 18 supports bilingual keyboards
I just updated to iOS 18 and realized it supports bilingual keyboards, something I've always been wishing for.

As someone who is always switching between English and Swedish keyboards, I am constantly accidentally using the wrong keyboard and having auto-correct change everything I'm trying to write.

With the bilingual keyboard I can always have Swedish keyboard layout, but auto-correct detects what language I'm typing.

I couldn't find any official feature information about this from Apple. I wonder what other languages are supported.
I had never paid much attention to Effective Altruism or SBF before FTX blew up, but when that happened I spent some time reading old EA forum posts and SBF tweets and interviews. One of the things that absolutely shocked me was the dismissal of the Kelly criterion by SBF and other EAs. The argument was that the Kelly criterion was only rationalized by a logistic utility function, and if you were going to use your money for altruistic purposes a linear utility function is more appropriate (at least up into the trillions of dollars) because you can help twice as many people with $200 billion as you can with $100 billion.

This argument was used--by SBF and others--to justify truly absurd risk taking. I don't think it's an exaggeration to suggest that this misunderstanding may have been one of the primary drivers of Alameda's (and hence FTX's) downfall. For a group with as many smart people as EA and as many people obsessed with existential risks as EA not to have started screaming en masse when SBF suggested he would take a 51-49 bet on doubling utility or deleting all known life out of existence[1] is insane.

The mathematical misunderstanding is one part of it. Kelly betting dominates any other betting strategy in the sense that as the number of bets increases the probability that the Kelly better will have more money than someone following any other strategy approaches 1. You don't need a logarithmic utility function. If I bet Kelly and you follow some other strategy, eventually I will almost surely end up with more money and more utility than you.

I suspect another part of it is a misunderstanding by SBF (and perhaps others) of Jane Street's trading strategy. Jane Street encouraged their traders to be "risk neutral", which can be expressed as maximizing expected utility with a linear utility function. They wanted their traders to be willing to take big risks. But any individual trader is only working with a tiny fraction of Jane Street's capital, so even if they're risking all the money they've been given to work with on a bet that's still a small bet relative to the entire company. SBF seems to have taken that same risk neutral idea and applied it to the entirety of Alameda/FTX's available capital (and indeed expressed a willingness to apply it to the combined utility of the entire world), with predictably disastrous results.

[1] https://elmwealth.com/a-missing-piece-of-the-sbf-puzzle/
Erm, this is what docs are for. Like a man page, where it'll give you function signatures and return types and explain what those functions do. Unit tests are not that, and they shouldn't be that, because that's not their purpose.

New rule: if you write a function, you also have to write down what it does, and why. Deal?
The EFF raises valid concerns regarding the abuse of security backdoors. As far as I remember, they and other privacy advocate have been doing so for the longest period of time.

Unfortunately, the real world will always fall short of the ideal one. Telegram and Durov are already facing this issue - where privacy ends and law enforcement begins.
Likely *can’t use those services
Whether double floats can silently have 80 bit accumulators is a controversial thing. Numerical analysis people like it. Computer science types seem not to because it's unpredictable. I lean towards, "we should have it, but it should be explicit", but this is not the most considered opinion. I think there's a legitimate reason why Intel included it in x87, and why DSPs include it.
For most applications, I would not use uv's managed Python in production. I would use it just to manage dependencies. Follow along with the Docker guide on uv: https://docs.astral.sh/uv/guides/integration/docker/#interme... It copies the uv executable to your existing Python docker image and then you can use it to manage dependencies.

The only time I'd use uv's Python is if I were on a strange Docker image that didn't have the right version of Python that I wanted. Then I'd consider it. Not run into that yet though.
"Oh yeah, those tests are always flaky. We just rerun them until they pass. Or we turn them off. I mean, Jeff wrote them like three years ago and he quit last year, so..."

I'd rather have the prose. And if it's wrong, then fix it. I'm so tired of these excuses.
Aside from the content of this article and its merits (or problems), that header photo is just excellent. The photographer perfectly captured the visual essence of what it sometimes means to be an illegal migrant.
Canceling is not about criminal behavior. It's about the gap between the regulation of behavior the law puts on us all and individual's decisions about what they will tolerate.

Freedom of association lives right next to freedom of speech in the Constitution. His right to say what he wants does not impinge on my right to think that every time he opens his mouth these days he sets the movement back.

... Besides, nobody in this story (including, I surmise, you) is actually against cancelling. Avoiding closed-source software because it doesn't align with the Four Freedoms is just cancelling. Cancelling is front-and-center in Free Software's toolbox.
I think you are right. Absolutely.

Don’t break perfection!! Just accumulate more perfection.

What we need is a new C++ symbol that reliably references eight bit bytes, without breaking compatibility, or wasting annnnnny opportunity to expand the kitchen sink once again.

I propose “unsigned byte8” and (2’s complement) “signed byte8”. And “byte8” with undefined sign behavior because we can always use some more spice.

“unsigned decimal byte8” and “signed decimal byte8”, would limit legal values to 0 to 10 and -10 to +10.

For the damn accountants.

“unsigned centimal byte8” and “signed centimal byte8”, would limit legal values to 0 to 100 and -100 to +100.

For the damn accountants who care about the cost of bytes.

Also for a statistically almost valid, good enough for your customer’s alpha, data type for “age” fields in databases.

And “float byte8” obviously.
Would it be feasible to create a complete lookup table of 'best' moves for all given board configurations? I'm not sure how to determine the total number of configurations. Not the same as a tablebase, just a single next move rather than sequence to checkmate.

It wouldn't be competitive against top tier players and AI, but I wouldn't be surprised if it could beat me. 'Instantly' knowing the next move would be a cool trick.
Force cannot transmit through the material faster than the speed of sound and because fundamentally at a subatomic level, mechanical force is the interaction of electromagnetic and gravitational fields between molecules, the speed of sound cannot exceed the speed of light in a material. The rod will compress or physics breaks down. Solid particles are an abstraction.
> I'm not sure what the national conviction rate is but it brings that number down.

It's like 25% for homicide
Especially on teams where deviance has been normalized, and broken things are just expected. I've been bitten both ways before: is this an obvious mistake? Or the lynchpin holding up the house of cards? Of course, if someone had just written some text explaining it, or perhaps a decent commit message instead of just "WIP", maybe we wouldn't have to do archaeology every single time.
gonna need quantum computing once you breach in to the mid 20s
Nice try, that's what a boxed collector would tell everyone to increase the unopened collection's value.
Postgres limits btree keys to 2704 bytes, which is actually slightly smaller than MySQL's limit of 3072 bytes, assuming the default InnoDB storage engine.

That said, when using utf8mb4 in an index key, MySQL uses the "worst case" of each character being 4 bytes. So it effectively limits the max key size to 3072/4 = 768 characters, when a column is using the utf8mb4 character set.

For practical purposes, this doesn't cause much pain, as it's generally inadvisable to use complete long-ish strings as a key. And there are various workarounds, like using prefixes or hashes as the key, or using binary strings as keys to get the full 3072 bytes (if you don't need collation behaviors).
Debian doesn't have LTS and non-LTS.

Debian has Stable. That's it.