diicell Profile Banner
diicell Profile
diicell

@0xdiicell

1,183
Followers
339
Following
1,090
Media
4,947
Statuses

low-level programming bizarre adventure, llm enthusiast

zig language reference
Joined November 2012
Don't wanna be here? Send us removal request.
@0xdiicell
diicell
22 days
this is my colleague’s wallpaper
Tweet media one
51
40
2K
@0xdiicell
diicell
2 months
me and bro after successfully installing CUDA drivers
21
101
1K
@0xdiicell
diicell
4 months
Tweet media one
8
18
879
@0xdiicell
diicell
2 months
@crypt0x_0 i just use .sort()
Tweet media one
8
7
778
@0xdiicell
diicell
3 months
>learning zig >building sqlite from scratch in zig >doing all that in nvim >"knocking on heaven's door" playing on repeat >having cracked frens here on X the everything app >reading 20th century boys >feeling most alive >life is good
Tweet media one
15
10
329
@0xdiicell
diicell
3 months
so this is how defer works in zig
Tweet media one
5
10
213
@0xdiicell
diicell
1 month
good stuff.
Tweet media one
2
9
214
@0xdiicell
diicell
8 months
Just dove into @stanfordnlp 's DSPy framework and decided to craft a little project to get the hang of it. Wrapped it in @FastAPI to experiment with how they'd mesh together. The coolest part? It's all local. I used @ollama for language and embedding models, plus @trychroma for
Tweet media one
5
24
201
@0xdiicell
diicell
8 months
Just leveled up my DSPy FastAPI wrapper! Now rocking a Streamlit frontend, all local & coded in pure Python. Complete setup, including @stanfordnlp 's DSPy, @FastAPI , @ollama , @trychroma , @ArizePhoenix , and now, @Streamlit for a slick UI. Dive in, explore, and let's push the
3
32
198
@0xdiicell
diicell
8 months
Excited to share new RAG Demo Application Template! code: Built with @FastAPI & @Gradio , powered by @stanfordnlp DSPy, and made fully local with @Ollama . It's an example for devs exploring DSPy, RAG, or creating AI-driven apps locally.
2
27
128
@0xdiicell
diicell
3 months
http server in zig is on today's menu
Tweet media one
3
6
115
@0xdiicell
diicell
3 months
switched to kitty terminal, lfg
Tweet media one
12
2
112
@0xdiicell
diicell
5 years
Tweet media one
2
12
106
@0xdiicell
diicell
9 months
@_Mira___Mira_ all those tips, saved kittens, stories from grandma…
Tweet media one
0
3
105
@0xdiicell
diicell
1 month
low-level programming bizarre adventure day 32 >bittorrent in zig was on today's menu. it can now parse the torrent file. God bless people like openmymind his posts about json parsing came in handy. >doom (2016) ost is the music of choice >lfg
Tweet media one
7
4
106
@0xdiicell
diicell
13 days
low-level programming bizarre adventure: embedded crusade day 37 >done some basic stuff on pico w like led blinking, connecting oled display >reading pico datasheet >embedded programming is cool >lfg
Tweet media one
11
3
103
@0xdiicell
diicell
3 months
low-level programming bizarre adventure day 6 >finished 65 ziglings exercises >started building http server in zig as codecrafters challenge learned about tcp/ip, how to bind to a port, receive simple get request and respond to it appropriately
Tweet media one
1
1
90
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 20 >done cooking codecrafters shell in zig challenge >enjoy the silence remains undefeated >LFG
Tweet media one
4
5
89
@0xdiicell
diicell
3 months
so this is how pointers work in zig stand arrow is like a pointer. it can point to different stands (data), change what it points to (reassignment), or point to nothing (null). when it pierces a stand, it's changing data through a pointer
Tweet media one
6
5
85
@0xdiicell
diicell
8 months
Pushed some updates to my DSPy FastAPI wrapper project: now with @ArizePhoenix for better observability. Refactored the code too, so it's cleaner than ever. code: Just missing a frontend to complete the setup. Anyone interested in teaming up on that?
Tweet media one
@0xdiicell
diicell
8 months
Just dove into @stanfordnlp 's DSPy framework and decided to craft a little project to get the hang of it. Wrapped it in @FastAPI to experiment with how they'd mesh together. The coolest part? It's all local. I used @ollama for language and embedding models, plus @trychroma for
Tweet media one
5
24
201
6
23
87
@0xdiicell
diicell
1 month
low-level programming bizarre adventure day 30 >sqlite in zig can now count rows in table. >learned about b-tree indexes, sqlite root page, cell representation. >doom ost is the music of choice today >life is good
Tweet media one
5
7
81
@0xdiicell
diicell
3 months
sqlite in zig created a DbInfo struct with a read function that extracts information from a database file. the function reads the page size from byte 16, verifies the page type at byte 100, and then reads the table count from bytes 103-104
Tweet media one
5
5
77
@0xdiicell
diicell
2 months
comptime in zig is like king crimson's abilities. it predicts code outcomes (epitaph) and skips runtime calculations (time erasure). comptime functions are resolved before execution, just like diavolo foreseeing and manipulating battles
Tweet media one
2
6
72
@0xdiicell
diicell
3 months
low-level programming bizarre adventure day 2 >finished 34 ziglings exercises (defer now is a jojo reference) >watching dude the builder zig master playlist >continuing learning zig by @karlseguin >"i can't stop the loneliness" playing in the background >life is good
Tweet media one
2
4
69
@0xdiicell
diicell
5 days
low-level programming bizarre adventure day 38 >sqlite in zig can now read data from multiple columns >basically adding more and more to the sql parser >japanese jazz is back on the menu >life feels good man
Tweet media one
6
2
76
@0xdiicell
diicell
2 months
what a blessed day 🪩
Tweet media one
5
0
71
@0xdiicell
diicell
3 months
low-level programming bizarre adventure day 4 >finished 51 ziglings exercises >`.?` is a JoJo referenced >read about zig's comptime >japanese jazz is still undefeated not much learning today, slow day. i need to lock in more
Tweet media one
3
2
63
@0xdiicell
diicell
3 months
low-level programming bizarre adventure day 1 >done 17 ziglings exercises >going through "learning zig" by @karlseguin >el huervo - rust playing in the background
Tweet media one
1
2
64
@0xdiicell
diicell
18 days
embedded programming arc in 2 weeks?
Tweet media one
12
2
64
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 11 >learned basics about cpu, ram. kernel/user mode. system calls. timeslices and their target latency and granularity >error handling is jojo referenced >reading terminal-doom dev's blog about zig >rock the casbah is today's music
Tweet media one
5
8
62
@0xdiicell
diicell
2 months
shell in zig type shit
Tweet media one
5
1
62
@0xdiicell
diicell
3 months
my most used websites these days are: >dingboard >rarepepes >panelsdesu >auralized and they all came from X the everything app
Tweet media one
3
1
59
@0xdiicell
diicell
1 month
babe wake up, new ziglings exercise just dropped
Tweet media one
3
2
60
@0xdiicell
diicell
2 months
oke, i made a repo called "ziglands" with all the jojo references i've done so far. in this repo, you'll find dotfiles and explanations. ziglands vol.1: phantom code 1. stairway to heaven't - defer 2. arrow through the heart - pointers 3. livin' on a prayer - optional
Tweet media one
2
4
56
@0xdiicell
diicell
3 months
low-level programming bizarre adventure day 3 >finished 44 ziglings exercises >pointers in zig are now a JoJo reference >watching dude the builder zig master yt playlist >japanese jazz playing on repeat >lfg
Tweet media one
2
2
52
@0xdiicell
diicell
2 months
>280mg of caffeine >japanese jazz >going through rust's "the book"
Tweet media one
6
3
55
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 12 >finished all current ziglings exercises >watched andrew kelley's talk on practical data oriented design (dod) >zig is great >japanese jazz is back on the menu
Tweet media one
2
2
50
@0xdiicell
diicell
2 months
kitty and zig just had a baby and it's DOOM in terminal. couldn't find the goat who made it here on X the everything app. but here da links: repo: his gh profile:
2
0
49
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 9 >learned about global, stack, heap memory >watching any additional memory-related videos >started doing zig exercises on exercism >listening to creedence clearwater revival >life is good
Tweet media one
4
2
49
@0xdiicell
diicell
3 months
i begin my zig arc. and i'll start by building a god-chosen db - sqlite in a god-chosen language - zig from scratch by going through @codecraftersio tutorials
Tweet media one
3
1
49
@0xdiicell
diicell
15 days
while i wait for arduino delivery got myself this bad boys, lfg!!!
Tweet media one
8
1
48
@0xdiicell
diicell
3 months
>code, build stuff >cold showers >coffee >physical exercises and you become unstoppable
Tweet media one
1
0
47
@0xdiicell
diicell
9 months
Tweet media one
1
3
45
@0xdiicell
diicell
2 months
so no async in zig?
Tweet media one
8
0
43
@0xdiicell
diicell
3 months
>learning zig by making JoJo references >convinced colleague at corpo to use nvim and learn zig also >surrounded by cracked frens on X the everything app >goated japanese jazz playing on repeat >naoki urasawa is a genius >feeling blessed and grateful >life is good
Tweet media one
1
1
43
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 13 >revised ziglings, to cement what i've done >learning about concurrency, threads, event loops >starting to do zig challenges on exercism >i really want to stay at your house playing on repeat
Tweet media one
1
2
43
@0xdiicell
diicell
9 months
Tweet media one
0
0
43
@0xdiicell
diicell
3 months
python needed pydantic for that
Tweet media one
2
2
42
@0xdiicell
diicell
22 days
@k_flowstate meme driven development
0
0
41
@0xdiicell
diicell
3 months
the .? operator in zig, like a stand arrow in JoJo, forcefully unwraps optional values: it's powerful when it works (giving a stand) but crashes the program if the value is null (arrow rejection)
Tweet media one
@0xdiicell
diicell
3 months
so the `.?` syntax in zig is essentially saying, "i'm certain this optional value is not null, so just give me the value. if i'm wrong, crash the program." right?
4
0
24
0
1
41
@0xdiicell
diicell
12 days
this is mad good. iot and embedded system simulator: esp32, stm32, arduino, raspberry pi pico, displays, sensors, motors and wifi simulation. thanks to @lelouchdaily
Tweet media one
4
0
41
@0xdiicell
diicell
2 months
do not procrastinate, just do things. they not as hard as you imagined them in your head. and if it’s hard, fuck it we ball
4
2
36
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 24-25 >finished 3 chapters of rust's "the book" >finished 15 rustlings (ziglings are so far better) >watching videos on embedded software development in rust >life is good
Tweet media one
3
2
36
@0xdiicell
diicell
2 months
@ludwigABAP this gotta be a dream for every dev. to make something people use, something that benefits people
3
0
37
@0xdiicell
diicell
9 months
Tweet media one
1
0
34
@0xdiicell
diicell
17 days
i think i found a gold mine for embedded engineering
Tweet media one
1
3
36
@0xdiicell
diicell
3 months
low-level programming bizarre adventure day 7 >going through zig builtins >watching zig master playlist by dude the builder on yt didn't code much, just reading & watching. i want to dive deep into memory stuff, is cs50 memory lecture a good start?
Tweet media one
Tweet media two
0
2
34
@0xdiicell
diicell
2 months
@EthanEvansVP one solution
Tweet media one
0
0
34
@0xdiicell
diicell
3 months
@Samyak1729 instead we gotta build, build, build
1
1
34
@0xdiicell
diicell
1 month
broooo, why???
Tweet media one
5
0
33
@0xdiicell
diicell
27 days
Tweet media one
5
0
33
@0xdiicell
diicell
2 months
I'M BACK FROM PRISON REALM
Tweet media one
6
2
32
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 26 >learned about dithering >building pixzel - image to pixel art converter in zig >added color palettes for pixel art didn't push updates to the repo yet, i think i'm on to something, need some more time to make it better. LFG
Tweet media one
1
1
29
@0xdiicell
diicell
7 months
Introducing Dynamite Dogs - built during @BurningHeroesFA 's hackathon to generate docs & posts from GitHub repos. Stack @llama_index , @ollama , @langfuse & @Gradio Claude 3 Haiku prompted by Opus for same quality at ~$0.01/request (40x cheaper). Code:
2
8
32
@0xdiicell
diicell
13 days
watching this rn
Tweet media one
3
1
31
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 18 >reading kent beck's tdd book >started doing codecrafters shell in zig challenge >got out of prison realm >jeanette porque te vas - is the music of choice >life is good, love you all
Tweet media one
1
1
30
@0xdiicell
diicell
2 months
done cooking http server in zig. lfg! good challenge. code is here:
Tweet media one
@0xdiicell
diicell
3 months
http server in zig is on today's menu
Tweet media one
3
6
115
5
3
29
@0xdiicell
diicell
1 month
za warudo acts like a labeled switch in zig. it jumps between time states (cases) using continue :za_warudo, mimicking dio's time control. each case represents a moment in the fight. we transition states until reaching 'end', where we break, ending the time stop ability
Tweet media one
2
3
31
@0xdiicell
diicell
2 months
built an image-to-pixel art converter in zig - pixzel. currently supports png input/output only. next steps: >customizable color palettes >improved color quantization and dithering
Tweet media one
Tweet media two
4
0
29
@0xdiicell
diicell
1 month
low-level programming bizarre adventure day 28 >added .tables functionality to sqlite from scratch in zig. ngl, it was hard but now i can list the table names. >kid cudi was my companion today >life with challenges -> good life.
Tweet media one
4
1
29
@0xdiicell
diicell
2 months
gf gave me this mug, more coffee incoming, lfg!!!
Tweet media one
9
0
29
@0xdiicell
diicell
2 months
std.process.child.init() in zig is like summoning a stand. it creates a new process (stand), executes external programs (stand abilities), and allows interaction. just as jotaro calls forth star platinum, our code summons a child process to perform tasks
Tweet media one
0
1
27
@0xdiicell
diicell
1 month
improvise. adapt. overcome
Tweet media one
4
2
28
@0xdiicell
diicell
3 years
@iamjosephyoung As Kazakh jigitt I can say that they not allowing people buy/sell bitcoin with bank accounts. They want to launch a crypto exchange lead by the government. And in order to enter this exchange u have to open an additional bank account from approved banks
2
1
26
@0xdiicell
diicell
2 months
oh no… not my man @ludwigABAP being community noted
Tweet media one
4
1
28
@0xdiicell
diicell
2 months
it always seems impossible until it's done
Tweet media one
3
1
27
@0xdiicell
diicell
1 month
great lads
Tweet media one
10
0
27
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 8 >finished 75 ziglings exercises (we're getting there) >comptime is JoJo referenced >http server in zig can now parse the request path and respond with a body >still gathering knowledge on memory >japanese jazz remains undefeated
Tweet media one
1
1
27
@0xdiicell
diicell
2 months
zig's memory allocators are like the speedwagon foundation's resources. the general purpose allocator (gpa) is their long-term support, flexible but needs manual cleanup. the arena allocator is for missions, freeing everything at once. the fixed buffer allocator is for quick,
Tweet media one
1
3
26
@0xdiicell
diicell
1 month
hr interview is done. tech interview next monday. LFG
8
0
25
@0xdiicell
diicell
2 months
simple as that
Tweet media one
3
0
26
@0xdiicell
diicell
2 months
1001 frens!!! i’m forever grateful. love you all my cracked frens!!!
Tweet media one
5
0
26
@0xdiicell
diicell
2 months
done some refactoring on http server in zig. added a little structure, this way it is easier to handle new endpoints and logic
Tweet media one
2
1
25
@0xdiicell
diicell
11 days
new balatro joker
Tweet media one
1
0
25
@0xdiicell
diicell
3 months
so the `.?` syntax in zig is essentially saying, "i'm certain this optional value is not null, so just give me the value. if i'm wrong, crash the program." right?
4
0
24
@0xdiicell
diicell
2 months
blessed start of the day 🪩
Tweet media one
3
0
25
@0xdiicell
diicell
4 months
@yacineMTB hell yeah 🦅
Tweet media one
0
0
24
@0xdiicell
diicell
1 month
Tweet media one
5
3
24
@0xdiicell
diicell
4 months
gm frens
Tweet media one
2
1
24
@0xdiicell
diicell
2 months
this channel is mad good
Tweet media one
3
1
23
@0xdiicell
diicell
3 months
Tweet media one
1
0
22
@0xdiicell
diicell
1 month
embrace the struggle
Tweet media one
2
1
22
@0xdiicell
diicell
5 days
oke, i made an led blink
4
0
25
@0xdiicell
diicell
2 months
hehe, nice
Tweet media one
0
1
23
@0xdiicell
diicell
1 month
low-level programming bizarre adventure day 31 >sqlite in zig challenge was on today's menu. now it can read data from a single column. >hotline miami ost is the music of choice >lfg
Tweet media one
3
1
22
@0xdiicell
diicell
2 months
pixzel now supports color palettes 🎨 here's the list of predefined palettes: 1. retro 2. grayscale 3. muted 4. one dark 5. tokyo night 6. gruvbox 7. nord 8. catppuccin 9. dracula 10. solarized 11. github dark 12. monochrome 13. monokai you can also use your own custom palette
Tweet media one
Tweet media two
Tweet media three
Tweet media four
1
3
22
@0xdiicell
diicell
2 months
low-level programming bizarre adventure day 19 >still reading kent beck's tdd book >done 6/12 stages on codecrafters. shell in zig can now do exit, echo, type (shit) >enjoy the silence music of choice >life is good
Tweet media one
1
1
22
@0xdiicell
diicell
11 days
a blog post about how uber migrated their build system to support arm64 architecture using zig as a cross-compiler, which simplified their toolchain management by requiring only one toolchain per host platform instead of separate toolchains for each host-target combination
Tweet media one
3
2
22
@0xdiicell
diicell
3 months
what a blessed day 🪩
Tweet media one
1
0
20