Logging off from Twitter. If you have any sympathy for Elmo or Trump, please go outside, take a breathe of fresh air, and reflect a bit about why you're doing this to yourself, then go buy some books (no Internet articles) about modern History. Actually do it, don't just pretend.
I know it's off-topic with the ongoing Twitter downfall, but I've posted a brain dump of "Everything I know about networking"
tomaka.medium.com/everything…
"Whatever you do there's always going to be haters, the best thing to do is to ignore them" - people who have caused pain to others
If it takes more than 3 clicks to find the source code or the data format, you probably shouldn't be using that tech
When you have a CPU intensive operation in your Wasm, it tends to freeze the web page. You might be tempted to periodically yield back control to the rendering using `setTimeout(..., 0)`.
But that when the page is in the background, `setTimeout` gets a minimum delay of 1 second.
JavaScript's insane complexity strikes again.
To solve that problem, I'm now adding a `periodically_yield: bool` setting that is updated whenever the page goes in the foreground or background.
The cryptocurrencies space in a nutshell:
They could reinvent the concept of money from scratch and shape it the way they want.
Instead, they're like "we're doing money 100% exactly like it is, but on the Internet" and VCs lose their mind over this and call them insanely smart.
Write a proof of concept: one week
Write a specification by committee: 7 months
Implement the specification: two weeks
Somebody please help me figure out how to make the deadline
tomaka retweeted
Time for a reminder that there's about 50 years of research showing a clear correlation between a background in engineering and support for authoritarianism.
As someone who's been writing networking code in Rust for the past 5 years, my main advice is: avoid asynchronous Rust as much as you can.
It's a bit like the JS callbacks pattern: when you write small programs it looks cool, but in reality it makes the code 10x more complicated.
I thought that let-else could replace for example the usage of `Option::unwrap_or`. Unfortunately no. Let-else can only be a statement and not an expression, and the `else` block must apparently always produce `()` or diverge. Way less useful than I had initially thought 😕
"It's not the fault of the language that there are buffer overflows leading to RCEs" says only language where this regularly happens
tomaka retweeted
With Victoria 3 having just come out, my favorite type of Reddit post is people complaining about balance issues that's just real life, just saw "It's too hard to get Rubber and Oil without colonization"






