HNHacker News
TopNewBestAskShowJobs

thr0w__4w4y

292 karma · joined December 29, 2015

Long time lurker, few years commenter, this is an alternate
submissionscomments
thr0w__4w4y··on Toyota is taking the Corolla electric
Yes exactly, "fuel follows air" (have worked on ECU firmware, and current ride is a 2003 with a wire between the pedal and throttle). As you said, a sensor (and computer) measures air -- volume, temperature, etc. -- estimates oxygen content, and (of course there are many other factors) then calculates how much fuel to squirt in.

I used to race cars, and I still have the old 2003 5-speed turbo, but the idea of an electric car without all the hoses and fluids and spinning pieces is attractive.

thr0w__4w4y··on Tell HN: Namecheap gave my account to an unverified third party
Hate to do a hit & run post but here we go...

Both AT&T and Apple transferred (albeit both temporarily) ownership of my phone # (AT&T) and my Apple ID (OK you know the company) from purely social engineering.

The AT&T one was basically like this post. A phone call with a convincing person. Eventually (through threat of legal action) I was able to listen to the recorded call where it happened, and it was simultaneously infuriating and fascinating.

The Apple one was more sophisticated. Too much to write here, but essentially to pull it off all the thief needed to do was have Apple call my number on file and have me answer it. I suspect I know the attack vector, but all I got from Apple was a very quick reversal, not an apology but an acknowledgment, and an explicit message that the details on their end wouldn't / couldn't be shared b/c of corporate policy (which honestly I think makes some sense if a novel vulnerability via social engineering has been found & exploited).

"The meatbag in the loop is the weak link" is said often, isn't always true... but sometimes it is indeed.

N.b.: I work in firmware & electronics security & cryptography.

thr0w__4w4y··on The git history command
Not Linus, this is Randal Schwartz, but this might be the video you're thinking of?

https://www.youtube.com/watch?v=8dhZ9BXQgc4

thr0w__4w4y··on Adafruit receives demand letter from Fenwick legal counsel on behalf of Flux.ai
(somewhat) unrelated to this kerfuffle, but I can say I've ordered thousands of dollars of stuff from Adafruit, and the quality of the electronics, the speed of shipping, the prices, and the customer service have been consistently outstanding.

Hope common sense prevails and Adafruit can go back to doing what it does best instead of dealing with this (IMO) distraction.

thr0w__4w4y··on Backpacks got worse on purpose
Pretty much the same story here. I'm on my 2nd Targus TXL617 (holds 17" laptop) in 18(?) years and I use it for everything every day. I've even used it for a short 3-day international business trip. I've used it at a dusty shooting range in the desert. It's been dropped, dragged, kicked, bitten (friend's dog) etc. and it still holds up.

I think Targus stopped making this model (maybe a trend towards smaller laptops), hopefully this one will keep working for a while before I need to find a good replacement.

thr0w__4w4y··on The 'paperwork flood': How I drowned a bureaucrat before dinner
Yes, absolutely this is fiction. It's a combination of his fantasy of how he'd like to "get back at the system" and also it's written to be clickbait ("poor helpless disabled guy gets back at the evil system trying to keep him down")

I'm sure he deals with a lot of crap every day and I'm sure there's a grain of truth in this, but it's pure make believe. But it probably made him feel better writing it and he probably gets some clicks and some followers, so in the end it was probably a reasonable tradeoff. But anyone who thinks in 2026 that an office (government, private corp, etc.) has a stupid 9600 baud paper-eating fax machine spitting out pages is not living in the real world.

thr0w__4w4y··on France's aircraft carrier located in real time by Le Monde through fitness app
Sarah Adams (ex-CIA, The Watchfloor podcast) literally discussed this possibility yesterday in a podcast titled "Your Phone Isn't Safe Right Now"

Most people here are tech savvy and understand VPNs, location sharing in apps, privacy agreeements, metadata in shared/posted JPEG files, etc but the episode I mentioned is like 20 minutes & provides maybe 100 different things you can do to reduce your footprint & increase your security while traveling abroad.

According to her, the biggest threats were fitness apps & dating apps (both of which are mentioned heavily here in the comments)

thr0w__4w4y··on Meow.camera
I noticed all the feeders seem to be similar / same. I'm in California, I feed 3 strays in an area where the average outdoor cat's lifespan is about 4.5 years (fires, traffic, hawks, coyotes, evil people).

Right now my process is very manual but it's a labor of love. All 3 cats only show up after dark. Ring stick up camera, bowls out (clean them every day), run out on a motion alert, etc. problem is I also have racoons, opposssums and skunks. (I'm not in L.A. highrises, I'm close to the ocean).

Where can such feeders now be purchased (US customer). Thank you!

thr0w__4w4y··on Demand for human radiologists is at an all-time high
Yes and I would swear that 1700 of those 2000 must be in Westwood (near UCLA in Los Angeles). I was stopped for a couple minutes waiting for a friend to come out and I counted 7 Waymos driving past me in 60 seconds. Truth be told they seemed to be driving better than the meatbags around them.
thr0w__4w4y··on The economics of all-you-can-eat buffets (2020)
Everything you say is correct. There is one other significant cost that isn't mentioned here: liability insurance and legal counsel. If a little kid (sorry) loses an arm, or worse (don't ask me how I know) because of a ride, there is some serious $$$ involved. I may or may not know one of the most high-powered attorneys who ever represented (past tense) amusement park companies.

And no, this isn't going anywhere. I'm not going to contact anybody for an interview or write a blog. This is everyday life in the real world. So much stuff going on that no one ever thinks about...

thr0w__4w4y··on The 1988 shooting down of Flight 655 as a user interface disaster
Would just like to jump in and remind folks of the Therac-25 incident just a couple years before this (1985 and 1987), and the user interface was also identified as a contributing factor.

https://www.cse.msu.edu/~cse470/Public/Handouts/Therac/Side_...

thr0w__4w4y··on FindMyCat – Open-Source Pet Tracker
This is (unfortunately) very, very true. I don't have firsthand experience, thankfully, but 2x secondhand experience, and I cannot think about those two cases without getting tears in my eyes. It's not common, but uncommon things happen all the time in large populations.
thr0w__4w4y··on Bug in macOS 14 Sonoma prevents our app from working
Yep, been there... made that mistake ONCE. Never again. Never.
thr0w__4w4y··on Writing a C compiler in 500 lines of Python
>> x =- 5

I think you mean: x -= 5, which indeed is different.

thr0w__4w4y··on Full Time
I left a very good job 7 years in (digital design) to go out on my own. That was more than 2 decades ago. I could write paragraphs of the rookie mistakes (business-wise) and the financial ups & downs, but one thing has never changed...

The "temporal freedom" I have in my work (Gad Saad, if you don't know the name). I love being the master of my own day, of my own time. I don't sit in Zoom meetings or have daily standups. I can get up at 5am and work until 11am, and then go hike, play with my dog, get ice cream with my daughters, workout, etc. and then work again from 7pm until midnight or whatever.

Having (almost literally) full control over my daily schedule, week-in, week-out, year after year, is invaluable to me.

One disclosure: a few times a year I do very hard things where I have very little freedom, but they allow me to have lots of freedom the rest of the year.

Not to be a jerk, but I won't be elaborating. And I realize this life isn't for everyone!

thr0w__4w4y··on Microsoft to lay off 11k employees
Yes exactly. There is much more than just "benefits". Cost of office space, computer equipment, office supplies, electricity, janitorial costs, heating, security, servers, IT overhead, etc. When you take ALL these costs and spread them over the company, the loaded cost of an employee is not "mostly" salary.
thr0w__4w4y··on IDA cybersecurity software provider Hex-Rays acquired
Amen. I had a 10-email back-and-forth exchange with Ilfak maybe 10 years ago - multiple times I said "I'm literally begging you to take my money, you don't seem to want it." I am self-employed, we were on the phone with each other in real time, and when I placed with order (with my home address) he said, "Oh, nice home, according to the pictures on Zillow and Google Maps". He sounded like he was trying to startle me, ha ha nice try Ilfak.
thr0w__4w4y··on Mandated diversity statement drives Jonathan Haidt to quit academic society
Yes it sure is. Interesting, in California in 2020, there was an attempt (Proposition 16) to overturn Proposition 209. It went down in flames, almost 60% against / 40% for.

Prop 209, passed in 1996, "amended the state constitution to prohibit government institutions from considering race, sex, or ethnicity, specifically in the areas of public employment, public contracting, and public education."

If Prop 16 had passed, it would have allowed government agencies to deliberately and explicitly discriminate against people based on immutable characteristics.

The wording from Prop 16's advocates seems to embrace Kendi's punitive stance on using active discrimination to reach some kind of equity goal:

"Despite living in the most diverse state in the nation, white men are still overrepresented in positions of wealth and power in California. Although women, and especially women of color, are on the front lines of the COVID-19 response, they are not rewarded for their sacrifices. Women should have the same chance of success as men.

Today, nearly all public contracts, and the jobs that go with them, go to large companies run by older white men. White women make 80¢ on the dollar. The wage disparity is even worse for women of color and single moms. As a result, an elite few are able to hoard wealth instead of investing it back into communities. Prop. 16 opens up contracting opportunities for women and people of color. "

In 2020 I tried to find data and studies backing the laundry list of assertions but came up empty-handed. The wording seemed very slanted... "older white men"... "single moms"... Certainly there are disparities in society, but we must always consider, objectively, what are the root causes.

Where does it end? Does anybody want an NBA where the makeup of the teams is based on the racial percentages in society, or do people want the best players playing? Do you want the best surgeon or pilot? Absolutely I bet 99% of people on HN want everyone to have equal opportunity; in my experience, in the vast majority of American tech companies (I don't work in healthcare of finanace, etc. so I can't speak to them), if you had 2 equally qualified candidates, and one was a white man and one was a woman or a racial minority or perhaps even not-straight, the white man will usually be the one not getting the job.

https://en.wikipedia.org/wiki/2020_California_Proposition_16

thr0w__4w4y··on Arrest of suspected developer of Tornado Cash
You are definitely right about this (many of my green-card friends have multiple weapons), and of course you're right about state law.

I think what parent post was saying is that in Czech Republic (national not state level), foreigners can not only obtain firearms, but also carry (presumably concealed), which as I'm guessing you also know varies widely from state to state, and here in California from county to county.

Of course I'm mind-reading here, I could be totally wrong.

When my brother-in-law and his son come visit from Switzerland they love to go shooting. In fact they get bored with my stuff and rent things with more punch (e.g. .338 Lapua). We visited a friend of mine in TX, and the things you can rent there (e.g. .50 BMG), we've only heard myths of those in CA, no one's actually ever seen one.

thr0w__4w4y··on Help me identify possible tracking device found in my car
Whhooossh moment. You said there was a $6K /markup/, parent was making a joke about /markdown/.
thr0w__4w4y··on Coinbase employees petition to remove execs
What is cannabis software?
thr0w__4w4y··on I fixed my broken monitor with a hair dryer
Yes, network cables.

Way back when I was a staff engineer at Motorola, we'd often have network problems from workstations caused by marginal cables. At first, the IT people would come over and replace the cable, and toss the bad/old one in the person's cubicle trash can.

But I noticed over time, they all started adding one extra step: they'd cut the cable in half before tossing it in the trash.

Before the cable cutting, engineers, being engineers, would fish the "bad" cable out of the trash as soon as the IT person left ("it works almost all the time...") and use it for the next lab build-out. And then integration tests would fail intermittently, etc.

thr0w__4w4y··on Samsung Electronics cultural issues causing disasters in foundry, LSI, DRAM
I know this anecdotal and related but directly on-point, but here I go anyway...

About 12 years ago, I consulted, on-site, for about a year with a Japanese company with a very very very untrusting corporate culture. (I was consulting on electronics and firmware.)

Every USB port on every computer was super-glued shut (yes, I know...) And literally 100% of the internet traffic went over a T1 (for those of you just out of diapers, that is a 1.5 Mbps line) to Tokyo and back. Corporate saw every bit of internet activity.

This company, when I talked with the VP of engineering, told me "we have flexible work hours; you can take lunch 12:00-12:30, or 12:30-1:00pm. As long as you're back at your desk within 5 minutes of lunch end, we will not be required to make note of it"

Man that was a horrible gig. But I made enough $$$ to overcome the agony. I have so many consulting stories... my daughters keep telling me I need to write a book.

"When Bill and Michelle ruined a conference room table"

"When Jayanthi [no I'm not changing her name] had a meltdown and threw a sharp object at the head of a subordinate"

"When Tom impregnated his secretary during his divorce, and was basically forced to marry her the day after his divorce was finalized"

"When I put a choke hold on a corporate security guard who incorrectly identified a computer peripheral in my backpack as confidential company property"

I think the 100 people who bought the book would really enjoy it

thr0w__4w4y··on Advent of Code 2021
I like this idea. I've participated each year, only finished the 2020 one (most have 1-2 to go, never had the time & motivation to fight through it.)

BTW, there is a great book that is right up this alley -- maybe you know it -- "The New Turing Omnibus: 66 Excursions in Computer Science"[0]

I discovered "Omnibus" from Peter / Catonmat [1]

It's 66 short, manageable topics, each ~5-8 pages:

1 Algorithms

2 Finite Automata

3 Systems of Logic

4 Simulation

5 Godel's Theorem

6 Game Trees

7 The Chomsky Hierarchy

8 Random Numbers

9 Mathematical Research

10 Program Correctness

11 Search Trees

12 Error-Corecting Codes

13 Boolean Logic

14 Regular Languages

15 Time and Space Complexity

16 Genetic Algorithms

17 The Random Access Machine

18 Spline Curves

19 Computer Vision

20 Karnaugh Maps

21 The Newton-Raphson Method

22 Minimum Spanning Trees

23 Generative Grammars

24 Recursion

25 Fast Multiplication

26 Nondeterminism

27 Perceptrons

28 Encoders and Multiplexers

29 CAT Scanning

30 The Partition Problem

31 Turing Machines

32 The Fast Fourier Transform

33 Analog Computing

34 Satisfiability

35 Sequential Sorting

36 Neural Networks That Learn

37 Public Key Cryptography

38 Sequential Cirucits

39 Noncomputerable Functions

40 Heaps and Merges

41 NP-Completeness

42 Number Systems for Computing

43 Storage by Hashing

44 Cellular Automata

45 Cook's Theorem

46 Self-Replicating Computers

47 Storing Images

48 The SCRAM

49 Shannon's Theory

50 Detecting Primes

51 Universal Turing Machines

52 Text Compression

53 Disk Operating Systems

54 NP-Complete Problems

55 Iteration and Recursion

56 VLSI Computers

57 Linear Programming

58 Predicate Calculus

59 The Halting Problem

60 Computer Viruses

61 Searching Strings

62 Parallel Computing

63 The Word Problem

64 Logic Programming

65 Relational Data Bases

66 Church's Thesis

[0] https://www.amazon.com/New-Turing-Omnibus-Sixty-Six-Excursio...

[1] https://catonmat.net/top-100-books-part-one

thr0w__4w4y··on Debugging memory corruption: who the hell writes “2” into my stack? (2016)
About 15 years ago I was debugging an ARM7 memory corruption issue on an embedded target. Chip was running at 40 MHz but the instructions were ARM 32 bit instructions, but the external data bus was only 8 bits wide -- reading instructions from external NOR flash, required 4 bus cycles per instruction. So an effective rate of ~10 MHz.

We were good about doing code reviews, stacks weren't overflowing, etc. So it was puzzling. Finally, just like the article said, I figured the only way to find it was to catch it "red handed", in the act.

The good news is that memory locations getting corrupted were always the same.

Long story short, I set up a FIQ [1] -- some of you the FIQ -- which would check the location each interrup. I forget if it checked "for" a value or that it "wasn't" an expected value, ugh, sorry... If the FIQ detected corruption, it did a while (1) that would trigger a breakpoint in the emulator. Then I'd be able to look at the task ID -- we were running Micrium u/C OS-II as I recall -- the call stack, etc.

Originally I set up a timer at 1 MHz to trigger the FIQ, but the overhead of going in & out of the ISR 1 million times per second, at essentially a 10 MHz rate, brought the processor to its knees.

So I slowed the timer interrupt down to 100 kHz (!!), which still soaked up a lot of the CPU slack that we'd been running with. And time after time I'd hit the breakpoint in the FIQ, but the damage had been done usecs earlier and the breadcrumbs didn't finger a victim.

Then it happened. Remember, the hardware timer is running completely asynchronously with respect to the application. Finally, the FIQ timer ISR had interrupted some task's code in exactly the function, at exactly the place (maybe a couple instructions later) where the corruption had occurred.

Took about a day start to finish, I'd never seen or heard of using a high speed timer to try to "catch memory corruption in the act", but as they say, necessity is mother of invention.

And to non-embedded developers, this is an embedded CPU. No MMU or MPU, etc. just a flat, wild-west open memory map. Read or write whatever you want. Literally every part of the code was suspect.

Good times.

[1] On ARM 7/9, maybe 11, I think also Cortex R -- the Fast Interrupt Request, or FIQ, uses banked registers and doesn't stack anything on entry -- so it's the lowest-latency, lowest overhead ISR you can have. But you can only have one FIQ I believe, so you have to use it judiciously.

thr0w__4w4y··on Ask HN: What you up to? (Who doesn't want to be hired?)
Very touching video, your girlfriend/fiancee looked so positive, happy and joyful. Sometimes the randomness of the universe and the human body can be cruel and nonsensical.

I'm incredibly sorry for your loss. I'm happy that you had the time with this wonderful woman and that you have the memories, even though I'm sure right now everything is still raw. Godspeed.

thr0w__4w4y··on Programmers, teach non-geeks the true cost of interruptions (2014)
Yes I've been in that situation (as a passenger, not a pilot!) Incredible how much power the aircraft has at full throttle. A lot of people freak out or panic in that situation, because it's so abrupt, but it's a sign that the pilot(s) are trying to go from a very dangerous/tricky situation to a much safer scenario. For me, the situation was a horrific and violent summer thunderstorm in Dallas. But the pilots handled it and we landed safely the 2nd time.
thr0w__4w4y··on KolibriOS
That exact setup, except s/emacs/vim, was my setup starting in 1996. Wow, 25 years ago.
thr0w__4w4y··on List of apps people pay for but have low rating
"[but] did one-star kinds of things." That is a great line (seriously). I will probably end up working that phrase into something at one point, which is why I have this post bookmarked, so I can "hat tip to m463 on HN" when I do.

P.S. Do you remember the name of that auto app? Name and shame! ;-)

thr0w__4w4y··on “Shared libraries are not a good thing in general”
Yes and in fact, the majority of embedded systems are actually running not with 64-256MB of RAM, but 64K-256K of RAM. For example, the STM32 line of Cortex M microcontrollers (MCUs) usually have between 32-256K of RAM, and 128K to 2MB of on-chip flash. Different world from a multi-core 1.5 GHz infotainment system (which is arguably embedded), which in turn is different from a laptop with 32GB of DDR4 or a server with .... well, you know....
Page 1 of 5Next →