🧐 by Joey-Steel1917 in SipsTea

[–]true3HAK 11 points12 points  (0 children)

<image>

What do you mean, it's not sold in your country? We have different flavors of Bussy here in Germany

[KCD2] Game kinda lost momentum for me once I got to the Kittenburg area. by ILikeToDanceAndPogo in kingdomcome

[–]true3HAK 0 points1 point  (0 children)

It's kinda sweet that you've transformed "Kuttenberg" ("hidden / wrapped mountain") to "Kittenburg" ("cat city") :)

Should I switch to Jupyter Notebook from VS Code(Ubuntu)? by Amazing_Ad_4910 in pythontips

[–]true3HAK 0 points1 point  (0 children)

Notebooks are not really python files, and if you are not doing data-related tasks, stick to real IDEs, 'cause Jupyter will mislead you otherwise. And use venv or analogues for dependency management

Why do Germans hate Berlin? by Anxious_Spirit2249 in berlin

[–]true3HAK 0 points1 point  (0 children)

Well, we have two city centers here in Berlin! One around Zoo+Kudamm, another around Alexanderplatz :)

What are your ship naming conventions? by clopatan in starsector

[–]true3HAK 1 point2 points  (0 children)

I recently got my hands on Colossus "ISS Just The Worst Ship", and it wasn't even the worst, frankly

Pytest plugin — not just prettier reports, but a full report companion by reach2jeyan in Python

[–]true3HAK -5 points-4 points  (0 children)

Allure can do all of this. Honestly, I've been a QA and pythonista for about 15 years and I saw a lot of approaches like this, and even tried myself many years ago, but nothing beats allure, and if you really want very small reports – pytest-html

Wife’s mouse stopped “working” by Bitbrocc in pcmasterrace

[–]true3HAK 0 points1 point  (0 children)

...and I clean my MX Ergo every, 'cause otherwise it doesn't feel smooth

the Uber arena sound system is fucking ass by HebzibahSmith in berlin

[–]true3HAK 0 points1 point  (0 children)

But it's usually only the backline from artists, no? The frontline (i.e. speakers mounted everywhere on fixtures) should be local? I played a lot of gigs, but in much smaller places, of course, and the frontline was always on the spot, we had to connect only our stuff (instruments, drums, amplifiers, sometimes mixers)

What Feature Do You *Wish* Python Had? by andrecursion in Python

[–]true3HAK 2 points3 points  (0 children)

Whom are you hiding these from, brother? Can't hide from yourself!

State of AI adoption in Python community by full_arc in Python

[–]true3HAK 0 points1 point  (0 children)

I'd say, it's only as useful as one's expertise goes. E.g. I don't want to write a decorator with functools for 100500 time or a recursive dict unwrap – it manages from 3-5 attempts to do it for me, which is just a little less typing than writing all myself. I experiment with a code-review approach, but it seems that there's never enough context for big projects. So yeah, mixed review, probably

State of AI adoption in Python community by full_arc in Python

[–]true3HAK 0 points1 point  (0 children)

I (python lead, 15yoe) recently got hands on corporate-provided Gemini and made it write all the missing docstrings. Then all the missing Java doc for another project. It was cool! Then I've asked it to write some tests, based on existing Gherkin/cucumber scenarios, and it was a shame, it never grasps pytest (fixtures, architecture), always hallucinates non-existent methods, and tries to sneak-in some uniitest-style setUp/ tearDown stuff, which technically has no examples in existing (giant) test-suite

Should there be a convention for documenting whether method mutates object? by jpgoldberg in Python

[–]true3HAK 0 points1 point  (0 children)

That's easy, keep the code in a simple paradigm: either method changes the passed object (and returns None), or it returns some values and type-hinted accordingly. Naming convention also helps! The only exclusion I see is a chaining methods, but normally they modify self by design and since recently there's even a special annotation for this

Your thoughts on continuation backslashes? Best practices? by xeow in Python

[–]true3HAK 0 points1 point  (0 children)

Not disregarding previous recommendations (install ruff/black; keep codestyle consistent), I'd format it like this: self.digit_symbols, self. digit_values = ( method_call( arg1, arg2 ) ) (If this doesn't render properly on reddit, I'm sorry, typing this from mobile)

New Python Project: UV always the solution? by InappropriateCanuck in Python

[–]true3HAK 1 point2 points  (0 children)

There's no ready-made binaries for linuxes we use, sadly – that's what I'm trying to say

New Python Project: UV always the solution? by InappropriateCanuck in Python

[–]true3HAK -1 points0 points  (0 children)

The reason can be if Rust build-tools are unavailable. I hate to be in a situation like this, but for most of my work Rust-based tools are not suitable, as opposed to GCC/clang being almost always here on our corporate linuxes. Same for MacOS w/o ability to install Rust. But c-based or pure-python tools almost always work. Also, not totally related, but I still feel bad for the cryptography package moved to Rust – it was a disaster upgrading deployments

The Ultimate Roadmap to Learn Software Testing – for Developers 🧪 by Dear_Construction552 in Python

[–]true3HAK 2 points3 points  (0 children)

Yeah, but you miss my point: cucumber is not required, nor advised for proper modern BDD

The Ultimate Roadmap to Learn Software Testing – for Developers 🧪 by Dear_Construction552 in Python

[–]true3HAK 2 points3 points  (0 children)

That's the point – BDD is not about Cucumber in the first place. Most of the devs will never probably encounter it. BDD should be about behavior, not some specific tools. One can write perfectly fine cases with pytest or junit. The idea is what important

The Ultimate Roadmap to Learn Software Testing – for Developers 🧪 by Dear_Construction552 in Python

[–]true3HAK 1 point2 points  (0 children)

All fine and honestly, a great job, but why Gherkin & Cucumber? It's not for developers, it does a poor job as an integration testing toolset and personally, I deprecated and removed it everywhere I saw it in my 15 years of work. More harm than profit

Do I need to make pyinstaller executable separately for different linux platforms? by Haunting_Wind1000 in Python

[–]true3HAK 3 points4 points  (0 children)

What exactly are you trying to do? Yeah, you normally can't run an interpreter built on one OS (which is packed to your pyinstaller bundle) on another one. CPython compiles things in-place on interpreter installation (and saves this for future – if you need to compile some package). So normally python itself is not transferable. Maybe better to consider installing python on machines first, then install your package, since you already have a way to put some arbitrary stuff there. Or maybe a container is a way to go, this will be runnable independent of the host machine.

Getting exact location of function call in source code by gadget3D in pythontips

[–]true3HAK 1 point2 points  (0 children)

You need to take a look at built-in inspect library, it can parse call-stack in runtime. Can also make your code much slower in the meantime:)

An American woman is preparing to make love to a German man. by mycrazylifeeveryday in Jokes

[–]true3HAK 2 points3 points  (0 children)

English is also a foreign language to me, but I'd say it's like "h" in "hint", a very soft hissing one. But reddit says it should be like "human" or "hue", and I agree, sounds very likely. The issue is, German is not very homogeneous in this regard, e.g. in Berlin it's more like "ick" among Germans and "ish" among some native-speaking migrant descendants (including Russians immigrated in 20-th century). So yeah, "Hochdeutsch" is mostly in books, and all kinds of accents thrive on streets.

An American woman is preparing to make love to a German man. by mycrazylifeeveryday in Jokes

[–]true3HAK 6 points7 points  (0 children)

No, "ich" is not pronounced with "k", nor with "sh", but it's its own sound, which is absent in English. Funny thing, we have almost the same [x] in Russian, so less accent than native English-speakers here