MurphyA/hacker-news huggingface dataset:
by checker659 | 2025-10-16 07:52:40+00:00
I have done a little bit of DL stuff (with keras) before this. I'm currently in the attention chapter. The book gives you the code, but I feel like there is very little in the way of building intuition. Thankfully, there are tons of videos online to help with that.

I think it is a great guide. An extended tutorial if you will (at least until this point in my reading). Also having the code right in front of you helps a lot. For example, I was under the impression that embedding vectors were static like in word2vec. Turns out, they are learnable parameters too. I wouldn't have been able to tell for sure if I didn't have the code right in front of me.
by parineum | 2025-10-16 07:52:48+00:00
> This pejorative was fairly famously used in Germany leading up to and during WWII,

Presumably you mean "dishonest". Do you think OAN is dishonest and perhaps disruptive to world peace?

Thinking the press is dishonest does not make one a Nazi. Even if disliking the press were a sign if despotism, Clconsider what makes Nazism unique compared to other despotic regimes, disliking the press ain't it.
by cookiengineer | 2025-10-16 07:52:59+00:00
I wanted to mention that back then when Mozilla announced its FirefoxOS based devices with the "ZTE Open" as a developer device, I realized how broken the ecosystem actually is. The ZTE Open wasn't actually open source and you weren't even able to compile FirefoxOS completely, and only the Gaia (UI) parts could be flashed or changed. So much for open source as a branding, it was a pretty useless device in terms of development.

I realized that there will never be a vendor that actually open sources their firmware blobs. We need better legislation or a complete rewrite of our judicative system to fix this, which realistically is never going to happen.

It's an anti-model in their business world, given how contracts and licensing works from upstream ARM or NXP or MediaTek. It doesn't matter really where the vendor sources their chips from. They all have similar NDAs and contracts and royalty fees.

That's why I was so disappointed by my Librem phone, again, because they, again, promised that the NXP related firmware blobs were open sourced, which honestly was a very overpriced lie to begin with in comparison to the Pinephone devices that were sold at self-cost.

I have no idea how the FSF could recommend Librem devices, because they are literally just as free as every next door Qualcomm or Snapdragon chipset.
by afandian | 2025-10-16 07:53:46+00:00
You're right, I'm thinking of using the keyboard cmd-tab.

So if I have two Zed windows and Firefox in front of one of them, I can't switch from Zed to Firefox and back to Zed without losing view of Firefox. Means I have to move windows around so they don't overlap, which seems so counterintuitive.
by crbelaus | 2025-10-16 07:55:23+00:00
The progressive introduction of automated type checking in Elixir should serve as a reference on how to improve a programming language gracefully without breaking changes.

So many examples of programming languages have huge breaking changes between versions that end up creating a split in the ecosystem that takes years to resolve.

Thankfully José has been very clear about Elixir being done since at least 2018. The language is stable and the language/core foundation is not changing anymore.

https://www.youtube.com/watch?v=suOzNeMJXl0

Truly outsanding work and stewardship.
by kennywinker | 2025-10-16 07:55:29+00:00
Rational argument: the government has lied innumerable times. The reason we know about a handful of them is journalism. If you want your spin straight from the tap, you can read press releases on the DoD website. If you want critical analysis, verification, and other perspectives you’re gonna need a healthy fifth estate. Journalists have biases, but so do governments.
Ask HN: Why is it so hard to design an open-source smartphone?
by hamburgererror | 2025-10-16 07:55:58+00:00
Following the discussion around Librephone [1], it seems that every project regarding open source smartphones OS are centered around the software only.

Lineage and GrapheneOS have proven that reverse engineering is hard. So I'm wondering why can't we have a project that starts from scratch and build the electronics and the OS? In the same spirit of what Apple did with iPhone+iOS. I'm sorry if I sound naive, I just don't realize how hard it is to design a smartphone.

[1] https://news.ycombinator.com/item?id=45586339
by mschuster91 | 2025-10-16 07:56:28+00:00
> Why is it asking me to install or play Xbox games constantly?

Because Microsoft got too large and some manager of Xbox pressured the Windows team to allow such notification to boost up their KPIs (games installed, game hours played).

Telemetry and KPIs are the single worst combination of bullshit that has happened to the entire IT industry.
by ksec | 2025-10-16 07:57:27+00:00
I am really really surprised Bellroy could afford to hire developers for their own store. I guess they are now much bigger than I thought? I watch them grow from an unknown brand that focus on slimming your wallet in the early 10s, to now I bump into people who have actually heard of used it. Or at least seen the online ads. Pretty amazing.

I remember Gwyneth Paltrow said something along the line moving away from Shopify was the biggest mistake she made with her online shop. I think that was before Pandemic and Shopify have improved a lot since then.

Which makes me wonder if it make sense for Bellroy to continue their path.
by seb1204 | 2025-10-16 07:57:34+00:00
In my opinion the role of the press is NOT to spin the narrative but to report objectively and contextualise the reported information, ask critical questions with the aim to uncover inefficiency, injustice etc. Sadly the media, at least the big one do little if that lately and rather feed on hollow sensations empty of information or critical reflection but generating clicks.
by nakamoto_damacy | 2025-10-16 07:57:57+00:00
That is only part of the story, not the full story, where journalists and CIA analysts get together and determine the truth. you've seen the video Snowden posted about this? It is a known reality. Why hide it behind the facade of a free press? There are many dimensions to this story, including Zionist bias by mainstream "journalists" that told you there was no genocide and Israel is a victim, and they've kept up that lie even after the UN declared it a genocide.
by trenchpilgrim | 2025-10-16 07:58:33+00:00
> I remember how then-Defense Secretary Donald Rumsfeld was ecstatic after the fall of Baghdad in 2003, insisting that it showed the success of the U.S. invasion. Not long after, I ran into an officer at the Pentagon who told me, "No, Tom. It's not a success. Saddam Hussein's supporters are attacking our supply lines. Now, we have to send more troops back to guard them." That was because the United States, at Rumsfeld's insistence, never sent an adequate number of forces to Iraq to begin with — a fact another Army general warned me about, unsolicited — and I reported on, before the war even began.

> Instead of toeing the official line, that reporting helped people understand what U.S. troops were really facing. Far from being a success, the fall of Baghdad marked the beginning of an insurgency that stretched on for years.

https://www.npr.org/2025/10/14/g-s1-93297/pentagon-reporter-...
by ben_w | 2025-10-16 07:58:45+00:00
What I want to know is: why would anyone else bother staying given these new rules?

If you did agree to the terms you'd be limited to publishing the official story (and can't talk to anyone for off-the-record stuff), but you get that for free anyway even if you never show up, so why bother with the extra expense of actually going to the Pentagon?
by pjmlp | 2025-10-16 07:59:22+00:00
Yeah, C++ is only a side actor on Apple since Mac OS got replaces with NeXTSTEP, Copland was C++ based, and BeOS as well, but Objective-C won.

Now with Swift, and the whole security legistation ongoing issues across several countries, Apple seems to only care to the extent it needs for their uses of LLVM, Metal Shading Language (C++14 dialect), and IO / Driver Kit frameworks.

They aren't contributing to clang as they once were, Google also not after the whole ABI break discussion.

On Windows land, it isn't much better, it appears that after getting first place reaching C++20 compliance, Microsoft decided to invest their programming language budgets on .NET, Rust and Go, asking the community what features that actually care about in newer standards.

https://developercommunity.visualstudio.com/t/Implement-C23-...

https://developercommunity.visualstudio.com/t/Implement-C26-...

So it is going to be hard going forward, expecting the very latest features on the three major compilers, when the contributions get reduced.
by zozbot234 | 2025-10-16 07:59:27+00:00
Aren't these models consistently quite large and hard to run locally? It's possible that future Ollama releases will allow you to dynamically manage VRAM memory in a way that enables these models to run with acceleration on even modest GPU hardware (such as by dynamically loading layers for a single 'expert' into VRAM, and opportunistically batching computations that happen to rely on the same 'expert' parameters - essentially doing manually what mmap does for you in CPU-only inference) but these 'tricks' will nonetheless come at non-trivial cost in performance.
by intended | 2025-10-16 08:00:06+00:00
No. They are propaganda outlets, and must not be considered separately from the Republican Party.

The current mechanism is

1) Fringe theory gestates in the internet.

2) Fringe theory gets into the podcast network and is covered

3) Relatively famous personality comes on a Fox program and mentions the theory

4) Government figures repeats theory that was covered on the news

5) Fox repeats government coverage

People on the right who have alternative theories, simply do not get air time. They aren’t suppressed, they are simply not competitive.

In a more economic framing of their efforts - they have found a way to offset the costs of inaccurate content to the future.

So they are now able to “sell” cheap “junk food” content, while the center and left spends more effort in forming more accurate content.

The center and left publications, for all their flaws, still stick to journalistic norms.

But today the NYT is more a site dependent on its wordle revenue than its subscription revenue. Consolidation of markets means advertisers do not need smaller local newspapers, and platforms get the lions share of attention.

There is no business model to sustain a free information economy.
by no-stegosaur | 2025-10-16 08:00:49+00:00
In January 2024 zed was open sourced, with only mac support. One week later Dzmitry Malyshau showed up with a prototype renderer for Linux. In July 2024 official Linux builds were available mostly thanks to community contributors. The swift Linux support is a tale of community steppung up to open source development, not one of manufacturer provides something. So Windows is certainly not popular with the kind of crowd that gets excited about an editor
by jasomill | 2025-10-16 08:00:50+00:00
So don't turn off secure boot. Replace the target machine with an identical decoy machine set up to capture whatever credentials are required to log in to the machine once BitLocker auto-unlocks, then use these to log in to Windows on the original machine and steal any encrypted data accessible by the user who logs in.

This would be more difficult to pull off in the presence of non-password security like a hardware token, as you'd need to forward the actual login UI to the decoy machine, but still not terribly difficult if the login UI will display on an externally-connected monitor and accept input from an externally-connected keyboard and pointing device, and the hardware security device connects via an external interface like USB.
by Terr_ | 2025-10-16 08:01:46+00:00
> If there were a 'flat' tax [...] the rich will be more willing to pay

That's just because moving from progressive-taxation to a flat-tax reduces how much they pay!

The "simplicity" of the math done by their usual accounting firm that does their taxes for them is irrelevant by comparison.

_________

To illustrate why the burden shifts, suppose the nation of Elbonia needs a constant $540 to operate, and it moves from a progressive tax to a flat tax.

This year, progressive taxation, rising %: 90 peasants each earn $10 and are taxed 20% -> $2 per peasant. 10 nobles each earn $90 and are taxed 40% -> $36 per noble. Total collection is $540. Next year, flat tax, same % for all: 90 peasants each earn $10 and are taxed 30% -> $3 per peasant. 10 nobles each earn $90 and are taxed 30% -> $27 per noble. Total collection is $540.

It should be no surprise that most of the Elbonian nobles are "willing" to see that change happen. Meanwhile, the peasants that are already living paycheck-to-paycheck have to plan how to cut back on luxuries like keeping their teeth.
by johnisgood | 2025-10-16 08:02:07+00:00
I just compiled "zed" with "cargo build --release" and not only did it pull >2000 dependencies, its size (executable file) is literally 1.4G. Debug is 1.2G.

$ pwd /tmp/zed/target/release $ ls -lh ./zed -rwx------ 2 john john 1.4G Aug 28 17:10 zed

---

$ dut zed/ | sort -h 598M 0B | | /- webrtc-sys-0a11149cbc74bc90 598M 0B | | | /- out 598M 0B | | |- webrtc-sys-090125d01b76a5e8 635M 160M | | /- s-hal7osjfce-1h7vhjb-4bdtrsk93m145adnqs17i9dxe 635M 160M | | |- project-06kh4lhaqfutk 641M 161M | | /- project-1ulvakop54j8y 641M 161M | | | /- s-hal5rdrth3-0j8nxqq-d0wsc7qnin39797z4e8ibhj4w 1.1G 1.1G | | /- zed-ed67419e7a858570 1.1G 1.1G | |- zed 1.3G 1.3G | /- zed-64b9faeefdf3b7df 1.3G 1.3G |- zed 1.4G 0B |- build 2.2G 0B | |- build 7.9G 1.4G /- deps 9.4G 0B |- release 14G 2.9G | |- incremental 19G 4.2G | /- deps 33G 0B /- debug 42G 0B /- target 42G 0B zed

Summary:

$ du -h ./target/debug/deps/ 20G ./target/debug/deps/ $ du -h ./target/release/deps/ 8.0G ./target/release/deps/ $ du -h ./target/debug/zed 1.2G ./target/debug/zed $ du -h ./target/release/zed 1.4G ./target/release/zed

This is on a whole new level of bloat; both with regarding to dependencies AND the resulting executable file(s) (EDIT: executable files are unstripped).

Any explanations as to why "cargo" does not seem to re-use libraries (dependencies) in a shared directory, or why it needs >2000 dependencies (that I see being downloaded and compiled), or why the executable file of the release mode is 1.4G unstripped while of the debug one it is less?
by IshKebab | 2025-10-16 08:02:17+00:00
I wouldn't recommend OCaml unless you plan to never support Windows. It finally does support it in OCaml 5 but it's still based around cygwin which totally sucks balls.

Also the OCaml community is miniscule compared to Rust. And the syntax is pretty bonkers in places, whereas Rust is mostly sane.

Compile time is pretty great though. And the IDE support is also pretty good.
by kragen | 2025-10-16 08:03:02+00:00
No, vi's / or ? isn't incremental. This was one of the significant differences between vi and Emacs in the 01980s and 90s, when "vi vs. Emacs" was a thing. Vim added incremental search as one of its enhancements over vi as an option sometime in the 90s and made it the default much more recently, maybe in the last 15 years.

I believe I did have a co-worker who used drag-and-drop for common editing in NEdit in 02005. On that team we used pair programming, so I had the opportunity to observe my co-workers' editor habits in detail. In more recent work I have not had that opportunity.
by seanhunter | 2025-10-16 08:03:31+00:00
What I mean by "worked" in this context is compiled/parsed[1] without error and had correct behaviour when executed.

I have been programming professionally for about 30 years at this point, so it has happened to me literally hundreds of times at this point in at least 10 other languages- in fact in some languages (especially Haskell and Rust) I would say it's the norm for me rather than the exception to have the code work correctly if it passes compilation (which is sort of the point of strict type systems obviously).

It literally only ever happened the one time in kdb which is why I remember it so vividly and not in those other languages.

I have no idea why you thought your closing note might help, but sure.

[1] Depending on language obviously.
by candeira | 2025-10-16 08:03:44+00:00
Seems like there's a misunderstanding on my part here. <reads more>

Ah, the memory is integrated in the same package (the "chip" that gets soldered onto the motherboard) as the integrated CPU/GPU, and I had understood that correctly. However, I had incorrectly surmised that it was built into the same silicon die.

Thanks for the correction!

Lesson: TIL about the difference between System-In-a-Package (SIP) and System-On-a-Chip, and how I had misunderstood the Apple Silicon M series processors to be SoCs when they're SiPs.
by fuhsnn | 2025-10-16 08:04:18+00:00
There is current interest in adding __VA_COUNT__ https://github.com/llvm/llvm-project/issues/155234

The __VA_TAIL__ proposal might simplify the map macros (as well as expanding more efficiently) https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3307.htm
Show HN: Morse Code Translator with audio playback and educational tools
by xjtumj | 2025-10-16 08:05:31+00:00
Hi HN, I built this Morse code translator as a side project to explore Next.js 15's new features (App Router + Turbopack) and because I was curious about communication encoding methods. **What it does:** - Bidirectional text ↔ Morse code conversion in real-time - Audio playback with authentic dit/dah timing (can download as WAV) - Additional tools: binary-to-Morse, hex converter, image decoder - Educational blog posts about Morse history, learning techniques, and STEM projects **Tech stack:** - Next.js 15 with Turbopack - React 19 (Server Components) - Tailwind CSS 4 (pre-release) - Pure client-side processing (no data sent to servers) **Why Morse code?** I found it fascinating that Morse code pioneered variable-length encoding – frequently used letters get shorter codes (e.g., E = ".", T = "-"), which later inspired Huffman coding. Despite being 180+ years old, it's still used in amateur radio and emergency communications. **Some technical challenges:** - Web Audio API behavior varies across browsers; had to fine-tune timing parameters - Turbopack is fast but still has occasional HMR hiccups - Balancing educational content with tool functionality **Looking for feedback on:** - Feature gaps or unnecessary complexity - Performance on different devices - Better approaches to audio generation - Content ideas for the educational section The entire translation happens in your browser using JavaScript, so your messages stay private. Link: https://morsecodetranslator.app Happy to answer questions about the implementation or Morse code itself! ---
by hunterpayne | 2025-10-16 08:06:24+00:00
Let me try. About 125 years ago there was something called the Spanish-American war. It only lasted 4 days so most people forget about it. It was basically started by the press, specifically by Hurst. It is where we get the term 'yellow journalism'.

Basically the press claimed that the Spanish sabotaged a US navy ship called the USS Maine. The Maine had a boiler accident which caused it to explode but the press claimed it was the Spanish. The government used this as an excuse to take the remaining bits of Spain's empire away from them. So that might be an example of the press being 'an enemy of world peace'. No, I'm not sure the current media would do that. But it is an example of a free press starting a war to sell fish wrap.
by neobrain | 2025-10-16 08:06:28+00:00
Unstripped, perhaps?

ls -lh /nix/store/63rdpgbzn7f1smh7688crcrpfsh833bb-zed-editor-0.199.10/bin/zeditor -r-xr-xr-x. 2 root root 3.2M Jan 1 1970 /nix/store/63rdpgbzn7f1smh7688crcrpfsh833bb-zed-editor-0.199.10/bin/zeditor

EDIT: Ah, it was too good to be true. The true binary is hidden in libexec/.zed-editor-wrapped :(

ls -lh /nix/store/52smrb1z8r4n71zx50xagkcdrhlga4y5-zed-editor-0.207.4/libexec/.zed-editor-wrapped -r-xr-xr-x. 2 root root 337M Jan 1 1970 /nix/store/52smrb1z8r4n71zx50xagkcdrhlga4y5-zed-editor-0.207.4/libexec/.zed-editor-wrapped

Extra weight also comes from webrtc, which nixpkgs dynamically links. So yeah, it's quite a large binary indeed.
by physicsguy | 2025-10-16 08:07:55+00:00
I haven't read it recently but don't think the book, written at the time it was, was necessarily a bad view of things though. I think I first read it in about 2007 or so(?) so we're nearly 20 years on. A lot of it reflected the political debate and projections that were being put out by the government at the time too in what they'd allow in for e.g. offshore installations, so it was basing itself on that too.

IIRC his point was basically that you could make a concerted effort to start building nuclear now, and in 10-15 years you'd be there on having non-CO2 emitting power generation, and that if you even let one part of the renewables equation slip (e.g. banning onshore wind which was the case from 2010 onwards), then you still wouldn't have enough to meet total demand. And that in addition, the cost in terms of producing the actual mechanism to generate the power in both money and in materials in concrete + steel was vastly larger in doing it with wind/solar than with nuclear, with a lot more engineering challenges too.
by IshKebab | 2025-10-16 08:09:28+00:00
You can get Rust binaries pretty small: https://github.com/johnthagen/min-sized-rust

But in practice it's more like there's an overhead for "hello world" but it's a fixed overhead. So it's really only a problem where you have lots of binaries, e.g. for coreutils. The solution there is a multi-call binary like Busybox that switches on argv[0].

C programs often seem small because you don't see the size of their dependencies directly, but they obviously still take up disk space. In some cases they can be shared but actually the amount of disk space this saves is not very big except for things like libc (which Rust dynamically links) and maybe big libraries like Qt, GTK, X11.
by vintermann | 2025-10-16 08:11:08+00:00
If you identify sufficiently with the people giving you the article to publish, it's not a "they" but an "us". Even if the decisions are taken in rooms you don't have access to.

Maybe they think they'll get access to them eventually if they're loyal.

It might seem cowardly, but it isn't that different to what happens every day in business. Society is full of organisations working on the "make the boss' opinions your own" principle.
by haiji2025 | 2025-10-16 08:11:29+00:00
As times change, people increasingly turn to phones and computers for emotional lift—and games are often the best choice. From the earliest days, the first “games” we experience are the ones we play with our parents. At school, games become the social glue that bonds us with friends. At work, when frustration hits, a solid gaming session helps vent the pressure. And as today’s young players grow older, many still want to squad up with friends. It’s clear that games run through our whole lives—not just our day-to-day routines.

Which kinds of games do you enjoy? There’s a wide range on the market: mobile games (split into iOS/Android); PC games (Windows/macOS/Linux), including H5/WebGL/WebAssembly/PWA titles; home consoles such as PlayStation, Xbox, and Nintendo Switch; handhelds/portable PCs (Switch Lite, Steam Deck, ROG Ally, etc.); VR/AR/MR, which surged a few years ago; and classic arcade or other offline amusement machines popular in the 1990s. According to statistics from the InvestGame platform, mobile gaming has roughly 3 billion players, while PC has around 100 million. The most popular segments remain mobile and PC.

Conclusion I personally love mobile and PC games. I’ve also found a platform I’m excited to share—it lets you play on both phone and computer. If you’d like the link, just let me know. When we’re feeling low, stressed, or bored, let it give us a lift!