Better HN
topnewbestaskshowjobs
Log inSign up

logical42

473 karma · joined Jan 27, 2012 (14y ago) · 236 submissions

Software Engineer @ Coreweave.
Submissions

comment 1y ago · link · parent

You didn't implement change data capture. You're using theirs.

comment 1y ago · link · parent

I would love it if I could over-withdraw money from my bank account by having someone on the other side of the country take out money from my account at an ATM at the exact time as me, due to the fact that the bank's storage system was eventually consistent, but that's not the case.

comment 1y ago · link · parent

That means they did implement change data capture, and only exposed it for a very specific use case.

comment 1y ago · link · parent

Adding change data capture to a database isn't exactly trivial.

comment 1y ago · link · parent

I agree with you, but you are omitting a key aspect of the problem which makes this hard. If you have a single server serving from a local sqlite database, caching and invalidating the cache is trivially easy.

It becomes way more difficult when you have N servers all of which could potentially serve the same data. Local caches could then, yes easily become stale, and even if you have a propagation mechanism, you couldn't guarantee against network failures or latency issues.

But suppose you have an HA redis instance that you store your cached data in. Even with a write-through cache, you basically need to implement a 2-phase commit to ensure consistency.

comment 2y ago · link · parent

I am tempted to write a book called "The carnivore" though.

comment 2y ago · link · parent

Well I guess I'm never going to be google-able again.

comment 2y ago · link · parent

food scarcity could be viewed as a bin packing problem when you consider the amount of food that gets thrown away.

comment 3y ago · link · parent

Counterpoint: Apple has been quite successful despite their insistence in silos across teams and orgs.

comment 3y ago · link · parent

demo: https://youtu.be/cIMGaOHLgzk?si=suB8oCVSO8XFGgr1

comment 3y ago · link · parent

n64js is an n64 emulator written in (mostly) pure ES6 JavaScript. It runs many roms at full framerate.

Why?

Mostly for the challenge. [hulkholden] spent ~25 years (on and off) working on N64 emulators and writing one in JavaScript gives [him] the opportunity to expand [their] comfort zone and learn something new. It's a good showcase for how powerful modern browsers have become.

12.

N64 emulator written in pure ES6 JavaScript(github.com ↗)

3 points · by logical42 · 3y ago · 2 comments

comment 3y ago · link · parent

You can run it in the browser.

Demo: https://youtu.be/cIMGaOHLgzk

14.

N64 Emulator in JavaScript(github.com ↗)

2 points · by logical42 · 3y ago · 1 comment

comment 3y ago · link · parent

An N64 emulator written completely in javascript, so you can play N64 games in your browser.

16.

N64 JavaScript Emulator(github.com ↗)

1 points · by logical42 · 3y ago · 2 comments

comment 5y ago · link · parent

It's possible in Java.

comment 5y ago · link · parent

You know what's fun?

Getting a nil where you are supposed to have an Optional.

19.

Ask HN: Best tablet for white boarding during a video conference?

13 points · by logical42 · 6y ago · 17 comments

comment 6y ago · link · parent

There are enough CNG stations to drive from SF to LA as long as you fill up appropriately.

comment 6y ago · link · parent

So far I’m not sure if people realize that this is a (non-serious) reference to a Borges short story: https://en.m.wikipedia.org/wiki/Tlön,_Uqbar,_Orbis_Tertius.

comment 6y ago · link · parent

You’re missing the point. It aerosolizes the coronavirus which is especially problematic for the doctors and nurses trying to care for you.

comment 6y ago · link · parent

There are Mazdas with the center tactile knob for CarPlay interactions.

comment 7y ago · link · parent

Both would suck to play against but the AI oracle would play optimally and not perfectly.

comment 7y ago · link · parent

Any chance you’ll consider releasing the hand history of the session?

comment 7y ago · link · parent

There’s also daylight savings time.

comment 7y ago · link · parent

Also, Gattaca.

comment 8y ago · link · parent

They have fields for additional compensation.

comment 8y ago · link · parent

To be fair, I feel like I, as a human, get confused about what I’m supposed to be doing driving in SF at a rate worse than once every thousand miles.

comment 8y ago · link · parent

Pumpkin pie isn’t closed, at least, not from my experience.
12345
8