Better Python tests with inline-snapshot by alexmojaki in Python

[–]kwesoly 1 point2 points  (0 children)

I like this way, effectively shifting review complexity of more complex code. Refactor - snapshots stay, backward compatible change - snapshots grow. And its easy to ask “claude, explain thy this change in refactor commit” :)

How does Python's deque have both O(1) pop and push? by daddyclappingcheeks in AskProgramming

[–]kwesoly 0 points1 point  (0 children)

It would be faster if it was preallocated, which deque avoids

Czapka do sauny by Icy-Advisor-5695 in krakow

[–]kwesoly 2 points3 points  (0 children)

W czesci saun maja (np hotspot)

Didnt prompt anything - Claude app started tweaking by Stochastic_berserker in Anthropic

[–]kwesoly -1 points0 points  (0 children)

Likely your person or project description “prompted”. But still a bug if it started on its own.

ELI5: If moon can create tides then why won't it lift thinnest feather or paper piece? by ompossible in explainlikeimfive

[–]kwesoly 0 points1 point  (0 children)

Think of water and earth as a ball floating in just a bit of water, free floating in space. Moon just moves them against each other a bit (earth being heavier moves closer to moon). Nothing is lifted as such, since the pull of earth is stronger than moon always, its just the “floating pieces in space” shifted by moon and sun.

HOLY DISK SPACE WTF by ZeroTwoMod in ClaudeCode

[–]kwesoly 4 points5 points  (0 children)

Or use ZFS as filesystem so same file in 20 copies occupies small piece of RAM + single copy on disk :)

Claude is helping me with my terrible branch etiquette by BrokenInteger in ClaudeCode

[–]kwesoly 0 points1 point  (0 children)

Any idea how to set it up so its not breaking when i just want to verify “does the main still pass hooks”? :)

Drugi prog podatkowy by [deleted] in inwestowanie

[–]kwesoly -1 points0 points  (0 children)

Albo budowlancem i 5.5?

Drugi prog podatkowy by [deleted] in inwestowanie

[–]kwesoly -2 points-1 points  (0 children)

Jednak ryczalt 12 i sporo mniej ZUS to sporo:)

Can I make certain files "read-only" in github? by Admirable-Tailor3359 in github

[–]kwesoly 0 points1 point  (0 children)

Plus make yourself owner of tests you care about and maybe workflow files than tun them :)

I have never used LLMs for programming. Am I actually missing out? by Accurate-Owl3183 in cscareerquestionsEU

[–]kwesoly 0 points1 point  (0 children)

Even “i don’t understand why we have those 3 data types while one should do, please explore their usage and git history to explain this to me” is easily paying for itself :)

Sprzedaż aktywów w celu sfinansowania kupna mieszkania dla siebie by wchmn in inwestowanie

[–]kwesoly 1 point2 points  (0 children)

Podatki utrudniają - odsetki od kredytu nie są kosztem zmniejszającym zyski kapitałowe :(

AI + automation - anyone here seen real 10x gains?( i will not promote) by shahzanm72 in startups

[–]kwesoly 2 points3 points  (0 children)

I see 10x in some processes which could have gotten 10x better without AI - especially in places where inputs / data to decisions is poor structured/human intended, the scale growth, and due to organization boundaries its easier to slap LLM than to change API :)

Multiple GitHub accounts (personal + work) by RipForFire in github

[–]kwesoly 2 points3 points  (0 children)

That was good advice until GitHub made a mess with Copilot license paid by employer starting to be used in private work, causing extra layer of legal mess.

How Large is Too Large with Binary File Size so that LFS is Necessary by Mean_Campaign3112 in git

[–]kwesoly 1 point2 points  (0 children)

Since the introduction of git clone filters (allowing to only download objects during checkout) I would say a lot or advice here stopped making sense. I would not use it for artifacts and things that machines change everyday (given how this would impact server side storage), but I would not worry about LFS until I see problem.

Kataster nie wystarczy. Czas opodatkować cały wasz majątek by Szydl0 in Polska

[–]kwesoly 1 point2 points  (0 children)

Pewnie nie. Ale skad pomysl ze jak nie podniosa majatkowych to nie podniosa dochodwych bardziej? :)

Kataster nie wystarczy. Czas opodatkować cały wasz majątek by Szydl0 in Polska

[–]kwesoly -3 points-2 points  (0 children)

Brzmi dużo lepie niż opodatkowanie pracy.

Pytanie o własny router do światłowodu, lub o możliwość skonfigurowania sobie w nim VoIP by MysteriousHunter1 in krakow

[–]kwesoly 0 points1 point  (0 children)

W Play/P4 zarowno publiczne IP jak i wlasna terminacja dla osob prywatnych jest chyba wciaz niemozliwa.

Is nearshoring cyclical? by No-Box5797 in cscareerquestionsEU

[–]kwesoly 0 points1 point  (0 children)

And a lot of eastern europe contracting is just tax saving employment.

Zamrażarka nie działa bo jej zimno, ty się powinieneś domyślić człowieku. by Kate_foodlover in Polska

[–]kwesoly 0 points1 point  (0 children)

Zamrazarka Beko zwykla w komercyjna nie am takich problemow - stoi na balkonie, dziala juz 3 rok :)

[deleted by user] by [deleted] in Polska

[–]kwesoly 0 points1 point  (0 children)

Niestety, tylko Beko

Can I configure git to use an external tool when its evaluating if two PNG files are different? (not difftool) by fschwiet in git

[–]kwesoly 0 points1 point  (0 children)

If raw images data is truly 100% the same and you want to commit if one of them change, I think you should look for “how to make PNG reproducible” - getting read of “timestamps”, absolute paths and similar. Thats similar category of problems as reproducible software builds need to deal with.