17 April 2023

44 links · Monday

The Atom of Intelligence

A short story of how intelligence evolved from the very first single celled organisms and how common patterns reappear on various scales. A story in search of an atom of intelligence.

Welcome to Peter's DevLog - Wrapping C libraries in Nim

As we discovered in my last article, Nim will by default generate C code and then call on a C compiler to actually produce a binary. This might seem like an odd choice, especially in the age of LLVM. However it’s actually not uncommon for languages to compile …

Build things that surprise you

From an early age, I have been captivated by surprises. The thrill of a well-crafted plot twist in a novel or an unforeseen turn in a game made me feel invigorated. As I matured, I realized that "Building Things That Surprise You" became the core principle gui…

UserModeScheduling in Windows

User mode schuduling in Windows is such a hot topic that there is about 3 total post about it on the internet. The stakes are high! First things first - I already described its mode of operation at DConf 2018. So here I’ll just show some working code from impl…

Forex Trading for Fun and Luckily Profit

In college, my first programming side project involved writing foreign exchange (forex) trading programs. This is an introduction to forex trading and the story of my brief stint as an amateur currency trader.

Self-Modifying Prompts

In some sense, LLMs have long-term and short-term memory. Long-term memory is the model itself and short-term memory is the current input. When using chat.openai.com, the model only remembers the last 4K tokens. To bypass this limitation, I prompted ChatGPT to…

Delete Your Dev Environment Regularly

I have recently had the opportunity to muse about process and how we maintain a system. One of the things in particular that I have been thinking about the most is onboarding new people into your project.

Make It Memory Safe: Adapting curl to use Rustls

As I mentioned in my post about attending Real World Crypto 2023 and the Open Source Cryptography Workshop, I’ve given a talk discussing Rustls-FFI and the work to allow curl and libcurl to use the Rust-based, memory-safe Rustls TLS library in a talk called Ma…

Data Driven Detection Engineering

In which I argue for stronger software engineering skills in cybersecurity, and a focus on data engineering. My initial foray in the world of detection & response occurred in the mid-2000s, when the field of cybersecurity was still nascent and white hats were …

Preventing iOS Textbox Auto Zooming and ViewPort Sizing

If you've build mobile Web applications that need to run on iOS Safari and on an iPhone you might have run into the problem of input fields 'auto-zooming' the display when the input field and popup keyboard get focus. The view zooms and doesn't return back to …

mjg59 | Booting modern Intel CPUs

CPUs can't do anything without being told what to do, which leaves the obvious problem of how do you tell a CPU to do something in the first place. On many CPUs this is handled in the form of a reset vector - an address the CPU is hardcoded to start reading in…

Looking into Corax’s posting lists: Part III

We looked into the internal of Corax’s posting list and in the last post I mentioned that we have a problem with the Baseline of the page. We are by n...

A Journey through Color Space with FFmpeg

For those who want to understand color spaces, transform videos from one color space to another, or read how I almost went crazy working…

354: .NET Native AOT Apps Fit on a Floppy Disk!

With Microsoft Build and .NET 8 right around the corner, the team is hard at work optimizing the runtime to fit full Native AOT apps down under 1.44MB! That is right, it fits fully on a floppy disk! We discuss all things AOT and what you need to know.

Covariance and Contravariance in C#

Let's talk about Contravariance and Covariance in C# using .NET Framework examples! Contravariance and covariance are essential concepts in C# when dealing with generics, enabling us to have more flexibility when assigning generic types. So let's have examples…

What do Solution Architects do?

What solution architects do, what skills they need, and how they work with other professionals to create successful solutions.

Mastering Azure AI: #30DaysOfAzureAI Week Two Recap

Looking Back: Week 2 Recap​ Week two is complete and thank you for joining us on this journey. We hope you've enjoyed the second week of #30DaysOfAzureAI and have learned a lot about building intelligent apps. Here's a recap of week two.     Here are the high…

New Azure Extensions in VSCode.dev!

We are excited to announce the release of 3 Azure Extensions to vscode.dev! These extensions are Azure Static Web Apps, Azure Container Apps, and Azure Resource Groups.   vscode.dev is a development tool that is a lightweight version of VSCode that runs fully …

Testing a periodic worker

I came across somebody that was asking about how to test their code. They had a function that would do certain work at short intervals and t...

(The Futility of) Keeping Secrets from Yourself

Many interesting problems in software design boil down to “I need my client application to know a secret, but I don’t want the user of that application (or malware) to be able to learn …

Water Cooler GPT

Michael Outlaw is a father, husband, and software developer based out of Atlanta, GA. A fan of gadgets and all things technology, when he isn't found behind the clickety clack of his favorite mechanical keyboard he's usually found on a bicycle or tennis court.…