@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.

seachanger, to random
@seachanger@alaskan.social avatar

I know mastodon has issues, I know the fediverse is basically a prototype of what it could be. I know it’s annoying when people are snobby about masto despite its faults.

But for real, if we want this shit to succeed, we’ve got to also love what is good here and be growing it. That doesn’t mean yelling about how all other social media sites suck. It means focusing on what we’re getting right here, listening carefully to complaints, and putting a little energy into solving problems

folkerschamel,
@folkerschamel@mastodon.social avatar

@Milkman76 @seachanger @Gargron

It seems I can add another anecdotal experience 😉 https://mastodon.social/@folkerschamel/110968306558131610

nm, to internet
@nm@veganism.social avatar

Servers have been quiet about their plans to defederate from 's .

Only one major server's status has changed over the last two weeks, according to the stats on our tracker.

https://fedipact.veganism.social/

I wonder how much discussion there'll be once Meta enables their Activity Pub integration.

folkerschamel,
@folkerschamel@mastodon.social avatar

@tokyo_0 @Crash_thepose @nm

I would be interested in specific examples and references for "those things" you were mentioning.

folkerschamel,
@folkerschamel@mastodon.social avatar

@tokyo_0 @Crash_thepose @nm

About sharing: this is not the case. As long as I don't miss something - do you have a reference for what you are describing?

Also content sharing does not include your IP. Except it is leaked in the content itself because of buggy or incomplete meta information stripping, but then it is public information anyway. Maybe you are mixing up public server IPs with your device IP? Also here, as long as I don't miss something - do you have references for what you say?

folkerschamel,
@folkerschamel@mastodon.social avatar

@tokyo_0 @Crash_thepose @nm

Do you have specific samples of what "those things" are?

folkerschamel,
@folkerschamel@mastodon.social avatar

@Crash_thepose @nm

This statistics is about how many users are on instances which plan to block (10%) versus instances without indication of blocking (90%).

It does say nothing about the opinion of the users themselves.

If you as user want federating, but the server admin blocks, then yes, you have to switch server.

If you as user want blocking, but the server admin doesn't block, then you can simply block yourself. No need for or changing your server.

folkerschamel,
@folkerschamel@mastodon.social avatar

@tokyo_0 @Crash_thepose @nm

Yes of course, but this is the IP of the server (which trivially is public information anyway), but not the IP of the user's client device.

graham_knapp, to python
@graham_knapp@hachyderm.io avatar

Things which are hard in : millisecond startup times. Python startup typically takes hundreds of milliseconds. Workarounds: leave a localhost server or interpreter Daemon running.

folkerschamel,
@folkerschamel@mastodon.social avatar

@kionay @graham_knapp @f_dion

Everyone knows that are all problems of can be traced back solely to lack of code optimization, right?😁

folkerschamel,
@folkerschamel@mastodon.social avatar

@kionay @graham_knapp @f_dion

not known for speed? Oh, no no no no. There are definite proofs that is clearly faster than #c/🙃😁:

https://mastodon.social/@folkerschamel/110716925782702953

https://mastodon.social/@folkerschamel/110718637314187961

folkerschamel,
@folkerschamel@mastodon.social avatar

@graham_knapp

What is the context?
Who is using the interpreter and cannot just keep it running?

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

@f_dion @graham_knapp

"Now, depending on what you import..."
Definitely true.

cyrilpedia, to random
@cyrilpedia@qoto.org avatar

'Concerns about the decline of X as a source of reliable information extends beyond the scientific and academic communities. During the apparent coup attempt in Russia in June, journalists noticed its relative uselessness at helping them find real-time, breaking information from the ground and sifting fact from fakery, due in part to Musk’s trashing of its account verification system.'

https://www.latimes.com/business/story/2023-08-25/column-scientists-used-to-love-twitter-thanks-to-elon-musk-theyre-giving-up-on-it

folkerschamel,
@folkerschamel@mastodon.social avatar

@kdund @gpollara @cyrilpedia @academicchatter

Hm, well, is indexing servers.

But in my view more important - not only for science, but in general - are , who analyze, evaluate, select, organize information and put them into context.

Even the itself is more based on people knowing where to find information than a good index/search function.

folkerschamel,
@folkerschamel@mastodon.social avatar

@kdund

For experts, if a paper is not indexed on inspire+arxiv or researchgate, I'm not sure that social media is the solution for that problem.😉

treyhunner, to python
@treyhunner@mastodon.social avatar

Ever seen a variable with two underscores on either side (like_this)?

These variables define a contract between Python devs and the interpreter.

Officially called special attributes, they're often called "dunder variables" colloquially.

Each dunder variable is typically used for one of two purposes:

  1. Conveing information (metadata) to Python devs
  2. Empowering Python devs to convey information to the Python interpreter

name is an example of 1.

repr is an example of 2.

folkerschamel,
@folkerschamel@mastodon.social avatar

@treyhunner

Thanks for the special permission! Now we have a competivite advantage over others who are bound to https://www.pythonmorsels.com/dunder-variables/ 😁

folkerschamel,
@folkerschamel@mastodon.social avatar

@treyhunner

What about calling super().init?😉

ophiocephalic, to FediPact
@ophiocephalic@kolektiva.social avatar

Fediverse Communalism 1

For those interested in the prefiguration of dual power, there is a perfect opportunity right under our noses - the fediverse. Moreover, such praxis may not be so much of a choice, as a necessity. The forces of authoritarian and capitalist recuperation are coming for this network.

So far, it remains largely out of the control radius of corporations, government security services and the fascists poisoning every other online environment. But there are well-resourced elements both without and within working to change that.

Consider the contrast with major capitalist services. This recent story explains how the "U.S." government has attempted to extort a price from TikTok in exchange for allowing it continued operation in the country - its conversion into a domestic mass surveillance tool under the control of state security and military agencies.

https://gizmodo.com/tiktok-cfius-draft-agreement-shows-spying-requests-1850759715

1/20

folkerschamel,
@folkerschamel@mastodon.social avatar

@ophiocephalic

"Small" correction: The report of the analytics firm you are referring to reports 10.3 million daily active users, and this is only Android users (not 576,000, which is only the US).

So is still much much much bigger than the .

What is your source for the 1.8 million daily active fediverse users? https://mastodon-analytics.com/ reports 1.8 active mastodon users, but it is not clear to me if they are daily or monthly or something else active users.

treyhunner, (edited ) to python
@treyhunner@mastodon.social avatar

In Python we tend to use ALL_CAPS for constant variables.

Keep in mind that this is just a convention though. Python doesn't actually have constants.

Python DOES have immutable objects, but those are different from constants.

Remember, has 2 types of change: mutations change objects and assignments change variables. A true constant variable (not Python's) cannot be re-assigned while an immutable object cannot be mutated.

https://m.youtube.com/watch?v=0yrlE_XCMEE&feature=youtu.be

folkerschamel,
@folkerschamel@mastodon.social avatar

@spencer @diazona @treyhunner

= is as much an assignment as := .

mcolom, to python

We're using languages as, for example, (and many others) which is translated into bytecode to be run by a machine. Then, we use virtual environments to put packages because of version nightmares. But this is not enough, since some packages are Python-version specific. And we end up using to provide a full OS environment for that program. I'm starting to think that this is pretty much out of control...

folkerschamel,
@folkerschamel@mastodon.social avatar

@mcolom

Containers are quite well standardized as far as I understand it. I'm not aware of competing standards.

folkerschamel,
@folkerschamel@mastodon.social avatar

@mcolom

In contrary, aren't container the perfect magical solutions for this installation / versioning nightmare?

Not kidding, I mean it.

folkerschamel,
@folkerschamel@mastodon.social avatar

@mcolom

I see, yes.

I have a quite enthusiastic view about containers because we experienced the world before them (VMs etc.) and they solved (almost) all our problems.🙂

rTux, to threads Spanish

¿Y Threads? Avanzando sin detenerse

¿Y nosotros? :fedi: ¿?

FediPact Aims to Block Meta's Threads Platform on the Network - We Distribute
https://wedistribute.org/2023/06/fedipact-blocking-meta/

folkerschamel,
@folkerschamel@mastodon.social avatar

@rTux

Correction: as well as any other server does not get your IP address.

Clarification: All other information you mention is already public information anyway. It can be accessed by anyone right now. Including .

Be aware: All data in the is public information. There is no privacy. That's the whole idea of the . For sensitive information use e2e tools like .

wisteela, to python

Computer scientists develop open-source tool for dramatically speeding up the programming language Python https://techxplore.com/news/2023-08-scientists-open-source-tool-language-python.html

folkerschamel,
@folkerschamel@mastodon.social avatar

@wisteela

I got hand on the full source code of their AI solution:

i = input("What is your source code?")
if "for" in i:
print("Use numpy! It's fast!")
else:
print("Avoid http requests!")

expert, to threads
@expert@toad.social avatar

you know, I think it's time to admit that is much better then ...

Yes, from privacy points, Mastodon is better, but from the community points, I like Threads more.

And even some Mastodon users migrated there, so I guess, that I should keep it up!

folkerschamel,
@folkerschamel@mastodon.social avatar

@expert

Interesting.

So far I have made mainly good experiences on (only limited anecdotal experience of being attacked and insulted on ), but I have no experiences with the community.

I have no plans to join , but would like to see joining the , which would give me access to this community, too.

sharpstick, to FediPact

It’s good to know that I won’t need to worry about being my information and post being ingested into a Meta algorithm. Thank you
@instance@relay.fedi.buzz

folkerschamel,
@folkerschamel@mastodon.social avatar

@sharpstick @instance@relay.fedi.buzz

You don't need or server level blocking for this. You are not dependent on the server admin.

You can simply block (and unblock) anytime yourself: https://mastodon.social/@folkerschamel/110968706440723211

ryguw, to python

And a few bonus tricks to speed up your application:

  1. Don't print() anything until the end
  2. Use sets instead of lists
  3. Use dicts instead of lists
  4. Don't forget to break a loop when the objective is reached (good enough), loops don't always have to finish
  5. When working with multi-dimensional data, try to determine which index ranges really need to be looped over

Know any tips that should be on this list? 🫵

folkerschamel,
@folkerschamel@mastodon.social avatar

@ryguw

In my view the most important optimization is to always ensure that your algorithms have good O(...) scaling behavior. Typically O(n^2) is bad, O(n log(n)) is good.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines