hoyhoy

Joined 19 years ago

Karma
57
Submissions
20
Member since
Jul 21
ɥʇnɹʇ ɟo uɐıpoʇsnɔ puɐ 'uɐıɹɐןɐnʇɔɐ' ʇsıɔısʎɥdɐʇǝɯ ʎbɹǝuǝ-ɥbıɥ 'ɹǝɥdosoןıɥd ǝɔuɐןǝǝɹɟ 'ɹǝuoɥʇɐɹɐɯ-ɟןɐɥ 'ʇsıʇuǝıɔs ɹnǝʇɐɯɐ
View on Hacker News

Recent submissions

Comment · 8 months ago
ASAN/LSAN is amazing. It absolutely monkey-hammers performance though.
Comment · 8 months ago
I looked at trying to implement -fbounds-safety and -Wunsafe-buffer on a reasonably large codebase (4,000 C and C++ files), and it's basically impossible.

You have to instrument every single file. It can be done in stages though. Just turn the flag on one-by-one for each file. The xnu kernel is _mostly_ instrumented with -fbounds-safety.

Comment · 8 months ago
Xcode (AppleClang) has had -fbounds-safety for a while now. What is the delay getting this into merged into LLVM?
Comment · 9 months ago
I've been having the same thought. Just move back to a file structure which is what I was doing from 1995 until 2007 before migrating to iPhoto.

The metadata in Apple Photos doesn't fully sync to iOS over a cable now. Did Apple intentionally make offline sync not work to force everyone on to iCloud? Also, even the local search inside of Apple Photos doesn't work correctly either. I thought it was hilarious when they tried add "AI" to this shitshow. Apple literally can't even make a local tag search.

Isn't it possible to put all the metadata in EXIF tags? People keep telling me to use Immich, but IDK.

Comment · 9 months ago
I looked through the Windows SDK header files recently due to reasons, and there are very few additions since Windows Vista. MS isn’t actively developing the core functionality of Windows anymore.
Comment · 9 months ago
Comment · 9 months ago
I asked the guy working on compiler-rt to change one boolean so the LLVM 18 build would work on macOS, and he locked the whole issue down as "heated" and it's still not fixed four years later.

I love LLVM though. clang-tidy, ASAN, UBSAN, LSAN, MSAN, and TSAN are AMAZING. If you are coding C and C++ and NOT using clang-tidy, you are doing it wrong.

My biggest problem with LLVM rn is that -fbounds-safety is only available on Xcode/AppleClang and not LLVM Clang. MSAN and LSAN are only available on LLVM and not Xcode/AppleClang. Also Xcode doesn't ship clang-tidy, clang-format, or llvm-symbolizer. It's kind of a mess on macOS rn. I basically rolled my own darwin LLVM for LSAN and clang-tidy support.

The situation on Linux is even weirder. RHEL doesn't ship libcxx, but Fedora does ship it. No distro has libcxx instrumented for MSAN at the moment which means rolling your own.

What would be amazing is if some distro would just ship native LLVM with all the things working out of the box. Fedora is really close right now, but I still have to build compiler-rt manually for MSAN support..

Comment · 15 years ago
Betting _for_ this is like betting against humanity!
Comment · 17 years ago
I was paid over six-figures to share a computer with another programmer all day long even though studies have shown that to halve productivity.
Comment · 18 years ago
Kent Beck's system is awesome if you want to subjugate a thousand programmers working at a bank. In some sense, it is a very successful way of forcing stupid people to build mediocre products under threat of economic violence.
Comment · 18 years ago
Wait, who owns the Web 2.0 trademark? Who holds a Web 2.0 conference every year?

This is sort of like the pope telling people to stop being Catholic.

Comment · 18 years ago
AWStats with GeoIPFree is pretty good, but a major hassle to configure.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton