stgiga

joined 1 year ago
MODERATOR OF
[–] stgiga@lemmy.blahaj.zone 13 points 3 months ago (3 children)

The join button isn't working.

5
Blahaj.zone down (lemmy.blahaj.zone)
submitted 5 months ago* (last edited 5 months ago) by stgiga@lemmy.blahaj.zone to c/main@lemmy.blahaj.zone
 

So apparently the Blahaj.zone Sharkey server is down. @ada@lemmy.blahaj.zone

I hope the Sharkey instance isn't being shuttered like how mint.lgbt shuttered their Fediverse instance.

[–] stgiga@lemmy.blahaj.zone 1 points 9 months ago

UPDATE:

UnifontEX has now received a JSTF table, a process that fixed compatibility with some programs. It also has been given a vector DFONT and a better WOFF1 in terms of bandwith. PLEASE redownload.

[–] stgiga@lemmy.blahaj.zone 1 points 1 year ago

I just made a NEC PC-98 version via Neko Project 2 (the Wii version can make TrueType fonts into ANEX86.BMP replacements for PC-98 emulators) which has been uploaded.

[–] stgiga@lemmy.blahaj.zone 2 points 1 year ago (1 children)
[–] stgiga@lemmy.blahaj.zone 4 points 1 year ago (3 children)
[–] stgiga@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

I did do the Markdown image embed into the README, as well as a repo link and image in the body of the post, but regrettably Lemmy isn't making the actual post image work.

[–] stgiga@lemmy.blahaj.zone 2 points 1 year ago

It's using HTML5 Canvas (actually 3), and it's minified extremely.

The bottom layer is a linen texture generated on-the-fly by Canvas using white noise plus Gaussian blur, then again but rotated 90 degrees. The second layer is waves that are controlled by JS's random number generator (or clicks, but that code got covered up by the third canvas element) and is layered over the linen layer using z-index CSS. The top layer is a spirograph, and doing a third element with z-index wasn't as easy to do. Here's what I did: I put the bottom two layers in a URL-encoded HTML document in an iframe. The spirograph was then layered on top of the iframe using the same trick as the two canvases in the HTML document inside the iframe. Now here's where the optimization gets interesting: The wave and linen HTML, CSS, and JS was all individually minified, and then that was thrown into a URL encoder that is designed for making SVGs into data URLs as efficiently as possible, namely by ONLY URL-encoding characters that aren't URL safe, though I did have to tweak it for certain reasons. The iframe and top canvas are inside something rather special. Because I wanted to cash in on the space savings of gzipped SVG (SVGZ), I used foreignObject to embed XHTML (including HTML5) into SVG. The foreignObject is, rather than doing just body, is instead just using the html tag so it contains both, which is needed. So, it also means I had to be safe for XML, so I had to make the data URL loaded by the iframe escape one character type it originally didn't. I of course minifed the SVG, XHTML, XML, HTML, JS, and CSS stuff in the SVG+XHTML thing. Now here's the funny thing: this SVG is also a valid HTML document if given an HTML or HTM extension. It's a polyglot. Now for the real space savings: I used Zopfli-Krzymod (Zopfli is by Google, and its goal is to get the most possible space savings from Deflate, including the GZip SVGZs use. Zopfli-Krzymod gets even more savings, partially by using an LZ77 optimization from Google's own Brotli, which is their special compressor), which got it down to 3099 bytes. Running it through ECT got it to 3098. Then, running it through Leanify got it down some more, and then running it through ECT again (as done by people on encode.su) got it down to its current size of 3081 bytes. For context, the original version of this demo prior to my attempts to minify it was 30,000 bytes. So, I effectively did an almost 10x minification of this. Note that the linen code is from antimatter15 from 2011, the wave code is from SomethingHitMe in 2012, and the spirograph code is a modded version of Mudcu.be/Galactic.ink/Michael Deal's Breathing Galaxies 2010 Chrome Experiment (which was JS1K, 1020 bytes, and my further minification got that portion down to only 999). I started work on this in 2015, and over the years I shrunk it down. Also, the idea of using foreignObject to put HTML in SVG came from gerhobbelt on Github in 2015. Basically, this is three classic JavaScript effects rolled into one demo, similar to the TIM1T demo for the Atari 2600, which throws 3 classic effects together into one demo. Also, this demo runs fine at 120fps as well as 4K. It also works fine on mobile. Oh and for context, 3081 bytes takes under half a second to load on 56K dial-up.

Basically: this demo uses every trick in the book, including the obscure ones, to get down from 30KB to 3KB. Oh, and it's technically an SVG. I wish that XScreenSaver would include a port of this.

Also, I was able to fit this into a Han Xin Code (China's answer to the QR Code) as well as iQR Codes (QR Code's official elusive successor). Also, in Base85 or higher, 3081 bytes can fit into the original 4096 ASCII character browser cookie format used by Netscape. So yes, you can fit a browser game into a browser cookie if you wanted to. Also, there are some RSA keys out there which are larger than this, and there are plenty of Atari 2600 games out there bigger than this. This is an example of extreme programming. I started this when I was 13 (I'm 21 now).

[–] stgiga@lemmy.blahaj.zone 3 points 1 year ago (2 children)
[–] stgiga@lemmy.blahaj.zone 3 points 1 year ago* (last edited 1 year ago)

Yes. I forgot that Lemmy didn’t let you upload images AND URLs. I made it now link to the Github page. http://stgiga.github.io/UnifontEX

Also this reply originally wasn't a reply, I think Lemmy is buggy right now.

 

6 years ago I set out to improve GNU Unifont, and finally after 6 years I have finished. It has MANY special Unicode symbols, including gender ones and plenty of technical ones. I use it as my IDE and terminal fonts on ALL my OSes. Oh and this time I fixed the link.

Also, "UnifontExMono.png" is both its own preview image as well as a proper build of the font for use cases where TTF and BDF are too big, like in character LCDs. I also do extensive documentation of my content so don't hate me.

Here's a link: UnifontEX

Logo: UnifontEX's logo

[–] stgiga@lemmy.blahaj.zone 2 points 1 year ago

Birds use chromosomes Z and W. ZZ is masc, ZW is fem.

[–] stgiga@lemmy.blahaj.zone 3 points 1 year ago

I can provide examples of the shapes that people have drawn:

Transmasc Pikachu with stitched tail: https://www.furaffinity.net/view/39071465/

Intersex Pikachu (not fully heart or square): https://www.deviantart.com/twinkel13/art/Intersex-Pikachu-561094460

Flame Tail Nonbinary Pikachu: https://www.deviantart.com/lovelatias/art/Non-binary-pikachu-706846661

Double Triangle Tail Nonbinary Pikachu: https://www.deviantart.com/attemptinggood/art/Gender-neutral-Pikachu-903517742

 

This is a 3081-byte (~3 kilobytes) browser game that is inspired by the demoscene and has no limit to resolution or frame rate. I made it when I was 13 (I'm 21 now), and back then it was 30K. I got it down to 3K over the years. It's not really much of a game, but it DOES make a great fidget toy when you are at a waiting room. It uses MANY optimizations to get to its size, some of which are custom. I got it to fit in a Han Xin, iQR, and JAB code (spinoffs of the QR code format that have more room). So, it's able to fit into a QR Code. In China via Han Xin codes. Also yes, this browser game WILL fit in a browser cookie. It's smaller than an HDD sector, and at 1500-byte MTU, this browser game only takes 3 packets to load. At 3081 bytes, it loads in under half a second on 56K dialup (even slower dialup connections than 56K won't have trouble with it either.)

 

This is a file compression program I wrote in JavaScript when I was 17 after 4 years of effort (I'm 21), and I improved it for 4 more years, which outputs to Base32768, rather than the Base2 of binary, and features AES256-CTR encryption too. Files don't have to be binary. This program's files have the .B3K extension. This program makes no external requests and can be ran offline.

 

A place for debunking what people get wrong about nonbinary people.

Rules:

  1. Please don’t be a bigot.
  2. Don’t be a jerk.
  3. Follow TOS.
  4. Please spoiler and properly flair the dark stuff. If it’s NSFW, mark it as such.
  5. Please avoid starting catfights.

You get the idea.

Important Information:

This Community was made by an intersex person who is also nonbinary. As the maker of this sub, let me say that in all my years of social media usage, I have seen SO many people not know the first thing about what being nonbinary is, much less the details of it. This Community is intended to be a place where inaccuracies about nonbinary people are to be debunked.

 

So over the years I have made a ton of pride art, and I feel like because it is Pride Month and other platforms are less-than-stellar, I would post my pride art on a better platform. I also have merch of much of it available on RedBubble (at http://stgiga.redbubble.com) for those who want it, but as with all of my content, the source files remain free for anyone to do what they want with.

 

So, given how r/Traa is going, among other subreddits, I figured I should make a Lemmy and migrate all my old pride content I posted on LGBTQ+ Reddit to here given what is happening.

Firstly, I am an intersex nonbinary person who uses They/Them, and I am neurodiverse. One of the things I made for LGBTQIA+ Reddit was a nonbinary version of the Sayori meme template, an effort for which Redditors u/ChaoticNeutralAtBest and u/Green_cryptid played a part in. The template is here: https://stgiga.github.io/gigaware/5box.png

I also have project files for it available if you want. Other stuff I posted on LGBTQ+ Reddit was my pride RedBubble (http://stgiga.redbubble.com).

I also have 61 Pride emotes for any platform with 32x32 emotes: http://stgiga.github.io/gigaware/PrideEmotes.zip

I had posted that to LGBTQ+ Reddit too.

On LGBTQ+ Reddit, stuff such as my template had gained traction, especially the less-recent versions.

I also had on LGBTQ+ Reddit told of my experiences on my journey. It was sure an interesting time. I hope Lemmy turns out well!

view more: next ›