miniblog.
← Back to all posts
Jan 20, 2013 at 12:10
The 9-digit problem
https://csokavar.hu/blog/2010/04/20/problem-of-the-week-9-digit-problem/
(warning: may cause nerd-sniping)
Wilfred Hughes
Related Posts
Mar 13, 2022 at 18:03
Sometimes a good bug report is just nerd sniping.
Wilfred Hughes
Shared words: nerd, sniping Score: 63.2
Jan 29, 2017 at 17:06
TIL that making an ABI mistake can cause segfaults in Rust, without unsafe or warnings!
tuple structs cause FFI segfaults on 32-bit Linux · Issue #39394 · rust-lang/rust
Given the following Rust code, compiled as a staticlib: extern crate libc; #[repr(C)] pub struct LispObject(libc::c_int); #[no_mangle] pub extern "C" fn fcdr(list: LispObject) -> LispObject { print...
Wilfred Hughes
Shared words: warning, cause Score: 23.8
Jan 22, 2018 at 20:25
Git is rather timid with merge conflicts. If you change two adjacent lines, it assumes they conflict!
https://softwareengineering.stackexchange.com/questions/194788/why-doesnt-git-merge-adjacent-lines-without-conflict
In my experience they don't, and it causes problems when library imports change at the top of the file. Interestingly, Subversion happily merges.
Wilfred Hughes
Shared words: problem, cause Score: 20.8