Every time I go to conferences, especially #fosdem, I feel physically exhausted but mentally boosted.
=> More informations about this toot | View the thread
It was really nice to meet the Hachyderm volunteers in person at #fosdem. The BoF concept was perfect.
=> More informations about this toot | View the thread
The perfect solution against cold temperature is hot fries with hot sauce #fosdem
=> More informations about this toot | View the thread
I'm also crying because I've missed one of the sessions I wanted to see. Fortunately, the event is just starting. I've plenty of time to see other awesome sessions #fosdem
=> View attached media | View attached media
=> More informations about this toot | View the thread
It's so cold I'm crying #fosdem
=> More informations about this toot | View the thread
It already began yesterday for me as I went to the #fosdem #pgday and met awesome people, as always. The fun continues!
=> More informations about this toot | View the thread
Let's the #FOSDEM begin
=> More informations about this toot | View the thread
What's the reason this time? #protonmail
=> More informations about this toot | View the thread
I took down production for 2 hours today. And you, how is your day?
=> More informations about this toot | View the thread
I don't know what keystrokes I use on firefox but, from time to time, my long hard manually typed URL is being replaced by the preferences tab (about:preferences#search). This is very annoying because I need to retype something I've already typed.
=> More informations about this toot | View the thread
Now that the fun part of my "side project" at work is finished, I can retry to set up a pixelfed instance at home. But the weekend is almost over and my todo list is already full 😅
=> More informations about this toot | View the thread
Databases and SLOs: How to apply service level objectives to your databases with synthetic monitoring https://grafana.com/blog/2025/01/24/databases-and-slos-how-to-apply-service-level-objectives-to-your-databases-with-synthetic-monitoring/
=> More informations about this toot | View the thread
I really hope that Instagram to Pixelfed migration will bring more tattoo artists to the fediverse because I'm sick of opening this goddamn app
=> More informations about this toot | View the thread
I'm having fun with Go channels! That fsnotify module where file changes are detected and configuration is refreshed instantaneously. And signal notifications to handle graceful shutdowns. This is amazing.
=> More informations about this toot | View the thread
The solution looks like this:
for {
select {
case <-ctx.Done():
// cancelation work
return
default:
run()
time.Sleep(...) // remove WithContext
}
}
=> More informations about this toot | View the thread
That was it!
=> More informations about this toot | View the thread
I may know where the CPU cycles are spent. There's a select statement waiting for a context to be canceled and a for loop with a sleep function taking a context too. The sleep is skipped when the context is closed but the infinite loop doesn't end. I should move the for loop outside of the select and use the regular sleep function. Let's see that tomorrow 💡
=> More informations about this toot | View the thread
My current Go program has a bug when I cancel a context, the CPU goes wild without stopping what's supposed to be stopped. Simple context/select statements are easy but they could become a nightmare in real world applications. Last time my CPU spiked, it was caused by an infinite loop without a sleep statement.
=> More informations about this toot | View the thread
I've finally understood how to use Go contexts and select statements 💪🏻
=> More informations about this toot | View the thread
Administrer Mastodon.design : retours d’expérience et réflexions pour un Fediverse soutenable - Timothée Goguely
https://peertube.designersethiques.org/w/eTiQK154EKLNJquGWYwKYn
=> More informations about this toot | View the thread
=> This profile with reblog | Go to jriou@hachyderm.io account This content has been proxied by September (3851b).Proxy Information
text/gemini