Readit News logoReadit News
plopz commented on Godot 4.6 Release: It's all about your flow   godotengine.org/releases/... · Posted by u/makepanic
bzzzt · 16 days ago
You can make up some 'critical defects' for every tool and engine in the universe. So what game engine is perfect for an 'ambitious developer' to use?
plopz · 16 days ago
bevy?
plopz commented on Ireland is making basic income for artists program permanent   artnews.com/art-news/news... · Posted by u/rbanffy
ta1243 · 4 months ago
The UBI I support comes from a land value tax. Basically every citizen has an equal share of the land of the country, and rents it out to people who want to use it. If you use more than your fair share you pay in, if you use less you get paid.
plopz · 4 months ago
If someone is born does that mean my share of land decreases?
plopz commented on The evolution of Lua, continued [pdf]   lua.org/doc/cola.pdf... · Posted by u/welovebunnies
b_e_n_t_o_n · 4 months ago
In practice you don't run into these issues often. I'm annoyed when you see different function declaration conventions in the same codebase, but generally () => is used for either one line functions or inline lambdas, and function foo(){} for everything else. Nobody uses var anymore.

The implicit conversions is a definite footgun tho.

plopz · 4 months ago
Funny you mention nobody uses var anymore when I just saw a post on here yesterday that perf critical code still uses var since it's faster
plopz commented on I bought the cheapest EV, a used Nissan Leaf   jeffgeerling.com/blog/202... · Posted by u/calcifer
matthewaveryusa · 5 months ago
I literally bought the cheapest EV:

400 dollars for a 2012 nissan leaf with 80% battery life and 80k miles (saved from being junked.)

MA taxes and delivery made it about 1k when it was all said and done. Insurance is 400/year.

We fit 3 kid seats in the back and have replaced all our metropolitan rides with the nissan. Ostensibly we are all < 6ft tall otherwise the 3 seats wouldn't work.

Our range is 60 miles in the summer, 50 in the winter. Because of how we use it a regular 15 amp plug works for us. Any long trip is taken with our 2018 honda HRV + Thule.

I've been monitoring the usage of our gas car and financially it makes more sense for us to rent a gas car for our trips rather than pay for the ownership + insurance of our car. The math on yearly ownership of the gas car is:

555 treasury yield when selling the car (15000 * 0.05 on a 30 less 30% taxes), 1200 insurance, 200 yearly maintenance (oil changes, amortized tires...), 375 excise tax, 40 inspection

That's about 2.2k/year or about 4 weeks of rental for an SUV. We're still holding on to the gas car for the impromptu apple picking/beach day/day trip that sets us over the 50 mile radius, but zipcar could fill that void

plopz · 5 months ago
is your excise tax really 375? my 2014 honda civic is only $50
plopz commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
mcv · 6 months ago
Could you expand on the shortcomings of Node test compared to jest?
plopz · 6 months ago
Module support is still experimental and under a flag and doesn't have any mechanism for mocking.
plopz commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
capt_obvious_77 · 6 months ago
Can you elaborate on the compatibility issues you ran into, with ESM, please? Are they related to specific libs or use-cases?
plopz · 6 months ago
The two I find most annoying

Hoisting/import order especially when trying to mock tests.

Whether or not to include extensions, and which extension to use, .js vs .ts.

plopz commented on YouTube's new anti-adblock measures   iter.ca/post/yt-adblock/... · Posted by u/smitop
thaumasiotes · 8 months ago
Those clients could be doing a better job - when twitch starts playing an ad on the main stream, they also provide a secondary stream that shows the actual content.
plopz · 8 months ago
i believe that secondary stream is used for picture in picture so its lower quality, like 480p or something
plopz commented on 'We Currently Have No Container Ships,' Seattle Port Says   newsweek.com/seattle-port... · Posted by u/pseudolus
lurk2 · 9 months ago
If I drink 30% of a glass of water, is the glass of water empty?
plopz · 9 months ago
its closer to empty than before you drank
plopz commented on Show HN: Zero-codegen, no-compile TypeScript type inference from Protobufs   github.com/nathanhleung/p... · Posted by u/18nleung
mubou · 10 months ago
The fact that the source is so small is wild. I would have expected a huge convoluted parsing library implemented in types.

On the other hand, the fact that this is even possible is more wild. Instead of replacing JS with a proper statically-typed language, we're spending all this effort turning a preprocessor's type system into a turing-complete metalanguage. Pretty soon we'll be able to compile TypeScript entirely using types.

plopz · 10 months ago
I wish javascript had gone in the same direction as php with types.
plopz commented on Move on to ESM-Only   antfu.me/posts/move-on-to... · Posted by u/bpierre
plopz · a year ago
The main problem with es modules is mocking in tests. How do people work around that issue?

u/plopz

KarmaCake day882December 6, 2016View Original