Spyke

Replies

Comment on

It could happen here

Reply in thread

What impact do games have? Computers use very little energy, and come on, books?! Your plan is just plain stupid.

You can live an ultra minimal footprint life while not suffering - sure, maybe if you live in a huge house alone, move to an apartment and use public transport if feasible, etc. But there is no point in being depressed and basically torturing yourself.

Comment on

Folder

Reply in thread

Though to add: many things in your file system are listed as “files” in a directory, but are completely virtual with varying ways on what they do when written to/read from. (Also, linux has streams and files, not only files) E.g. /dev/null will read zeros, and discard data written to. But it has no physical backing.

Comment on

Does Lemmy really benefit from Rust? Is code execution speed the bottleneck?

Reply in thread

Wait — it uses websockets for each and every user??! That’s just completely insane and of course it will fail to scale! There is zero reason for that, have specific live threads with websockets where it makes sense (though that is only mostly a one-way communication so even there it is an overkill), but for mostly static content it is just insanely inefficient.. surely I’m more than fine with that upvote appearing a minute later and not in “real time”!

Comment on

What are your programming hot takes?

Reply in thread

I do believe that static typing is at least a local optimum, but I am still not entirely convinced. Rich Hickey is a very convincing presenter and I can’t help but think that he is on to something — with Clojure the chosen direction is contract-typing, which is basically a set of pre- and post-conditions for your functions that are evaluated at runtime. Sure, it has a cost and in the extremes they are pretty much the same as dependent types, but I think it is an interesting direction — why should my function be overly strict in accepting a “record” of only these fields?

Comment on

It could happen here

Reply in thread

I also thought of that series!

What might be a solution to this problem is to establish a trusted system/program (already hard) that would very comfortably allow you to make these decisions: e.g. you would like to decrease the profits of any company exploiting poor people in Africa (fuck nestle), so you mark that option, and during shopping, scanning a product would instantly flag any which is related to the issue.

There actually is something similar (buycott?), but it is not really used where I live. It probably would have to be very comfortable to use, like actually calculating your budget/spendings, otherwise people wouldn’t use it.