Jarek Ratajski 🇺🇦

2.9K posts

Jarek Ratajski 🇺🇦 banner
Jarek Ratajski 🇺🇦

Jarek Ratajski 🇺🇦

@NoobFunctor

I am anarchitect

Orion-Cygnus Arm Katılım Haziran 2014
513 Takip Edilen2.2K Takipçiler
Sabitlenmiş Tweet
Jarek Ratajski 🇺🇦
Jarek Ratajski 🇺🇦@NoobFunctor·
One thing that shows how grotesque mainstream java frameworks are is that developers coined term POJO - to indicate that they are dealing with a normal object - with no magic behind. Object that behaves the same during tests and production. So rare that it surprises everybody...
Jarek Ratajski 🇺🇦 tweet media
English
6
50
173
0
NOVA
NOVA@Its_Nova1012·
Backend interview question: your UUID generation has never produced a duplicate. in 5 years. across 500 million records. today it did. mathematically it shouldn't happen. but it did. why?
English
88
16
702
213.1K
Wise
Wise@trikcode·
I haven't seen a C++ vibecoder yet. I wonder why?
English
772
232
7.2K
1.3M
Jarek Ratajski 🇺🇦 retweetledi
Michal Mynarski
Michal Mynarski@M_Mynarski·
- droga klasy S ma dopuszczalna prędkość 120kmph, - na drodze klasy S instalowany jest OPP na 120kmph samochodziarz na darmowym portalu:
Michal Mynarski tweet media
Polski
9
4
369
18.3K
One Happy Fellow
One Happy Fellow@onehappyfellow·
the Polish tax code has the word "dżdżownica" (earthworm) on the first page
English
5
3
87
3.7K
Jarek Ratajski 🇺🇦
Jarek Ratajski 🇺🇦@NoobFunctor·
@making "Given" transaction propagation is maybe the most problematic part of popular java frameworks (it can fail in so many subtle ways)
English
1
0
4
2.3K
Pradip
Pradip@pradiptwt·
@Samaytwt MacBook because clean, quiet, and built for coding flow gaming laptops are power-heavy but clunky for dev work.
English
11
1
357
41K
Samay
Samay@Samaytwt·
Be honest As a developer which laptop is better for coding Macbook Gaming
Samay tweet mediaSamay tweet media
English
449
97
5.8K
879.3K
Jarek Ratajski 🇺🇦
Jarek Ratajski 🇺🇦@NoobFunctor·
@TrisH0x2A The interesting part is that, thanks to use of uintptr_t, this indeed works in C. I expected UB as usually in such tricks, but this time it is actually a valid code that should work for any compiler.
English
0
1
3
138
trish
trish@TrisH0x2A·
a doubly linked list normally needs 2 pointers per node: prev and next but there’s this weird old trick where you can store both in a single pointer using xor the whole thing works because of this property: A ^ B ^ A = B so if a node stores prev ^ next, and you already know one of them, you can recover the other. kinda confusing but also genius each node uses half the pointer memory of a normal doubly linked list, and you can still traverse both directions with the same field also this only really works in c/c++, in python and java can’t do it properly because garbage collectors move objects around in memory, which breaks the xor pointer math
trish tweet media
English
34
65
645
38.2K
Jarek Ratajski 🇺🇦
Jarek Ratajski 🇺🇦@NoobFunctor·
@vlad_mihalcea skills.md issue But seriously, using AI (assistance) for reviews is a thing. (does not matter who/what created the PR) Serious reviews with AI assistance still take a lot of time(!), but I would not say it eats almost all gains of AI coding
English
4
0
2
770
Vlad Mihalcea
Vlad Mihalcea@vlad_mihalcea·
Reviewing code generated by AI offsets all the productivity gains you get by using AI. It takes a lot of effort to review and validate changes, and you cannot do that for 8 hours per day. Unless you are vibe coding, the actual productivity gains are marginal in large projects where software mistakes cost a lot of money.
English
117
98
1K
56.6K
mejm
mejm@mejmpl·
Nie bronię kierowcy, miał czerwone! Ale te rogatki… WTF? To jakaś "pułapka Darwina"? O co chodzi? Dlaczego to tak działa?
Polski
301
21
1.1K
718.7K
Barłomiej Bąk
Barłomiej Bąk@dweorh·
@progXprog Pomimo lat wbijanie tego kolegom do głowy, nie mogę wyplenić pustego bloku catch. Robią try..catch i catch jest tylko po to, żeby nic na UI nie poleciało. Proszę ich, jak już nie wiesz co zrobić z tym wyjątkiem to go chociaż zapisz w logach. Za duże wymaganie :/
Polski
2
0
3
388
ProgProg
ProgProg@progXprog·
Melodia przeszłości: Jedną z moich porażek zawodowych jest to, że nigdy nie udało mi się przekonać kolegów do nie wyrzucania wyjątków w sytuacjach które nie są wyjątkowe Przy totalnej kontroli, będąc jedynymi klientami kodu stosowali wyjątki „aplikacji” albo „domenowe”
Polski
7
0
19
5.7K
Jarek Ratajski 🇺🇦
Jarek Ratajski 🇺🇦@NoobFunctor·
@progXprog @HerbuPoraj Takie podejście to normal w javie - gdzie checked exception to wbudowany w język mechanizm, który co do zasady wspiera używanie wyjątków w sytuacjach niezbyt wyjątkowych. Tony bibliotek i javowe sdk dokładnie tak tego używa
Polski
0
0
5
77
ProgProg
ProgProg@progXprog·
Nie, parsowali jakieś dane i coś było nie tak - throw application exception Nie można się zapisać na egzamin bo już jest maksymalna ilość - throw domain exception Nigdy tego nie rozumiałem Próbowałem „konfrontacji”, dyskusji, próśb… Mówiłem, że exception to sytuacja wyjątkowa która powoduje że aplikacja jest w stanie utrudniającym kontynuację bezpiecznego działania (błąd matematyczny, sięganie do pamięci poza długość tablicy, zerwane połączenie), a nie sytuacja która jest oczekiwana (literówka i brak możliwości dopasowania do Enuma albo próba kupna biletu z obejściem UI na niedostępne już wydarzenie) Nic nigdy nie było wystarczająco przekonujące. Do tego stopnia było to dla mnie niezrozumiałe, że czułem się głupi i myślałem, że to ja się źle nauczyłem.
Polski
4
0
2
557
Jarek Ratajski 🇺🇦
Jarek Ratajski 🇺🇦@NoobFunctor·
@progXprog No cóż sam kiedyś tak robiłem, z 20 lat temu. Tak się wtedy kodowało i to wtedy przez wielu było uważane za najlepsze podejście. Trudno to wykorzenić
Polski
0
0
6
523
Abhishek Singh
Abhishek Singh@0xlelouch_·
After all these years... Can you still reverse a linked list?
English
10
0
22
3.8K
• nanou •
• nanou •@NanouuSymeon·
Prove you're a Developer, with just one word 👇
English
864
3
273
69.8K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
Wait... It's 2026 and y'all are still dragging icons to install on Mac?
ThePrimeagen tweet media
English
348
27
1.7K
476.2K
andrewthecoder
andrewthecoder@_andrewthecoder·
You kids today have more memory in your CPU's L1 cache than I had RAM in my whole computer when I started writing code. It was a different thing.
English
17
0
24
801
trish
trish@TrisH0x2A·
things they don't teach you in CS that actually matter at a job
English
20
5
182
22.2K