Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

Twenty Two Goblins - arunmani.in - 2 years ago - eng

This post could also be called “Or how to do React in Python” or “HTML as a function of state”. Most people use templating libraries like jinja2 to render HTML. I think that’s probably the best way to do it in production. However, for very simple / internal / proof-of-concept apps, I wanted to generate the HTML directly from Python functions to avoid needing extra files. I tried using f-strings to do that, but it gets messy pretty quick..

Twenty Two Goblins - arunmani.in - 2 years ago - eng

In Linux 6.7, Konstantin Meskhidze introduced TCP Networking support for Landlock. 🚀 I am happy to announce that Go-Landlock is one of the first libraries using it, and it has a demo tool. Demo If you are running Linux 6.7 or higher and have Landlock enabled, you can try it out like this: Install the tool to ~/go/bin: go install github.com/landlock-lsm/go-landlock/cmd/landlock-restrict-net@latest Invoke the tool using: landlock-....

In Linux 6.7, Konstantin Meskhidze introduced TCP Networking support for Landlock. 🚀 I am happy to announce that Go-Landlock is one of the first libraries using it, and it has a demo tool. Demo If you are running Linux 6.7 or higher and have Landlock enabled, you can try it out like this: Install the tool to ~/go/bin: go install github.com/landlock-lsm/go-landlock/cmd/landlock-restrict-net@latest Invoke the tool using: landlock-....

In Linux 6.7, Konstantin Meskhidze introduced TCP Networking support for Landlock. 🚀 I am happy to announce that Go-Landlock is one of the first libraries using it, and it has a demo tool. Demo If you are running Linux 6.7 or higher and have Landlock enabled, you can try it out like this: Install the tool to ~/go/bin: go install github.com/landlock-lsm/go-landlock/cmd/landlock-restrict-net@latest Invoke the tool using: landlock-....

Tidy First? - henrikwarne.com - 2 years ago - eng
Software design is preparation for change; change of behavior” Tidy First? is a new book by Kent Beck. It is a short little book, only about 100 pages (and lots of white space on them), but it contains some deep … Continue reading →

Upon his death in 1543 in Frombork, Poland, Copernicus was buried in the local cathedral. Over the subsequent centuries, the location of his grave was lost to history. There were several unsuccessful attempts to locate Copernicus’s remains, dating as far back as the 16th and 17th centuries. Another failed attempt was made by the French emperor Napoleon after the 1807 Battle of Eylau. Napoleon held Copernicus in high regard as a polymath, ma..

One of jOOQ’s key features so far has always been to render pretty much exactly the SQL that users expect, without any surprises – unless some emulation is required to make a query work, of course. This means that while join elimination is a powerful feature of many RDBMS, it isn’t part of jOOQ’s feature … Continue reading A Hidden Benefit of Implicit Joins: Join Elimination →


In a busy repo, you sometimes want to filter to git log by commit author - whether to exclude commits from a prolific author, or to review all commits by a specific author. This snippet tells git log to include or exclude by author Read more…

Is there a way to generate true random numbers automatically? Of course you can go to random.org to generate if you need so. But I want to run a program in the background that constanly generates random numbers in order to use them in meaningful data. Is there a way to do this? Or should I use the random number site as a gateway to do so?

This guide covers everything you need to know about Python virtual environments — from creating environments with venv to containerization with Docker and securing your code with Snyk.










At work, after a Spring Boot upgrade, we suddenly started getting 411 Length Required error when making HTTP requests.

The Identity Problem - etodd.io - 2 years ago - eng
Disclaimer: views expressed are my own and are not endorsed by my employer. It’s a famous joke that naming things is one of the hardest problems in computer science . I think this alludes to a fundamental truth behind so many of the problems I encounter every day as a software engineer. Let me ruin the joke and reword it a bit. The hardest problem in computer science is deciding whether two things are the same thing, or different. I d..

self hosting risks - lainchan.org - 2 years ago - eng
I want to self host the backend of one of my webshit projects, but I can't have a separate machine for it on a vlan as I only have one pc currently. So how risky is it to host it on my main pc and what can I do to reduce the risks?



The goal of the pg_rman project is to provide a method for online backup and PITR that is as easy as pg_dump. Also, it maintains a backup catalog per database cluster. Users can maintain old backups including archive logs with one command. We’ve always been doing our Postgres backups the rudimentary way via pg_dumpall, which works and is purely logical (one can restore across different Postgres versions), but pg_rman maintains a catalog ..

There are a multitude of considerations when it comes to picking the right security companion for your preferred generative AI tool. Here are the top 5 factors for you to consider when making your selections.

I recently got a copy of RPG Maker MZ and have been making some small games in there in my free time. I bought it with the intention to use it for a larger scale project I had been wanting to do for a while, but every time I bring it up to someone who has had experience making games, it's always either just no reaction or a kind of side-eye situation where they kinda poke fun at it. I know it isn't the most advanced tool, but it clearly h..

Change point detection (CPD) in time series analysis is an essential tool for identifying significant shifts in data patterns. These shifts, or “change points,” can signal critical transitions in various contexts. While most CPD algorithms are adept at discovering historical change points, their sensitivity in detecting recent changes can be limited, often due to a key parameter: the minimum distance between sequential change points. In thi..

Change point detection (CPD) in time series analysis is an essential tool for identifying significant shifts in data patterns. These shifts, or “change points,” can signal critical transitions in various contexts. While most CPD algorithms are adept at discovering historical change points, their sensitivity in detecting recent changes can be limited, often due to a key parameter: the minimum distance between sequential change points. In thi..

In December, I didn't have much time to work on tech things since I spent a large part of it away from home. Still, here are some interesting things that happened.

I spent a week looking at MySQL/MariaDB internals along with ~80 other devs. Although MySQL and MariaDB are mostly the same (more on that later), I focused on MariaDB specifically this week. Before last week I had never built MySQL/MariaDB before. The first day of this hack week, I got MariaDB building locally and made a code tweak so that SELECT 23 returned 213, and another tweak so that SELECT 80 + 20 returned 60. The second day I....

If you have installed a fresh copy of Debian or Raspbian on your Raspberry Pi you might notice that sudo does not ask for a password. This is a security risk and should be fixed. Let's see how to fix it.

If you have installed a fresh copy of Debian or Raspbian on your Raspberry Pi you might notice that sudo does not ask for a password. This is a security risk and should be fixed. Let's see how to fix it.

New #defcontraining alert! Join us in Paris April 22-25 for a slate of 4-day intensive training sessions administered by world-class trainers. The full list of available classes is available now at training.defcon.org . We hope to see you there!

tl;dr For my Master’s capstone project, I demonstrated that not only can LLMs be used to drive robotic task planning for complex tasks given a set of natural language objectives, but also demonstrate some contextual understanding that goes beyond information known about the world state. Just want to see the result? Jump to here. Just the code? Here. Introduction ROS2 + the Robot ROS2 litterbug - Handling Interaction State Tracking V..

Knowledge and time are closely related. What is the relationship between those and what does it imply for lifelong learners and knowledge management? Let's find out!

Knowledge and time are closely related. What is the relationship between those and what does it imply for lifelong learners and knowledge management? Let's find out!

Today I released Fattura Elettronica for .NET v3.4.13. The Fattura Elettronica project allows for the validation and de/serialization of electronic invoices that adhere to the standard defined by Italian Revenue Agency ( Agenzia Entrate ). See the changelog for details (Italian).

Today I released Fattura Elettronica for .NET v3.4.13. The Fattura Elettronica project allows for the validation and de/serialization of electronic invoices that adhere to the standard defined by Italian Revenue Agency ( Agenzia Entrate ). See the changelog for details (Italian).



117 visitors online