HN user

Kimitri

103 karma

[ my public key: https://keybase.io/kimitri; my proof: https://keybase.io/kimitri/sigs/Mvhabc2TZN3M49PXlVyixhdZIr469jzW5hX5nK_5FQc ]

Posts3
Comments55
View on HN

It's not the LoC I care about, it's the logical separation of concerns and testability. Large functions usually do many things which makes them really hard to test. Also, just mashing all the things in a single function is indicative of the author not having a clear picture of what problem he or she is dealing with.

I have been programming for 30 years and, while I don't consider myself a great programmer, I don't like large functions. In my experience they usually fail at clearly expressing intent and therefore make the code a lot harder to reason about. There are, of course, exceptions to this.

This is interesting and very timely for me. Just this week I was building a small Go system that uses SQLite. I needed to cross-compile it for FreeBSD on a Mac and ran into issues with CGO. The easiest fix seemed to be to switch from a CGO based library to a pure Go one.

I personally really like Bastille for jail management. It's way more ergonomic than creating jails by hand and allows you to focus on the stuff running in the jails rather than the jails themselves.

Unfortunately not. It was quite the setup! The A600 had a built-in dock for a hard drive but the turbo took its place. I ran a long ATA cable through the PCMCIA slot and had the drive just sit on the table next to the computer. The turbo also ran extremely hot (it had a plastic cover that started to melt almost immediately so I took it off) which meant I couldn't keep the case closed. I propped it open by shoving a 3,5 inch floppy between the disk drive and the case and have it sit there completely vertically. This allowed for enough air flow to keep the thing from overheating too much. Good times!

Exactly. Commodore made a mistake when they introduced it but I loved mine to bits! After owning it for about a year I upgraded it with a 68030 turbo (incl. 4 megs of fast mem, an FPU and an MMU) and a 4 gig IBM Travelstar HD. The upgrade made it one of the flakiest bits of computing hardware I've ever used (you'd be lucky to use it for an hour without it crashing) but it was just so frigging cool! I painted it pink and purple and labelled it "Sikakone" ("Pig machine" in Finnish).

I had a Teal Indigo2 for a few years about 15 years ago. I loved it! It had the cool feet that let you prop it up sideways so you could have it in tower mode. The feet had these little scoops embedded in them so the machine could more effectively hoover up all the dust from the floor. Fantastic!

I just want to inform you that the pricing section is effed up. It talks about FramerBite pricing - which I guess is the thing you used to throw this landing page together. That seems very low effort and I would estimate the output metric of that to be 1.03 with a correlation of 0.96.

The Dying Web 2 years ago

Regarding the tab management issue referenced in the post, I really could not use a browser without Tree Style Tab. Paired with Tridactyl, it makes tab management and switching tabs a breeze. I don't know if Chrome or any other browser has anything comparable to this setup and, to be frank, I don't even care. Firefox is one of my favorite pieces of technology ever and I'm not willing to give up on it.

If it's a FreeBSD VPS you're after, I'd suggest you give UpCloud a chance. I'm currently running a few FreeBSD VPSs on UpCloud and I have not run into any issues. It's kinda great!

Yeah, it's a right pain to deal with non-Elm things in Elm (including JSON data sources). It's possible but you will want to avoid it. However, I think I'd still take Elm over React if I didn't have to care about anyone else but myself.

I've always loved Matchbox because they made mundane, everyday cars that you could see on the streets. I know I'm in the minority with my love for the ordinary cars, but even as a child I would have much rather played with a Ford Sierra than a hot rod.

A few months ago we switched from a small dark blue hatchback to a bigger silver grey SUV. At the time I didn't really think about the color. Then I had a conversation with our neighbour and he pointed out that silver grey is an excellent color for a daily driver - small scratches are practically invisible and so are the tacky chrome accents. So, yes, I know I'm driving the most boring looking car on the road but I do like the practicality of it.

Blocking events until they are handled by the tracker's event queue is quite a common problem when using PiHole. It would be nice if those event handlers were registered using Google Tag Manager as it would mean that those event handers would never be registered if trackers are blocked.

By the way, I use VPN to bypass PiHole when I encounter these problems. It's a lot less hassle than switching the sinkhole off/on.

I built ÆHN, an easily customizable user stylesheet for Hacker News. I built this to scratch my own itch. The stylesheet has the following features:

- It's dark, meaning my eyes won't burn when I switch to the HN tab in my browser

- It removes the elements I never use so I don't have to hunt the HN UI for a way to unhide a comment I accidentally hid

- It makes the header sticky so I don't have to scroll back to top when I want to navigate somewhere else

- It provides comment indentation guides so I don't have to guess if a comment is a top level comment or a reply

The stylesheet is hosted on GitHub: https://github.com/Kimitri/aehn

Well, Drupal has multisite capability, too. I don't think using multisite is actually that good an idea. Having two separate websites be dependent on the same codebase is very prone to cause serious life cycle problems. I'd advice against using multisite on WP or Drupal.

Yep, it feels really sluggish. We benchmarked several tools to work as a documentation platform for our company. Notion was one of the candidates but it felt extremely slow and somehow really awkward to use. In the end we decided to use Slite and it has really served us well. I highly recommend it for anyone looking for this kind of tool!