Pixelcode Apps โ€‹

245 Followers
19 Following
243 Posts

#Developer of Free-Software and Ethical-Source desktop apps,  #Firefox addons and #Hugo websites. Active member of #Codeberg. Enjoying working with #Git, #Forgejo, #Inkscape, #Java, #TypeScript, #IntelliJ.

Solely news about my software projects, such as update information or tipps and tricks.

 http://blog.orwellkv4zylvu3hrsbk2jzilb5ic4i6hd63zcemxugwksjdmhfd7nad.onion

๐Ÿ‡บ๐Ÿ‡ณ ๐Ÿ‡ช๐Ÿ‡บ  ๐Ÿ‡บ๐Ÿ‡ฆ ๐Ÿ‡น๐Ÿ‡ผ

#FOSS #OpenSource #ESS #OES #EthicalSource #FreeSoftware #software #privacy #fedi22

Webhttps://forgoodeyesonly.eu
๐Ÿ”‘ Keyoxidehttps://keyoxide.org/aspe:keyoxide.org:CSY6CYWH443HWQ5LCB6IDQFWVU
:gitea: Githttps://codeberg.org/pixelcode/pixelcodeapps
:threema: Threemahttps://threema.id/28KF76T3

So, this is what it looks like when #Snowflake suddenly crashes on your serverโ€ฆ ๐Ÿ‘€

Anyway, I still do strongly encourage everyone whose Internet is not censored to install the Snowflake proxy! It helps people from authoritarian countries connect to the #Tor network, by disguising the connection as a video conference.

It's available as a browser addon or as a stand-alone SystemD service for servers: https://snowflake.torproject.org/#:~:text=Powered%20by%20volunteers

Someone from Iran, China, Belarus etc. will be silently grateful to you.

@fnohe It's actually fairly easy to create a #CssOnly dark mode: Two radio buttons let the user toggle between light/dark. In my stylesheet, I've added an `html:has(#dark-mode:checked)` rule which applies the dark theme. With more #CSS, only one button is visible at a time and both buttons look like regular ones (not like typical radio buttons). #WebDev

You can see it in action on https://blog.forgoodeyesonly.eu and https://forgoodeyesonly.eu.

I've published a #CodePen demo too: https://codepen.io/realpixelcode/pen/KwpOjeW

All blog posts | For Good Eyes Only Blog

The purpose of this Free Ethical licence is promoting a sustainable and dignified world by attaching conditions of justice and morality to the use and re-distribution of licensed works.

For Good Eyes Only Blog

โ€œWhat are you doing? Any plans for today?โ€

โ€œyeah, so i'm using the axiom of choice to implement mutual exclusion in #css with some black magicโ€

โ€œButโ€ฆ why?!โ€

โ€œwell, you see, there are certain people on the elephant app who disable JavaScript in their browser, enable 'resistFingerprinting' and still want to use dark mode on my static websiteโ€

The russian anti-war popup's source code is now also available on #Codeberg: https://codeberg.org/pixelcode/ru-popup
ru-popup

Russian anti-war popup shown to russian-speaking website visitors.

Codeberg.org

โ€œAre you joining us from ๐Ÿ‡ท๐Ÿ‡บ?

Is it really the ๐Ÿ‡ท๐Ÿ‡บ people who want war against their ๐Ÿ‡บ๐Ÿ‡ฆ brothers & sisters? Or is it perhaps just an old fool from Red Square who longs for the days of Cold War, mutual hostility & nuclear arms race? You have the right not to die for your Tsar in an unnecessary & useless war. You have the right to say what you think. Do not let your human dignity be taken away from you, because your life is more precious than your allegiance to a false prophet.

Peace be with you.โ€

So I made a thing: #russiaโ€‹n-speaking visitors are now greeted with an anti-war popup on https://forgoodeyesonly.eu and https://blog.forgoodeyesonly.eu! ๐Ÿ‡บ๐Ÿ‡ฆ

Feel free to copy it to your own website! You can try it out without changing your browser's language on Codepen: https://codepen.io/realpixelcode/pen/RNPOmdw

And, yes, you can adjust it to be shown without JavaScript (but to all visitors then), because the popup is actually just an #HTML details element. ๐Ÿ˜Ž

#StandWithUkraine #Ukraine #WebDev #EthicalWebDev #CSS #CssOnly

โ€œ#Optionals are so tedious to deal with ๐Ÿ˜ฎโ€๐Ÿ’จโ€

You know what's more tedious? #NullPointerExceptionโ€Žs

Does anyone have an idea how to send #OpenPGP-signed e-mails in #Java? Instead of inline #PGP, the PGP/MIME format defined in RFC 3156 should be used: https://www.ietf.org/rfc/rfc3156.txt#:~:text=5.%20openpgp%20signed%20data

I already have a code draft, but the signature it attaches doesn't match the actual e-mail content, according to Thunderbird. The issue is not related to cryptography but to formatting. I tried my best but am unable to get the right combination of CRLF line endings, removed trailing whitespace etc.

https://stackoverflow.com/questions/79620112/how-to-sign-an-e-mail-with-pgp-mime-in-java

Just when I tried to quickly pull from a Git repo, #Codeberg went down and has been unavailable for >40 minutes straight ๐Ÿฅฒ

After the warnings, I still had to fix the actual error whose position in the code I didn't know either, forcing me to carefully read through the whole JavaDoc. After quite a while, I found it: a [##reference] with two hashtags instead of one.

However, after that, UMLDoclet threw the IllegalArgumentException, because I had previously started debugging by, well, enabling verbose output for JavaDoc.

Almost went crazy trying to spot the difference between the faulty and another, working, pom.xml.