balder1993

joined 2 years ago
[–] balder1993@programming.dev 4 points 1 year ago

If I was gonna make a suggestion, it would be to use some formatting tool such as black to make sure your code is styled in a standard way.

[–] balder1993@programming.dev 2 points 1 year ago

I think Lemmy has very few users to have such limitations.

[–] balder1993@programming.dev 3 points 1 year ago* (last edited 1 year ago)

The mental model I have about performance is that the higher abstraction usually beats the lower level abstraction.

So in that sense, a well architected software with proper caching, multithreading where it matters etc. will beat badly architected software (ex: one that brute forces everything). Then, that being equal, good algorithms and solutions beat bad ones. Only then faster runtimes make more of a difference, and at the bottom things like more efficient processor architectures, more efficient compiler etc. beat slower ones.

A good example is Lemmy itself, which as far as I know was made in Rust to be super fast, but then at the beginning was being DDOSed quite easily because of the way the database was designed and lots of queries were very slow. Once they fixed that, Lemmy became actually usable.

[–] balder1993@programming.dev 2 points 1 year ago

“Any improvements made anywhere besides the bottleneck are an illusion” (Gene Kim)

[–] balder1993@programming.dev 5 points 1 year ago* (last edited 1 year ago) (1 children)

It helps to look up certain concepts in the Wiki (Arch Wiki is probably the most complete and well explained) as you come across them. The idea is to increase knowledge little by little, but over time it compounds.

[–] balder1993@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I mean, the way I see it he also has an economic incentive to endorse more AI everywhere.

On the other hand he seems to be one of the people actually pushing for saner legislation.

[–] balder1993@programming.dev 5 points 1 year ago (1 children)

First thing I install in each platform is fish

[–] balder1993@programming.dev 1 points 1 year ago* (last edited 1 year ago)

Seems like it allows self hosting as well. It seems to have more stuff indeed.

[–] balder1993@programming.dev 1 points 1 year ago

It isn’t a native UI, but the effort made to look native on each platform must be appreciated.

[–] balder1993@programming.dev 1 points 1 year ago

This is very useful. I think I’ll stick with it.

[–] balder1993@programming.dev 1 points 1 year ago

As much as I do like programming in Java, you have a good point.

[–] balder1993@programming.dev 3 points 1 year ago

What about accessibility?

view more: ‹ prev next ›