TheDartCode (@thedartcode) header
TheDartCode (@thedartcode) profile picture

Frontend Engineer. Reverse Engineer. Gamehacker. Jack Of All Trades

In th middle of invalid memory
Joined March 2014
Photo by TheDartCode (@thedartcode)Photo by TheDartCode (@thedartcode)Photo by TheDartCode (@thedartcode)Photo by TheDartCode (@thedartcode)
Nobody in crypto is talking about the $1 billion Bitcoin operation that gets wiped out if the bombs fall. Iran mines Bitcoin at $1,320 per coin on subsidized electricity and sells it at $68,000. A 50x gross margin. Not a hedge fund return. Not a venture multiple. Fifty times on power costs alone, running on electricity priced at half a cent per kilowatt hour while Iranian civilians suffer rolling blackouts because 700,000 mining rigs are draining 2,000 megawatts from a collapsing grid every single day. 95 percent of those rigs are illegal. The IRGC runs the largest operations, exempt from electricity bills, consuming power from facilities that simultaneously cause blackouts in hospitals and homes. The regime legalized mining in 2019 specifically to convert sanctioned energy into unsanctioned hard currency. Bitcoin is not a side hustle for Iran. Bitcoin is the single most effective sanctions evasion tool in the regime’s arsenal. Every block mined on subsidized Iranian electricity is a direct conversion of state-subsidized energy into dollars that no SWIFT ban can touch. Iran accounts for 2 to 5 percent of global Bitcoin hashrate. That means roughly 1 in every 25 blocks confirmed on the Bitcoin network is being validated by machines that fund the IRGC, the same organization massing troops at the Iraqi border, operating the missile batteries the F-22s were sent to suppress, and running the nuclear facilities the B-2s are programmed to destroy. Now connect this to the strike. Iran’s power grid is already failing. The mining operations consume the equivalent of a mid-sized city’s electricity demand. A military campaign targeting critical infrastructure, command nodes, radar installations, and military communications would cascade through the same grid that powers the mining farms. You do not need to target Bitcoin mining specifically. You just need to hit the grid that sustains it. A 7-to-10 day air campaign collapses Iranian electricity generation by an estimated 30 to 50 percent. That does not reduce mining by 30 to 50 percent. It eliminates it entirely, because mining rigs require continuous power and even brief outages destroy active operations. The global Bitcoin hashrate drops 2 to 5 percent overnight. Difficulty adjusts downward. Block times extend. Transaction fees spike. And $1 billion in annual Iranian crypto revenue, the hard currency pipeline that no sanction could close, goes dark in the same week the centrifuges stop spinning. The market is pricing Iran risk into oil. Nobody is pricing it into Bitcoin. Every hash produced in Iran today is a countdown timer. When the grid goes, the hashrate goes with it. And the IRGC’s last unsanctionable revenue stream dies alongside the enrichment program it was funding.
432
590
146
2,736
1,108,866
Scheduling your team at 100% capacity is a great way to ensure that nothing will be delivered on time.
45
729
128
4,295
TheDartCode retweeted
The Fourier Transform explained in one sentence [source and read more, by Stuart Riffle: buff.ly/3ILfsdD]
66
957
114
5,794
TheDartCode retweeted
There's actually a formula for this if you wanted to go a step further — inner radius = outer radius - distance between outer and inner edge
⚪️Tip - 43 Border Radius
87
730
105
6,055
This deck of cards has a bar code printed on the edge of each card. Scanning these bar codes would reveal where every card is (or isn't - if cards are missing.) Think card magic. 1/
72
864
170
6,606
empty
28
2,252
152
12,357
TheDartCode retweeted
Celsius is one of the largest centralized gateways to crypto. It raised $864m of venture capital and at one point custodied over $3 billion of funds for 1m+ customers. As of today, it appears insolvent, and it's taking the whole crypto market with it. The Celsius Thread: 👇
506
3,883
908
16,684
TheDartCode retweeted
🐚 Brace expansion in shells like Bash and Zsh can be very useful to avoid repeating yourself. ✨ For example, if you want to do: $ mv some_long_file_name.txt some_long_file_name.rs You can write this instead: $ mv some_long_file_name.{txt,rs} Here's some ways to use braces:
22
359
41
2,062
We built an internal game at Shopify to make virtual hangouts more fun. It’s called Shopify Party, and I’d love to tell you all about it 👇🏻 [1/6]
75
366
312
2,439
Έστω οτι παίρνεις αύξηση 1000€/χρόνο μικτά. Πόσα από αυτά ειναι καθαρά, πόσοι οι φόροι και οι εισφορές; Από 47k-92k οι φόροι και οι εισφορές ξεπερνούν τα καθαρά. Από aftertax.gr σε excel: docs.google.com/spreadsheets…
7
19
3
77
TheDartCode retweeted
Ever frustrated by the fact that ✅ only has a green counter part (❎) but not a red one? CSS `filter: hue-rotate(-120deg)` can help!
18
81
8
740
Dear @elonmusk, Hello from a Funeral House in Greece, with such a Vision! We also are the No1 brand in the country but... we want to go global. How about "EVENT HORIZON Funeral Services"? Thank you a priori. -Alkis Mpoukouras, Drapetsona-Greece.
37
256
15
824
TheDartCode retweeted
Would you call bypassing copyright via machine learning "code laundry"?
2
4
13
GitHub Copilot raises some interesting questions about code ownership. Who is the owner when the code is generated for you? This is important in open source, as CLAs and DCOs require you to give some guarantees that you are the owner, or at least, have permission from the owner.
17
53
4
261
TheDartCode retweeted
How do you pronounce gif?
58%gif
42%gif
971 votes • Final results
14
10
3
50
TheDartCode retweeted
Stumbled over an obscure @ChromeDevTools feature: named loggers.
7
17
2
163
TheDartCode retweeted
Мы долго ждали, и вот они на сцене — Александр Коротаев @mamu_eval, Виктор Вершанский @went_out и Theodore Vorillas @vorillas. Все самое интересное о том как написать свой eval(), о благой синхронности JS и об основных принципах интернета вещей. #holyjs
4
9
“Below the surface of the machine, the program moves. Without effort, it expands and contracts. In great harmony, electrons scatter and regroup. The forms on the monitor are but ripples on the water. The essence stays invisibly below.” - Master Yuan-Ma, The Books of Programming.
2
103
6
339
lsof
39
891
52
3,270
So often when someone bashes JavaScript, they mistakenly think that JS programmers are not aware of its faults.
21
113
7
462