MurphyA/hacker-news huggingface dataset:
by brookst | 2025-07-30 02:29:12+00:00
The EU did not force the matter. They trotted out in front of the parade and pretended to lead it.

Apple switched a year before required, and not coincidentally, ten years after promising that Lightning would be the connector “for the next decade” so as to reduce fears from those who were angry about being “forced” to replace their 30-pin peripherals.

I don’t know why tech enthusiasts tend toward conspiratorial thinking, but certainly if Apple had obsoleted Lightning after only 8 years, many of these same people would be professing outrage and demanding class action lawsuits over such a greedy deceit.
by JKCalhoun | 2025-07-30 02:29:18+00:00
Yeah, for me, analog is the exciting domain — my undiscovered country. I have played with vacuum tubes as well and thoroughly enjoyed it.

Transistors were, for some reason, seemingly unknowable to me. But I made a kind of "transistor playground" [1] based around Forrest Mims III book [2] and then enjoyed playing with them.

[1] https://imgur.com/a/dChq4AZ

[2] https://archive.org/details/forrest-mims-basic-semiconductor...

Edit: actually, I had forgotten it was a transistor logic playground for I made for creating logic gates with transistors. Based on another Forrest Mims book: https://archive.org/details/engineersmininot00mims
by AdieuToLogic | 2025-07-30 02:30:41+00:00
From the post:

I knew that new Date('YYYY-MM-DD') sets the time to midnight. What I didn’t know was that it sets it to midnight in UTC.

This is all the Date constructor could do in this use-case. There is no timezone specified and assuming one other than UTC could easily result in undefined behavior.

I think a better "lesson learned" in this case is to remove all ambiguity from datetime types by internally using only UTC representations for calculations and reserve timezone usage for display purposes.
by ethan1990 | 2025-07-30 02:30:44+00:00
I can’t really speak to the DNS blocking approach you mentioned, but as a regular user in the Trae community, I do want to clarify one thing:

The Discord timeout occurred because anti-ads automod was triggered by crypto-related keywords. I saw the community moderator already explained.

I hope you can know the truth rather than be misled.
by btown | 2025-07-30 02:31:14+00:00
> treating URL parameters as your single source of truth... a URL like /?status=active&sortField=price&sortDir=desc&page=2 tells you everything about the current view

Hard disagree that there can be a single source of truth. There are (at least) 3 levels of state for parameter control, and I don't like when libraries think they can gloss over the differences or remove this nuance from the developer:

- The "in-progress" state of the UI widgets that someone is editing (from radio buttons to characters typed in a search box)

- The "committed" state that indicates the snapshot of those parameters that is actively desired to be loaded from the server; this may be debounced, or triggered by a Search button

- The "loaded" state that indicates what was most recently loaded from the server, and which (most likely) drives the data visualized in the non-parameter-controlling parts of the UI

What if someone types in a search bar but then hits "next page" - do we forget what they typed? What happens if you've just committed changes to your parameters, but data subsequently loaded from a prior commit? Do changes fire in sequence? Should they cancel prior requests or ignore their results? What happens if someone clicks a back button while requests are inflight, or while someone's typed uncommitted values into a pre-committed search bar? How do you visualize the loaded parameters as distinct from the in-progress parameters? What if some queries take orders of magnitude longer than others, and you want to provide guidance about this?

All of those questions and more will vary between applications. One size does not fit all.

If this comment resonates with you, choose and advocate for tooling that gives you the expressivity you feel in your gut that you'll need. Especially in a world of LLMs, terse syntax and implicit state management may not be worth losing that expressivity.
by AtlasBarfed | 2025-07-30 02:32:15+00:00
Why would I want to give my credit card to a company to access my files behind a CGNAT? So AWS can decide to charge me $10,000 someday arbitrarily? So my servers get summarily yanked with no transparency?

Tailscale: I don't want to install a corporation's client.

Yggdrisil: "The current implementation of Yggdrasil is a lightweight userspace software router which is easy to configure and supported on a wide range of platforms. It provides end-to-end encrypted IPv6 routing between all network participants." Yeah, not what I need and too-much-access.
by mullingitover | 2025-07-30 02:32:30+00:00
If we’re going to berate mobile phone cameras I’d like to offer my take as someone who uses off camera lighting: it’s bullshit that we still don’t have any way of doing flash sync. I want to be able to control my Godox three point lighting system. I can trigger it with my Canon P that was made in the 1950s (which has no electronics whatsoever!), but not my iPhone that’s over 60 years newer.
by gnabgib | 2025-07-30 02:34:39+00:00
Related:

Why are 2025/05/28 and 2025-05-28 different days in JavaScript? (144 points, 2 months ago, 153 comments) https://news.ycombinator.com/item?id=44113397

New Date("wtf") – How well do you know JavaScript's Date class? (409 points, 18 days ago, 236 comments) https://news.ycombinator.com/item?id=44540241
by genewitch | 2025-07-30 02:35:22+00:00
to put this in perspective, and please, if you work for USGS or whatever, correct me if i am wrong: this is roughly the same magnitude of the 1994 Northridge earthquake in California.

i think i got the scale the wrong way around, the magnitudes reported now are only larger (than Richter) with smaller quakes compared to the Richter; it looks like 8.8ML ~= M8.8. Sorry, i looked at the chart the wrong way around.
by joules77 | 2025-07-30 02:35:44+00:00
As an oldie who has lived through multiple hype cycles - Don't take the "retire early" crowd seriously.

Over the decades, I have seen too many friends who have fallen for this story, 'hit their numbers' and loose their minds after 'retiring'. This is because the mind just unravels(unable to find meaning), if it doesn't have daily structure and purpose.

You are ready to retire, not just when you are financially independent but when you have settled into a pattern that is sustainable long term, of daily 'meaning formation'.

AI will create problems too. Anything that grows in complexity also generates more issues. Never less issues. Don't believe the hype. Tune it out. Focus on problems. Not tools.

Another thing I learnt is - Balance the work "has to feel good" story with whatever responsibilities you have or will have in life. So if people depend on you or will depend on you in future, don't make the decision purely on I want work to feel like play. It's easier to keep work and play separate than to try and merge them. Both are required though for 'meaning formation' but balance it out. So look for both in separate areas.

Try looking for work with teams that are multi-disciplinary. If you head back to Uni don't just roam the comp sci dept. Go look depts and ask them if they need you skills. This is where the most "fun" happens imho. But people head where the money is and end up doing a lot more boring stuff. Software is everywhere so you can get involved with whatever you want - chemistry, biology, astrophysics etc etc if you just go look. All the best!
Show HN: Gmap: A fast command-line tool to explore Git activity
by seeyebe | 2025-07-30 02:37:52+00:00
Hey folks,

I just released a new CLI tool called gmap, built in Rust, focused on exploring Git history visually and efficiently from your terminal.

Highlights: • Heatmap view: weekly commit activity with churn and delta stats • Filetype breakdown: see which file extensions are most active • Authorship insight: per-week top contributors • Timeline and trends: sparkline and stats over time • TUI mode (–tui): navigate interactively, search, filter, view stats • Export mode: get all Git stats as JSON for further processing

Install with:

cargo install gmap

Or check it out here: https://github.com/seeyebe/gmap

Let me know what you think. Feedback welcome!
by YZF | 2025-07-30 02:38:49+00:00
Israel has ordered civilians to leave northern gaza: https://www.bbc.com/news/articles/c299pl8j8w7o

Most of the combat is happening there as well.

Israel is operating three food distribution centers in the southern part of the strip but only one in the north.

"The IDF has been directing civilians towards the “expanded humanitarian area” in al-Mawasi, a narrow coastal strip of agricultural land that was first designated as a “humanitarian zone” in October.

The expanded zone now measures 60 sq km.

The IDF said the area includes “field hospitals, tents and increased amounts of food, water, medication and additional supplies”.

A satellite image captured on 8 May shows what appears to be a new field hospital which has been constructed in Deir al-Balah."

Clearly life in the "humanitarian zone" sucks. But a lot less than in northern Gaza. Despite the often repeated mantra that "nowhere is safe in Gaza" that designated humanitarian zone is significantly safer (and there's data that shows that).

The IDF is not laying siege to the entire strip. It's not even laying siege to Northern Gaza. It's air dropping food in northern Gaza (following pressure - but still). There are three food distribution centers in southern Gaza (and I think they've also seen less violence but I'm not sure). In the south there are armed Palestinian factions that are collaborating with Israel.

Anyways, I'm appointing you to the general in charge of the war from the Israeli side. Your goal is to return the hostage and defeat Hamas. I'm interested in what your plan looks like.
by HDThoreaun | 2025-07-30 02:39:10+00:00
Oct 7th wasnt justified because there was no way it could work. It was 100% doomed to make the lives worse for everyone in gaza. If it had a chance of working it would be justified. Alls fair in love and war after all, but just terrorism against an enemy as resolute as israel isnt war, its suicide. Palestine has every right to attack israel, their problem is that they cant.
by burnt-resistor | 2025-07-30 02:41:26+00:00
Over the past few years, I've been becoming increasingly concerned about a perfect storm between accelerationist racist death cult domestic terrorists flying under the radar will hack, disinform, and/or easily manipulate dumb, clueless, amoral leaders into causing a mass preventable tragedy.

For context, Scott Payne, a former UC FBI agent, tells a story of accelerationist crazies: https://youtu.be/yJAHJ8MTxDA
by F3nd0 | 2025-07-30 02:41:30+00:00
> Hamas advocates the liberation of all of Palestine but is ready to support the state on 1967 borders without recognising Israel or ceding any rights

In what way can this be read as 'honestly offering a two-state solution'? If one is not willing to recognise that there would be two (sovereign) states, it's not much of a two-state solution, is it?
by dgacmu | 2025-07-30 02:43:22+00:00
You actually can: The Puya PY32 ranges from about $0.08 on up (well, $0.15 if you only want to buy 5, but the cheapest one is $0.0959 in qty 200 and $0.0676 in qty 5000+). ARM Cortex m0 in a 10-pin ESSOP-10 surface mount package: https://lcsc.com/product-detail/Microcontrollers-MCU-MPU-SOC...

Kind of mind-blowing. 24mhz 32-bit computer for under a dime.

But you'll learn more about the analog-ish world and not need to deal with SMD if you go the 555 route. And it'll save you power vs the astable monovibrator with NPN transistors.
by haskellshill | 2025-07-30 02:43:36+00:00
This is a reply to an old comment https://news.ycombinator.com/item?id=44452679 (since I cannot reply in the original thread)

> Even assuming python's foreach loop in these cases get optimized down to a very bare for loop, the operations being performed are dominated by the looping logic itself, because the loop body is so simple.

> Each iteration of a for loop performs one index update and one termination comparison. For a simple body that is just an XOR, that's the difference between performing 5 operations (update, exit check, read array, XOR with value, XOR with index) per N elements in the one loop case versus 7 operations (update, exit, read array, XOR with value, then update, exit, XOR with index) in the two loop case. So we're looking at a 29% savings in operations.

> It gets worse if the looping structure does not optimize to a raw, most basic for loop and instead constructs some kind of lazy collection iterator generalized for all kinds of collections it could iterate over.

> The smaller the loop body, the higher the gains from optimizing the looping construct itself.

Let's test your claims

import random import time n = int(1e7) A = list(range(1,n+1)) random.shuffle(A) print("Removed:", A.pop()) t = time.time() result = 0 for idx,val in enumerate(A): result ^= idx+1 result ^= val result ^= n print("1-loop:", time.time() - t) print("Missing:", result) t = time.time() result = 0 for value in range(1, n + 1): result ^= value for value in A: result ^= value print("2-loop:", time.time() - t) print("Missing:", result)

A sample run gives:

Removed: 2878763 1-loop: 1.4764018058776855 Missing: 2878763 2-loop: 1.1730067729949951 Missing: 2878763

And after swapping the order of the code blocks just to ensure there's nothing strange going on:

Removed: 3217501 2-loop: 1.200080156326294 Missing: 3217501 1-loop: 1.5053350925445557 Missing: 3217501

So indeed we have about a 20% speedup, only in the complete opposite direction that you claimed we'd have. Perhaps it's best not to assume when talking about performance.
by jeswin | 2025-07-30 02:43:46+00:00
What has changed is the last four years is that Chinese and Korean lens makers have caught up in a big way, and are now producing excellent optics at a fraction of the price with AF and weather sealing (as of now, primes only). For example, the Viltrox Lab and Pro series, or the Samyang 135/1.8. The other Chinese manufacturers are a cut below.

Also, Sigma and Tamron (both Japanese) are putting out more higher quality lenses compared to a decade back. With optical quality rivaling Sony's own G Master series and the Zeissen.
by Bruce001122 | 2025-07-30 02:44:10+00:00
I used this to monitor my son to see if he was going anywhere before or after school as I just wanted to make sure he wasn't going anywhere I disapproved of. I was able to do this quite easily using the ('zattechhacker at g ma i l c om') and I was quite impressed with the accuracy of the locations. I went to the locations and saw who he was with and where he was going.
by btown | 2025-07-30 02:44:13+00:00
How are you balancing accuracy vs. time-to-word-on-live-transcript? Is this something you're actively balancing, or can allow an end user to tune?

I find myself often using otter.ai - because while it's inferior to Whisper in many ways, and anything but on-device, it's able to show words on the live transcript with minimal delay, rather than waiting for a moment of silence or for a multi-second buffer to fill. That's vital if I'm using my live transcription both to drive async summarization/notes and for my operational use in the same call, to let me speed-read to catch up to a question that was just posed to me while I was multitasking (or doing research for a prior question!)

It sometimes boggles me that we consider the latency of keypress-to-character-on-screen to be sacrosanct, but are fine with waiting for a phrase or paragraph or even an entire conversation to be complete before visualizing its transcription. Being able to control this would be incredible.
by DimmieMan | 2025-07-30 02:44:27+00:00
Don’t get me wrong, I never meant it was easy to solve, just that things could be better if search parameters didn’t somehow become this niche legacy thing with minimal appetite to fix.

Thanks for the point on RSC, probably the first argument I’ve heard that helps me contextualise why this extreme paradigm shift and tooling complexity is being pushed as the default.
by brookst | 2025-07-30 02:45:51+00:00
I don’t think this is correct? GP is talking about the indentations on the side of the male lightning connector, which get gripped from the side by the device. I don’t think the center tab on USB-C has those same features, nor do the cables have the grippy things.

I’d welcome correction. Certainly if those features are there they don’t feel the same. Lightning has a very satisfying snick.
by refactor_master | 2025-07-30 02:45:54+00:00
That's because the other mangas forgot to adjust by +/- some 1000 km for location, 25 days, 365 days, 1825 days, or some other arbitrary but possibly nicely divisible number, for when and where it strikes.

You also have to conveniently forget the things that don't sell mangas such as annual typhoons, heatwaves, and of course thousands of premature deaths from man-made causes such as pollution and poor lifestyle.

Otherwise, if predicting disasters was easy, everybody would be doing it. No, it takes special, paper-based skills such as mangas , tarot cards, weekly horoscopes, etc.
Ask HN: With AI written resumes, what are the new hiring signals?
by plentysun | 2025-07-30 02:46:00+00:00
AI tools are getting incredibly good at generating perfectly polished, keyword optimized resumes. As the traditional signals get diluted, it's becoming harder to see the real person behind the document.

I'm curious what hiring managers are now looking for to cut through the noise. What are the genuine, harder-to-fake signs of a great engineer? Is it the quality of their GitHub READMEs, the questions they ask in an interview, a personal blog, or something else entirely?
by hinkley | 2025-07-30 02:46:11+00:00
There are old vehicle designs were the grill causes the pedestrian to rotate 90° into the windshield. Your assertion of how collisions work is predicated on changes to hood and front design that already account for pedestrian collision physics. But you’re implying this has always been the case and it has not.

This is, for instance, a big part of why the Mini Cooper is no longer mini. They had to lift the hood profile to reduce angular momentum.

Also why the forward raked grill designs of the seventies are gone never to return. Those suck pedestrians under the car, which is almost always fatal.
by TheTaytay | 2025-07-30 02:46:14+00:00
Thanks for this - I’ve spent the last hour reading your docs and blog. I like the primitives you’ve exposed in your APO, and particularly like the decision to separate out the structured inputs from the prompt when you record an LLM call, so I can finally perform optimizations and evals on past calls.

Quick question : you mentioned unsloth in the blog post. Which of the fine tuning providers mentioned is using unsloth under the hood?
by Espressosaurus | 2025-07-30 02:46:52+00:00
Usually it's "FOV equivalent", e.g. scaled to a full frame sensor size. Tiny sensor size means you maybe have a 10mm focal length, but the size of the sensor relative to 10mm makes it the FOV of a 70mm lens on a full frame camera.

You see similar when people are comparing APS-C, micro 4/3, or medium format lenses.
by marc_abonce | 2025-07-30 02:48:16+00:00
I know that the article is a joke, but the last one is (or was?) actually used by Facebook as a forced mfa when it suspected a correct login to be "suspicious".

Of course, it's also a way to force users to tag their contact's photos and train Facebook's face detector by holding your account hostage until you comply, similar to those CAPTCHA street view challenges.

Besides, it only works if the attacker is a stranger, if it's an acquaintance (or a very dedicated stalker) then it doesn't work so well anymore.
by dangus | 2025-07-30 02:50:25+00:00
I think you need a pretty good amount of willful naivety to think that Apple didn’t make the switch with such coincidental timing to EU law changes purely out of the love of their customers.

Let’s not forget the very same year they stopped including the charging brick they started including USB-C to lightning cables in the box, so that their supposedly environmentally friendly practice forced their users to buy a new brick unless they saved previous cables. Why didn’t they switch to USB-C back then? To make users do another transition a few short years later?

They’re aren’t exactly a company with a track record of maintaining standards for the convenience and backward compatibility for their customers. This idea that they kept lightning around to maintain legacy standards doesn’t really track with the rest of their behavior.

They have a 20+ year old reputation for abruptly dropping and replacing ports.
by saurik | 2025-07-30 02:51:32+00:00
But since these things are more like humans than computers, to build these autonomous systems you are going to have think in terms of full industrial engineering, not just software engineering: pretend you are dealing with a surprisingly bright and yet ever distracted employee who doesn't really care about their job and ensure that they are able to provide the structure you place them in value without danger to your process, instead of trying to pretend like the LLM is some kind of component which has any hope of ever having the kind of reliability of a piece of software. Organizations of humans can do amazing things, despite being extremely flawed beings, and figuring out how to use these LLMs to accomplish similar things is going to involve more of the skills of a manager than a developer.
by jaysonelliot | 2025-07-30 02:51:49+00:00
That's a very insightful take. I think an LLM would have some role in a good text adventure game, in terms of being able to understand any natural language input and respond intelligently. But as you point out, it would need to do so within strict constraints set by the game designer.

I haven't played with the most state of the art parsers that are available right now, so I wonder how large the gap is between a great parser and using an LLM to process user input.
by jauntywundrkind | 2025-07-30 02:52:46+00:00
MLX does have decent/good software support among ML stacks. Targeting both iOS and mac is a big win in itself.

I wonder what's possible, what the software situation is today with the PC NPU's. AMD's XDNA has been around for a while, XDNA2 jumps from 10->40 TOps. AMD iGPU can access huge memory: is it similar here? The "AMDXDNA" driver merged in 6.14 last winter: where are we now?

But not seeing any evidence that there's popular support in any of the main frameworks. https://github.com/ggml-org/llama.cpp/issues/1499 https://github.com/ollama/ollama/issues/5186

Good news, AMD has an initial implementation of llama.cpp. I don't particularly know what it means, but the firt gen supports W4ABF16 quantization, newer chips support W8A16. https://github.com/ggml-org/llama.cpp/issues/14377 . I'm not sure what it's good for, but there is a Linux "xdna-driveR", https://github.com/amd/xdna-driver . IREE has an experimental backend: https://github.com/nod-ai/iree-amd-aie

There's a lot of other folks also starting on their NPU journeys. ARM's Ethos, and Rockchip's RKNN recently shipped Linux kernel drivers, but it feels like that's just a start? https://www.phoronix.com/news/Arm-Ethos-NPU-Accel-Driver https://www.phoronix.com/news/Rockchip-NPU-Driver-RKNN-2025
by dhx | 2025-07-30 02:53:15+00:00
Not that it's much use to compare, but the closest DART buoy 21418 to the M9-9.1 2011 Tōhoku earthquake[1] (which had an epicentre just 72km East of Japan's east coast) recorded a water column height variation of ~3m.[2][3] The closest DART buoy to today's M8.7-8.8 earthquake is 21416 and this recorded a water column height variation of ~0.6m back in the M9-9.1 2011 Tōhoku earthquake.[4]

[1] https://en.wikipedia.org/wiki/2011_T%C5%8Dhoku_earthquake_an...

[2] https://www.ngdc.noaa.gov/hazard/data/DART/20110311_honshu/j...

[3] https://www.ngdc.noaa.gov/hazard/dart/2011honshu_dart.html

[4] https://www.ngdc.noaa.gov/hazard/data/DART/20110311_honshu/j...