MurphyA/hacker-news huggingface dataset:
Show HN: Palworld Breeding Calculator – Breeding Tree and Combination Visualizer
by droidHZ | 2025-07-23 22:49:16+00:00
Hi HN!

I’m an indie dev who got hooked on Palworld’s breeding system and built a tool to make planning less painful:

What it does

Forward calc: Pick two parents → instantly see the child.

Reverse lookup: Enter a target Pal → list all valid parent pairs.

Shortest-step planner: I model breeding as a graph and run a shortest‑path algorithm (Dijkstra/BFS variant) to find the minimal number of breeding steps from what you already own to the target.

Breeding tree visualizer: Expand/collapse an interactive tree of combos to understand the route at a glance.

Combination browser: Search/filter all possible parent-child sets.

Tech bits

Next.js + static JSON data (scraped/cleaned from public sources), deployed on Vercel/Cloudflare.

Precomputed indices for fast reverse lookups; client-side memoization and caching.

Graph layer treats each Pal as a node; edges represent “(A,B) → C” relationships. Since that’s technically a hyperedge, I flatten it into a weighted graph so a shortest-path algorithm can run efficiently.

No trackers/popups; just a single AdSense slot (feedback welcome on this).

What I’d love feedback on

UX: Is the flow from “I have X and want Y” smooth enough?

Performance/mobile: Any obvious bottlenecks?

Data correctness: Spot inaccuracies or missing combos?

Link: https://www.palworldbreedingcalculator.org/

Thanks for reading! I’ll be around to answer questions and ship fixes quickly.
by computegabe | 2025-07-23 22:49:19+00:00
Agreed. I was hoping for Proton Business to be a Google Workspace replacement (to get away from AI), and besides Proton Mail and Proton Pass, it's not even comparable. Drive is slow and docs is a half-assed implementation. They should stick to implementing core services and features such as Drive, Docs, Sheets, etc. before they go after AI cash grabs.
by db48x | 2025-07-23 22:49:55+00:00
Don’t forget about the Charge of the Light Brigade, commanded by the Earl of Cardigan. After the war he became famous and people copied the knit jumper he wore, naming it the cardigan. That’s two knit garments from the same battle.

Canon to the right of them, canon to the left of them canon in front of them volleyed and thundered. Stormed at with shot and shell boldly they rode and well, into the jaws of death into the mouth of hell rode the six hundred.
by tmp10423288442 | 2025-07-23 22:49:56+00:00
Only as a brief aside (don't have the timestamp right now) to talking about Smalltalk, which he mostly discusses to argue that Smalltalk was not different from C++ in seeking (most of the time) to model programs in terms of static hierarchies (according to the primary source documentation from the time of Smalltalk's design):

> And another thing is if you look at the other branch,

> the branch that I'm not really covering very much

> in this talk, because again,

> we don't program in small talk these days, right?

> The closest thing you would get

> is maybe something like Objective-C.

> If there's some people out there using Objective-C,

> you know, like Apple was using that for a little while,

> so Objective-C kind of came

> from a small talk background as well.

Objective-C is basically Smalltalk retrofitted onto C, even more than C++ was Simula retrofitted onto C (before C++ gained template metaprogramming and more modern paradigms), so it makes sense that Muratori doesn't go much into it, given that he doesn't discuss Smalltalk much.
by Jtsummers | 2025-07-23 22:50:17+00:00
This is one of the key concepts of "Getting Things Done". Getting tasks and information out of your head so you can actually focus on what you want to accomplish or need to do. GTD has a lot more to it, but this is around 80-90% of it with the rest being implementation details. When you get the idea, as you have, you can start reflecting and trialing different systems to see what specifically works for you and in what contexts.
MatrixTransformer: Structural Pattern Discovery Without Training
by AyodeleFikayomi | 2025-07-23 22:50:41+00:00
Scans raw matrices to find symbolic structure (e.g., rank, symmetry, entropy) — no labels, no training required. Works across domains (biology, text, graphs). Try it in: https://mybinder.org/v2/gh/fikayoAy/MatrixTransformer/HEAD?filepath=run_demo.ipynb https://colab.research.google.com/github/fikayoAy/MatrixTransformer/blob/main/run_demo.ipynb

Github Link: https://github.com/fikayoAy/MatrixTransformer Great for data understanding, anomaly detection, or algorithm selection.
by vorpalhex | 2025-07-23 22:50:44+00:00
I'm a US citizen.

If I illegally enter Japan or Mexico, am I not committing a crime? I would expect to (and both of these countries would) be arrested and returned to the US, usually after being fined and not allowed re-entry.

An Alien is the correct and proper name for a non-resident.

Someone who illegally enters a country is an Illegal Alien.

Are Japan and Mexico on the verge of committing mass murder?
by regnull | 2025-07-23 22:51:42+00:00
I've been fascinated for checklists for a long time, and I've been thinking about creating this "checklists on steroids" app, where checklists can be shared, created from templates, executed (and information about each executing collected), etc.

I finally had some time to spend on it, and here's the result: https://checkoff.ai/

Would be grateful for any feedback!
by reliabilityguy | 2025-07-23 22:52:18+00:00
> intervene (under international law) that would come with a genocide

Perhaps. Although, at this point international law more and more seems like an optional thing, that is used only when it’s convenient, and only when there is a clear path to win the case.

For example, there is a clear genocide (although not via a military campaign) of Uighurs in China: declining birth rates, re-education camps, eradication of a culture and a language. Clearly done in a systemic way. However, no one dares to take a clear action here because China is too powerful.
by tonyarkles | 2025-07-23 22:52:24+00:00
Yeah, I love the book and remember that being brought up. I might have to go revisit that part of the book as a refresher. Aviation, in general and in my current mindset, doesn't seem to benefit from disorder the same way a lot of the other examples he uses in that book.

Aviation is absolutely robust though.

Do you happen to remember how Taleb framed aviation as anti-fragile instead of just robust/not-fragile? As an industry I suppose we're quite good at taking lessons-learned from failures and incorporating those lessons back into making aviation safer as a whole.
by anonymoushn | 2025-07-23 22:53:12+00:00
Really great. I wonder, for the "types encoded as code" approach, is there any benefit to fast paths for data with fields in ascending order? For some json parsers with types encoded as code I have observed some speedup from either hard-coding a known key order or assuming keys in some order and providing a fallback in case an unexpected key is encountered. For users who are stuck with protobuf forever because of various services using it and various data being encoded this way, the historical data could plausibly be canonicalized and written back in large chunks when it is accessed, so that one need not pay the entire cost of canonicalizing it all at once. But of course the icache concerns are still just as bad.
by doublerabbit | 2025-07-23 22:54:37+00:00
In future sight most of modern languages are coming from a C derivative.

Perl isn't possible without C

Python isn't possible without C

Go isn't possible without C

With those languages you can't get any more raw than C.

Unlike a language like Pascal that is still modern today that as is based on ALGOL are forgotten about. Make's me wonder why such older languages were left behind. Just a ramble.
by adolph | 2025-07-23 22:55:13+00:00
There are a few models for community data collection/distribution that appear reasonably successful in ADS-B and bird tracking with commercial, non-commercial and academic examples. The challenge is that there are hard costs to collecting/persisting/distributing the data which are incompatible with free (which in reality just means someone else pays).

https://www.adsbexchange.com/how-it-works/

https://www.flightaware.com/adsb/

https://www.birdweather.com/about

https://ebird.org/about
by tlamponi | 2025-07-23 22:55:22+00:00
As long as you only got NICs with different permanent MAC addresses installed that does not matter for getting actually long-term stable names.

And for the other case you can still fallback to the other policies, it still will be much more stable by default.

Please note that I don't say that MAC is perfect, but using something that is actually tied to a NIC itself would fare much better by default compared to the NICs position as determined by a bunch of volatile information, and what normally does not matter to me at all, as e.g., I will always use a 100G NIC as ceph private network while the 25G ones as public one, no matter where they are plugged in. That someone configures something by location is the excpection, not the norm.
by allenrb | 2025-07-23 22:55:36+00:00
Are you sure? It’s a small screen, controlled by a stalk on the right side of the steering column. It has never occurred to me that touching it might do something, but now I’ll have to be sure.

Also, note that this is a base model, with various “enhancements” added later, so it may be lacking certain (all) options.
by ToucanLoucan | 2025-07-23 22:56:17+00:00
> Without intent, you cannot prove its genocide.

Intent is impossible to prove, it's unfalsifiable. I can't prove they intend it, you can't prove they don't intend it. It's a worthless data point.

> Because there is no evidence.

All the fatalities are Palestinians. Gaza is a Palestinian region. Numerous Israeli politicians, military leaders, influencers, and citizens are all echoing exterminationist rhetoric. Numerous Jewish activists worldwide condemn Israel's actions as a genocide.

Is there a document signed by Netanyahu stating in black and white that they seek a genocidal defeat of the Palestinians that's been made public? No. We don't need to wait for it to be.

If it walks like a duck, quacks like a duck, lays duck eggs, and swims like a duck, you don't need to kill it and examine it's internal organs to verify it was a duck. It's a fuckin duck.

> Can there be an alternative explanation?

Yeah sure, maybe the Israeli government is run by a race of alien worms who are dying and their sole means of survival is kept in a facility under the Gaza strip. Anything's possible. However the simplest explanation is, in my experience, the closest to the truth.

> Please show me that Israel engages in exactly the same level of xenophobic rhetoric as the nazis.

Back in the 80s, figures like Yeshayahu Leibowitz and Yehuda Elkana, one of whom is literally Israeli, have warned about the rise of Zionism and it's comparability to the exerminationist ideology of Nazi Germany.

> So... It seems to me that you are like this rapist that says that others can't rape, it is bad, and yet continues to rape.

A rapist, while raping someone, can point to someone else raping someone and be factually correct in their accusation.

You can tease out this ad hominem as much as you like.
by general1726 | 2025-07-23 22:57:20+00:00
I still don't get it. If you will be able to replace your employees with let's say 10k USD AI machine, what is preventing some of these fired employees to buy same 10k USD AI machine and start competing with you? Racing you to the bottom? Eventually some investors needs to actually ask questions, like is value of your company 1T USD or just the 10k USD this AI machine costs?
by allenrb | 2025-07-23 22:58:47+00:00
To clarify, I was making two independent points and didn’t do a good job of separating them. These being:

1. It frequently makes sense to buy older cars for several reasons (cost, common problems being recognized and understood).

2. I’m not interested in anything after ~2020 or so, not because they aren’t built well, but because they include too many “features” that I refuse to own. Two-way telemetry, that sort of thing.
by michaelt | 2025-07-23 22:58:56+00:00
There's huge demand, for sure.

But there's also huge competition. You're not going to out-spend Google or Facebook or Apple or OpenAI or Baidu or Alibaba easily. And the likes of Google may have been caught napping a few years ago, but they've since woken up.

Still, I guess it's probably good for attracting investors, regardless of long-term profitability.
by fracus | 2025-07-23 22:59:16+00:00
The argument "why do you care about your privacy if you have nothing to hide" needs to be addressed. The problem with this argument is you don't decide what you need to hide or not, the authorities do, and we all know authorities can be corrupted. Just look at the US government right now for example A.

Just as an example. You are gay. You live in a gay friendly place. Until one day, a new government takes office that will incarcerate gay people. They now have access to every one's phones who previously had nothing to hide.
by kristianp | 2025-07-23 22:59:32+00:00
And on the other end of the spectrum, you have the proponents of Domain-driven design (DDD)[0], where they use an ML descended language such as F# and the aim is to make invalid states unrepresentable by the program [1]

[0] https://fsharpforfunandprofit.com/ddd/

[1] Make invalid states unrepresentable: https://geeklaunch.io/blog/make-invalid-states-unrepresentab...
by sigio | 2025-07-23 23:00:29+00:00
I never want to use hibernation, since then I have to re-enter my disk encryption passphrase at resume time, have to wait longer for both suspend and resume because it needs to sync upto 48GB to/from disk (and I don't want to waste 48GB of diskspace for swapspace/hibernation). Suspend to ram is fine, I can keep the system suspended for a couple of days without issues, but it only needs to survive a long weekend at most. Resume from RAM is about instant, and then just needs a screensaver unlock to get back to work.
by tialaramex | 2025-07-23 23:01:13+00:00
> A custom engine is never _needed_ technically speaking since COTS engines are often customizable to the point where you can do anything you want with them

Yeah, no. You can make a lot of things with an engine, and if you don't already have the necessary talent to make a custom engine you probably should just not.

But there are certainly games which would not exist as "Just use COTS" games. The first which comes to mind is Outer Wilds.

Outer Wilds is running a tiny solar system model. Such a model isn't stable for very long even if you had a lot of compute power which a video game console does not, but in Outer Wilds there's an excuse for that [spoiler] the sun is about to explode, it's a time loop game. Still, this is a heavily specialised engine because normal games centre on the camera or player, Outer Wilds can't do that, the model would explode almost immediately if you do that, so the centre is the sun at all times.
by gruez | 2025-07-23 23:01:20+00:00
>My guess is the PR took advantage of some code injection possibilities in the GitHub Actions on the repo to grant the attacker admin access. But that’s a wild guess.

Someone below mentioned the offending commit[1], which seems to be a doppelganger of another commit[2]. Maybe the exact commit message broke the automation?

[1] https://github.com/aws/aws-toolkit-vscode/commit/678851bbe97...

[2] https://github.com/aws/aws-toolkit-vscode/commit/d1959b99684...
by nine_k | 2025-07-23 23:01:55+00:00
In short, in my opinion:

- Encapsulation / interfaces is a good idea, a continuation of the earlier ideas of structured programming.

- Mutable state strewn uncontrollably everywhere is bad idea, even in a single-threaded case.

- Inheritance-based polymorphism is painful, both in the multiple (C++) and single (Java) inheritance cases. Composable interfaces / traits / typeclasses without overriding methods are logically and much more useful.
by henry_bone | 2025-07-23 23:02:40+00:00
The opening line:- "The traditional wisdom says resting meat keeps it juicy. But when we put that idea to the test, we found a different reason to rest—one that has nothing to do with juice."

I don't rest meat to keep it juicy. I rest it to finish the cook. It's not quite ready when it comes off the heat.

Now I'll read the rest. :-)
by QuinnyPig | 2025-07-23 23:02:41+00:00
You’re absolutely right that we don’t have a complete postmortem—and that’s exactly the problem.

I’d love to have real facts from AWS about the full scope of this incident. But instead of a disclosure, we got a version quietly pulled from the VS Code extension marketplace, no CVE, no changelog note, and a statement that reads like it was pre-approved by legal and sanitized with a pressure washer.

When a malicious prompt that attempts to wipe both local and cloud resources makes it into a shipping release of a tool that’s been installed nearly a million times, I don’t think “hey maybe we should talk about this” qualifies as breathless or clickbait. It qualifies as basic scrutiny.

And yes, I’ve praised AWS’s security posture before. I’d still prefer they lead with transparency instead of hoping no one notices the /tmp/CLEANER.LOG.
by bigiain | 2025-07-23 23:02:55+00:00
I'd be a little surprised if Google (or even Apple) haven't considered trying to use cell phone temp and pressure sensor data collected across the entire fleet of devices running their OS. Similar to the recent Android earthquake warning thing, or Google's traffic data.

Like others have pointed out though, gathering observation data is only part of the problem. Turning current and historical observations into usable and accurate forecasts is a big compute heavy task, and whoever is paying for that compute needs either government funding, which is not easy in the age of DOGE, or to charge for the forecasts.

I have a weather station that collects temp, pressure, wind speed and direction rainfall - and which has wifi and built in capability to send it's data to a bunch of web services. Sadly, it's still in the box it came in because I haven't got around to installing it and the burst of enthusiasm the inspired me to buy it has long since died. (If anyone in Sydney Australia wants it, reply here and we might be able to organise for you to come collect it.)
by benmmurphy | 2025-07-23 23:03:33+00:00
the way live-view is sold is some kind of alternative to writing javascript. if you have a very rich client side application then you can easily end up with a bunch of state which would be in the clients memory but now is in the servers memory. but if its in the servers memory the data ends up being much more fragile because any failure of the client or the server means the live view state is lost. whereas if the data was just in client memory then it would only be lost if there is a problem in the browser. ideally people would write applications that are tolerant to both faults. but i think in practice live-view practitioners just ignore the problem and then you are left in a worse situation.

i realize there is still a dataloss problem when there is state on the client but there is a lot of simple stuff that causes problems if you are effectively reloading the page if the server disappears due to a redeploy or a crash.

for example i'm reading an email in my message client. i've scrolled half-way down the email. but now the server crashes i reconnect to live view and my scroll position when reading the email is reset.

when i look at live view i feel like its written by people that have never deployed something in production. of course this is not really true but i feel like it would be better if live-view people were more honest about the tradeoffs. its a very complicated situation and having some bad outcomes might be worth the increase in developer productivity but i feel like live-view people just ignore the bad outcomes.

also, take a cloud deployment. websockets seem to be an inherent problem in cloud deployments especially AWS. as far as i know AWS does not expose some event to a instance that is part of a load balancer that it is about to die. ideally if you have a websocket instance with a client and you realize you are scheduled to be reaped you would message the client that it needs to reconnect. then the client would reconnect to a server that would not be reaped and everything would be dandy. but AWS doesn't seem to have this functionality (or its not easy to implement!) but more importantly live view does not expose any kind of hooks so you can have 'safe' server redeployment out of the box.
by stubish | 2025-07-23 23:03:41+00:00
No. it pretty specifically prohibits the establishment, support or promotion of particular movements. It does not mention discussion, or even discussion of specific ideas that happen to be part of a prohibited movements ideology. You can say 'ownership of production tools should be prohibited', but you can't say 'and that is why Communism is great'. You probably shouldn't rate Das Kapital more than 3 stars, just to be sure.
by graynk | 2025-07-23 23:03:43+00:00
Somehow I keep hitting what I call "z-index issues". Examples: just for one frame I will see a background window drawn on top of everything else. Or a single line of pixels in Konsole will show me my desktop wallpaper (instead of being correctly half-transparent and showing the window underneath). Or only a random portion of the background window will get drawn on top of another for no reason whatsoever.

My other gripes this time around also include:

1. Inability to make my secondary monitor static, while the main one gets to switch between virtual desktops, which is my preferred way of working 2. I couldn't find a good screenshot tool that would be able to capture rectangular sections of the screen on Wayland (AND worked with scaling), besides the built-in one, and I hated the built-in one because it insisted on opening its own window every time and I couldn't find a way to make it just silently take a screenshot and put it in the buffer. 3. Probably something else
by Lammy | 2025-07-23 23:04:53+00:00
> I'll come out and say that I am a full blown Youtube addict. A lot of what I may watch on Youtube might be categorized as "background noise"

I'm like this too, but I prefer stuff like railfan videos that are short on words and long on landscape shots and monotony-quenching machine sounds. They never leave me with that feeling where my attention snaps back to the video in a way that makes me feel like I missed something and need to skip back a few seconds.

This channel is an especially-good example of what makes great background YT viewing to me: https://www.youtube.com/@7ideaproductions/videos
by crabmusket | 2025-07-23 23:05:14+00:00
> combined with the "let it crash" ethos

I see this phrase around a lot and I wish I could understand it better, having not worked with Erlang and only a teeny tiny bit with Elixir.

If I ship a feature that has a type error on some code path and it errors in production, I've now shipped a bug to my customer who was relying on that code path.

How is "let it crash" helpful to my customer who now needs to wait for the issue to be noticed, resolved, a fix deployed, etc.?
by alice-i-cecile | 2025-07-23 23:05:35+00:00
With the help of subsecond[0], we're seeing <1 s dev-test cycles for changes to Rust GUI projects these days :) That's with a fast CPU and optimized compiler settings, but it's competitive with things like Flutter and the web stack.

Even without hotpatching, Rust incremental compile times are on the order of 10 seconds, not multiple minutes. Clean compiles still take minutes, but that's a "once-a-week" workflow usually.

Not sure if Zed has gotten it hooked up yet, but things are changing rapidly in the Rust GUI (and games) space because of Dioxus's innovation here.

[0]: https://crates.io/crates/subsecond