HNHacker News
TopNewBestAskShowJobs

mattpallissard

893 karma · joined June 10, 2022

contact@pallissard.net https://pallissard.net
submissionscomments
mattpallissard··on Research into why some people have a better sense of direction
It can be learned as well. As a child my old man would randomly ask the same question; which way is the river? I have a pretty good sense of direction.

I've drilled friends of mine with poor sense of direction similarly over the years. The improvement over time can be pretty dramatic. I realize that some of it is natural inclination, but forcing yourself to build mental map habitually is a large part of it. Practice anything enough and you'll improve.

mattpallissard··on Metabolism in adulthood does not slow as commonly believed, study finds
Protip. Eat less, eat healthy, exercise more, and ignore any news on diet, metabolism, or age. The human body hasn't changed drastically in the past century, our habits have.
mattpallissard··on Client libraries are better when they have no API?
> Hidden monkeypatching isn’t how we do things.

The original authors of several codebases I've been saddled with over the years would disagree with you.

This is Python and you a peasant. Yes most of the time the snake along the road is a snake, but occasionally it's a Basilisk waiting to destroy you with it's gaze. Knowing this, you the weary traveler, carry inconvenient tools such as mirrors to protect yourself and are well versed in superstition and arcane dark arts. You never let your guard down, because yes there is magic afoot.

mattpallissard··on Debt-related driver’s license suspensions in Ohio
I had a similar thing except on a much longer timeframe. When I turned 21 I went to renew my license and register a truck I bought. I paid by check. When the lady told me it'd be one sixty three (or something like that) I wrote a check for $1.63. She took it, gave me my paperwork and sent me on my way.

Fast forward 10 years the state must have digitized everything and I received a collection notice in the mail. I hadn't even lived in that state or owned that vehicle for several years. At least my license wasn't invalid.

mattpallissard··on California rains resurrect a long-dead lake in dry Death Valley
> I guess it never occurred to me to think about what's allowed vs not allowed.

I'm the same, but the opposite. I never would have thought there were public places you couldn't kayak.

mattpallissard··on A bad day at the office
A good landing is one you walk away from. A great one is where you can fly the plane again.
mattpallissard··on I hacked a train toilet
Cross country Amtrak has a few stops like that as well.
mattpallissard··on Global carbon markets overcredit cookstove greenhouse gas reductions by 10
Stoves without a catalytic converter can burn wet wood, it's just that most of the heat goes out the chimney until the wood is dry. Also, where the inefficiency comes from. No way around heating water prior to combustion afaik.
mattpallissard··on Waterway Map
I'm not a liveaboard but I live in an archipelago and have done my fair share of commercial fishing.

IMO: When the weather is nice, there is no better way to travel than by boat. If the weather is poor, there is no worse way to travel than by boat.

That said, while being stuck at anchor due to bad weather can be frustrating, there is something pleasant about laying next to the stove while you're being tossed about... Unless you're trying to sleep while you're listening to your anchor drag.

mattpallissard··on Juniper Networks to Combine with HPE
Whitebox switches for the win. Last datacenter I worked in we ripped out all our juniper, cisco, and mellanox gear. Went all in on cumulus. The fact that everything is linux made automating everything a breeze. Templated switch configs, automated deployments and upgrades, virtualized switch OS to test config changes via CI.
mattpallissard··on HP Enterprise to acquire Juniper Networks for $14B
They might make solid products in terms of stability but from a datacenter automation perspective I'd hardly consider juniper an innovator. Late to the game on automated installation, _decent_ automated switch configuration, whitebox switching, virtualizing switching and routing environments (for testing configs via CI).

Honestly, in the datacenter, companies like Cumulus wipe the floor with them. I'm not losing any sleep.

mattpallissard··on Teaching C (2016)
> any support for non-blocking IO and memory-mapped-files are missing

Sure but POSIX supports that and it may as well be the stdlib for those of us in *nix land.

mattpallissard··on There is an OOM kill count in Linux
Wrap everything in systemd-run. I documented some of it here on my shitty site. Some of the memory limits have changed over time, notably the browsers unit

https://pallissard.net/2022/06/27/limiting_application_resou...

Edit: I like your user space oomd idea though, that would be killer

mattpallissard··on Ask HN: In 2024, become an expert in Docker or Podman?
This. Understanding what the kernel does and the behaviors maps to any technology. What happens when you hit memory pressure? What causes it? What things are global or local to your cgroup?

Being able to answer questions like that transcends your container runtime. At that point it's just reading the docs, looking for the the label on the knob you already know needs tweaking.

mattpallissard··on Fake Trees: Using Indents for Simpler UIs
Tangentially related, a quick and dirty habit I've picked up over the years when explaining a taxonomy or other hierarchy is using my local filesystem.

A few mkdir's followed by the tree command. Paste it into email, slack, pastebin, etc and ship it off. Takes less than two seconds and gets your point across better than verbally explaining.

mattpallissard··on The X220 ThinkPad is the best laptop
Oh, I dunno. I've been using think pads for a many years. I've had a few work issued dell xps's along the way too.

I'm currently running a P14s, and while I have a few minor gripes around the fan and thermals overall I'm pretty pleased.

  * 2xTB4, HDMI, 2xusb3, 3.5mm jack,  I could have opted for a card reader if I still used PIV/CAC for Kerberos but I carry a yubikey these days
  * I prefer the newer Thinkpad keyboards, they have less play (as in wiggle) in the keys
  * Linux support out of box is great
  * Display and scaling work well with Wayland (sway)
  * Linux power consumption is great, <4W idle with minor TLP tweaks and blacklisting the proprietary Nvidia driver
  * The touchpad has improved over the years, specifically around the texture of the material and the sensitivity of tap to click
  * The i7 processor is honestly overkill in a laptop

I couldn't switch to an M2, well because Linux is a hard requirement for me.
mattpallissard··on Parsing an Undocumented File Format
Agreed, reverse engineering a job submission and validation protocol that ran over a Unix socket was some of the most fun I ever had on the clock.

I wound up basically re-implementing the software that was listening to create a test suite by the time it was all said and done.

mattpallissard··on Memory safety is necessary, not sufficient
> It was a very different world, and just being able to write in a higher-level language than assembly on a particular computer was a big deal.

It was different then, but not by too much. Our tooling, languages, etc, has improved yes, but the underlying hardware still exists and occasionally the general solution provided by our improved tooling is sub optimal for our use case.

I actually _like_ where C has wound up. I have way better static analysis tooling at my disposal than I had 15 years ago and I can use a "memory safe" language like python or OCaml and say "hey, I know better here", think carefully, and push the memory safe compiler out of my way.

mattpallissard··on Sudo without a setuid binary or SSH over a Unix socket
That sounds about right, its roots are education and research. Hence the strong federation support.

If you do decide to go down the krb route (I highly recommend), skip free IPA and just run vanilla openldap and MIT Kerberos. It's one of those things that has a learning curve, but mostly just runs itself after that.

mattpallissard··on Sudo without a setuid binary or SSH over a Unix socket
NFS has -o sec=krb5p which uses Kerberos principles, which can be mapped to accounts server side. Additionally, the the traffic is encrypted.

OpenAFS also uses kerberos for auth, but has a separate 'aklog' for AFS tokens on top of that. It also solved permissions in an interesting way by completely foregoing OS permissions. This allowed them to have more fine grained than POSIX specified and made the permissions identical across platforms.

mattpallissard··on A Lufthansa A350's frustrating Oakland diversion
I had a lufthansa flight cancelled due to company policy of how long you could sit on the tarmac. They had an instrument go bad, had a spare on hand but couldn't find it in time.

Flight got cancelled and I got rebooked for 4 days later. Which was after my business trip so I cancelled. I'm still waiting on my refund 3 months later. Everyone I speak to is nice, polite, agrees to refund me while saying but we'll have to call you back "because policy", pretty annoying. Whatever, i'll get it eventually I'm sure

I don't particularly care for Lufthansa.

mattpallissard··on We're About to Find Out How Dangerous the Cybertruck Is
My God. Every car safety article is a waste of time. Car safety numbers are about population data. As such it's all about small, incremental changes over time.

By definition no big news.

mattpallissard··on Ask HN: How do you do personal backups in 2023? (Google and Dropbox issues)
A file as a loopback device. Luks encrypted and formatted with a filesystem.

I mount it like a regular encrypted device then rclone/rsync it elsewhere.

mattpallissard··on Wayland Isn't Going to Save the Linux Desktop (2022)
> dropping nvidia + Wayland in favour of amdgpu + Wayland did.

This also dropped my laptops power usage by 2.5W.

mattpallissard··on Wayland Isn't Going to Save the Linux Desktop (2022)

  ~  cat /proc/2276/cmdline 
  sway%                                                                                                            
  
  ~  sudo grep -E '^[RP]ss:' /proc/2276/smaps_rollup
  Rss:              523864 kB
  Pss:              267873 kB
mattpallissard··on Secrets of the Fn Key
> But to toggle the keyboard backlight, I have to press Fn-Space bar, because it is hardcoded in the hardware keyboard controller. Whatever.

  bindsym $mod+Shift+m exec ~/bin/power_backlight_keyboard.sh


  #!/usr/bin/env bash
  
  sys_keyboard_path=/sys/class/leds/tpacpi::kbd_backlight/brightness
  if [ -f $sys_keyboard_path ]; then
   current=$(<$sys_keyboard_path)
   if [ "$current" -eq 0 ]; then
     new=1
   else
     new=0
   fi
   sudo tee ${sys_keyboard_path} <<<  ${new} >/dev/null
  fi
mattpallissard··on Meta will enforce ban on AI-powered political ads in every nation, no exceptions
I'd be cooler if they banned all political ads.
mattpallissard··on Ask HN: Is Knuth's TAOCP worth the time and effort?
TAOCP is best referred to, not read in it's entirety.
mattpallissard··on Exploring Self-Hosted Email Services
I've ran MTAs and MDAs both personally and professionally at scale. I've hosted my own postfix and dovecot instances for about 13 years now for one reason, sieve. I cannot live without it.

Honestly, the original setup of everything is a big lift if you've never done it but once you have ldap+krb5/PKI for auth{n,z}, DNS working properly, and a working POSIX setup (what used to be sysadmin 101) it basically runs itself in perpetuity. The underlying tech is old, feature-complete, and rock solid. Not to mention you're in full control of the entire stack. I honestly haven't had an issue after the first year and I use email HEAVILY.

Though to be fair, I do have a bunch of ldap entries and routing rules in place so the power users can choose sieve+dovecot and all the plebs can use the Gmail webui.

mattpallissard··on Who makes the most reliable new cars?
I have kids and value their safety but they can pull my 90's Honda and Chevy from my cold dead hands /irony
← PreviousPage 5 of 17Next →