Show more
rlamacraft boosted

If I'm ever feeling lonely, I just start reading a book or working on a personal project. Someone is definitely going to need all my attention immediately then.

@freemo Yeah, the more exotic runtimes of languages like Haskell and Prolog certainly have their place. I’ve worked on a proprietary FRP system (though they didn’t call it that) in the finance industry but that was for overnight batch processing. Very good for modelling dependencies between variables and, yes, where parallelism is hugely beneficial (Erlang comes to mind), but it’s applying it to time sensitive applications that doesn’t make sense to me. And that’s not to say all functional languages aren’t predictable; PureScript is just like Haskell but without the lazy evaluation and is just as predictable as vanilla JS, but most trade it off for other benefits

@freemo So I’ve managed to get the assignment down to consistently 40ms by abstracting the code that renders the variable… (still high but it’ll do)

This is why I don’t see the point of functional reactive programming in building time sensitive systems because behaviour is unpredictable when data dependencies aren’t co-located — much prefer the traditional OOP approach of getters and setters, myself

@freemo If I set the same value immediately after it drops down to something reasonable, but if I alternate the value being set it stays up around a second, and every time the function is invoked it’s always up at multiples of seconds; I don’t think it’s the JIT or anything. I just need to really understand what all these libraries are doing under the hood to propagate the changed values to the rendered view and how they’re attempting to optimise changes to the DOM

@freemo I think what I’m measuring is an absolute tonne of third party JavaScript cruft. I can’t think of any reasonable justification for why any code-executing runtime should take 3 seconds to set a Boolean variable unless that bit of memory is sitting in orbit

TIL The TV channel Dave is owned by UKTV, itself owned by BBC Studios; a commercial subsidy of the BBC.

The BBC really needs to be reigned in, irregardless of how it’s funded. There’s no excuse for a state sanctioned monopoly over broadcast entertainment.

Am really not convinced by all this talk of react being performant: just doing some performance testing and found it took 3 seconds to set a Boolean variable…

@trinsec I know on smaller planes they have to make sure there’s an even distribution of weight across the aircraft for stability reasons, but I would have everyone weighed for fuel and perhaps even price efficiency

rlamacraft boosted

I agree with everything on this chart.. People tend to have the risks of an "AI war" in the future all backwards...

I do live an ocean away and so my opinion should be taken with a grain of salt, but I strongly disagree with Daniel Miessler’s recent take on the meaning of “mass shooting”. Sure, there’s a certain level of horror when it comes to shooting in schools and supermarkets, but why should attending a “truck show or … nightclub” come with an accepted risk of serious injury and death. Shooting have become so normalised in the US that what would be considered a shocking incident here in Europe is just swept under the rug and considered unimportant to statistical reporting by some. Fine, choose to have a gun culture if you so wish, but be honest with the repercussions. danielmiessler.com/blog/disamb

TIL this past year I have travelled less than the average medieval peasant

@2ck I’d say it’s bigger than those two here in the U.K, yeah. Though I don’t know whether such services are as ubiquitous outside of major cities as in the US

rlamacraft boosted

One problem of doing any #retrocomputing is I get used to bytes and kilobytes again, and then when I see modern junk need megabytes or gigabytes, I flip my shit and scream "what the fuck do you need 325,000 Atari 800s for just to draw a screen?!"

rlamacraft boosted

Saw the news that Tesla is now accepting Bitcoin payments for cars, so I looked up some figures and did some math.

According to Tesla's own figures, a Model 3 saves 30 tons of CO2 emissions over its lifetime compared to a traditional car. A Model 3 costs 0.69-1.21 BTC. Mining one BTC results in 257 tons of CO2 emissions.

For the next time someone tells you Elon Musk is saving the planet.

I miss doing type driven development. So much more satisfying than this hogwash

If vaccinated old people can go to the pub this summer but their soon-to-be jobless kids can’t I’m convinced there’s going to be widespread riots. When furlough ends things are going to get tense.

@blinkwarp There may have been a link at the time, but I’m surprised I can’t search for an ad that I saw recently

I find it hard to listen to podcasts about languages like Elm and Reason ML because I just get jealous that there are people who get to use them in their day job

YouTube is a video a hosting platform. If I see a cool ad, why is there no way for me to search for and share it? Is that not what their customers want?

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.