Freya Bruhin

7.5K posts

Freya Bruhin

Freya Bruhin

@the_compiler

https://t.co/G7bqtxHX1u https://t.co/lkbmdrNO4I / likes #Python / does #qutebrowser / #pytest trainings: https://t.co/wo4PEhroZi

Winterthur, Switzerland Katılım Nisan 2009
1.2K Takip Edilen2.2K Takipçiler
Freya Bruhin
Freya Bruhin@the_compiler·
⏰ Only a week remaining with early-bird pricing for my annual three-day deep dive into #pytest with #Python Academy! 📅 March 4th — 6th 🌍 Leipzig (Germany) or remote 📕 Three days of pytest knowledge from one of its core maintainers. python-academy.com/courses/python…
English
0
1
4
807
Freya Bruhin
Freya Bruhin@the_compiler·
@RailService wie kommt denn diese Billet-Kombination zu Stande? Ich bin ja 5 Zonen (eben 110x2, 140, 141, 142) 1. Klasse gefahren, wie beim Billet selbst auch korrekt vermerkt?
Freya Bruhin tweet media
Deutsch
1
0
1
76
Freya Bruhin retweetledi
Rune Skovbo Johansen →🦋🐘
I wanted to do a side-by-side comparison of my procedural animation to hand-authored animations on some models I bought. This is so I can better study what I need to improve. When I got my comparison tool running for the first time, this is what I was greeted with! 😅 #ProcGen
English
172
1K
10K
556.9K
Freya Bruhin
Freya Bruhin@the_compiler·
@MacinCloud @Scaleway Only gripe with @Scaleway so far: I need to wait 24h until I can actually delete the instance again. I know Apple forces the rental period to be ≥ 24h, but it'd be so much easier if I had a "delete this in 24h" button immediately.
Freya Bruhin tweet media
English
1
0
3
227
Freya Bruhin
Freya Bruhin@the_compiler·
I've switched from @MacinCloud to @Scaleway for #qutebrowser macOS machines when wanting to e.g. reproduce a bug - 2.64€/24h with admin access, vs. having to pay $40 for 10 days access on a shared machine, which then expire after 60 days.
English
2
0
2
307
Freya Bruhin
Freya Bruhin@the_compiler·
@MacinCloud @Scaleway I used to use @MacStadium's OSS initiative for this, but I was one of the first beta testers for it in 2018, and the Late 2014 Mac Mini I got back then is only supported up to macOS Monterey. With that now being unsupported by Apple, unfortunately it's not very useful anymore.
English
0
0
0
194
Will McGugan
Will McGugan@willmcgugan·
What's the best beginner friendly resource to explain Python virtual environments? Something I can link to that covers how to create and use venvs without too much technical detail.
English
12
2
25
5.4K
Freya Bruhin
Freya Bruhin@the_compiler·
Is there any #Python formatter that can be told to leave line breaks alone, and only unify things like quotes, spacing after commas, etc.? Use-case is code for my slides, where line breaks are always deliberate (space on slide / highlights). Would be cool to get rest consistent.
English
1
0
2
242
Freya Bruhin
Freya Bruhin@the_compiler·
@pawjast @mathsppblog You mean -x. You might want to look at --stepwise/--sw instead, which saves you from also having to rerun all passing tests every time - see x.com/the_compiler/s….
Freya Bruhin@the_compiler

Spent an eternity on a single slide on #pytest selection arguments for failing tests. Hopefully worth it! Thanks to #LaTeX, all I need to draw one of those is a \drawex{1/good, 2/bad} etc. Allowed me to experiment with styles and colors easily.

English
2
0
2
33
Pawel Jastrzebski 🇵🇱 🇬🇧
@mathsppblog @the_compiler I can't remember the shorthand from the top of my head now but when I have lots of failing tests I make the pytest stop execution at the first failed test. Then I go over the traceback, fix the code and tackle those tests one by one.
English
1
0
1
99
Rodrigo 🐍🚀
Rodrigo 🐍🚀@mathsppblog·
Use `--last-failed` with pytest to run only the tests that failed on the last test run. Useful to iterate quickly when trying to fix a bug. Hats off to @the_compiler for teaching me this!
Rodrigo 🐍🚀 tweet media
English
4
9
68
8.5K
Freya Bruhin
Freya Bruhin@the_compiler·
Spent an eternity on a single slide on #pytest selection arguments for failing tests. Hopefully worth it! Thanks to #LaTeX, all I need to draw one of those is a \drawex{1/good, 2/bad} etc. Allowed me to experiment with styles and colors easily.
Freya Bruhin tweet media
English
2
4
39
6.5K
Freya Bruhin
Freya Bruhin@the_compiler·
I'm happy to announce that I'll be coffee break sponsor at the Swiss Python Summit (@pythonsummit)! ☕️ I designed a flyer for my #pytest trainings, it'll be shown next to the coffee machines. Was nice to work on a LaTeX doc without having to wait for 375 slides to be rebuilt.😅
Freya Bruhin tweet media
English
0
1
8
339