HNHacker News
TopNewBestAskShowJobs

jason_s

474 karma · joined February 18, 2015

Embedded systems engineer in motor control and signal processing.

https://twitter.com/jms_embedded

submissionscomments
jason_s··on Faster asin() was hiding in plain sight
While I'm glad to see the OP got a good minimax solution at the end, it seems like the article missed clarifying one of the key points: error waveforms over a specified interval are critical, and if you don't see the characteristic minimax-like wiggle, you're wasting easy opportunity for improvement.

Taylor series in general are a poor choice, and Pade approximants of Taylor series are equally poor. If you're going to use Pade approximants, they should be of the original function.

I prefer Chebyshev approximation: https://www.embeddedrelated.com/showarticle/152.php which is often close enough to the more complicated Remez algorithm.

jason_s··on Typst Examples Book
Thank you for posting! We need more good examples.
jason_s··on Rust zero-cost abstractions vs. SIMD
Can we please encourage variable-width fonts for text, fixed-width fonts for code? It improves readability.
jason_s··on An interactive intro to Elliptic Curve Cryptography
Please use a variable-width typeface for readability
jason_s··on Dictionary Compression is finally here, and it's ridiculously good
Author should have put RFC9842 in the headline. (https://www.rfc-editor.org/rfc/rfc9842)
jason_s··on Dictionary Compression is finally here, and it's ridiculously good
Is there any similar ecosystem hook for a zip-like archive? It would be great to have something like .zip file containers for zstd/brotli which can contain a small number of dictionaries and then the decompression utility automatically uses them. For example, suppose you have a lot of .js / .css / .html files. Or Python files. Or whatever. It would be more efficient than individual .zstd files.
jason_s··on Faster Than Dijkstra?
Intriguing article. Sometimes practical issues override theoretical ones, and it would be interesting to see which one dominates in networking.

(side note: does anyone else get thrown off by the Epilogue font? It looks very wide in some cases and very narrow in others... makes me want to override it with Stylus if my employer hadn't blocked browser extensions for security reasons, which raises the question of why I am even reading the article on this computer....)

jason_s··on AI agent opens a PR write a blogpost to shames the maintainer who closes it
Thank you for posting an archived link... these are bizarre times.
jason_s··on Two kinds of AI users are emerging
How do you verify them? How do you verify they do not create security risks?
jason_s··on Kernighan on Programming
I'll bite: How is your job improving or affected by this AI surge?
jason_s··on Ask HN: How are you automating your coding work?
curious: which field are you in professionally?
jason_s··on Ask HN: How are you automating your coding work?
> have it produce several hundred lines of code with a shebang at the top.

Am I the only one who worries about agents creating malicious/unsafe code to execute?

jason_s··on Nanolang: A tiny experimental language designed to be targeted by coding LLMs
Interesting. The syntax looks like C and Scheme had an illegitimate child together. (Don't get me wrong, I do like the unambiguity of prefix notation.)
jason_s··on Git Rebase for the Terrified
Sigh. I will forever hate Atlassian for killing Bitbucket hg hosting.

What code review tools do you prefer?

jason_s··on The next two years of software engineering
> Senior developers: Position yourself as the guardian of quality and complexity.

Agreed but it's not an easy charge to fulfill.

jason_s··on Shipmap.org
TIL about the Welland Canal: https://en.wikipedia.org/wiki/Welland_Canal
jason_s··on The Chicken Game and the Evolution of the DRAM Industry from 2006 to 2014 [pdf]
Ah, yes, the DRAM game of musical chairs. The whole history of DRAM competition is a really interesting one.

I read Jeho Lee's article and a few other sources while researching background material for Supply Chain Games: Part II --- https://www.embeddedrelated.com/showarticle/1452.php#dram

In this section, we’ll take a closer look at DRAM, and see why being in the DRAM business is like farming bananas, playing poker, participating in a dance marathon, and being chased by a bear.

jason_s··on Vietnam bans unskippable ads
whoa -- I've never run into these. I've seen interactive puzzle ads, but the "X" to close always pops up in 20-30 seconds.
jason_s··on Vietnam bans unskippable ads
I just uninstalled a game from my mobile phone this morning that had heavy ad usage. It was interesting to note the different ad display strategies. From least to most annoying:

- display a static ad, have the "x" to close appear soon (3-10 seconds)

- display an animated ad, have the "x" to close appear soon (3-10 seconds)

- display a static ad, have the "x" to close appear after 20-30 seconds

- display an animated ad, have the "x" to close appear after 20-30 seconds

- display several ads in succession, each short, but it automatically proceeds to the next; the net time after which the "x" to close appears after 20-30 seconds

- display several ads in succession, each lasts for 3-10 seconds but you have to click on an "x" to close each one before the next one appears

I live in the USA. The well-established consumer product brands (Clorox, McDonalds, etc.) almost all had short ads that were done in 3-5 seconds. The longest ads were for obscure games or websites, or for Temu, and they appeared over and over again, making me hate them with a flaming passion. The several-ads-in-succession were usually British newspaper websites (WHY???? I don't live there) or celebrity-interest websites (I have no interest in these).

It seems like the monkey's-paw curse for this kind of legislation is to show several ads in a row, each allowing you to skip them after 5 seconds.

jason_s··on Vietnam bans unskippable ads
In case you wanted a more reputable source: https://theinvestor.vn/online-video-advertisements-in-vietna...
jason_s··on Yep, Passkeys Still Have Problems
Please don't use fixed-width fonts to write text. Please use fixed-width fonts to write code.
jason_s··on The Problem of Teaching Physics in Latin America (1963)
Yes -- you're right. And it was more colorful than this speech, but with the same essential conclusion.

https://www.drjez.com/uco/Misc/Feynman.htm

https://archive.org/details/surelyyourejokin0000feyn/page/21... (starts on page 11)

jason_s··on Trump pardons convicted Binance founder
> I wish John McCain was still around... he would have had the courage to stand up and talk sense into these people.

At one point I would have agreed, but then in 2017, McCain made his "We will regret what we are about to do" speech before the R's removed the filibuster requirement for the Gorsuch confirmation. And as an Arizona voter, I switched my registration from Independent to Democrat.

> “I fear that someday we will regret what we are about to do. In fact, I am confident we will,” said Sen. John McCain, R-Ariz. “It is imperative we have a functioning Senate where the rights of the minority are protected regardless of which party is in power at the time.” > > Nonetheless, McCain voted with McConnell on the rules change, saying he felt he had no choice.

https://www.pbs.org/newshour/nation/senate-gop-invokes-nucle...

jason_s··on Quicksort explained IKEA-style
> since for some reason in FP languages quicksort is typically next after "hello world"

How does FP handle the random selection?

jason_s··on Should we drain the Everglades?
Or John McPhee's "Atchafalaya".
jason_s··on Should we drain the Everglades?
You talking about the Imperial Valley or the Central Valley? The former is naturally desert, the latter was naturally abundant in wetlands and flood-prone grasslands, before agriculture took over.

https://en.wikipedia.org/wiki/Salton_Trough

It sounds like you're talking about the Imperial Valley, which is a different ball of wax from the whole wetland-draining argument here.

I object to "desert shithole" --- the Sonoran Desert is an ecosystem worthy of value in its own right, we just don't benefit from it as humans unless we turn to resource extraction or agriculture.

jason_s··on Should we drain the Everglades?
California's Central Valley would like a cautionary word....
jason_s··on Development of the MOS Technology 6502: A Historical Perspective (2022)
Fifty years ago today, on September 16, 1975, MOS Technology exhibited the 6502 at WESCON, making samples available:

> Here the story takes one of those legendary turns. Steve Wozniak had been designing the Apple I around the Motorola 6800, but he sees the MOS Technology ad, realizes he can get a better price (even better than a Motorola discount he can take advantage of as a Hewlett-Packard employee), goes to WESCON, and buys a couple of chips from Peddle, who’s selling them in a jar from a suite in a nearby hotel because WESCON won’t let them sell product at the convention. The 6502 is soon in the Apple I design. Only two hundred Apple I computers were manufactured in 1976, but by that time, Wozniak is already thinking about the Apple II, introduced in 1977, which will quickly take off like a rocket, starting the use of the 6502 in the personal computer industry with a bang.

jason_s··on "Your" vs. "My" in user interfaces
OMG, flashback to Windows 95's "My Documents".

I agree with the article's "It's a trick question" paragraph --- avoid using either.

jason_s··on Development of the MOS Technology 6502: A Historical Perspective (2022)
Happy birthday, 6502!
← PreviousPage 3 of 7Next →