MurphyA/hacker-news huggingface dataset:
by sfink | 2025-09-01 04:21:41+00:00
My personal opinion: `jj new` is better because it's non-modal. If you use `jj edit`, you're sort of switching to "edit mode": any change you make will trigger a rebase of all descendants.[1] You're live-mutating the core graph structure rather than a harmless appendage node. Also, if you notice something else that needs to be fixed, you can do it but then you'll need to remember to split it out into a separate commit before leaving edit mode.

With `jj new` + `jj squash`[2], you're collecting work that you can review as a separate thing anytime as you go along. You don't have to remember anything. If you throw in an unrelated change, you'll notice it if you review the changes before squashing them, so you can split it out then. And I'm pretty much always working in this state even when I'm at the top of my branch, so `jj new some-deep-node` doesn't really change anything. If I get called away and have no memory of what I was doing when I return, it doesn't matter: my jj state tells me exactly where things are and what I was doing.

[1] Which is not a huge problem, you have deferred conflict resolution so if something goes wrong you can probably just repair it with normal editing or your editor's undo functionality.

[2] I don't usually bother with `jj new -A`, since I'm going to squash my "out of line" temporary commit into the linear chain anyway. `jj new -A` is more similar to `jj edit` than `jj new` -- it shares some but not all of the modal disadvantages. So perhaps my answer to your actual question is: "yeah, I dunno either."
by Aurornis | 2025-09-01 04:21:47+00:00
I worked on a product where we tried to keep it open for end users to modify what they wanted.

To be honest, it was way more of a problem than I ever imagined. The average user who tries to mod their system isn’t as proficient as you imagine they would be. As an engineer you imagine other engineers approaching the system as you would. In practice, it’s a lot of people with a lot of free time who copy and paste things into terminal sessions from forum posts and YouTube video comments. When it doesn’t work, they try to get your customer support team to fix it. They will deny, deny, deny when asked if they’ve modified the system because they want to trick support into debugging it anyway. When customer support refuses to handle their modified system, they try to RMA or return it for a refund in protest.

Over time, it drains you. You see the customer support request statistics and realize that a massive support burden could be avoided by locking it down. You see the RMA analysis and realize a lot of perfectly good devices are being returned with weird hacks applied. Every time you change an API or improve the system you have to deal with a vocal minority of angry modders who don’t want you to change anything, ever, because they expect the latest updates to work perfectly with all of their customer software.

It’s tiresome. I think the only way this works is if customers have to log in to a system and agree to surrender all customer support and warranty service for a device to enable the free-for-all mode for them. That doesn’t work, though, because warranty laws require that you service the device regardless unless you can prove it was the modification that caused the RMA, which is a model that works with vehicle service but not the $100 consumer hardware device.

So I get. I wish every device could be totally open, but doing that with normal customer service and support is a huge burden. The only place it really works is devices like Raspberry Pi where it’s sold as something where you’re on your own, not something where customer support agents have to deal with what the product was supposed to do before all of the different mods were applied.
by AdieuToLogic | 2025-09-01 04:21:51+00:00
>> But I have had a feeling of "I came back" which I have solely after waking up from anasthaesia.

> These sound like anaesthetic side effects.

General anesthesia[0] used in surgeries are effectively artificially induced comas. The pre-op discussion with the anesthesiologist includes them describing this and that there is a very real risk that you will die from its usage.

Regaining consciousness after having it applied most certainly invokes a feeling of "I came back" and has nothing to do with side effects.

Source: I have had two general anesthesia[0] and one epidural[1] surgeries.

0 - https://www.mayoclinic.org/tests-procedures/anesthesia/about...

1 - https://my.clevelandclinic.org/health/treatments/21896-epidu...
by kj4211cash | 2025-09-01 04:23:39+00:00
I'd hate to work at a place where the backlog comes from the PM and the requirements come from a mix of PM and UX. Do you really think your PMs know that much more than your Engineers, Data Scientists, Ops/Business, etc.? This just sounds like something the type of PMs most of us hate, the type who insist on being the main character, would say.
by nikhilpareek13 | 2025-09-01 04:24:18+00:00
I wrote a free handbook on enterprise RAG, not the theory, but what happens when you try to scale it in production.

Inside, you’ll find practical insights on chunking methodologies, re-ranking systems, embedding techniques, hallucination control, RAG implementation, evaluation strategies, plus countless additional topics.

You’ll also learn:

- Frameworks to reduce hallucinations - Enterprise evaluation practices - ROI optimization via metrics

Would love feedback from this community.
by Aerroon | 2025-09-01 04:25:27+00:00
>“Hardware I own” sounds like you bought a pan and demand the right to cook any food you want.

Because I did. How come I can do what I want with my computer, but not my phone? Why are phones so inferior in this area?

My phone is more powerful than many of the computers I've had in the past, yet I need to jump through a million hoops to use it as a software development platform. Why?
by cherry_tree | 2025-09-01 04:25:27+00:00
>are still not an occupation

>if

Please provide evidence for your conclusion that it’s not an occupation;

My source was https://en.wikipedia.org/wiki/Israeli_occupation_of_the_Gaza...

Full quote being:

>The United Nations, international human rights organizations,[1] International Court of Justice, European Union, International Criminal Court, some of the international community and some legal academics and experts regard the Gaza Strip to still be under military occupation by Israel, as Israel still maintains direct control over Gaza's air and maritime space, six of Gaza's seven land crossings, a no-go buffer zone within the territory, and the Palestinian population registry.[2][3] Israel, the United States, and other legal,[4] military, and foreign policy experts otherwise contend that Israel "ceded the effective control needed under the legal definition of occupation" upon its disengagement in 2005.[3] Israel continues to maintain a blockade of the Gaza Strip, limiting the movement of goods and people in and out of the Gaza Strip.

None of the Wikipedia reference links support the idea that Israel has stopped occupying Palestine; they simply comment on whether that affects the conflicts international legal status and argue that it doesn’t.

The importance from Israel’s perspective of them officially “not occupying “ Palestine is that they are then justified in more ruthless offensive attacks. Are you taking this position in order to defend Israel’s continued offensive against civilians in Palestine?
by keymasta | 2025-09-01 04:25:28+00:00
This is super cool! I would love to see the specific mapping of keys that were used which were said to be inspired by the accordion. Even though that's a way less interesting detail than the way that the spoon picks up the distances and the "bit banging" used to achieve 8-bit precision on the modulation from two 4-bit connections.

Sounds pretty swell!

I wonder if the spoon controller could be adapted to send modulation parameters to arbitrary instruments via a midi port. I would buy a spoon modulator if it was reasonably priced. It would be a great add-on to a piano style keyboard without pitch bend or mod wheel etc
by chis | 2025-09-01 04:25:46+00:00
I felt the exact same, I can't believe nobody else has commented on it. It feels so disrespectful to such a powerful story to tell it in this way. I mean there's a really interesting core but I just wish I could read the first draft before LLMs overwrote it to death.

"Survivor’s euphoria.” A clinical term, woefully inadequate. It wasn’t just euphoria. It was revelation."
by stephen_g | 2025-09-01 04:26:00+00:00
They can also prefer one role, with a mechanism called Try.SNK and Try.SRC (‘try sink’ / ‘try source’).

Basically DRPs toggle back and forth between sink and source until they happen to match up (one side has switched to source and one to sink). If it doesn’t prefer to do the role it’s resolved to randomly, it can switch to the other way and wait a bit - if the other side is fine with it then it will switch too and everyone is happy, if not you can switch back.

We use this for a device that can on-charge a device when it has external power plugged in (in which case we prefer source role) but not when running on battery (in which case we prefer sink but don’t actually pull any power because it’s self powered).
by pishpash | 2025-09-01 04:26:07+00:00
That argues for opening up the hardware more, not closing down the software.

In fact it further argues that the degree of vertical integration is monopolistic. Why should a Sony CMOS camera be tied to some Apple computational photography code only available in Apple firmware or iOS? What if I do not like that it makes up images that don't exist? What if someone has a better method but now cannot bring it to market?

Break it up and open it up. I assure you it can be done.
by johncolanduoni | 2025-09-01 04:26:31+00:00
Open and hackable products have a niche user base, so these users get a niche set of options. The only way to get mainstream products to play to this tiny user base is to demand that all products be open and hackable by fiat. Otherwise, there’s no incentive from anybody involved (manufacturers, app developers, etc.) to give them something that can run both their banking app and some open source app they compiled themselves. There’s a lot of dancing around the security effects this will have on “normies”, and although there are plenty of armchair proposals I haven’t heard one that doesn’t obviously degrade into some sort of alarm fatigue as both legitimate apps and malware tell you to click though a dialog or flip a setting.
by nunez | 2025-09-01 04:26:46+00:00
Not OP. I did, though I don't think I wrote how. I had to convert everything to Markdown, fix a whole slew of Wordpress-isms in the Markdown it produced and convert Wordpress image references to inline functions. I ended up writing my own partial for handling images, though I don't remember why I did this anymore.

It was a massive pain the rear, and I'm so glad it's behind me. Never again, unless I'm getting paid for it!
by GCUMstlyHarmls | 2025-09-01 04:26:56+00:00
I used zsh for gosh, over 15 years probably now. I swapped to fish at the start of this year on a bit of a whim (new year, new computer, new ~~me~~ shell).

It's pretty good in a "gets out of the way" kind of way, and the `abbr` feature is preferred over aliases but it has some annoying quirks like no dictionary type, the inability to "background blocks of code", requiring spawning a subshell + string which has other issues and in a way it feels sort of stuck between being new and friendly but still carrying over enough baggage to be annoying in other ways.

I tried Nushell a week or so ago and after getting my head around it (and $it and $in, haha) I think it feels like the future. It's not quite there ergonomically in some ways eg: reedline can't edit the current command line, but it's quite close.

What really sold me on it was when I

- Had a flat text file of "url\nartist\ntitle"

- Had to download these urls and insert the artist & title into a database

and I realised I could do it all with Nu primitives,

open new-landings.txt | lines | each { $in | str trim} | chunks 3 | each {{title: $in.0, artist: $in.1, url: $in.2}} | enumerate | par-each { http get ($in.item.url | str replace large medium) | save $"landing-($in.index + 101).jpg" # also insert artist title into database run-app ... etc }

Now, could you do the same thing with zsh/bash/sh? Yep. Some kind of awk/sed thing with xargs I would guess. But I'd have to look it up. With Nu, after a few hours of playing with it I already "knew" how to do it. That felt really powerful.

For reference, I also tried Murex and Elvish. Elvish doesn't support ctrl-z, so its disqualified right there though I like the syntax. Murex seemed fine but Nu was bigger with wider support. I think I saw Nu had pattern matching and it immediately got a big desirability bump.

I remember seeing another comment, wishing we had STDIN, STDOUT, STDERR and STDDATA, maybe one day.
by zozbot234 | 2025-09-01 04:27:17+00:00
> ADHD isn't something that people can just willpower their way out of.

I think conflating structured meditation practice with "just willpower your way out of it" is a pretty severe misconception of its own. That's not at all how it's supposed to work. (In fact, if you struggle with focusing your attention in a meditation setting, you're taught not to apply willpower at all; just "notice" that your thoughts have drifted away and comfortably bring them back without judgment. You wouldn't expect this to help, but apparently it does.)
by joe_the_user | 2025-09-01 04:28:19+00:00
ADHD has a biological cause and drugs are the first-line treatment for good reasons.

I was diagnosed with ADHD as a child and spent several years in special classes as well as receiving a lot of private therapy/tutoring. I'm not a self-diagnosed adult (as is common). I've managed my situation in various way for a long time (50 years) and refused medication the entire time. Phone alarms really helped me when I started using them.

There may be good reasons for drugs but there are also bad reasons - especially, they're a quick "fix" allowing a care provider to do this and wash their hands of the situation.

Further, of course ADHD has a biological cause - human beings are biological beings so every human behavior has a biological cause when you come down to it. But the implication that proscriptions drugs designed based on a deep and verified understanding of the mechanisms of ADHD is completely false - ADHD drug prescription, like all behavior-altering drug prescription, is based on just "bucket chemistry", maybe-educated guess work. Which isn't implying drugs don't work for some people. But I think it's important to be clear the various drugs aren't ADHD cures in the way that antibiotics are cures for infection. But again, I support the right of people want ADHD drugs to have them. But I think drug use shouldn't be automatic.
by echelon | 2025-09-01 04:28:36+00:00
And yet you're apparently not losing your mind over Mark Zuckerberg having his products on the web? He's doing everything you claim on the open web - third party trackers embedded on other websites, etc. Do you want to lock down the web?

I think you have a reason for defending Apple. Maybe you love the company, maybe you've got their stock, maybe you've worked for them.

Apple is a trillion dollar behemoth that has distorted the market and removed freedom and choice. They're a menace that needs to be regulated. Period.

I also think Zuckerberg's tracking needs to be regulated, but that's a battle for another day. It's one we haven't so egregiously lost yet.

People don't need Meta. People need smartphones. And smartphones are draconian dictatorships that the government has been too asleep and too lax to regulate.
by cyphar | 2025-09-01 04:28:40+00:00
Even the smallest nations have the legal right to permanently incarcerate, strip you of your assets or even murder you if you are in their sphere of influence. I would hope you'd agree those are not powers that we should grant to large corporations...

I think it's shocking how many people Google can affect through its search algorithms (more than any nation on Earth) and yet there is no democratic system to hold them accountable.
by necovek | 2025-09-01 04:28:56+00:00
If that's the case, what is a practical difference between you having access to your device or not?

You could be installing random crap from the store, or not from the store. Or you could not be installing random apps from either.

I don't feel any more protected by device restrictions. Yes, containerization helps, but I like having root on my device (eg. I backup different .sqlite files from different apps through ssh to my phone). My phone has FDE, and is probably not at all less "safe" than yours.
by alricb | 2025-09-01 04:28:57+00:00
What was then called the "lower crankcase member", which was also the lower part of the transmission housing, we would refer to as an oilpan. The cranksshaft ran in bearings located between the cylinder blocks and the bearing caps, like on a modern engine. There was no separate crank case and cylinder block like you might find on, say a WWII aero V12.
by pixl97 | 2025-09-01 04:29:09+00:00
>why teams and companies have taken this defensive stance that their service is being “abused” despite having nothing even resembling an SLA.

I mean because bad code on a fast client system can cause a load higher than all other users put together. This is why half the internet is behind something like cloudflare these days. Limiting, blocking, and banning has to be baked in.
by nurettin | 2025-09-01 04:29:36+00:00
Yes, you could just use Arc everywhere. But then you've spent a large portion of your coding time fighting the compiler and wasting lines for something that will essentially always be single threaded. (a UI event loop)

The C++ solution would be to start the threads and use an MPSC queue (which, ironically, Rust also has) in order to update the UI.

Rust will eventually stumble upon ergonomics and allow portions of code to be specified as single threaded or embarrassingly parallel, but unfortunately the community evolved horse blinders early on and isn't letting them go any time soon.
by GeekyBear | 2025-09-01 04:29:48+00:00
The real battle is over Google selling the public on the notion that Android would be the "open" platform that allowed people to run anything they liked on their device, and then deciding to use anticompetitive means to take that freedom away.

Without that fraudulent marketing, Android never would have crowded out other options so quickly in the marketplace.

The solution is to either have Google back down on breaking its promise that Android would be open or to have an antitrust lawsuit strip Android from Google's control.
by vmurthy | 2025-09-01 04:31:37+00:00
What a beautiful, thought provoking article! When I saw the title , I thought it was a book summary of “My stroke of insight” [0]. This book is by a neuro-anatomist who had a rare stroke resulting in the left hemisphere of her brain being incapacitated. That led her to experiences similar to that of the article’s author. Do check out the book and pair it with the article

[0] https://www.goodreads.com/book/show/142292.My_Stroke_of_Insi...
by tomasphan | 2025-09-01 04:31:56+00:00
Should we really demand this of every AI chat application to potentially avert a negative response from the tiny minority of users that blindly follow what they’re told? Who is going to enforce this? What if I host a private AI model for 3 users. Do I need that and what is the punishment for non compliance? You see where I’m going with this. The problem with your sentiment is that as soon as you draw a line it must be defined in excruciating detail or you risk unintended consequences.
by superkuh | 2025-09-01 04:32:02+00:00
The sysinternals guys (Mark Russinovich and Bryce Cogswell) and code, at least most of it, existed independently of microsoft for many years. It was great. So great MS bought it and brought it and them inside. Russinovich is CTO of Azure now or something. So sysinternals is now random MS hires but I like to think it's still not really a microsoft product, just owned and mantained by them.

I was a windows user till XP came out and I've missed sysinternals tools. I'm going to enjoy this on my newer kernel machines. Seems to require some pretty cutting edge features.
by ahazred8ta | 2025-09-01 04:32:25+00:00
> I am not competing with Google maps, my project isn't customer facing

Okay, that sounds much more manageable. But then could you please clarify? Your original question was about an alternative to Google Maps. But now you say you actually want an alternative to a different kind of gis mapping system. If you go into MUCH more detail about the context, we can give you better guidance.
by nunez | 2025-09-01 04:33:00+00:00
All fun and games until they decide that they want to charge you a million bucks a month to pay for the uncontestable added value their AI features (that you don't use and never will use) provide. Or they get bought by private equity or some other faceless entity and basically leave it out to rot, security vulnerabilities and all. Or they take any of the millions of paths to guaranteed enshittification while keeping your blog hostage (until you can spare the eight hours it will take to move your content to something like Hugo!)

This was the reason why I invested in my hacky blog build and deployment script instead of moving my stuff over to Medium or Netlify when that was popular. You gotta look out for yourself.
by josephg | 2025-09-01 04:34:23+00:00
My parents are getting old and they aren't tech savvy. The missing piece here is that I want my parents to have a computer they can safely do their banking on, without leaving them vulnerable to scams and viruses and the like. I like that they have iphones. Doing internet banking on their phone is safer than doing it on their desktop computer. Why is that?

The reason is that the desktop PC security model is deeply flawed. In modern desktop operating systems, we protect user A from user B. But any program running on my computer is - for some reason - completely trusted with my data. Any program I run is allowed to silently edit, delete or steal anything I own. Unless you install special software, you can't even tell if any of this is happening. This makes every transitive dependency of every program on your computer a potential attack vector.

I want computers to be hackable. But I don't also want my computer to be able to be hacked so easily. Right now, I have to choose between doing banking on my (maybe - hopefully - safe) computer. Or doing banking on my definitely safe iphone. What a horrible choice.

Personally I think we need to start making computers that provide the best of both worlds. I want much more control over what code can do on my computer. I also want programs to be able to run in a safe, sandboxed way. But I should be the one in charge of that sandbox. Not Google. Definitely not Apple. But there's currently no desktop environment that provides that ability.

I think the argument against locked down computers (like iphones and androids) would be a lot stronger if linux & friends provided a real alternative that was both safe and secure. If big companies are the only ones which provide a safe computing experience, we're asking for trouble.
by wraptile | 2025-09-01 04:34:42+00:00
This is a very popular pattern in python where you'd introduce _variable before the evalution so:

if (user.id < 4 and user.session): ...

# you'd do

_user_has_access = (user.id < 4 and user.session) if _user_has_access: ...

# or even walrus

if _user_has_access := (user.id < 4 and user.session): ...

One of my coworkers really liked this pattern and his code was always so easy to read and to this day I'm carrying this torch!
by bubblebeard | 2025-09-01 04:35:49+00:00
Just one more reason not to buy a Switch 2. Seriously, Nintendo has become worse than Apple when it comes to treating their customers. I own hundreds of Nintendo games and every console they ever made, sometimes in multiples. But when I saw of all the shit they were trying to pull with the Switch 2 I decided I was done with that company for good.