HNHacker News
TopNewBestAskShowJobs

distortedsignal

433 karma · joined October 31, 2016

distortedsignal+hn@gmail.com
submissionscomments
distortedsignal··on Please make a dumb car
> Backup cameras are one thing people may not want to go without (and indeed may be required in some cases) — but you’d be surprised how informative a basic proximity beeper is.

I think that backup cameras are required in US cars post-April-2018 [1]. I think that's how manufacturers justify getting a screen on the dashboard. Every other (bad) decision is just "let's make the software do _this thing_" and the feature creep leads to terrible UI/UX.

[1] https://www.nhtsa.gov/equipment/driver-assistance-technologi...

distortedsignal··on Ask HN: What are these low quality “code snippet” sites?
There was an SO outage this last year, and I only found that out when I tried to go to SO and couldn't get to it. I checked page 2 of Google and found one of the mirrors that you're talking about. I grabbed the content from there and continued with work.

I think it's a matter of perspective. If you _know_ that you want a specific site, use google's 'site:' specifier. If you're looking and find something that is from SO, redo the search and get to the SO Q/A. As for me, I'm moderately grateful for the decentralized backups.

distortedsignal··on YAML: It's Time to Move On
Why are unquoted keys so critical? I feel like one of the strengths of a DDL like JSON or XML is that it's easy to tell what the data (key-value pair or otherwise) is, while with YAML and others, understanding data-vs-structure can be challenging.
distortedsignal··on The Surreal Horror of Pam
Hey - thanks for the help! I've been thinking about getting into writing PAM modules for myself for a couple weeks - maybe this will get me started!

PS - great talk. Security/auth is tricky, and it's never clear when I'm doing the right thing or something _supremely dumb_. Thanks for putting yourself out there.

distortedsignal··on The Surreal Horror of Pam
Would you mind dropping a link to the code... somewhere... close to the talk? I clicked through the youtube link on the site and couldn't find it, it doesn't look like the code repo is in the top several on your GitHub, and I would rather not pull out my phone to scan the QR code (though that would be a good way to send the link visually).
distortedsignal··on Contract for Sale of Soul
Wouldn’t be enforceable due to section 3, clauses a and b:

> SECTION III. COMPENSATION FOR TRANSFER

> A. Buyer agrees to compensate Seller with an amount of no less than ten (10) United States Dollars for the transfer of the Soul within 48 commonly recognized Earth-hours of the receipt of the signed agreement via any medium, physical or electronic, as described in Section II-C, according to the conditions outlined in this Section (III).

> B. The sending of these funds (hereafter “the payment”) shall occur via PayPal.com and shall be sent to an electronic mail address provided by the Seller.

I believe that contract law would dictate that unless the Buyer is able to make a significant fraction of the payments, the contract is effectively null due to material breach.

distortedsignal··on Epistemic Minor Leagues
> ... what's the intellectual equivalent of the minor leagues?

It's called bar trivia and it's awesome! I'm not a super smart dude, but I love going to a bar trivia and seeing what I get right (despite never having watched the show, I guessed that the motor home in The Walking Dead was a Winnebago) and what I frustratingly get wrong (despite being a huge fan of pop-punk music, I couldn't remember the title to Green Day's hit song Basket Case).

distortedsignal··on This word does not exist
I was kind of referring to valence electrons - so think “edge phonemes” - but I don’t think that came across.

This is a really interesting explanation of something that I kind of understand, but want to have a deeper understanding of. Any good references you can think of offhand?

distortedsignal··on This word does not exist
Would it be correct to say that syllables in English are made of nuclear vowel phonemes and valent phonemes which could be vowel or consonant in nature? I’m not a linguist, but I’m very interested in language and how words are constructed.
distortedsignal··on This word does not exist
Sorry to the author but this one doesn't pass the sniff test for me.

Generally, the syllable breaks for these words are not quite correct. The two words that I got were Paulotomy and systerectomy. These were broken into Paulo-tomy and sys-terec-tomy. That generally goes against length-of-syllable-in-English rules that... I can't articulate. I would break these into pau-lo-to-my and sys-ter-ec-to-my (sys-trec-to-my would also be acceptable).

distortedsignal··on Most Canadians believe Facebook harms their mental health
Most important paragraph, IMO:

> Conducted Oct. 8 to 10, the online poll surveyed 1,545 Canadians and cannot be assigned a margin of error because internet-based polls are not considered random samples.

It's a pretty good sample-size, but we don't get error bars. I don't remember if there was anything FB-critical happening that week (when did the study about teen mental health come out?), but the timeframe could also affect the survey.

distortedsignal··on Six more zeros are to be removed from Venezuelan currency
> ... in the International Monetary Fund's (IMF) assessment, hyperinflation will reach 5,500% by the end of 2021...

This might scare me more than the rest of the article.

distortedsignal··on Government asks German residents to drive lorries even if they never have before
In the before time, deallocating memory meant pulling it out of the board.

To free up memory on our systems, we bought new system and moved the old ones into a landfill.

Permanent storage was on stone tablets, but read/write times were REALLY LONG. Backups took a really long time, too. Restoring was pretty quick, because you would just put the last-known-good tablets into the machine.

distortedsignal··on Boring SEO guide for the non-lazy
Could I ask why with the apostrophe is correct? Google defines "guru" as "a spiritual teacher, especially one who imparts initiation." The article uses the plural of the term. I don't know of any English rules about apostraphizing a plural - generally, I've heard that one should keep the apostrophe for possessives. Could you give me a reference for a rule about adding an apostrophe in a possessive?
distortedsignal··on Half of American kids have lead in their blood, doctors say
You're close here, but you're not quite right.

The link that you posted mentions 5 migrograms per deciliter of blood, while your post mentions 5 micrograms per decaliter of blood. This is a 100 fold misstatement.

A deciliter of blood is 1/10 of a liter, while a decaliter is 10 liters. For reference, I believe that the average adult male has roughly 10L of blood, so 5 micrograms per decaliter would be 5 micrograms in the body of an adult, whereas 5 micrograms per deciliter would be probably something like 5 micrograms in a baby. I don't necessarily trust this site (https://www.healthline.com/health/how-much-blood-in-human-bo...), but it says that babies have ~75 mL (0.075L, or 0.75dL) while the average adult has 4500 - 5700 mL of blood (4.5-5.7L, or 45-57dL, or 0.45-0.57DL).

I'm also surprised that the article sticks with their "no lead is good" posture.

distortedsignal··on O.mg Cable
It can also do keystroke injection.
distortedsignal··on SAML Is Insecure by Design
Is that... true? I've got a moderate SAML background - written a few SAML services. What sort of attacks (or attack ideas) would you need a research background on in order to judge whether an attack is valid? As an example, one of my projects has pretty good unit/integration test coverage, and the integrations always confirm that the SAML SP will accept/reject valid/invalid assertions. Seems like it would be pretty easy to spin up a REPL and run a bunch of example docs against the service.
distortedsignal··on Treasury Calls for Crypto Transfers over $10k to Be Reported to IRS
I think you're referring to the CPI (https://en.wikipedia.org/wiki/Consumer_price_index), which, as I understand it, is a pretty hotly contested tool in econ/business circles today.

If you want to check out the raw data for the CPI that the US Federal Reserve uses, check out https://fred.stlouisfed.org/ - though I couldn't begin to recommend how to navigate that site.

distortedsignal··on Three things to never build yourself: auth, notifications, payments
This article is from a business perspective.

I sometimes write auth/SAML solutions. They're not super complicated once you understand the basics of the system.

distortedsignal··on The digital natives are not who you think they are
> I grew up with cars I could (and did) service. I still remember how to break down a drum brake, and adjust it so it worked again when re-assembled. I've used grease zerks on the auto I drove. I've helped troubleshoot a carburetor.

Maybe not the same thing, but about two years ago, my car's check engine light came on. Dealer quoted me $2400 to fix the issue (ABS pump failed because of low voltage on system power). About a month ago, some friends and I spent a Saturday replacing the ABS pump. $300 ebay part, $20 worth of tools, $10 worth of brake fluid, $50 worth of OBD-2 readers to confirm what the problem was, and $50 for lunch for my friends.

I think it's not impossible to fix cars today. Maybe you won't be tuning an engine to get more power out of it, but it's 100% possible to tear down your brakes, brake systems, and lots of other stuff if you know where to look. I'm not super technical with cars, but if you forced me to it, I could change out my car's brake pads given two days.

This stuff isn't easy, and the tools are more computerized now, but if you want to understand modern cars, the info is out there. Buy your car's maintenance manual. It'll probably cost $30, but you'll have more information about your car than you could ever possibly learn. Every circuit, every resistor, every bus line, every hydraulic line.

But I think you're right that there is a class of people who work at a level above the tech. And I think that's what "digital native" usually refers to. Something less like a software engineer, something more like a societal engineer (I don't want to use the term "social engineer" because that's a loaded term in the security world). For them, tech is a platform to be used for alternate ends - followers, and likes, and clout and such.

I think it's a good thing that not everyone needs to be able to troubleshoot DHCP issues in order to get online - though I know that my friends and I got really good at that in high school. The fact that we enable people to operate at the level of societal engineering (as opposed to forcing everyone to operate at the level of software engineering) speaks to the maturity of tech. And that, at least, should be comforting to those who use tech to create tech.

distortedsignal··on Erlang/OTP 24 highlights
The one sort-of thorny piece with Mnesia is querying the DB. The syntax for select is not super straightforward and involves writing matchspecs (http://erlang.org/doc/man/ets.html#match-specifications) which are non-trivial.

Mnesia lets you do a lot of cool things (in memory DB by default! Super fast!) but it also has some pitfalls (Doesn't write to disk by default! Lose all your data when you restart the BEAM!).

Generally, I think it's a fine system if you're willing to put in the time to optimize it.

distortedsignal··on Internal Combustion Engine
> Regen braking has no physical cost associated - it's pure software/firmware.

I think this is a slight exaggeration.

The way I understand regenerative braking is that you (effectively) run your AC generator in reverse of what you would in order to accelerate in the direction of motion and then take the current generated by that, rectify it to DC, and use that current to charge a battery. The energy in the system is provided by the back EMF induced in the stator by the magnetic field generated by the motor rotor. I agree that the AC generator is going to stay the same, but I think there's specialized hardware needed for the rectification and charging cycles. At the minimum, you need a more specialized battery and battery management system to make sure that you're balancing the charge across the cells in your battery.

distortedsignal··on Court: ‘ghost gun’ plans can be posted online without State Department approval
This story seems complicated - could someone correct my understanding if it's incorrect?

From the article:

* In 2015, federal courts stated that plans for weapons posted online needed State Department approval (I assume this is referred to as "export controlled weapons"?).

* In 2018, the State Department settled a lawsuit by ordering the removal of these plans from the list of export-controlled weapons?

* Directly after this settlement, 22 states (and D.C.) sued to keep those plans on the list of export-controlled weapons.

* In 2021, the State Department upheld their decision to remove the plans from the "export-controlled weapons" list.

Is that... mostly right?

distortedsignal··on KDE Connect: Enabling communication between all your devices
Good deal. Thanks for the opinion.
distortedsignal··on KDE Connect: Enabling communication between all your devices
I've got a couple old laptops from 2007/2011 era - are you talking about KDE Plasma or a different DE? I'm down to try just about whatever you recommend.
distortedsignal··on Ask HN: What under-the-radar technology are you excited about?
Even as a different perspective to that - a lot of what AWS/GCP/Azure are doing today, IBM was doing in the 80's with Cobol and DB2 and a bunch of tech that people today are just not interested in.

There's a post that I saw on HN a couple weeks ago[1] talking about what an AWS Lambda service would look like in Cobol and I was blown away. This is the stuff my dad used to work on when he was fresh out of college, and I'm not exactly a spring chicken (as evidenced by the fact that I used the phrase "spring chicken")!

1: https://news.ycombinator.com/item?id=25989454, link to article submitted for the lazy: https://developers.slashdot.org/comments.pl?sid=18156250&cid...

distortedsignal··on Ask HN: What under-the-radar technology are you excited about?
As I've gotten more experience in tech, I came up with a saying -

"Everything great was created in the '80s, and we've been rediscovering those things every ten years since."

I'm not firm on "the '80s" - maybe this stuff is older than I think - but I think the principle still holds. If it's a problem today, somebody probably thought about it before, and then others came around and wrapped things differently.

It's not BAD to wrap things differently, but the old stuff had more of the sharp corners sanded off, and sometimes we lose that battle-hardened aspect when we rewrite code.

Except for garbage collection/whatever is happening with memory safety today. That's the good stuff.

distortedsignal··on Hockey goalies are too big now
You're right, they're not. But if the league they play in says that their pads have to change, and the goalies are staring down a $200 investment in pads (this isn't totally unreasonable) there could be a lot of folks who can't swing that kind of cash just to have their kids play in a youth league, or adults who play in a beer league.

Hockey is already expensive - for goalies especially. More rule changes = more $$$ spent, and not always for great reasons.

distortedsignal··on Perseverance Rover lands on Mars [video]
My personal preference is the JPL raw feed (here: https://www.youtube.com/watch?v=kPrbJ63qUc4) but I think that more people watching space here is better! Great link!
distortedsignal··on A bit on scaling chess.com's database
If a player leaves your game, lichess gives like a 20 second timer and then lets you claim victory. I believe there are also "offer draw" options, but I'm not sure.
← PreviousPage 5 of 6Next →