swistak.codes/post/kody-2fa/
#juniordev #algorytmika #programowanie #juniordeveloper #devblog #javascript #it #informatyka #algorytm #cybersecurity
@swistak.codes
🦫 swistak.codes author (Polish) 🤓 JavaScript Developer (10+ years in IT) ☁️ Software Architect 🎸 Writing mostly IT related stuff (English and Polish) 🎯 Also: games, music, movies etc ➡️ More: https://linktr.ee/swistak.codes
swistak.codes/post/kody-2fa/
#juniordev #algorytmika #programowanie #juniordeveloper #devblog #javascript #it #informatyka #algorytm #cybersecurity
swistak.codes/post/problem...
#javascript #informatyka #programowanie #algorytmika #it #devblog #algorytm #juniordev #juniordeveloper
swistak.codes/post/liczby-...
#algorytmika #programowanie #juniordev #devblog #matematyka #informatyka #javascript #it #juniordeveloper #algorytm
comparison between apple's finder icon and mine. apple's is the split blue and white smiley face, mine is two blue and white anime girls making out
comparison between discord's icon and mine. mine is like a screaming cat on a blue/purple slimy background
comparison between celsys's clip studio paint icon and mine. mine is similar but rotated with some comic styling and pink and blue highlights
comparison between mozilla's firefox icon and mine. mine is similar but looks closer to the old firefox icon and brings back the little arm and gives the fox a cute little smiley face
last week i remembered that macOS lets you set your own icons and that *I* have the power to delegitimize the professionalism of the software that runs on my machine, so here's a thread of the 16 new icons i've made so far
i really forgot how fun it was to just sit down and make art for myself :')
Pisząc bezwzrokowo na klawiaturze, jedne słowa wpisuje się łatwiej, inne trudniej – niektóre niemal bez ruchu palców, inne wymagają gimnastyki. Czy można to zmierzyć? Sprawdziłem!
Zapraszam do lektury:
swistak.codes/post/trudnos...
Silnia to jedna z szerzej znanych funkcji matematycznych. Z jednej strony podczas nauki matematyki kojarzymy ją mocno z kombinatoryką, z drugiej podczas nauki programowania stanowi sztandarowy przykład rekurencji. Ten temat jednak warto rozszerzyć.
swistak.codes/post/silnia/
Wolfenstein 3D nie był pierwszą grą z trójwymiarowym światem, ale za to była pierwszą, która wprowadziła graczy w świat 3D w sposób przystępny. Technicznie najciekawszą rzeczą w tej grze jest renderowanie 3D. Omówmy je i zaimplementujmy w JavaScript.
swistak.codes/post/rendero...
Wyszukiwanie obiektów w przestrzeni - przydatne przykładowo przy programowaniu gier. W artykule przedstawiam przykładowe podejścia do tego problemu, ograniczając się do przestrzeni dwuwymiarowej.
swistak.codes/post/wyszuki...
Z okazji 5-lecia bloga świstak.codes i 3-lecia jego przepisania postanowiłem udostępnić jego źródła na GitHubie. Jeśli jesteś ciekaw(a) więcej szczegółów, a także informacji o tym, dlaczego kod jest napisany tak, a nie inaczej, to zapraszam do lektury.
swistak.codes/offtopic/ope...
W informatyce bardzo często spotykamy się z pojęciem losowości. Tylko odpowiedzmy sobie na kluczowe pytanie — jak w ogóle komputer losuje? Czy komputer jest w stanie wygenerować coś, co jest naprawdę losowe?
Zapraszam do lektury!
swistak.codes/post/losowosc/
#it #programowanie #algorytmy
W aplikacjach graficznych jedną z dostępnych funkcji jest możliwość skorygowania perspektywy wykonanego zdjęcia. Robienie tego jest tematem tego artykułu. Zrozummy temat z punktu widzenia matematyki i zaimplementujmy wszystko od zera. Wskażę też, gdzie znaleźć gotowce.
swistak.codes/post/korekcj...
A custom function that returns different values based on light or dark mode being used to visit the page.
CSS Custom Functions are coming … and they are going to be a game changer!
👉 brm.us/css-custom-f...
Did you know that computing the remainder of a division varies across different programming languages, and that most implementations don’t align with the mathematical definition?
Read about it here: 4markdown.com/the-curious-...
Piąty rok istnienia bloga świstak.codes zacznijmy z przytupem. Czas więc poeksplorować chińskie twierdzenie o resztach. Dowiedzmy się, o co w nim chodzi, jak działa i jakie ma praktyczne zastosowania. Co najważniejsze dla programistów, pokażę, jak je zaimplementować.
swistak.codes/post/chinski...
😏
I made a Doom source port that runs within a PDF file.
PDFs support Javascript, so Emscripten is used to compile Doom to asm.js, which is then run within the PDF engine. Input/output is done by manipulating text input fields.
doompdf.pages.dev/doom.pdf
github.com/ading2210/do...
In case you missed it:
I've translated my article about measuring execution time into English. In it, I explain how to do it properly and interpret the results.
Check it out here:
4markdown.com/measuring-ex...
So, where’s the article? You can read it here: 4markdown.com/measuring-ex...
What do you think? Drop me a comment if you like this content—it’ll definitely motivate me to translate more posts!
BTW. Fresh content is coming to świstak.codes at the end of January.
Since I want to keep świstak.codes in Polish, I’ve used a different platform for this translation. I decided to try out 4Markdown by @polubis.bsky.social, a relatively new platform designed for writing and publishing educational content.
The first article I chose to translate is...
"Measuring Execution Time"
This article was originally published as "Mierzenie czasu wykonania" about a year ago.
This year, I’m starting to translate some świstak.codes content into English! It won’t be regular, and I won’t translate everything, but I think the English-speaking community might enjoy a curated selection of my (very subjective) “best-of.”
Bad Apple but it's 6,500 regular expressions that i search for one at a time inside of vim
full writeup over here on my blog: eieio.games/blog/bad-app...
Let's finish it.
Choose 20 albums that have stayed with you or influenced you. One album per day for 20 days, in no particular order. No explanations, no reviews, just covers.
20/20
Choose 20 albums that have stayed with you or influenced you. One album per day for 20 days, in no particular order. No explanations, no reviews, just covers.
19/20
Choose 20 albums that have stayed with you or influenced you. One album per day for 20 days, in no particular order. No explanations, no reviews, just covers.
18/20
Choose 20 albums that have stayed with you or influenced you. One album per day for 20 days, in no particular order. No explanations, no reviews, just covers.
17/20
Choose 20 albums that have stayed with you or influenced you. One album per day for 20 days, in no particular order. No explanations, no reviews, just covers.
16/20
Brzmi jak coś, co mogłoby parę lat temu trafić do Polinuksa obok "popłochu jądra" 😄