Better HN
topnewbestaskshowjobs
Log inSign up

FrankPetrilli

63 karma · joined Feb 9, 2018 (8y ago) · 28 submissions

Submissions

comment 2mo ago · link · parent

GPS - look into Gold Codes [1] and auto-correlation. GPS arrives on your device at -128dBm, give or take, while thermal noise is -111dBm at the ~2MHz sampling bandwidth used. We use the processing gain from correlating against the ~1Mchip/s gold code to extract the lower bitrate signal, so you're pulling signals from approximately 20dB below the relevant thermal noise floor.

[1] https://en.wikipedia.org/wiki/Gold_code

comment 1y ago · link · parent

Inter-node mesh with raw Wireguard is an exercise in patience to say the least; I have a few different colo sites, my house, my phone, LTE/5G hotspots, raspberry pi projects in the field, etc that I want to fully connect together.

Raw Wireguard is fine for a road warrior or site-to-site VPN setup as is common, but when you want multipoint peer-to-peer connections without routing through what might be a geographically distant point, magic DNS, etc, Tailscale really shines through.

If you're paranoid, enable https://tailscale.com/kb/1226/tailnet-lock or run https://headscale.net/ on your own as a control server.

comment 1y ago · link · parent

"Rarity" is a distinction without merit in this particular case; the important thing to note is that (most) clouds don't guarantee _any_ availability of a single zone. A system which stashes all of its infrastructure in one zone only is expected to be impacted by issues with that cloud, while a multi-zone setup spanning a region is generally "soft-guaranteed" to be resilient to normal operations / failures.

comment 1y ago · link · parent

Seeing this, I had the initial idea of using AdGuard logs to trigger a power-down of your device if you try and visit brainrot content. I think I like it that way more.

comment 1y ago · link · parent

Yes, that's my family's business, I'm glad to hear you've had such great experiences. Similar to you, I've never looked back; every time I put on trail shoes I yearn for my boots again.

comment 1y ago · link · parent

$200 is enough to get you a pair of Keen boots, which will last a year or two. Truly "good" in the boot world is hand welted hand made leather boots, which are a rarity these days. There are functionally only a few bootmakers that still manufacture this way these days, and about half of them are all in the same Washington State region :)

Expect ~$400, and it's easy to spend $600 without much effort.

That said, look at my comment above in this thread; they do really last 10 years or more, so the investment is well worth it.

comment 1y ago · link · parent

Oh hey I'm uniquely positioned to answer this; though I'm in tech (and at this point frankly speaking well-compensated) my family have been bootmakers for decades.

I'm sitting at a tech office right now wearing a pair of boots that my father made for me in 2015 - regardless, they're absolutely spotless and I'd wear them to a formal event without hesitation. Every 6 months or so when I'm by his store I shine them up and put in a fresh pair of leather laces. Every 3 or so years, he re-soles them when the soles eventually wear out and lose traction. Eventually they'll require a rebuild, but they've got probably another 5-10 years of daily wear in them before that. I've got a few more pairs I swap between every so often, like a pair with OD green canvas that looks nice with khakis, but these solid black ones are my daily wear.

While 10 years sounds like a good run for boots, my father has a pair at ~35 years old now that he still wears frequently. IIRC they've been through one or two rebuilds and few re-soles in that time.

Were these commodity sneakers, I'd be purchasing a new pair every few months. Even nice running or trail shoes only tend to last a few hundred miles in my experience, but I've put tens of thousands on these and will get ten thousand more easily. Re-soles and rebuilds aren't free, but they're less than a replacement and put years of lifetime back on the boot. They're also comfortable as hell and fit me like a glove.

So in short: yeah, rich men do wear the same pair of boots for 10 years, or even far longer.

comment 2y ago · link · parent

https://cloud.google.com/compute/docs/gpus#nvidia_gpus_for_c...

comment 2y ago · link · parent

It wasn't a 30dBi antenna for the control link, but a light moxon with 5.98dBi according to its datasheet. Standard 5.8GHz analog video, on the other hand, did require a ton of gain.

comment 2y ago · link · parent

LoRa is just a protocol, there are no rules inherent to the protocol itself. Certain LoRaWAN networks have rules around how often you can send messages through them, but RC links don't use LoRaWAN.

comment 2y ago · link · parent

In particular, people used to plain FSK RC protocols like Spektrum DSM, FrSky D8, Futaba FASST, and similar which tend to failsafe around <1km even with 100mW of power believed that a 2.4GHz link could never do 100km regardless of interference or noise issues.

Also notably, LoRa does tremendously well with real-world noise and interference. Of course any receiver is susceptible to frontend overload, but in "normal" situations I never worry about flying 2.4GHz even in crowded cities, and have never had a failsafe even in some ridiculous situations. As someone above mentions, LTE on the 800MHz band with 900MHz control links are much more of a problem - I've had a failsafe for that exact reason at <200m total distance from takeoff.

comment 2y ago · link · parent

Notably, Wez's flight was done with 2.4GHz LoRa (this was one of his main points, to address naysayers who claimed a 2.4GHz link could never achieve >100km) while Charles is using 900MHz - the same setup that achieved 100km (100mW with a lightly directional antenna on one end, ExpressLRS 50Hz RF mode) would have a theoretical range of >500km on 900MHz. LoRa at longer wavelengths can achieve some incredible feats - like microwatts or nanowatts of power to >1 mile as we saw here. :)

comment 2y ago · link · parent

Quite well. I wrote a blog post about this a few years back: https://frank.petril.li/posts/dialup-adventures-1/

comment 2y ago · link · parent

Unfortunately the latency is nowhere near good enough for racing - best case actual results are ~100ms E2E. The project authors have claimed some absurdly low latency numbers in the past but they're laden with asterisks, like using a wired connection.

comment 2y ago · link · parent

GPS on its own especially with systems like WAAS is quite accurate these days, generally within a few meters. If you need more (which planting most crops does) there's also RTK [1], which permits centimeter-level accuracy from relatively inexpensive / simple setups. Here's an example of a local RTK base station with radio link in the industry [2], and additionally it's possible to get these corrections off cell network data connections [3]. Radio offers you more hyperlocal corrections which could improve accuracy a touch, but comes with all the downsides you'd expect of a local radio system so both are viable options.

[1] https://en.wikipedia.org/wiki/Real-time_kinematic_positionin... [2] https://www.deere.com/en/technology-products/precision-ag-te... [3] https://www.deere.com/en/technology-products/precision-ag-te...

comment 3y ago · link · parent

https://frank.petril.li/posts/dialup-adventures-1/ explains it all!

comment 3y ago · link · parent

Good question - it's been almost two years since this project so I don't recall whether V.92 came up at all, even on a pure T-1 setup. I still have all the gear, if I set it up and run it again I'll update this thread.

comment 3y ago · link · parent

> For VoIP, Amplitude distortion and quantization error (from multiple sources) means you will never get 56k over any voip system

https://frank.petril.li/posts/dialup-adventures-1/

I've done V.90 over VoIP. In a very controlled environment that was tuned for it, but VoIP nonetheless. The main issue is that VoIP timing, even with deep buffers, is prone to more jitter than a PDH network and the phase drift will eventually cause enough errors to force a retrain every few minutes. Either way, "never" is a little too absolute IMHO. :)

comment 3y ago · link · parent

As an FPV Enthusiast, I suspect strongly that this is Orqa/ImmersionRC (which merged recently).

> video headset for drone pilots ("FPV goggles", for those in the know)

Orqa FPV.one

> Based in Europe, where we do all our R&D and MFG.

This is a pretty clear indicator that it's Orqa - few other folks in the FPV space are Europe-centric

> We do FCs, ESCs

Commercial gear

> control links

ImmersionRC Ghost

> analog video links

ImmersionRC Tramp

> data links (WiFi, 5G/LTE, SDR) flight computers, as well as drones, drone controllers, etc

Commercial gear

> We have a drone sim with 500k total downloads.

Orqa FPV.Skydive

Was I right, TooSmugToFail? :D

comment 3y ago · link · parent

Ahaha yeah it bugged the hell out of me too. Near as I can tell, there's nothing wrong with the Open5GS S1AP message, so filing a GitHub issue isn't the way forward. I did speak with Baicells about it, but their response was sorta... Complex. tl;dr I'm somehow the first one to find it, and they probably won't be fixing it.

If you set the rate limits to ~200Mbps you should be able to achieve max throughput on your 227.

I've similarly run Open5GS on a few cursed systems - shame the OpenStick doesn't support band 48 (though, mine won't detect a SIM card anyway...) - I've snagged a few old Verizon MiFi models that happen to have B48 support in the interim, or my iPhone 11 which makes a good UE.

comment 3y ago · link · parent

I thought I was the only one silly enough to do something like this! I've got a Nova 227 tucked away in a corner room of my home facing inwards connected to Magma (was Open5GS).

Did you run into the bug where the default Open5GS bearer rate limit (1Gbps) somehow triggers a bug in the Nova 227 and causes it to run super slow (~7Mbps down/100kbps up)? I found that setting its rate limit to anything else seems to solve the problem and I get 100Mbps/10Mbps with TDD2/SSF7.

comment 6y ago · link · parent

Speaking from my perspective as a prolific FAANG interviewer: Listing whatever experience you can (high-school jobs, sites created for friends, college jobs) alongside interesting personal projects is a huge leg up for getting through recruiting. If you're early in your career, find a few small-time jobs somewhere in tech that'll hire you, and learn as much as you can as fast as you can. MSPs are desperate for people with a little coding background. They'll chew you up and spit you out with long hours and terrible pay, but they're a great place to cut your teeth on getting things done.

Once a candidate gets to me as an interviewer, I'm mostly looking at a resume for what topics I should ask about, both things that you're comfortable in, and things that you're not. If you have personal projects, I'll ask pertinent questions about them, and often I've learned some very interesting insights from the personal projects of candidates.

In my time interviewing, I've hired people without degrees as senior engineers and I've rejected people with doctorates in computer science as junior support engineers. Turns out, degrees are a mediocre predictor at best of ability to do a job, and practical experience is 99% of the time more impactful than a piece of paper.

comment 6y ago · link · parent

I've worked in these types of organizations before, and it's always counter-productive to making positive changes in the environment. You as an SRE can either make it better, or find an environment that's conducive to positive changes.

If you'd like an outside resource to suggest or read up on better postmortem practices, the Google SRE Book has a chapter [0] on postmortem culture. It's an amazing change of pace and a huge stress level improvement for us SREs.

[0] https://landing.google.com/sre/sre-book/chapters/postmortem-...

comment 7y ago · link · parent

Sounds like something GCP support would love to help you troubleshoot. The disruptions I'm aware of have no correlation to load balancer traffic paths.

What's the actual reason listed for the 502s in Stackdriver? That's a great first step.

comment 7y ago · link · parent

We're aware this happened - that posting is the responsibility of an adjacent team to my own, specifically the person right next to me. :)

comment 7y ago · link · parent

Hey, awesome!

I met the Windmill Eng team a few weeks ago at Kubecon in Seattle, awesome to see tilt here. It's definitely a young product, but it's a good start to exactly the experience I want.

By experience I mean that when I do local dev and edit code live while reloading or restarting the service, I see changes reflected immediately in 2-3 commands that take seconds.

In moving software towards Kubernetes, I come to rely on the service abstractions available therein. So it's sensical to develop in the same kind of environment. Tilt gives me the ability to get the save => build => package => push => reload loop into Kubernetes and without the manual hassle thereof.

I've used it in minikube, on-prem, and GKE. Running a dev box in a GCE instance and running tilt against GKE is a super nice environment.

(Fair notice: I'm a Googler who focuses on GKE, so bias and all, my opinions are not Google's, etc.)

comment 8y ago · link · parent

Always interested in hearing about interesting projects:

  Location: Washington State
  Remote: Remote or local are fine
  Willing to relocate: Yes
  Technologies: See Résumé, but I'm a network/software engineer, and I love working on the hybrid between the two. Big into automation, SDN, containers, K8S, etc.
  Résumé/CV: https://frank.petril.li/resume.php
  Email: frank+hnhire@petril.li

comment 8y ago · link · parent

I ended up writing a CLI to do it that's relatively full-featured. At some point, I intend to move functionality to a shared library between a CLI and a Web frontend, but for now, the CLI works tremendously well for my use cases:

https://github.com/FrankPetrilli/ZeroTier-Controller-CLI