MurphyA/hacker-news huggingface dataset:
by shadowgovt | 2025-05-25 21:51:12+00:00
I frequently find DI pattern to show up in Java... But I also frequently find that Java gives me all the handcuffs of systems languages with few of the benefits of more flexible duck-typing languages.

If you can't monkey-patch the getDate function with a mock in a testing context because your language won't allow it, that's a language smell, not a pattern smell.
by ido | 2025-05-25 21:51:22+00:00
And how does this explain Israel's abnormal birth rate (what ImHereToVote suggested in the parent comment)? I claim it's unrelated and is mostly to do with cultural and religious norms.

If the US starts sending proportional military aid to South Korea (fertility rate of 0.75 vs Israel's 2.83) it will not "fix it".
by heisenzombie | 2025-05-25 21:51:36+00:00
<man walks into sauna room> Ooh, it's a bit hot in here! I better throw some water on these rocks to cool them down.

Joking aside, I actually don't know how dry it is in the underground, and therefore whether adding water for evaporative cooling would work. I would have assumed it was quite humid, but maybe not?
by ChicagoDave | 2025-05-25 21:51:52+00:00
I have several projects in the works:

- mach9poker.com: incorporated startup developing a poker tournament training app for novices and unprofitable players. Looking for UX/product designer co-founder.

- policyimpact.org: A journalism site for highly vetted articles responding to actions of the current U.S. administration and other import political vectors.

- sharpee: a new interactive fiction platform built in Typescript

- bsky.poker: root domain for poker community to have nice handles on BlueSky

Happy if anyone wants to pitch into any of these projects.
by cycomanic | 2025-05-25 21:51:53+00:00
Yes and I believe this one of the most problematic aspects of representative democracies. Policies are often complex so hardly anyone has the time to educate themselves on all policies of a party, instead many revert to the other extreme and simply cheer for their team.

An interesting concept to alleviate this problem has been pioneered in Melbourne local politics is citizen councils.
by duttish | 2025-05-25 21:52:39+00:00
Does anyone know if there's any kind of metrics for healthspans? Meaning the "good" part of life before it's just doctors, medicine and retirement homes.

My impression so far is that we've done a lot of work at the lifespan, less at the healthspan. What's the point of living until 90 if the last 15 years isn't that fun at all.
by batshit_beaver | 2025-05-25 21:53:04+00:00
Min-maxing is fine, but the endless balance patches force you to relearn the game every few months. So now you have to commit to a live service game full time, just to keep up.

Or you can choose to play StarCraft or chess or something where the rules are basically frozen at this point. Much better ROI on learning these kinds of games than something like Dota.
by layer8 | 2025-05-25 21:53:59+00:00
This is the only reason why DI frameworks exist. However, this issue can be largely avoided by working with configuration objects (parameter objects [0]) from the start, that get passed around. Then you only need to apply the change in a small number of parameter-object classes, if not just a single one.

[0] https://wiki.c2.com/?ParameterObject
by ahd985 | 2025-05-25 21:54:12+00:00
Very nice! I ejected from the nuclear industry almost a decade ago and have played around in Healthcare/IoT/Oil&Gas/Finance software tech, but I'd love to figure out how to apply these skills to nuclear energy somehow.

Also - love whatisnuclear.com! About 10 years ago, I tried my hand at creating a generalized JS-based viz system (see examples in https://github.com/ahd985/ssv), but could never figure out a market/path forward for it.
by const_cast | 2025-05-25 21:54:19+00:00
No no, not like that. Well, maybe, but no. Most men are useless from a reproductive standpoint because they're not the bottleneck. Women are the bottleneck. More women means no more bottleneck, means more children per person.

Also sexual selection is a thing and I think we were really never meant to have this many men. Men seem good for being really successful or otherwise dying, not much in the middle.

But also, all this talk is purely from a reproductive standpoint. Human societies also need to consider fairness and rights.
Show HN: Veeto – Find California bills that will impact your startup
by wateringcan | 2025-05-25 21:55:05+00:00
Hey HN! We built Veeto to help small teams find California bills that could impact their startup. Describe what you're building (or link to your site) and we’ll flag relevant legislation with plain-English summaries.

The goal is to help small teams discover policy risks and opportunities earlier and, if they want, do something to influence outcomes.

We’re curious if something like this is useful, what’s missing, and whether you'd take action on a bill if the tools/agents were there. Any feedback is appreciated.

You can try it for free here: https://veeto.ai
by abetusk | 2025-05-25 21:55:55+00:00
How would you handle the following conditions?

* I buy a ticket for a friend (maybe as a present) but don't actually want to go to the concert

* I buy more than one ticket for a group of people (I'll be attending the concert)

* I buy a ticket but have to cancel at the last minute and want to give it to a friend

* I don't have an easily available government ID (maybe I never got a drivers license, maybe my drivers license expired, etc.)

* People attending the event aren't American. They will have their passports from other countries. How will you verify each passport is valid?

* The event draws of people from a majority of the 50 states in the USA, with each state having different government IDs (driver's license) with different versions of the IDs within each state. What are the logistics of validating the IDs presented?

In the base case of one ticket per individual that has a valid government ID that has their current address printed on the ID, what service are you using to validate this ID and to validate that the presenter of the ID is associated with the ID? What is the cost and how many transactions can it handle per second?
by nikodunk | 2025-05-25 21:56:01+00:00
2 similar apps already on app store:

- Reflectly vs Daily Optimist - I love Reflectly's Gratitude, but am not sure about the weekly rhythm. Costs $19.99. Great app! https://apps.apple.com/us/app/reflectly-journal-ai-diary/id1...

- Daylio vs Daily Optimist - Daylio is beautifully built too. I understand the charting of the mood less, but for more data-driven users this is a great option. Rating your mood with emoji is a good way to lower the bar for daily entries. Also $17.00/year. https://apps.apple.com/us/app/daylio-journal-daily-diary/id1...
by nradov | 2025-05-25 21:56:17+00:00
Work isn't mandatory. You're free to stop any time, and accept the consequences of that choice.

What we should be doing is aggressively cutting the cost of living so that people who want to can afford to retire while still maintaining some reasonable quality of life. The number one thing that would help is to set policies that make it easier to build more housing because that's the largest expense for most people.
by smeej | 2025-05-25 21:56:29+00:00
I'm just trying to get my ideal PKM collection system working the way I've always wished it would. It involves trying to coax an LLM into writing code for me when I'm not a developer myself, so that's been an adventure.

All I really want to do is be able to clip/save articles (and maybe generate transcripts from videos) from my phone or computer, read them in KOReader on a Boox tablet, and then export them and my eBook notes into Logseq, but every time I think I have it figured out, some project pulls a rug out from under me and I end up back at the drawing board.
by quintes | 2025-05-25 21:56:43+00:00
I’m working on these in the wee hours

* prfrmHQ SaaS The modern way to manage performance reviews, set clear objectives, and ensure alignment across teams or individually — all in one place

https://prfrmhq.com

see https://news.ycombinator.com/item?id=43538744 [Show HN: My SaaS for performance reviews setting goals and driving success] https://youtu.be/ygvKdgiKRj4?si=Q9ael-oCLEGKMIgN - Shows I can use AI and I've integrated into AWS Bedrock

- Shows I can integrate with Stripe for payments

* Consulting (Architecture, Strategy, Technology leadership and advisory) - I'm working on getting my consultancy started. If anyone wants the kind of skills I offer here let’s talk https://architectfwd.com

* Next SaaS - Starting a SaaS for managing core strategy and technology concepts.
by analog31 | 2025-05-25 21:56:47+00:00
Even on the mainland, vehicles and equipment are abandoned. At least in the US, if you drive through the countryside, every vehicle and truck that was ever used by someone is parked somewhere. If you go on a hike, and go through land that was once used for something, you'll find piles of old equipment, vehicles, materials, etc. It's not all that noticeable because there's usually much more land than the amount of stuff piling up. Even in my residential neighborhood, there's probably an inoperable car parked in a driveway every other block.

I don't think that things are always a quantum transition from "in use" to "abandoned," but a gradual decline. Stuff is just parked temporarily in case it's needed in the near future, or with the hope of selling it, and then gradually decays to the point of being inoperable. An abandoned car or truck won't just start. If a machine like a bobcat or bulldozer needs to be moved, it may require a running engine and hydraulics. Someone has to know how to get it going. Paying someone to haul it away may be expensive. If it's owned by a business, the ownership may gradually become unknown, especially in an informal economy.
by ars | 2025-05-25 21:56:57+00:00
> you discover is a consistent pattern of underspending

No, what you discover is a pattern of wasted spending. Then they ask for more money to actually get the job done despite all the waste.

People try to solve this by privatizing certain things, figuring that competition will help efficiency. Sometimes it works, sometimes it doesn't.

Maybe we need competing governments, and whichever government is more efficient gets to rule. Seriously: Add a second FAA at some test airports, see if they can do better, with the understanding that if they can't, they get shut down.
by bigyabai | 2025-05-25 21:57:09+00:00
With all due respect Mr. Geohot, you've got an awful lotta nerve to throw stones from your glass house. This guy needs to drop the middle school tough-guy tone and post numbers. The central thesis of this article is sound, lead with it:

> You aren't going to get better deals on tapeouts/IP than NVIDIA/AMD. You need some advantage.

> If you want a dataflow graph compiler, build a dataflow graph compiler.

Now explain why. Clearly Tenstorrent is happy to build Yet Another Abstraction Layer, so instead of bullying them over it you should at least attempt to actively humiliate them for the approach. You know, produce some manner of evidence that vindicates your position instead of relying on your authority alone. Jim Keller has no reason to take this seriously, even if you're right.

Without any numbers this feels like one cult of personality trying to bait another into a shit-flinging contest as a marketing scheme. We've seen this happen several times before on Hacker News, and it doesn't end up with either side making an Nvidia-killer. This is not a model for productive discourse.
by hbsbsbsndk | 2025-05-25 21:58:09+00:00
> delta doesn’t reimburse for missed connections claiming air traffic control policies are outside of their control.

AFAIK if it's one booking on the same airline or a codeshare they are required to rebook you. If you planned a "connection" which is two single flights with different airlines you don't get any legal protections. This isn't just Delta, no airline will reimburse you for missing a flight you didn't book through them
by raxxorraxor | 2025-05-25 21:58:14+00:00
Apart from democracies usually offering the most protections of rights, your argument is all over that place.

The power of judges is very restricted as they cannot rule against the law. They don't even need to be enlightened to do that. Their wiggle room lies in the interpretation, that is why laws need to be crafted with care.

The law in democracies is decided by parliament or directly. It can be changed, some fundamental laws are protected where you need strong majorities. The majority will does protect your rights in most cases.

And again, even with that most practical rights of people are implemented in democracies. The rule of the majority scare is mostly impotent and not very well argued.
by jkoff | 2025-05-25 21:58:22+00:00
Link: https://infinitepod.app/

I'm building Infinite Pod, a web app that generates language learning podcasts tuned to your individual learning goals and level.

It's based on the principle of language acquisition through comprehensible input, as described here: https://www.youtube.com/watch?v=NiTsduRreug

It's still a bit rough, but feels magical in my own testing so I wanted to make it available to others.
by justcallmejm | 2025-05-25 21:58:28+00:00
The scientific community inherently has their eyes wide open to seeing reality as it is, and the assessment that the US is a hostile place to the reality-based community is a no-brainer.

I was born in the Midwest, have lived my entire adult life in SF, and recently was relieved to get my permanent residency in Canada - moving to Vancouver, BC soon. My co-founder (who is Canadian but has lived in California for 25 years) and I know we won’t be able to attract world-class talent to a country that is trying to go back in time to pre-Enlightenment era.
by spoonsort | 2025-05-25 21:58:40+00:00
Tunnel-visioned article, honestly. I mean, why does he gloss over the fact that scalpers don't care about captchas - they can just outsource solving them to other humans. Giving your driver's license or passport to some entertainment company's security-unaware sysadmins doesn't seem like a good idea either. Maybe just accept the fact that you gotta be lucky to see most famous band in the world in person. There are only x hundred seats for 10 million people...
by benstigsen | 2025-05-25 21:58:47+00:00
I am building a webserver using Luau[1] and Lune[2], which will be used to host my own website. I haven't been this excited in a long time, when it comes to trying out a new programming language. Luau seems to make Lua _perfect_ (except for the classic 1 based indexing). And with Lune it also includes a very simple way to serve requests, which has always been a headache to do with regular Lua in a cross-platform way.

I am hoping this will be the way in which I write most of my future scripts and projects.

[1]: https://luau.org/

[2]: https://lune-org.github.io/docs
by lukehollis | 2025-05-25 21:58:47+00:00
Text to 3d simulation on a map. It does historical or fictitious events pretty well if it's interesting: https://mused.com/map/

I was working on world models / generative environments but without the training data available as an independent researcher, ended up focusing on building with existing geospatial data.

The same architecture of the '24 Genie paper's dynamics model is instead trained on historical data for risk analysis and creating a heatmap in the 2d map. I'll try to adapt this for a more generalizable urban mobility model as well.
by ml- | 2025-05-25 21:58:55+00:00
Love these threads..

Decided to do an extended sabbatical after being part of one of the many tech layoffs the last years, and I'm thus working on things I like, instead of things that pay..

Collecting and cataloging craft beer venues from around the world, at https://wheretodrink.beer Still a WIP, and it's not trying to be the most extensive list, but I want it to be a substantial list. Once I reach a certain maturity in the data I'll probably look to spawn minor projects off from the data set.. have a couple ideas already that I'll just keep to my self for now :D

I also had a set of left over domains relating to beer that I'm offering up for use with BlueSky handles, and beer related link pages at https://drnk.beer - a bit on the back burner.
by layer8 | 2025-05-25 21:59:46+00:00
The name is confusing because originally [0] it was exclusively about dynamic injection by frameworks. Somehow it morphed into just meaning suitable constructor parameters, at least in some language communities.

I like “dependency parameters”. Dependencies in that sense are usually what is called service objects, so “service parameters” might be even clearer.

[0] https://www.martinfowler.com/articles/injection.html#FormsOf...
by eloisant | 2025-05-25 22:00:18+00:00
> If pensions were funded by actual retirement accounts, where employees invested money into some state fund and have it paid out for retirement this would be entirely unproblematic.

You're talking about a system of pension by capitalization, like in US, which comes with its own problems.

Namely that if you reach retirement age during a crash like in 2008, you're screwed. You have to work 5 more years hoping the market recovers in the meantime, or retire anyway and get way less than you put in.
by 0x000xca0xfe | 2025-05-25 22:00:22+00:00
Looks like a cool idea but not immediately apparent how it works. E.g. there dont' seem to be voice messages visible when I go to the example?

Have you thought about using the landing page itself as a demo? I.e. to allow users to post voice messages on your main page. Would at least be intriguing.
by ars | 2025-05-25 22:01:00+00:00
> The community would be healthier economically if this person wasn’t in it.

Not everything is about money. A healthy rural society has a variety of people in it, some bring in more money that others, but the mix is necessary. Otherwise people will leave.

This guy for example seems to be able to write, and has lots of spare time. Perhaps he helps his neighbors. There's no money involved, but the entire community is better off.
by structural | 2025-05-25 22:01:05+00:00
1. The initial price of the ticket serves as advertisement to get more people interested in the event than if it was advertised at the scalped price. Some fraction of the people will end up paying the higher price anyways, even if it was more than they intended to spend. The chance of "getting lucky" and getting a ticket at the low initial price is a powerful draw, especially if each buyer gets lucky a few times.

2. Are you sure the scalpers and the agency selling the original tickets are independent? Even if they are on paper, in many locations there is evidence of a local cartel.

3. The initial sales provide revenue up front to pay for the costs of the event, vendors, etc. This reduces the amount of cash reserves the seller needs, sometimes very dramatically.

4. Many scalped sales (used to be, not as much anymore) were cash transactions. This used to be used as a pretty significant tax dodge: Sell tickets for $50 face value to your affiliated scalper, pay tax on this sale, scalper sells tickets for $200 and does not pay tax on this secondary sale, or underreports the number of secondary tickets sold. Lots of shenanigans here to make your profitable scalping business look like it's making a small loss on paper.

5. Especially in the context of a local or regional cartel, each ticket sale represents the opportunity to move capital between entities. Physical tickets can be an effective vehicle for small-medium scale money laundering: Dirty money/entity buys the tickets, clean entity resells them.

Basically as soon as you drop the assumption that the ticket sellers and scalpers aren't related in some way, there are a lot more profitable reasons for the ticket sellers to "leave money on the table".
by 0xDEAFBEAD | 2025-05-25 22:02:34+00:00
>The systems work just as well with impossible languages that infants cannot acquire as with those they acquire quickly and virtually reflexively.

Where is the research on impossible language that infants can't acquire? A good popsci article would give me leads here.

Even assuming Chomsky's claim is true, all it shows is that LLMs aren't an exact match for human language learning. But even an inexact model can still be a useful research tool.

>That’s highly unlikely for reasons long understood, but it’s not relevant to our concerns here, so we can put it aside. Plainly there is a biological endowment for the human faculty of language. The merest truism.

Again, a good popsci article would actually support these claims instead of simply asserting them and implying that anyone who disagrees is a simpleton.

I agree with Chomsky that the postmodern critique of science sucks, and I agree that AI is a threat to the human race.
by godelski | 2025-05-25 22:03:03+00:00
> This is a resource constraint imposed by reality itself

No, it is a resource allocation problem.

I don't think we should have ceilings, but we certainly should have floors. Minimum standards. Despite that belief, I think there is something wrong when there's about 20 people who make more money while they take a shit, than most American families make in a year[0] and a buttload who make that same amount while they're asleep[1]. These levels of wealth are so large that they are extremely difficult, if not impossible, to spend within several generations, not just one lifetime.

This is only a problem, because the floor is lowering while the number of people in these groups are growing, especially the shit group.

If we have to make trades between ceiling and floor, I'd rather sacrifice ceiling for floor than floor for ceiling. Because the latter is simply greed.

Importantly, we can have both. This isn't a zero sum game, we produce more wealth and resources as time goes on. It is only zero sum at a single point in time. We can simultaneously raise the ceiling and the floor. But currently, we are shifting what percent of these gains go to which groups.

It would be insane to build extravagant and ornate Cathedral ceilings to only have a dirt floor. It would be dangerous to build those ceilings without ensuring there is a strong foundation and forgetting to build the pillars to support them. Without that, the ceilings fall and it all becomes dirt and rubble.

It is an allocation problem, not an amount problem.

[0] If you have $100bn, are able to make a conservative 0.05 yearly interest and take 5min to shit, you've made ~$50k during that time.

[1] You only need $1bn given the same statistics, but closer to $45k. There's over 3k billionaires.
by ubavic | 2025-05-25 22:03:34+00:00
I am reverse-engineering a PKCS#11 module for Gemalto smart cards and re-implementing it in Zig (https://github.com/ubavic/srb-id-pkcs11). The original module is published only for Windows, and my implementation targets *nix platforms. This is my first project in Zig, and I am very happy with the language.
by recsv-heredoc | 2025-05-25 22:04:01+00:00
For the past almost 3 years - full-stack vertically integrated business AI systems. We got a nearly perfectly timed start on this.

We’re solving the problem of “How can agentic AI interface with legacy and existing business systems.” - if you’ve got a boring job and are tired of filling out forms in business software or swapping between 10 different systems, convince management to let us come and have AI do it for you.

https://mindfront.ai
by layer8 | 2025-05-25 22:04:23+00:00
The term was coined in 2004: https://www.martinfowler.com/articles/injection.html

It’s not correct that Java was designed for it, unless you want to call class loading dependency injection. It’s merely that Java’s reflection mechanism happened to enable DI frameworks. The earlier Java concept was service locaters (also discussed in the article linked above).