pelya

joined 1 year ago
[–] pelya 3 points 1 month ago* (last edited 1 month ago)

If you want to understand how 3D projection works, it's better to solve a few trigonometric equations by hand on a piece of paper, then copy these equations to your Python code.

If you just want to quickly make your own 3D renderer, simply use OpenGL API and the corresponding projection matrix. It will run the same exact formulas inside the driver, just in a 4x4 matrix form, and you can simply experiment with modifying each element of your projection matrix to make your 3D scene rotate the way you want, without bothering to understand the math.

Simply copying some formula from the net will most probably fail.

[–] pelya 5 points 1 month ago (3 children)

Torvalds kicked out a bunch of Russia-based kernel maintainers.

[–] pelya 1 points 1 month ago

Yes, every letter has two lines.

[–] pelya 2 points 1 month ago
[–] pelya 3 points 1 month ago (1 children)

Hey, do you maybe know the Polish alphabet song? I was searching for it on the internet forever, but I don't speak Polish so I could not google the correct phrase. It started like this (reconstructed from oral lore using Google Translate):

Berlin miastem w Niemczech leże

burdel - miejsce dla młodzieży

guzik to jest częścią ubrania

gówno jest produktem srania

dynia to jest do jedzenia

dupa to jest do pierdzenia

...

And it supposedly continued all the way to letter Z.

[–] pelya 2 points 1 month ago

They were just called 'tomatoes' on the label. They also were more sweet than sour, and over-ripened.

You can use plum tomatoes, they are usually the cheapest, and will have the taste closest to the tomato paste.

[–] pelya 1 points 1 month ago

If you don't add the meat, this becomes a classic vegetarian pasta recipe. Eat with a slice of Brie, or grind some hard cheese on top. Or simply put sliced cheese on top, it is going to melt anyway.

[–] pelya 4 points 1 month ago* (last edited 1 month ago) (2 children)

The main reason is that I've got this can of pork for free, and it wasn't super high quality, with skin and sinew. Eating it as-is was meh, so my choice was either to dump it into a soup, or army-style macaroni, which is a downgrade of navy-style macaroni, the recipe is literally - dump the can of meat into a pasta, and you can replace the pasta with instant noodles for an extra decrease of cooking time and dish quality.

[–] pelya 31 points 1 month ago (1 children)

The security issue is very likely scenario. If you're in Russia, you can go to jail at any moment on totally bogus charges. It is very easy for FSB to pressure some random kernel maintainer into adding hard to detect backdoor into their code, it will be XZ situation all over again.

[–] pelya 34 points 1 month ago

Yes they do. See the long-standing debate over the ban to export crypto algorithms to Iran.

[–] pelya 1 points 1 month ago

But does it support diffs for GIFs?

[–] pelya 1 points 1 month ago
view more: ‹ prev next ›