the_strange

joined 2 years ago
[–] the_strange@feddit.org 6 points 1 week ago* (last edited 1 week ago) (4 children)

I write python code for a living. There is no way to sugarcoat it, the new unittests are slop. There already exists a good writeup of why, which I'm going to quote here:

So, look. One shot rewriting the whole test suite in another language is probably not great to do, but what happened here is so much worse than you are expecting. https://github.com/RsyncProject/rsync/pull/903/
This does not "translate tests into pytest" or a unit testing framework, it writes its own testing framework where tests are whole python scripts that redefine basic test functions in every script. Surely there would be a single way to "run rsync and get the results" - nope, well, there is, but then every test file will randomly redefine its own _run_and_capture function. So like now rsync needs a test suite for its test suite.
If instead of telling an LLM to "rewrite the tests in python" you just searched "python testing" you would find the pytest docs. And then you would find examples. And then you could write fixtures to deduplicate all the prior shell script setup and teardown stuff, and so on. But since it was just "rewrite the tests in python" its now worse than before, and the odds of the rewrite actually being a 100% faithful translation are close to 0.

https://neuromatch.social/@jonny/116666900898570791

Yes right - and after reading about a dozen of the test scripts I can definitely see why using pytest would be useful here to consolidate some of the behavior that was repetitive and ad-hoc in the original testing scripts. Like the tests need to do repetitive things like set up test directories with different names and structures, run and capture results, setup and teardown a server, parameterize over a range of values. Done right, a pytest suite would have made perfect sense and improved both the existing tests by making them more systematic and uniform, but also made it easier to add new tests over time. However that is not what happened, and what did happen is much worse because it did the opposite of almost all those desirable qualities.

https://neuromatch.social/@jonny/116671260017373441

You should read the whole thread, the author goes into more detail, as to why you cannot trust the software any more after the rewrite of the unittests and why you should avoid any new release of rsync since then.

[–] the_strange@feddit.org 6 points 3 weeks ago (2 children)

He's been in a good-but-not-great car so far, this is his chance to win the championship, but he's getting beaten by the team's young new guy and now his car gives in at a decisive moment. It honestly sucks for him.

[–] the_strange@feddit.org 2 points 3 weeks ago* (last edited 3 weeks ago)

I played it a few months ago when it had a free beta on steam and couldn't make it past half an hour of playtime. If the current game state has not massively improved, I wouldn't recommend it. It will probably take years before this game is ready for release.

[–] the_strange@feddit.org 5 points 4 weeks ago (1 children)

Solange die Wochenarbeitszeit gleich bleibt, ist das relativ egal, wenn ich nix gravierendes übersehe.

Der geht es als nächstes an den Kragen.

[–] the_strange@feddit.org 14 points 1 month ago

OpenKeychain has an implementation like this (not 100%) maybe that fits your use case?

https://www.openkeychain.org/

[–] the_strange@feddit.org 20 points 1 month ago (1 children)

Despite the DDOS they still have better uptime than GitHub.

[–] the_strange@feddit.org 3 points 10 months ago (1 children)

In that case you can still use open source messaging apps that you could compile yourself if you don't trust the distributor.

[–] the_strange@feddit.org 9 points 11 months ago

Tixketmaster will z.b. die Telefonnummer

Bein Bestellungen online, wo der Verkäufer meine Nummer haben möchte und das ein Pflichtfeld ist, gebe ich immer die Nummer des Kundendienstes der Website an. Selbst bei "berechtigtem Interesse" gibt es keinen Grund diese einzusammeln.

[–] the_strange@feddit.org 6 points 11 months ago

laid back, very slow moving world of Academia.

What kind of Academia are you talking about? You publish or perish, write grants to get projects funded, deliver (questionable) results in unreasonable deadlines or you're out of a grant and therefore on the streets from one day to the next.

Then there's the usual practice that almost all jobs except for the professor's are temporary positions and if the project doesn't get funded, you don't get the desired results (see above) or you clash with someone in the administration that don't like you, you're out of a job when your contract is up for extension. And even if you do a good job, getting a new contract is never a given, therefore stringing temporary contracts together is horrible for your mental health.

When I finally switched from academia to industry because of all that bullshit my new colleagues had to remind me that I no longer have to adhere to these standards, have a permanent position and can relax without working unreasonable hours or unpaid overtime.

[–] the_strange@feddit.org 6 points 1 year ago

Verständlich, aber im Stadtverkehr, wo ich die Nudel brauche, bin ich schneller als jedes Auto, wenn mir da einer dumm kommt, fahr ich einfach davon.

[–] the_strange@feddit.org 5 points 1 year ago (2 children)

Ich habe mir vor einer Zeit eine Poolnudel gekauft und am Gepäckträger befestigt. Die ragt nur in etwa 80cm über die Mitte des Rades nach links, hat aber bereits den gewünschten Effekt als breiter wahrgenommen zu werden. Die Menge an zu engen Überholmanövern hat sich seitdem ich das mache deutlich reduziert.

[–] the_strange@feddit.org 31 points 1 year ago (1 children)

Axel Springer. Springer ist ein wissenschaftlicher Verlag, diese Aktion richtete sich gegen den Axel Springer Verlag, Herausgeber von u.A. der Bild. Im Text des Artikels ist es richtig dargestellt, in der Überschrift und Zusammenfassung falsch. Falls sich noch jemand wundert warum die LG gegen einen wissenschaftlichen Verlag protestieren sollte. Mit denen läuft auch ne Menge falsch, aber die sind wahrscheinlich nicht das übliche Ziel von Klimaaktivisten.

 

Pfostiert aus meinem Kommentar hier, wie vorgeschlagen von @Sibbo@sopuli.xyz

view more: next ›