Advertisement · 728 × 90

Posts by Paulo

I opened bluesky, wrote this post and published it before it loaded

1 month ago 0 0 0 0

why is GitHub so slow

1 month ago 0 0 1 0
Preview
Announcing Rust 1.93.0 | Rust Blog Empowering everyone to build reliable and efficient software.

Rust 1.93.0 has been released! 🌈 🦀✨

This release includes a new musl version for the *-linux-musl targets, adds support for #​[cfg] inside asm!(), and adds [T]::as_array, VecDeque::{pop_front_if, pop_back_if}, Vec/String::into_raw_parts, fmt::form_fn, and more! ✨

blog.rust-lang.org/2026/01/22/R...

3 months ago 149 32 2 4

just discovered `set -x` which activates debug mode and prints the expanded command before executing, that way enviro variables and aliases are unwrap.

3 months ago 0 0 0 0

i really liked this talk

3 months ago 0 0 0 0
How to stick with your projects, even when they're janky - Wilkerson
How to stick with your projects, even when they're janky - Wilkerson How can I stick with my project? Are rewrites bad? How do I get the community involved? What are some development practices which can make life saner in a lo...

How to stick with your projects, even when they're janky https://lobste.rs/s/h5e24r #video #practices #compilers #clojure

3 months ago 1 1 0 1

getting everything to work took me more time than I anticipated and had never found myself in a situation of losing internet connection in the host because of docker

3 months ago 0 0 0 0

everything tied up:

sudo modprobe br_netfilter
talosctl cluster create docker --subnet 10.50.0.0/16

while at it I also changed the default cidr of the docker bridge network to something else:

/etc/docker/daemon.json
{ “bip“: “10.10.0.1/16”}

3 months ago 0 0 1 0

i had another network interface with the 10.5.0.4/24 range in the host already.

second issue was a context deadline after everything was seemingly ready, with the final log entry being: machine is ready. i had to enable the br_netfilter module in the kernel.

3 months ago 0 0 1 0

i had some crazy networking issues while trying to run talos linux using docker on my local machine.

the first one was loss of internet connection on the host a few moments after the cluster creation process starts.

by changing the subnet to a different cidr i was able to overcome the issue

3 months ago 0 0 1 0
Advertisement
Preview
Talos Linux - The Kubernetes Operating System Talos Linux is a secure, immutable, and minimal operating system for Kubernetes. API-managed, declarative configuration, and fast deployments.

this year the goal is to play with technology, first one i’m trying is Talos, which is a Kubernetes OS. so far i‘m very impressed.

www.talos.dev

3 months ago 1 0 0 0
Preview
which programming resource changed your career? 0 comments

which programming resource changed your career? https://lobste.rs/s/eulydi #programming

3 months ago 0 1 0 0
Preview
From the rust community on Reddit Explore this post and more from the rust community

the kids, they know how to name libraries.

www.reddit.com/r/rust/comme...

3 months ago 1186 319 26 24

in this case it really doesn’t add much value, but i find it handy most of the time.

also, i believe newcomer like me find value in them as we reason about why our programs are failing.

--minimal would be neat

3 months ago 0 0 0 0

my goal this year is to finish what I start

3 months ago 1 0 0 0

rust generics are very powerful:

trait Mystic<T> {
fn mystify(_: T);
}

impl<T, U> Mystify<T> for U {
fn mystify(v: &T) {
// details
}
}

and have mystify(T) available in all your types and the ones from the std lib and to also be able to pass any type to the function is insane.

3 months ago 1 0 0 0

Happy new year everyone

3 months ago 2 0 0 0

thanks for the suggestion, as i’m still learning it i tend not to use lsps to get used to the language.

would this get caught by clippy?

3 months ago 0 0 0 0
Advertisement

oh, this is interesting. this is due to a Vec being dereferenced to a &[T]?

rust is amazing

3 months ago 1 0 1 0

what i meant is this is what it feels like while declaring the function.

while this only happens when the function is being called

3 months ago 0 0 0 0
Bret Victor - Inventing on Principle
Bret Victor - Inventing on Principle YouTube video by Rui Oliveira

this talk is amazing and very inspiring
www.youtube.com/watch?v=PUv6...

3 months ago 0 0 0 0
References are not pointers Forking off from Rust References - Few points - Request for comments - #3 by kornel

i have to change my thinking from getting a reference to X, to borrowing X. feels dumb to be saying this months after starting to write rust, but it is so tricky.

my function is most definitely getting a pointer, but the semantics are different.

users.rust-lang.org/t/references...

3 months ago 1 0 0 0

me coming from golang trying to write rust:
fn bs(n: *Vec<i32>)

the compiler screams at me because i’m an heretic.

it still feels weird declaring a function as if i’m getting a reference for an already existing value:

fn bs(n: &Vec<i32>)

3 months ago 0 0 5 0

Just sent it on your DM. Thanks

3 months ago 0 0 0 0
Lobsters

Hi @mycroft.mkz.me, can you invite on lobste.rs? I have wanted to be a user for a long time but i don’t have any relationship with anyone that has a lobsters account.

3 months ago 1 0 1 0
Post image

the fact that you can do stuff like this in Rust is incredible.

4 months ago 0 0 0 0

I bet you also thought it was a negative thing from the title right?

If the goal was for us to click, they surely nailed it

4 months ago 0 0 0 0

2 weeks ago I had the opportunity of participating in my first interview as an interviewer and I had watched this interview a few days prior.

I have to say that using this strategy worked well. We could easily identify people who said they did something over those that actually did.

5 months ago 0 0 0 0
Advertisement
Preview
What is SNI? How TLS server name indication works SNI, or Server Name Indication, is an extension for the TLS protocol to indicate a hostname in the TLS handshake. Learn more about the TLS SNI extension.

SNI is a genius idea. My mind was struggling to answer how can we do routing based on hostnames if everything is supposedly encrypted in TLS communication.

Turns out, some people thought of a solution a long time ago. Just beautiful.
www.cloudflare.com/learning/ssl...

6 months ago 1 0 0 0

It is funny to me that a 300 page book doesn't seem so big as it used to be the case for me in the past. After reading a few thousand plus books, I feel like I'm about to read a 30 page essay when I see 200/300 pages.

6 months ago 1 0 0 0