gigachad
@gigachad@sh.itjust.works
- Comment on Token invalid 2 days ago:
Can you try to log out and in again? I think there was an update months ago that made this necessary.
Apart from that, you may think about switching to Voyager which has very good support. Did that switch as long time Infinity/Eternity user and couldn’t be happier.
- Comment on People in the office who don't take used K-Cups out of the machine are the new equivalent "you kill it, you fill it" 2 days ago:
Which is Nestlé, right? ;)
- Comment on People in the office who don't take used K-Cups out of the machine are the new equivalent "you kill it, you fill it" 2 days ago:
I’m not sure that’s a thing in Europe, at least I never heard about that company. I only know these Nestlé trash
- Comment on People in the office who don't take used K-Cups out of the machine are the new equivalent "you kill it, you fill it" 2 days ago:
What is a K cup?
- Comment on Could someone help me figure out how the activity stats on the sidebar are calculated? 3 days ago:
You mean the community sidebar? I am pretty sure it is “how many users interacted”, meaning posting, commenting, up voting, or downvoting. I one created a new community and had one post with 68 upvotes, and the sidebar showed “69 per day”.
However what surprised me, 1 minute after I created the community it also said “49 subscribers”. Wonder if those are bots or something…
- Comment on Why are popes always really old? 4 days ago:
I guess this is a side effect, but I doubt it is the reason.
- Comment on What are some FOSS programs that are objectively better than their proprietary counterparts? 1 week ago:
I can play 90% of my games without efforts. 5% are to old, the other 5% are EA Games, need uplay or whatever shitty launcher, have Anti-Cheat - stuff you usually wouldn’t want to have on your PC anyway
- Comment on What are some FOSS programs that are objectively better than their proprietary counterparts? 1 week ago:
I feel PowerPoint is much more user friendly and functional than Impress
- Comment on [deleted] 1 week ago:
The fuck has the Prof have the audacity to comment on what you wear? But especially the part about hairy pits. No idea if this is prude US striking again, but wtf?
- Comment on Unlike in movies, most smart people aren't good in chess. 1 week ago:
Well there is not a lot of action going on in a chess game and you are a lot of patience, I guess that makes it feel boring for you.
- Comment on Cucumbers taste like the white part of watermelons 1 week ago:
Exactly. Botanically cucumbers are berries, just like bananas which makes much more sense.
- Comment on How do I make Lemmy feel less dead? 1 week ago:
Never used that. I only visit All Active from time to time to see the trending posts
- Comment on How do I make Lemmy feel less dead? 1 week ago:
I am subscribed to 30-40 communties. I only rook at subscribed, sorted by Hot. I am pretty happy with what I am seeing, the content changes from the morning to the evening pretty much. Yes, a lot is member, but there is also tech and politics. I even blocked .ml and still have enough content…
- Comment on How do I make Lemmy feel less dead? 1 week ago:
…and justifiably so!
- Comment on woag 1 week ago:
You’re doing great and I’m glad you exist
- Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len() 1 week ago:
Sir, I will make sure to never bother you with a PR and my terrible, terrible code ;)
- Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len() 1 week ago:
This is what I would come up with:
try: if len(foo) == 0: ... except TypeError: ...
There is no need to add a
None
check, asfoo
beingNone
should be considered as a faulty input. Avoiding the possibility offoo
beingNone
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, maybe we can agree on that :) - Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len() 1 week ago:
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 isNone
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!
- Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len() 1 week ago:
But
None
has nolen
if not foo:
-> foo could be an empty list or
None
, it is ambiguous.len(foo)
will lead to an exceptionTypeError
, I can cleanly catch that.It suggests I deal with a boolean when that is not the case. Explicit is better than inplicit, and
if not foo
to check for an empty list may be pythonic, but it’s still implicit af - Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len() 1 week ago:
I don’t like it very much, my variable could also be
None
here - Comment on AI isn’t ready to replace human coders for debugging, researchers say 1 week ago:
Absolutely agree. I just use it for some simple one liners like “every nth row in a pandas datagrams slice a string from x to y if column z is True” or something like that. These logics take time to write, and GPT usually comes up with a right solution or one that doesn’t need a lot of modification.
But debugging or analyzing an error? No thanks
- Comment on America is fucked 2 weeks ago:
Wenn die Polizei vorbeifährt, ja?
- Comment on [deleted] 2 weeks ago:
Disgusting!
- Comment on Anyone else get the thing where images and post titles become confused? It can often be humourous. 2 weeks ago:
Which makes sense for an Eternity bug
- Comment on Anyone else get the thing where images and post titles become confused? It can often be humourous. 2 weeks ago:
It’s a known bug of Eternity. You have to live with it, or switch to Voyager.
- Comment on Not just Switch 2: ESA warns Trump’s tariffs will hurt the entire game industry 3 weeks ago:
Why does the European Space Agency is speaking up to this topic
- Comment on Husband needs proof news is censored 3 weeks ago:
- Comment on Definitely didn't waste half an hour making this 4 weeks ago:
- Comment on What is going on behind the scenes when searching for a lemmy post in a search engine? 4 weeks ago:
Instances that disagree with being found in search engines are not shown. Instance admins can configure their
robots.txt
by addinglemmy-search
. All other instances can theoretically be found. I think their priority depends on the laws of SEO (Search Engine Optimization). This probably means that a post on myownlemmy1337 that is federated with lemmy.world, will be found as a post on lemmy.world.So, if Lemmy was very famouse, I guess it’s possible to get pages over pages with the same result from different instances. However search engines usually have a way to exclude “similar” results.
For voyager it may be possible, they do not want to be found, I don’t know about this though. You could add
site:vger.app
to your search prompt for testing this. - Comment on Welcome, new users! 1 month ago:
For me it was one of the main motivations to join sh.it.just.works