Snake v2.10.0 is live! 🐍
New: thunderstorms⛈️
Lightning charges fruit - eat it and a spark grabs nearby fruit
Huge thanks to @Irek36104664 for the ideas and support! 🙌🍺
Can you beat the high score?
Download free (Win/macOS/Linux)
tinyurl.com/2zrv3j7z
#gamedev #indiedev
fperson retweeted
Znajomy @xfperson dłubie sobie gierkę - klasycznego Węża, ale z nowoczesnym twistem na retro fundamentach. Tradycyjna mechanika (jedz, rośnij, unikaj ścian i ogona), a dookoła żywy ekosystem - dynamiczna pogoda, combo i owoce o unikalnych właściwościach.
Dołożyłem małą cegiełkę (4 commity) i właśnie wjechało v2.11.0 (dokładny changelog wrzucam w screenach poniżej). Co w tym najlepsze! Zero generowania kodu przez AI, 100% rzemiosła i pisania z palca. Czysta frajda z programowania.
Paczki gotowe pod Windowsa, macOS i Linuksa. Rzucam wyzwanie: ciekawe, komu uda się pobić rekord. 😉
Link do pobrania: ⬇️
tinyurl.com/3mwjxuu9
(Build wisi na Mega - to mały, zamknięty projekt dla czystego relaksu, bez napinki na wielką dystrybucję).
#programowanie #gamedev
Snake v2.8.0 is live! 🐍
New: a mole that digs tunnels - drive into one mound, pop out of the other. 🕳️
Plus the HUD sky now matches your country's seasons and day length
Can you beat the high score?
Download free (Win/macOS/Linux):
tinyurl.com/287t8xtp
#gamedev #indiedev
fperson retweeted
Historia, którą powinna usłyszeć cała Polska. Tworzony przez Polkę Zuzannę Stamirowską startup PathWay właśnie przekroczył pół miliarda $ wyceny ogłaszając fundamentalne odkrycie w obszarze AI. Firma Pathway stworzyła nowy model AI o nazwie BDH-CQ, który radzi sobie z logicznymi zadaniami znacznie taniej niż dotychczasowe systemy. Model ten jest miniaturowy, ma zaledwie 150 milionów parametrów, podczas gdy konkurencyjne modele są gigantyczne. Uzyskał on wynik 29.5% w popularnym teście logicznym ARC-AGI-1. To jest fenomenalny wynik. Koszt rozwiązania jednego zadania przez ten model to zaledwie siedem dziesięciotysięcznych dolara ($0.0007). Oznacza to, że jest około 11 razy tańszy w działaniu niż zaawansowany model GPT-5.6 Luna. Sekretem tej oszczędności jest porzucenie dotychczasowej architektury zwanej Transformerem. Tradycyjne sztuczne inteligencje „myślą na głos”, generując gigantyczne ilości tekstu pomocniczego, co zużywa mnóstwo mocy i czasu. Nowy model „myśli” w ukrytej pamięci wewnętrznej (w stanie utajonym), rozwiązując problemy bez pisania brudnopisu z pośrednimi słowami. Pokazuje to, że dotychczasowe wysokie koszty AI wynikały z wadliwej budowy systemów, a nie z praw logiki. To jest jedno z najważniejszych odkryć Polaków w ostatnich latach jestem co do tego absolutnie przekonany.
Historia Zuzanny jest przepiękna. Studiowała m.in. ekonomię i politykę publiczną na prestiżowych uczelniach Sciences Po, École Polytechnique oraz ENSAE we Francji, a także w Sztokholmie. Tytuł doktora w dziedzinie systemów złożonych (Complex Systems) obroniła na Université Panthéon-Sorbonne oraz w Instytucie Systemów Złożonych w Paryżu. W 2020 roku powołała do życia startup Pathway (wraz z Janem Chorowskim i Adrianem Kosowskim). Z czasem Zuzanna i jej zespół przekierowali Pathway w stronę głębokiego rozwoju sztucznej inteligencji, rzucając wyzwanie dotychczasowym liderom branży.
Zuzanna robi to wszystko, łącząc życie zawodowe z życiem mamy, przyjaciółki to jest nie bywałe. Zuzanna ogromne, ogromne gratulacje. Ogromne.
@zuzanna_pathway
fperson retweeted
A tale of one Rust helper and the edge cases I almost shipped.
Needed a format_size helper for a small Rust CLI - turn a byte count into something readable like "2.3 MB". Instead of the usual "divide by 1024 in a loop," I leaned on the fact that 1024 = 2^10. Rust's u64::ilog2() gives you the exact bit position for free, so you can jump straight to the right unit in O(1), no loop at all:
pub fn format_size(b: i64) -> String {
const SUFFIXES: [&str; 6] = ["KB", "MB", "GB", "TB", "PB", "EB"];
let bytes = b.max(0) as u64;
if bytes < 1024 {
return format!("{b} B");
}
let exp = ((bytes.ilog2() / 10) as usize).min(SUFFIXES.len());
let value = bytes as f64 / (1u64 << (10 * exp)) as f64;
format!("{:.1} {}", value, SUFFIXES[exp - 1])
}
Pretty pleased with it - no float division chain, just one bit-shift. But before shipping I sat down and started running edge cases through it by hand, and two real issues fell out:
1. Rounding at the unit boundary. ilog2() picks the unit using exact integer math, but the display value still goes through float division and {:.1} formatting. Feed it 1,048,525 bytes (1023.95 KB) - ilog2 correctly says "KB," but {:.1} rounds 1023.9502 up to 1024.0, so you get "1024.0 KB" instead of jumping to "1.0 MB."
2. Negative input. b.max(0) as u64 silently clamps any negative byte count to 0, so -2048 prints as "-2048 B" instead of "-2.0 KB." The sharper edge: i64::MIN has no positive counterpart, so a naive .abs() would panic on it. .unsigned_abs() sidesteps that.
Fixed version:
pub fn format_size(b: i64) -> String {
const SUFFIXES: [&str; 6] = ["KB", "MB", "GB", "TB", "PB", "EB"];
let abs_bytes = b.unsigned_abs();
if abs_bytes < 1024 {
return format!("{b} B");
}
let mut exp = ((abs_bytes.ilog2() / 10) as usize).min(SUFFIXES.len());
let mut value = abs_bytes as f64 / (1u64 << (10 * exp)) as f64;
// guard against rounding into the next unit, e.g. "1024.0 KB" -> "1.0 MB"
if value >= 1024.0 - 0.05 && exp < SUFFIXES.len() {
value /= 1024.0;
exp += 1;
}
let sign = if b < 0 { "-" } else { "" };
format!("{sign}{:.1} {}", value, SUFFIXES[exp - 1])
}
Small footnote: in my actual codebase every call site already filters out negative sizes before calling this, so bug #2 was never reachable in practice there. Kept the fix anyway - a general-purpose utility shouldn't rely on its callers to stay safe. Good reminder that "is this exploitable here" and "is this correct in general" are different questions.
Curious if anyone spots a third one.
#rustlang
#rust
#programming
fperson retweeted
Developers should not have to choose one AI tool for every task.
But team leads still need shared context, reusable workflows, governance, and visibility across the tools people already use.
That’s why we built JetBrains AI for Teams and Organizations.
jb.gg/50ft6x
fperson retweeted
Junie is out of Beta! 🚀
The JetBrains AI coding agent plans, debugs with IDE tools, and runs long tasks while you're AFK.
It’s among the top coding agents on SWE-Rebench, and it uses any model you choose. 💎 Use a frontier model for planning and a cheap one for implementation.
fperson retweeted
The Planets is what happens when you let a physicist tell a story. Not just facts - a biography of eight worlds, each with a birth, a crisis, and an uncertain future. One of them happens to be ours. Watching it feels like perspective therapy.
Enjoy
↪️rumble.com/playlists/L4u6e8w…
fperson retweeted
🎉 To celebrate 15 years of Kotlin, we're offering free access to select Kotlin courses on Hyperskill.
Build your Kotlin knowledge with hands-on, project-based learning – whether you're just getting started or want to go further.
Learn Kotlin 👇
kotl.in/19noi4
We are pleased to announce version 1.3.0 (2026-02-14)
Description and download link below
xfperson.blogspot.com/2026/0…
fperson retweeted
See how JetBrains AI Assistant brings real AI coding help into your IDE, with you having full control.
:point_right: Join @MarcoBehler, Developer Advocate at JetBrains, and see it in action: youtube.com/watch?v=KqXRRZiC…

















