HNHacker News
TopNewBestAskShowJobs

wrigby

949 karma · joined October 14, 2014

Systems engineer ("DevOps" if you're a recruiter), with a dash of audio engineer thrown in there for fun.

[ my public key: https://keybase.io/wrigby; my proof: https://keybase.io/wrigby/sigs/MdiYCR9-ieNbkrRSq38cl5kTsYb0FPgkJhNFC0C0ZWA ]

submissionscomments
wrigby··on Production Twitter on one machine? 100Gbps NICs and NVMe are fast
No approach is a silver bullet here, but what I've found effective is to seek out friendships with / mentorship from senior and staff-level engineers. They'll have tons of war stories from 10-20 years ago, and may even have some snarky opinions on what "new technologies" are just re-inventions of something that the industry had already solved decades ago.

As a current undergrad, you can also look to your professors for this (especially those with industry experience before they went into teaching).

After graduation, this may mean working at a company _with_ those older engineers, as opposed to a 5-20 person startup with a homogeneous group of 20-somethings.

wrigby··on Police, prosecutors used junk science to decide 911 callers were liars
I’d be interested in understanding this better - what kind of sensors do you have in mind that are junk?
wrigby··on Writing a Mini-CDN to Learn Nginx/Prometheus/Grafana/Lua
IIRC the industry standard is to serve your authoritative DNS with anycast, and have those servers do geo-based dns resolution to shift HTTP traffic to a nearby edge POP.
wrigby··on Twenty five thousand dollars of funny money
No, the credits could only be used to run ads. However, the ads were run publicly, and competed in ad auctions with campaigns from actual customers paying actual money.

If employees had a $25k ad budget, that would mean increasing the demand for ad placement by $25k, which could actually affect the ad campaigns of real customers - definitely not ideal.

wrigby··on A 3D-printed ethernet RJ45 clip to secure/repair/fix broken tab (2020)
Cable bought on long spools to install permanently is usually solid, while patch cables are usually stranded. Most of the time, you'll end up buying pre-terminated stranded cable, and all the cable you terminate yourself will be solid.
wrigby··on Being OK with not being extraordinary (2021)
It's worth pointing out that a competent engineer with a good business sense is the exact formula for an exceptional sales engineer.
wrigby··on Ask HN: What weird technical scene are you fond/part of?
I use JLC PCB for small projects at work, when we‘re doing prototype runs or just making a few units and don’t want to spin up our main PCB supplier.

The process is quick and mostly painless. They even have screenshots and a guide to exporting fab files from KiCad.

wrigby··on Python Asyncio
I think the section is addressing both CPU and IO-bound tasks:

> How to Execute a Blocking I/O or CPU-bound Function in Asyncio?

But to be precise, we should differentiate between Python’s interpreter threads and OS threads. In general, OS threads are a great way to parallelize CPU-bound tasks (with the issues of locking you mention), but Python’s interpreter threads are not (because of the GIL).

wrigby··on Python Asyncio
I think the article is correct here, actually - if you need to run a CPU-bound task, you’ll need a ProcessPoolExecutor.
wrigby··on XCheck at Meta: Why it exists and how it works
These posts are all thoroughly reviewed by comms and legal teams. In onboarding, it’s thoroughly communicated that you need to go through the proper channels to publicly publish anything with technical details.
wrigby··on Python multi-level break and continue
It definitely doesn't solve all cases, but quite a lot of nested loops can be eliminated with `itertools.chain`:

  for item in itertools.chain.from_iterable(list_of_lists):
      # Do something with item
wrigby··on Observations from our Joe Rogan Experience experience
This sounds like you’re referring to his appearance on CNN’s Crossfire in the mid 2000’s; here’s a link for context:

https://m.youtube.com/watch?v=aFQFB5YpDZE

wrigby··on The end of the manual transmission is near?
I guess it depends on the car you started in and how easy it is to stall. My Jeep Cherokee with an inline 6 would have been an incredibly easy car to learn on, but my RX-8 - with about the same amount of low-end torque as a sewing machine - was much less forgiving. If it had been my first manual car, it would have taken ages to feel comfortable.

And to your question, the answer is actually yes. Because fewer folks in the US drive manual cars, the ones that do are often proud of having the skill.

wrigby··on GitHub deleted accounts of people who contributed to Tornado Cash repos
It’s worth pointing out that “tornado” in this context is a crypto project, NOT the popular Python web server/event loop library.
wrigby··on Ask HN: What can you realistically manufacture in your garage?
I’m pretty sure they’re referring to the defense contractor named Anduril[1].

1: https://www.anduril.com/

wrigby··on WxWidgets 3.2
I’m truly curious, is this because it rules out distributing a statically linked binary? I may be misremembering, but I thought LGPL is completely fine for commercial apps if you’re just looking against the LGPL’d code.
wrigby··on STxP70/STHORM/P2012 – ST's secret microcontroller
ST Microelectronics, a semiconductor manufacturer that is well-known for their microcontrollers.
wrigby··on We unplugged a data center to test our disaster readiness
Oh hey there! Can confirm that Storms got very very smooth over the course of a few years - it was really incredible to see it go from something that we planned on our roadmap to getting into work and realizing an entire datacenter was disconnected from the backbone while everything ran mostly smooth.
wrigby··on The u-root CPU command
Hah, that's what I get for skimming the article and assuming I knew what was going on here.

With that said, I guess the quickest thing that comes to mind is wanting to run my Jupyter notebooks on a machine with much beefier CPU and memory than my laptop. I was recently working on some lightweight ML stuff, which required training 3 SVR models. Each model really only took 30 seconds to train on my laptop (with a small, synthetic training set), but if cpu was in my workflow, I would have just done it on a beefier machine and saved a minute or two of time every time I wanted to test a new iteration.

wrigby··on The u-root CPU command
One of the use cases I can think of is "I have a set of scripts (shell, GDB, etc.) that are useful when troubleshooting servers, and I want to be able to use any of them at will once I've connected to a machine that's broken."

Even just having my own dotfiles (.vimrc especially) present on a machine that I'm troubleshooting is huge.

wrigby··on Ask HN: The book that did it for you in math and/or CS?
Build Your Own Database Driven Website with PHP and MYSQL, from Sitepoint.

I checked it out from a public library around 2004, at age 13 or 14, and can credit my entire career to it (and a lot of incredibly supportive adults that encouraged and grew a passion in me from a young age).

wrigby··on CEOs are hugely expensive – why not automate them?
Are they not? I thought qualified dividends (that is, dividends on stocks that have been held long enough to qualify for long-term capital gains) are taxed at the long-term capital gains rate.
wrigby··on std::unique_ptr implementation backed by Ethereum NFTs
Aside from the brilliant satire, it’s worth pointing to the “What I Learned” section of the readme:

  how C++ smart pointers are implemented
  how to implement a Non-Fungible Token
  how the Ethereum ecosystem has evolved since I wrote my last smart contract in 2017
  how to integrate my previous Solidity, Truffle, and Ganache workflow with new tools such as OpenZeppelin and hosted wallets
  how to write a (trivial) program in Rust without fighting the borrow checker once
  how to use rust-web3, serde_json, and the openssl crates
  how to call Rust from C
I often struggle with deciding what to build as a practice project when I want to learn a new skill, and this is a good reminder that “humor” is an acceptable answer. Using a satirical project to learn how smart pointers are implemented is genius.
wrigby··on Phones and apps reduce your ability to focus even when they don’t distract you
I really like this model - thanks for sharing! A professor of mine drilled into us the idea that much of life is luck, but as he said (and I believe he was quoting someone else here) "the harder I work, the luckier I get."
wrigby··on Python 3's F-Strings: An Improved String Formatting Syntax
I love this - didn't realize it was a thing at all! If anyone is curious, this works for any type in Python that implements __format__ ({now:%m/%d/%Y} is equivalent to {now.__format__('%m/%d/%Y')}), and you can (ostensibly) make the format string mean whatever you want.
wrigby··on Facebook Messenger, Instagram and WhatsApp Outage
Depending on your current level, this can be the same thing (Facebook has an "engineering progression" - there's a time frame within which you're expected to be promoted to a certain level).
wrigby··on Categories of personal information collected
I can't help but raise the fact that you've probably conflated mean and median here, although I admit that I've never looked into the shape of the distribution of human intelligence.
wrigby··on Army computer models unveil secret to quieter small drones
Haha it definitely looks a little silly, but it's almost definitely a hand-launched UAS (maybe an Aerovironment Puma[1], as the caption suggests).

1: https://www.avinc.com/tuas/puma-ae

wrigby··on Carving out a niche as a small artist on Spotify
There are actually two copyrights and sets of rights in play here: one (the © copyright[1] and the "publishing rights") is on the song itself, in the abstract - the melody and lyrics. This is owned by the songwriter, and usually assigned to a publishing company.

The other, (the ℗ copyright[2], and "master rights") is on a specific recording of the song, and is usually owned by a record label.

The cover generates royalties for both the recording artist (or their record label) that recorded the cover through the ℗ copyright and the songwriter that wrote the song (or their publishing company) through the © copyright.

1: https://www.copyright.gov/forms/formpa.pdf

2: https://www.copyright.gov/forms/formsr.pdf

wrigby··on SQLite as an Application File Format (2014)
It looks like the actual library to read/write an encrypted SQLite DB is licensed separately from the open source SQLite[1], so even if you have the encryption key, you can't access the encrypted format:

1: https://www.sqlite.org/see/doc/release/www/readme.wiki

← PreviousPage 3 of 8Next →