aRkedos :manjaro: :mastodon: boosted
aRkedos :manjaro: :mastodon: boosted

@wuffel yeah sorry I 256 = 1 byte.

But I learned in my tests that recvfrom() has some kind of overflow protection. (which makes sense ofc) since it just resets if the recieved message is longer that the given number of bytes. No matter how long the message gets it would just recv the first two bytes of it.

:)

Sorry ofc you can represent the numbers 0 to 65536 with two bytes. It's too early for me :D

Okay I am playing around with the python socket module. It has a method recvfrom() which takes a buffer length in bytes for example recvfrom(2) which would be 2 bytes. With 2 bytes I could represent the numbers from 0 to 255, so I would expect a program to crash when I send a 256 or something bigger. Why does that not happen?

aRkedos :manjaro: :mastodon: boosted

Hello everyone !

📢 🔴 URGENT 🔴

An awesome software is dying, because its #developper has not time anymore to care of it.

It's an alternative of Adobe AfterEffect : Natron (natrongithub.github.io/)

Please, can Mastodon community search for a C++ dev, which want to maintain it ? or search for a company which work with free software ? It's very important.

Boost very appreciated

Thanks in advance for your contribution !

#Dev #Mastodon #C++ #Python

Are there good tutorials on how packaging (for distribution) a python program works? I only found the documentation of PyPI so far which seems to be the recommended method as of now, but some things at least to me, lack explanation.

aRkedos :manjaro: :mastodon: boosted

First Horizon-Scale Image of a Black Hole

Image Credit: Event Horizon Telescope Collaboration

apod.nasa.gov/apod/ap190411.ht #APoD

Heute morgen 2,5 km Geschwommen, danach noch 20km Wanderung durchs Ruhrgebiet. Reicht dann mal für heute mit Bewegung.

Wie zur Hölle bringen es Menschen fertig, in einem Regionalzug die Toilette zu benutzen?

aRkedos :manjaro: :mastodon: boosted

Wir sollten noch mehr Überzeugungsarbeit leisten und insbesondere Medien, öffentliche Einrichtungen und Politiker ins Mastodon-Universum holen.

Macht mit!

kuketz-blog.de/vorlage-kommt-i

Currently checking out tmux. Seems very nice if you use a lot of console based programs. Your terminal basically becomes a desktop einvironment.

And so far I have not considered the remote capabilities of tmux (always have a session open on a server which you can rennonect to from any device, shared sessions etc. etc.).

So far I like it, but still have to test things :).

Hopped on the train to get to work and there are several people with a notebook out. Why does it always have to be a MacBook? I just once want so see somebody with a nice Linux machine.

Hmm maybe a bit crazy but i have discovered git as a back up utility. Just cp the data in a local repository and push them onto my raspberry pi repository. Works great.

Could also write small shellscripts to automate the process.

aRkedos :manjaro: :mastodon: boosted

So, here we go! The commands for this week are:

J: join the current and the next line with a space between.
gJ: join the current and the next line without any space in between.
~: switch case of the selected text

happy viming!

Show more
Mastodon

One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!