@folkerschamel@mastodon.social
@folkerschamel@mastodon.social avatar

folkerschamel

@folkerschamel@mastodon.social

I love creating new software.

"All problems of humanity cannot be solved by another level of inaction" - (what David John Wheeler really meant)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Gargron, to threads
@Gargron@mastodon.social avatar

I was on @mike's Dot Social podcast to talk about Mastodon, (not the 1984 movie), and the social web. If you've got questions about any of those things, maybe we've covered them!

https://about.flipboard.com/inside-flipboard/eugen-rochko/

yodan, to python
@yodan@pleroma.yodan.ninja avatar

A pernicious potpourri of Python packages in PyPI

The past year has seen over 10,000 downloads of malicious packages hosted on the official Python package repository

https://www.welivesecurity.com/en/eset-research/pernicious-potpourri-python-packages-pypi/

yurnidiot, to random
@yurnidiot@mstdn.social avatar

kinda diggin amazon's new biodegradable packing material

box of 15 floofy white kittens with black ear tips

dougdougdoug, to threads
@dougdougdoug@mastodon.social avatar

I for one am happy to see #Threads actually joining the #Fediverse. #Federation is the great hope for social media and even the Web generally. It needs to be welcomed. Too many people are trying #Mastodon and abandoning it for #Bluesky or Threads or going back to X because they’re finding more engagement there. Adding the ability to interact with the huge #Meta base could keep people here. I just hope Threads doesn’t keep slow-rolling it.

berniethewordsmith, to fediverse

I know that Mastodon nowadays feels cozy. And I know federating with Meta may, in a sense, lose some of that coziness. In my opinion, it.may be worth it as long as we can make the most of it and get people out of Meta progressively.

But please people, remember to be nice and kind to each other. Those who want to block Meta, will do so. Those who want to follow people from meta, will do so. This is a feature from Fedi, not a bug.

Gargron, to threads
@Gargron@mastodon.social avatar

is testing federation for a few selected profiles. I'm now following @mosseri! It's one-way for now, but it's exciting. It's a step towards the interoperable social web that we've been advocating for 🙂

drj, to python
@drj@typo.social avatar

In Python, the list syntax is [1, 2, 3]; in Oxford Python, the list syntax is [1, 2, and 3];

dgoldsmith, to threads
@dgoldsmith@mastodon.social avatar

Technical details on Threads, their architecture, their development, and the launch.

https://newsletter.pragmaticengineer.com/p/building-the-threads-app

domr, to retrocomputing

to the Max!

Optimised version of the classic "10 PRINT" demo showing a random maze in a single line of code. Running here on a Commodore Max Machine in MAX BASIC. Because why not.

Hat-tip to Robin at 8-Bit Show & Tell of course.

rodlux, to programming
@rodlux@maly.io avatar

The top ten languages. Back in 2003 I started messing around in , a couple of years later some colleagues told me I should use only as Python was of no value... I think they got the wrong langauge, the one I used in school was in the end of less use.

https://spectrum.ieee.org/the-top-programming-languages-2023

Fenri69, to python Czech

Little joke for coders 😂

Dubikan, to python
@Dubikan@tooot.im avatar

Microsoft will be enabling scripts in . Won't that open up whole new venues or attack on unsuspecting users?

Birdy,

@folkerschamel
Can we go back to the time that we copied games from our friends on floppy discs and we new exactly were the virus came from?
@Dubikan

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

some notes on using a single-person Mastodon server https://jvns.ca/blog/2023/08/11/some-notes-on-mastodon

crepels,
@crepels@mastodon.social avatar

@b0rk I just published a blog post that explores how replies work on the ActivityPub level, and how this causes replies missing on some instances.

https://seb.jambor.dev/posts/understanding-activitypub-part-3-the-state-of-mastodon/

ClarusPlusPlus, to random

This is the most IBM thing I've ever seen in my life!

IBM Business Stick

tikhonov_a, to python
@tikhonov_a@mastodon.social avatar

Riddles by @folkerschamel pushed me to find out what thinks about riddles, so I asked it to create a riddle no one will solve without the interpreter. Result surprised me a lot:

I am a language that's high,
With indentation as my style,
I am dynamic and strong,
With modules to keep me going long.

I have no semicolons in sight,
But my syntax is always right,
My functions are defined with care,
And my loops make tasks easier to bear.

What am I?

andrewfrench, to python

I think this is the #python

ado, to python

I am really excited for 3.12 for three reasons.

First reason - No more ugly TypeVar declarations.

Old generic type:

from typing import Generic, TypeVar<br></br><br></br>_T_co = TypeVar("_T_co", covariant=True, bound=str)<br></br><br></br>class ClassA(Generic[_T_co]):<br></br>    def method1(self) -> _T_co:<br></br>        ...<br></br>

New generic:

class ClassA[T: str]:<br></br>    def method1(self) -> T:<br></br>        ...<br></br>

Second reason: 🚀 Gotta go fast. From the abstract

Comprehensions are currently compiled as nested functions, which provides isolation of the comprehension’s iteration variable, but is inefficient at runtime. This PEP proposes to inline list, dictionary, and set comprehensions into the code where they are defined, and provide the expected isolation by pushing/popping clashing locals on the stack.

Last: F Strings will support some common use cases that broke interpolation in the past, like f'{ myDict['myKey'] }' and f"{'n'.join(a)}"

Full notes: https://www.python.org/downloads/release/python-3120b3/

cazabon,

@folkerschamel @ado

I get it; I've been a big fan of Python since 1995. When type hints were first proposed it did seem a little at odds with Python philosophy - but I was reassured by the immediate assurances that they were optional, and were going to stay optional. So I mostly ignored them for a few years.

When I did start using them, it felt a little weird; the code didn't "look" right. But that's the same with any change.

Now I'm a big believer. They have prevented so many bugs...

danjac,
@danjac@masto.ai avatar

@folkerschamel @cazabon @ado microservices remind me of the old quote about XML:"you had one problem, now you have n more problems, plus latency"

kibernick, to python
@kibernick@fosstodon.org avatar

Why doesn't urllib3 have urljoin like urllib does? Sigh

davepotts, to python

article reminding of some useful language features:

https://dev.to/scofieldidehen/advanced-python-tips-for-development-olo

folkerschamel, to python
@folkerschamel@mastodon.social avatar

for fans:
where does this error come from?


In my opinion, one of the great things about is that it's simple and straightforward - you don't get unexpected surprises. But there are a few exceptions, as this example shows.😉

erwinrossen,
@erwinrossen@mas.to avatar

@folkerschamel @ljmc I used to struggle with it too, but now I remember the ordering by mentally converting it too a multiline for-loop again, and keep the same order.

JoeP,
@JoeP@mastodon.world avatar

@folkerschamel OK that is surprising and counter-intuitive, and not Pythonic.

This SO post https://stackoverflow.com/questions/38318370/what-are-list-comprehension-scoping-rules-within-a-python-class#38318470 referring to this in PEP 289 https://peps.python.org/pep-0289/#early-binding-versus-late-binding explains it ... and I don't like it at all!

hynek, to python
@hynek@mastodon.social avatar

GIL removal and the Faster CPython project

https://lwn.net/SubscriberLink/939981/6e9e999de78a7698/

george, to threads
@george@a2mi.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • thenastyranch
  • kavyap
  • tacticalgear
  • megavids
  • tester
  • modclub
  • cubers
  • ethstaker
  • mdbf
  • khanakhh
  • Durango
  • normalnudes
  • Leos
  • cisconetworking
  • anitta
  • provamag3
  • lostlight
  • All magazines