Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Baptiste Mispelon

@bmispelon@mastodon.social
mastodon 4.8.0-nightly.2026-10-06
  • Open on mastodon.social

💩🔥💻

Django server boy

#Django #Python

385 Followers
237 Following
38 Posts
Joined October 13, 2017
Blog:
https://blog.bmispelon.rocks/
Pronouns:
🇬🇧 He/him 🇫🇷 Il 🇳🇴 Han
GitHub:
https://github.com/bmispelon/
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 2mo ago

@webology@mastodon.social you'd be so proud of @alexgmin@mastodon.social today. First evening in the land of pierogi for Europython and he took us to a taco restaurant:

9
1
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 2 update 6.3

Breaking news: I found the secret #python underscore factory!

mastodon.social
29
5
10
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

Finally landed in the US, on my way to #PyconUS in a few days!
Can't wait to meet all my python friends old and new

mastodon.social
19
0
3
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#BaptisteCannotDriveNorthAnymore

mastodon.social
15
5
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago

#baptisteDrivesNorth final update of day 1:

Total distance traveled: 737 km
Total coffees consumed: 3.8
Total energy used: 235.2 kWh
Total cost: 1126 NOK (roughly 100 EUR/120 USD), not including snacks (or tolls)

I found a secluded parking spot right by the edge of the fjord. There's a "no camping" sign but when I arrived there were 3 RVs with Norwegian registration plates, and their occupants chilling around a campfire. I think I'll be ok 😅

mastodon.social
13
4
1
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago
Replying to
That mountain pass crossing was absolutely breathtaking. I stopped 3-4 times but there were so many more scenic picnic spots. I got super lucky with the weather too: barely a cloud in sight.
12
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago

#baptisteDrivesNorth update 4?

Crossing my first mountain pass and it's astonishing how quickly the landscape changed to winter. 360° views of snow covered mountains 😍

Current altitude: 997 m above sea level
Outside temperature: 3°C

mastodon.social
12
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 4mo ago

@adamchainz@fosstodon.org congrats on the new book launch! 🙃

7
1
1
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 2 update 7 maybe?

Made it to the Arctic circle officially. Bad news: I forgot to bring a sticker for the sticker board 😭
I guess I'll have to come back better prepared.

(Also if anyone was wondering, yes there is an ATM here)

mastodon.social
10
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth Day 3, update 3:

I've made it to Tromsø, my (tentative) final destination.

Distance traveled today: 316km / 200 miles
Energy used: 66,834 kWh
Energy cost: 264.14 NOK / 20 EUR / 23 USD
Coffees: 2

What a drive that was. Time for my first shower in 3 days (luckily I was alone in the car), and a nap.

mastodon.social
9
1
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago

#BaptisteDrivesNorth day 2 update:

The night was windy, but not the worst I've had. Also the winds helps with the smell of manure that's been sprayed on the surrounding fields.

I had the car ventilation (no heating) all night, and it only used 2% of the battery which was nice.

Local time: almost 9am
Outside temperature: 8°C
Inside temperature: 9°C

mastodon.social

Mastodon

9
3
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 4mo ago

Welcome to the fediverse @jacobtylerwalls@mastodon.social #django #pyconus

mastodon.social

Mastodon

6
0
1
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

I've you've been following #BaptisteDrivesNorth, you might know that I've been in Tromsø for the past three days.
I've had a lovely time visiting the city, going on hikes, and meeting with friends old and new.
But it's time to get on the road again.
You might think this is the start of #BaptisteDrivesSouth, no! Apparently there's still a bit more north to go, so my new plan is to drive to the northernmost point of continental Europe: the legendary Nordkapp.

mastodon.social

Mastodon

7
2
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 3 (of 3 I hope)

Local time: 9am
Current temperature: 6°C
Altitude: 36m above sea level
Coffees consumed: 1

Had a great night: no wind and very quiet. Woke up to a gorgeous snowy mountain landscape.
I'm now waiting in line for the ferry which has been fully automated: cameras read license plates and I'll be getting an invoice by email later on (this is also how tolls work all over Norway).

Another 5 ish hours of driving and I'll be in Tromsø.

mastodon.social
7
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 3, update 1:

Final charge before my destination, only 1 more hour to go.
The views are still as scenic as ever, I've probably filled up my camera rolls with about a hundred pictures of various combinations of mountains, fjords, and forests.
I made an unplanned charging stop when I saw a sign at a random gas station where they had electricity almost twice as cheap as usual (2.99 per kWh)

mastodon.social
5
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth final update day 2:

Local time: 11:45pm
Outside temperature: 4°C / 39°F
Current altitude: 104m
Total distance traveled today: 736km (about 450 us miles, or 74 Norwegian miles)
Total energy consumed: 98 kWh
Energy cost: 672 NOK (60 EUR / 70 USD)
Coffees consumed: 1.3

Tomorrow I'm getting on a ferry first thing, then once that's done I've only got about 4-5h of driving until my final destination. The end is in sight!

mastodon.social
5
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 2 update 2:

I've officially made it to northern Norway, which confusingly is not the most northern county in Norway (far from it actually)

mastodon.social
5
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

Fuck yeah 🇭🇺💚

4
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 2 update who knows:

Local time: 3:30pm
Outside temperature: 10°C
Altitude: 46 meters above sea levels
Coffees consumed: just 1 (I overdid it a bit yesterday, especially with the last coffee at 9pm)

I've now entered reindeer country, though haven't seen any actual live reindeers.

The views remain as scenic as ever.

mastodon.social
4
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago

#baptisteDrivesNorth day 2 update 3:

A quick charging session (10min or so) just so I've got enough juice (and some buffer) to get me to my next destination: the city of Mo i Rana (where there is a fast charger that's cheaper).

Absolutely scenic landscape the whole way, what a treat. The fast charger is at a random camping at the foot of the mountain.

mastodon.social
4
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 4mo ago

🗺️ May 25, 2026
5/5 countries in 10/13 guesses
🔵🟢🟡🟡🟢
#Whereabouts
https://whereabouts.earth/daily/

mastodon.social
2
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 4mo ago
Replying to
@CodenameTim@mastodon.social still alive, thanks for asking
2
1
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 4mo ago

@judy2k@chaos.social I found a soda fountain for you

2
1
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 7mo ago
Replying to
@mahryekuh checking for possible coc violations or accessibility issues would be one reason
4
6
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago
Replying to
@markush yeah same, I couldn't make it happen this year, but I do enjoy seeing the pictures of familiar faces on my tl
2
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 7mo ago
Replying to

@mathsppblog Wouldn't ' '.join(original_str.split()) work?

3
3
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 7mo ago
Replying to
@mahryekuh @jake ideally that should be mentioned already at the CfP phase. Also in the conferences I was involved with, it was more of an opt-in than a strict requirements (though heavily recommended)
3
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago
Replying to
@adamchainz Hyundai Ioniq 5. I bought it a few months ago (it's a used one from 2022) and I've been very happy with it so far
2
1
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 4mo ago

🗺️ 29 May 2026
5/5 countries in 9/13 guesses
🟡🟢🟢🟢🔵
https://whereabouts.earth/daily/
#Whereabouts

I feel like there were a few gimmes on this one 😅

Whereabouts Daily
Whereabouts

Whereabouts Daily

How many of today

1
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 8mo ago

Can someone explain this #Python import behavior?
I'm in a directory with 3 files:

a.py contains `A = 1; from b import *`
b.py contains `from a import *; A += 1`
c.py contains `from a import A; print(A)`

Can you guess and explain what happens when you run `python c.py`?

mastodon.social

Mastodon

2
10
4
1
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago
Replying to
@mgax I know, right? You're driving on a random road in the middle of nowhere then turn around a bend and all of a sudden you're faced with the most gorgeous vista. I did audibly let out a couple of expletives more than once 😅
1
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 5mo ago
Replying to
@CodenameTim it's an extension point to control if your object gets back on its feet when you throw it (classic cat vs. buttered toast)
1
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago
Replying to

@treyhunner Playing around with this, I found you can make a a fun function (a function if you will):

>>> 0xfor(123, "asdf", {})
15
1
0
0
1
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 7mo ago
Replying to
@mathsppblog @yngvem Indeed, if you want to only collapse spaces and not other kinds of whitespace, then I guess re.split is the way (the exact regexp is left as an exercise to the reader 🙃 )
1
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 7mo ago
Replying to
@mathsppblog Or embrace the multiple spaces and use HTML so you can let the browser handle that mess 😁
1
0
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago
Replying to
@CleoQc plutôt #CarCampingLife vu la taille du véhicule 😅
0
2
0
0
Open post
Baptiste Mispelon @bmispelon@mastodon.social
· 6mo ago

@treyhunner@mastodon.social In case you've missed this one: @SnoopJ@hachyderm.io #PythonOddity

hachyderm.io
0
2
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 08:31:55 UTC