MurphyA/hacker-news huggingface dataset:
by Callicles | 2025-05-19 22:54:53+00:00
I put this Docker-Compose recipe together to make kicking the tires on Moose—our open-source data-backend framework—almost friction-less.

What you get:

• A single docker compose up that spins up ClickHouse, Redpanda, Redis and Temporal with health-checks & log-rotation already wired.

• Runs comfortably on an 8 GB / 4-core VPS; scale-out pointers are in the doc if you outgrow single-node.

• No root Docker needed; the stack follows the hardening tips ClickHouse & Temporal recommend.

Why bother?

Moose lets you model data pipelines in TypeScript/Python and auto-provisions the OLAP tables, streams and APIs—cuts a lot of boilerplate. Happy to trade notes on the approach or hear where the defaults feel off.

Docs: https://docs.fiveonefour.com/moose/deploying/self-hosting/de...

18-min walkthrough video: https://www.youtube.com/watch?v=bAKYSrLt8vo
by throwawaymaths | 2025-05-19 22:54:58+00:00
ets tables are the goto for data structures (for example the :digraph module that ships with elixir is built on an ets table, presumably because A* needs a mutable datatype)

Process dictionary is also an option.

Can always use a genserver as a data store (but only do that if lifetime shenanigans make it make sense)

Postgres is also an option. Sqlite if you don't want to stand up a service.
by lesuorac | 2025-05-19 22:55:04+00:00
Fidelity isn't a sane investor?

Crucial X.ai bought out X with a minority of stock. X.ai as in the thing spun out from X to do ai using X's data. Fidelity seems to value X.ai enough to be happy to have gotten more shares of it using the X shares.

I swear if OpenAI happened like 1 year prior to the twitter sale then everybody would have a different opinion about 44 Billion being the correct price for twitter.
by gnabgib | 2025-05-19 22:55:31+00:00
Discussions (58 points, 2 days ago, 23 comments) https://news.ycombinator.com/item?id=44013517

(48 points, 4 days ago, 6 comments) https://news.ycombinator.com/item?id=43998563

Related Nextcloud cries foul over Google Play Store app rejection (280 points, 7 days ago, 230 comments) https://news.ycombinator.com/item?id=43970959
by SllX | 2025-05-19 22:55:33+00:00
There is always an argument for that from each country’s, treaty organization’s, and corporation’s perspective: what are we relying on and what laws is it subject to? That cuts across both sides of the Atlantic.

All I’m doing though is pointing out that no European institutions were harmed by this result, and I’ll even add to that that generally the American sanctions regime is often a benefit to our allies; and this type of sanctioning is something we have usually done in concert with our European allies. What’s different this time is that it’s targeting an ICC prosecutor rather than people who are also on the EU’s hit list, namely Putin’s cronies.
by MrDarcy | 2025-05-19 22:55:41+00:00
I tried aider today with a Gemini API key and billing account. It’s not close to the experience I have with Claude Code on Saturday which was able to implement a full feature.

The main difference is I interact with Claude Code only through conversation. Aider felt much more like I was talking to two different tools, the model and Aider. For example, constantly having to add files and parse the less than ideal console output compared to how Claude code handles user feedback.
by mmooss | 2025-05-19 22:56:01+00:00
> taking away from one group to give to favored groups

That's right out of the playbook of how to promote racism and descrimination - tell people that the 'Blacks', etc. are taking their jobs. It literally goes back to the days of slavery, when they would turn poor whites against black slaves. God forbid the poor and oppressed got together; then they might vote out the wealthy and powerful.

DEI is not redistribution. It's eliminating bias that favors the powerful groups, mostly white guys, that have benefitted - many unwittingly - from that bias for all of US history. If you want your job on merit, if you want a fair chance rather than a handout, you should favor DEI. If you think there's no bias, you are living in a fantasy - it's gone on for centuries, the documentation and research are overwhelming, and it's boomed since 2016.
by disambiguation | 2025-05-19 22:56:30+00:00
Not exactly tech related, though it shines a light on the fringe cultural pockets facilitated by the internet - without which might not take form otherwise.

As for the tragedy itself, it may be the author connecting the dots for us but it almost reads like Bartkus reacted to the emotional devastation of Sophie's cold, calculated act of assisted suicide.

One version of the story is of violence in the name of an ideological crusade. The other, a broken heart and a cry for help.
by RHSeeger | 2025-05-19 22:57:12+00:00
I don't think anyone with a brain thinks that the DEI rules don't provide benefit to people of a minority at the expense of the people in the majority. But they also provide benefits to the minority as a whole against the system as a whole, to help raise them up from the lower starting point they been pushed into. And it's a balance between individual unfairness (negative impact to individuals of the majority) and systematic fairness (positive impact to the minorities as a whole). The end goal is that all groups start at the same point and the nobody needs to be given preference because of their group.

Anyone who thinks "you have to hire a certain amount/percentage of minorities" doesn't mean, by definition, that you will need to negatively impact _individual_ members of a majority hasn't spent any real time thinking about how it works. But the point is that it's worth it for society as a whole.
by HenryBemis | 2025-05-19 22:57:26+00:00
> will be distributed to members of the bureaucratic class and their network, for low-risk, low-reward projects

a quick search at the comments (so far) yielded zero results on "data prot", "GDPR", "privacy", so let me bring those up.

GDPR is a _great_ tool for civilians GDPR is a _horrible_ tool if you are a business and want to innovate, expand, 'exploit' (positively). EU money will come with E(U) DP Supervisor and the many directives. There is no way someone can do a proper DPIA and find it 'clean' if you are honestly appraising processes x GDPR. And these people are fierce nay-sayers. I've worked in banks, and I've worked in the EU. Those EU folks shit their pants when the DPOs walk in the room. Say "Legal basis" to someone working in the EU and see them cry (ok I exaggerate). US has been 'stealing' the talent from all around the planet, for decades (and good for both the US and the talents). Why would someone try hard and have regulations every step of the way, and not work for Google? Many years now I've felt that US is 30 years back in "tech" and will never catch up. US companies are dominating the space, and for every 10 steps we do in the EU, they go 10 miles, so every last year was better gap-wise. And I fear it won't change.
by XorNot | 2025-05-19 22:58:03+00:00
Application specific credit card numbers really needs to be a legally required thing.

My card has been skimmed a couple of times and by far the most annoying part of the experience is having to reset and update regular accounts with the new number.

Of course for online purchases the whole flow here should be inverted: businesses should just be registering against my payment provider directly, no account numbers involved (under the hood maybe have it be managed by ED25519 public keys for identity?)

EDIT: while we're at it, why even have persistent numbers for in person cards? Let me tap it against my phone, invalidate the stored key from that time on, and generate a new one.
by bpshaver | 2025-05-19 22:58:07+00:00
No, I was correct. Briefly, my question was "why is static typing good?" and the answer given was "static typing is good because it makes development easier." To the extent that "good" here just means "makes development easier" (and I think that is a lot of what "good" means in this context) then the answer I received was question begging to precisely that extent. Which is why I said "... to an extent." The conclusion was not quite assumed but a pretty similar conclusion was.

I can see how it appeared that I was using the phrase in the incorrect way! That usage bothers me too, and I am attentive to it.
by montymintypie | 2025-05-19 22:58:47+00:00
It's funny, more than any productivity app (though I do have a few of those), the Directory Opus [1] Explorer replacement is one of the things that I've yet to find a viable replacement for on both Linux and macOS. Unparalleled customisability, scriptable actions, outstanding performance (thumbnailing 10,000 images in a folder never causes slowdown), incredible search and "huh, why doesn't anyone else do this" features everywhere. I use my file explorer a lot so the friction is felt daily.

I'm using Forklift [2] on my mac at work, but it's a pale imitation of what a file explorer can truly be. I did some searching for Linux but it's all pretty pedestrian.

[1]: https://www.gpsoft.com.au/ [2]: https://binarynights.com/
by themadturk | 2025-05-19 22:59:02+00:00
Obsidian Sync is great (it helps that I got in on early-bird pricing...but it really is reliable).

In addition, the Git plugin, coupled with Working Copy on my iPhone and iPad, also work extremely well, with a bit of added overhead. Though iCloud works reasonably well for just about everything else, I haven't used it for syncing Obsidian data.
by ActorNightly | 2025-05-19 22:59:05+00:00
>in a world where half of all published "science" is fake or fraudulent (and dominated by leftists),

See here is the thing- you don't know this is true. You never actually went and looked at the science or verified how much of it is fake. And yet, at the same time, you benefited from this science when its convenient to you because you probably don't realize that a medication or something you are using came from left leaning university.

This is what I mean by being out of touch with reality.
by mmooss | 2025-05-19 22:59:09+00:00
> Everyone knows that DEI is a dog whistle for discrimination against straight white males. (Or in some contexts, also white women or asian men).

Who is everyone? DEI was widely supported until very recently, when an oppressive government acted against it.

DEI is about making things fair in hiring and otherwise. For example, who gets into college? To a great extent, children of (almost entirely white) legacies, and of (almost entirely white) wealthy parents, and they go on to be the wealthy and powerful. How can we give minorities the same opportunities?
by insin | 2025-05-19 22:59:11+00:00
I'd interpret the original statement as "tests which don't matter" and "documentation nobody will ever read", the ones which only exist because someone said they _have_ to, and nobody's ever going to check them as long as they exist (like a README.md in one my main work projects I came back to after temporarily being reassigned to another project - previously it only had setup instructions, now: filled with irrelevent slop, never to be read, like "here is a list of the dependencies we use and a summary of each of their descriptions!").

Doing either of them _well_ - the way you do when you actually care about them and they actually matter - is still so far beyond LLMs. Good documentation and good tests are such a differentiator.
by refulgentis | 2025-05-19 22:59:20+00:00
> The point of APCA is to make the contrast calculation more perceptually accurate, not just lower the threshold.

If you're unlucky enough to be familiar with the math, it is trivial to show it lowers the threshold at luminances, no matter the luminance (widely accepted Y or L*, or APCA's own luminance calc)

Re: the idea I think the point of APCA is to lower contrast threshold - you're entirely correct that this is a side effect of the main goal - to model contrast more accurately.

There is no such thing as non-perceptual contrast, perceptual contrast is a tell stuff is being regurgitated.

We're a bit far afield when we're doing APCA => BCPA => claims actually contrast ratio is 2.4 => look at actual contrast ratio, and its...5.39.

2.4 is supposed to be unreadable, which clearly isn't the case here.

So what's going on?

The wrong text size is being used on the BCPA site, it's being calculated as if it's 12 pt and it's 36 pt in the article.
by diggan | 2025-05-19 23:00:24+00:00
Who has the record for being in the most breaches? My main email seems to currently be in 40 breaches, earliest one in from June 2011 (HackForums, don't even remember what that is), and last one in September 2024 (FrenchCitizens, although I'm not French nor have I ever lived in France).
by rgovostes | 2025-05-19 23:00:43+00:00
For vanity GPG keys, I came up with a neat trick where you could insert arbitrary ASCII art into your key. You construct your ASCII art using the Base64 character set. The decoded binary will be gibberish but you can place it in an inert Literal Data Packet that will be ignored by any conformant OpenPGP parser. It just takes a little finagling to align your data to a 3-byte boundary with appropriate line wrapping.
by tedk-42 | 2025-05-19 23:01:44+00:00
Like many artists, it's hard to separate the art from the artist.

Although I thought his comics growing up were quirky, I was probably too young to appreciate them (xkcd was more my thing anyway).

Knowing more about him and what he says / thinks turns me off Dilbert entirely.

I doubt he'll go as he says. Sounds like a plead for sympathy / attention.
by dragonwriter | 2025-05-19 23:01:49+00:00
Sorry, that was expressed less precisely than I intended.

Human learning doesn't involve fixing anything, whether or not it would be a copy, into a fixed medium, and therefore even the question of whether or not it would be a copy if it were in a fixed medium, much less the question of whether or not such a copy would be exempted due to fair use, does not arise.

AI training does involve fixing something into a fixed medium, which makes it disanalogous to human learning. This raises the question of whether the thing fixes (parameter weights) is or is not legally a lossy mechanical copy of the training corpus, which further potentially raises the question of whether the incorporation of individual copyright protected works into the training corpus combined with its use in training would (before considering exceptions like Fair Use) violate the copyright on the works involved and whether, if it would, the use nevertheless satisfies the requirements of one or more of those exceptions (Fair Use being the one usually argued for.)

> And even if they did store something that's "effectively a copy", that's no more copyright infringement than when Google caches a site in order to handle search queries.

Among the reasons that Google removed outside access to its cached copies is that the evolution of the web meant that providing them increasingly potentially had negative revenue on the original content providers, which harms the Fair Use case for caching, since effect on the market of the original work is a fair use factor. (Google's cache was ruled as fair use based on the factual situation -- including implied consent, which AI model trainers have a much weaker arguent for -- in 2006, but changes in the facts relevant to fair use can change the outcome.)

But AI training is not so analogous to Google's cache (much less the situation of Google's cache in 2006) that one can simply leap with no analysis from one being fair use to the other in the first place. That's applying wishful thinking, not Fair Use analysis.
by umvi | 2025-05-19 23:01:52+00:00
> But the point is that it's worth it for society as a whole.

Who decided/determined this? You state it as if positive discrimination is a proven social good, yet I don't think it's so clear. There's still a ton of debate around it, and different western countries have difference stances on it. To me it still seems like an experiment with unclear/unknown long term value to society.
by RHSeeger | 2025-05-19 23:02:03+00:00
Honestly, it feels like you're not looking, then. Because most DEI programs push to have a balance of minorities in employees. And, if the available pool consists of mainly the majority, that means you need to negatively impact an individual from the majority to hire the individual from a minority.

However, it is best for society to do this. Because it is best for society if all groups are starting from the same point; and that means we need to give a leg up to the groups that are currently being pushed down by the system.
by mmooss | 2025-05-19 23:02:20+00:00
> I've personally never seen racism against Latinos or blacks during hiring.

There are mountains of research and witnesses. What does your statement mean?

Also, maybe you weren't aware of how they made their hiring choice? People don't usually openly say they are doing it for racist reasons.

> My point is there shouldn't be hiring quotas by race.

I don't think DEI is implemented by quotas usually, nor is racism.

For example, I had a recruiter I relied on heavily. I realized that they only sent me white guys to interview (with one exception).

I have no idea why, but I know the recruiter found people through their own networks, and I bet those networks - usually formed from people we've gone to school with, worked with, socialized with, family, etc. - was white people, and that's who is added to the network. It's self-perpetuating - white people know white people. IIRC, AirBnB's founder knew someone at YC via their MIT fraternity - what do you think they probably looked like (I'm not criticizing AirBnB founders at all - they did amazing; for all I know they are big proponents of DEI)? (There are so many white people - ~60% of the population or ~200 million in the US - that you can spend your entire life without knowing anyone else.) And look around the office of your IT organization; if someone was black, what is the chance that they'd know someone who would help them get a job there?

One method of DEI in hiring is to require that a person from a minority is interviewed for every position (in IT, that includes women). By me requiring that, my recruiter was required to develop networks that included many minorities, and I hope those people - now in the network - got opportunities for other jobs too.
by diggan | 2025-05-19 23:02:38+00:00
> Application specific credit card numbers really needs to be a legally required thing.

My latest card (debit) one has a feature I've not seen elsewhere, but I think kind of solves that too. It has a new CVC number every 10 minutes, which I kind of both hate and love. Love it for the obvious reasons of "not even having the physical card lets you use it digitally" but also because I cannot have it 100% in my password manager, I have to use the banking app to get the latest CVC code when I need it.
by ryandrake | 2025-05-19 23:02:39+00:00
It seems like the Holy Grail here has become: "A business is one person, the CEO, sitting at his desk doing deals and directing virtual and physical agents to do accounting, run factories, manage R&D, run marketing campaigns, everything." That's it. A single CEO, (maybe) a lawyer, and a big AI/robotics bill = every business. No pesky employees to pay. That's the ultimate end game here, that's what these guys want. Is that what we want?
by skydhash | 2025-05-19 23:03:01+00:00
A much better options is to use docstrings[0] and a tool like doxygen to extract an API reference. Domain explanations and architecture can be compiled later from design and feature docs.

A good example of the kind of result is something like the Laravel documentation[1] and its associated API reference[2]. I don't believe AI can help with this.

[0]: https://en.wikipedia.org/wiki/Docstring

[1]: https://laravel.com/docs/12.x

[2]: https://api.laravel.com/docs/12.x/
by itfourall | 2025-05-19 23:04:55+00:00
Hey HN, I just published a step-by-step tutorial that shows how to send emails with Python using Gmail's SMTP server. It’s aimed at beginners and covers everything from enabling Gmail access, using smtplib, to sending messages with attachments.

The code is clean, well-documented, and ready to copy/paste. I also included some notes on common errors (like authentication issues or security settings). Useful for automating reports, alerts, or learning how email works under the hood.
by palmotea | 2025-05-19 23:05:21+00:00
> Sanctions are still the rule of the bigger stick, except the stick is measured in money and manufacturing capacity, not soldiers and weapons. A great improvement to be sure, but it’s still an instrument for unilaterally forcing people to stop doing things you don’t like.

What's the problem with that? Ultimately, that's what all law is. Law doesn't work unless the lawgiver has the power to force its will on whomever it deems to be a lawbreaker.

The ICC's problem here is that it tried to exert control where it has no power, inviting retaliation.
by elanora96 | 2025-05-19 23:05:30+00:00
I've only tried Claude in Cursor's free trial, but it became very confused during a React 19 upgrade even after showing it a guide. It also kept telling me to install irrelevant dependencies saying my code would not work without them. My experience was more or less shared with several other senior devs using their companies AI subscriptions. Are we all using the tools wrong? Or is there just an expected amount of having to fight with the machine to get a usable result?
by bpshaver | 2025-05-19 23:06:00+00:00
Hard to conceive of a case where that would occur. Can you think of one?

The implication of what you're saying seems to be that if you're concerned about some kind of correctness you should be writing unit tests anyway and not being so fussed about type checking in a language like Python. I suppose if you are strictly following TDD that might work, but in all other cases type checks give you feedback much more quickly than unit tests ever can. I guess I don't understand.
by alephnerd | 2025-05-19 23:06:14+00:00
> All the big VC firms in the USA are funded by private investors (rich people)

They are also funded by large public investors like pension funds (American and European) and sovereign wealth funds.

There is just a lot of capital sloshing around in the US, and it's fairly easy to start a firm here. The same isn't true in much of the EU.
by MahdiHaji | 2025-05-19 23:06:17+00:00
Most crypto wallets force you to accept a randomly generated seed phrase. I wanted more control, so I built Crypto Vurny — a free tool that lets you select your own BIP39 words (12–24 length), see valid checksum completions, and export a fully valid phrase compatible with all wallets. Would love feedback from the community!
by alephnerd | 2025-05-19 23:07:05+00:00
The HDI of European states is on par with that of the United States [0].

The US has issues, but using American issues as an excuse to ignore European issues (which in reality are a result of soverignity tussles) is ridiculous.

[0] - https://hdr.undp.org/data-center/country-insights#/ranks
by the_af | 2025-05-19 23:07:22+00:00
> I literally have piles of boolean-typed functions in business logic

Yes, but this is working with legacy code that wasn't written with a mature type-checking system in mind. The boolean type encodes very little meaning with it, and so there's not much you can reason about it, as you've noticed.

If your argument is "a modern type system cannot help me much with legacy code that didn't leverage it to begin with" I can understand you and even agree somewhat. But that's a different argument.

That's what I mean by circular reasoning: if you don't use the types, then yes, a type system won't be of much use. You'll spend time writing unit tests, which for legacy code seems like an adequate approach.