foone Profile picture
7 Apr, 9 tweets, 3 min read
I updated SorryPunk! It now has a fallback for characters that aren't in the font, so if you want to use characters that aren't included, it'll use your browser's font fallback and you'll get something instead of nothing.

sorrypunk.com
the generator is based on the one used by DeathGenerator.com but using the font as used on cyberpunk.net, and it includes all the characters provided by it. This is basically just the western languages characters + Cyrillic
so I can't just add in missing characters, they don't exist in the right font. So instead I'm switching to rendering missing characters in "Verdana" (not really) using the browser's text rendering.
Your browser will try to render those characters, see they don't exist in the font, and use whatever complicated font fallback algorithm it has, and render them with the available font (assuming you have a font that can render them)
I should probably figure out how hack around javascript's weird UCS-2 unicode system so it'll support characters outside the BMP and then we can have EMOJI
well, uh, that's not exactly what I expected
it turns out it was an obvious mistake:
for (foo in bar)
and
for (foo of bar)

are completely different in javascript because it is a dumb language
and I am a dumb programmer.

Anyway it's updated now. Emoji away!
(you might need to do ctrl-f5 or ctrl-shift-R to do a hard reload to make sure you're running the new code)

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with foone

foone Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Foone

8 Apr
Fun fact: this would be a disaster, yes, but not as bad as it would be on telescopes like the Hubble.
Because the JWST doesn't have one mirror, it has a METAMIRROR made of 18 smaller mirrors
It's 18 hexagonal mirrors. Image
So if you did drop a hammer on the JWST, they'd only have to replace that single mirror, not the whole thing.
Read 35 tweets
8 Apr
Remember, when packing up for a move, you gotta prioritize. Get the most important stuff first.

Specifically, that's Manos on VHS, Intel 486 poster, TransBot for the SMS, and 1" Tungsten cube. ImageImageImageImage
Thankfully I still have my carrying case. Image
All sealed up and ready to go. Image
Read 4 tweets
7 Apr
Me: OK, I can park this huge truck behind this gas station for a minute. It's going to be slightly tricky to back out with the lack of rear view mirror, but I have plenty of room and I can go slowly...
Shiny New Tesla: *parks directly next to me*
Me:
I just sat here and waited for them to leave. I don't want to pay astronomical insurance premiums for the rest of my life just because I ran over a Tesla with a uhaul that one time
And when I say "Shiny New", I mean it. I'm less than a mile from the Tesla factory, that thing probably still has the protective film covering the dash.
The odometer probably still says zero
Read 7 tweets
7 Apr
stupid idea: the c64 has two analog inputs, in the forms of the X/Y paddle ports. each one can read 256 analog values, so by hooking up a DAC to them you could communicate with the c64, 16 bits at a time
so apparently the SID (yes, it's hooked up to the sound chip. don't ask) updates the value every 512 cycles, so on a 1mhz c64 you can only get new values a bit under 2000 times a second.
So you'd maybe be able to manage ~2000 cps, or a bit over 9600 baud?
anyway the real reason this is a "stupid idea" is that the c64 has an expansion slot, a user port, a serial port, and a cassette port, all of which are easier to interface with (and probably faster)
Read 64 tweets
7 Apr
LIGHT UP TRANSPARENT PLASTIC TRACKBALL ALERT
it's a CRYSTAL TRACKBALL
It's on ebay, if you want it
ebay.com/itm/Vintage-Co…
Read 5 tweets
7 Apr
I mean, no? but technically this is progress
weirdly no matter what size I tell it to you, it always renders at the same TINY TINY size
well that's technically better
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!