Denis Nuțiu
banner
nuculabs.dev
Denis Nuțiu
@nuculabs.dev
I am Software Engineer from 🇷🇴. 👋
Free-software enthusiast 🐧
Hobby photographer 📷
Tech Blogger 👨🏻‍💻
DIY 🧰

🌐 nuculabs.dev
🐙 https://github.com/dnutiu | https://forge.nuculabs.dev
🐘 https://mastodon.social/@nuculabs

#rust #python #golang #linux #photography
I've added Mastodon powered comments to my blog. Thanks to a post by Carl Schwan

https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/
February 25, 2025 at 9:08 PM
Hosted my own CalDAV and CardDAV server with Sabre-Dav on fedora server. Added an ansible playbook for it.

https://forge.nuculabs.dev/dnutiu/ansible-playbooks/src/branch/master/sabre-dav

#selfhost #fedora #podman #docker
February 22, 2025 at 6:40 PM
Another day another playbook. This time I wrote a quick playbook for Prometheus Node exporter for Fedora & Fedora Server.

You can view it on my forge: https://forge.nuculabs.dev/dnutiu/ansible-playbooks/src/branch/master/node-exporter

#selfhost #metrics #observability #ansible
February 20, 2025 at 6:58 PM
I've installed FreshRSS and wrote a playbook for Fedora and Fedora server.

https://forge.nuculabs.dev/dnutiu/ansible-playbooks/src/branch/master/fresh-rss

#selfhost #freshrss #fedora
February 17, 2025 at 7:45 PM
I just love the fact that Forgejo has mermaid support:

#diagrams #git #forgejo
February 9, 2025 at 12:36 PM
I've removed the std dependency on my Chip8 emulator's core crate, also beaten breakout game for the first time.

The code is available on forgejo[1]

[1] - https://forge.nuculabs.dev/dnutiu/chip8-rust

#chip8 #rustlang
February 2, 2025 at 3:47 PM
After tinkering around with SELinux, I've managed to host my peertube server with podman, volumes on a samba share and proper CIL policies. I'll write a blog post. Essentially I've used audit2allow to find which policies I need to add to the .cil file.

And it's something like this:
January 25, 2025 at 6:36 PM
I managed to get PeerTube running by removing random network policies generated by udica for SELinux
January 24, 2025 at 9:29 PM
Found a nice article on getting started with SDL2 in Rust[1] and I've written a simple sdl2 display backend for my chip8 emulator. Going to remove the std dependency on the core someday

#rust #chip8
January 21, 2025 at 8:14 PM
If your website contains AI-Free content you can use this label:

Source: https://www.asomo.co/p/against-the-factory-farming-of-creativity
January 20, 2025 at 4:50 PM
Came back to the chip8 emulator project and refactored it to use workspaces. I have one library crate for the core and one binary crate for the Terminal UI program. I'd like to implement a binary crate that uses SDL as well, and remove the standard library dependency from the core crate.

#chip8
January 11, 2025 at 3:12 PM
I’ve finished setting up a self hosted Forgejo instance and migrated my projects from GitHub

#homelab #self-hosted #git
January 7, 2025 at 12:10 PM
Modified my Chip8 emulator's display rendering code and now it looks much better. I got inspired another emulation project written in Rust with ratatui. I thought I need to draw everything inside the canvas, didn't know I could draw individual blocks.

#chip8 #rust
January 5, 2025 at 8:38 AM
I like how this code turned out.

From and Into are conversion traits in Rust, used to convert between types. If you implement the From trait for a type, you get a free Into implementation because the standard library has a generic blanked implementation. 🦀

#rustlang #rust #programming #dev
January 4, 2025 at 2:27 PM
I'm almost done implementing the bot for Mastodon in Rust, alongside BlueSky. I haven't implemented the code for the client but the program compiles 🦀

#rustlang #bot #mastodon #development
January 4, 2025 at 2:13 PM
Some photos of a car's emblem in the Rain

#photography #car #no people #outdoors #sport #bmw
January 3, 2025 at 6:52 PM
🐱
January 2, 2025 at 11:00 AM
It was after Udemy's cut. I've published the course somewhere around this time in 2023
January 1, 2025 at 3:15 PM
The fog of war
January 1, 2025 at 11:59 AM
It seems to be working fine 😄
December 31, 2024 at 10:21 AM
Solved the latest bug with my bot. Didn't know why upload blob for an image wasn't working. I've debugged it with netcat -l.

Seems like I was sending b64 data to BlueSky and that was the reason the call didn't work. It returned 200 OK though.

Here's the code in Rust for the upload image method:
December 31, 2024 at 10:10 AM
Had a massive clog on my 3D printer, I’ll need a new heating unit. Disassembled the whole tool head and reassembled it but mixed some screws
December 28, 2024 at 4:38 PM
Implemented my BlueSky Bot's JWT token abstraction, had to decode the JWT manually since I'm not aware of any JWT crate for rust
December 28, 2024 at 3:18 PM
The code in Rust for reading from Redis Streams and de-serialize JSON data into a compatible type. Currently reading one by one and automatically acknowledging reads
December 28, 2024 at 8:20 AM
I'm building a BlueSky bot in #rustlang, made the decision to do it in Rust in order to learn the language and oh boy I have used async Rust via Tokio for the first time, the Redis client and Dockerized it.
December 25, 2024 at 6:27 PM