skysight-inc/HackerNews huggingface dataset:
1. There are big differences between Type 1 and Type 2 diabetes and management of them are (for the most part) very different. Distinguishing between the two is important.

2. Please be mindful of making declarative statements about the risks associated with diabetics and foods.

A small red potato is ~27g of carbs, a couple of potatoes to non-diabetics may seem harmless but for a T1 diabetic, 54g of carbs from couple of potatoes not being accounted for with insulin can easily result in going into DKA (Diabetic Ketoacidosis) and not so nice stay in the hospital.

Expanding a bit on the reasons why potato is recommended to be avoided:

For type 1 diabetics, we are essentially replacing the functionality our immune system is suppressing by "manually" providing the needed insulin to process the glucose.

Since T2 diabetics do produce insulin (it's way more complex than this but it's correct enough for this post), the focus for their treatments are mostly around fixing this resistance through medications and reducing the need for insulin by limiting carb intake.

While the carb density of starches is a big reason for avoiding them, the specific reason T1 diabetics are advised to avoid them is because of how slowly your body breaks down carbohydrates from these foods after consuming.

Eating 20g of carbs from potatoes will result in those carbs getting processed over the span of hours as opposed to foods like Orange Juice which feel like they skip the stomach and dump glucose straight into the blood stream.

It's that long gap of time between eating and all the carbohydrates being processed that is trying to be avoided.

For T1's, removing those foods from our diet makes predicting a given meal's impact on your BG levels and for how long they're affected much simpler.

Kinda Related Small PSA:

We know you mean well but asking a diabetic the question "Should you be eating that?" can be very irritating and, at least for me, comes off as demeaning. While you may only be asking it once, we hear it frequently and already spend 16 hours a day thinking about the disease so let us have those 20 minutes between injections and finger pricks to forget about it and feel normal, if only for a little bit <3

Sorry for the wall of text, this topic is just so dense and nuanced that it's way too easy to end up writing a book for what seems like something so small lol.
Externalizing the costs can make the unprofitable look profitable.
They weren't referring to Social Media Platforms, they were referring to the previous poster talking about AirBnB and Gambling specifically.

There are many mechanisms we can rely on, like teaching someone the tradeoffs of a dangerous decision.
Lake Karachay
Instead of using the barebones Android SDK you might want to experiment around a bit with Kotlin.

https://kotlinlang.org/

Note that Google is using Kotlin internally themselves for writing Android apps because reasons.

If you want to have a great multiplatform development experience based on Kotlin, add Kotlin Multiplatform (https://www.jetbrains.com/kotlin-multiplatform/) and you are all set.
Even though I don't love Next.js and file-based routers in general, I'm a big fan of the cal.com repo: https://github.com/calcom/cal.com

Monorepo, modern packages, and the architecture seems well-considered.
A little anecdotal but I have lived in the heart of a downtown area (not a major city but decent population) for 25 years now, and we recently cut some funding for the local PD, which was very politically heated due to the Police Chief's city hall connections.

What happened afterward was immediately noticeable - the police force seems to have very little interest in doing their jobs ever since then. The response time for a call has gone way up, and sometimes they do not even show up at all. On my particular street, which is nestled in a high-ish crime area, we formed a neighborhood watch and have a police liason we speak to but most residents are completely unwilling to call the police anymore because it is super pointless and exasperating. My breaking point was when I caught a mail thief red handed, my mail still sticking out of his bag, and flagged down a cop that happened to be nearby. They refused to even listen to me and the guy just walked away. So, part of me wonders if the city's crime stats have "dropped" due to people just giving up on reporting crimes.

Of course this is super difficult to prove and I don't think it's a national trend but definitely something I and my neighbors have observed in my city.
Gradle is a very strange build system.. it actively downloads things if you are missing things, but then still will only work if you have the right combination of things on your system (on linux at least), and fails in cryptic ways. Not sure I know anybody actively likes Gradle and that entire build system -- there was something previously like ant something, etc.. if you have an older project good luck having it actually build even when trying to use Android Studio.. it seems to only work if you actively use Android Studio quite often and slowly adapt to each random change to keep your project working properly.
You can wait for every human to change their behavior to fit your preferences (and disparage them until they do). In the meantime we can produce drugs that save lives until then. We can do both at the same time, so what's the problem?
I'm not sure if taking e.g. Paxlovid as pre-exposure prophylaxis has been studied, but my guess is that the side effects from the drug are worse in the long run than the disease itself (especially if the seriousness can be blunted via vaccination).

Since people don't spontaneously recover from HIV infection, and the PrEP drugs have relatively few side-effects, the tradeoff is more favorable.
Actually, if you're a direct shareholder then you have a direct voice that they will listen to if enough people do the same. So, rather than sell, use that voice to demand change.
[1] Age veriifcation

[2] Content discrimination

[3] Has the unfortunate side effect of restricting LGBTQIA+ youth and adults' speech

There's a reason why most of these bills are legally challenged.
If you find your interest piqued by this article and want to dive a little bit deeper into specific examples, I highly recommend reading Factfulness by Hans Rosling.

Yes, there are problems with crime reporting. Yes, violent crimes have been on a downward trend since the 1990s. Things can be both bad and getting better at the same time.
Don't Look Now is one of those unforgettable 1970s movies so ahead of their time, along with The Marathon Man and very few others. And it's spooky indeed, hard to bear if you've got a child. RIP
Yeah, it’s usually insurance network that decides where you can go (if you don’t want to go bankrupt)
This is not correct. At least in most (did not check every country) countries that do not directly elect the head of state, the head of government (who is directly elected) is the council member instead.

Edit: of the 27 council members who are the representatives of their respective countries, only 4 are heads of state (all of them directly elected), the other 23 are heads of government, who are directly elected.
2002 Toyota Land Cruiser Runs Apple CarPlay on Its Factory Touchscreen
But the reason you mentioned murder in the first place is that, unlike general violent crime, it always gets reported.

So it turns out that both measures are kind of hard to use, for different reasons.

Personally, that's no reason to be solipsistic about it. I can still form coherent ideas about whether or not there is more crime than usual. But it does leave enough wiggle room for people to lie about the issue for political reasons, in whichever direction you least prefer.
Thank you very much for your comment.

> That issue isn't solved by UIs, though. Things are constantly moving/changing colors/disappearing. That's why so many UI "redesigns" get so much hate, breaking user's mental models, etc.

I agree. What is ideal for most people is a system to explain what are the choices available. In case of command lines often help commands I believe are meant for this.

…However, GUIs (like the settings app in Windows, Android, iOS and even Linux IIRC) are much better at explicitly showing the hierarchy. For example on android, Wi-Fi and Bluetooth are both in the section of wireless radios, but different from the section of a factory reset. Adding a Bluetooth devices requires navigating via submenus.

While that may sound inefficient (and it is when you’re doing the same thing 10 times a day), it’s excellent for breaking down a hundred settings into easily understandable ones. Listing -help often causes this issue - important arguments or options or commands are mixed with ones that are hardly used and not related.

And the thing is, all this is entirely a design thing. One could make a friendly CLI with submenus as options, with warnings that go beyond the basic “do as I say”, like the “are you sure you want to delete this user” thing.

I will still mention that using red colors and orange exclamations and Skeuomorphic icons helps - a picture speaks a thousand words, and the battery emoji takes much less space than 7 letters - but unfortunately in my experience CLIs are about as informative for discovery as the Sahara. I can open any GUI settings app and learn all that is possible in an hour, while understanding relations and context. Display scaling is related to font size, and wallpapers to personalisation.

It’s definitely possible to have a nicer CLI where such relations are obvious/clear. But I haven’t found anything yet, unfortunately.

(Edit: I realised I didn’t respond to your full comment, it’s almost midnight here so I’ll try and reply tomorrow)
I've accounted for IO cache, the test is running from an in-memory dataset

After checking a bit more, wc2 is indeed faster than wc in a specific use case: counting characters. That is, transforming a sequence of one or multiple bytes into meaningful character (wc --chars somefile).

In wc, the related code is here: https://github.com/coreutils/coreutils/blob/master/src/wc.c#...

So in the end, wc uses the function while wc2 does not: https://en.cppreference.com/w/c/string/multibyte/mbrtoc32

Now, what I cannot tell : is wc2's code really comparable versus mbrtoc32 ? From a couple of tests, it works against ascii and utf8 dataset, but is that all ? Or are there edgecases cleverly handled by mbrtoc32 (with a performance cost) ?
“Difficult to work with” is a totally different dimension from ageism, sexism, harassment.

I can definitely see the former going way up but the latter going way down.
If the choice is between the government and the landlord, I choose the government.
> Sadly, the Dushanbe flagpole lost its status as the world’s tallest in 2014, only three years after its construction, to the Jeddah Flagpole in Saudi Arabia, which I have already seen without knowing its illustrious status in the world flagpole standings:

> I have to admit that I find it kind of funny that Tajikistan spent $3.5 million to win an extremely petty international prestige project contest, and then it lost a few years later to a country with 30X the GDP per capita and 100X the GDP. Saudi Arabia’s lead lasted for seven years until Egypt took the top spot and Russia slid into second place

Quite amusing to see how a man writes about -stan and Saudi Arabia but his mind is firmly not on these countries.

> On this particular point and some others, I wondered whether my companion had an overly rosy and maybe sanitized view of Tajik culture, which isn’t uncommon for immigrants to have toward their homeland.

Or maybe he didn't want to speak freely with some foreign rando. Especially some foreign rando from America. Cue in the next three paragraphs.

> due to an apparent combination of local fashion sensibilities and I guess fabulous Persian hair

That's a funny observation but this is how you instantly recognize Tajik from any other guy from Central Asia.

> How can two countries have so many military fights that result in direct casualties, including straight-up artillery barrages over the border, and not actually declare war on one another?

> I have no idea.

I have no idea how some country can travel to literally the other side of the planet and yet not actually declare war on the country it is invading. *shrug_emoji*

> And of the better armed one-third, I swear, most didn’t have clips in their AKs. Meaning, they either carried no ammo or only a single round in the chamber.

Or they are required not to have a loaded magazine[0] in the firearm because they aren't in the constant direct threat and don't have a need to respond instantly.

I know, it's hard to comprehend to someone from "I bring a loaded AR in Taco Bell (along with two Glocks and assortments of EDC tactical knifes) else I'm feel like naked" nation, but no magazine in a firearm doesn't mean there is no magazines at all.

> Claim 2: The “Taj” in “Taj Mahal” refers to the Tajik people.

After the turmoils of 1990s many ex-USSR countries tried to invent their ancient connections, so if you hear something along that - keep a salt shaker nearby.

> Buzkashi

Oh, yes, a lot of this types of.. activities in the Central Asia. The included video is hilarious for the reaction of the announcer and the comments[1]

Overall this article is.. obviously biased by the US-tinted glasses. I found myself reading it for the author perspective, less for the actual content.

[0] Yes, it's a magazine:

> Clip (firearms)

> Not to be confused with Magazine (firearms).

https://en.wikipedia.org/wiki/Clip_(firearms)

https://en.wikipedia.org/wiki/Magazine_(firearms)

[1] It's in the article but if you are lost: https://www.youtube.com/watch?v=1JUn8MsEyPs
Just a reminder that getting adults addicted to stuff is not always legal either.
You're either being sarcastic or wildly underestimating how hard it is to write an exploit. I haven't written about exploit dev publicly for a _long_ time, but I invite you to read https://fail0verflow.com/blog/2014/hubcap-chromecast-root-pt... for what I consider to be a pretty trivial exploit of a very "squishy" (industry term) target.

XNU isn't the hardest target to pop but it is far from the easiest.
I don't think we can include TSMC in the list of AI goldrush companies, they have a pretty diverse client base.
really tough choice for a government: violate human rights of opposition or descend into ISIS/afghon
“For most people, experts say, the two tenofovir-based drugs — the first known as T.D.F., the second called T.A.F. — offer roughly equal risks and benefits.”

Do we have an update on the case?
Wholeheartedly agree, but it also seems like kind of an inevitable failure, because users/browsers often had DNT set by default, and who would decide to click the "more tracking" option when they have a choice to set that option persistently and with feature parity.

All boils down to economic issues that are not solvable with technology.
The definition of blackout drunk is not remembering what happened. This /could/ simply be a failure to form lasting memories, rather than a loss of 'self-ness.' If we imagine a switch which put a person's long-term memory in read-only mode, would flipping that switch necessarily remove consciousness?

Consider also that brains have different mechanisms for short and longterm memory; functionally, I think we're typically using read-only long-term memory combined with read-write short-term memory, and then writing distillations into long-term memory as-needed. Disabling long-term memory writes in this model may be functionally indistinguishable from a normal operation, at least on shorter time scales.

(For my own part, when I was younger I occasionally got extreeeemely drunk, and would actually flip into some hyper-vigilance around whether I would remember things later; I remember a number of these 'will I remember this later?' moments, though I can't say how many I forgot!)
> You can't intentionally show porn to a minor

Anyone can go to pornhub and see a landing page full of highly explicit sexual images without any kind of age verification whatsoever. How is this legal, if what you say is true? Is it just that they don't know it's a minor on the other side of the screen, so they can say it's not "intentional"?
Same here, but now it seems no-one implements 0 in automated phone systems anymore!
I see, their prior recommendation in 2022 was 0.004 ppt or ng/L, so they backed away from being an order of magnitude below the detection limit. Thanks for the update!
Work is half of your waking day 5 days out of 7 - it’s probably your primary source of face time whether you like it or not. You might have more valuable face time elsewhere (family, friends, hobbies) but those 40-50 hours should probably be taken more seriously than they are.
The hypocrisy is that my company boasts about eliminating carbon emissions with all the solar panels and carbon credits, yet ask people to come in to work three days a week, some of which drive one hour one-way, as if that has nothing to do with the company (it's actually in the so-called "scope 3 emission").

There is nothing new here.
So a MacBook m series is a decent buy
The language is stable enough that we're stopping recommending people to use unstable builds and instead use the latest tagged version. That said every new release has a section about breaking changes and it's never empty.

I would say that calling Zig stable is a huge overstatement, but it is true that the language has been fairly stable in the last few releases. The standard library on the other hand does keep seeing a lot of changes and more in general is still due a big set of breaking changes when it will be officially vetted (it currently grows organically based on needs of the compiler itself or very common use cases).

Lastly, the current stability is in great part caused by the current focus of the core team on custom backends and incremental compilation. Once that's done, I would not be surprised for more language-level breaking changes to pick up again.
Most distros won't allow proprietary software. When mongodb switched license, most distros stopped providing it. Now that redis also became non-free, distros are pushing the free forks.
The Tech That Powers Our Serverless Cloud
old thing bad

new thing good
What about just having request handling functions in a single file or a directory?
It might be more accurate to say that ESR was wrong. It might be even more accurate to say that ESR regards the obvious deficiencies of the model he popularised to be features.
It looks like a pure demo / exploration of a concept. There's no source code or libs that you can download to run it against your own files (the code area is editable, not sure if you can just paste a file into it, but for actual dev, this wouldn't be realistic since you'd have other imports).

It's really cool to see in action, though.
Manufacturer names are frequently associated with their products.

e.g. nobody says "did you get Comirnaty or Spikevax?
But nobody prevents you to continue using the free version. You do not lose anything.
am glad i didnt have ur radar :)

if u were trying to check out a fast, small live linux distro without destroying ur windows partition, u had to run into puppy.

maybe u used linux in institutions where there was a sysadmin to do things for u.
In 1987, I think you'd be very lucky to have that much RAM. 4MB and higher only started becoming standard as people ran Windows more - so Win 3.1 and beyond, and that was only released in 1992.
You are confusing the cause and the effect.
Indeed, this is the standard playbook worldwide for people in power, especially:

1. Politicians in power that want to do something that is unpopular.

2. Corporations that want to implement an unpopular policy.

The evil genius part of it is that it not only allows them to test the temperature of the water, but also to:

1. Claim they are hearing the people and withdrew it, and even claim it as a victory.

2. Shift the Overton window so next time it comes up, people are desensitized.

3. Try again basically forever until they're able to get it passed.

4. Time it better around elections to avoid consequences. Voters have the memory of a goldfish, and are so party/identity-driven that it isn't hard to manipulate them.
> My reading is that reducing face time is definitely NOT a positive factor for happiness.

This is an extremely common problem for juniors in the mentoring program where I volunteer: They graduate college, take remote jobs, and then slide into depression while working from home. It takes a while to work with them to get to the bottom of their issues, but often they'll realize that they're much happier in the weeks following company on-site meetings, then they slowly decline again.

Remote work doesn't work for everyone. Many people struggle in remote environments, especially juniors. The way remote work gets pushed as being perfect for everyone can be very confusing for people who discover that they don't like it.

It's even harder because the internet tends to be very hostile to these people rather than supportive. The correct answer, obviously, is that some people do better at different types of jobs. Yet every time this comes up, people come out and try to criticize the person, blame it on their lack of hobbies, blame it on something else, and refuse to allow that some people need face-to-face coworkers to thrive.

It's a real phenomenon that gets downplayed on the internet.
I wonder if this is also one of the reasons why Android apps are usually worse than their ios counterparts.
- so, again, no luck for parents of young children? Ship the parents back to the office and those issues you mention which have some sort of root cause forcing the home-rearing just… go away/out of sight out of mind? As I said, a mindset out of the 1950s. Also, hiring/firing is still a solution, wfh or not.

- I work in cybersec, all those alternative channels can be monitored or blocked just fine, and still better than “closed office door + handsy VP” which has plagued the workforce for years and years.

- you mention conflict resolution as the remote challenge examples. I mentioned sexual harassment and ageism. Very different.
The other mechanism is parenting and self-control. I'm not too concerned in the long run about which path is chosen for addictive social media; its days are numbered either way.
s/believe/know
To the extent that we know what learning is (not very!) yes they do.
It seems that SUSE wants to shift its enterprise offering to ALP (adaptable linux platform) instead of the legacy SLE platform to better support modern workloads.
https://www.suse.com/c/suse-salp-raises-the-bar-on-confident...

it makes sense to then also shift the open source stream in that direction, which is happening with Leap 16.
And little prior art to draw inspiration from!

The 1980-2000 era was just a raw font of imagination for video games. Since then things have become more iterative and tend to focus on maximizing profits, though thankfully there is a lot of creativity in indie studios/solo devs being empowered by the increasing ease of modern game engines, and even some bigger studios here and there, like FromSoftware.
If a fresh grad (phd or not) reaches that, then this title isn't worth much. No matter if he works insane hours like he mentioned or not. I'd rather say it's a counter-indication.

A workplace that incentivises this actually sounds quite toxic.

The big thoughts come when you can relax a bit and zoom out. That's what you'd expect from a principal title holder, instead of the willingness to permanent crunch mode.