fzz

joined 2 years ago
[–] fzz@programming.dev 10 points 2 years ago

I love ligatures and Fira Code (retina) is the best and absolutely comfortable for me.

[–] fzz@programming.dev 1 points 2 years ago* (last edited 2 years ago)

May it be fixed in the latest patch 17.1.1? 🤔

[–] fzz@programming.dev 4 points 2 years ago (1 children)

Ah! 😣 Why not nest or self-hosted pijul!?

[–] fzz@programming.dev 1 points 2 years ago (2 children)

Could you know how much I already taped Continue. 😣 So much! This post is result of that number.

[–] fzz@programming.dev 8 points 2 years ago* (last edited 2 years ago)

More langs for the God of Langs!

[–] fzz@programming.dev 4 points 2 years ago* (last edited 2 years ago) (1 children)

Kind of destiny 🤦🏻‍♂️

I started programming when I was in primary school. And I liked it very much, even though I didn't understand much even then. But it was impossible to stop and here I am writing this after about 30+ years.

What exactly attracted me - my father soldered a Russian clone of the Sinclair ZX Spectrum, showed me a couple of games loaded from a tape cassette, and I was curious how it works.

[–] fzz@programming.dev 32 points 2 years ago (1 children)

More than ten years ago, I was a team-lead in a game development company and during another crunch I was very overloaded with tasks, including a code review. And of course, I missed some things. We optimized the game, which in general did not do 30 fps on the target machine with minimum requirements, and the target was at least 40 fps. During the month, we jointly optimized everything so that we were able to achieve almost stable 40 frames, but this was not enough and periodically there were drawdowns up to 15-20 fps. Everyone is in panic, there are no ideas, we’re optimized everything.

No, I understand that there is no optimization limit apriori, but I mean an adequate opts without rewriting everything to assembler specifically for all supported architectures.

So, one night I looked into the event loop initialization and found that the initialization happens twice. Twice. Two parallel event loops. That is, two parallel cycles of logic and state updates. That night, by deleting one line, I optimized the performance of the game by more than 100%. 🤦🏻‍♂️

I investigated and found out that this line of secondary initialization was left by junior "for debugging" and forgotten in the crunch. And I missed it on the review.

I’ve keep this story a secret all these years. And now I'm not revealing names. Otherwise, it can have a dramatic impact on the careers of many.

[–] fzz@programming.dev 5 points 2 years ago

❤️‍🔥

[–] fzz@programming.dev 4 points 2 years ago

Already now. Approximately 4h.

[–] fzz@programming.dev 1 points 2 years ago

That new problem isn’t about links in post body, but about link in the “link-post”. To reproduce tap to “example” link and then tap to link there - will open in the browser instead of this app.

[–] fzz@programming.dev 1 points 2 years ago (1 children)

Okay, seems to I was wrong about special url-handling. I needed for lemmy hosts as minimum. As example, will be great to open links to posts in the same app instead of in-app/os’s browser. So now I’m sure we need it for various urls and I was wrong 😑

[–] fzz@programming.dev 3 points 2 years ago

Excepted result, kinda:

view more: ‹ prev next ›