3 May 2022

46 links · Tuesday

n+7 writing — Brady Haran

In the latest Numberphile video , Marcus du Sautoy introduced me to the notion of n+7 writing/poetry. Take an existing text, and replace the nouns with words seven places advanced in the dictionary . I decided to apply this treatment to the most famous S…

Sync time in MicroPython using NTP

What if we want to blink an LED to remind us on the day of a friend's birthday? Or what if we want a lamp to automatically turn on, like an alarm, every morning? Learn how to sync your ESP32 with network time!

The Pareto PM - Jon Douglas

As I reflect upon the last 5 years, one of the biggest themes that sticks out is whether a PM is thinking in outputs or outcomes.An early in career PM may be thinking purely in outputs. How many features can we build? How many bugs can we fix in this release? …

Setup mypy for fun and profit

Have you ever written Python code and had to dig deep into callstacks to understand what the return type of a function is? I know I did and unfortunately, it makes me slower overall because I always have to dig through the callstack to understand what I’m deal…

making friends on the internet

There are almost eight billion of us on this planet, ten thousand likely very similar to yourself. The Internet is a typical person’s best hope for finding and connecting with them. Mount Sanitas Summit west, Boulder, CO I enjoy life in large part thanks to f…

Your computer has two clocks

You cannot realise that, but your computer has a battery inside it only to get your computer clock running. Back in the 90s, when the rechargeable (lithium-ion) battery was not cheap, we used to disassemble our computers to replace their clock battery when the…

What's two-adicity?

Some elliptic curves (related to zero-knowledge proofs I believe) have been claiming high 2-adicity. But for some reason, it seems a bit hard to find a definition of what this term means. And oddly, it's not a complicated thing to explain. So here's a short no…

[Video] Quick shout-out to DevToys

Wanted to very briefly share a tool I’ve come across a couple of months ago: DevToys.

Considered “18+” | daniel.haxx.se

Vodafone UK has taken it on themselves to make the world better by marking this website (daniel.haxx.se) “adult content”. I suppose in order to protect the children.

Entity Framework Core for Beginners

Entity Framework Core is a modern object-database mapper for .NET. It simplifies working with various databases (including Azure Cosmos DB, MySQL, PostgreSQL, SQL Server, and SQLite) using strongly-typed .NET objects and support for LINQ. This intro video seri…

Reviving httpstatuses

After learning what happened to the site, I revived httpstatuses on a new domain.

The Demise of the Mildly Dynamic Website

Early websites. In the beginning, website HTML was crafted by hand. Your average personal — or corporate — website might consist of hand-edited HTML subsequently uploaded, probably via FTP, to a web server which knew only how to serve static files.

May 3, 2022

They are app capability SIDs.

Wildcard proxy for everyone

Today we’re announcing the availability of proxied wildcard DNS records on all plan levels

FerrarGIS

Blazor Workshop | NDC London 2022

Blazor is arguably the hottest technology in the .NET world right now, and for good reason. It brings the missing piece of the puzzle to ASP.NET—A true client-side UI framework which allows developers to author applications with C# instead of JavaScript. Since…

Ensuring Integrity on PayHere Cybersecurity Incident – Payhere Blog

[Notice: Cyber Crime Investigation Division (CCID) of Sri Lanka Police is currently investigating this cyber crime incident to identify the criminal & the updates on the investigation will also be amended to this blog post continuously.]

OPT: Open Pre-trained Transformer Language Models

Large language models, which are often trained for hundreds of thousands of compute days, have shown remarkable capabilities for zero- and few-shot learning. Given their computational cost, these models are difficult to replicate without significant capital. F…

Semantic Versioning for TypeScript Types

A specification for managing changes to TypeScript types, including when the TypeScript compiler makes breaking changes in its type-checking and type emit across a “minor” release.

C#: Add event handlers dynamically using reflection

Recently I had a situation where I needed to test a class with dozens of event handlers. Rather than manually write the repetitive code to attach the handlers I decided to cheat and use reflection. Since there wasn’t anything immediately available online that …

Case Study: Double performance in under 30 minutes

Summary Recently I was converting some decompression code to C# so that we could use it cross platform and to aid in our team’s effort to migrate our new analysis process to .NET 6. After I got the initial implementation done with the simplest,

Fritzing

Fritzing - electronics made easy