MurphyA/hacker-news huggingface dataset:
by linkregister | 2025-12-23 01:36:14+00:00
I save my iPhone photos to my linux desktop. The default image viewing software in the Gnome 3 window manager can display HEIC images.

Conversions on the command line are simple enough with imagemagick. Prior to conversion, I use exiftool to rename the files from IMG_0123.HEIC to the date the image or video was taken, followed by a truncated sha256 digest of the file, e.g. 2025-12-22-1732-f8b7302.HEIC. Otherwise, you can get a nasty condition where the IMG_XXXX filenames collide when consolidated into the same directory.
by ValdikSS | 2025-12-23 01:37:23+00:00
Bootstapping is so complex, here's 181-step document to compile Linux: from "commented opcodes" in hex0 to assembler with labels, from simple C compiler to ~c89 compiler to tinycc ~c99 compiler, from simple shell to scheme interpreter to Fiwix unix-like kernel.

https://github.com/fosslinux/live-bootstrap/blob/master/part...
by floam | 2025-12-23 01:38:16+00:00
You can choose on the share sheet, right?

I’m referring to this:

- select something in Photos, then Share.

- tap “Options” under “1 photo selected” top of sheet.

The first choice there is:

Format:

[√] Automatic

[] Current

[] Most Compatible

Choose Automatic for the best format for the destination or Current to prevent file format conversions. Photos and videos may convert to JPEG, PNG, and H.264 formats if you choose Most Compatible.

Most Compatible will put a jpeg on Drive for example, I just verified myself.
by zeroCalories | 2025-12-23 01:40:21+00:00
Yes your interpretation is correct, and I think it answers your first question.

The idea that Americans are unreachable is false. Republicans hold on to their power by only a slim amount. All of America's most influential cities lean liberal. The most influential right wing media is social media, and left wing sources still have plenty of room to work there. The EU needs to make a strong case for itself instead of assuming what it's owned.
by exmadscientist | 2025-12-23 01:40:46+00:00
"Programmed like an EEPROM" is part of the problem, any system that needs more than one piece of firmware to be wrangled during the assembly/bringup process is asking for pain.

But, really, no one cares what's inside the box. CPLD or FPGA, they're all about the same. The available PLDs are still not really acceptable. There's a bunch of 5V dinosaurs that the manufacturers would obviously love to axe, and a few tiny little micro-BGA things where you've got to be buying 100k to even submit a documentation bug report. Not much for stuff in the middle.
by pcarroll | 2025-12-23 01:40:47+00:00
Netrinos can be entirely cli on all 3 platforms.

If you install the OpenSSH server on Windows, you can manage Netrinos in a terminal, just like on Linux or Mac. e.g.

https://netrinos.com/cdn/images/screens/windows-terminal.png

https://netrinos.com/cdn/images/screens/linux-terminal.png

On a trip to Europe last year, I tried it from the Air Canada in-flight WiFi somewhere over Iceland. I was able to RDP to my desktop at home, then RDP right back to my laptop on the plane. Performance wasn't great. And it's not a terribly useful use case. But it did work.

Wireguard deserves a lot of credit there. No ports were opened on my home end. And who knows what the plane has for NAT.
by altairprime | 2025-12-23 01:42:19+00:00
“No smartphone” is a boundary, and U.S. parents are often raised not to set boundaries under threat of mental, emotional, and/or physical abuse. So it makes perfect sense that we have now-parents completely unable to define and discuss boundaries with their children. Far better to capitulate in the face of an uncertain and not life-threatening risk than to allow their child to ever think that boundaries are healthy, etc. For the unfamiliar, here is a good starting point for understanding the generational cognitive dissonance in play: https://www.issendai.com/psychology/estrangement/contradicto...
by tyami94 | 2025-12-23 01:43:07+00:00
I can't say I agree with you here, if anything FPGAs and general purpose microprocessors go hand in hand. It would be an absolute game changer to be able to literally download hardware acceleration for a new video codec or encryption algorithm. Currently this is all handled by fixed function silicon which rapidly becomes obsolete. AV1 support is only just now appearing in mainstream chips after almost 8 years, and soon AV2 will be out and the cycle will repeat.

This is such a severe problem that even now, (20+ year old) H.264 is the only codec that you can safely assume every end-user will be able to play, and H.264 consumes 2x (if not more) bandwidth compared to modern codecs at the same perceived image quality. There are still large subsets of users that cannot play any codecs newer than this without falling back to (heavy and power intensive) software decoding. Being able to simply load a new video codec into hardware would be revolutionary, and that's only one possible use case.
by steveklabnik | 2025-12-23 01:44:34+00:00
Thanks!

So, one reason is "I just want to learn more about buck2."

But, for the first iteration of Rue, I maintained both. However, for a language project, there's one reason Cargo isn't sufficient now, and one reason why it may not later: the first one is https://github.com/rue-language/rue/blob/trunk/crates/rue-co... : I need to make sure that, no matter what configuration I build the compiler in, I build a staticlib for the runtime. With Cargo, I couldn't figure out how to do this. In test mode, it would still try to build it as a dylib.

Later, well, the reason that rustc has to layer a build system on top of Cargo: bootstrapping. I'm not sure if Rue will ever be bootstrapped, but rustc uses x.py for this. Buck does it a lot nicer, IMHO https://github.com/dtolnay/buck2-rustc-bootstrap
by maxglute | 2025-12-23 01:44:34+00:00
dead comment from @wibby:

>(1) man I hate this type of pol-speak (2) you're either incompetent or disingenuous if you think national security law is anything but a euphemism for 'we can throw you in jail if you criticize us'. People want free speech, they don't give a shit about trying to sell J-20 schematics worth $5. I guess you fall for think-of-the-kids laws too. They're not retarded, they actually have to live in the country you shitpost about and would rather have 20 years of freedom and have it forcefully taken from them than roll over. Good for them, might as well show the world what thuggery they're dealing with.

Does matter what NSL is lol, it matters if it exist or not, and in HK it did not so all other muh liberty considerations, is frankly immaterial. Retarded kids who don't care about selling J20 schematics is you know... the kind of retarded kids whose desire for free speech should be mercilessly curtailed. If retarded kids weren't retarded and gave a shit about J20 schematics, they wouldn't have got righteously slapped so hard. I don't know how you conflate literally naive fuck-the-kids endorsement with think-of-the-kids. The kids want immunity from treason. So yes, fuck those kind of kids. The same kids who are partying in Shenzhen now btw, good for them, might as well as show the world that thug tier1 city still preferable to end stage capitalist shithole of HK. TFW removing the retarded libtard virus from their brains and suddenly the kids are alright.
by bendmorris | 2025-12-23 01:45:15+00:00
>One environmental researcher NPR spoke to, whose employer receives federal funding, confirmed that they have been advised to avoid the terms "climate change," "sustainable" and "sustainability." Even "biodiversity" is of concern to some of their colleagues because it includes the word "diversity."

(Please don't just respond to the quote - lots of context in the full article.)

https://www.npr.org/2025/04/14/nx-s1-5349473/trump-free-spee...

This language-based filtering began in the first term and has been widely reported.

https://www.theguardian.com/us-news/2017/dec/16/cdc-banned-w...
by jhide | 2025-12-23 01:45:38+00:00
This article could’ve been written 20 years ago with only minor revisions, and it would’ve been true then. But it’s not now. It is trivial, literally a day of work, to set up a build system and CICD environment using Verilator if you are already proficient with your build system of choice. Learning TCL to script a bitfile generation target using your FPGA vendor’s tools is a few extra days of work. And regarding IDE support, the authors complain about the experience of writing code in the vendor GUI. They should look at one of the numerous fully featured systemverilog LSPs available in e.g. VS Code.

The real argument for open source toolchains is much narrower in scope and implying its requirement for fixing a nonexistent tool problem is absurd
by josephg | 2025-12-23 01:46:10+00:00
I think there's 2 kinds of systems we're talking about here:

1. Capabilities given to a program by the user. Eg, "This program wants to access your contacts. Allow / deny". But everything within a program might still have undifferentiated access. This requires support from the operating system to restrict what a program can do. This exists today in iOS and Android.

2. Capabilities within a program. So, if I call a function in a 3rd party library with the signature add(int, int), it can't access the filesystem or open network connections or access any data thats not in its argument list. Enforcing this would require support from the programming language, not the operating system. I don't know of any programming languages today which do this. C and Rust both fail here, as any function in the program can access the memory space of the entire program and make arbitrary syscalls.

Application level permissions are a good start. But we need the second kind of fine-grained capabilities to protect us from malicious packages in npm, pip and cargo.
by javawizard | 2025-12-23 01:46:39+00:00
I wish CPLDs were more well known in the common vernacular.

The industry draws a distinction between CPLDs and FPGAs, and rightly so, but most "Arduino-level" hobbyists think "I want something I can program so that it acts like such-and-such a circuit, I know, I need an FPGA!" when what they probably want is what the professional world would call a CPLD - and the distinction in terminology between the two does more to confuse than to clarify.

I don't know how to fix this; it'd be lovely if the two followed convergent paths, with FPGAs gaining on-board storage and the line between them blurring. Or maybe we need a common term that encompasses both. ("Programmable logic device" is technically that, but no-one knows that.)

Anyway. CPLDs are neat.
by notepad0x90 | 2025-12-23 01:47:02+00:00
> I also disagree there. Just change it exactly once every two weeks or so. Just don't do it more than once within 10 hours. See: https://adsecurity.org/?p=4597

That link says wait a week before the second change. There is a good reason for that, because kerberos is so assymetric and just because there are badly written apps out there, you'll cause failed logins for them if you do it too fast. Normally I consider this in the context of a domain compromise, so you have to consider making the rotation with a lower delay, but that always raises the controversy of causing outages. My original comment is exactly what you said, the rotation should be an automatic and regular event. It should be able to change it, track how much the old password is being used, and after the old password hasn't been used in <configured interval> it can do another rotation. It can prevent outages by tracking usage that way. I see no good reason why they made the effort to have an old/new password distinction but didn't give admins the option to auto-rotate. Although, I wonder if you can do this now with powershell (if the old pw usage is tracked anywhere).

> That's not quite right. If the password is sufficiently strong, you won't crack it even when RC4 is used. The password space is infinite.

You're totally right. I was thinking in terms of password people usually configure which are 12-18 characters long. But computer accounts and well configured service accounts, I've seen them use a 64 character minimum which should be very hard to crack with RC4.
by autoexec | 2025-12-23 01:47:10+00:00
> Did you see the other post about this where the guys showed a Flock camera pointed at a playground, so any pedo can see when kids are there and not attended?

If it's inappropriate for any pedo to see when kids are in a park then certainly it should inappropriate when those pedos just happen to be police officers or Flock employees. The nice thing about the "everyone has access" case is that it forces the public to decide what they think is acceptable instead of making it some abstract thing that their brains aren't able to process correctly.

People will happily stand under mounted surveillance cameras all day long, but the moment they actually see someone point a camera at them they consider that a hostile action. The surveillance camera is an abstract concept they don't understand. The stranger pointing a camera in their direction is something they do understand and it makes their true feelings on strangers recording them very clear.

We might need a little bit of "everyone has access" to convince people of the truth that "no one should have access" instead.
by hunterpayne | 2025-12-23 01:47:36+00:00
There is sort of some truth to that but its still pretty disingenuous to phase it that way. The more honest way to say it is that the NIMBYists are (probably somewhat unintentionally) keeping FFs in use by opposing nuclear.

Also, you (and everyone else in the thread) are listing capacity costs. Nobody cares about capacity costs except the CFO of a utility. Utilization costs are what matters. And by that (honest) metric, nuclear is quite cheap if you exclude the extra costs due to scientifically illiterate eco-activists and regulators.

People like to say that "A diamond is forever" is the best marketing effort of all time. I disagree, the ability of FF extractors to get ecos to do their dirty work for them is far more "impressive" (from a POV lacking in ethics).

PS The number of outright falsehoods in just this thread about nuclear should prove my point. Just research about how nuclear pays for cleanup and compare that to some comments in this thread for an example.
by exmadscientist | 2025-12-23 01:47:44+00:00
> you’d have to drop support for multiple voltage rails and thus multiple IO standards, which is exactly what you don’t want to lose.

Yes? Yes it is? 9 times out of 10, my entire board is LVCMOS33. I would love to have the option to drop all of the power rail complexity in a simplified series of parts.

Sometimes you need maximum I/O speed. Sometimes you need maximum I/O flexibility. Sometimes you need processing horsepower. And sometimes you need the certainty of hardware timing, which you get on a gate array and don't get any time there's a processor involved. Or, often, what I actually need is just a little bit of weird logic that's asynchronous, but too hard to do with the remnants of 74-series or 4000-series logic that are still available.

> Building bitstreams is IMO not complicated. (I just copy a Makefile from a previous project and go from there.)

It is not complicated for people who have spent a long time learning and who have past designs they can copy from. (I have a few of those myself.) It is nasty to explain to a new person and very nasty to explain well enough to reproduce in the future without me around.

> Loading them is a matter of plugging in a JTAG cable and typing “make program”.

Yes, for you on the bench. Now program them into a product on an assembly line. Of course it is possible. It is still a giant headache, and quite a bit worse than just dealing with an MCU.

> I don’t know what you mean with the “manage SW projects for”?

Two words: Xilinx ISE.
by setr | 2025-12-23 01:48:18+00:00
The SQL standard defines more of an aesthetic than an actual language. Every database just extends it arbitrarily and anything beyond rudimentary queries is borderline guaranteed to be incompatible with other databases.

When it comes to procedural logic in particular… you have almost zero chance you’re dropping into that into another database and it working — even for rudimentary usage.

SQL-land is utterly revolting if you have any belief in standards being important. Voting for Oracle (itself initialized as a shallowly copied dialect of IBM SQL, and deviated arbitrarily) as the thing to call “standard” is just offensive.
by gnabgib | 2025-12-23 01:48:45+00:00
Discussions (65 points, 9 hours ago, 50 comments) https://news.ycombinator.com/item?id=46355227

(442 points, 6 hours ago, 381 comments) https://news.ycombinator.com/item?id=46357881

(117 points, 4 months ago, 83 comments) https://news.ycombinator.com/item?id=45002747
by delifue | 2025-12-23 01:48:57+00:00
Modern large productivity software (including IDE) are often "fragile".

Sometimes some configuration is wrong and it behave wrongly but you don't know which configuration.

Sometimes it relies on another software installed on system and if you installed the incompatible version it malfunctions without telling you incompatibility.

Sometimes the IDE itself has random bugs.

A lot of time is spent workarounding IDE issues
by ProllyInfamous | 2025-12-23 01:48:59+00:00
I'm actually attempting to get into officework, somewhere. I can't do another twenty years of physical construction, whether in houses or factories.

>Are you self-employed now?

Yes, but I choose not to work regularly.

Fortunately, I have enough savings to not be too worried — presuming the economy picks up within the next few years (I can outlast this presidency, doing nothing).
by tolerance | 2025-12-23 01:49:26+00:00
Before anyone who hasn’t read the actual link reacts to its current title and gets swept up by the single thread that’s dominated the entirety of this submission, it’s an interview.

Alexander Linton of the Session Technology Foundation on building decentralized messaging and why platform-wide content moderation is impractical on encrypted platforms.

Not familiar with him or the platform. But sounds like an interesting exchange.
by christophilus | 2025-12-23 01:49:51+00:00
Well, he didn’t say vibe code. Presumably, you’d still be reviewing the AI code before committing it.

I ran a little experiment recently, and it does take longer than just pulling in npm dependencies, but not that much longer for my particular project: logging, routing, rpc layer with end-to-end static types, database migrations, and so on. It took me a week to build a realistic, albeit simple app with only a few dependencies (Preact and Zod) running on Bun.
by RiverCrochet | 2025-12-23 01:49:52+00:00
A simple display of posts in the last X minutes/days is a great heuristic of authenticity without me having to dig through post histories or feed it into an LLM. LLM integration that I can control-e.g. have options I can enable or disable like "Block posts with logical fallacies and inform the poster of the block without notifying me"-would be awesome.

Looking through post histories manually is time consuming and ultimately wouldn't work if new account creation is free. Once you start spending more time your haters than they spend on you, you've lost.
by 9rx | 2025-12-23 01:49:58+00:00
> As I said, I ended up needing about 50% more lines to accomplish the same thing in Go

I'd be using Perl if that bothered me. But there is folly in trying to model from a solution instead of the problem. For example, maybe all you needed was:

type OpType int
const (
OpTypeSkip OpType = iota
OpTypeInsert
OpTypeDelete
)

type OpComponent struct {
Type OpType
Int int
Str string
}

Or something else entirely. Without fully understanding the exact problem, it is hard to say what the right direction is, even where the direction you chose in other language is the right one for that language. What is certain is that you don't want to write code in language X as if it were language Y. That doesn't work in programming languages, just as it does not work in natural languages. Every language has their own rules and idioms that don't transfer to another. A new language means you realistically have to restart finding the solution from scratch.

> You'd probably need a different problem to show Go or C# in their best light.

That said, my profession sees me involved in working on a set of libraries in various languages, including Go and Typescript, that appear to be an awful lot like your example. And I can say from that experience that the Go version is much more pleasant to work on. It just works.

I'll agree with you all day every day that the Typescript version's types are much more desirable to read. It absolutely does a better job at modelling the domain. No question about it. But you only need to read it once to understand the model. When you have to fight everything else beyond that continually it is of little consolation how beautiful the type definitions are.

You're right, though, it all depends on what you find most important. No two programmers are ever going to ever agree on what to prioritize. You want short code, whereas I don't care. Likewise, you probably don't care about the things I care about. Different opinions is the spice of life, I suppose!
by marcus_holmes | 2025-12-23 01:51:23+00:00
The top game tag by sales [0] is #singleplayer, which obviously doesn't care about anti-cheat.

There's a demographic of gamers who only play the one competitive multiplayer game (such as Fornite or CoD). They don't buy many games, they're not the most lucrative market for game publishers, but they do keep those titles in business. And yes, for them, anti-cheat is important and they're unlikely to move to Linux.

[0] https://games-stats.com/steam/tags/
by sfRattan | 2025-12-23 01:51:44+00:00
I remain sympathetic to parents who don't know where to start in terms of understanding technology and computers. It is a big topic. But I am entirely unsympathetic to parents who throw up their hands and make no effort.

At this point, any parent saying, "I just don't understand technology," or, "I just don't have the time to mind my childrens' computer use or monitor their Internet access," is morally equivalent to saying, "I just don't understand traffic safety," and, "I just don't have the time to teach my children the rules of the road or how to cross the street," while living in a big, bustling city.

It is lazy, entitled, and negligent. The world is full of networked computers and, barring some new massive Carrington event, is never going back to the way it was before.
by handsclean | 2025-12-23 01:52:11+00:00
Apple generally does this transparently and automatically when exporting photos. If you’re not getting that behavior then you could have it off in settings, it could be your workflow, or it could be a Google Drive bug/limitation. What exactly do you mean by “transfer a photo on my iphone via google drive”? Something like open the Apple Photos app, hit share, select Google Drive, save it somewhere there, go to the Google Drive app, and copy a link?
by LorenPechtel | 2025-12-23 01:52:39+00:00
It comes down to who initiates it.

I've got some gift cards sitting here--her health insurance has rewards for doing certain things, there's no way to get them as cash but you can buy gift cards for certain stores. Nothing scammy about it but I'm annoyed Amazon isn't an option because simply dumping them into my Amazon account would be the easiest solution.
by scotty79 | 2025-12-23 01:53:11+00:00
> Traditional security doesn't catch this.

> const backdoorCode = crypto.AES.decrypt(
"U2FsdGVkX1+LgFmBqo3Wg0zTlHXoebkTRtjmU0cq9Fs=",
"ERROR_FILE"
).toString(crypto.enc.Utf8);

Really? Isn't random garbage string pretty strong indication of someone doing something suspicious?