MurphyA/hacker-news huggingface dataset:
by iamthepieman | 2025-04-20 23:42:15+00:00
Or find a way that works for you, gets you jobs and keeps you from breaking your moral framework.

I compare it to driving in traffic. A lot of times I'm not in a hurry and can just stay in one lane and crawl along. Other times, I am in a hurry and I can weave in and out, getting flustered and angry and nearly crashing and still end up 4 cars ahead of where I'd have been without all that.
by twodave | 2025-04-20 23:42:43+00:00
I’ve had visual migraines ever since I started training hard with weights. Played sports in High School and never had one, but suddenly I’m doing CrossFit in my late 30s and an hour after a workout I get these sparkly jagged lines in my vision (both eyes!). It took a while to even be able to describe them, let alone figure out what they were. Thankfully there’s no pain and they clear up after a while, but I have noticed since this all started that I’m also a bit more sensitive to screen brightness. That HDR emoji article from the other day was kind of triggering.
by gwern | 2025-04-20 23:43:03+00:00
Really? Your examples seem the opposite. I am left immediately thinking, "hm, is it failing on a '!', some sort of shell issue? Or is it truncating the string on '#', maybe? Or wait, there's a space in the third one, that looks pretty dangerous, as well as noticeably longer so there could be a length issue..." As opposed to the shrunk version where I immediately think, "uh oh: one of them is not handling an empty input correctly." Also, way easier to read, copy-paste, and type.
by lozenge | 2025-04-20 23:43:44+00:00
Why would OpenAI vibe code anything? They have hundreds of experienced software engineers. Vibe coding is meant to replace an intern, not your actual team.

They don't want to get into specific industries (AI for software development, AI for business process management, AI for knowledge workers). They just do the AI component. Maybe that's changing now, but they still let other people take the risks - you know, people who are passionate about coding. Then when the product is proven, they might acquire it.
by slowmovintarget | 2025-04-20 23:45:23+00:00
Following those guidelines, how do you not end up with a perpetual 401 response from the REST API?

I understand the idea of separating the OAuth audience between the MCP Server and the REST API it wraps. What I don't understand is how the MCP Server itself gets authorized against the REST API, unless there's a privileged client (that is the MCP Server has an API client by which it identifies itself, and not the end user).

How do you operate within the privileges of the end user in that case? It seems like it would still require the REST API to accept some additional signal of the end user's identity in order to make the authorization decisions. So while the MCP Server access token is "no good on the REST APIs" you have the additional problem of either "trust me, I'm an MCP Server" or the MCP Server has to exchange the "no good" token for an equivalent "good" token that also somehow carries the index to limitations of the user (identity in the case of fine-grained access control, and scopes in the case of coarse-grained).
by ldunn | 2025-04-20 23:45:25+00:00
This tells you that the chance of detecting dark matter is higher than it would be if it were only, say, 0.1% of the energy content of the Universe. Which is true, but so what?

Maybe you mean that this is a sense in which how hard it is to detect has something to do with how much of it there is, which is fine, but the original question is suggesting some much more constraining relationship, where the fact that dark matter is hard to detect and the fact that there is a lot of it poses some kind of apparent contradiction, or at least a puzzle. I don't know of a reason to think that any such contradiction exists.
by mmooss | 2025-04-20 23:45:37+00:00
Notice why Hesgeth's aids were fired:

> According to the Times, the private chat also included two senior advisers to Hegseth – Dan Caldwell and Darin Selnick – who were fired last week after being accused of leaking unauthorized information.

I understand the tactics of much of what Trump and his people do, even though I often disagree. I understand why Trump has DOGE moving quickly and breaking things; I understand why they show contempt for the law, rules, and customs - they want to destroy those things.

I don't understand the utter incompetence that often appears; an earlier example was team Trump's court filings challenging the 2020 elections but there is lots more. How does that furthering the neo-fascist / conservative / Trump mission? I suppose it's disruptive but if they just showed basic competence they would probably get away with much more.
by neonsunset | 2025-04-20 23:45:39+00:00
Using spans, structs, object and array pools is considered fairly idiomatic C# if you care about performance (and many methods now default to just spans even outside that).

What kind of idiomatic or unidiomatic C# do you have in mind?

I’d say if you are okay with GC side effects, achieving good performance targets is way easier than if you care about P99/999.
by dijksterhuis | 2025-04-20 23:47:03+00:00
> I'd point out it is a victimless crime

is it though?

https://www.theguardian.com/commentisfree/2025/apr/05/why-tr...

> as a first-term Trump administration official and ex-CIA officer, I believe the reason these officials risk interacting in this way is to prevent their communications from being preserved as required by the Presidential Records Act, and avoid them being discoverable in litigation, or subject to a subpoena or Freedom of Information Act request.

not american, but wouldn't the victims in this case be 'every american'? i suppose it depends on whether you think PRA/FoIA et al. are important in holding governments to account or not.
by tptacek | 2025-04-20 23:47:48+00:00
This is a thread that began with opprobrium over "sickly" people being allowed into the gene pool and is now ending with a dissection of whether the Nazis really were as bad as they're made out to be. For the record: my assessment of Nazism doesn't much change even if you switch its mode of governance from fascism to classical liberalism. Nazism wasn't bad simply because it didn't adhere to the non-aggression principle.
Show HN: I built AI-powered job search that puts job seekers first
by sp1982 | 2025-04-20 23:47:59+00:00
Hey everyone – I built jobswithgpt to solve my own frustration with job search platforms that often feel cluttered and hard to navigate.

What it does:

Indexes only jobs posted directly by companies (on their own sites or ATS) No recruiters, no staffing noise Clean, fast search across hundreds of thousands of real listings Save/bookmark jobs. Ask OpenAI for insights or recommendations per job No sign-up required to get started Since last time, I’ve added new features and fixed a bunch of bugs — including faster search, better job grouping, and smarter GPT recommendations.

Why: Many job boards rely heavily on sponsored listings, which can make it harder to discover valuable roles. I wanted something simple, transparent, and genuinely helpful for job seekers.

This is a side project to learn RAG and more about capabilities for various GPT models — just seeing if it resonates with others too. You can also try customgpt, if you prefer that. https://chatgpt.com/g/g-67fc0d86a5a88191aa5cb21f99f6b9e8-job... Would love feedback!
by Lerc | 2025-04-20 23:48:26+00:00
The Antenna 'malfunction' was what I was referring to. It seems quite a sensible first step to attempt to control the flow of information in order to carry out a deception. I think there was no 'psychosis'. Just a logical processing of the rules.

I don't think incorrect usage constitutes a malfunction. Hitting your thumb with a hammer is not a malfunctioning hammer. If the head came off and hit your thumb it would be. The distinction is that the first it is creating an unforseen result while performing the behaviour it was designed to do. The head coming off is the hammer not performing the function it is designed to do.

I think HAL was doing precisely what it was designed to do.

>This is equivalent to a poor prompt, it feels like splitting hairs.

I don't think so. I think it is implicit in the notion of aprompt that it is specifying a request in service of a single entity. Two different conflicting prompts in service of different people is a particular situation that should be distinct from poor prompting.
by pdimitar | 2025-04-20 23:48:31+00:00
> I haven't had a chance to try Elixir's new type system (is it ready yet?)

Sadly no, and it will likely not be fully ready for years still. It's not a funded work and only a few people are working on it (AFAICT) and the core team understandably wants gradual movement and no incompatibilities.

Elixir made me rediscover love for programming and gave me productivity I never dreamed of. But after using it for 9 years, the lack of static typing really started getting on my nerves. There are only so many times you can do manual exhaustive pattern-matching on the hot paths that yell errors in production before you start feeling envious of Rust and Haskell.
by presentation | 2025-04-20 23:48:47+00:00
Your solution doesn’t work perfectly, it works perfectly in the sense that your engineers wont see errors related to this situation; but it does not work perfectly in that your users have a crappy experience. For example if you have some long form and after a user inputs a ton of stuff, you just refresh their browser for them and wipe it all out, then that is a crappy experience. Or you refresh their browser when their internet connection is bad and then prevent them from using your app until the whole thing reloads.

Maybe that doesn’t matter for your use case or you’re willing to do a lot more legwork to prevent issues like that from occurring but there will always be tradeoffs.
by 0xDEAFBEAD | 2025-04-20 23:48:48+00:00
One way to think about it is: Imagine an electorate that constitutes a bell curve along a left-right axis. The mode of the bell curve represents a milquetoast moderate position, with the tails representing extremes. Different electoral systems can have different biases:

* You can have a "heavy-tailed" congress, where extremists are overrepresented.

* You can have a "thin-tailed" congress, where moderates are overrepresented.

* You can have a "representative" congress, where the range of views in congress looks very similar to the population at large.

At first blush, for the sake of policy stability, a "thin-tailed" congress appears desirable.

But there is also an interesting argument that it's important not to disempower extremists. Democracy could be considered as a "safety valve" that empowers groups to resolve disagreements cooperatively. If some groups don't feel their views are represented, they might condemn the system and seek other ways for their voices to be heard. Something like the 60s civil rights movement in the US could be seen as an example of this. Arguably, the 60s would've been more stable, if the US electoral system wasn't as disenfranchising to minorities with "extreme" views relative to the median at that time.

I can't think of any arguments for a heavy-tailed congress though.

The weird thing about the US system is on the one hand there is the promotion of extremists, but on the other hand, authors like Ezra Klein complain about excessive "veto points" and checks and balances that prevent elected officials from accomplishing stuff. Individually these seem like flaws, but it might be bad to fix one without fixing the other.

I think the US system sucks in absolute terms, but has also worked remarkably well given that it was designed in 1787. "By our estimate, national constitutions have lasted an average of only seventeen years since 1789" https://www.law.uchicago.edu/news/lifespan-written-constitut...

People love to complain about "American exceptionalism", but from my perspective, it contributes to a sense of civic pride that's kept the wheels on the bus for such a long time despite a lousy constitution. So I'm concerned that it may be going away.
by BiraIgnacio | 2025-04-20 23:50:31+00:00
Is Trump’s presidential reign turning the US into an oligarchy? Or did the US fall into oligarchic rule many years ago? In episode 127 of Overthink, David and Ellie dive into what an oligarchy looks like, the dangers of a country’s power being in the hands of the wealthy few, and whether or not oligarchic rule is new for the US. They look to the ancient Greeks for ideas on which form of government is conducive to the good life and explore how Aristotle’s notion of pleonexia relates to the current state of the US. Your hosts investigate how oligarchy morphs into tyranny, and try to answer the question, “How can we resist an oligarchy?” In the bonus, Ellie and David look at the four different types of oligarchy discussed by Jeffrey Winters.
by eadmund | 2025-04-20 23:52:00+00:00
> each of which must be changed when some library at the bottom of the stack changes slightly.

I hate checked exceptions too, but in fairness to them this specific problem can be handled by intermediate code throwing its own exceptions rather than allowing the lower-level ones to bubble up.

In Go (which uses error values instead) the pattern (if one doesn’t go all the way to defining a new error type) is typically to do:

if err := doSomething(…); err != nil { return fmt.Errorf("couldn’t do something: %w", err) }

which returns a new error which wraps the original one (and can be unwrapped to get it).

A similar pattern could be used in languages with checked exceptions.
by gruez | 2025-04-20 23:53:02+00:00
>Uber is able to charge little because at the other end they're able to pray on people who make bad financial decisions or have no other option for one reason or another.

Yeah, it's called supply and demand. When supply is high, prices are low.

>In a fair world they'd not only raise prices

What do you think happens prices go up? Taxi prices are already high as it is. Raising the prices would mean less riders, which is arguably worse for those drivers. Moreover this is essentially price fixing, but I guess you're fine with it because it's not an evil corporation doing it?
by nickjj | 2025-04-20 23:53:03+00:00
Thanks a lot for the reminder.

I just pushed an update to remove VcXsrv at: https://github.com/nickjj/dotfiles/commit/fdc1ddd95c2defb791...

As for why I was using it:

I've been using WSL since nearly the beginning (2017 / 2018) and used VcXsrv back then to get bi-directional clipboard sharing before WSLg was available. For a brief time I even ran Sublime Text in WSL 1 way back in the day.

Then I used WSL 2.

Then I tried WSLg when it first came out and it was really bad. Clipboard sharing didn't work for me which was the only reason I wanted to use it. I set `guiApplications=false` and never looked back.

I just tried it again now by closing VcXsrv and removing any DISPLAY related settings I had in my zsh profile. Then I shutdown WSL and started up my instance.

Bingo, clipboard sharing "just works" and I also installed xcalc which ran flawlessly. This simplifies things so much.
by jameskilton | 2025-04-20 23:53:05+00:00
I would request that you think about such situations a bit more before posting a public comment like this. Military security is first and foremost about protecting our armed forces. When the Pentagon plans an attack, it is vitally important that only our military knows about the plan and no-one else, especially the enemy.

It's only a matter of time that our maximally incompetent Secretary of Defense does something that leads to the death of our own armed forces personnel. E.g. the Houthi learning about an incoming attack and shooting down the pilots, or harassing and killing our Navy sailors patrolling the area.

I highly recommend reading Secretary Gate's memoir about being the Secretary of Defense for Bush Jr. and Obama. There is so much at stake that very few people ever talk about. https://bookshop.org/p/books/duty-memoirs-of-a-secretary-at-...
by susam | 2025-04-20 23:54:13+00:00
Very impressive! I have come across your website before as well. I really like how polished and sophisticated the demos are. Great work, and thanks for sharing!

I'd like to take this opportunity to share a couple of my own, much less impressive, tools that explore similar ideas:

https://susam.net/cfrs.html (Turtle graphics but with only 6 commands)

https://susam.net/fxyt.html (Inspired by Tixy but stack-based with 36 instructions)

To see the demos, click or type '?' and then scroll down to the bottom of the manual.
by polalavik | 2025-04-20 23:54:46+00:00
Uhh this is important because the onus and health risks of contraceptives have been entirely shouldered by women. Not because a very low percentage of men have been “coerced” into fatherhood.

There’s lots of comments in this thread on the risks of cancer and this and that risk with male contraceptives. meanwhile, these are already real issues women have to consider when using modern day hormonal contraceptives. The discourse in this thread is so dude-centric tone deaf.
by kstrauser | 2025-04-20 23:55:20+00:00
There are more liquor stores than weed stores near me. We've decided as a society that it’s OK to have liquor stores all over the place. It’s wild to me to fret over the far fewer numbers of dispensaries.

Yeah, weed is probably bad for you, given enough of it. It turns out there's no safe dose of alcohol, and no one’s figured out where weed’s harm eventually kicks in, so why worry about its societal effects which we know are vastly lesser?

I drink beer and don't use weed. All of the above is from someone who couldn’t care less about marijuana for themselves.
by dogacel | 2025-04-20 23:56:46+00:00
What is the expected cost of running those tests? I think it would be a good argument to compare this to running cost of unit / integration tests for a function (based on action runners).

If it is so expensive, it can be distributed as a simple GitHub integration / action that runs perodically, what do you think?

Also see, https://dl.acm.org/doi/abs/10.1145/3663529.3664458
by AStonesThrow | 2025-04-20 23:56:59+00:00
Any discussion of aural experimentation would be incomplete without KaTe Bush [and a cast to rival Harry Potter films] performing "Experiment IV"

https://music.youtube.com/watch?v=NTUcoR8_pyE&si=5cdUmgT9sDo...

"They told us all they wanted was a sound that could kill someone from a distance..."
by jcastro | 2025-04-20 23:57:06+00:00
> It uses 20 different copr repos (granted, half are their own), and I didn't count how many packages. Best I can tell, none of the versions are pinned.

Contributor here, we've been working on this diligently over the past cycle (the rest of the org is mostly done, Bazzite is largest so we're only getting to it now). We're hoping to be done over the summer with published SBOMs and all that good stuff.
by Marsymars | 2025-04-20 23:58:06+00:00
I dunno, my elderly and non-tech-savvy in-laws travelled to the US (from Canada) last week and wiped their phones of social media apps and stored messages before crossing the border based on media reports around the US CBP’s handling of border crossers’ devices, so I’d say an empty phone is pretty plausible for anyone in that situation.
by goeiedaggoeie | 2025-04-20 23:58:21+00:00
Space is the main reason. We live in the city and the amount of organic waste we (family of 4 + numerous pets) produce is staggering. additionally meat attracts animals. This I run an overnight cycle and I can add it to my compost heap and let it degrade more and no issues with rodents and other animals who dig through food waste. after using this device, in the future I would always grind/break up my organic waste as fine as possible just to save space.
by YurgenJurgensen | 2025-04-20 23:59:50+00:00
Is it? I can install every version of Minecraft all the way back to Alpha if I want. I can roll Factorio back to any version until 0.12. I can pick exactly which of thirty seven thousand OpenSSL commits to install. Many arcade ports of games targeted at enthusiasts come with every revision on disc and let the user decide. My copy of Blade Runner came with three different versions in one box. We have had the technology to preserve every version of every significant work for decades. If the re-issue doesn’t preserve the option to experience the original, it’s entirely because the publishers chose to not make it available.
by bigyabai | 2025-04-21 00:00:41+00:00
One of the most famous recorded surface-to-air missile kills on a stealth aircraft was enabled by spies reporting formations and timing:

https://en.wikipedia.org/wiki/1999_F-117A_shootdown

https://en.wikipedia.org/wiki/Zolt%C3%A1n_Dani

Yugoslav spies residing near Italian NATO airbases informed the Yugoslav Air Defense HQ about lack of EA-6 Prowler electronic jammer and "Wild Weasel" anti-SAM aircraft launches during the late evening.
by charlotte-fyi | 2025-04-21 00:04:23+00:00
Isn't the persistent failure of developers to "know" that their code is correct the entire point? Unless you have mechanical proof, in the aggregate and working on any project of non-trivial size "knowing" is really just "assuming." This isn't academic or pedantic, it's a basic epistemological claim with regard to what writing software actually looks like in practice. You, in fact, do not know, and your insistence that you do is precisely the reason that you are at greater risk of creating memory safety vulnerabilities.
by lurk2 | 2025-04-21 00:05:25+00:00
> A telesync (TS) is a bootleg recording of a film recorded in a movie theater, often (although not always) filmed using a professional camera on a tripod in the projection booth. The audio of a TS is captured with a direct connection to the sound source (often an FM microbroadcast provided for the hearing-impaired, or from a drive-in theater). If a direct connection from the sound source is not possible, sometimes the bootlegger will tape or conceal wireless microphones close to the speakers, as it is better than a mic on the camera. A TS can be considered a higher quality type of cam, that has the potential of better-quality audio and video.

https://en.wikipedia.org/wiki/Telesync
by tptacek | 2025-04-21 00:05:39+00:00
I have no idea who you are, no personal connection to this thread, no real reason to commit myself to any side of this argument; this is all happening basically in the abstract to me. It is in that spirit that I tell you, as candidly as I can, that your position is in fact inextricably linked to the worst thing ever.

I believe you when you say that you don't believe it is and that you fervently don't want it to be. But that doesn't change the morality of a discussion about whether it is good or bad that certain people (those clearing your moral filter) exist.
by wredcoll | 2025-04-21 00:06:39+00:00
There is absolutely not such an api. For one thing, nobody actually knows because nothing stops random people from publishing a book at any time.

For another, the major book publishers like amazon want to prevent anyone else from having their data.

Beyond that, book metadata is probably the least standardized thing I have ever seen in my entire life.

Titles, subtitles, editions, editors vs authors, series...
by goeiedaggoeie | 2025-04-21 00:07:34+00:00
it allows us to get all our organic and bio plastic waste for a big family with pets, including most bones once we have cooked stock from it, in a compost heap in the city.

we tried composting before and the volume of organic waste we produced was too much and we had to dispose a lot of our waste in general trash (our location has no organic waste disposal that runs in our neighborhood) meant animals ripped our curb side bags open.

I am not a degrowther to save the planet either, so a company putting compostable products in place of plastic ones seems like good economic activity.