TIL Go maps never shrink!
#28 in 100 Go Mistakes and How to Avoid Them by @teivah
https://t.co/5qp6k1Fi6b
The new Swiss Tables (Go 1.24) are cool but do not change that.
#golang
#Golang quiz: what is the behavior of the following code:
package main
type X interface{M()}
type Y X
type Z int
func (Z) M(){}
func main() {
var x X = Z(1)
y := *(*Y)(&x)
println(x == y)
}
How is the internet less private than in 2006, when the whole family shared one computer?
Back then, the internet was weird, personal, and all of ours.
So, we got your favorite meme legends back together to say it louder: What happened to the internet? 1/3
🚨Hicimos un estudio de versiones de PHP en el Estado🇦🇷 (sitios GOB/GOV.AR), su nivel de (des)actualización, versión, aplicaciones instaladas y un buscador🔎 que permite conocer en qué estado se encuentran los Organismos nacionales.
https://t.co/p8rbASmpkc
My article about Cgroups is out.
Namespaces make a container see its own little world, but nothing stops it from eating every CPU core and every byte of RAM. That's the job of cgroups: namespaces change what a process can see, cgroups limit how much it can use.
In this article we explore an example of how cgroups work from the interface, to how is represented internally in the code, and even going through the process of a simple cgroup limit.
You can take a look here: https://t.co/Qbwlo9QsuI
#Linux #Containers #Cgroups
🚨CACHANOSKY LIQUIDÓ A MILEI:
"Este era especialista en crecimiento con o sin dinero pero la economía no va ni para atrás ni para adelante"🔥
"Están haciendo lo mismo que Martínez de Hoz: pisan el tipo de cambio para pisar la inflación artificialmente"🔥
"Del RIGI no entraron ni mil millones de dólares de inversión" 🔥
Y encima Aracre para defender a Milei lo hundió y reconoció QUE SÍ HAY CEPO 🔥🔥🔥
Today I'm getting into cgroups for my next article.
The last one was about namespaces, which decide what a process can see. Cgroups decide how much it can use.
One thing that is kinda surprising is how you interact with cgroups, through the filesystem, generating a new cgroup is as easy as running a "mkdir" command. And limiting the number of processes just an "echo" command.
I'll talk about the cgroups, the controllers, and how they are shaped and access in the kernel.
The article will be available this Monday.
If you want these articles directly in your inbox? Subscribe to the newsletter: https://t.co/vpnOuQRpUO
#Linux #Containers #Cgroups
🔴¿ADORNI OLVIDÓ DECLARAR 62 MIL DÓLARES?
Adorni parece que olvidó que tenía y habría vendido BCH (Bitcoin Cash) y BTG (Bitcoin Gold) en las wallets presentadas ayer.
🔥La diferencia: entre 24 mil y 62 mil dólares con potencial de ser hasta 435 mil dólares. 💸
En un momento en la historia quienes tenían BTC (Bitcoin) pasaron a tener también la misma cantidad de Bitcoin "alternativos" (los -Cash y -Gold en este ejemplo) que funcionan sobre redes blockchain paralelas. Eso se dio en un proceso llamado fork (bifurcación).
Las billeteras que declaró Adorni son de la era pre-fork y algunas tenían saldo de BTC al momento de la bifurcación. El titular de las billeteras del Bitcoin original pasaba también a ser titular de estas billeteras alternativas con sus respectivos saldos 1 a 1 del nuevo activo. ¿Tenías 2 BTC? Entonces cuando apareció BCH tenías también 2 BCH en esa red paralela.
En 2017, el titular que vendió los BTC de las billeteras #1, #2, #5 y #6 que Adorni presentó ayer como suyas movió al mismo tiempo todos los BCH que esas billeteras tenían.
⚠️Adorni omitió sumar el valor de la venta de esos BCH en su presentación ayer en el juzgado, solo parece haberse acordado de los BTC, los "originales".
👉Vendió el 5 de agosto de 2017 por la tarde los BTC según su declaración pero al ratito también parece que transfirió los BCH de esas 4 billeteras aunque esos no figuran en la presentación judicial. A los precios vigentes en la fecha de venta serían entre 21 y 26 mil dólares por unos casi 100 BCH. Además, de la billetera #8 salió otro BCH el 7 de octubre de 2018. Ese movimiento tampoco aparece explicado en su presentación.
🥇También parece que movió de la billetera #3 y la #4 unos 23 BTG (Bitcoin Gold) a fines de 2017 y abril de 2018 que valían unos 3000 dólares extra.
Escenarios posibles de dinero faltante en su defensa judicial y presentaciones impositivas:
1️⃣🔥Entre US$ 24.000 y 30.000 faltantes: Si las transferencias salientes que vemos de esas wallet son ventas a dólar en efectivo en un lugar público con un anónimo entonces hablamos de unos 24 a 30 mil dólares que ayer no declaró haber ingresado a su patrimonio.
2️⃣🔥US$ 64.000 faltantes: varias transferencias salientes de BCH se consolidan en una sola billetera esa misma noche y los BCH recién entran a otra billetera que podría ser un exchange el 23 de agosto, tres semanas después, con el BCH a 618 dólares en vez de los 210 del día de la salida. A ese precio, el valor de ganancia sube a unos 64 mil dólares.
3️⃣🔥Hasta US$ 435.000 faltantes: Si esas transferencias salientes solo fueron para consolidar saldos en otra billetera para venderlas luego en otro momento futuro que no conocemos, esa venta podría haber llegado a 435.000 dólares si los hubiera vendido en el pico máximo de cotización. Este escenario requiere que las billeteras receptoras fueran propias y es solo un escenario máximo posible pero no necesariamente muy probable.
4️⃣ 🔥Unos US$32.000 en activos: si Adorni hubiera conservado esos BCH y BTG, hoy tendrían aproximadamente ese valor, aunque ya no estén en las direcciones que presentó, salvo 1 BTG que dejó de souvenir en la billetera #8 y ya no vale nada. Pero él dijo varias veces haber vendido todo en 2018.
Como Adorni omite hablar de esto en el escrito judicial no podemos ni siquiera seguir su propia historia a ver qué presumiblemente hizo con estas criptomonedas alternativas al Bitcoin. Sí podemos asumir que, si eran suyas las billeteras, sabía perfectamente que esas cripto alternativas existían porque también las transfirió. No puede ahora aducir que no sabía de su existencia.
También queda la hipótesis del "mal pensado" de que no eran sus billeteras, que no sabe de cripto ni se asesoró correctamente como para darse cuenta que estas criptomonedas alternativas eran públicas y podían aparecer al mostrar billeteras públicas de Bitcoin.
Fuente: blockchains de BTC, BCH y BTG con las wallets presentadas por Adorni. Los precios son aproximados porque al tratarse de presuntas ventas P2P o con exchange sin saber cuál no podemos determinar la cotización exacta que se pudo usar para la transacción.
Jacob is correct here—we really do earnestly believe AI could kill all humans! I personally think it is >10% within the next decade. I believe Anthropic is trying its best, but we do not yet have a plan to solve alignment for superintelligence and are not clearly on track to.
What Is a Distroless Container Image? 🧐
Go (programming language) is famous for its statically linked binaries. You can take a Go executable, drop it into a "FROM scratch" container, and call it a day.
But there might be a problem with this approach...
1. "FROM scratch" containers lack proper user management.
The "scratch" base image means an empty image. So, the etc's passwd and group files are simply missing.
Most of the time, it makes the containerized process run as root.
2. "FROM scratch" containers lack some much-needed folders.
`/tmp, /root, /home, /var, /etc` - none of them exist in the scratch container (unless you mount some of them, of course).
But that can make our programs faulty - just try creating a tmp file and see what happens 😉
3. "FROM scratch" containers lack CA certificates and timezone information.
Calling an HTTPS endpoint? Impossible.
Doing time conversion? Impossible.
4. "FROM scratch" containers lack your language runtime.
If your language's static linking support is less perfect than Go's, or your programs require an interpreter or a runtime environment, you can barely use scratch containers.
Distroless container images exist to solve the above problems while still staying as close as possible to the "FROM scratch" approach.
The GoogleContainerTools/distroless project is a good example. It ships the following base images:
- distroless/static = scratch + a distro-like directory structure, /etc/{passwd,group}, CA certs, and timezones
- distroless/base = distroless/static + glibc
- distroless/cc = distroless/base + libgcc
And a few more language-specific but still distroless images:
- distroless/java for Java 17, 21, 25
- distroless/nodejs for Node.js 22 & 24 & 26
- distroless/python3, well, for Python 3
But there are other projects (and products), too! Learn more about distroless images in this iximiuz Labs tutorial: https://t.co/QvQ99VDs6Z
No human should ever have to implement a WAL, B-tree, LSM, or any other common data structure by hand going forward.
But, it's also just really freaking cool to learn how computer software and hardware works.
So why not keep learning?!
Today I'm getting into the linux network subsystem.
This article will be intentionally shallow. The network subsystem is complex so getting everything deep here would be extremenly difficult.
In this one my intention is to follow the path that a HTTP request follows since it hits the wire connected to your server, all the way up until your application recv() blocked call. And, how the reply is constructed and send back.
We will see things like how the network driver bridges the kernel and the network device in an efficient way. We will see how the packet goes through protocols, and at what level some hooks are executed.
Article will be available tomorrow!
Want these articles directly in your inbox? Subscribe to the newsletter: https://t.co/vpnOuQRpUO
#Linux #Networking
Every talk from GopherCon UK 2026 is now on YouTube.
Whether you missed a session, couldn't be in two tracks at once, or just want to rewatch a favourite, it's all there and free to watch.
Huge thanks to our speakers for these, and to everyone who joined us in London. 💙
👉 https://t.co/xc6Ns2tXc1
#golang #gopherconuk26
Most don't realize that nearly *every* database is built with a WAL.
Postgres. MySQL. SQLite. Mongo. Kafka. ClickHouse.
WALs are fundamental for fast, reliable, transactional data processing. Everyone should know how they work.
The @golang community has strong feelings about generics.
We just introduced generic methods in Go 1.27 and here's a deeper look at them. Also, our engineering team explains why we're NOT adding generic interface methods.
https://t.co/xFBCZVkFp9