MurphyA/hacker-news huggingface dataset:
by WinstonSmith84 | 2025-07-03 06:42:44+00:00
"kinda unreal" and still real - that's what's wrong with European countries in general. It's a lifestyle Europeans have chosen where you don't need to work a lot, everything is paid for you but don't expect to get rich either. This is a mentality deeply ingrained in people where there is little incentive to work. If you've ever been to Spain, you will have certainly noticed these graffitis "tourists go home" a bit everywhere, whether in Valencia, Sevilla, Barcelona or other touristic cities. That's really interesting to see, you've a lot of people there who just don't get it that a lot of the economy is based on tourism.

Anyway, ambitious entrepreneurs don't start business in Spain, they emigrate to countries with low tax rate where the chances are much higher that they won't go bankrupt after a year, and it's a vicious circle. Of course, the reaction now is that there are populists in Spain and elsewhere trying to dictate to other countries what their "wealthy" people shall pay in taxes :-)

Despite all the flaws of the US, let alone the ones of the current administration, keeping the economy competitive is the one thing that all US administrations have understood correctly, whether Dems or Reps or MAGA
by retrac | 2025-07-03 06:43:56+00:00
Different history of colonization policy in Quebec and Ontario. Colonization in Ontario was shut down in the 1930s during the Great Depression. In Quebec, formal colonization was more tightly integrated with the Church, had more institutional support, and officially continued until 1973. There were still government-backed homesteading projects in the 1960s in Quebec. Also, on the Ontario side in the early 20th century there was no road/rail connection except via Quebec. Which meant that development in the region was tied more to Quebec than southern Ontario. And Ontario had little reason to support that. So it remained government land on the Ontario side. Or at least that's how I understand it.
by sokoloff | 2025-07-03 06:44:23+00:00
Getting kids aware of and interested in a topic is an important step. I mentor a high school robotics team, not because I have an illusion that those students could skip college and walk into a robotics design job, but because it gets them exposed to mechanics, engineering, programming, experimentation, working in a team, competing against nature and other teams, etc. Ultimately, I think it helps them refine their framework for “what do I like [or dislike] doing?”
by suzzer99 | 2025-07-03 06:44:50+00:00
Andry José Hernández Romero, the gay hairdresser whose only crime seems to be having the wrong tattoos, is still stuck in CECOT. His lawyers haven't been able to contact him. No one's sure if he's alive. https://www.advocate.com/news/andry-romero-family-worried-ce...

It's important to note that he made an appointment to seek asylum, then crossed the border when it was time for his appointment. He was granted asylum for credible fear. At no point did he break any US laws as far as anyone knows.
by perlgeek | 2025-07-03 06:44:55+00:00
I really like my lists to be deterministic.

Seriously, I've read things about lists and nondeterminism a few times in this thread, and I can't help but wonder if "you guys" (functional programming nerds, maybe?) use the word "nondeterministic" different than the rest of the world?

If not, I'd love a good explanation about what makes lists non-deterministic, and why we would want that, and why they seem to be perfectly deterministic in imperative programming languages.
by layer8 | 2025-07-03 06:46:44+00:00
My comment was about the reverse, using function syntax for methods.

Furthermore, I don’t think it necessarily makes sense for all functions that happen to take, say, a string as their first argument, to be listed in the code completion for method invocation on a string variable.

If you merely want to define auxiliary methods outside of a class, which is the thing the GP seems to like, that’s what’s usually called “extension methods”. It doesn’t require uniform call syntax.
by Doxin | 2025-07-03 06:46:46+00:00
Honestly the main reason UFCS is good is when you don't "own" the type your function would need to be a member of. Most common one I run into is the "to" function from the stdlib. You can do this:

import std.conv; int foo=3; string bar = foo.to!string

But now lets say you want to convert ints to MyCustomInts? You can hardly attach a new "to" member to int, but with UFCS it's easy. Just declare a to function anywhere in scope:

MyCustomInt to(T)(T v) if(is(T==int)){ return MyCustomInt.from_int_value(v) // or however you actually do the conversion }

and it'll magically work:

int foo=3; MyCustomInt bar = foo.to!MyCustomInt;
by dontTREATonme | 2025-07-03 06:48:26+00:00
My first experience with passkeys was eBay. They implemented them 3-4 years ago, and my password manager, Dashlane picked up on it. They offered to save it and I wouldn’t have to enter a username or password. Great, seemed to work. Until I needed to login on another device and then Dashlane saved that passkey too, but each passkey was tied to the specific device… only it wasn’t clear when I logged in which passkey I should choose, and chose the wrong one and it doesn’t work. After having like 6 different passkeys for eBay I gave up. Now I always decline to use passkeys. They don’t work, idk who uses them but as a fairly tech savvy user, without a very complex setup (chrome, with Dashlane installed) if it’s not working for me it’s probably just not working.

I’ll also add. I don’t have a good mental model for what a passkey is or how it works. And again, like most users if I don’t really understand what’s going on I’m just not gonna bother with it. For all the complexity that it takes to implement secure login with a username and password, most of it is hidden from the user, with passkeys it feels like they’re shoving all the complexity front and center, but not explaining any of it.
by mnsc | 2025-07-03 06:50:12+00:00
This is my fear when I think about doing actual in a team using a functional language. That there's an imbalance in understanding between participants in a team making all discussions about problem x into the pattern matchning problem y. Like "is this liftM2 or liftA2?"

I've only had a couple of months of experience working with scala before the team switched to Java. The reasons were many but one of them was that the external consultant that was most knowledgeable in "thinking with functions" was kind of a dick. Making onboarding into a horror show of "go look up yt video x before I can talk about this functionality" with a condescending tone. So within a month he was let go and then no one in the remaining team really had the courage to keep debe it further. Some thought that they maybe could maintain the current functionality but the solution was only like half complete. (in the consultant mind it was complete because it was so generic you only needed to add a couple of lines in the right place to implement each coming feature)

That said, I would love to work in a hardcore Haskell project with a real team, one with a couple of other "regular" coders that just help each other out when solving the actual problems at hand.
by kingstnap | 2025-07-03 06:50:50+00:00
The math isn't that bad if anyone wants to do it properly.

Assume y vertical and x horizontal and z out of the page.

The moon is a disk. x^2 + y^2 <= R^2

For all the points, calculate z = sqrt(R^2 - y^2 - x^2)

Let the vector v(theta) = <sin(theta), 0, cos(theta)> point to the Sun.

Points <x,y,z> • v(theta) >= 0 should be bright, The rest dim.
by ggm | 2025-07-03 06:50:54+00:00
Not OP but.. The ptolemaic Pharaohs (Cleopatra..) and after are not related to the dynastic cultures which made the pyramids. They were greeks. Subsequent occupation by post Roman cultures including the Byzantine, and Islamic Arabic tribes, and the Ottomans, means the culture and genetics of modern Egypt have little to do with pyramids and pre-roman era mummies and culture/religion/beliefs.

Waves of occupation over 2000 years eroded any cultural link.

What I read suggests the Berbers have some historical relationship and the Bedouin less. Nasser was an arabist, as were the young egypt political movement of the 19th century.

It's like asking why modern British people aren't strongly identifying with pictish culture or beaker people.

The Egyptian archaeologists assert nationalism and cultural goals and have to deal with Islamic fundamentalists who push back on pre Islamic religious artefacts. Saudi archaeologists have similar pressures.
by lsy | 2025-07-03 06:51:33+00:00
To make this more concrete: ImageNet enabled computer "vision" by providing images + labels, enabling the computer to take an image and spit out a label. LLM training sets enable text completion by providing text + completions, enabling the computer to take a piece of text and spit out its completion. Learning how the physical world works (not just kind of works a la videogames, actually works) is not only about a jillion times more complicated, there is really only one usable dataset: the world itself, which cannot be compacted or fed into a computer at high speed.

"Spatial awareness" itself is kind of a simplification: the idea that you can be aware of space or 3d objects' behavior without the social context of what an "object" is or how it relates to your own physical existence. Like you could have two essentially identical objects but they are not interchangeable (original Declaration of Independence vs a copy, etc). And many many other borderline-philosophical questions about when an object becomes two, etc.
by sokoloff | 2025-07-03 06:52:45+00:00
When a consumer is buying labor embodied in a product, they don’t care whether that labor are unionized or what their wage per hour/day is.

They do care what the wage per unit produced is, which is why we see a lot of US manufacturing moving towards higher levels of automation to let the embodied labor per finished unit be lower and thus competitive in the market.
by eesmith | 2025-07-03 06:53:05+00:00
This object is near the solar system's orbital plane - far closer than Halley's comet, for example.

People have searched off the orbital plane for a long time, if only to find new comets.

This object was found by ATLAS, the Asteroid Terrestrial-impact Last Alert System. The project goal is to identify near-earth asteroids, evaluate the risk they might impact the Earth, and alert others if impact is predicted.

The project started in 2015, two years before ʻOumuamua. It was not made specifically to find interstellar objects transiting the solar system.
by motorest | 2025-07-03 06:53:38+00:00
> This one doesn’t require an app service plan.

It requires a plan. You need to know what a plan is and what plan your azure functions are running on. Is it a consumption plan? Or is it a flex consumption plan?

I mean, you can run multiple function apps on the same plan. As a developer, you are required to know which plan a particular function app is running on, and be aware of the implications.

You see how brain dead it is?
by mindcrime | 2025-07-03 06:54:12+00:00
> became highly developed over two decades but is not in the public literature.

Developed by who? And for what purpose? Are we talking about overlap with stuff like missile guidance systems or targeting control systems or something, and kept confidential by the military-industrial complex? I'm having a hard time seeing many other scenarios that would explain a large body of people doing research in this area and then not publishing anything.

> I can’t identify anyone on the team that is an expert in a relevant area of computer science theory

Who is an expert on this theory then?
by pllbnk | 2025-07-03 06:54:35+00:00
I think you are highlighting the truly important bit here - that megacorporations are economy's cancer. I am on the side that work is work, there should be no emotional connection, except for the personal relationships. It is fine that companies hire when they need resources and fire when they don't. However, a small company might lay off 10 people and they will quickly disperse in the available work pool. However, laying off 30k people at once does serious damage to the market and the prospects of those laid off people.
Show HN: Nudge – AI for macOS that detects procrastination via screenshots
by felipap | 2025-07-03 06:55:10+00:00
Hey HN!

Nudge captures your screen every minute and uses GPT-4o to detect when you're distracted. Describe what you want to work on ("Review PRs on GitHub for 20min") and Nudge will alert when it sees you doing something else.

I built Nudge because I get easily distracted at work. I've been using it for a few weeks and I'd say my procrastination is down 20-30%. (That's partly because Nudge forces me to break my day into small, concrete activities.)

The AI detection can work perfectly but it depends on how clearly you describe your goal. For example, "I want to reply to my boss" is bad, but "I want to write a reply on Gmail" is good. It definitely helps to have some intuition of how LLMs behave. (Check out the system prompt here: https://github.com/felipap/nudge/blob/main/src/lib/ai/assess...)

Screenshots are very sensitive data so I decided to make this open-source and BYOM ("bring your own model"). Today you need to provide your own OpenAI API Key. I realize not everybody has one and it would be great to support other AI backends soon.

I'm excited to share this project and would love feedback on how well it works (both AI accuracy and user experience). Thanks for reading!
by apparent | 2025-07-03 06:55:18+00:00
I'm just going based off of what type of devices I see people using. The wealthy people I know who are not devs generally have iPhones. The people I see working in positions that may not require legal status seem to be much more on the Android side of things. Back in 2010, low-income people did not have smartphones, period. I'd be curious if there's any data available on current trends.
by dataflow | 2025-07-03 06:56:28+00:00
I almost mentioned Go as another example of what it doesn't substitute for, but decided to cut off the list. But no, I don't think it fits that niche either. Go has a lot of features D doesn't have. Just off the top of my head: it's very simple, it doesn't have pointer arithmetic (yes, that's a feature here), it performs escape analysis to automatically extend the lifetime of objects that escape the stack frame, etc.
by Micanthus | 2025-07-03 06:56:32+00:00
I completely understand sending a note taker to a bloated meeting where no participation is really expected of you anyways, but the anecdotes about AIs being sent to small meetings (even a 2 person interview the reporter scheduled for this very article!) in your stead is crazy.

Personally I don't mind a meeting that's either:

1) Informal, and short with up to 3ish close coworkers (as long as it doesn't start by someone sending the dreaded "hey, can you jump on a call?" message with no other context)

2) Published agenda well ahead of time, only relevant people are invited, some level of participation is required from all attendees, people are actually paying attention, and maybe most critically it's _well facilated_. Nothing more draining than meeting going off-topic and over-time because the facilitator doesn't feel comfortable telling that one guy to shut up.
by devjab | 2025-07-03 06:57:32+00:00
I think you raise a good question, but Python doesn't have a traditional for loop. To do it in one loop, you'd either have to simulate a traditional for loop with something like range, or you'd have to build a c/zig/rust lib and use it with cffi (or whatever rust uses that I forgot what was named). Or you're going to do it the "pythonic" way and write two loops, probably with a generator. As far as micro optimisation I'd argue that it depends on what you want. Speed or stable memory consumption? The single loop will be faster (for the most part) but the flip side is that there is a limit on how big of a data set it can handle.

It's all theoretical though. On real world data sets that aren't small I don't see why you wouldn't hand these tasks off to C/Zig/Rust unless you're only running them once or twice.
by Animats | 2025-07-03 06:58:42+00:00
> To add to this, Tesla has had barely any battery progress on range and charge rate since 2018.

A real concern is that no US battery manufacturer is working on manufacturing solid state batteries at scale. There are a few small US startups, but companies in China, Taiwan, Japan, and South Korea are spending many billions of dollars on this. Prologium now claims to have shipped 2.4 million units (cells, probably) from their first manufacturing facility. That's not a huge number of cells, but a year ago there were just lab samples. Mercedes is testing these and has some cars driving around with them. About 2x the energy density of lithium-ion batteries, reportedly. Safer, and 5 minute charging if you can find a powerful enough charger.

Tesla isn't even rumored to be doing anything in this space.

(While there's a lot of talk about Mercedes' 670 miles on a charge, what's probably going to sell are cars that have maybe 300 miles of range, are cheaper and weigh less. With 5 minute charging, there's less reason to lug a huge battery around.)

[1] https://finance.yahoo.com/news/prologium-next-generation-lit...
by zkmon | 2025-07-03 06:59:33+00:00
It's not just the grunt work going to AI. Actually it is the opposite. Grunt work of dealing with mess is the only thing that is left for humans. Think of legacy systems, archaic processes, meaningless workflows, dealing with other teams and people, politics of work, negotiations, team calls, history of technical issues... AI is a new recruit that has massive general abilities, but has no clue about the dingy layers of the corporate mess.
Show HN: MALLM – A Multi-Agent Framework for Task Solving
by jpwahle | 2025-07-03 06:59:50+00:00
We built MALLM because existing multi-agent-debate (MAD) toolkits often do not give full control of all parts of a multi-agent discussion. MALLM lets you mix and match every moving part:

1. Personas (expert / personality / …)

2. Response generators (critical / reasoning styles / …)

3. Discussion paradigms (memory / relay / …)

4. Decision protocols (voting / consensus / …)

We got 144+ configurations out of the box, all defined in one YAML file. Need more? Sub-class and drop your own component in.

You can also use any text-based HuggingFace dataset (we’ve tested on MMLU-Pro, WinoGrande, …); we have built-in evaluation pipelines so you can A/B test strategies without writing extra scripts, and it is easily customizable (pure Python) and Apache 2.0-licensed.

Repo: https://github.com/Multi-Agent-LLMs/mallm

Demo: https://mallm.gipplab.org/
by sjrd | 2025-07-03 07:00:13+00:00
The level of abstraction of programming languages has been growing, yes. However, new languages have preserved precision and predictability. I would even argue that as we went up the abstraction ladder, we have increasingly improved the precision of the semantics of our languages. LLMs don't do that at all. They completely destroy determinism as a core design. Because of that, I really don't think LLMs will be the future of programming languages.
Show HN: Thoth, a Developer Typing Platform
by nikoladinevski | 2025-07-03 07:01:10+00:00
Hey HN! I’m Nikola, and I’m excited to share something I’ve been building: Thoth, a platform designed to help developers improve their typing speed and accuracy with real code snippets. Including daily challenges, ranked mode, global leaderboards and lots of customizability.

Whether you're a beginner learning your first language or an experienced coder aiming to stay sharp, Thoth is here to help. If you’re like me, you spend hours coding every day, and typing quickly and accurately makes a huge difference. But the existing typing tools didn’t feel like they were tailored for developers, so I decided to make one that was. Thoth uses real code snippets and makes typing practice feel just like real coding.

Practice with real code from 9+ languages like JS, Python, Java, Go, TypeScript, and more. Compete globally with daily challenges and see where you rank on the leaderboards. Monitor your improvement in real-time, get detailed feedback on speed, accuracy, and see your stats evolve over time. Thoth is 100% free, no paywalls, just a passion project built by me, Nikola, to help you become a faster coder!

You can get started here: https://thoth.rocks

Thanks for checking it out, and I’d love to hear your thoughts and feedback!

Happy typing!
by asielen | 2025-07-03 07:02:43+00:00
I don't trust most CEOs perspectives on AI at all, they are far too removed from the actual work to know what AI can and can't do.

When I hear a CEO say this, what I hear is that they are going to use AI as an excuse to do massive layoffs to juice stock price and then cash out before the house of cards comes tumbling down. Every public company CEOs dream. The GE model in the age of AI.

Will AI drastically reshape industries and careers? Absolutely. Do currently CEOs understand or even care how (outside of making them richer in the next few quarters)? No.

CEOs are just marketing to investors with ridiculous claims because their products have stagnated. (See Benioffs recent claim that 50% of work at Salesforce is AI. Maybe that is why it sucks so much)
by sokoloff | 2025-07-03 07:02:50+00:00
I interned at Daimler-Benz and assembly line workers had company-employed drink trolleys which would take your order early in the shift for what partially subsidized drinks/snacks you wanted delivered for your breaks during your shift. A tone would sound in the factory and workers would converge on the break area near them and pick up what they’d ordered earlier that day. On the menu was beer and plenty of workers would have multiple beers over the course of their shift.

These weren’t what you picture when someone says “perpetually drunk and homeless”, but I think a lot of Mercedes were assembled by workers with a perpetual low-level of alcohol on-board.
by mzl | 2025-07-03 07:03:40+00:00
LLMs can be run in a mostly deterministic mode (see https://docs.pytorch.org/docs/stable/notes/randomness.html for some info on running PyTorch programs).

Varying the deployment type (chip model, number of chips, batch size, ...) can also change the output due to rounding errors. See https://arxiv.org/abs/2506.09501 for some details on that.
by aredox | 2025-07-03 07:04:26+00:00
Just read the timeline and you see incompetence and lies all the way.

https://edition.cnn.com/2016/03/04/us/flint-water-crisis-fas...

>The lead pipes weren’t illegal and pipes being lead weren’t hidden from the public.

Lead levels above 5000 ppm makes water "hazardous waste". The lead levels reached 3 times that.

Emergency manager Jerry Ambrose overruled the coucil because of costs. His defense so far has been to plead the fifth:say nothing, answer nothing.

The charges against him were later dismissed due to a procedural error.