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

Yngve Mardal Moe 🐍🐢🪡

@yngvem@fosstodon.org
mastodon 4.7.3
  • Open on fosstodon.org
0 Followers
0 Following
4 Posts
Joined May 21, 2024
Open post
Yngve Mardal Moe 🐍🐢🪡 @yngvem@fosstodon.org
· 7mo ago
Replying to
@bmispelon @mathsppblog The problem is that str.split splits on any whitespace-like character, so it will also turn newline characters and nonbreaking spaces into regular spaces, even some control characters like \t. str.split(" ") will also not work since it will give you a list with empty strings...
2
2
0
0
Open post
Yngve Mardal Moe 🐍🐢🪡 @yngvem@fosstodon.org
· 6mo ago

TIL you can automatically pin pre-commit hooks to commit hash with `pre-commit autoupdate --freeze`. It changed the rev field in the sample config from

rev: 3.2.0

To

rev: {commit hash} # frozen: v6.0.0

0
0
0
0
Open post
Yngve Mardal Moe 🐍🐢🪡 @yngvem@fosstodon.org
· 10mo ago

I'm trying to understand the finer details of building #container images for my #Python applications. My preffered way of building applications now is with `COPY . /app` followed by `pip install /app`, and I just realised that I can use `RUN --mount=type=bind,source=src,target=/app pip install /app` instead. Are there good reasons to not do this?

#Docker #Podman #Packaging

0
4
0
0
Open post
Yngve Mardal Moe 🐍🐢🪡 @yngvem@fosstodon.org
· 27mo ago
Replying to
@blackpythondevs@mastodon.social I tried to send you an invite in a private message. I haven't really figured out this Mastodon thing yet, but hopefully it worked :)
0
0
1
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:45:58 UTC