Detect Go’s silent arithmetic bugs with go-panikint
https://blog.trailofbits.com/2025/12/31/detect-gos-silent-arithmetic-bugs-with-go-panikint/
https://github.com/trailofbits/go-panikint
https://blog.trailofbits.com/2025/12/31/detect-gos-silent-arithmetic-bugs-with-go-panikint/
https://github.com/trailofbits/go-panikint
The Trail of Bits Blog
Detect Go’s silent arithmetic bugs with go-panikint
We’re releasing go-panikint, a modified Go compiler that turns silent integer overflows into explicit panics. We used it to find a live integer overflow in the Cosmos SDK’s RPC pagination logic, showing how this approach eliminates a major blind spot for…
Open PRs — Vote to merge https://www.openchaos.dev/
pls upvote -> https://github.com/skridlevsky/openchaos/pull/14
thx
pls upvote -> https://github.com/skridlevsky/openchaos/pull/14
thx
Newton's Law of Universal Gravitation in action.
https://www.cnbc.com/2026/01/12/apple-google-ai-siri-gemini.html
https://www.cnbc.com/2026/01/12/apple-google-ai-siri-gemini.html
CNBC
Apple picks Google's Gemini to run AI-powered Siri coming this year
Google's market value surpassed Apple for the first time since 2019 as it rolls out updated artificial intelligence features.
Startup interview: please send us code you’re proud of, and we’ll review it and make a decision.
On one hand, it’s cool - no dumb LeetCode. On the other hand…it’s kind of hard to find something you’re reaaaally proud of that actually shows your skills or whatever.
Is this something new/popular on the market? I mean this type of interview.
On one hand, it’s cool - no dumb LeetCode. On the other hand…it’s kind of hard to find something you’re reaaaally proud of that actually shows your skills or whatever.
Is this something new/popular on the market? I mean this type of interview.
Python's
Thanks to LLM's this is now not that hard to read. Yes, Go's
struct module API is kinda impressive. Reminds me Malbolge.struct.pack('<IHB', 100, 3, 255)
struct.pack('>2Q', 1, 2)
struct.pack('!f', 3.14)
Thanks to LLM's this is now not that hard to read. Yes, Go's
time, I'm looking at you.
oleg_log
Python's struct module API is kinda impressive. Reminds me Malbolge. struct.pack('<IHB', 100, 3, 255) struct.pack('>2Q', 1, 2) struct.pack('!f', 3.14) Thanks to LLM's this is now not that hard to read. Yes, Go's time, I'm looking at you.
https://en.wikipedia.org/wiki/Malbolge
Hello World:
Hello World:
(=<`#9]~6ZY327Uv4-QsqpMn&+Ij"'E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:`H%c#DD2^WV>gY;dts76qKJImZkjForgive my OCD, but I can’t accept this:
What the hell is
Look at this ideal code:
Yes, the extra
But even without that,
if got := tt.in.RawString(); got != tt.want {
t.Errorf("got %q, want %q", got, tt.want)
}
What the hell is
got? Why can’t it be beautiful, stylish, sexy, ultimate, 4 letters (!!!!) have?Look at this ideal code:
if have := tt.in.RawString(); have != tt.want {
t.Errorf("\nhave: %s\nwant: %s", have, tt.want)
}
Yes, the extra
\n is my preference - it makes comparing two lines much easier:have: foo-bar-baz
want: foo-baz-bar
But even without that,
got is a bad choice. Argh.
oleg_log
Forgive my OCD, but I can’t accept this: if got := tt.in.RawString(); got != tt.want { t.Errorf("got %q, want %q", got, tt.want) } What the hell is got? Why can’t it be beautiful, stylish, sexy, ultimate, 4 letters (!!!!) have? Look at this ideal code:…
Few more:
1.
because
2.
in most cases you don't care to run next tests, or so (debatable but whatever)
3. just
additional escaping via
1.
have & want, not want & havebecause
x != 3 and not 3 != x2.
Errorf instead of Fatalfin most cases you don't care to run next tests, or so (debatable but whatever)
3. just
%s (maybe with single quotes)additional escaping via
%q creates noise with \ when you've quotes by bad luck :(
oleg_log
Few more: 1. have & want, not want & have because x != 3 and not 3 != x 2. Errorf instead of Fatalf in most cases you don't care to run next tests, or so (debatable but whatever) 3. just %s (maybe with single quotes) additional escaping via %q creates noise…
4. No „fail” string in test names.
Better grepping, hehe.
Better grepping, hehe.
> Someone just randomly joined my Tailnet
> Tailscalar here. Yeah, this sucks.
8mo ago but anyway.
https://www.reddit.com/r/Tailscale/comments/1ksy3xy/someone_just_randomly_joined_my_tailnet/
> Tailscalar here. Yeah, this sucks.
8mo ago but anyway.
https://www.reddit.com/r/Tailscale/comments/1ksy3xy/someone_just_randomly_joined_my_tailnet/
Reddit
From the Tailscale community on Reddit
Explore this post and more from the Tailscale community
Everyone hypes Zig’s compile-time execution, but most examples end up being Sudoku, chess, or other abstract math problems.
Yeah, there are cases where comptime is genuinely useful, but they’re far less hype-worthy. Compile time doesn’t simplify glue code, sorry.
Yeah, there are cases where comptime is genuinely useful, but they’re far less hype-worthy. Compile time doesn’t simplify glue code, sorry.
This media is not supported in your browser
VIEW IN TELEGRAM
Are we AGI yet? (Github's home page)
At least now I know why WiFi on my Mac is a shitshow
$ uptime
11:23 up 60 days
3 SEV-1 incidents in one day. Non-related. Different teams. Different projects. How was your Monday?