|
First off, if you can have a real network cable, use that. As temporary measure I set up a powerline connection between the apartment and basement. Connection speeds vary quite a bit and I wanted to be able to monitor reported network speeds.
|
|
These four new features include: animating display and content-visibility on a keyframe timeline, the transition-behavior property, the @starting-style rule, and the overlay property.
|
|
Part #2 Live code review: Pinecone Vercel starter template and Retrieval Augmented Generation (RAG).
-
zackproser.com
-
2 years ago
-
eng
Part #2 of our Twitch Livestream: walking through the Pinecone Vercel AI chatbot template commit-by-commit
|
|
CNET actually didn’t have to delete old articles to improve ranking. If CNET simply removed those articles from its sitemap, used WebSub to inform Google (and IndexNow to inform Bing, Seznam, and Yandex) of new higher-priority pages, and maybe used robots.txt to disallow crawling of stale pages: CNET could keep old content but prioritize the crawling of recent content. Nothing I just described is Google-specific; these are all agreed-upon..
|
|
A few years ago, when Xiaomi was making its Dafang WiFi camera, I bought two of them for a relatively low price. Since then, before every family vacation, I’ve set up one of them to spy on monitor our cat … Continue reading → The post How to Unbrick the Xiaomi Dafang Camera first appeared on hackup.net .
|
|
Note: School Days anime spoilers ahead. I hope that does not matter to you since School Days is 16 years old […]
|
|
Why read the Working Backwards book? Amazon is not very popular right now, with many media criticizing its treatment of workers and its cut-throat culture. Still, love them or hate them, there are some undeniable achievements. Amazon is a tech … Continue reading →
|
|
Rolling the Dice: Baldur’s Gate 3 and the Art of Engineering Decisions
-
www.mattp.tech
-
2 years ago
-
eng
Diving deep into the world of Baldur’s Gate 3, I've discovered it's more than just a game. The choices we make, the strategies we employ, they mirror our real-life engineering challenges. From Faerun to the lab, there's always more than one path to success. Check out my latest blog post to see how this epic game intertwines with the world of engineering!
|
Pointers are a frequently confusing topic for intermediate computer science students. A misunderstanding about the arithmetic surrounding pointers or even the very nature of what a pointer is, is a significant barrier to students that need to code in C or C++, or do tasks with large data that needs to be efficient. By the end, you'll have a working understanding of pointers and how to modify them with math.
|
|
The Cucconi test is a nonparametric two-sample test that compares both location and scale. It is a classic example of the family of tests that perform such a comparison simultaneously instead of combining the results of a location test and a scale test. Intuitively, such an approach should fit well unimodal distributions. Moreover, it has the potential to outperform more generic nonparametric tests that do not rely on the unimodality assu..
|
|
With the recent news of OpenAI’s web crawler respecting robots.txt and the ensuing scramble by seemingly everybody ensuring their robots.txt is blocking GPTBot, I was thinking if there wasn’t a better solution to help our future AI overlords make sense of the world. As I am hosting all my sites on a tiny NUC using nginx and having previously played with its return directive I decided to reuse the same trick for visits of GPTBo..
|
|
Like many software engineers, I spend a decent amount of time on the command line. It’s an invaluable tool that I use daily and one that I…
|
|
The Cucconi test is a nonparametric two-sample test that compares both location and scale. It is a classic example of the family of tests that perform such a comparison simultaneously instead of combining the results of a location test and a scale test. Intuitively, such an approach should fit well unimodal distributions. Moreover, it has the potential to outperform more generic nonparametric tests that do not rely on the unimodality assu..
|
|
Like many software engineers, I spend a decent amount of time on the command line. It’s an invaluable tool that I use daily and one that I…
|
|
Someone on Discord asked about how to learn functional programming. The question and my initial tweet on the subject prompted an interesting discussion with Shriram Krishnamurthi and other folks. So here's a slightly more thought out exploration. And just for backstory sake: I spent a few years a while ago programming in Standard ML and I wrote a chunk of a Scheme implementation . I'm not an expert, but I have a bit of backgro....
|
|
Repository: @knadh/listmonk GitHub release page: v2.5.1 What’s new The major new feature in this release is support for arbitrary file attachments. The media “gallery” UI/UX has changed to accept arbitrary file uploads which can be attached to campaigns.
|
|
Godot 4’s HTML5 export uses WebAssembly, WebGL, and SharedArrayBuffers. Browsers require a secure context for these features to be available, which requires sending certain HTTP headers when serving the game content. For development, there are two straight-forward ways to serve the content: Godot’s Python http server and Miniserve. Godot’s Python HTTP Server The Godot team has written a script, leveraging Python’s existing http server..
|
|
Godot 4’s HTML5 export uses WebAssembly, WebGL, and SharedArrayBuffers. Browsers require a secure context for these features to be available, which requires sending certain HTTP headers when serving the game content. For development, there are two straight-forward ways to serve the content: Godot’s Python http server and Miniserve. Godot’s Python HTTP Server The Godot team has written a script, leveraging Python’s existing http server..
|
|
Four Thousand Weeks is in my opinion a must-read. It covers a breadth of topics, some of which I’ll detail below. “Life, I knew…
|
|
This article discusses Java, why URL encoding and decoding are important, and how to approach it properly.
|
|
There’s a neat paper Type Systems as Macros by Chang, Knauth, and Greenman [ 1 ] that describes how to implement a typed language using an untyped host language and macro expansion. The paper is neat, but I found the code hard to follow—the paper uses a compact notation that’s convenient for print, but not so much for reproducing on one’s own. This post is my attempt to implement and explain in more accessible terms what’s presented in th....
|
|
There’s a neat paper Type Systems as Macros by Chang, Knauth, and Greenman [ 1 ] that describes how to implement a typed language using an untyped host language and macro expansion. The paper is neat, but I found the code hard to follow—the paper uses a compact notation that’s convenient for print, but not so much for reproducing on one’s own. This post is my attempt to implement and explain in more accessible terms what’s presented in th....
|
|
Hi, Letzte Woche sind die Emotionen hochgekocht. Einer meiner Kunden hat etwas außergewöhnliches geschafft. Sie betreiben seit 10 Jahren erfolgreich ein Produkt. Höchst profitabel. Aber das Projekt wurde nicht von ausgelernten Entwicklern begonnen. Es startete als Nebenprodukt. Die ersten Entwickler waren Queereinsteiger. Super interessiert, motiviert, engagiert und Experten in der Domäne. Und ihnen ist etwas gelungen, was in 9 v..
|
|
The Band’s impact on the world of music has been immense, and they will live on in their work – and will always be, to me, very much alive whenever I play their records."
|
|
Every book on writing tells you to avoid adverbs (and even adjectives). I find that hard to do in first drafts, but I do try to remove them in edits. You can tell that I haven’t done enough editing if you see that I “really like” something or that a new programming language is “pretty good”. Season 3 Write While True Episode 28: Complex Sentences Write While True Episode 29: Loose Sentences Books The Golden Book on Writing [amazon..
|
|
I am curious how those justify sustaining open source or doing programming 'for fun' when you can make a profit from it instead. I have a few open source libraries that I find mildly dumb in retrospect because there's no profit to be had in maintenance (beyond my use case). The only respectable open source development is paid dev-time by companies (as it is within each company's interest to combine forces rather than maintain their own bi..
|
|
I wrote these notes while reading Julia Evans’ (excellent) Behind “Hello World” on Linux post post. I learned a lot from it. If you haven’t read it yet, I highly recommend you do! I am on Ubuntu Linux 22.04 LTS and there is filed called hello.py with content print ( "Hello world!" ) It’s basically “What happens when you do python hello.py in the terminal, on Linux ?” from the point you run the command to the point you see the o..
|
|
I wrote these notes while reading Julia Evans’ (excellent) Behind “Hello World” on Linux post post. I learned a lot from it. If you haven’t read it yet, I highly recommend you do! I am on Ubuntu Linux 22.04 LTS and there is filed called hello.py with content print ( "Hello world!" ) It’s basically “What happens when you do python hello.py in the terminal, on Linux ?” from the point you run the command to the point you see the o..
|
|
When we’re writing programs, we usually deal with some kind of dependencies: databases, loggers, caches, telemetry… Setting up a full-blown Dependency Injection framework could be a solution to this, but Effect has some aces in its sleeves that make DI frameworks unnecessary. Let’s see how we can manage dependencies using Effect. Intro to Effect series: What is Effect? Handling Errors Managing Dependencies Concurrency in Effect ....
|
|
An article on how to resize an image to an aspect ratio with its background blurred using ImageMagick.
|
|
An article on how to resize an image to an aspect ratio with its background blurred using ImageMagick.
|
|
Lately I've been tinkering with optimizing Sasha's llama2.rs , a fast Rust port of Karpathy's llama2.c. It takes advantage of Rust nightly's portable_simd, which allows you to emit AVX2 or AVX512 instructions using a relatively clean set of abstractions, and also run inference on a quantized llama2, so it's pretty fast. One of the core loops looks like this: let mask = ( 1 << BITS ) - 1 ; // BITS is 4 let elems_p....
|