Ionel C. Mărieș

2.1K posts

Ionel C. Mărieș

Ionel C. Mărieș

@ionelmc

Blogger and open-source enthusiast that loves Python.

Cluj-Napoca, România Katılım Aralık 2013
92 Takip Edilen409 Takipçiler
Freya Bruhin
Freya Bruhin@the_compiler·
Blast from the past: My #pytest training from 7 years ago (mostly inherited by @hpk42) vs. now. Currently working on another big "rewrite", trying to introduce one big case study example (a small RPN calculator) instead of isolated examples for most of the code/exercises.
Freya Bruhin tweet mediaFreya Bruhin tweet mediaFreya Bruhin tweet mediaFreya Bruhin tweet media
English
1
3
6
1.8K
courtesy the artist
courtesy the artist@fake_tissues·
@coveragepy this feels a bit more intuitive to me: missing or missed = should have run but didnt unexpected or surprise = shouldn't have run but did
English
1
0
1
0
Coverage.py
Coverage.py@coveragepy·
When running coverage, lines that should have run but didn't are called "unexecuted." What's a word for the opposite? Lines we said wouldn't run, but did: Sneaks? Surprises? Gremlins? Escapees? We need ideas!
#issuecomment-1331961839" target="_blank" rel="nofollow noopener">github.com/nedbat/coverag… (also need opinions about how to report...)
English
1
0
0
0
Hynek Schlawack
Hynek Schlawack@hynek·
hail mary, but did anyone get pytest-xdist work with coverage? with attrs’s cpu-intensive test suite it makes a huge difference, but I couldn’t get full coverage even after switching to pytest-cov: github.com/python-attrs/a…
English
4
1
0
0
Ionel C. Mărieș
Ionel C. Mărieș@ionelmc·
@webknjaz @hynek @ossronny Is there a particular reason you have concurrency = multiprocessing in there? I'll have to take a deeper look to understand what's going on anyway.
English
1
0
1
0
Ionel C. Mărieș
Ionel C. Mărieș@ionelmc·
@simonw Safer to build wheels first and then install those, eg: #L88-L90" target="_blank" rel="nofollow noopener">github.com/ionelmc/cookie… Weird stuff can still happen if you upgrade image (eg: Focal has openssl 1.1, Jammy has 3.0 - pretty sure wheels get carried over). Unclear how long cache will be persisted & busting it difficult.
English
0
0
0
0
Simon Willison
Simon Willison@simonw·
Anyone got a good recipe for sharing the pip cache across multiple Docker builds - ideally within GitHub Actions? I don't like how my builds download the packages from PyPI directly every time.
English
16
6
73
0
Ionel C. Mărieș
Ionel C. Mărieș@ionelmc·
Almost 10 years after asyncio was released, and almost 20 years after Twisted was released you still can't set a timeout on an nonblocking socket if you use ssl connections: github.com/pyca/pyopenssl…
English
0
0
0
0
Ionel C. Mărieș
Ionel C. Mărieș@ionelmc·
@TrueGameData Funny how everyone replies with their fav language/framework and not even one asks what exactly are you trying to solve, and what went wrong with the previous stack. It's like asking what's the best engine oil but nobody asks what kind of engine you have, or how you drive it.
English
0
0
4
0
𝗧𝗿𝘂𝗲𝗚𝗮𝗺𝗲𝗗𝗮𝘁𝗮
I am so torn on whether or not to use Python or JS for the backend in our new stack for the total rework of TGD Python is just so stupidly easy to do complex things sometimes that I feel like it may be worth it, but JS seems to fit in better Wish I knew more about the tradeoffs
English
26
1
54
0
Ronny
Ronny@ossronny·
Now that pyscript is for real, how would i actually go about running pytest against dom code in the browser
English
2
0
11
0
Olimpiu POP
Olimpiu POP@olimpiupop·
@ionelmc It ain't dead...it's a living dead 🧟🧟🧟🧟
English
1
0
0
0
Call of Duty
Call of Duty@CallofDuty·
RICOCHET Anti-Cheat's PC kernel-level driver is NOW LIVE in Vanguard 🛡 Check out the blog for all the latest on #TeamRICOCHET's efforts against cheating and hacking: bit.ly/VGRicochet
English
241
203
1.6K
0
A Wise Yoda Bot
A Wise Yoda Bot@yodaism·
@ionelmc A Jedi uses the Force for knowledge and defense, never for attack.
English
1
0
0
0
Ionel C. Mărieș
Ionel C. Mărieș@ionelmc·
@ossronny IMO tailored solutions that only use and do the necessary are always better than the bring-in-a-kitchen-plus-a-gym-for-only-a-chair-needed generics we see these days...
English
0
0
0
0
Ronny
Ronny@ossronny·
the more i work with tools surrounding #openapi, the more i wish it would finally be retired, its just painfully broken all over the place, be it the beyond messy quirks in the yaml/json "metaprogramming", be it the strangely to painfully broken opensource tools surrounding it
English
4
0
1
0
Ronny
Ronny@ossronny·
anyone aware of a #python library that can express simple conditions/#lambdas as #expressions sth like `it.name == "foo"` without the `lambda it:` needed in front.I'm aware that comprehensions would be a better solution, but i'm not there yet, one at a time
English
1
0
2
0
AndreiB
AndreiB@webtoure·
@ionelmc #but-what-i-don-t-want-to-run-nginx" target="_blank" rel="nofollow noopener">blog.ionelmc.ro/2022/03/14/how… it should probably be 'what if i don't [...]'
English
1
0
0
0
DropShotJohnny
DropShotJohnny@SeniorWarzone·
@ionelmc @Savage_2C Apex doesn't have a big cheating issue unless you're in high level ranked. Warzone has a cheating issue for everyone. Big difference.
English
1
0
1
0
Savage
Savage@Savage_2c·
New cheat or in game glitch? I believe / hope its an in game glitch that can be patched fast. #Warzone #CallofDuty
English
106
59
601
0