Simeon (@cmiondotdev) header
Simeon (@cmiondotdev) profile picture

“Who is like You, O Lord, among the gods?”

Terra Cimmeria, Mars
Joined March 2014
Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)Photo by Simeon (@cmiondotdev)
Replying to @lanreadelowo
If you need api pricing with a mix of ID verification when signing a document you should try out DigiSign (usedigisign.com)
3
Replying to @seanfield_lfc10
Or you want to see Liverpool win 🤷🏾‍♂️
2
It’s just a Screen Time / Privacy settings You can turn it off and Apple is not capturing or storing your intimate photos.
1
71
Yes they did, lessons learnt, still better than prison tho. That dude will be a big plus in our AI generated world of security nightmares. So better than jail.
7
I understand. Microsoft is absolutely lowballing him, they have a bad reputation for not paying security researchers good bounties
1
8
What should he do? Break the law and end up in jail?
2
122
Replying to @opencode
@opencode I was tryna login
15
Btw this is why computer science matters. Yes, you can self teach it if you really want to (I personally wouldn't have had the discipline, so college was a way better force). However you learn it, the theoretical fundamentals matter and get applied to work every single day.
If you're interested in "how" or "why": the major culprit is that each row in Alacritty has 32 bytes of metadata and each cell is 24 bytes. In Ghostty, every row and cell is represented by exactly 8 byte each. How do we do this? The first major culprit is styles. Alacritty stores the full cell style alongside each cell (foreground, background, underline, etc.). Ghostty stores a 16-bit style ID and de-dupes all styles into a look-aside custom reference-counted hash table. MOST cells are unstyled, and when there are styles MOST styles are shared, and when styles are shared MOST are repeated in a run (multiple cells with the same style in a row). Put this all together, and the tradeoff on compute to access it doesn't even end up being slower. Next, codepoints. Alacritty stores multi-codepoint graphemes (like, Emoji) by having an 8-byte nullable pointer to a `Vec<char>`. This hurts doubly: (1) its almost always null (because multi-codepoint is rare) yet you pay an 8 byte cost on every cell and (2) every multi-codepoint grapheme triggers a heap allocation to make that Vec. Ghostty stores single codepoints inline, but multiple codepoints in a look-aside table. The memory for this table uses a custom bitmap-tracked chunk-allocator (since grapheme frequency follows a measurable curve we calculated by scanning various online texts). The presence of graphemes is marked by a 2-bit content tag in our packed 64-bit cell. To keep the key small in the hash table, its limited to a 16-bit unsigned int that is an offset from a base pointer. Okay, the astute systems programmer will quickly notice there are a lot of 16-bit integers and ask: so this is all limited to a max of ~65K values? Nay. We maintain our grid using a linked list of contiguous ~400KB memory chunks (which themselves are in a memory pool using a custom allocator to speed up alloc/free). Each memory chunk is limited to 2^16. If/when we reach a limit, we move to the next page. In practice, this really doesn't happen except under pathological cases... the important point is we handle it. Lots, lots, lots more details, but thats a 10,000 foot view. These things alone account for ~95% of the difference of our uncompressed vs. Alacritty's uncompressed memory usage. (Theres also a reason why Alacritty's data structures aren't trivially compressable but thats a whole other topic)
45
160
13
2,998
277,107
Simeon retweeted
idea guys think simply having the idea means they should be successful programmers think simply being able to build the idea means they should be successful
131
84
17
2,167
94,180
Simeon retweeted
Replying to @Sportzz1 @BBCSport
Not every victory will look the same , sometimes it has to look different , that’s growth,consistency and mentality packed together to make a different experience.
2
1
101
Happy birthday to me 🎉🎉
1
6
Hey @CloudflareDev I have an outbound worker attached to my dispatch worker (WfP). It all of a sudden stops receiving outbound fetch calls. Did anything change that I don't know about?
8
Replying to @ryanvogel
Is this using an unlisted YouTube Live?
209
Replying to @HiTw93
Yo I did not know you released a GUI I’ve been using the terminal app since
36
Simeon retweeted
boris cherny goes on a podcast every three months and says something like “i’ve stopped breathing now i just wrote a breath.md” and the next day everyone in sf stops breathing
130
453
55
9,127
364,448
This sums up tonight’s game #PSGARS
1
99
Replying to @YouTube
@YouTube's comments do not change when i click on a new video. This is a @jetbrains video with an @MKBHD comment. "The cost of building software is trending towards zero (if you don't count the token usage), but it's getting more impossible to build quality software 🥲"
1
1
82
Yeah. The highlighting is done client side using oniguruma (typescript-based or WASM)
2
63