|
This year at work there’s been a push to brush up on relational database fundamentals. I’m generally pretty good at that, so I wanted to put my skills to the test. My preferred way to learn (or upskill) a new language in the month of December? Advent of Code! I’ve done AoC for the last 5 iterations starting in 2021, spanning a few languages – starting in Ruby, then Python, then Golang last year (but I got busy and didn’t finish), to f....
|
|
This year at work there’s been a push to brush up on relational database fundamentals. I’m generally pretty good at that, so I wanted to put my skills to the test. My preferred way to learn (or upskill) a new language in the month of December? Advent of Code! I’ve done AoC for the last 5 iterations starting in 2021, spanning a few languages – starting in Ruby, then Python, then Golang last year (but I got busy and didn’t finish), to f....
|
|
How to query a list of Python dictionaries using DuckDB, without previously converting to another format. We can pass the list of dictionaries to the query directly and use unnest to convert to a list of rows. We can also expand the struct to multiple columns. Note : all the dictionaries must have the same keys. # /// script # requires-python = ">=3.12" # dependencies = ["duckdb"] # /// import duckdb DATA = [ ....
|
|
Ça y est, j’ai terminé la réécriture de mon site pour partager mes notes de cours . Jusqu’ici, j’utilisais l’application PineDocs 1 . J’ai fait de nombreuses contributions au projet et je tiens à encore remercier xy2z 2 d’en avoir merge plus d’une. Mais depuis un moment, je voulais changer. Déjà, PineDocs est écrit en PHP, un langage que je ne connais pas. Je voulais aussi que le site soit mieux intégré à mon nouveau site (l’act....
|
|
Yesterday, I was walking around a quiet countryside neighborhood when I saw a sign for a "Go Club." For those who don’t know, Go is a strategic board game also called Baduk in Korean and Weiqi in Chinese. I have always been fascinated by Go because of its elegant mechanics and philosophy. Excited, I immediately went inside to say hello. Inside, four people were playing—two middle school students and two elderly men, both over 70. One of....
|
|
Idag höll jag min tredje novellfika i Uppsala, och det var en särskild fika eftersom några vänner från Stockholm var med. Så vi hade både nya och gamla kompisar i diskussionen. Efter fikan gick några av oss hem till mig för lunch och lite mer prat.
|
|
The new generation of code assistance tools powered by Large Language Models (LLM)s may be useful in efficiently categorizing and translating historical software corpora. In this qualitative study, we examine LLM performance in explaining and translating FLOW-MATIC programs. We also test their reliability by injecting OCR-like errors into the text. Released in 1958, FLOW-MATIC targeted business applications and used a heavily English-inspi....
|
|
The new generation of code assistance tools powered by Large Language Models (LLM)s may be useful in efficiently categorizing and translating historical software corpora. In this qualitative study, we examine LLM performance in explaining and translating FLOW-MATIC programs. We also test their reliability by injecting OCR-like errors into the text. Released in 1958, FLOW-MATIC targeted business applications and used a heavily English-inspi....
|
|
how do i learn about stuff like video codecs, image/video formats etc? when people talk about this stuff i feel deeply ignorant and i think its stuff a programmer should know about. any books or resources you would recommend?
|
|
Memeplexes, Podcasting & the Movies (Issue #194) 2024-12-14 12:45:00 +07:00 by Mark Smith This week’s newsletter is out! In this week’s edition : Degrass on maybes & buddhism, MSM vs podcasting, chatting programmers, memeplexes & memetics, BTC and Reddit, Tarantino & Avery, and our bots heavy future Issue details: Title: Memeplexes, Podcasting & the Movies Issue: 194 Page: issue webpage Another awesome issue of the news..
|
|
The four most popular ways to use RDF-based metadata on websites are RDFa-Core, RDFa-Lite, Microdata, and inline JSON-LD. I can’t use RDFa-Lite because I need rel HTML attributes. rel silently upgrades RDFa-Lite to RDFa-Core , which parses differently. I doubt all parsers upgrade correctly; some will try to parse RDFa-Core as RDFa-Lite. Conformant RDFa parsers upgrade RDFa-Lite pages to RDFa-Core despite many authors only being familiar ....
|
|
Emacs has come a long way in the past decade. This is meant as a guide to anyone who’s been using stock or near-stock Emacs for some years and wants a quick update on the new shiny stuff that comes bundled with Emacs. This guide assumes you are running Emacs 29, which was released in 2023. Completion # Completion is pervasive in Emacs: hit TAB whenever you’re selecting a file (C-x C-f) or running a command by name (M-x) and the li....
|
|
Emacs has come a long way in the past decade. This is meant as a guide to anyone who’s been using stock or near-stock Emacs for some years and wants a quick update on the new shiny stuff that comes bundled with Emacs. This guide assumes you are running Emacs 29, which was released in 2023. Completion # Completion is pervasive in Emacs: hit TAB whenever you’re selecting a file (C-x C-f) or running a command by name (M-x) and the li....
|
If you need to control the JSON output format of Ollama’s response, keep reading. Ollama […] The post Shaping Ollama’s JSON chat response format appeared first on Elegant Code .
|
|
Optimizing the information you show in your GitHub profile with dynamic PRs and blog content Recently I was toying with the somewhat new GitHub feature that allows you to create a repository with the same name as your GitHub username and host in it a README.md file that then is displayed in your profile and visible to whoever visits your profile page. While this feature is good, it's not too dynamic, but there are two things in our favour..
|
|
In this blog post, we will explore art, USPS postal technology, philately, and generative art — all inspired by my trip to D.C. last month.
|
|
I was reading up on the recent Ultralytics GitHub Action compromise and I stumbled upon this great analysis of the situation. In it, zizmor is introduced, which is a static analysis tool for GitHub Actions. I experimented with it a bit and I have to say it's working great. It correctly identified misconfigured GitHub Actions on some repositories I was working on. It's another tool that's worth having as part of your CI.
|
|
Updated my site so posts also share on Bluesky. Considering using Bluesky for comments inspired by Emily Liu's approach.
|
|
When you have a web application, almost always, you need to run some functions/scripts regularly. This what cron is for. I wanted to find an easy way to run “cron-like” jobs inside a FastAPI app. The app runs inside docker, and I just need those jobs to run as long as the app is also running. Since the app is “async”, I found I can just have recurring background tasks as part of the app. We need to use the app lifespan and some functi..
|
|
Download Whonix – 26 Dec 25 Download Whonix (FREE) FREE Download Whonix. Privacy Protection. Anonymity Online. For Windows, macOS, Linux. ( What is a point release? ) Upgrade Alternatively, an in-place release upgrade is possible using the Whonix repository . This release would not have been possible without the numerous supporters of Whonix! Please Donate! Whonix – 9 Jan 26 Donating to Whonix ....
|
|
Download Kicksecure – 25 Dec 25 Download Kicksecure (FREE) FREE download of Kicksecure. Kicksecure can be installed on a physical machine as the host operating system (OS), as a guest OS inside a virtual machine, or as a portable host OS on a USB data stick. ( What is a point release? ) Upgrade Alternatively, an in-place release upgrade is possible using the Kicksecure repository . This release would not hav....
|
|
Tidigare i kväll gick jag till Uppsala slott och träffade några kompisar för att se Luciatåget på slottets tak. Det var en kort föreställning, men så vackert! Den sista sången som de sjöng var helt magi.
|
|
Personhood-based arguments on resuscitation of Extremely Premature Infants - practical philosophy seminar notes
-
liza.io
-
1 year ago
-
eng
This week’s practical philosophy seminar discussed personhood-based arguments for the resuscitation of extremely premature infants (EPIs). These notes focus less on discussion/paper specifics and more on what I learned about the topic as a whole during the discussion and afterward.
|
The Humba Ventures team is proud to announce the launch of Humba II, our oversubscribed $40M second fund focused on deep tech and American Dynamism.
|
|
Transforming normals: adjugate transpose vs inverse transpose
-
www.forwardscattering.org
-
1 year ago
-
eng
Prompted by a discussion on twitter , in which github.com/graphitemaster/normals_revisited was linked, I looked into this issue. It's pretty confusing! Lets get into the details... We can define the geometric normal of a triangle as the vector formed by taking the cross product of the triangle edges: $$n_g = (v_1 - v_0) \times (v_2 - v_0)$$ or $$n_g = a \times b$$ where \(a\) and \(b\) are the edge vectors $$a = v_1 - v_0$$ $$b = v_....
|
|
If you follow all of the anti-glowie threat model advice, one of the most common suggestions proposed is to disable all of your cellular related features on your phones, leave it on airplane mode permanently, or better yet just don't have a phone at all. W
-
lainchan.org
-
1 year ago
-
eng
If you follow all of the anti-glowie threat model advice, one of the most common suggestions proposed is to disable all of your cellular related features on your phones, leave it on airplane mode permanently, or better yet just don't have a phone at all. What nobody seems to mention is, you're trading off reachability which could be critical for a lot of people that may not realize it at first. Imagine your significant other, friend, or fam....
|
|
Optimizing Databases on Kubernetes Ep.2: Automating Database Maintenance with Kubernetes and CNPG
-
www.ardanlabs.com
-
1 year ago
-
eng
Introduction: In this episode, Jérôme Petazzoni explores how Kubernetes and CNPG (Cloud Native PostgreSQL) work seamlessly to manage database operations during node maintenance. With real-world demonstrations, Jérôme highlights the power of Kubernetes’ automation features, such as failover mechanisms and pod disruption budgets, ensuring minimal downtime and maximum reliability for database applications. Automated Failover with CNPG: ..
|
|
This book is a must read for anyone who wants to read better. It's not easy to read, but it's worth it.
|
|
Lately, I’ve been trying to learn more JavaScript. I wanted to explore web components. After checking out some frameworks and tools, mainly lit , tonic and facet , I wanted to build my own thing. It ended up being heavily inspired by tonic , but way simpler and with less features. I also really liked lit-html , which you can use as a separate package without having to use lit . It solves the problem of re-rendering only the UI pa..
|
|
Igår gick vi på vårt team-julbord! Jag har varit vegetarian i många, många år. Jag hade inte ätit fisk på ungefär… 10 år kanske, innan tidigare i år. Så detta var mitt första julbord (som jag minns) där jag åt fisk, och det var så väldigt gott! Men jag åt för mycket av det och vaknade upp med ont i magen. Värt det.
|
|
This was one of the most creative and enjoyable sci-fi books I’d read in a while. The two main storylines are split between spider-like intelligent aliens on a remote planet and the conflict between humans in orbit who are preparing to make First Contact. The way that the alien storyline is “translated” into English is a very compelling storytelling device. The human storyline paints a vivid picture of a far-future spacefaring civilizatio....
|