λlain.bit (@lainbit) header
λlain.bit (@lainbit) profile picture

trying to be a christian + study notes + v8 + osdev + linux internals + sharing my several random thoughts + i'm practicing english + i hate web views

Joined April 2022
Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)Photo by λlain.bit (@lainbit)
λlain.bit retweeted
O cara criou um sistema operacional que constrói a si próprio em tempo real. Fez tudo em linguagem assembler O OS carrega um modelo Q8_0 MiniCPM5-2B que vai interceptando chamadas que não existem e gera o código de máquina que falta em tempo real
I deleted Linux AND every app on the OS. My 113 KB pure x86-64 assembly OS boots with 0 GB of disk, runs a 2.5B LLM on bare-metal CPU, writes Flappy Bird in raw x86-64 assembly, assembles it at runtime, and launches it live when you prompt "flappy bird". No Linux, no Windows, no C, no Rust, no gcc, and no preinstalled apps. The entire Multiboot kernel (zero-app-os.elf) is 115,160 bytes across 19,138 lines of handwritten NASM. It boots straight into 64-bit Long Mode, wakes every CPU core over APIC, maps a 2.50 GiB Q8_0 MiniCPM5-2B model directly over NVDIMM, streams x86-64 assembly into a built-in Ring-0 micro-assembler, and runs the app in a hardware-isolated Ring-3 W^X sandbox. When a generated app hits a hardware PF page fault or UD invalid opcode, Ring 0 traps the CPU exception, feeds the exact faulting line and CR2 address back to the LLM, and applies a 10 to 20 token surgical PATCH in ~0.3s. Head-to-head numbers on bare-metal CPU (Q8_0, 0% GPU): - Kernel binary: 115,160 bytes (37.6% smaller than the 181 KB C+ASM build, 0 gcc calls) - Pure NASM vs GCC -O3 (20T EPYC 7642): 277.6 vs 248.7 tok/s prefill (+11.6%) and 37.6 vs 34.3 tok/s decode (+9.6%), byte-exact with C - Bare-metal Prefix KV-Cache (LCP): 2,354-token prefill drops from 13.3s to 93 ms (142.8x faster) - Diskless 0 GB Proxmox VM (2014 Intel Xeon E5-2670 v3, 16 vCPUs): boots straight out of RAM and compiles a playable 20-color Flappy Bird (1,595 tokens, 230 instructions, 1,074 bytes of machine code) Tetris, Arkanoid, Ring-0 PF self-healing RL, and the 4x 3090 RL training charts are in the thread below. The model and repo links are in the last reply.
2
2
2
36
λlain.bit retweeted
Brazilian Software Engineer? You don't need to sound like a native speaker to be an excellent communicator in English. Focus on clarity, confidence and expressing your ideas effectively. Remember, communication is about connection, not perfection. Do you agree?
14
5
3
116
2,529
λlain.bit retweeted
Pra mim ta mais assim
trilha sonora desse mês até chegar as festas de fim de ano
21
1,913
83
6,559
77,386
a vingança nunca eh plena
acho essa cena interessantíssima porque você consegue ver com muita clareza que o Sasuke sente um vazio IMEDIATO após a morte do Itachi ele não tinha mais nenhum objetivo depois desse, além disso, viu que esse “feito” não anulou a sua tristeza em absolutamente nada
30
λlain.bit retweeted
acho essa cena interessantíssima porque você consegue ver com muita clareza que o Sasuke sente um vazio IMEDIATO após a morte do Itachi ele não tinha mais nenhum objetivo depois desse, além disso, viu que esse “feito” não anulou a sua tristeza em absolutamente nada
20
2,864
111
19,826
181,831
λlain.bit retweeted
27
3,120
33
9,012
40,635
λlain.bit retweeted
Announcing Lynx: a model of the Erlang VM in Lean, plus a compiler that translates Erlang/Elixir to Lean, so you can formally verify your existing Erlang/Elixir programs: dashbit.co/blog/formally-ver… I already found dozens of bug with this, with more to share soon!
23
118
17
797
32,133
λlain.bit retweeted
"save meeeeee" kkkkkkkk
9
46
484
26,542
λlain.bit retweeted
Replying to @stherzada
Entendam, LARAVEL é uma filosofia de estética de código. Não uma linguagem!! E, é uma das melhores filosofias que já vi. Estado da arte. Tornou PHP uma linguagem séria Entreprise.
1
24
876
Why do we fall? So we can learn to pick ourselves up. Batman Begin
3,048
155,802
8,818
648,033
38,282,563
I'm looking for a job in security research, security engineering, threat intelligence, Linux/kernel development, or related areas. I'm available immediately for relocation or remote positions. You can find more about me on my website, where my CV is also available: blog.andersonc0d3.io/about/ I'd appreciate it if you could share this post. Thank you!
3
83
181
9,889
λlain.bit retweeted
Rezem por sua alma e entes queridos, por favor.
136
209
16
4,834
192,199
Ship
1
2
1
13
737
λlain.bit retweeted
Trabalhador do aeroporto de Guarulhos identifica duas malas com cocaína na esteira, retira e entrega à PF. É EXECUTADO COM 10 TIROS por ter feito o correto. Sabe quando outro funcionário de Guarulhos vai ter coragem de fazer a coisa certa de novo? NUNCA MAIS! Parabéns aos eleitores do Lula que votaram para o PCC não ser classificado como organização terrorista.
90
703
31
2,573
74,889
λlain.bit retweeted
12
78
13
1,797
32,461
λlain.bit retweeted
I recommend this! I put a lot of work into these docs, and there are tons of hidden gems in Laravel Rust for you to discover. Even with AI, knowing what is available to you in the framework will be a massive help.
Guess I'll be reading the Laravel (Rust) docs from start to finish in the coming days 🧠
12
10
3
294
12,470
λlain.bit retweeted
Michael Caine considerava Tubarão 4 um dos piores filmes de sua carreira, mas nunca se arrependeu de ter participado dele. Certa vez, ao ouvir alguém dizer que o filme era horrível, respondeu: "Eu também ouvi dizer isso. Mas nunca assisti ao filme. Em compensação, vi a casa que ele comprou para minha mãe, e ela é maravilhosa."
5
23
1,319
λlain.bit retweeted
Laravel Rust is here. Everything you love about Laravel. Everything you love about Rust. Routing, models, queues, and auth. All designed to work together, compiled into one binary. Oh, and it’s really, really fast: 18x the throughput of Laravel PHP.
364
1,588
1,049
9,314
1,128,601