4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions
comment 4y ago · link · parent
It took me a while, but I’ve finally adjusted to Sublime and am quite satisfied for now. It’s snappy and doesn’t break as easily. The only issue I have is that, unlike Vim and Emacs, Sublime macros seem to record movement by characters, not text objects. So if I move cursor by words inside a macro and then replay it in another place, where words have different lengths, the macro won’t do what it should. For those cases I’ll still switch to Vim probably.
[1]: On Windows my config doesn’t work at all. I have no idea why. I didn’t have the energy to debug it.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
RPM on the other hand is an over-engineered mess: <https://xyrillian.de/thoughts/posts/argh-pm.html>. Tangentially, YUM and DNF were the slowest package managers I've ever used. They're a real pain.
comment 4y ago · link · parent
I have no idea how a company like Microsoft releases such a turd to the world. And supposedly they're focused on "The Cloud"(tm) now, not Windows. So it should be in a better state than Windows.
When it comes to Windows, I love the overall kernel design. But when it comes to using the system, it seems to really lack polish. The myriad of little dysfunctional details (mostly in things which were added after Windows 7) just kills my ability to work with the system without getting angry at it.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
However mmaping files which can be modified by another process concurrently is tricky. You can just get killed by SIGBUS.
767.
We are stuck with egrep and fgrep (unless you like beating people)(utcc.utoronto.ca ↗)
310 points · by GrumpySloth · 4y ago · 342 comments
comment 4y ago · link · parent
> In any case, just subscribe to the arch announcements mailing list and you'll get an email notification in these cases. Not sure if I would put pacman -Syu into cron though.
That's exactly my point. With Arch you're expected to watch out for mailing list updates and running updates automatically with no human supervision is not a supported usecase. With Debian it very much is a supported usecase.
It doesn't mean that Arch is a bad distro. It just means it's not suitable for some scenarios that Debian is suitable for.
comment 4y ago · link · parent
https://archlinux.org/news/grub-bootloader-upgrade-and-confi...
https://archlinux.org/news/wxwidgets-32-update-may-need-manu...
https://archlinux.org/news/keycloak-1701-2-update-requires-m...
I’ve been running Debian with unattended updates enabled for 5+ years now and never needed to manually intervene after an update. You wouldn’t put pacman -Syu in cron.
comment 4y ago · link · parent
comment 4y ago · link · parent
2. “Malloc headers”? Malloc usually stores metadata in freed data.
3. C++ developers don’t call “new” for every single object, the way Java devs do. Idiomatic code defaults to allocating fixed-size objects inline (on stack or in a pre-existing bigger allocation), not in a separate allocation.
4. In C++ there are other ways to allocate dynamic memory than “new”. Arena allocators, directly calling mmap/VirtualAlloc/whatever makes sense in a given case.
comment 4y ago · link · parent
Whereas Japan really seemed to be in love with its own culture in the past. And I’d say rightly so.