MurphyA/hacker-news huggingface dataset:
by throwaway2037 | 2025-05-08 03:30:10+00:00
Real question: I remember a long time ago reading a theory that the amount of time you spend on physical fitness is roughly equal to the amount of longevity gained. Said another way: If you spend one hour running for exercise, you might gain about one hour of extra longevity. It seems nearly impossible to study this theory at scale, but I am curious if there has been any other research.

To be clear, I'm not using this post to "dog whistle" that people should not exercise for fitness.
by Dylan16807 | 2025-05-08 03:31:39+00:00
> You're seriously telling people that a CPU working at 90% is processing faster than a CPU working at 100%?

If your CPU sits at 100% for several seconds then your task is almost certainly bottlenecked by the CPU part of the time. Therefore, if you use a faster CPU your task will get done faster.

So if we keep everything else the same, same hardware, same workload, same CPU design, only changing the clock speed of the CPU, then the CPU that reads 90% must be a faster CPU. Therefore it will reduce the bottlenecking, and your task will get done faster.

For the CPU upgrade to not matter, you'd have to have a task that is never bottlenecked by the CPU. That is very unlikely to be the case if your CPU is reading 100% for several seconds.

Edit to reply:

> Ok, so your grand solution to this is - faster CPUs process faster than slower CPUs. Wow. Who would have thunk it.

You were the one saying that a fast CPU is "oversized". So I explained in detail why avoiding 100% does not make your CPU oversized.

Yes it's obvious, glad you agree now.

> 100% of a CPU is faster than 90% of that same CPU.

It has more throughput but for most types of software it now has worse latency.

If you care about latency, then you don't want to increase throughput by pegging your CPU at 100%. You want to increase throughput by getting more/better CPUs and keeping them at a lower percent.
by hedora | 2025-05-08 03:32:30+00:00
Gee, look what fell out of the back of a truck:

https://www.alibaba.com/product-detail/HDMI-1-4-Splitter-1-i...

$25 minimum order (for ten) + shipping and tariffs. No idea if these work, but they’re the top internet hit. The metadata says they do.
by throwaway2037 | 2025-05-08 03:32:39+00:00
Gisele Bündchen is one of the most famous runway models in the world. Surely, her BMI is below 18. (If you look at unstaged photos of her, she is so unbelievably thin. No one would think a relative who looked like that was healthy.) I am pretty sure that is the "legal" limit in France. How do they work around it? Does she never walk the runways in Paris?
by miki123211 | 2025-05-08 03:32:48+00:00
I don't know what CCSF's problem is, but this is the second major fraud case I know of that involves them specifically.

A few years ago (this was pre-pandemic, around 2018-19), you could buy those "unlimited-storage, never-expiring" Google Drive accounts online. I was curious about how they worked, and it turned out a few of my less knowledgeable friends had some. The ones I could get my hands on were all @ccsf.edu addresses, with randomly-generated but somewhat plausible-sounding names and surnames (something like "Zyx Ngehirda" or "Anqomi Horezis", names made up but it's roughly what they looked like).

From what I could figure out from these, I think you were able to sign up as a CCSF student with very little verification, and as long as you didn't take any courses, you didn't have to pay. You still got all your accounts set up though, including Google Drive, and you could sell those for a profit.

The accounts weren't actually as unlimited as the seller claimed, I asked a few months later and they were apparently shut down by that point. One person reported receiving an angry email (on that Google account) notifying them that the account will be removed if they don't sign up for a course.

This scam must have been heavily automated and very widespread, the accounts were sold on Allegro (Polish Amazon) for $1-$2. It's possible other institutions were involved too, the few accounts I knew of were bought at roughly the same time, so they could have come from the same "batch."
by dayjah | 2025-05-08 03:33:46+00:00
You have superbly summarized the point I was trying to make regarding valuations.

Regarding your other point about pedigree: I’ve a high school level education. I was considered senior at this specific co. as I had played an important role in building the product (I’m a “classic case” of self taught generalist). I’m not at all clear on how I was selected to take part in that effort to be frank. It was fun.
by drodgers | 2025-05-08 03:33:58+00:00
They don't do any of the Dolby decoding and multi-channel mixing. Their closest product is the miniDSP Flex HT which is really about applying EQ to a bunch of channels (only 8, aka 7.1 or 5.2.1) after they've been decoded by an upstream receiver. It's pretty niche.
by nullc | 2025-05-08 03:36:31+00:00
Wrong assumption. Lets imagine they could costslessly crack the encryption there. But as soon as they use any information gathered that way they risk leaking that they have this incredibly valuable capability. ... valuable and very fragile since people can easily change encryption schemes.

Better to pay every party you need to to have boring vulnerabilities and security shortcomings, so that any information leak doesn't need a capabilities revealing explanation.

So I think this gives you no information on their capabilities beyond bribing commercial players, which isn't exactly new. In the past (and presumably now) our intelligence apparatus has outright owned crypto/security companies in order to distribute backdoored technology.

And of course they have, they're not prohibited, it's highly effective, they'd be incompetent not to.
by LeafItAlone | 2025-05-08 03:38:04+00:00
>at least in the US-where some people feel entitled to be tipped just for doing their job

In the US, many food-related jobs are paid rates predicated on the workers being tipped. Sure there are some laws requiring the business to make up the difference to minimum wage if not met (over an average), but that’s still only up to minimum wage which is criminally low in many states.

Some states have started requiring the companies running app-based gig jobs to also ensure a minimum wage is paid, but not many yet.

US tipping culture is crazy.
by mrlatinos | 2025-05-08 03:38:06+00:00
This library can use any version of Python 3.11, which you can install alongside your existing 3.10.9 without changing your global python version. I don't typically work in Windows so the codeblock below is AI generated, but follows the path I would normally take - manage installed python versions using pyenv, changing the python version only for this directory via .python_version, and then creating uv environment using that.

``` :: Step 1: Install pyenv-win (make sure Git is installed) git clone https://github.com/pyenv-win/pyenv-win.git "$env:USERPROFILE\.pyenv"

:: Step 2: Add pyenv to PATH (run or add to your profile) $env:PYENV = "$env:USERPROFILE\.pyenv\pyenv-win" $env:PATH += ";$env:PYENV\bin;$env:PYENV\shims"

:: Step 3: Restart your terminal or reload environment if needed :: (you can paste the above $env:... lines again after restart)

:: Step 4: Install Python 3.11 pyenv install 3.11.9

:: Step 5: Set the local Python version for your project folder cd C:\devel\us-routing-master\us_routing pyenv local 3.11.9

:: Step 6: Verify correct Python is selected pyenv which python # should point to 3.11.x

:: Step 7: Create uv environment using Python 3.11 uv venv .venv --python "$(pyenv which python)"

:: Step 8: Activate the environment .venv\Scripts\activate

:: Step 9: Install your package uv pip install us-routing ```

pyenv is a great way to have many versions of Python installed, whether or not your global is mapped to the latest. You don't even need to set the local .python_version.. you could just do `uv venv .venv --python=python3.11`
by oso2k | 2025-05-08 03:38:29+00:00
The Dell Optiplex community did this a few years ago and they were even able support older generations of Optiplex. The actual NVMe boot module is pretty generic and I’d suspect it would work with other machines.

https://tachytelic.net/2021/12/dell-optiplex-7010-pcie-nvme/

https://tachytelic.net/2022/02/dell-optiplex-790-990-nvme/?a...
by dayjah | 2025-05-08 03:39:04+00:00
For sure, as was the opportunity cost of redirecting our engineering teams to produce the competing product. That is, slowing the roadmap on our core product to deliver a tangential product.

Also, we had to factor into account user management, infosec bring-up, streamlining deployment, cross training teams, etc.

This was a large co., there was generally the belief that everything can be copied relatively quickly to reach something like parity. Obviously, the discovered path has tons more learning in it that the copier doesn’t benefit from when making subsequent decisions, which can result in lots of time lost.
by throwaway2037 | 2025-05-08 03:39:07+00:00
This. 100%. I was blessed with good genes from my parents. It is so easy for me to maintain a reasonable weight. (Same for them.) Until very recently, I hardly did any exercise for more than 15 years, except the occasional weekend hike (nothing too crazy). Yes, there is some degree of self-control around eating, but lucky people with good genes love to wag their finger as people who struggle to maintain their weight. Whenever diet/weight issues come up on HN, there are always some very interesting posts by people with food control issues. They know their brain is broken (too hungry too frequently, etc.), but they cannot do very much about it. I'm happy to see that millions of people are finally able to lose weight and keep it off using GLP-1 drugs.
by anonzzzies | 2025-05-08 03:40:03+00:00
So this is like a bunch of patterns + implementation library of those patterns + PaaS runtime for that library? It is very hard to read this, but it seems it is similar to the library we use internally in our company to do this. Ours is very opinionated (this looks like this also) so we never thought of making it a product as it wouldn't fit in other companies, or so we figured.

Maybe I didn't see it and it is there (there is a Lot of text), but I think having the npm and Frontpage should link to a directory of actual, full examples would be good.
by Tempest1981 | 2025-05-08 03:41:44+00:00
This is my observation too:

> Rust is still too hard for the average programmer

What's the best way to "onboard" average programmers to Rust? Is it possible to avoid the more complex syntax and still be productive?

Or does Rust require us to fire and replace our "average c++ programmers" with super-smart Rust programmers?
by DidYaWipe | 2025-05-08 03:41:45+00:00
That's interesting. This led me to their page, which also touted the now-free WebStorm.

Can anyone weigh in on WebStorm vs. VS Code for JS/TS development? I'm developing a back end with Deno running locally, and VS Code has been decent for debugging and using the language runtime. Would WebStorm offer any advantages?
by kragen | 2025-05-08 03:43:26+00:00
If there's something wrong with open source software as a class, that thing would almost certainly have to be wrong with the AGPL as well, since it's a central example of the class of open source licenses, and, contrary to your comment, one of the most popular ones. If it's an exception to the generalization, you need to explain why.

So it isn't "slight hyperbole". It's utter incoherence.
by ivanbelenky | 2025-05-08 03:43:45+00:00
it can be extended arbitrary given the proper dataset. For the current default settings, road class covers everything below 3. This translates to

FREEWAY = 1 # Freeway (Multi-lane, controlled access)

PP_TH = 2 # Primary Provincial/Territorial highway

SP_TH_MA = 3 # Secondary Provincial/territorial highway/ municipal arterial

MC_USP_TH = 4 # Municipal collector/Unpaved secondary provincial/territorial highway

LS_WR = 5 # Local street/ winter road

3 was the sweetspot. The dataset can be explored here in case you want to get an intuition on detail level. https://geodata.bts.gov/datasets/usdot::north-american-roads...
by WalterBright | 2025-05-08 03:44:00+00:00
> I've somehow heard of neither of your first two mentions, but will be checking them both out soon.

I envy you! I wish I could see them again for the first time!

Based on your remarks, I bet you would love "The War Lover", 1963. They used 3 real B-17s for the movie. Very realistic. I know this because my dad flew 32 missions in a B-17, and was assigned by the Air Force to them as a consultant for accuracy for the movie. He made the mission map used in the briefing.

He was also responsible for the "cutting the grass sequence". The director was just going to use models because it was too dangerous, but my dad showed them how to do it safely. The sequence is just terrific. The AF was mad at him for recommending it, but the sequence was very popular with the critics and he was forgiven.

P.S. How to do it safely: do it at dawn when the air is still. Station people at various locations around the flight path in continuous communication with the pilot telling him his altitude. Fly the route again and again, each time slightly lower.
by TowerTall | 2025-05-08 03:44:43+00:00
If it is a single function or a class I most of the time prefere copy/paste from the chat. If multiple files needs to be updated then there is a lot of convinience with using a AI IDE.

For writting code the old fashion way. You type the code the intellisense/auto-complete build in to the like of cursor AI is the most annoying thing i have ever seen in a IDE. You constantly sitting hitting the escape key try to get their auto-complete suggestion to go away. Most of the time is it guessing where wrong and is mostly useless.

The biggest issue is when you try to use a class that has properties. When you press the dot after the class name normally the IDE will list the public properties on the class.

Now you have to battle that the list now longer contains just the properties found on the class but also non-existing properties invented by the AI IDE. As clever as this AI autocomplete can be, i really hate it because I can no longer rely on that my IDE is telling the truth about what properties and functions there is exist on a class.

and if you are the type of programmer that like to put empty lines in your code for readability. Then moment you hit enter you now get an often completly irrelevnat code suggestion and need to battle that suggestion to go away. I just want an blank line for crying out loud.

PS: my AI IDE is cursor
by moh_maya | 2025-05-08 03:44:49+00:00
You could perhaps consider looking at some of the class D amps coming out of CN. Remarkable stuff considering the price and power output.

SMSL has some good, well reviewed products; as do WiiM and quite a few other brands.

The Audio Science Review forum (1) has objective measurement based reviews of many of the newer amps, standalone and integrated.

I’m using the SMSL AO300 to drive Boston Acoustics VR3 floor standing speakers in a study, and they’re sound as good as they did when they were on an older Yamaha amp, or a Denon integrated amp.

Edited to add: most (none?) of the class D integrated amps can’t do Dolby -(licensing, I suspect, is the main issue here), so you’ll need to get a receiver in the middle for HTS though.

Edited post edit (sorry!): turns out Wiim streamers can now do 5.1, so some options are slowly emerging. (2)

(1) https://www.audiosciencereview.com/forum/index.php?forums/am...

(2) https://faq.wiimhome.com/en/support/solutions/articles/72000...
by mmooss | 2025-05-08 03:45:54+00:00
> I would say that the music industry has only recovered in the last two decades.

Do you have revenue numbers? (I don't.)

> Internet piracy famously cut the legs out from physical album sales in the early 2000's

No way. The Internet destroyed physical album sales. Are you suggesting that if it wasn't for piracy, people would still be buying CDs? The Internet also destroyed print newpapers, software sales on CD, locally installed software generally, brick-and-mortar sales of anything that can be shipped, and lots more. Is that all due to file sharing?

> artists are often the worst off financially today because of the crummy payouts of streaming music

How is that the fault of file sharing?
by simonw | 2025-05-08 03:45:57+00:00
I really like Mistral Small 3.1 (I have a 64GB M2 as well). Qwen 3 is worth trying in different sizes too.

I don't know if they'll be good enough for general coding tasks though - I've been spoiled by API access to Claude 3.7 Sonnet and o4-mini and Gemini 2.5 Pro.
by xkcd1963 | 2025-05-08 03:46:58+00:00
I don't think we are speaking of the same thing.

Imagine ancient mesopotamia where the priests supposedly controlled food distribution because food was accumulated in temples. The priest himself is not working the fields or builds tools, but he demands respect. He will put feathers in his hair, talk elaborately and call it a day after he takes a good chunk of food for himself.
by throwaway2037 | 2025-05-08 03:48:03+00:00
> when I started taking Mounjaro, my general self-control increased. This is quite a common reported side effect.

Wow, this is fascinating. I write that without sarcasm; I really mean it. I put this in the same (unproven) category as when middle-aged men start to do weight lifting (nothing too crazy), it "magically" cures many mental health issues, such as anxiety and depression. (The number of anecdotes I have heard with this pattern boggles my mind.)

Do you think part of your improved self-control is just feeling better about yourself? Allow me to extrapolate a bit here: If you are depressed, it is "easy" to throw away self-control and eat, eat, eat. Might the reverse also be true? If you are less depressed, it is easier to harness your self-control and eat less? It seems very plausible to me, but nearly impossible to prove the mechanism, except to observe it with a careful study.

Further, I am curious to hear more about the positive effects on your life after your self-control increased. Example: Are you doing better in relationships, or better at work... or the sun shines brighter in your life now... or what? These kinds of HN posts with high quality, first hand anecdata are some of my favourites.
by bitwize | 2025-05-08 03:55:08+00:00
Simple inheritance makes the class hierarchy complicated through issues like the diamond inheritance problem, which C++ resolves in typical C++ fashion: attempt to satisfy everybody, actually satisfy nobody.

The designers of StarCraft ran into the pitfalls of designing a sensible inheritance hierarchy, as described here (C-f "Game engine architecture"): https://www.codeofhonor.com/blog/tough-times-on-the-road-to-...
by pizza | 2025-05-08 03:55:56+00:00
As I was reading through this, I realized that there's also something kind of similar but in the 'opposite direction' - thermodynamic computing.

E.g.

- radiation tolerant ML: do ML 'work' steps despite noise

- thermodynamic computing: drive ML work 'steps' 'through' noise

Makes you wonder if there could even be a meta level where you can isolate the noise due to radiation, and pass that as an input to the protection parameters, so you could adjust the robustness in an adaptive manner, or something. Or a diffusion model, where radiation noise is the input noise source!

[0] https://www.normalcomputing.com/post/scaling-thermodynamic-c...
by mrandish | 2025-05-08 03:56:16+00:00
Indeed. My custom-built, sound proof, no-window, 150-inch screen, laser projector, 7.2.4 THX-rated speaker, 10 seat, dedicated home theater room is driven by about 80 pounds of dual rack-mounted Denon AVRs. I'm going upstairs now to disable automatic firmware updates before Samsung can start spamming me with ads.
by WantonQuantum | 2025-05-08 03:56:23+00:00
Fixed it!

#include <stdio.h> #include <stdlib.h> #include <time.h> #include <float.h> double random_real(double low, double high, int (*random_bit)(void)) { if (high < low) return random_real(high, low, random_bit); double halfway, previous = low; while (1) { halfway = low + (high/2 - low/2); if (halfway == previous) break; if (random_bit() & 1) low = halfway; else high = halfway; previous = halfway; } return halfway; } int main(int argc, char *argv[]) { srand(time(NULL)); for (int i = 0; i < 1000000; i++) { double r = random_real(-DBL_MAX, DBL_MAX, rand); printf("%f\n", r); } }
by LeafItAlone | 2025-05-08 03:59:21+00:00
>The driver has no idea how much you tipped.

It’s my understanding that it may be different in some markets, but generally while drivers may not know exactly how much you tip above a certain amount venue accepting the order, they do seem to generally know if you haven’t tipped or have tipped a tiny amount.

https://www.reddit.com/r/doordash/comments/12d8p18/do_driver...
by nwienert | 2025-05-08 04:00:06+00:00
Have to say I basically take the opposite on everything you say here. I know quite a few people who aren't super active (myself included) who took it and went off and kept the weight off.

And they actually do induce lifestyle changes, which is the fascinating part. Not for everyone, but the impulse control changes are dramatic. I had a friend credit him going to therapy for the first time in his life and reading for the first time since high school to it which was crazy, but makes sense because it also helped him quit smoking weed so he had a lot more time.
by jwr | 2025-05-08 04:00:16+00:00
I'm not sure if you mean indexing implementation, or indexing of my model objects.

Indexing functions take model data and return:

* single index value which can be an UUID or a string

* single index value with multiple elements (e.g. a vector)

* multiple index values

They are Clojure functions, operating on Clojure data, testable with Clojure tests. As opposed to many other solutions, they do not live in the database, are not written in a limited database language with limited data types, and they operate on native (not coerced to db form) data values. Since they are functions of your data, you are not limited to indexing on a field or a combination of fields, you can compute a value (or values) based on your data.

The indexing implementation runs these when needed to get index values from model objects, and updates the actual index "tables" (areas in the key-value space, really).
by atonse | 2025-05-08 04:02:35+00:00
Update: The JIRA MCP seems to be working now, I'm not sure what happened.

I also added an elixir RuleSet (I THINK it's being used, but can't easily tell).

Still missing the truly fast and elegant suggestions from Cursor (especially when Cursor suggests _removing_ lines, haven't seen that in Zed yet). But I can see it getting there.

Some agents stuff also worked well. I had it fix two elixir warnings and a rust warning in our NIF.

Unrelated to Zed, I find myself in the awkward position of maintaining a (very small) rust file in our code base without ever having coded rust. And any changes, upgrades, etc are done via AI.

So far it seems to work (according to our unit tests) and the library isn't in any critical path. But it's a new world :-)

Also, Zed still seems to only give me access to "basic" models even though I'm in the pro tier trial. Not sure if that's a bug.
by rashunain | 2025-05-08 04:02:42+00:00
Daily current affairs updates are available in English, including news headlines, GK questions, and answers. Overall, the Current Affairs 8 May 2025 covers a range of topics, including national and international news, sports, education, and daily current affairs quizzes. It is essential to stay updated with the latest news and developments to remain informed and prepared for competitive exams and other challenges.