MurphyA/hacker-news huggingface dataset:
by why_at | 2025-06-23 18:43:19+00:00
As a non-scientist, I am not really any more qualified to give an opinion on this than any random person, but the fear around food dyes seems way overblown IMO.

You can read the statement from the FDA where they banned red dye 3, it's very short. [1] Here's a relevant quote:

>claims that the use of FD&C Red No. 3 in food and in ingested drugs puts people at risk are not supported by the available scientific information.

[1] https://www.fda.gov/food/hfp-constituent-updates/fda-revoke-...
by rbanffy | 2025-06-23 18:43:19+00:00
> Steve Wozniak's Disk II is a combination of a brilliantly simple and reliable disk controller

Wozniak was the first to realize how much hardware can be replaced by software. The cassette routines were the same - the hardware an Apple II uses to read and write to tape (and to use the speaker) is minimal as well, entirely driven by the 6502. This is one of the reasons it’s complicated to increase the clock (or use an improved 6502) of an Apple II, since everything depended on perfect timing.
by robenkleene | 2025-06-23 18:43:39+00:00
`cb[uffer]` processes the current buffer as a compile buffer, which will find `grep` format matching lines (i.e., at a minimum starting with `<path>:<line-number>:<column-number>`) and populate the quickfix list with them, and jump to the first match.

E.g., your example doesn't do anything because `ls` doesn't output `grep` format lines. So try piping the output of `grep` (you'll need flags for the line number and column number with `grep`, hence the `--vimgrep` flag above) matching the above format (or you could try `ls | sed 's/$/:0:0/' | vim -c cb -`, which will hack `ls` output to grep, and is occasionally useful).

(Note that the above hints at another useful tip, `grep` parsing is only part of what `cb[uffer]` does, it can also parse compile output, e.g., something like `gcc foo.c | vim -c cb -` will jump to the first compile error in your program and put the rest of the errors in the quickfix list).
by lanfeust6 | 2025-06-23 18:44:01+00:00
No, I'm not talking about recess. Recess is part of school.

> As far as I was told, this was good for me because to use your words, it gave me a social life.

No. I can see you don't want to discuss in good faith, so I'll leave you to wallowing in self-pity. I was bullied at school too.
by msgodel | 2025-06-23 18:44:20+00:00
That's the tty or the thing on the other end of the pty (ie your VTE like Xterm) which would have to do that. The shell has no access to any of it.

There is an xterm command for writing the scrollback buffer to a file so in theory if you wanted a hack to enable it today you could use that + grep (or even trigger it with something xdotool if you wanted to automate it.)
Show HN: Blockdiff – How we built our own file format for VM disk snapshots
by silasalberti | 2025-06-23 18:44:53+00:00
Usually, I’m a researcher working on areas like RL for coding agents – but one day I became annoyed by our slow VM startup times. So I took the plunge into systems engineering and built the first version of our VM hypervisor called otterlink. It now powers both our research & all of Devin production workloads.

Compared to EC2, otterlink was able to bring down VM startup times by about 10x. The real pain point, however, were EC2’s long snapshot times. We want a lot of flexibility (e.g. forking, rollback and suspending VMs) that all require taking disk snapshots. On EC2 taking disk snapshots usually took a whopping 30+ minutes, which would be a terrible experience for our users. With otterlink we were able to bring this down to just a couple of seconds – a 200x speed-up.

To achieve this, we built our own file format blockdiff for instant block-level diffs of VM disks. Creating block-level diffs of two files is a much broader problem that goes beyond VM disks. We assumed there must be an existing open-source solution. To our surprise we couldn’t find such a tool, so we’re open-sourcing our implementation today: https://github.com/CognitionAI/blockdiff
by toomuchtodo | 2025-06-23 18:45:03+00:00
These efforts are struggles to maintain the status quo for entrenched interests against unsurmountable momentum as it relates to the clean energy transition [1] and the electrification of transportation. If you're looking for a rational explanation, the human will disappoint. Simply maintain pace and pressure in the appropriate direction. That effort, combined with time, will hopefully equal success. In my personal opinion, the "why" is important to understand from a threat model perspective (ie how do you hack around humans and entities attempting to slow or stop the transition), but not important as a contributor to input to speed the transition (because mental models and identity are rigid, and you're not taking the selfish out of the human, broadly speaking).

[1] Texas Legislature Beats Back Assault on Clean Energy - https://news.ycombinator.com/item?id=44277367 - June 2025

(China installed 93GW of solar in May 2025, more than every other country combined in 2024: https://news.ycombinator.com/item?id=44359105)
by wrs | 2025-06-23 18:45:22+00:00
That exists! [0] But IMHO the guides should be linked in big text as the first thing on the homepage. Right now you have to read through a bunch of meaningless comparative bullet points and reassurances then click a few times to get to the guides. If it weren’t for everyone telling me I need to switch, I might not have had the patience to find them.

[0] https://docs.astral.sh/uv/guides/
by kazinator | 2025-06-23 18:46:21+00:00
I went to such a small pasta restaurant somewhere in the Gunma Prefecture's countryside. Record player, vacuum tube amplifier, jazz.

I'm down the rabbit hole of trying to find it now. Searching, in Japanese, for restaurants specifically in the Gunma country side that feature jazz, I found instead something else: "Cafe Front Load":

https://blog.goo.ne.jp/azuminojv/e/bbfb2695ee73ee9c27c2e4ba6...

Not the same one. But there is a record player with jazz.

The amp is not tube, but it is exotic for the purpose: a Yamaha PC2002M PA thing that requires 3U racks space.

These jazz vinyl -> record player -> exotic amp -> speakers type restaurants seem to be like mushrooms under the rain in Japan or something?

It may be like trying to find a replacement record needle in a haystack.
by mdaniel | 2025-06-23 18:46:38+00:00
I'm not the target audience for this product, but I experience the pain from folks who embed jinja2/golang in yaml every single day, so I am trying to do whatever I can to nip those problems in the bud so maybe one day it'll stop becoming the default pattern

As for "complex logic that jinja can't handle," I am not able to readily identify what that would mean given that jinja has executable blocks but I do agree with you that its mental model can make writing imperative code inside those blocks painful (e.g. {% set _ = my_dict.update({"something":"else}) %} type silliness)

it ultimately depends on whether those _expression: stanzas are always going to produce a Python result or they could produce arbitrary output. If the former, then I agree with you jinja2 would be terrible for that since it's a templating language[1]. If the latter, then using jinja2 would be a harmonizing choice so the author didn't have to keep two different invocation styles in their head at once

1: one can see that in ansible via this convolution:

body: >- {%- set foo = {} -%} {%- for i in ... -%} {%- endfor -%} {# now emit the dict as json #} {{ foo | to_json }}
by energ8 | 2025-06-23 18:46:43+00:00
It's a thing in from thousands of years ago https://en.m.wikipedia.org/wiki/Yakhch%C4%81l and today https://en.m.wikipedia.org/wiki/Passive_daytime_radiative_co...

for PDRC there are a couple good videos about it from NightHawkInLight https://youtu.be/N3bJnKmeNJY?t=19s, https://youtu.be/KDRnEm-B3AI and Tech Ingredients https://www.youtube.com/watch?v=5zW9_ztTiw8 https://www.youtube.com/watch?v=dNs_kNilSjk
by magicalist | 2025-06-23 18:46:58+00:00
I'm not going to complain, but real change of what? It's no apparent loss, so I'm happy to say "cool", but we know we won't even be able to measure any public health benefit of what this non-binding, non-regulatory "understanding" is going to bring about.

Seems more like some number of food companies are happy to go along with something that costs them basically nothing, while anything meaningful won't actually be done or is actually in the process of being reversed.
by jerf | 2025-06-23 18:47:08+00:00
I don't know if it has an official name; in that space it would just be a trivial variant of searching the tree (or graph, depending on how you look at it) defined by the constraints by taking random paths through it and backtracking if you get stuck.

Perhaps another angle of frustration with the name is that people apply the Quantum WooWoo to the algorithm and go all "whooaaaa" when it fact it's basically the first thing you might think of when solving a constraint problem.

Which is not to say that is a bad thing. Putting the "simplest solution to this class of problems" into your toolbelt is a good thing. That's why a lot of schools cover things like A* search and linked lists; in the real world you often need some elaborations but there's also plenty of problems you can solve with them as-is and it's a good starting point. It's just the conceptual interference from the name that is a bit annoying.
by codethief | 2025-06-23 18:47:36+00:00
Yes, quite a few actually. I do have to mention, though, that the women I talked to were from the cities, usually very well educated (studied abroad, spoke English / grew up with Netflix, etc.), and/or used to tourists. I didn't dare talking to women in the smaller, more rural towns as I wasn't sure about repercussions (for them). Plus there would have been the language barrier, anyway.

Overall, there seemed to be a rather pronounced divide between the cities and the country side: In the cities you did see the occasional woman without hijab, some women working (particularly in the hospitality industry), and a few women driving (though still not many). Meanwhile, in more rural areas tradition strongly prevailed. So none of the things I mentioned are really commonplace yet (not even in the cities) – it's just that at the very least they're legal now and people (women) are making their first baby steps towards enjoying their newfound freedom.
by jtuple | 2025-06-23 18:47:58+00:00
TBH, its not even middle/high-school era Internet I miss most either. While I have fond mid-90s memories, I think peak Internet is somewhere in 2008-2012 range.

The Internet was mostly additive up to that point. New tech, sites, services existed alongside what came before.

I can appreciate Slashdot, Reddit, HN, and even Twitter (it was huge for distributed systems/database community ~2009-15) at different points in time.

It was really the photo-first, later video-first, shift that happened mid-2010s + big tech dominance that strangled old Internet. No longer being additive, but shrinking the Internet into fewer properties, with everything just being "content".
by nurumaik | 2025-06-23 18:48:31+00:00
Making tramp go brr by removing half of features

Sad to see it's still so far from vscode. Is there really no way to make emacs magically work like vscode without modifying packages

Idk maybe invent something like jit-compilation but for remote/local code. Profile rtt latency then somehow dynamically calculate optimal local-remote code split and transfer remote part to remote machine
by indigodaddy | 2025-06-23 18:48:43+00:00
This is cool and fine, but I just use a browser accessible Linux desktop using KASM for a Docker image-based/isolated/ephemeral (except for homedir/profile persistence) “local development with full Linux desktop” environment that I can use from anywhere.

And for package persistence I have an extra configuration to use Brew. It all works beautifully and very fast/no noticeably latency on a capable VM/vps etc:

https://docs.linuxserver.io/images/docker-kasm/

https://gist.github.com/jgbrwn/3787259bc7d00fce3fdd4b5bd579c...

https://gist.github.com/jgbrwn/28645fcf4ac5a4176f715a6f9b170...
by pkkkzip | 2025-06-23 18:48:47+00:00
Not sure what the issue here is, if you change your location a lot using VPN, it will trigger their bot detection and lock you out, its a feature.

You can always ask for a refund in situations like this and resubscribe to x premium.

A real problem with these platforms not just x is mass reporting, fake DMCAs all pose vulnerabilities which are hard to address.

Even on HN, if you have non-conforming opinions of those with higher points, you will be censored, flagged etc.
by socalgal2 | 2025-06-23 18:48:57+00:00
I'd be curious to know exactly what changed. Python -> Rust won't make network downloads faster nor file I/O faster. My naive guess is that all the speed comes from choosing better algorithms and/or parallelizing things. Not from Python vs Rust (though if it's hard to parallelize in Python and easy in rust that would certainly make a difference)
by ytpete | 2025-06-23 18:50:00+00:00
I'm assuming what they are thinking along the lines of is not that we'd do away with the notion of privilege levels, but more that privilege boundaries would become 1:1 with hardware boundaries. So perhaps you'd have a dedicated CPU core with its own isolated cache for running the kernel, or that sort of thing. Almost like multiple separate systems communicating across client-server boundaries.

I guess the question for me though (as neither a deep expert in security nor low-level hw) is, how much less efficient would that be than the kinds of mitigations used today for shared hardware? If it's far more guaranteed-safe and the cost is only just a bit higher than today's mitigations... that would be interesting indeed.
by tehjoker | 2025-06-23 18:50:43+00:00
Russia is basically ok with Ukraine being a buffer state so long as it doesn't become a NATO ally. At this point Ukraine will probably have to give up the Russian ethic regions adjoining Russia to get peace.

Imagine if Mexico tried to join BRICS or the Warsaw pact back when it existed. You can see the realpolitik logic here. If you want stability and peace for the Ukrainian people, do a deal. Ukraine wasn't in play but for NATO expansion eastward. Now it is, and it is the fault of the United States that this situation was created.

US politicians crow about what a great deal for them the Ukraine war is since others are fighting and dying to fight USA's enemy*. Very blood thirsty.

* The enemy of the USA ruling class, I personally don't harbor any animosity towards Russia though I dislike their form of government—a form that resulted from US attacks on the post-Soviet political economy.
by adit_a | 2025-06-23 18:51:12+00:00
Hey, we've never used or even attempted to use your platform. Respectfully I think you know that, and that you also know that your team has tried to get access to ours using personal gmail accounts dating back to 2024.

A schema builder with nested array fields has been part of our playground (and nearly every structured extraction solution) for a very long time and is just not something that we even view as a defining part of the platform.
by sorcerer-mar | 2025-06-23 18:51:23+00:00
Apologies for my misunderstanding!

> As for solutions? What about ramifications for any media that cannot backup what it says? What about people being held responsible for what they spread?

I mean... effectively not possible in the US (First Amendment). Gnarly situation as the cost of producing bullshit plummets to zero, or goes negative since you can earn money from it, while the cost to find and publish truth continues to rise.
by joshstrange | 2025-06-23 18:51:35+00:00
Ehh, I just watched about half of it. It’s way better than their stupid ad where they smashed musical instruments (a low bar, I know). I didn’t find it particularly egregious, a little cringe but so are most commercials. I don’t think this really deserves the blowback.

The truth is, a Mac is probably best for most college students. I had to make my case for why my parents should buy me a Mac for college (in an all-windows family) and was successful. My dad worked in tech, thought the MacBook was overrated, and loved windows (at the time). A few years later my dad got my sister one when she went to college and again a few years after that when the other sister went.

He later told me “That was the best decision I ever made, you know how many calls I got about issues with their computers? Zero”. Contrast that with rebuilding the family windows computer at least once a year due to some virus/spyware/malware that was infecting it when they lived at home.

MacBooks also hold their value well and are well made (butterfly keyboards notwithstanding). They are great value for the cost. I paid ~$1,000 for my first Mac and it got me through college without issue while I had friends who bought the bargain bin windows $400-500 machine and very few if any of them survived 4 years, the ones that did had batteries that didn’t last or parts literally falling off them.

Things may have improved in the subsequent 15 years (I don’t think they could’ve gotten worse on the window side) but I still recommend people get a Mac unless they have some software that they need that can’t run on it (normally only specialized things). For most people and in most cases it really does “just work”.
by benreesman | 2025-06-23 18:51:51+00:00
This is a nice setup. It's got tmux and fzf and rg and zoxide and clean-looking nvim. I'd recommend atuin, starship, bat, glow, duf, dogdns, viddy, gum/sesh, dust, btop et all if you don't have them, there's a long tail. The Awesome Terminal XYZ lists on Github have them all.

atuin is make-or-break, its a bigger deal than zoxide and being a coder without zoxide is like being an athlete with shoes for a different sport.

asciinema is a better way to do terminal videos.

Its weird that this is weird now: having your tools wired in used to be called "being a programmer". VSCode and Zed and Cursor and shit are useful additions to the toolbox, you gotta know that stuff by heart now too and you have to know which LLM to use for what, but these things are the new minimum, they aren't a replacement for anything. Even with Claude Code running hot at 4am when the PID controller is wide open, sometimes its going to trash your tree (and if it doesnt youve got it on too short a leash to be faster than gptel) and without magit? gl.

If you think you're faster than OP with stock Cursor? Get them to make a video of how to use an LLM with chops.
by aalimov_ | 2025-06-23 18:51:57+00:00
I always took this saying as meaning that we don’t re-invent the concept of the wheel. For example the Boring company and Tesla hoping to reinvent the concept of the bus/train.. (iirc your car goes underground on some tracks and you get to bypass traffic and not worry about steering)

A metal wheel is still just a wheel. A faster package manager is still just a package manager.
by haiku2077 | 2025-06-23 18:52:51+00:00
Right, wheels are reinvented every few years. Compare tires of today to the ones 20 years ago and the technology and capability is very different, even though they look identical to a casual eye.

My primary vehicle has off-road capable tires that offer as much grip as a road-only tire would have 20-25 years ago, thanks to technology allowing Michelin to reinvent what a dual-purpose tire can be!
by happytoexplain | 2025-06-23 18:53:19+00:00
I'm 40, but the only place I have ever abandoned proper casing is in the specific case of single-sentence text/chatroom messages (and later, 4chan posts), where I also omit the period. And even then, I only abandon sentence-casing - e.g. "I", proper nouns, etc are still capitalized. I never adopted that style in other places though, like forums. And I'm definitely not used to seeing entire chunks of prose in this more extreme version of that format (no uppercases at all, rather than just no sentence-casing).
by Sam_Eyob | 2025-06-23 18:53:34+00:00
After reading Julien Chaumond’s post [https://www.linkedin.com/feed/update/urn:li:activity:7336327...] on mass data leaks through LLM apps, we decided to build something to help stop it.

Masquerade MCP - the privacy firewall for Claude.

It’s a local, privacy-first middleware server that sits between your sensitive data and Claude desktop. You can redact, replace, or anonymize information before it’s sent to Anthropic.

It’s built for teams handling:

Contracts

Health records

Internal IP

…anything you don’t want leaked or scraped into someone’s training set.

Fully open-source and using Tinfoil API for hardware-level security.

Would love feedback, collaborators, or edge cases we haven’t thought about yet.
by f1shy | 2025-06-23 18:54:14+00:00
Ok. I just misunderstood several comments, which say it is about gaining territory. And I see no evidence to support that. There are military operations, occupations, but nothing really solid that show intention of taking territory for later civilian use, or anex to Israel. Those are very different things. E.g. Russia is invading with a clear goal of annexing land; but Israel not ao much.

I am not saying is good or bad, just that the goal seems different here.
by mrguyorama | 2025-06-23 18:54:48+00:00
It literally doesn't matter what your refrigeration process is. You have to "reject" the heat energy at some point. In space, you can only do that with large radiators.

There is no physical process that turns energy into cold. All "cooling" processes are just a way of extracting heat from a closed space and rejecting it to a different space. You cannot destroy heat, only move it. That's fundamental to the universe. You cannot destroy energy, only transform it.

Neither link is a rebuttal of that. An absorption refrigerator still has to reject the pumped heat somewhere else. Those people making ice with solar energy are still rejecting at minimum the ~334kj/kg to the environment.

An absorption refrigerator does not absorb heat, it's called that because you are taking advantage of some energy configurations that occur when one fluid absorbs another. The action of pumping heat is the same.
by pfortuny | 2025-06-23 18:55:04+00:00
This answer is probably a bit convoluted and possible erroneous. Assume the Earth has radius 2. Use coordinates (t,z) to denote “longitude” and “latitude from the North pole”. Thus (0,0) is the North Pole, (0, pi/2) is the Greenwich equatorial point and (0, pi) is the South pole.

You can have “two” spheres wrapped within the Earth with the following parametrization. Using a first coordinate r to denote the distance to the Earth’s center, so that (1,t,z) denotes the points in the sphere of radius 1:

(a,b)-> (1+cos(b)/2, a,b), for a,b in the interval [0,2pi].

Those are not proper spheres (the radius changes) but the surface so parametrized is homotopic to a sphere “counted two times”.

It is not possible to have a warped sphere which does not cross itself, as far as I can tell (but I might be wrong).

The wikipedia image linked by a sibling comment did not help me…

ETA: the issue is not the dimension (2) of your spheres but the codimension (1) inside the object, and the fact that you have only removed the center of the main sphere. I think (caveat emptor) that if you remove 2 points form the solid sphere, you get Z^2. Similar to the case of surfaces and holes.
by RcouF1uZ4gsC | 2025-06-23 18:56:30+00:00
""Proposed Intervenor does not explain how a court’s document retention order that directs the preservation, segregation, and retention of certain privately held data by a private company for the limited purposes of litigation is, or could be, a 'nationwide mass surveillance program,'" Wang wrote. "It is not. The judiciary is not a law enforcement agency.""

This is a horrible view of privacy.

This gives unlimited ability for judges to violate the privacy rights of people while stating they are not law enforcement.

For example, if the New York Times sues that people using an a no scripts addin, are bypassing its paywall, can a judge require that the addin collect and retain all sites visited by all its users and then say its ok because the judiciary is not a law enforcement agency?