Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wolletd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
wolletd
2y ago
How? Shouldn't it just all be UTF-8? Or do you use a different encoding on your system?
32.
▲
by
wolletd
2y ago
> try explaining how to use sed to a fresh graduate who's never seen it Well, for starters, you just `s/<regex>/<replacement>/` and try to use that in your everyday work. Just forget about the syntax. It&#
33.
▲
by
wolletd
2y ago
I propose infinite timezones, you simply calculate the true noon from your latitude. Smartphones can do that for us. The time at your workplace would be some minutes off the time at your home. And when your phone is off, you are screwed. It
34.
▲
by
wolletd
2y ago
Name resolution problems are the most bizarre. And they happen at every level and can combine beautifully. I had a DNS server flooded with Format Error messages, because NTP Pool DNS sent an invalid response for a specific query and two (ye
35.
▲
by
wolletd
2y ago
When you say it like that, nothing really is serverless. Everything is running on some computer. Serverless architectures are provided by servers.
36.
▲
by
wolletd
2y ago
IPv6 link-local addresses based on MAC address are neat, I use that in production. We build a machine containing six cameras. All of them come with the same default IPv4 address, but the MAC address is based on the serial number, so the IPv
37.
▲
by
wolletd
2y ago
What I don't get is, why are we still adding more undefined behaviour to the standard? For example, C++23 got std::unreachable. From my dips into Rust, I expected something similar to std::abort, terminating the program in some sane an
38.
▲
by
wolletd
2y ago
You can declare and inline-define a function in a CPP file and you don't need inline because there are no other places that can import it. It's only needed for functions defined in header files where multiple definitions may exist
39.
▲
by
wolletd
2y ago
But if I can't trust even that host, I also can't trust the host I'm working on and which doesn't need agent forwarding to access my SSH agent.
40.
▲
by
wolletd
2y ago
The point of images in texts isn't to target illiterate users, either. A tutorial for a graphical user interface would surely benefit from some screenshots of that very graphical user interface thrown in there. The tutorial literally e
41.
▲
by
wolletd
2y ago
I recently build some internal app with Qt. Unfortunately, building Qt apps on Windows is somewhat complex. Also I didn't find a way to install Qt on Windows without later receiving E-Mails from Trolltech (or The Qt Company, nowadays)
42.
▲
by
wolletd
2y ago
I even know of vending machines that have routers with OpenWRT and dnsmasq in them. Mainly because I put those there.
43.
▲
by
wolletd
2y ago
I shifted to using systemd-boot as default years ago and don't look back. Granted, prior to Debian Bookworm I had to roll my own initramfs- and kernel-hooks, but there were blog posts and I didn't need to develop them. I even trie
44.
▲
by
wolletd
3y ago
Which is kind of the point. BTRFS only has issues with RAID5/6 configurations. Using it as a filesystem for a single disk or partition should be totally fine.
45.
▲
by
wolletd
3y ago
> and the rest will get thrown away not long after that. I'm still working on a project that was mainly written by someone who left the company right before I joined – ten years ago.
46.
▲
by
wolletd
3y ago
At some point, I felt like I knew them all. There are probably more regex dialects out there, but I don't encounter them and my set of knowledge works most of the time. I feel it's like driving a rental car. It behaves slightly di
47.
▲
by
wolletd
3y ago
The differences of the various regex "dialects" came to me over the years of using regular expressions for all kinds of stuff. Matching EOL feels natural for every line-based process. What I find way more annoying is escaping char
48.
▲
by
wolletd
3y ago
Also, a lot of devices require very specific ioctl() commands to work with and don't provide everything as a file. For example, you can't set the baudrate of a serial port by writing it to some /proc node.
49.
▲
by
wolletd
3y ago
"small threaded programs had been run successfully" I have ran a lot of programs containing race conditions successfully many times until I ran into an issue.
50.
▲
by
wolletd
3y ago
People don't get the security concepts. Probably, just a lot of people wanted signed commits because they somehow "better", but couldn't get PGP to work. But they use SSH keys to push to GitHub anyway, so someone added t
51.
▲
by
wolletd
3y ago
Well, otherwise `if grep "line" $file; then` wouldn't work, which in my opinion is the primary use case for grep in scripts. I'd still prefer a `grep <args> || true` over not having `set -e` for the whole file.
52.
▲
by
wolletd
3y ago
Just adding `set -e` also exits the script when a subshell exits with non-zero error code. I'm not sure why I would leave `set -e` out in any shell script.
53.
▲
by
wolletd
3y ago
In my case, the application was using the Wireguard MTU correctly, but the Wireguard packet itself was too big for something on the path. So, the Wireguard MTU wasn't set correctly, basically. But Wireguard packets aren't marked D
54.
▲
by
wolletd
3y ago
WireGuard! I had multiple issues with WireGuard related to MTU/fragmentation. Once, service reported that a system is pingable, but the management website didn't load. I was able to SSH into it, but similarily, the connection brok
55.
▲
by
wolletd
3y ago
I also have friends, but I rarely see them on workdays. Having other people around me on those days feels good, I don't like being alone for several days. I totally can do and have done that, but I prefer to not be alone. Additionally,
56.
▲
by
wolletd
3y ago
Just to be fair: as also stated at the beginning of the post, CPUs are far more complex nowadays than they represent themselves to the outside. They don't work like a von-Neumann machine, they act like one. Granted, we know a lot more
57.
▲
by
wolletd
3y ago
Absolutely, yes, should've mentioned that. Most of these tools are for internal use at my company and I know what terminals they run in – even better: I can just test it. But honestly, some of these run in tmux on my machine and in the
58.
▲
by
wolletd
3y ago
For the handful slightly fancy TUI applications I wrote, I had some fun in just using raw escape sequences. I really like the buildkit output style, I couldn't figure out how to do something like this – multiline output without a full-
59.
▲
by
wolletd
3y ago
> There's no money in making a thing that works well, only in making things that look good. I work in a company building vending machines and such and it's the other way around here. Most products are shipped with a pretty medi
60.
▲
by
wolletd
3y ago
I'm looking forward to the day when I can run a browser in my browser.
More ›