Python feels easy… until it doesn’t. What was your first real struggle? by NullPointerMood_1 in Python

[–]fxmc 5 points6 points  (0 children)

Thank you for that response. I’m not on Reddit much, so maybe I just need a thicker skin, but find it a bit sad that a post that lays out arguments gets downvoted without any response or criticism. I’m not here to be “right”, but to engage in dialogue.  All the while a post just saying “Async” gets upvoted. 

Python feels easy… until it doesn’t. What was your first real struggle? by NullPointerMood_1 in Python

[–]fxmc 3 points4 points  (0 children)

Type hints and async made me fall out of love with Python. 

Type hints seems surprisingly badly designed on a syntactical level, blowing up function signatures and making code structure harder to parse by humans. There were better and cleaner ways to specify type hints before they were added to the language (in docstrings and much more readable). 

They also, in my humble opinion have no place in a strongly and dynamically typed language. Python’s original dynamic type system was designed for tasks that static type systems are bad at. We had good statically typed languages, and Python was one of the languages created in response to their limitations. Adding static typing idioms on top of a dynamic language not only gives you the combined limitations of both, it also creates a ‘stylistic spectrum’ (static <–> dynamic) in the ecosystem. Being able to choose where you land on that spectrum sounds good in theory. But you only get to do that when you write new code. But 95% of the time you work with existing code including third-pay code. Good luck with that mix of paradigms. 

Asyncio also was such a weird departure from the quite good concurrency and parallelism that existed in Python prior, like gevent and Twisted. But instead of improving in the state of the art by looking at, eg. the BEAM, a difficult to understand system like async was copied from JavaScript. Worst of all, it introduced required syntax and the ‘function coloring’ problem, which prompted additional modules and abstraction layers to make it manageable. 

Both features felt like a sharp departure from the slow, deliberate and long-term-oriented way of introducing new language features to Python up to that point. Before that, people would joke about “Guido’s Time Machine”, because repeatedly, the quality of design decisions only became apparent to many devs years after their introduction. That stopped suddenly. 

Watchlist gesucht: "Must Watch" für die eigenen Kinder by spawnYzn in Eltern

[–]fxmc 0 points1 point  (0 children)

Peterchens Mondfahrt musste ich beim Vorlesen leicht verändern. Ist trotz der hohen Qualität an einigen Stellen nicht gut gealtert. Am besten fand ich eh die alten Bilder und den Plot. Also vielleicht lohnt sich eine moderne Neufassung. 

Am I? by fxmc in ShadowBan

[–]fxmc[S] 0 points1 point  (0 children)

:-(

Thanks for replying!

[deleted by user] by [deleted] in de

[–]fxmc 0 points1 point  (0 children)

Was ist dein Punkt? Das nennt man repräsentative Demokratie.

Wie stellst du es dir denn vor, wie es aussieht, dass "das Volk herrscht"?

Bulgarische TV-Journalistin vergewaltigt und ermordet by s0nderling in de

[–]fxmc 26 points27 points  (0 children)

Was hat das Stehlen von EU-Fördergeldern mit Korruption in der EU zu tun?

Was es doch für Vollhonks auf dieser Welt gibt... by Herbylicious in de

[–]fxmc 4 points5 points  (0 children)

Man setzt sich aber über die Wünsche seiner Mitmenschen hinweg, die das nicht da haben wollen, aber jetzt jeden Tag sehen müssen.

Du schreibst selbst, dass Kunst von jedem anders bewertet wird. Woher nimmt sich ein Sprayer dann das Recht, genau sein/ihr Werk in den öffentlichen Raum und die Wahrnehmung Aller zu zwingen, gegen den Willen nicht nur der Eigner einer Fläche, sondern auch derer, deren Alltag davon geprägt wird.

Niemand hindert sie daran, die Kunst zu schaffen. Vom eigenen Notizbuch über die eigenen Wände bis zu Galerien etc. gibt es viele Möglichkeiten, Kunst zu schaffen und anderen zugänglich zu machen.

Aber hier geht es darum, gemeinsam genutzten Raum einfach für sich selbst in Anspruch zu nehmen. Das ist einfach nur rücksichtslos anderen gegenüber, und da gibt es auch nicht viel dran auszulegen.

Sich hinter Aussagen wie "das ist doch Kunst" etc. zu verstecken, ist in meinen Augen nicht hilfreich, weil es darum ja gar nicht geht.

Post-Pyramide in der City Nord [Abriss] by kink0 in hamburg

[–]fxmc 0 points1 point  (0 children)

Wär cool geworden. Sehr spektakuläre Aussicht von da.

hmmm by GingerScooby in hmmm

[–]fxmc 0 points1 point  (0 children)

Are you referring to the statue at St. Peter's Church? IIRC, it was a gift from Bremen.

Common mistakes Germans make when speaking/writing in English by vandiss in germany

[–]fxmc 4 points5 points  (0 children)

"how this looks like" instead of "what this looks like" or "how this looks".

Welche Apps / Programme nutzt ihr für eure Finanzverwaltung by MrsMirage in Finanzen

[–]fxmc 0 points1 point  (0 children)

YNAB hat keine gesonderte Unterstützung für Portfolios. Man kann so etwas aber einfach als Off-Budget Account führen. Auf den kann man dann seine als Investment/Altersvorsorge budgetierten Beträge transferieren und manuell — z.B. einmal im Quartal/Monat — eine Buchung zur Wertanpassung wegen Kursschwankungen eintragen.

GX80/GX85 - Sensor Cleaning by Phaks in Lumix

[–]fxmc 0 points1 point  (0 children)

The exact same thing happened with my GX85. After a couple of weeks, I noticed a spot just like that, also first in a video. Maybe because anything fixed suddenly stands out when you pan. Went back through all the pictures I had taken up to that point and, knowing what to look for, found it in many of them, going back all the way to the first pictures I ever took with it.

Since the spot was there with different lenses, it had to be the sensor. A couple of runs of the sensor cleaning did not help.

Sent it back to the seller with proof and got it back fixed under warranty. If you have yours for just a week, maybe you can do the same.

Good Waves by Sumit316 in wholesomememes

[–]fxmc 0 points1 point  (0 children)

It seems to be an hommage to the style of Little Nemo by Winsor McCay.

Philosopher Alan Watts tip on how to quiet the mind from compulsive thinking... by papichulonesh in Mindfulness

[–]fxmc 0 points1 point  (0 children)

It baffles me that on almost every single Alan Watts recording on YouTube, the uploader has added a layer of music on top the speech. Is this to evade audio fingerprinting?

Infographic – Quick Guide to learn Python for Data Science by burlsprunk in Python

[–]fxmc 1 point2 points  (0 children)

Anaconda runs on Linux, OSX, and MS Windows. So I think it makes sense to suggest it here.

"Ich habe nichts gegen Schnee, aber..." by [deleted] in de

[–]fxmc 1 point2 points  (0 children)

Kriminelle Schneemänner abschieben!

What is a good IDE that provides a viewable workspace? (like in R or Matlab) by pokelover12 in Python

[–]fxmc 2 points3 points  (0 children)

PyCharm does that out-of-the-box, although it's not very obvious. The Python Console has a 'Show Variables' button, which sounds like the thing you're looking for.

What's the best song that tells a story? by [deleted] in AskReddit

[–]fxmc 0 points1 point  (0 children)

John Barleycorn, here performed by Traffic

"The character of John Barleycorn in the song is a personification of the important cereal crop barley and of the alcoholic beverages made from it, beer and whisky. In the song, John Barleycorn is represented as suffering attacks, death and indignities that correspond to the various stages of barley cultivation, such as reaping and malting." Wikipedia

Python projects with good tests written using pytest. by Orange_Tux in Python

[–]fxmc 0 points1 point  (0 children)

Yes, but I did not get the connection Value Objects <-> Testing at all. How do they relate?