HNHacker News
TopNewBestAskShowJobs

merpkz

599 karma · joined March 7, 2022

submissionscomments
merpkz··on Email Done My Way, Part 0 – The Journey
why do you need SRV records for submission,imap and imaps? Are there email clients who make use of those?
merpkz··on A 14kb page can load much faster than a 15kb page
so the hot takeaway here is that CSS must absolutely be embedded in HTML header so that browser does not make two requests to start rendering page in question. Also if page is using TLS and it most likely is, this all falls apart because initial handshake will do at least one round trip and kill all the speed of loading resource.
merpkz··on Important PostgreSQL 14 update to avoid silent corruption of indexes
Why do you say that anything but toy and demo NEED concurrent indexes? So far I have built toys and demos and never needed concurrent indexes, are they a must to dramatically speed up production workloads or am I missing something?
merpkz··on How fast are Linux pipes anyway?
Confused with parallel, maybe?
merpkz··on TinyPilot: Build a KVM over IP for Under $100
Anyone has experience making Raspberry Pi talking with server via RS232 serial interface? I am well aware that most servers/desktops have serial interfaces, but those are way of different kind of breed than what raspberry Pi has. I am going to order RS232 TTL MAX3232 serial port converter and try to build such a poor mans KVM device. Idea is quite simple, really - once server boots back up after extended power outage where UPS tried its best, its 99% going to make it to at least GRUB prompt or even kernel boot, if no hardware damage have been done, where it's going to ask for LUKS passphrase to unlock encrypted devices. Here I have setup initramfs with dropbear sshd with static IP to ssh into remotely, but it would also be nice that raspberry pi sitting nearby could talk with kernel over serial link. I have so far configured GRUB and kernel to talk serial and it works fine in VM setup with virtual serial interface, so it's now a matter of acquiring correct hardware for this to work. All should be about of a cost of one old rasbperry pi (even first model will do) and 10 bucks for serial converter.

EDIT: for a few extra dollars it's also possible to cycle motherboard reset/power switch with Raspberry Pi and something called optical relay switch, as described here - https://github.com/xtensa/PyControlPC and video after the break: https://www.youtube.com/watch?v=MFxcdinrOAo

merpkz··on How to stop a robot vacuum from getting stuck on the laundry rack
This is what works for me too - feeling relief that robot managed to collect all this dust I didn't even knew was there. And that's every single day! Totally worth those ~5 minutes collecting stuff all over the place.
merpkz··on Can a laptop from 2012 be a viable home server?
I used to run my old laptop from ~2008 with intel P8600 CPU, 4GB RAM and two cheapest kingston 120GB SSDs in RAID0 for postgresql dev work. Main reason was that I didn't want to bog my main desktop when re-ingesting large data sets and then indexing or updating it. Worked very well even though it had SATA II, guess random I/O on SSD is no issue even for older hardware. Needless to say it beat my main desktops uptime because of having battery working as a great UPS. And it could always display htop/iotop on it's display as a nice indication that something was being worked on. Reusing old hardware is cool.
merpkz··on Bucha Massacre
I legit don't get it what's the end game here for Russians. What can they possible achieve by doing all these atrocities in broad daylight for everyone to witness? I have heard their military doctrine is to escalate to de-escalate, whatever that means, they seem to be doing fine, so what's next?
merpkz··on Update Firmware of Samsung SSDs in Linux
does that firmware update come with any changelog? I have the same drive for my database dev work and I somehow feel uneasy to update it without really knowing what will change, will my specific workload improve or tank due to some other edge case they might have solved or broken? I mean, the drive works fine, will it work even better? for what workloads exactly? All I could find was someone mentioning it works better in PS5. It's the same reason I don't update BIOS for my motherboad - it works and has been remarkably stable for over 5 years. Chances of me being pwned by APT using some BIOS vulnerability is less than be bricking mobo while updating it.
merpkz··on Russian tanks in Ukraine are sprouting cages
why would a glass bottle bounce off a steel frame? imho it would shatter on impact and spill all over and underneath it? we need Mythbusters set on this one.
merpkz··on Cron best practices
Well, to be fair this article touches exactly that and solution is - use flock command before your cronjob, hardly a ton of boilerplate.
merpkz··on War in Ukraine: Marshall Mud is winning again
I don't get the obsession with that convoy either. What if they just got close enough to Kiev and now are just waiting for more troops from down south to fully enclose on the city and that's just that?
← PreviousPage 5 of 5