skysight-inc/HackerNews huggingface dataset:
I'm unconvinced. Artificial sweeteners still have the problem that you prime yourself to expect sugar-flavors in everything.
Ask HN: Why is there no dark theme for Hacker News?
Simple question: why is there no dark theme for Hacker News?

(Is there a recommended browser plugin or way to override the site CSS to generate a dark theme on my machine "manually"?)
Previously: https://news.ycombinator.com/item?id=36769998#36770325

This company had an interesting concept to fight bycicle thievery with "hunters" who steal it back [1].

[1] https://www.vanmoof.com/en-SE/peace-of-mind
" there was no evidence that customer data was copied out or exfiltrated from its systems"

...after a thorough analysis of the now encrypted logs?
>I mean, it's a hard problem - for many reasons you only have one button, with no way to display information.

Yes, there is a way to display information: put a screen on the device. My bicycle headlight has this:
https://www.niterider.com/products/6780-lumina-oled-1200-boo...

Of course, this costs more. The OLED screen version of this headlight costs significantly more than the plain one-button version.
Retrieval Augmented Generation (RAG) is a good stopgap measure. It avoids the need for a lot of work on customising the LLM by supplying the relevant data via vector DB queries and letting LLM remain as a "calculator for words" that will just rephrase/extract the answer from the DB query result.
I often have people complain after comparing my works instance pricing to other cloud providers...

Then try to explain that rotating a few dozen TB of data offsite to cold offline storage every week isn't cheap. Because unlike some vendors, we take pride in data integrity and ensuring that our DR plan is actually.... you know, recoverable :P
7.5% of your daily allowance, not 7.5% of the beverage.
> We're forgetting how to look under the hood and understand "why something works".

Partly because that's often not what we're supposed to do; the stuff under the hood "just works" and we're meant to use it to write features, not worry about optimising the stuff that happens under the hood.

And partly it's because the stuff under the hood is increasingly weird and bizarre. Branch prediction is weird, and I still don't understand why that extra print statement changes the branch prediction. Why does it predict `v > maxV` is true when the alternative is to print something, but it doesn't predict that when the alternative is to do nothing?

Is it because printing is expensive, and therefore the branch predictor is going to strongly prefer avoiding that? It's weird that we'd basically have to deceive our code into compiling into a more performant form.

I don't want to have to second guess the compiler.
So you only have 1 backup that you daily overwrite?
> Turns out for the use case choice (1) is a misfiring, as the branch is extremely predictable

Happens to be extremely predictable for this data. In general, over all possible inputs, it’s not extremely predictable.

If you assume all inputs are different (not something the compiler can assume, of course) the probability of having to update the max value goes down from 1 for the first iteration to 1/n for the last, so, possibly, the loop should be split into two halves. Go through the start of the sequence assuming the value needs updating more often than not, and switch to one where it doesn’t at some point.

For truly large inputs you could even add heuristics looking at how much room there is above the current maximum (in the limit, if you’ve found MAX_INT, you don’t have to look further)

Sorting programs used to have all kinds of such heuristics (and/or command line arguments) trying to detect whether input data already is mostly sorted/mostly reverse sorted, how many different keys there are, etc. to attempt avoiding hitting worst case behavior, but I think that’s somewhat of a lost art
Be careful following this advice. There are several issues with the suggested approach. The result is that it's nothing more than a layer of obscurity. As usual: "don't roll your own cryptography".

AES-CTR isn't ideal, a bit flip in the ciphertext flips the corresponding bit in the plaintext when decrypted. I.e. the image is mutable. The solution is to authenticate the data in a cryptographically secure manner. The article suggests using a CRC which is always trivial to circumvent.

A second issue is where to store the AES key. A mention is made of doing this in a secure manner on the device (which is good) but it must be in a form which doesn't allow access by an attacker -- either directly or via a side channel.

Instead of trying to create something, use TLS which will get the data to the device in a secure manner.
Go Mexico! Unregulated markets often don't produce great outcomes for society. Regulate them for the public good.

I live in Australia, this reminds me of our tobacco plain packaging legislation [1]. A post implementation review was conducted a few years afterward [2]. Some interesting bits from the PIR conclusion:

> Applying the government’s RBM framework, the regulatory burden was estimated as $73.87 million across
the entire industry (including manufacturers, importers, wholesalers and retailers).

> While it was not possible to complete a full Cost Benefit Analysis for this PIR (due to the limitations on the data available at this time and provided by industry), potential monetised benefits were also analysed including an illustrative example of health benefits. That example estimated that a 0.07 percentage point drop in smoking prevalence would be equivalent to $273 million in monetised health benefits

> Dr Chipty’s modelling also estimated a 0.55 percentage point drop in smoking prevalence in Australia, over 34 months following implementation, attributable to the 2012 packaging changes. This strong result, that is “likely understated”, is expected to grow into the future as the full effects of the 2012
packaging changes are realised over the longer term

So, within 3 years after the introduction of packaging changes, smoking prevalence throughout the population had dropped by at least half a percent (approx 100k people). It cost the tobacco industry less than $100m in one-off transitional costs, and it's estimated to have more than $2b in monetised health benefits over that three year period alone.

It also cost tobacco industry lost revenues & profits, but hey, that's their problem, maybe they can find a different business to invest in.

[1] https://www.health.gov.au/topics/smoking-and-tobacco/tobacco...
[2] https://oia.pmc.gov.au/sites/default/files/posts/2016/02/Tob...
> Mexico is importing the convenience-store junk-food culture of its northern neighbor.

True. How many people think drinking a coke is great for hydrating yourself or think pre-packaged/fast-food-chain products are "good food"

This is the main issue

How many daily calories are from snacks and other 'needless crap'?
I don’t actually know, but honestly the entire website theme, to quote the New Yorker, “looks like a 1990s web forum.”
I thought of https://xkcd.com/2793/

It came up a few weeks ago in a different thread here. :)
Okay, well that's annoying. That's going to kill the sharing feature, I assume. My buddy has one and I ride it most and it's really kind of nice in SF.
When I was first introduced to Unix (SVR3) all the students used 'write' to chit-chat, and somehow we adopted conventions so that our text would not stomp (it was line-by-line, though) so we would write something like "-o" for "over" when we were finished typing, and "-oo" or "o&o" when we wanted to end the convo.

When MUDs became a thing, it was soon a stigma to be "on raw telnet" as we'd say, because a client could easily handle incoming text while you're typing a line at the same time. And so I became utterly addicted to full-duplex conversations, hardly even caring if I stayed on topic.
Not in my experience. For an ML hobbyist, I don't have particularly strong hardware - around 40 GB of system RAM and a very small GPU with 8GB of RAM. I can run all sizes of models, up to and including 70B (albeit slowly). 13 is definitely the most usable on this particular hardware, given the trade-off between model capabilities and generation speed.
I don't believe such measures have a significant impact on obesity because they don't target the main causes of obesity which are the easy availability of food and the reliance on private cars for transportation.

Furthermore, they push the misleading idea that you can still drive to the supermarket, buy processed foods, load them in your car, drive home, eat them in front of the TV and be fine, as long as you don't buy the high-in-sugar stuff.

If you want to beat obesity start by buying just the ingredients and then cooking meals at home. It's not that hard. Then start walking to places instead of taking the car. Taking public transportation is also good because it frequently forces you to walk a non-negligible amount. Also stop eating while watching TV. You can go one step further and throw out the TV altogether.

You don't need to work out (although you should for other health reasons); you also don't need to diet; the vast majority of dieters gain all of the weight they lost during the diet and then some.
You're not convinced it decreases the incentive?

And having one major problem is better than two.
This is nice, but aren’t there more… umm… official style guides?
This is the Australian equivalent we had when I was growing up[1]. Someone worked it out and basically realized it manages to give you more sugar per volume then actual sugar.

[1] https://www.milo.com.au/powder
I routinely deploy very large C++ applications used by international airlines around the world. And I haven't had a single bug in production for 5+ years. Not even one.

The secret is 9000+ auto tests pushing the code way beyond real world usage.

Changing from C++ to another language won't change the fact that those tests are needed. Memory leaks and multi-threading issues are simply non-issues for me. I use tools like Helgrind and Valgrind to find and fix those.

In other words, new languages like Rust doesn't solve any problems I have.

There is no silver bullet.
I've migrated to Rickdate
http://www.yak.net/rickdate/

For time I'm considering going base-6, base-36 or base-60 with astronomical midnight as 0, a 40 minute precision is good enough for me, matches my portable sundial, goes better with polyphasic sleeping and makes time more spacious
It's probably too new for anyone to have integrated this into text-generation-webui / Gradio? I've been looking for a large context LLM (self-hosted or not) for a project, and as a European I unfortunately don't have access to Anthropic's Claude API yet.
I feel for VanMoof owners. Another one for https://twitter.com/internetofshit
A bicycle is one of the most elegant tools out there. You get an insane amount of value for your money, and anyone can learn to fix them at home with very few tools. They are incredible machines.

VanMoof took everything that is right with bicycles - standardisation, resilience, ease of repair - and deliberately ruined it. I'm happy to see that business model fail.
> For instance, most of them have a default size (mostly 10), and growing them is a costly operation. So knowing beforehand how large your collection can or may be, can benefit code.

It's really a tricky balance. Over-allocating collections "just in case" can quite often be very expensive as well, since large array allocations tend to be fairly slow (since e.g. they typically won't fit in the TLAB).
For a shorter sortable alternative see the base-36 Rickdate
http://www.yak.net/rickdate/
It's inspirational to me that norvig still does these things. That he gets joy out of it so late in life, that he's still more than mentally adept at it, etc. Makes me feel like pursuing programming as a craft for life is a worthwhile option.
No it does not make sense. We know that larger container sizes alone can increase intake (https://pubmed.ncbi.nlm.nih.gov/22306436/) and the purpose of nutrition facts is not to tell you what an arbitrary amount of something contains in a vacuum, it's to inform you on the contents of what you're about to ingest.

"Servings" are just a convenient way to capture the fact that there are some cases where you're not expected to ingest the entire container: that's why a packet of mayonnaise and a jar of mayonnaise have near identical serving sizes, and same for packets of sugar vs boxes of sugar.
That‘s not what he said at all.

More stress means more temptation to take drugs.
I believe Welsh was one of the main inspirations behinds his elvish conlang Sindarin.
My problem with most baklava to me is that all the subtlety and refinement you are talking about just gets lost is big old mess of "sweet". My general baklava experience is that the first bite is good, the second bite is enough and after the third bite I kind of wish I hadn't. It's like some people and chilli heat, once you pass a certain level, it doesn't matter how refined and complex the underlying dish is, all they can taste is 'hot'.

Interesting deserts to me manges to balance sweetness against acidity, tartness, bitterness and similar flavours to create more contrast and where the sweetness isn't the dominating taste experience.
This recurring question is like the Eternal September theme song
Maybe the homebrew guy isn't a good hire?
The site's markup is so old it still triggers quirks mode — I personally prefer it, don't mess with what works.
What about this: https://google.github.io/styleguide/tsguide.html
What was webdev programming full-time look like in the 80s, 90 or early 2000's?
I can't remember the specifics now - it was 35 years ago or something... but as I recall the memory situation wasn't sorted out until Windows 3.0. That's what made Windows 3.0 so exciting - the memory model.
Also punching above my weight class here: isn't observation a function of time as well though, so a local observer would notice no difference in their perception of the passage of time? It's only across distance that the perception of time would change per relativity, so obseevation of self would remain the same while observation of distant objects would appear to experience time faster, while an outside observer would perceive their own time constant and that of the infalling observer to slow through time.
The point of food labels is help consumers make more informed decisions on what food they consume, especially when the food industry works to make food as addictive as possible. Lets not forget that the messaging behind many (most?) products, especially the unhealthy ones, is one of health and nutrition. When the only message about a food is it's health benefits it's not too farfetched that people may consider Froot Loops part of a healthy breakfast.
Froot Loops is an extreme example, in most cases it's more subtle, like granola.
> So you get 500 ml bottle with nutritional info shown for every 100 ml and 250ml because that's the 'serving size'. No-one has ever drunk 250ml (8 ounces) and then left the rest for later.

Actually I had a coworker who would in fact drink 250 ml of a 500 ml bottle and leave the rest for later, although usually he would never get around to finishing it because he drank carbonated beverages and by the time he was next thirsty they had gone flat.

The odd thing was he did this for all size bottles and cups. E.g., if I went to get lunch and he was too busy for a break then and I offered to bring something back for him no matter what sized drink I got for him he drank half.
> the process is exactly the same as it is for me on just about any other site/system when I log in on an untrusted device

This is not my experience. Logging into Reddit/Twitter/Hacker News etc is nowhere near that level of convoluted.

> you inflicted that on yourself did you not?

That's like stating that an assault victim is inflicting damage on themselves by choosing not to comply with their assailant. Okay, perhaps not the best analogy, but hopefully you get the point.

But no, I don't want to login at all. However Discord decided that I must, if I want to access info, and Discord imposed this procedure onto me, unless I comply with their (what I consider to be unreasonable) dance.
Excel, as shown in TFA.
It seems he does:

https://kimjongunlookingatthings.com/
I couldn't live without the Dark Reader [1] plugin. Every website is now dark. Once in a great while it does something weird, but that's on specific websites with weird stuff going on. It makes Hacker News look great.

It's available for Firefox, Chrome, Safari, and Edge.

- [1]: https://darkreader.org/
As if the majority of children on earth had it better…
Nice! I've been out of healthcare for a couple years (although I'd like to go back) but I've worked for more than 10 years sending DICOM files back and forth, and doing some HL7 stuff.

A small question, as I'm a bit tight on schedule this week to watch your PyCon talk (although I'll watch it this weekend or next week):

How does this work to import/receive patient data? Does it get HL7 messages or "just" imports raw databases?

Thanks!
Mexican people also jokingly say stupid shit like you have to act gay 5 mins to avoid it the gayness to accumulate. I put the joke about black labels being a taste rank on the same “stupid things people say” bucket.
Wiretapping: Adams vs. Google, LLC [pdf]
More likely looking at network traffic
I have written a tiny userscript for myself to browse HN with a dark colour theme. Visit https://github.com/susam/userscripts#dark-hn to see the userscript. It runs fine with a userscript manager like Greasemonkey, Violentmonkey, or Tampermonkey.

On the same page there is another userscript named "Big HN" that shows HN with larger fonts. I use both together for a pleasant HN reading experience.
I think it's still considered a ponzi scheme if you tell people exactly what you are doing.
To add to your question and a weak attempt at answering (as a Layman)- when the universe was the size of an apple, how long would it take for a particle to travel from one side to the other? I think the answer would be forever which in a sense makes it infinite, regardless of the universe's finite size.

I guess we have the luxury of removing ourselves from the universe while thinking about it, if Platonism is a thing.

Reminds me of the halting problem.
Netware, I also worked with Microsoft's SMB and a few other lesser known things. 3Com something or other. There were some interesting network types around then too - unfortunately alot of coax networks (a disconnected cable would bring the whole network down), Banyan Vines, some IBM token ring which had some weird cables and connectors. Cat 5 networking came in not long after.

Back then there were all sorts of protocols flying over the network. IPX/SPX, XNS mainly. The one protocol NOT present on our systems was TCP/IP.
Which in English is reckoner, with related meaning.
Ask HN: Undiscovered electronics/maker YouTube channels
I've now got a semi successful YouTube channel. One of the things that helped me out at the beginning was other more popular YouTubers surfacing up my videos to their audiences.

I'm looking to pay back some of that and want to find some good undiscovered content. There's lots of people posting really good technical content and they just aren't pushed out by "the algorithm".

Maybe the production values aren't great, the audio is not great or it's just very amateurish, but if the content is good then I'm interested.

I'm not really interested in people who already have thousands of subs, I'm looking for the guys who are getting a few views on their videos and deserve more.
> Nutritional labelling is such a cesspit of lies. My pet hate is the 'portion' or 'serving' sizes which are blatantly wrong just so the companies can lie about how much sugar they are selling to you.

"Per serving/portion" seems like an American quick, like "tablespoons" or "cups" as units in recipes. The EU the labeling standard is per 100g or 100ml.

> So you get 500 ml bottle with nutritional info shown for every 100 ml and 250ml because that's the 'serving size'. No-one has ever drunk 250ml (8 ounces) and then left the rest for later.

What do you mean? I do that all the time.
> That doesn't work. He shot himself in the head. Was that his plan all along? Clearly that method of analysis has some problems.

Perhaps. He did "achieve" a few other things before that point either way.

> That's a certain way of viewing history that I dislike. It robs past people of all agency and we never trust anything anyone says. That's way too cynical. It also has no explanatory power.

The thing is, we know for a fact that historical writings were highly motivated by propaganda purposes, and/or highly colored by the biases of the writer's culture.

Very very few historical sources, especially going back to the middle ages or before, were writing from some intention of having objective history remembered. They were writing for some emperor or another, disparaging their enemies and deifying their families and reigns. Even personal letters, to the extent that we find them, tend to do the same thing.

And even looking at more modern sources, you'll often find flagrant bias in reporting, and extraordinary levels of praise or disparagement of the characters involved depending on the source.

It is then important to realize that we simply don't have access to the real characters of the people written about, ever. We at best get an idea of what they actually did, but we don't have any idea of their real personalities or intentions or beliefs. We barely know who the worse abuser was between Johnny Depp and Amber Heard, and we got to see a whole trial with plenty of clear evidence from both of them. We simply don't have any chance of judging what Charlemagne actually believed about virtually anything, or what kind of a guy he was.
SQL is easy, the problem is that some enterprise database schemas have gotten incredibly complex over time. I think LLMs might help the maintainers navigate such a complex landscape. Especially if comments are added to each table with clarifications. The only serious limit here is the LLM's context length...
Is modern crypto, networking and web browsing avaliable on XP through any way?
Show HN: JS Benchmark – Simple performance benchmarks with ESM and NPM Support
There's some bias as topics like these are often on top of HN. Extrapolate the 2 or 3 people you've met to all the programmers in the world - that's how you get some amazing in depth blog posts every other week.
> Avg FPS are not going up fast enough in my opinion.

I've never had hardware to run above 1080p at 60fps (monitors, GPUs), so my desires are a bit orthogonal - I wish more games let you customize the graphics settings so that you could maintain a consistent framerate (be it 30 on a low spec laptop, 60 on a regular PC or more fps) at a resolution of your choice.

Things like switching between baked or dynamic shadows, their type/filtering, things like ambient occlusion and tessellation, various post processing effects and filters, model LOD limits and texture resoltion, resolution scaling and so on.

More so, it would actually be nice if games let you download a version with lower fidelity assets (like War Thunder sort of does, for example), so you don't need 100 GB of models and textures if you're realistically only ever going to see 20 GB of those on your hardware.

Thankfully, most modern game engines scale both up and down decently, for example, Unity's URP (though historically a bit half baked and fragmented the community/assets). It's just up to the developers to get over the hubris of wanting "low" settings to still be pretty, that choice should be up to the user.
I feel like there needs to be another column for the entire package as long as it’s possible to consume the whole thing in a single sitting.
Motion-controlled World of Warcraft [video]
This is interesting. I have an enterprise customer who's looking for exactly this. Any plans to support DB2?