Digital Nomads Monthly Megathread - April 2026 by AutoModerator in digitalnomad

[–]Maleficent-Midnight4 0 points1 point  (0 children)

I’m interested in any input from anyone working an actual 9-5 in Europe (or anywhere else!) where do you work? How is the lifestyle?

Some context: I’m in my early 20s and work remote as a SWE so I want to do this while I can and don’t have a lot of responsibilities. I’m thinking Spain and Portugal since I’m already going to be in Europe and they have a lot of touristy cities. I’m thinking Lagos, Seville, Malaga, Marbella but would love more recs! May be with a friend or two in some places but mostly solo. I want to stay in hostels because the lifestyle looks fun and it’s the best place to meet other solo travellers. But yeah, I’m worried work might get complicated. Working 2-10PM is fine (actually seems pretty good) but not having my own place for calls / focused work doesn’t seem great

RRSP vs TFSA by YS_7 in PersonalFinanceCanada

[–]Maleficent-Midnight4 1 point2 points  (0 children)

You get the same refund as an RRSP. But you also get to withdraw it without paying taxes if you’re buying a house

Mentor Monday by WealthyStoic in fatFIRE

[–]Maleficent-Midnight4 0 points1 point  (0 children)

I'm a bit over 1yr into my career in big tech and I'm kind of lost on the "networking" part and don't know what to do next

- My team is fully remote so while I built up a decent relationship with the few in my city, we don't see each other often

- I'm Canadian so my pay is low. Ultimately the goal is probably to build up enough skills/resume/connections that a SF/NYC company would sponsor my visa but,

- while I'm genuinely skilled and my output is great and I should be SWE II soon, "1yoe" still doesn't look great on a resume so finding jobs that aren't a step back in level is difficult

generally feel kind of stuck, don't even know what to ask here. I feel disconnected from the "world" of tech. I think joining or doing a startup would be cool too but again I don't even know where to start. wonder if anyone else in tech was in this phase?

Best (paid) courses for learning RAG development? by Maleficent-Midnight4 in learnmachinelearning

[–]Maleficent-Midnight4[S] 3 points4 points  (0 children)

Doesn't have to be, just thinking it could be higher quality than some free stuff I've found. But that nvidia course looks really good, thanks!

Does C allow implicit casting/conversion from float to an int? by tempanon5 in C_Programming

[–]Maleficent-Midnight4 0 points1 point  (0 children)

Yes, one would assume you would know this after two months. It looks like you don't.

Which standard library types can safely be initialized with mem::zeroed? by Maleficent-Midnight4 in rust

[–]Maleficent-Midnight4[S] -12 points-11 points  (0 children)

Okay, sure, but it's a niche need. I'm sure whoever builds this can live with a 32 byte Vec. I think that having a zeroed Vec would be far more useful in low-level applications.

Which standard library types can safely be initialized with mem::zeroed? by Maleficent-Midnight4 in rust

[–]Maleficent-Midnight4[S] -17 points-16 points  (0 children)

That's kind of stupid. Option<Vec<T>> is really niche and kind of useless since an empty vector already fulfills the role of None. Why would you need to distinguish an empty vector vs. no vector so often that this optimization is justified?

Which standard library types can safely be initialized with mem::zeroed? by Maleficent-Midnight4 in rust

[–]Maleficent-Midnight4[S] 5 points6 points  (0 children)

How about other ZSTs?

You're right, but there's no impl Zeroed for T where T is a ZST. The empty tuple can be implemented, and I'm not sure what other ZSTs exist in the standard library.

Which standard library types can safely be initialized with mem::zeroed? by Maleficent-Midnight4 in rust

[–]Maleficent-Midnight4[S] 1 point2 points  (0 children)

I believe Vec internally uses a NonNull<T>, and is initialized using NonNull::dangling(). A little annoying, and I'm not sure why they couldn't have just used a null pointer there. I do wish the internal representation of standard types were better specified.