MurphyA/hacker-news huggingface dataset:
by intrasight | 2025-09-10 03:24:39+00:00
The hardware tech in place for HR is even more interesting.

"AirPods Pro 3 introduce a custom photoplethysmography (PPG) sensor that shines invisible infrared light pulsed at 256 times per second to measure light absorption in blood flow. Combined with sensor fusion from the AirPods Pro accelerometers, gyroscope, GPS, and a new on-device AI model on iPhone ..."

This same hardware, or its next iteration, will probably allow for silent speech recognition with a software update. This will be a total game-changer in terms of human-computer interactions.

Sadly, it'll be up to Apple to make this a reality since they don't expose the raw sensor data.
by vayup | 2025-09-10 03:24:52+00:00
> ...attackers must not be able to predict tag values that the system will choose. We address this issue by frequently re-seeding the underlying pseudo-random generator used to select new tags.

This point could use more explanation. The fundamental problem here is the low entropy of the tags (only 4 bits). An attacker who randomly guesses the tags has 1/16 chance of success. That is not fixed by reseeding the PRNG. So I am not sure what they mean.
by whacked_new | 2025-09-10 03:26:43+00:00
Wow, thanks for digging! Looks like I haven't committed that file! It's an incomplete description of the android app that I wrote to output the jsonl in the self-logging piece going through some comparisons of existing options in 2019 and design decisions for the app. In short, it's like myfitnesspal tailored to my use case. 3 years later, the data is still a sprawl, but the logging strategy is stable.
by Retric | 2025-09-10 03:26:48+00:00
I think you’re overestimating how much actual education takes place each day. Most kids can catch up fine on double the workload after some extended break even without in class lectures. Just abstractly the extreme example is someone skipping a full grade, but consider the huge middle ground between that and needing to be in class essentially every single day.

That said a significant fraction of kids really do need all the help they can get, but catering to them means leaving a lot of slack in the schedule.
by triceratops | 2025-09-10 03:26:49+00:00
> It's possible that productivity boosts from automation and AI could overtime make SS actually sustainable

Social Security is funded entirely by payroll tax deductions and invested only in treasury bonds. Bonds which have had very low yields in this century. Guess what you collect less of as automation and AI ramp up? Payroll taxes.

EDIT: I saw your comment here. https://news.ycombinator.com/item?id=45191291 Sounds like we agree.
by VikingCoder | 2025-09-10 03:27:14+00:00
I have counter-points to several of these... But this one is my favorite (This didn't go very far, but I loved the idea of it...):

I once wrote a program that opened up all of my code, and at every single code curly brace, it added a macro call, and a guid.

void main() { DEBUGVIKINGCODER("72111b10c07b4a959510562a295cb2ac"); ... }

I had to avoid doing that inside other macros, or inside Struct or Class definitions, enums, etc. But it wasn't hard, and it was a pretty sizeable codebase.

The DEBUGVIKINGCODER macro, or whatever I called it, was a no-op in release. But in Debug or testing builds, would do something like:

DebugVikingCoder coder##__LINE__("72111b10c07b4a959510562a295cb2ac");

(Using the right macros to append __LINE__ to the variable, so there's no collisions.)

The constructor for DebugVikingCoder used a thread-local variable to write to a file (named after the thread id). It would write, essentially,

Enter 72111b10c07b4a959510562a295cb2ac (epoch time)

The destructor, when that scope was exited, would write to the same file:

Exit 72111b10c07b4a959510562a295cb2ac (epoch time)

So when I'd run the program, I'd get a directory full of files, one per thread.

Then I wrote another program that would read those all up, and would also read the code, and learn the File Name, Line Number of every GUID...

And, in Visual Studio, this tool program would print to the Output window, the File Name and Line Number, of every call and return.

And, in Visual Studio, you can step forward AND BACK in this Output window, and if you format it correctly, it'll open the file at that point, too.

So I could step forwards and backwards, through the code, to see who called where, etc. I could search in this Output window to jump to the function call I was looking for, and then walk backwards...

Then I added some code that would compare one run to another, and argued we could use that to figure out which of our automated tests formed a "basis set" to execute all of our code...

And to recommend which automated tests we should run, based on past analysis.

In addition to being able to time calls to functions, of course.

So then I added printing out some variables... And printing out lines in the middle of functions, when I wanted to time a section...

And if people respected the GUIDs, making a new one when they forked code, and leaving it alone if they moved code, we could have tracked how unit tests and other automation changed over time.

That got me really wishing that every new call scope really did have a GUID, in all the code we write... And I wished that it was essentially hidden from the developers, because who wants to see that? But, wow, it'd be nice if it was there.

I know there are debuggers that can go backwards and forwards in time... But I feel like being able to compare runs, over weeks and months, as the code is changing, is an under-appreciated objective.
by BobbyTables2 | 2025-09-10 03:27:22+00:00
One certainly can, but such is not default.

Things using autotools evolved to be “manual user friendly” in the sense that application features are automatically enabled based on auto detected libraries.

But for automated builds, all those smarts get in the way when the build environment is subject to variation.

In theory, the Yocto recipe will fully specify the application configuration regardless of how the environment varies…

Of course, in theory the most Byzantine build process will always function correctly too!
by 000ooo000 | 2025-09-10 03:28:29+00:00
>Microsoft re-enables disabled abc after xyz

>Microsoft launches shitfoo; users livid they can't disable it

If I had a dollar for every time one of these headlines has scrolled across my screen.. just recently CoPilot has drawn the ire of devs who don't want it involved with their repos.

https://www.theregister.com/2025/09/05/github_copilot_compla...

If you think MS isn't interested in shoving all this down your throat on Windows at the earliest opportunity, then I dunno what to tell you. But people are allowed to have opinions on things and TFA is just that.
by ThrowMeAway1618 | 2025-09-10 03:29:00+00:00
>I’m curious to see where the Mamdani Experiment takes you all. His constituents are one group who are for certain no stranger to the armed presence reported elsewhere today. Under pretenses all too familiar.

What are you going on about? Mamdani may or may not be a good mayor for NYC. Ask me in two years.

But he's not some sort of jihadi, Commie pinko. He's a New Yorker who is actually talking about issues that New Yorkers care about.

It certainly helps that his competition are a disgraced serial sexual harasser (Cuomo), a corrupt sitting mayor whose administration (as well as himself) is riddled with corruption and a lack of accountability (Adams) and a clownish jerk whose claim to fame is that he used to ride the subways at night with his gang and beat up whoever they felt like (Sliwa).

Given the competition. is it any wonder that Mamdani is a cinch to win the mayoralty?

And all that has absolutely zero to do with the mud being slung at him. He will be the next mayor of NYC and I look forward to his tenure -- especially since it means the other folks will go away, at least for a few years.

Mamdani may suck at being mayor. I don't know. But it would be difficult for him to be worse than his field of opponents.

And none of that stuff has anything to do with national politics or the DNC.

I say all this as an old white guy of Jewish extraction.

I don't know where you're from or where you live, but you're talking out of your ass and it smells that way too. Yuck!

Edit: I may have, as anecdata (thanks for calling me out, anecdata!) suggested (https://news.ycombinator.com/item?id=45193191 ), misunderstood your post. Upon reflection, I probably should have been more charitable in my reading of it. That said, you're flat wrong about Mamdani's "constituents." He, for the reasons I mentioned above, is supported not just by the minorities being targeted by the Trump administration, but by huge numbers of regular New Yorkers (of all ethnicities and melanin content levels), because he's the best candidate.

I'd add that Mamdani didn't just fly in from an Iranian terrorist training camp to run for mayor. He grew up in NYC, went to NYC public schools and has been an elected member of the New York State Assembly for the past four years.

If I misunderstood your comment as to Mamdani, his constituents (the residents of State Assembly District 36 in Queens), and/or his validity/viability as a mayoral candidate, my apologies.
by throwup238 | 2025-09-10 03:29:11+00:00
Only about 20% of corn and 40-45% of wheat is exported. Since a lot of the rest goes to animal feed either directly or as distillers grains (waste product from ethanol/biofuel production that is still edible), it could definitely impact food security here in the US.

The complicating factor is that those grains are the feed for the last stage in beef production, with about half of all US agricultural land going to pasture for the previous stage. Eliminating those grains could significantly impact how much food the rest of the land can actually produce.
by makeitdouble | 2025-09-10 03:29:22+00:00
While a debugger is of high value, having access to a REPL also covers the major use cases.

In particular, REPL tools will work on remote session, on pre-production servers etc. _if_ the code base is organized in a somewhat modular way, it can be more pleasant than a debugger at times.

Makes me wonder if the state of debugging improved in PHP land. It was mostly unusable for batch process debugging, or when the server memory wasn't infinite, which is kinda the case most of the time for us mere mortals.
by untrimmed | 2025-09-10 03:29:45+00:00
Honestly, I feel like the print vs. debugger debate isn't about the tool, it's about the mindset. Print statements feel like you're just trying to patch a leak, while the debugger is about understanding the plumbing. I’m starting to think relying only on print is a symptom of not truly wanting to understand the system you're working in.
by KPGv2 | 2025-09-10 03:30:35+00:00
> Most schools do biology > chemistry > physics

I'm only aware of schools providing these three courses as independent of each other. Which makes sense, since they are independent.

I took Chem as a sophomore, Physics as a freshman, AP Chem as a senior, and AP Physics as a senior. I didn't take a single bio course after 7th grade.

For what it's worth, both Calculus courses were harder IMO than any of the aforementioned.
by weitendorf | 2025-09-10 03:31:13+00:00
I don't consider myself right wing, but I guess in this case I wouldn't care even if it were nominally right-wing, because it's more important to give students good educations than it is to perpetuate institutions (eg giant school systems with awful performance) that might ideologically better align with my beliefs but are clearly not working.

Also, while I don't think students should be pushed out of charter schools purely for bad performance (if they are putting in the effort), I do think that poor minority parents should have the right to send their kids to schools that don't force students to share classrooms with disruptive or way-behind-grade-level students. When educational outcomes under the local public school system are really bad I think school-choice just makes a lot of sense as a way of figuring out what policies are popular/effective/unpopular/harmful.
by phil21 | 2025-09-10 03:31:31+00:00
Grew up in Minneapolis and spent most of my life in the twin cities.

You really can’t compare it to a tech hub, or even a major city like NYC or Chicago. It’s just a different league.

I miss the twin cities quite a lot and will likely eventually move back - but definitely not for professional reasons or the opportunity to expand my exposure to cultural diversity.

Living in both a few mid tier cities like MSP and a major “real” city comparing them is pretty tone deaf to me. Calling public transit even usable in Minneapolis is a joke - and I lived without a car for over 20 years there taking it every day. Not even a comparison to a large city with a rapid transit network.

The Bay Area may have fallen off since I’ve been there, but the tech density even 10 years ago gave opportunity for career growth that Minneapolis simply did not remotely have. If you were a super star developer doing Internet things in the early to mid 2000s you left a lot of money on the table by not being willing to move.
by geokon | 2025-09-10 03:32:22+00:00
You should read the linked article to the end (or maybe you did but missed it)

The problem as explained in what you linked:

> an object-oriented language wants you to orient your code along the rows of types. A functional language instead encourages you to lump each column’s worth of code together into a function.

The point was that the final protocol implementation in Clojure solves this. There is no more lumping. The whole thing is freeform. You can extend an existing record (say it's coming from a library or somewhere outside your control) and add interfaces. Or you can make a new record and implement all the existing interfaces
by brewdad | 2025-09-10 03:32:25+00:00
One approach I've seen, aside from zoning related laws, is to give ag land huge property tax breaks. Want to convert it to some other use? Expect a 90% increase in property taxes.

It's far from perfect since some large landowners run "hobby" farms to get the tax break while producing nothing of significance for the greater society. Other developers take the bet that they can get the land developed and sold before the biggest bills come due and it will be someone else's problem.
by mastazi | 2025-09-10 03:32:49+00:00
My memory is from around 1998-1999 when I did some research to buy my first phone. From memory, I think that at that point Ericsson was winning that race in the more affordable end of the market, with models that I remember being smaller than Nokia models from the same time, such as:

* https://www.gsmarena.com/ericsson_pf_768-108.php

* https://www.gsmarena.com/ericsson_t10s-115.php

* https://www.gsmarena.com/ericsson_gf_788e-110.php

And Motorola had the smallest/lightest phones at the premium end of the market, with the StarTAC line.

* https://www.gsmarena.com/ericsson_gf_788e-110.php

* https://www.gsmarena.com/motorola_startac_85-74.php

In the end I realised that size was not the most important factor for me so instead I got a Motorola 8700 [1] which I didn't enjoy using, then sold it shortly after to get a Nokia 5110 [2] which I liked very much.

[1] https://collection.sciencemuseumgroup.org.uk/objects/co80944...

[2] https://www.gsmarena.com/nokia_5110-7.php
by Spooky23 | 2025-09-10 03:33:17+00:00
They’ve shrunk the phone so much that the bump is the computer + optics, strapped to a screen and battery.

The Air and Pro are essentially the same with a different skin. It’s a big deal imo as the phone itself is practically modular. It’s pretty brilliant as they can make the computer part in China and Taiwan and probably ship that unit to various locales for different form factors.
by rayiner | 2025-09-10 03:33:32+00:00
That’s just because Americans are richer across the Board than Japanese. But would we expect PISA scores to track absolute income across different developed countries? I don’t think that follows. For example, Sweden’s median household income (PPP) is 2.6x higher than Poland’s. But the two countries had very similar scores on the 2018 PISA: http://hechingerreport.org/what-2018-pisa-international-rank...
by secabeen | 2025-09-10 03:33:37+00:00
> Then once you capture the image, it's largely stuck on the device until you find a way to offload your images. I briefly experimented with cables that would let me do things like transfer images from the RX100 to my (Android at the time) mobile phone, for archiving and sending to family and friends. That turned the whole thing into the sort of science fair project that I didn't have time for as the parent of a very young child. (Although in fairness, I can't think of a single time in my life when I'd have had the patience, kids or not.)

Most modern cameras now have a WiFi-based photo transfer system that works pretty well. It's not instantaneous, but it is quick enough to copy the photo you want to share with a friend or partner while you finish a meal or drink your coffee.
by bytesandbits | 2025-09-10 03:34:28+00:00
its a low level protocol like WiFi on top of which Smart Home protocols, like Matter, run. It allows for IoT devices to be managed, registered and configured completely local with a hub (any iPad, HomePod and so on) and requires no servers. It is private by design and more secure in some ways, as no one but your hub can control the device. Currently a lot of IoT devices rely on a server that registers and controls them, and is in the hands of a random company you need to trust.

TLDR: privacy, security.
by dbg31415 | 2025-09-10 03:34:54+00:00
I'm genuinely bummed that Apple killed the Plus iPhone.

For years, it was the perfect sweet spot -- bigger screen and bigger battery without the Pro price tag. It was especially great for elderly users: easier to read, easier to hold, and they didn't have to pay $1,000+ just to get a phone they could actually see and use.

The jump from the base model to the Plus was usually just $100, but you got a noticeably larger display and often better battery life -- the kind of practical upgrade most people actually cared about.

Now, if you want a larger screen without breaking the bank... well, you can't. Apple's lineup basically forces you into the Pro models, which feels like a loss for accessibility and for people who just want "big and simple."

I wish they'd kept the Plus around. It wasn't flashy, but it served a real audience.
by runako | 2025-09-10 03:35:17+00:00
Those are big percentages of export. You also raise the point that there are other categories of domestic use that also are not food (distillation, biofuels).

But again, we're not necessarily talking about farms literally closing. This is mostly about which rich person gets to operate a given plot of land. If a farmer goes under and sells to another farmer, at the margin why should we care? I still have yet to see a good answer as to why we should care which millionaire operates these farms.
by bluishgreen | 2025-09-10 03:35:26+00:00
There are two kinds of bugs: the rare, tricky race conditions and the everyday “oh shucks” ones. The rare ones show up maybe 1% of the time—they demand a debugger, careful tracing, and detective work. The “oh shucks” kind where I am half sure what it is when I see the shape of the exception message from across the room - that is all the rest of the time. A simple print statement usually does the trick for this kind.

Leave us be. We know what we’re doing.
by vayup | 2025-09-10 03:35:43+00:00
In theory, it is a 1/15 chance of successful attack. Which is a terribly low success rate of attack prevention.

In practice, it is 15/16 chance of detection of the exploit attempt. Which is an extraordinarily high rate of detection, which will lead to a fix by Apple.

Net net, huge win. But I agree they come across as overstating the prevention aspect.
by dang | 2025-09-10 03:35:53+00:00
If you keep breaking the site guidelines we will ban you. We've warned you many times, including recently: https://news.ycombinator.com/item?id=44271716.

I don't want to ban you, because you've also posted good things, but we primarily have to moderate based on the bad things people post, and we can't have people attacking others like this.

If you'd please review https://news.ycombinator.com/newsguidelines.html and fix this (properly), we'd appreciate it.
by KPGv2 | 2025-09-10 03:36:56+00:00
yeah but you get home at 4, watch an hour of anime, it's 5pm, you do homework for half an hour, then you have dinner with family until about 7, then you have about an hour of getting ready for bed/chores and that gets you to 8pm. At most you have one more hour of studying. So 90 minutes of education-related stuff at home a day in your ideal past where kids "only" spent an hour on TV.
by truetraveller | 2025-09-10 03:37:07+00:00
The first thing I always do is define log. It's bonkers to use console.log() for js. a simple window.log=console.log.

Secondly, in your example, no need to label the names. This is almost always understood by context. So, pretty manageable. e.g. in JS: log(`${longvarname}, ${secondvarname}`)
by rus20376 | 2025-09-10 03:37:07+00:00
I know I risk getting down voted to oblivion, but I truly do not understand this sentiment. There are plenty of places I cannot afford to live, so I live somewhere I can afford. Every time I hear about a "housing crisis" all I see are people demanding government mandated development in some fancy place (Manhattan! San Francisco!) that is out of touch price wise for almost every human being on Earth.

This idea that people are demanding Palo Alto or some other high end desirable community to build them a place to live makes no sense. I understand some community they can afford like Fresno or somewhere may be less desirable, i.e. fewer millionaires as your neighbors, but if that's what you can afford then that's where you go, right?

If someone wants to explain why a high end and highly sought after community needs to use the power of the government to force development for anybody at all please do let me know. Explain it like I am five. Also include in your answer why just living somewhere affordable is no longer an option, seeing as that is what seemingly everyone else so far in human history has done. In fact, it wasn't all that long ago that Palo Alto itself was just some undesirable hayfields. Every place you don't want to live is just a few decades away from being someone else's coveted dream home.
by 0xDEAFBEAD | 2025-09-10 03:37:28+00:00
The simplest approach to whitelisting libraries won't work, since the malicious color parser can just call the whitelisted library.

A different idea: Special stack frames such that while that frame is on the stack, certain syscalls are prohibited. These "sandbox frames" could be enabled by default for most library calls, or even used by developers to handle untrusted user input.
by ocdtrekkie | 2025-09-10 03:37:44+00:00
I think it depends on the task. If I need to figure out a problem someone is having, being present, seeing them work, talking face to face, huge help.

When I have some engineering work to do where I know all the requirements and need to be left alone, staying home is a productivity win.

There's value in the flexibility but employers often do not trust their employees to make the best decision for the organization.
by ronsor | 2025-09-10 03:39:07+00:00
I dislike people all bunching up into cities (we have plenty of free space), but consider that there are many jobs in places like SF, even low-paying ones, that the richer residents do want filled. You're not getting a barista to commute 2 hours because the only alternative is living with 6 roommates. It's not going to happen. So, do you still want your coffee?