Hacker Newsnew | past | comments | ask | show | jobs | submit | nickzelei's commentslogin

Awesome! I’ve had this game on my wishlist for a while now. Just saw there is a demo, will have to check it out!!

Cool project.

I haven’t looked at the code too much(yet). I’d be curious to know how you’re handling some of the more wiry edge cases when it comes to following foreign key constraints. Things like circular dependencies come to mind. As well as complex joins.

I feel ok posting this because it’s archived, but this problem is basically what we designed for with Neosync [1]. It was probably the hardest feature to fully solve for the customers that needed it the most, which were the ones with the most complex data sets and foreign key dependencies.

To the point where it was almost impossible to do this, at least with syncing it directly to another Postgres database with everything in tact. Meaning that if on the other side you want another pg database that has all of the same constraints, it is difficult to ensure you got the full sliced dataset. At least the way we were thinking about it.

[1]: https://github.com/nucleuscloud/neosync


that is a valid point. dbslice finds cycles in the fk graph and usually resolves them by nulling a nullable fk for insert order, then patching it back with deferred updates after inserts. if a cycle has no nullable fks, postgres output can still work when deferred fk checking is enabled and the cycle constraints are deferrable, otherwise it fails fast with a clear error.

traversal automatically pulls in parent records so you don’t end up with dangling references, and a validator (enabled by default) can double-check the slice before output. for complex joins, you can opt into subqueries in seed where clauses.

it covers a lot of messy cases, but i won’t claim it’s fully solved yet. there’s no automatic discovery of relationships that only exist in app code (beyond heuristic hints), and real production schemas will still surface new edge cases. it’s still early-stage, so the more people test it on messy production-like datasets, the faster i can iron those out.

i would also love to hear what you think of the implementation if you check out the code.


Wow, that blog post really gave me pause and has stuck in my head for the last hour or so.


The official private servers were paused recently. https://oldschool.runescape.wiki/w/Project_Zanaris


Like many I installed omz and ran it as the default for a long time. After a while I looked to optimize my shell starts and realized I was only using a fraction of the functionality.

So I figured out what I was using and created my own very paired down version of what I needed. My boot times are much faster and I’ve been totally happy with it. I also learned a lot more about shell configs as a result.


What does it mean saying California hasn’t done a Flex Alert since 2022? PG&E issued 3-4 in September/October this year. Is that different?


Are you sure you're not thinking of "SmartDay" days that are part of the SmartRate program?

Flex Alerts are CAISO and ultimately about grid stability. SmartRate/SmartDay are ultimately about marginal cost of production on PG&E. The two are certainly correlated -- at the very least, a Flex Alert day is almost guaranteed to be a SmartDay.

Notably, the SmartRate program is capped at 15 days per year, and in practice PG&E will keep a few in reserve for surprise late season events, but even if there are no Flex Alert days they're still going to be called on electricity-is-expensive-even-if-the-grid-is-stable days.


The devcontainers cli has existed for a while. Definitely not as smooth as using with vscode but it has all the main points.

https://github.com/devcontainers/cli


TIL.

I'm not proponent of installing nodejs apps globally, npm install -g or yarn install -g


I bought a moonlander in 2020 after work gave us a work from home credit when we transitioned to remote for Covid. I tried it but couldn’t get into it and it sat collecting dust for years. In 2024 I dove back into splits with a kinesis freestyle 2. I loved it as it felt more natural as it’s a basic keyboard just split.

After I got used to that I was able to migrate to the moonlander pretty easily. I just had to spend the time to sent it up properly for programming.

Now I own 2, each with the platform addon, which solves many of the issues with tenting as you no longer have to pivot the thumb cluster. It is expensive though.

Both keyboards also have shrimp switches to make typing pretty quiet.

This combined with a ball mouse have solved my RSI that developed a few years ago entirely.


Is there no dockerized irc server that exists or are you thinking about something else here?


There are, of course: ergo and inspircd work well


Hm from what I’ve seen it emits metrics at a regular interval just like Prometheus. Maybe I’m thinking of something else though.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: