TerrorBite
4
85
TerrorBite

@meow.social

I'm a lion from Australia! (he/him) :betterpride_flag:
:ms_neurodiversity: :NDpride: Neurodivergent
:ms_pansexual_flag: :polyamory: Pan, poly
:ms_demisexual_flag: Maybe demisexual?
:therian: Therian
🏳️‍⚧️ TRANS RIGHTS ARE HUMAN RIGHTS! 🏳️‍⚧️

Please do not index this profile in search engines.

TerrorBite 37 points 3 years ago

Naming things is one of the two most difficult issues in IT, alongside cache validation and off-by-one errors.

path: 0 1423 1439, hotness: undefined, score: 37, children: 8
TerrorBite 33 points 3 years ago

@wth @Spyros We need one universal graphical tool kit that works everywhere!

GTK: Hi, I heard you're looking fo—
Me: NOT YOU

path: 0 2969875 2971610, hotness: undefined, score: 33, children: 12
TerrorBite 17 points 3 years ago path: 0 269321 269979 271153, hotness: undefined, score: 17, children: 1
TerrorBite 15 points 3 years ago

@196 oops I forgot that it federates and makes a new post when I mention the community on Mastodon

Hi to all the cute queer people in my phone

path: 0 197068, hotness: undefined, score: 15, children: 1
TerrorBite 7 points 3 years ago

The beauty of the Fediverse is that it doesn't matter if it does. There could be instances like Voat/Poal, and there could be instances like pre-Digg-exodus Reddit, and if the divide is big enough the two sides will defederate from each other and won't communicate. This is a solved problem in the microblog side of the Fediverse (Mastodon/Pleroma/Misskey/etc), where there is a huge variety of instances. Sign up on an instance whose rules and moderation you prefer, and you'll be fine.

path: 0 7854 7920, hotness: undefined, score: 7, children: 1
TerrorBite 6 points 3 years ago

I am of the opinion that regex for email address is a bad idea. The only two things that you need to check an email address are:

Does the address contain an @ symbol?
Is there a dot to the right of the @ symbol?

Then just try to deliver to it, and let the MTA do the rest.

Email addresses can be complicated, and there's plenty of valid addresses that can be excluded by attempts at regex validation.

@custom_situation @yoavlavi

path: 0 1358608 1359855, hotness: undefined, score: 6, children: 4
TerrorBite 6 points 3 years ago

Python has had syntax support for type annotations for a while now. The Python runtime doesn't enforce the typing at all, but it can be enforced by a linter or by your IDE. And I believe you can introspect the type annotations at runtime, because they are actually part of the syntax.

There's even an alternative way of doing type annotations through specially formatted comments, just in case you might still need to write code that is backwards compatible with Python 2.

@escapesamsara @navi @programming

path: 0 3007721 3009812 3011399, hotness: undefined, score: 6, children: 0
TerrorBite 5 points 3 years ago

I want the Xenia trans rights sticker

path: 0 173806 198371, hotness: undefined, score: 5, children: 0
TerrorBite 5 points 3 years ago path: 0 1350977 1356098 1357868, hotness: undefined, score: 5, children: 0
TerrorBite 5 points 3 years ago

@atocci I'm in this photo and I don't like it

path: 0 544523, hotness: undefined, score: 5, children: 6
TerrorBite 5 points 3 years ago

@Zagorath I love me some spicy small-town drama.

path: 0 3387333, hotness: undefined, score: 5, children: 4
TerrorBite 5 points 3 years ago

@btaf45 @mspencer712 The whole point of Scrum is to use the retrospective to stop doing what doesn't work and start doing what does.

At one point, when my team's workload changed to less-timeboxable work, we threw out the entire concept of sprints and just used kanban instead, and stayed like that for a year. We still did retrospectives on the old sprint cadence though.

path: 0 3787896 3790566 3790676, hotness: undefined, score: 5, children: 6
TerrorBite 4 points 3 years ago

@bristle Pro tip – when replying to a Lemmy thread from Mastodon, remember to tag the community (i.e. @tech) in the reply in order to ensure your reply actually shows up on Lemmy. If you don't, it won't always federate back to Lemmy.

It seems to federate without tagging when the thread OP is a native user on the Lemmy instance, and when directly replying to a Lemmy user. Still unsure exactly when it will and won't.

path: 0 282833, hotness: undefined, score: 4, children: 1
TerrorBite 4 points 3 years ago

If you have a disagreement with someone, and they make a good argument, that's worth an upvote.

path: 0 372 845, hotness: undefined, score: 4, children: 1
TerrorBite 4 points 3 years ago

Yes, it is. You can even do new posts by tagging a community such as @lemmy (this one). Put your title on its own line at the start of the toot, and probably put the tag at the end of the toot otherwise it messes up the formatting in the title.

path: 0 7661 7859, hotness: undefined, score: 4, children: 1
TerrorBite 4 points 3 years ago path: 0 1545052, hotness: undefined, score: 4, children: 0
TerrorBite 4 points 3 years ago

It's the other way around. The YAML schema supports JSON because YAML was designed as a superset of JSON.

@Lynxtickler @canpolat

path: 0 7244494 7244566 7245019 7245655, hotness: undefined, score: 4, children: 2
TerrorBite 4 points 3 years ago path: 0 330963, hotness: undefined, score: 4, children: 1
TerrorBite 3 points 3 years ago

Also, good luck using switch without any breaks, but I'm guessing that's not quite what your teacher had in mind.

The teacher, probably: “You must always put a switch in its own function! Then use return at the end of each case.”

@zib @UnRelatedBurner @programming

path: 0 5683158 5683553, hotness: undefined, score: 3, children: 2
TerrorBite 3 points 3 years ago path: 0 544796, hotness: undefined, score: 3, children: 0

thanks for using Leebra!

go to feed...