11 June 2020

58 links · Thursday

How async should have been

Your sync and async code can be identical, but still, can work differently. It is a matter of right abstractions. In this article, I will show how one can write sync code to run async programs in Python.

Model facts, not your problem domain

When requirements change, an append-only data model of immutable facts is more useful than a mutable data model that models the problem domain.

Towards a New Leveraged ETF Part 3 · Sturm Mabie

In the final installment of this three part series, we are going to use our results from the previous two posts to construct a fully automated variable leverage ETF. In part one, we derived the optimal leverage ratio for maximizing returns and in part two we a…

The Many Quirks of Qsort

  In 1973, the author of the C programming language Dennis Ritchie was such a fan of the quicksort algorithm that he decided to name the language’s sort function after it. In this post, …

And so it begins | Regressionist

Today I am taking my first step toward building a quant hedge fund completely from scratch. I have no partners or intellectual property, and only enough savings to support my family for five years at our current burn rate. I know it will very likely not work o…

Compressing Synapse database | Levans' workshop

Anyone running a federating instance of the Matrix homeserver Synapse will likely have seen this: synapse is database-hungry. It tends to take a lot of space. In this post, I'm documenting how I shrunk my homeserver database from 100GB to a little under 8GB, d…

ECDSA: Handle with Care

The elliptic curve digital signature algorithm (ECDSA) is a common digital signature scheme that we see in many of our code reviews. It has some desirable properties, but can also be very fragile. …

Mission Vimpossible

I tried to use vim for the first time today. I’ve opened it a few times to read files, so the cursor navigation was familiar and after I think for a moment I can remember how to exit, but today was the first time I actively wanted to use it to modify a file.

Introducing "Web Live Preview" | ASP.NET Blog

If you work on any type of app that has a user interface (UI) you probably have experienced that inner-loop development cycle of making a change, compile and run the app, see the change wasn’t what you wanted, stop debugging, then re-run the cycle again.

OpenAI API

An API for accessing new AI models developed by OpenAI

Blazor RenderTree Explained

Blazor is a new single page application (SPA) framework from Microsoft that relies on the .NET framework in favor of JavaScript. As part of its component development model, Blazor uses a DOM abstraction called a RenderTree. In this article we’ll learn about wh…

Collations and Case Sensitivity | Npgsql Documentation

PostgreSQL is a case-sensitive database by default, but provides various possibilities for performing case-insensitive operations and working with collations. Unfortunately, full collation support is recent and somewhat incomplete, so you may need to carefully…

dotnet/pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS. - dotnet/pinvoke

HuffPost is now a part of Verizon Media

HuffPost is part of Verizon Media. Click 'I agree' to allow Verizon Media and our partners to use cookies and similar technologies to access your device and use your data (including location) to understand your interests, and provide and measure personalised a…

GE FILTERGATE

GE Filtergate - When a company thinks it can screw you for profit with pointless DRM.

Home - The Amos Bursary

We are the Amos Bursary and we exist to ensure talented men of Afro-Caribbean descent have the opportunity to excel in education and beyond Students Join the Amos Bursary Mentors Become a Mentor Business Partners Become a Business Partner News “,”nextArrow”:”“…

Reddit Welcomes Michael Seibel to Board of Directors

Today, we’re thrilled to announce that Michael Seibel will be joining Reddit’s Board of Directors. Seibel is Partner at Y Combinator and CEO of the YC startup accelerator program, which first helped launch Reddit in 2005. He’s also the cofounder of Justin.tv/T…

await false & await true – TooSlowException

Awaitables are the types on which await can be called. It happens due to “duck typing” – the only thing which makes type “awaitable” is an existence of the GetAwaiter() method that returns type implementing INotifyCompletion interface. That’s it.

How Do I Think About Async Code?! | Visual Studio Blog

What's asynchronous code? When and why should you use it? Check out this intro to async code and how you can apply it to future programs!

Development With A Dot - ASP.NET Core OData Part 2

IntroductionThis is the second post on my series on using OData with ASP.NET Core 3. You can find the first here.QueryingWe’ve seen how we can expose an object model to OData. In the first post I …

Azure CLI - Interactive Mode - Azure Greg

If you are using the Azure Portal to do some tasks it may be time to take a look at using the Azure CLI (Command Line Interface) as this can be a good way to learn to start automating some tasks. Handily the Azure CLI has an interactive mode. “You can use Azur…

.NET Core June 2020 Updates – 2.1.19 and 3.1.5 | .NET Blog

Today, we are releasing the .NET Core June 2020 Update. These updates contain security and reliability fixes. See the individual release notes for details on updated packages. Security CVE-2020-1108: .NET Core Denial of Service Vulnerability To comprehensivel…

microsoft/terminal

The new Windows Terminal and the original Windows console host, all in the same place! - microsoft/terminal

apohl79/audiogridder

DSP servers using general purpose networks and computers - apohl79/audiogridder

I Will Vote

Be a voter in the 2020 election.

We are implementing a one-year moratorium on police use of Rekognition

We’re implementing a one-year moratorium on police use of Amazon’s facial recognition technology. We will continue to allow organizations like Thorn, the International Center for Missing and Exploited Children, and Marinus Analytics to use Amazon Rekognition t…