Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
1

A few spikes in Pico cos()

from Quentin Santos [alt+shift+b] in programming

A picture is worth a thousand LLM prompts: Horizontal value is the input value x for cosf(x), ranging from 0 to 2π. The orange line shows the result of evaluating cosf(x), which looks exactly as expected. The blue line shows the time it took to evaluate cosf(x) for each x, in nanoseconds. I discovered this […] The post A few spikes in Pico cos() appeared first on Quentin Santos.
15th Aug 2026

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Quentin Santos

My first PCB: AIC3204 eval board

I had some fun with the Adafruit TLV320DAC3100. This is a small board built around the (TLV320)DAC3100 audio chip. “DAC” stands for “Digital-to-Analog Conversion”; that is, it takes some audio signal (here, I²S) and converts it to the analog equivalent (differential for speakers, single-ended for headphones). Microcontrollers typically don’t have analog output, and getting analog […] The post My first PCB: AIC3204 eval board appeared first on Quentin Santos.

6th Sep 2026 • 1 votes
The RP2350 is too fast

I had a few hours of “fun” figuring out why my RP2350 could use my ILI9341 display, but not the ST7796 one. To be more specific, displaying stuff with the first display worked flawlessly, while the ST7796 would display a single frame correctly, and then glitch. Depending on the exact code running, the glitches would […] The post The RP2350 is too fast appeared first on Quentin Santos.

15th May 2026 • 1 votes
The RP2350-USB-A cannot see devices disconnect

What’s better for New Year’s Eve than debugging some USB hardware issues? In my previous article, I explained how the design of Waveshare’s RP2350-USB-A can make the USB-A host connector incapable of detecting certain USB devices, and of any hot-plugging. The solution was to desolder R13, a pull-up resistor on D+: With this fix, my […] The post The RP2350-USB-A cannot see devices disconnect appeared first on Quentin Santos.

1st Jan 2026 • 1 votes
Fixing the RP2350-USB-A not working as USB host

tl;dr: you need to desolder R13, the resistor closest the pin 6 of the board, as indicated by the red arrow in the cover picture of this article Context I am currently toying around with emulating a USB device. However, I also wanted to be able to plug a keyboard in, so I needed a … Continue reading Fixing the RP2350-USB-A not working as USB host → The post Fixing the RP2350-USB-A not working as USB host appeared first on Quentin Santos.

20th Nov 2025 • 3 votes

More in programming

Unattended reboots with encrypted disks

An introduction to ZKeys: a new service that stores encryption keys off-site and automatically locks access to them if the client machines go offline for a long period of time.

3 hours ago • 1 votes
Education Shouldn't Be Held for Ransom

Google told K-12 schools they could turn off AI, but only if they gave up search too. That isn’t integration. It’s holding education for ransom.

3 days ago • 1 votes
AI Assisted Sermon

Once a year at my church, I usually give one sermon. I was asked to tie the theme to a young adult retreat we had taken to the Sunshine Coast. My first experience giving a sermon was many years ago at my old home church in El Monte, California. It was a Vietnamese-American church, but…

3 days ago • 1 votes
Fortune Telling and Speculative Design

Practical tools for design engineers to explore possible futures through speculative design

3 days ago • 1 votes
Must we always use LLMs this way?

As with my last post on AI, let me open with a statement: Just because most people hold AI a certain way, doesn’t mean that we always must, either now or in the future. As I noted in that piece, and my shades of gray post, I am well aware — and agree with — … Continue reading Must we always use LLMs this way? →

4 days ago • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in