Fabian boosted

Where do you go when you want to see good webdesign?

Fabian boosted

Hey! Anybody know of a good way to donate furniture?

Über Ostern vermehrt dem kommerziellen Free-TV ausgesetzt. Puh… 💩

Fabian boosted

Did you know that #python setup.cfg with metadata-version 2.1 is silently reverted to metadata-version 1.1 in PKG-INFO when the long-description-content-type is not present? And the side effect when uploading to #PyPI is that project-urls are **not** displayed in the side bar! Took me more than one hour to figure this one out...

For a new front-end “app-like” project, is now the obvious and best choice, correct? Or :javascript: ? …nah

Fabian boosted

Hello WordPress users,

Do you know sources of good privacy-friendly themes for WordPress? (i.e. without any trackers)

(It's possible to remove trackers manually, but this is a request for themes that respect privacy by default.)

#WordPress #Privacy

Fabian boosted

software licensing help request Show more

Fabian boosted
Fabian boosted
Fabian boosted

Performance question:

Assume I have a string and an integer that I want to compare for equality.

Is it faster to cast the integer to a string or to parse the string?

In pseudocode, should I do

if "1" == 1.to_string():

or

if "1".parse() == 1:

Or does it not matter/depend on the language?

Fabian boosted
Fabian boosted
Fabian boosted

Want to comment a post on @pixelfed that does not yet appear in #Mastodon?

Go to post page on PixelFed, copy the URL, and paste it in the search bar of Mastodon. Voilà !

Pro tip: it also works with #PeerTube videos

Fabian boosted

Was ist denn eine gute Mastodon-Instanz für (technische) Webprojekte und so? social.tchncs.de? mastodon.technology? Oder doch einfach mastodon.social?

Fabian boosted

Is there any way to search through the archives of a mailing list such as this one lists.parabola.nu/pipermail/as?

Fabian boosted
object() as sentinel value

treyhunner.com/2019/03/unique-…

I've used an empty class as sentinel value. Not an instance of it, just the class itself. But there's always the risk that someone will misunderstand it and use it the wrong way.

Deciding on THE_NAME = object() as an idiom for sentinel values seems like a good idea. object() isn't really useful for anything except identity comparisons, so it's pretty clear what it's for.

/via pythonbytes.fm/episodes/show/1…
Fabian boosted
Show more
FLOSS.social

For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).