mcc Profile picture
21 Sep, 4 tweets, 1 min read
Thinking about Arecibo-style messages and realizing that if you count out the first five primes as unary bits, it comes to exactly 4 bytes. 10111011 11101111 11101111 11111111 . That's sorta neat
Wait hold on and if you continue onward with 13 and 17 (11111110 10111111 11111111 11111111) it fills exactly 8 bytes. That's mostly useless but fascinating
This is neat because my Arecibo ABI for executables can begin with either the first 5 or first 7 primes to indicate whether it is using a 32 bit or 64 bit word size
Okay so now I just have to figure out how to include an example of UTF-8 that clearly self-explains how to do UTF-8 codepoint encoding... ... y'know, I was *supposed* to be working on my game's level-loading code today.

• • •

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

Keep Current with mcc

mcc 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 @mcclure111

20 Sep
Twitter gave me a whole ass push notification this morning to tell me about this important Coffee news
I hate Twitter
It's really infuriating you can turn off push notifications about tweet notifications and topics— which I have, now— but you can't turn off the notifications *themselves*. They understand you might not care, they just don't care whether you care
Read 4 tweets
18 Sep
Don't link/bring up someone else's opinion just for purposes of disagreeing with it. Don't QRT anything in a way that might bring negative attention. Don't RT anyone who sells NFTs. Don't tweet photos w/unblurred faces or license plates. Don't RT pictures of minors for any reason
(Last rule sounds kinda weird when I just write it out like that but my reason is pretty simple: People will often post photos of their kids without thinking that they need to get permission from the kids first, so I assume any photo of kids was posted without their permission.)
Don't fake the funk on a nasty dunk
Read 5 tweets
10 Sep
This doesn't solve the whole problem with Apple's behavior () but wow it sure does chip away one of the most obviously absurd parts

I wonder if this will be allowed to stand or if the government will get bored and wander away like they did with Netscape/MS
Geez I'm like... it's been so long since I've read a piece of news and it was good news that I've completely forgotten how to create emotions in response to reading good news
Read 8 tweets
8 Sep
*Scratching head*
Okay so
Unity has this helpful set of "FileUtil" classes for working with files.
But...
They're in the "UnityEditor" assembly?
Does this mean these methods are only available in code that runs in the editor?!
docs.unity3d.com/ScriptReferenc…
So it turns out that if you're using Unity on Android, & you wish to access the contents of a unity Asset, literally the only way to do it is to make a WebRequest to a file: URL.
This is claimed by both the docs
docs.unity3d.com/Manual/Streami…
And by Unity Answers
answers.unity.com/answers/166392…
This raises a question:
How do you get a list of your streaming assets, or a list of the contents of a streaming asset directory, on Android?
The answer is simple:
*You can't*.
*You literally can't do it*. There is no way.
You have to get an external zip file parser library! D:
Read 4 tweets
8 Sep
Has anyone ever used Unity with Android?
I'm trying to figure out how you run a game on an Android device and get back Console messages while doing so.
If I do "Build and Run" and then in Console I try to change from "Editor" to AndroidPlayer(ADB...) it just... doesn't work, and if I manually run adb.exe I don't see the console messages I expect to see.
Do I have to make a Development Build? Do I need some kind of plugin to enable logcat? How does this work?
Read 5 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!

:(