fiveoutofnine Profile Banner
⁵⁄₉ Profile
⁵⁄₉

@fiveoutofnine

Followers
10K
Following
25K
Media
1K
Statuses
3K

Joined June 2020
Don't wanna be here? Send us removal request.
@fiveoutofnine
⁵⁄₉
3 years
I've learned a lot in the past from reading contracts, so I put together a list of smart contracts I find cool, fun, or interesting (e.g. on-chain 3D renderers, ERC721 quine NFT, etc.):.
28
138
979
@fiveoutofnine
⁵⁄₉
3 years
This 1 line of code demonstrates 3 months of research on board representation, piece representation, and chess engines. It checks the legality of any chess knight/king move. Here's a breakdown:
Tweet media one
46
116
893
@fiveoutofnine
⁵⁄₉
3 years
NFT minting with 30 day ETH back guarantee. Maybe teams can do something similar to reduce risk for minters?
Tweet media one
54
72
744
@fiveoutofnine
⁵⁄₉
3 years
I finally deployed my on-chain chess engine NFT: where you play against the smart contract. 59 moves max per game, 59 games max. Engine, art, metadata are all 100% on-chain. I spent at least 200-300 hours on this project since October. Mint is free.
67
120
716
@fiveoutofnine
⁵⁄₉
2 years
I just found the biggest hustler on crypto GitHub. omahs has forked 1600+ repos to "chore: fix typo" on each of them:
Tweet media one
Tweet media two
32
24
516
@fiveoutofnine
⁵⁄₉
7 months
Excited to share that I’ve joined @ElectricCapital as an EIR
Tweet media one
75
12
471
@fiveoutofnine
⁵⁄₉
2 years
How the "brains" of a chess engine can beat the average person with just 8 numbers:
Tweet media one
10
49
408
@fiveoutofnine
⁵⁄₉
2 years
Finally finished v1 of my personal site + design system!.
37
40
327
@fiveoutofnine
⁵⁄₉
3 years
protip: if you have some project idea, search with `lang:solidity`. might save some work/give inspiration
Tweet media one
6
49
355
@fiveoutofnine
⁵⁄₉
3 years
first dex I interacted with
Tweet media one
8
22
292
@fiveoutofnine
⁵⁄₉
1 year
There is a fully onchain NFT on @base you could only mint by beating a chess engine in a @warpcast_ frame. Only 26 out of ~4390 people succeeded (≈0.59%)
Tweet media one
9
18
280
@fiveoutofnine
⁵⁄₉
3 years
Show this to anyone that thinks you can enforce royalties at the contract layer. (wrap NFT with overridden transfer function, transfer the wrapped NFT, then unwrap whenever)
Tweet media one
22
20
259
@fiveoutofnine
⁵⁄₉
1 year
In the last 555 days, I ran 10,000km with 0 rest days. To commemorate that, I built 555 (1000 × ⁵⁄₉), a fully onchain, ⁵⁄₉-themed collection. Mint:
44
32
244
@fiveoutofnine
⁵⁄₉
6 months
why are they roasting my project from 2021 ??? wtf
Tweet media one
@zksync
ZKsync (∎, ∆)
6 months
2025 is around the corner. Bitcoin at new ATHs. ZK Chains are launching left and right. And you? You’re still clicking buttons to sign transactions. NO MORE. Introducing ZKsync SSO, a toolkit for devs to create Web2-like UX for Web3 applications across the Elastic Chain.
15
1
251
@fiveoutofnine
⁵⁄₉
2 years
foundry users crying rn
Tweet media one
6
20
235
@fiveoutofnine
⁵⁄₉
2 years
Commemorative NFTs for the @curta_ctf team's top 10 finish in the @paradigm_ctf:.◆ 100% onchain audio.◆ 100% onchain animation.◆ 100% onchain metadata.◆ 0 browser APIs.◆ 3 melody lines + 1 bass line with volume progression
8
53
159
@fiveoutofnine
⁵⁄₉
2 years
Introducing: UI/UX explorations of on-chain data. For the first exploration, I built an easy way to browse through on-chain messages with a familiar, chat-like interface:
Tweet media one
22
26
208
@fiveoutofnine
⁵⁄₉
2 years
Tweet media one
9
10
207
@fiveoutofnine
⁵⁄₉
3 years
How to loop through some numbers when the increment isn't easy/cheap to express mathematically:. 3, 4, 5, 6, 10, 11, 12, 13, 17, 18, 19, 20 are assigned to `value` in the example below (in that order)
Tweet media one
12
15
201
@fiveoutofnine
⁵⁄₉
6 months
rawdogged my first sub-3 marathon. no prep/taper, no water, no fuel, 4:00/km (6:27/mi)
Tweet media one
34
2
210
@fiveoutofnine
⁵⁄₉
3 years
can someone make this for solidity/vyper 🙏
12
14
193
@fiveoutofnine
⁵⁄₉
3 years
doing so much thinking before implementing something in solidity that I feel more like a philosopher than a dev.
14
12
191
@fiveoutofnine
⁵⁄₉
2 years
How to represent a game of Tic-tac-toe with just 2.25 bytes:
Tweet media one
8
18
193
@fiveoutofnine
⁵⁄₉
3 months
excited to announce that I've acquired a (real) curta calculator, a mechanical device widely considered the best portable calculator until electronic ones came out in the 1970s
Tweet media one
22
5
189
@fiveoutofnine
⁵⁄₉
3 years
I’m excited to finally announce that I’m building @waterfall_mkt, an on-chain NFT trading and pricing protocol to solve NFT pricing and illiquidity.
Tweet media one
5
25
178
@fiveoutofnine
⁵⁄₉
2 years
thanks for the recommendations, time to level up 😎
Tweet media one
5
6
178
@fiveoutofnine
⁵⁄₉
1 year
happy 5/9 day 😃.
23
4
177
@fiveoutofnine
⁵⁄₉
2 years
Been finding this useful for getting full coverage on unit tests w/ Foundry:. 1. Add ` to .gitignore.2. Run `forge coverage --report lcov`.3. Install the "Coverage Gutters" extension 4. cmd+shft+p > "Display Coverage Gutters"
Tweet media one
8
25
171
@fiveoutofnine
⁵⁄₉
3 years
why use when you can spend 54k USD to play chess on ethereum
Tweet media one
@VitalikButerin
vitalik.eth
3 years
Re: non-financial blockchain use cases.
Tweet media one
9
10
152
@fiveoutofnine
⁵⁄₉
2 years
solidity devs be like
Tweet media one
4
5
159
@fiveoutofnine
⁵⁄₉
1 year
MANHATTAN PERIMETER ULTRAMARATHON (7:10/mi)
Tweet media one
17
1
156
@fiveoutofnine
⁵⁄₉
1 year
Implementing 100% onchain worlds with terrain generation and hyper-optimized pixel art
Tweet media one
12
12
154
@fiveoutofnine
⁵⁄₉
9 months
Introducing Tardis: collections of past EVM CTFs to play locally and level-up your skills. Starting w/ past @curta_ctf puzzles to solve, even after submissions have closed .
5
13
154
@fiveoutofnine
⁵⁄₉
2 years
How I built Checks on-chain in <1 hour using ColormapRegistry:
Tweet media one
12
21
148
@fiveoutofnine
⁵⁄₉
2 years
I feel like this is the best compliment known to man
Tweet media one
7
2
148
@fiveoutofnine
⁵⁄₉
3 years
this + is OP.
4
26
145
@fiveoutofnine
⁵⁄₉
3 years
Setting empty storage slots costs a lot more gas than setting nonzero storage slots, and oftentimes, you don't need all 256 bits. Realistic (?) example below that would actually have pretty significant savings:
Tweet media one
Tweet media two
5
21
135
@fiveoutofnine
⁵⁄₉
3 years
Why does the first one overflow, but the second one doesn't?
Tweet media one
6
7
137
@fiveoutofnine
⁵⁄₉
2 years
this font increased my productivity 10x
Tweet media one
11
2
136
@fiveoutofnine
⁵⁄₉
2 years
my first pure SVG animation
9
2
137
@fiveoutofnine
⁵⁄₉
2 years
How I implemented these on-chain ASCII characters for
Tweet media one
14
14
137
@fiveoutofnine
⁵⁄₉
3 years
How to turn `if` blocks into 3 bit operations for small gas savings. I actually went with the top one because it was for a view function, and code readability is nice (though gas savings are more important if tested thoroughly, IMO) :)
Tweet media one
4
20
136
@fiveoutofnine
⁵⁄₉
17 days
hardware engineers/embedded systems engineers have the coolest business cards:.- card that can fly¹.- card that runs linux².- card that's an electronic keyboard³.- card that's a fully programmable microcontroller⁴
Tweet media one
Tweet media two
Tweet media three
Tweet media four
7
4
135
@fiveoutofnine
⁵⁄₉
15 days
fueling for my 50mi run:.6.5L of water.1.2L of Gatorlyte.1L of coffee.10 Liquid IV.7 Maurten 160 gels (40g carbs).2 strawberry rollcakes.2 chocolate cheesecakes. I put it all in a bag, tied it to the treadmill, and consumed ~70% of it during the 6 hours
Tweet media one
@fiveoutofnine
⁵⁄₉
3 months
happy valentine’s
Tweet media one
17
0
135
@fiveoutofnine
⁵⁄₉
3 years
My chess engine project was a creative project (mainly the idea of putting an engine on-chain) and optimization challenge. A lot of interesting research I had to do for it, so it's VERY tiring when ppl "suggest" p2e/dao/giveaway for it. Not everything has to make money/hype 🙃.
8
3
122
@fiveoutofnine
⁵⁄₉
1 year
whitepaper vs protocol
Tweet media one
Tweet media two
5
3
128
@fiveoutofnine
⁵⁄₉
4 months
first non-technical blog post (!): a list of great self-taught feats/careers. I wrote it because I like to think anyone can learn to do anything if they try hard enough, and it's inspiring to see the greatest examples.
7
16
134
@fiveoutofnine
⁵⁄₉
10 days
happy 5/9 day 😃.
@fiveoutofnine
⁵⁄₉
1 year
happy 5/9 day 😃.
11
0
127
@fiveoutofnine
⁵⁄₉
1 year
234 WPM
21
2
120
@fiveoutofnine
⁵⁄₉
1 year
Breakdown of how this piece of cursed code help me put music onchain
Tweet media one
5
8
118
@fiveoutofnine
⁵⁄₉
1 year
study how constrained environments bring out some of the most creative outputs.
7
8
116
@fiveoutofnine
⁵⁄₉
2 years
How I implemented Sodoku on-chain for @curta_ctf's Puzzle #1: 2 × 4 = 8
Tweet media one
8
21
111
@fiveoutofnine
⁵⁄₉
2 years
ran my first ultramarathon!
Tweet media one
15
0
112
@fiveoutofnine
⁵⁄₉
2 years
To be, or not to be
Tweet media one
6
3
115
@fiveoutofnine
⁵⁄₉
3 years
Many people that have gone through my chess contract have asked for help with the bit twiddling, so I removed as much of it as I could + wrote it in Python to make it easier to follow. It's logically equivalent, so it should serve as a nice 1:1 guide:
Tweet media one
2
9
108
@fiveoutofnine
⁵⁄₉
1 year
Tweet media one
3
5
110
@fiveoutofnine
⁵⁄₉
3 years
Small optimizations you should always keep in mind for some operands `n` and `m`:. `n << m` instead of `n * (2^m)`.`n >> m` instead of `n // (2^m)`.`n & (2^m - 1)` instead of `n % (2^m)`.
7
7
105
@fiveoutofnine
⁵⁄₉
3 years
Alternative idea: vested primary sale funds. Most devs don't *want* to rug at first. It just happens because primary sales are so high. If funds are locked up for, say, 3 months, perhaps they will be incentivized to impl. the roadmap? If >x% refunded, funds go into a multisig.
Tweet media one
10
7
102
@fiveoutofnine
⁵⁄₉
25 days
I made the cloudflare "content restricted" error into a fully on-chain NFT to make the image accessible forever
Tweet media one
19
4
108
@fiveoutofnine
⁵⁄₉
1 year
How I generate a 1:38-long audio file from just 56 bytes of data
Tweet media one
8
8
100
@fiveoutofnine
⁵⁄₉
6 months
EVM devs using solana for the first time
Tweet media one
5
3
105
@fiveoutofnine
⁵⁄₉
2 years
How to build a simple identicon generator with 6 lines of code:
Tweet media one
Tweet media two
5
7
105
@fiveoutofnine
⁵⁄₉
3 years
Some useful functions for modifying colors on-chain. Explanations below.
Tweet media one
1
12
101
@fiveoutofnine
⁵⁄₉
3 years
When you need a quick/small mapping, bitpacking values into a `uint256` can actually *simplify* the process!. For example, if you want to return true/false for (0, 1, . , 255), and a pattern is hard to establish algorithmically:
Tweet media one
4
7
101
@fiveoutofnine
⁵⁄₉
3 years
who wants catan on-chain.
11
3
100
@fiveoutofnine
⁵⁄₉
6 months
3
91
79
@fiveoutofnine
⁵⁄₉
1 year
new half marathon PB ✌️. 1:18:51 (6:01/mi = 3:44/km)
Tweet media one
18
0
99
@fiveoutofnine
⁵⁄₉
2 years
fire contract dropping soon 👀
Tweet media one
9
3
99
@fiveoutofnine
⁵⁄₉
3 years
I wrote a write-up on bit operations and how you can use them to gain more granular control of your code. It includes an implementation of tic-tac-toe almost entirely using bit operations to show my thought process as well.
5
20
97
@fiveoutofnine
⁵⁄₉
1 year
console.sol returned 1,310 matches in 936 contracts
Tweet media one
20
7
97
@fiveoutofnine
⁵⁄₉
1 year
you can download an audio file of the rocky theme song directly from @base
Tweet media one
5
2
97
@fiveoutofnine
⁵⁄₉
1 year
what the fuck
Tweet media one
9
3
95
@fiveoutofnine
⁵⁄₉
1 year
mogged by @transmissions11
Tweet media one
3
2
97
@fiveoutofnine
⁵⁄₉
3 years
39.1% cheaper gas for situations like this. IMO, this justifies the decrease in readability. but even then, I don't think it's *that* esoteric. what the code does is pretty clear with just a couple lines of comments
Tweet media one
@fiveoutofnine
⁵⁄₉
3 years
@0xkrane @transmissions11 fair, but for a situation where the numbers are very random/lacking a pattern, this isn't that bad. e.g. how would you loop 23, 254, 124, 77, 178, 34, 251, 247, 232, 238, 133, 122, 167, 211, 211, 17, 181, 28, 253, 65, 247, 169, 202, 74, 110, 65, 93, 191, 211, 200, 102, 19?.
8
5
96
@fiveoutofnine
⁵⁄₉
3 years
protip: you can also initialize events/errors with key-value mappings to prevent foot guns and improve readability
Tweet media one
3
6
96
@fiveoutofnine
⁵⁄₉
3 years
Directly using some conditional result (`true` as 1 and `false` as 0) to create branchless optimizations is underrated by optimizoors. Some random examples:
Tweet media one
Tweet media two
Tweet media three
8
2
94
@fiveoutofnine
⁵⁄₉
2 years
WEB3 NATIVE RECRUITING + CREDENTIALS. Anyone can solve puzzles @curta_ctf to establish on-chain credentials and get job opportunities. e.g., @SpearbitDAO is offering JSR consideration for placing top 5 on
@spearbit
Spearbit
2 years
Can't wait for everyone to try out our CTF over on @curta_ctf made by our very own @_hrkrshnn. As a reminder - the top 5 placements will receive an opportunity for a JSR role at Spearbit :).
2
28
70
@fiveoutofnine
⁵⁄₉
2 years
6 months of running everyday. ≈ 3970km.≈ 2467mi.≈ 94 marathons
Tweet media one
15
0
92
@fiveoutofnine
⁵⁄₉
1 month
proud to announce that I have re-discovered this book in my apartment 2 years after buying it and have read zero (0) pages of it.
@fiveoutofnine
⁵⁄₉
2 years
thanks for the recommendations, time to level up 😎
Tweet media one
8
1
96
@fiveoutofnine
⁵⁄₉
3 years
Multipart generative puzzle CTF:. Each part has 2 functions:.1. `generate` (seeded with `msg.sender`; e.g. empty minesweeper board).2. `verify`. Participants have to figure out valid inputs based on both functions. First to solve all parts can claim an NFT and lock minting.
Tweet media one
6
8
86
@fiveoutofnine
⁵⁄₉
2 years
compilation of the best bit twiddling resources I've come across (linked below)
Tweet media one
4
9
89
@fiveoutofnine
⁵⁄₉
3 years
it’s my 20th birthday today, I’m getting old
Tweet media one
20
2
90
@fiveoutofnine
⁵⁄₉
4 months
first time running sub 4:40
Tweet media one
14
0
93
@fiveoutofnine
⁵⁄₉
3 months
1 thing I learned in 2024 was people actually do notice the details in your code/work, especially if you do it diligently and consistently over everything you produce.
7
1
92
@fiveoutofnine
⁵⁄₉
2 years
Random useful information: Twitter IDs are 63 bits (minus sign bit), and the first 41 are the timestamps since ≈Nov. 3, 2010
Tweet media one
3
8
86
@fiveoutofnine
⁵⁄₉
3 years
How many NFTs are considered "floor" NFTs in a collection?. I computed `sale_price / floor_at_sale` for BAYC:.38.32% of apes have sold within 5% of the floor before. A collection's floor is currently way too dominant as a pricing reference, and this shouldn't be the case.
Tweet media one
Tweet media two
6
5
91
@fiveoutofnine
⁵⁄₉
2 years
I figured out how to start the next bull run: ETHOrdinals. Send 1 wei to contract w/ a salt as proof of work to inscribe an NFT
Tweet media one
7
2
83
@fiveoutofnine
⁵⁄₉
1 year
Wtf
Tweet media one
@Sabnock66
Sabnock★彡
1 year
Still going at it
Tweet media one
8
3
87
@fiveoutofnine
⁵⁄₉
22 days
got so bored on 16hr flight I started playing with the Timer app until I got the highest possible score
Tweet media one
9
0
91
@fiveoutofnine
⁵⁄₉
3 years
I compiled all NFT mints, ETH value, and gas usage into an 11.94 GB csv:
Tweet media one
6
6
90
@fiveoutofnine
⁵⁄₉
1 month
???
Tweet media one
5
0
90
@fiveoutofnine
⁵⁄₉
2 years
How I implemented 4x4 chess for @curta_ctf puzzle #10: Last One Standing
Tweet media one
8
12
78
@fiveoutofnine
⁵⁄₉
7 months
solidity cdf function
Tweet media one
5
2
85
@fiveoutofnine
⁵⁄₉
2 years
NO WAY APPLE JUST KILLED 500 CTYPTO CONPANIES THEYRE DOING NFT LENDING.
0
2
79
@fiveoutofnine
⁵⁄₉
2 years
live video of me coding in solidity
14
2
80
@fiveoutofnine
⁵⁄₉
4 months
this is going to sound autistic, but I take mental notes on how people take screenshots (e.g. how even is the padding).
11
0
85
@fiveoutofnine
⁵⁄₉
2 years
Invite-gated NFT distribution + supply cap:.* 16 can invite 8 each (128).* 128 can invite 4 each (512).* 512 can invite 2 each (1024).* 1024 can invite 1 each (1024). Supply size: 16 + 128 + 512 + 1024 + 1024 = 2704
Tweet media one
7
3
82
@fiveoutofnine
⁵⁄₉
3 years
I wanted to confirm the myth that auctions’ bids are actually mostly at the start/end, so I visualized @nounsdao auctions’ bids. Even though it was kinda expected, I’m pretty surprised how much action takes place in the last 4 mins
Tweet media one
Tweet media two
Tweet media three
Tweet media four
6
9
78
@fiveoutofnine
⁵⁄₉
1 year
Not many people know this, but there's been a full game of smart contract vs smart contract chess on mainnet ~2 years ago. Seeing @z0age's contract beat mine was like the happiest moment of that month for me
Tweet media one
6
6
80
@fiveoutofnine
⁵⁄₉
2 years
365 days of running every day → 5216.93 total miles. ≈ 100.05mi/week.≈ 199 marathons.≈ 5/9 marathons/day
Tweet media one
9
1
78