Sabitlenmiş Tweet
Jarek Ratajski 🇺🇦
2.9K posts

Jarek Ratajski 🇺🇦
@NoobFunctor
I am anarchitect
Orion-Cygnus Arm Katılım Haziran 2014
513 Takip Edilen2.2K Takipçiler

@trikcode Claude uses the right of conscientious objection
English
Jarek Ratajski 🇺🇦 retweetledi

@razzy_ar @onehappyfellow Yes, it is like you are stuttering on the first letter
English

@making "Given" transaction propagation is maybe the most problematic part of popular java frameworks (it can fail in so many subtle ways)
English

Javaだと当たり前だけど、他の言語・フレームワークだとそうじゃないのかな。
両方にトランザクション貼ってネストさせて、必要に応じて伝播属性を調整すればええやん。
Toshiaki Maki@making
トランザクションの伝播について誰も言及していないのは何故?
日本語

@pradiptwt @Samaytwt Quiet MacBook :-)
Under serious load, my M5 Max is louder than an old vacuum cleaner
English

@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

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

English

@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

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

w czym? w Pythonie? C++? W kontrolerze do wspomnianego radaru? W javascripcie? Odpal sobie Windowsa i wciśnij Start i powiedz mi, dlaczego to wolno działa
Bartosz Gierczak@bartek_quim
@ArturTanona @babaryba1 @programista_xd Kod generowany przez AI jest na poziomie mida/seniora.
Polski

@dweorh @progXprog Wbijanie do głowy to złe podejście, wiadomo że nie działa.
To powinna byś reguła na jakimś linterze i CI
Polski

@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

@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

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

@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

@0xlelouch_ I am still reversing that one I started many years ago
English

@ThePrimeagen And it's great. You know exactly what you're installing and where.
English

@_andrewthecoder My keyboards has twice more RAM than my first computer
English

@initjean sorry, didn't read that - I am still in the code
English


















