sh-run's comments

sh-run | 1 month ago | on: In praise of –dry-run

I don't like the sound of `--wet-run`, but on more than one occasion I've written tools (and less frequently services) that default to `dry-run` and require `--no-dry-run` to actually make changes.

For services, I prefer having them detect where they are running. Ie if it's running in a dev environment, it's going to use a dev db by default.

sh-run | 6 months ago | on: Athlon 64: How AMD turned the tables on Intel

I might be misremembering, but the initial core series (core 2 duo/quad) was still a bit behind AMD's Phenom line. Core was definitely better than the old netburst architecture, but I don't really remember Intel regaining dominance until the core i series/AMD FX.

This was also like high school/college for me, so I could be way off.

sh-run | 6 months ago | on: The Universe Within 12.5 Light Years

I'm not a physicist, but I believe that's the exact insight that led to special relativity. It goes something like: If your moving at 1,000kmh next to a jet moving at 1,100kmh then the jet is moving at 100kmh relative to you. Eventually people realized those wasn't the case with light. No matter how fast the observer is, light still moves at 299,792,458m/s. Einstein figured out that if the speed of light is fixed despite relative motion, then time must slow down as you move faster. So from the perspective of a photon no time has passed since its departure.

sh-run | 1 year ago | on: Helen Keller on her life before self-consciousness (1908)

Right? It's such a foreign form of intelligence to me. I think the paper "What is it like to be a bat" by Thomas Nagel made me realize that I can't even imagine what it's like to be my next door neighbor, let alone a being that has senses that differ from mine. Helen Keller's mind must work in a greatly different way than yours or mine. When I think, it's in English. I visualize things. Smell, touch and taste are never really involved. It's like they are the lesser of senses and yet that's all she had. It's incredible.

Andy Weir in Project Hail Mary and Adrian Tchaikovsky in Children of [Time|Ruin|Memory] do a great job of describing what other forms of consciousness might be like, but still falls flat, I only really think in sight and sound.

What is it like to be a bat? I'll never know.

sh-run | 2 years ago | on: New data shows walking down 36% in USA since 2019

The article is one sided, but still mentions that biking is up:

> Despite this, there’s a noticeable rise in biking trips while pedestrian activity is dwindling as a portion of overall trips.

They cite StreetLight Data as their source. Per GCN (which cites the same source)

> bicycle trips in the US have increased by 37% from 2019 to 2022

GCN is obviously also going to have some kind of bias, but the TTI article clearly does as well.

https://www.globalcyclingnetwork.com/general/news/in-the-us-...

sh-run | 2 years ago | on: Why aren't motherboards mostly USB-C by now? (2021)

My mouse and keyboard are both usb-c and I wasn't specifically looking for usb-c when I ordered either of them. Logitech MX Master 3 and Keychron Q1. They are both relatively high end devices, but I don't think it's hard to find usb-c devices.

That said I do own lots of usb-a devices and will continue to own them for the foreseeable future. I would not purchase a laptop that was usb-c only today.

sh-run | 2 years ago | on: Why aren't motherboards mostly USB-C by now? (2021)

Less than an hour ago I set my backpack down on top of a usb-c cable plugged into the back seat usb-c port in my car. The cable broke at the plug, but the port is fine. I'm a little upset with myself because it was my only 5A rated usb-c cable.

sh-run | 4 years ago | on: The Steel House Saga

I went to Texas Tech and made the pilgrimage to Ransom Canyon. I remember thinking it looked sorta like Majin Buu's house from DBZ. It's nice seeing that someone is doing something with the house, it's not like anyone knows what Bruno's final vision would look like and it was a little sad seeing the obviously unfinished steel house overlooking the lake.

I don't have much else to add, but it's fun seeing Lubbock show up on HN.

sh-run | 4 years ago | on: Features that more cameras should have

I have an Oly EM1.3. Pro-capture on a rental EM1.2 is what originally sold me the camera, but Live ND (image averaging) is probably my most used feature outside of standard aperture priority shooting.

It's pretty fun what you can do with it. Here's an example from a backpacking trip last year:

without Live ND: https://i.imgur.com/kJjEDmt.jpg

with Live ND: https://i.imgur.com/IhHzo4T.jpg

Both taken (handheld at 100mm) on my Panasonic 100-300/F4.0-5.6. I tend to carry it and my Oly 12-40mm f2.8 when backpacking.

sh-run | 4 years ago | on: Southwest operational meltdown as hundreds of flights canceled or delayed

My dad is a commercial pilot for a different carrier. The tl;dr is there are typically a subset of pilots on-call at any given time. Pilots who aren't on-call won't be asked to give up their weekends to cover flights.

Pilots either "sit reserve" or "hold a line" based on seniority/airframe and to a lesser degree rank (ie a pilot may choose to sit reserve as a captain when they could be a line holder as an FO). Line holders have a set schedule that they bid on (again based on seniority). If someone calls in sick, misses a flight, or if a flight goes unscheduled, scheduling contacts a pilot that is sitting reserve who then fills in the missing position.

When sitting reserve they get paid to hang out near the airport. Pilots are typically based out of some airport, reserve pilots need to be able to get to their airport within a set amount of time after being called (iirc 2 hours).

It's not that there aren't real reserve pilots, it's that there are exactly the number of backups that there needs to be under normal circumstances. Airlines don't like paying people to sit around and they've got scheduling down to a science. I think I was in high school the last time my dad sat reserve. It felt like he had to fly almost every time (but not every time!) he was on reserve.

sh-run | 4 years ago | on: Plain Text Offenders

> If you say that “basically everyone should never store plaintext passwords” then I will 100% agree with you but there are cases where the trade-off in usability can be worth it for very non-technical users.

IMO due to less technical users it's even more important that passwords aren't stored in plaintext. Less technical users are more likely to reuse passwords across multiple websites.

When a breach occurs unless passwords are salted and hashed the attackers immediately gain access to every account with the same username/email + password. This isn't as much of a problem for security conscious users, but if you're writing a piece of software it's important to remember that not all your users are security conscious. We can do better as an industry.

sh-run | 5 years ago | on: Garmin obtains decryption key after ransomware attack

I'd be curious to know what all was actually impacted by the ransomware. It sounds like they shutdown all their services in order to assess the damage.

Maybe this only affected their corporate infrastructure or manufacturing infrastructure. Looking through my connect account I don't see any missing data that would point to a backup old enough to not be encrypted. My watch does store some information offline so it could be that any gaps have already been filled in or it could be that connect was encrypted and has since been decrypted.

sh-run | 5 years ago | on: Garmin services and production go down after ransomware attack

I agree that the mobile app shouldn't be broken with the server down, but I've got a FR 935 and can alter my watch face and set alarms through the watch.

Watch Face

1. Hold down up/menu

2. Hit start

3. Select Watch face

4. Hit start

5. Select customize

Alarms

1. Hold down up/menu

2. Click down to select clock

3. Hit start

4. Hit start again to select alarm clock

5. Navigate down to add alarm

sh-run | 5 years ago | on: Excessive line breaks are bad

I have no problem with 80 lines side by side with vscode taking up half of my 3440x1440 display (so 200px less wide than a single 1920 × 1440 display). Even with the extra space taken up by the github UI, I can't imagine 40 additional chars is a big deal.

Even at 80 I occasionally sacrifice readability for line breaks to keep my company's linter from throwing a fit. 60 does not sound like a good idea to me.

sh-run | 5 years ago | on: Zuckerberg says employees moving out of Silicon Valley may face pay cuts

Exactly this. I work for a FAANG and live in Texas. If employees leaving the bay area could leave and maintain the same level of pay, I'd expect a bay area salary as well. With the lack of a state income tax and relatively low housing costs I'd be living like a king! According to NerdWallet's COL calculator I could pay off my house after a year with just my salary increase.

Edit: And if I moved to the bay area I would absolutely expect a COL increase

page 1