gigachad

joined 1 year ago
MODERATOR OF
[–] gigachad 4 points 10 hours ago* (last edited 10 hours ago)

Just use a bagpack smh

[–] gigachad 41 points 10 hours ago* (last edited 10 hours ago)

There are two kind of buyers, this smart guy:

and grandpa, who bought it for his grandson billy:

[–] gigachad 1 points 11 hours ago
[–] gigachad 27 points 11 hours ago (1 children)

Ist ja wohl keine Frage dass hier Schadensersatz geleistet werden muss. Absolutes Behördenversagen. Wollen mir doch nicht erzählen die wissen nicht wo die Clubs anbauen, die wollen doch sonst jede Kleinigkeit wissen...

[–] gigachad 2 points 11 hours ago

AdAway hat mittlerweile auch eine VPN-Alternative eingebaut, ist aber vermutlich ähnlich instabil wie der Rest.
Wenn du den root-Weg gehst, gibt es glaube ich addon.d mit dem FU Magisk persistent machen kannst. Ansonsten Updates nur über sideload und Magisk hinterher, ist nervig.

Glaube die beste Alternative ist Pihole im privaten Netzwerk und unterwegs dann eine der VPN-basierten Apps immer wenn du eine Online-Zwang app öffnest, Browser sollte ja über Ublock safe sein..

[–] gigachad 1 points 13 hours ago (1 children)

Sir, I will make sure to never bother you with a PR and my terrible, terrible code ;)

[–] gigachad 5 points 16 hours ago

I am for moving the community. It's a question of time anything breaks and the instance is gone. However I really like the name [email protected] and don't think a harrypotter@ community reflects its nature of being a meme community.

Most important thing is to not move to a large instance like lemmy.world, Lemmy is centralized enough.

[–] gigachad 2 points 17 hours ago (2 children)

Ich nutze RethinkDNS ausgiebig, hab aber leider 2 Probleme: Die app schaltet sich trotz uneingeschränkter Akku-Nutzung häufig von selbst aus. Noch schlimmer: Manchmal verliert sie die Internetverbindung, ohne sich zu informieren. Dann muss ich erst in die app gehen, sehe "Kein Internet", stoppen sie und starte sie nach ein paar Stunden erneut und hoffe es geht wieder... Diese VPN DNS-Blocker sind geil aber super umständlich.

[–] gigachad 3 points 17 hours ago* (last edited 17 hours ago) (3 children)

This is what I would come up with:

try:
    if len(foo) == 0:
    ...
except TypeError:
    ...

There is no need to add a None check, as foo being None should be considered as a faulty input. Avoiding the possibility of foo being None from the beginning using static checks or testing is of course the preferred solution. But in reality we do not work in such optimal environments, at least I can say that from the perspective of data science, where often procedural, untested code is produced that runs only a few times. But I get your point and I think both paths are viable, but I am also okay with being in the wrong here,

[–] gigachad 1 points 19 hours ago (2 children)

I am not saying it's better, just that I don't like the proposed way :) I would argue that being "pythonic" has even less value than the Zen, which I quoted because it's true, not because it is some strict rule (which it isn't anyway).

You could argue I also need to write that extra code for the if not case, as I explicitly have to check if it is None if my program somewhere further down expects only lists.

Hunting for those sweet milliseconds is a popular game in the Python community ;) if this mechanism is that important for your program, you should definitely use it, I would do as well!

[–] gigachad 6 points 20 hours ago* (last edited 20 hours ago) (10 children)

But None has no len

if not foo:  

-> foo could be an empty list or None, it is ambiguous.

len(foo) will lead to an exception TypeError if foo is None, I can cleanly catch that.

It suggests I deal with a boolean when that is not the case. Explicit is better than implicit, and if not foo to check for an empty list may be pythonic, but it's still implicit af

[–] gigachad 24 points 21 hours ago* (last edited 21 hours ago)

Haben Sie wirklich gedacht diese Geschichte wäre so passiert? Dann muss ich Sie leider enttäuschen. Hier haben sich unsere Autoren einen Streich mit Ihnen erlaubt.

386
Nice party (sh.itjust.works)
 
7
Request for trippinthroughtime (self.communityrequests)
 

I have been actively developing [email protected] for a month now by regular posts. However I noticed the only mod @[email protected] has not been active for 2 years.

So I would ask to do a wololo (AoE 2 pun!) and become mod of that community. I'm also fine with someone else from lemmy.ca doing that job, just want to know it safe.

Timezone wise I am active from central Europe btw.

643
Who is this (sh.itjust.works)
 
 

Modem war für mich bisher weniger relevant. Möchte jetzt aber einen Raspberry Pi mit PiHole hinterklemmen, funktioniert mit der Drecks Vodafone Station nicht.

Hänge mit 50 Mbit/s am Kupferkabel in der Großstadt und möchte mir daher eine möglichst günstige, gebrauchte FritzBox zulegen. Die Modellbezeichnungen sind aber verwirrend, auch kommen ja nur die "Cable" Modelle in Frage.

Bin mit Meinem Rechner per Ethernet verbunden und hab ein paar Mobilgeräte im WLAN, ansonsten muss das Teil nicht viel schaffen, außer eben PiHole betreiben.

Hat jemand eine Empfehlung? Im besten Falle noch mir Firmware-Updates :)

Vielen Dank!

161
ich_iel (sh.itjust.works)
 
98
I choose you Glumanda (sh.itjust.works)
submitted 4 days ago* (last edited 4 days ago) by gigachad to c/[email protected]
 
 
374
Living the moment (sh.itjust.works)
 
93
ich😐iel (sh.itjust.works)
 

Danke Punktifizierer

 

China setzt Gegenzölle ein, die Börsen gehen auf Talfahrt, kein Ende in Sicht.

Das hier ist kein neuer Artikel, aber ich denke er ist sehr relevant. Gerade für Personen, die erst seit ein, zwei Jahren dabei sind und nur die Rakete zum Mond kennen: bleibt locker, lasst euren Sparplan weiterlaufen. Weder alles verkaufen (Verluste sind erst dann Verluste, wenn man die realisiert), noch all in gehen und ins fallende Messer greifen.

Einfach weitermachen.

160
ill walk it (quokk.au)
 

cross-posted from: https://quokk.au/post/4284197

view more: next ›