[-] TerrorBite@meow.social 5 points 9 months ago

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

[-] TerrorBite@meow.social 6 points 10 months 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

[-] TerrorBite@meow.social 34 points 10 months ago

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

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

[-] TerrorBite@meow.social 4 points 11 months ago

@Zagorath That is a stupidly large sign

[-] TerrorBite@meow.social 6 points 11 months 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

[-] TerrorBite@meow.social 5 points 11 months ago

@words_number @Sibbo that was one hell of an opening sentence to misread.

[-] TerrorBite@meow.social 4 points 1 year ago
[-] TerrorBite@meow.social 4 points 1 year 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.

[-] TerrorBite@meow.social 5 points 1 year ago

I want the Xenia trans rights sticker

3
submitted 1 year ago by TerrorBite@meow.social to c/tech@pawb.social

Is it time for subpixel antialiasing (aka "cleartype") to die?

RGB pixel subhinting is a hack that was invented for 72dpi LCD displays. But we are increasingly seeing high-DPI displays in use, where simple antialiasing is superior. In fact, modern phones rarely use this technology any more.

Some also argue that text with greyscale antialiasing is more readable on modern displays than text with subpixel rendering.

What do you think?

@tech

[-] TerrorBite@meow.social 14 points 1 year 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

26

Holy shit they kicked

they kicked the tankies out of @196 🔥🎆🏳️‍⚧️

11
cucumber_irl (medias.meow.social)

cucumber_irl

@furry_irl

[-] TerrorBite@meow.social 4 points 1 year ago

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

view more: next ›

TerrorBite

joined 5 years ago