Ryan Day
3.7K posts

Ryan Day
@soldair
https://t.co/nhH8EK5Z0J
Occupied Ohlone Tamien Katılım Ekim 2008
575 Takip Edilen549 Takipçiler

work with ryan!
and like, i guess, wasm, if you're into that
Ryan Day@soldair
Hey all! My team is hiring. 😃 Come work on wasm at Google goo.gle/4dcyVCL
English

Hey all! My team is hiring. 😃
Come work on wasm at Google goo.gle/4dcyVCL
English

@MylesBorins Thanks Myles! Excited for you to keep doing you. Kittens and rainbows 🐱🌈
English

@caraesten What kind of kayak do you have? I may have missed the post. 😃
English

@evenstensberg "data at rest should match the access pattern" is great advice for this problem space.
English

@soldair Yea that works. Ideally I want to have the time series for a table in a column, not more tables for the relation.
English

@sebmck @wesleytodd EventEmitter is a decent thing to use if you want to compose requirements as you build it. 😀
It's a node process, so your async lock is probably already any variable in scope of the emitter. And the var could be a map for your cache! Anyway. Good luck! These are fun choices.
English

@soldair @wesleytodd Very true! I guess I'm not really sure what I want. I just know that a basic EventEmitter is not it.
English

@sebmck @wesleytodd Decent is carrying a really heavy load of otherwise unspecified requirements there 😅
English

@wesleytodd Yeah it's standard but I'd hardly call it decent. I think I just want an async store that I can subscribe to. Maybe some async locks or cache management too.
English

@MagicznySzymek @matteocollina DI is just fancy arg passing haha. And the more automated the container the more you either depend on a build step or instantiation complexity. That complexity is harder and harder to test by nature and scales up. You need to track all the edges, the less magic it is the better.
English

@soldair @matteocollina so basically a dependency injection, but with manual work instead of an automated container
English

@MagicznySzymek @matteocollina It doesn't. just make your state instantiatable. :shrug: this is about how you feel like passing arguments to the functions in your program. You pass state in as an arg, you make objects with a factory that injects state, or you put it in the vm somewhere where you can get it.
English

@soldair @matteocollina jesus christ it makes the state a singleton and you have the same problems
English

@matteocollina Export the state. Make your state mockable. Solve it in one spot.
Making local changes in code bases like this is usually way easier than any other form of advanced di or additional positional arguments. Nike code ;)
English

@littledan Those tend to create the same problems if they contain state. Global state makes isolated testing hard/impossible.
Example: setting the “db” of the process prevent that process to connect to two dbs.
Milan, Lombardy 🇮🇹 English

@mountain_ghosts You can redirect it for everything in the whole script but that's often solving a different problem
English

This is a view of Earth and the Moon captured from Saturn by the Cassini spacecraft on April 12, 2017 #OTD
That's all of us from 1.43 billion kilometers away—specks of light inside the gap between two of Saturn's rings.📷🪐🌎🌕

English

