Ralf Elfving (@ralfelfving) header
Ralf Elfving (@ralfelfving) profile picture

Building, and running 12 ultramarathons in 2026 Progress: 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜️ Prev. data/product @shopify @klarna & @gadget_dev

Victoria, British Columbia
Joined June 2011
Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)Photo by Ralf Elfving (@ralfelfving)
Ralf Elfving retweeted
Replying to @dhh
Canada
32
18
5
1,176
23,820
Ralf Elfving retweeted
Replying to @gary_srp
@gary_srp stop C-22 now.
40
162
8
1,098
29,450
Taxing the Unrealized: A View on the Netherlands’ Planned 36% Capital Levy 🇳🇱 The Dutch merchant tradition was built on one principle: tax realized trade, not hypothetical valuation. A 36% tax on unrealized capital gains is not a technical tweak — it is a structural intervention into capital formation. I) The Mechanism a) Starting position 500 shares Value Jan 1, 2028: €50,000 Value Jan 1, 2029: €100,000 Unrealized gain: €50,000 You did not sell. The state treats it as income. b) Exemption €3,600 (married) Taxable: €46,400 Tax at 36%: €16,704, payable in May. Liquidity irrelevant. c) Market correction scenario Portfolio falls to €60,000. Tax bill remains €16,704 (based on peak valuation). d) Forced sale After paying tax: €43,296 left. Shares drop from 500 to 360. 28% of ownership permanently gone. e) Economic result Final value: €43,296 Original cost: €50,000 Net: –€6,704 A €10,000 real gain becomes a loss. This is not taxation of profit. It is confiscation of volatility. II) Why This Is Destabilizing a) It Violates the Realization Principle Prices reflect expectations, time preference, and risk. Taxing unrealized gains assumes certainty where none exists. It turns market signals into tax liabilities. b) It Forces Pro-Cyclical Selling Bull markets expand the tax base. Corrections force liquidation into weakness. Volatility is amplified, and long-term holders are penalized. c) It Destroys Compounding Capital formation requires reinvestment and deferred taxation. Annual taxation of appreciation weakens equity ownership and private wealth accumulation. III) Outlook If capital is taxed independent of liquidity, behavior adapts. Migration HNWIs shift domicile toward lower-tax jurisdictions (Switzerland, UAE, Singapore). Holding structures move abroad. Wealth Drain Entrepreneurs delay IPOs, avoid domestic listings, and build offshore. Money Drain Capital rotates from public equities into private vehicles, hard assets, gold, and bitcoin — assets harder to mark annually. Brain Drain Talent follows capital. When upside is taxed before realization, risk-adjusted innovation declines. IV) The Deeper Shift This policy moves: - From taxing transactions → to taxing appreciation itself. - From taxing income → to taxing expectation. The Netherlands 🇳🇱 prospered through merchant accounting, realized profit, and capital preservation. Detaching taxation from realization may raise short-term revenue. - Medium term, it raises emigration. - Long term, it erodes the capital base. - And capital is what sustains prosperity.
86
246
62
848
202,842
Ralf Elfving retweeted
For the record. Global capital just handed Ottawa the verdict the political class keeps dodging: Canada is no longer a serious jurisdiction for large‑scale resource investment, it’s a cautionary tale. Glencore suspending nearly a billion dollars in planned investment at Horne, Canada’s largest copper metal operation, is not an “unfortunate dispute,” it’s a red card for a country that thinks narratives can substitute for net present value. For years, Canadians have been told that the country is a “critical minerals superpower in waiting” while federal and provincial regimes wrapped every project in layers of regulatory ambiguity, shifting targets, and performative climate posturing. Now one of the world’s biggest commodity houses is openly saying it cannot get the conditions required to proceed, demobilizing capital and contractors at a key copper smelter and scaling back at its Montreal refinery. That is not a communications problem; it is a sovereign‑risk problem priced in by balance sheets, not speeches. The timing could not be more damning: in a world obsessing over copper scarcity, with forecasts of global deficits and tight North American supply, Canada is managing to lose investment in its largest copper metal facility because it cannot deliver regulatory clarity or cost‑effective compliance. This is exactly the opposite of what a rational, opportunity‑seeking state would do; it is what a complacent, narrative‑drunk polity does when it mistakes ESG panel applause for an industrial strategy. Carney’s Davos‑style happy talk about fast‑tracking investment and building critical mineral capacity was already straining credulity; Glencore’s move rips the façade off. You do not “fast‑track a trillion dollars” while marquee operators are suspending emissions and upgrade projects and hinting at outright closure if conditions do not change before new rules hit. This is not a sequencing issue; it is a fundamental incoherence between elite rhetoric and the actual investment climate facing anyone who has to sign a multi‑decade, multi‑billion‑dollar cheque. Bay Street, which has spent years nodding along with Ottawa’s performative policies, now finds itself staring at the obvious: if Venezuela can be rehabilitated enough to send barrels back to the Gulf Coast while Canada scares off copper and coal capital, the problem is not “global headwinds,” it is domestic policy failure. The country has squandered a once‑in‑a‑generation advantage in resources, logistics, and rule of law, and replaced it with legal risk, regulatory roulette, and self‑congratulation. This is why Glencore’s suspension matters far beyond Rouyn‑Noranda. It is a live‑fire stress test of Canada’s entire model: if the political class insists on ever‑tighter, ever‑murkier constraints while pretending to court capital, global players will simply redeploy to jurisdictions that may be rougher around the edges but at least understand that projects have to clear in cash‑flow terms. Canada is discovering, painfully, that global capital does not buy “story stocks” in perpetuity; it marks them to reality. Glencore halts major Quebec smelter investment over emissions rules dispute boereport.com/2026/02/03/gle… via @BOEReport
84
466
65
1,097
35,406
Ralf Elfving retweeted
Replying to @StaceyMonette27
Would they sell out as hard as Ford?
2
3
18
1,536
Ralf Elfving retweeted
On this frigid Saturday morning Ontario is generating 21,565MW. Of that capacity: - 255MW is from 4,943MW of wind (1.2%) - 245MW is from 478MW of solar (1.1%) - 107MW is from 851MW of batteries (0.5%) - 169MW is from 287MW of bio (0.8%) - 4,479MW is from 8,866MW of hydro (20.8%) - 7,544MW is from 10,551MW of gas (35.0%) - 8,766MW is from 9,565MW of nuclear (40.6%)
55
275
27
1,484
112,412
Ralf Elfving retweeted
Today in @NatureMedicine we report that AI can predict 130 diseases from 1 night of sleep🛌 We trained a foundation model (#SleepFM) on 585K hours of sleep recordings from 65K people—brain, heart, muscle & breathing signals combined. AI learns the language of sleep🧵
270
2,021
330
10,820
921,284
Ralf Elfving retweeted
The Minnesota child care fraud saga is so strange because years ago it was fully investigated, documented, and reported on by a team of state investigators set up to catch and stop child care fraud. They spent years gathering evidence including many hours of surveillance footage. In 2018 they compiled a detailed report and delivered it to their boss, the DHS Inspector General. Directly from the report: "Investigators, as well as the Supervisor and Manager of this unit believe that the overall fraud rate in this program is at least 50% of the $217M paid to child care centers in CY2017." What did the Inspector General do with this information? She refused to meet with her own team, refused to discuss the findings of the report, and then spent $90,000 of taxpayer money to have an outside company write a report saying the fraud isn't quite as bad as her own team of investigators was claiming. Here's an email summarizing the fraud that the lead investigator sent the IG in 2018. Those currently in the MSM claiming that child care fraud isn't a serious problem should read this. The real question is how highly paid state investigators spent years investigating child care fraud in MN, reported on said fraud, and eight years later not only was the fraud not stopped, it was bigger than ever. 1) Pages 1-4 of 13
744
9,029
623
32,096
1,706,239
Ralf Elfving retweeted
Good news & bad news. Good news for the end of a narco-state. Bad news for the Canadian economy. Canadians have no idea what this means for our oil industry & our economy. A US “friendly” President will be installed. The US will lift sanctions from Venezuela & heavy crude oil will be imported into the US. Meaning, Canada’s primary customer for crude, the US, will now have cheaper options available. By Canada not pushing through with Keystone XL, expansion to Asia and Europe, will cost us dearly. Trump wanted Keystone XL. He mentioned it several times earlier this year. And now he’s got something bigger and better: the biggest oil reserves on earth. This was the key leverage we had on CUSMA… the US dependency on our oil. Now that’s gone. Carney took too long to negotiate, Trump likely realized that Canada will never supply the quantities of oil/gas the US wants/needs & instead, he “diversified”. I know this is going to make Carney sweat. It’s not good news for Canada’s economy. We had a potential for a monopoly & we blew it.
"The United States of America has successfully carried out a large scale strike against Venezuela and its leader, President Nicolas Maduro, who has been, along with his wife, captured and flown out of the Country. This operation was done in conjunction with U.S. Law Enforcement. Details to follow. There will be a News Conference today at 11 A.M., at Mar-a-Lago. Thank you for your attention to this matter! President DONALD J. TRUMP"
1,956
3,210
502
19,515
2,469,029
Ralf Elfving retweeted
baffled that the same physiognomy can produce such radically different outcomes need to rethink my entire worldview what is good, what is evil, how do we identify it...
74
17
6
646
44,362
Added the embedded Claude Chat data fetcher functionality to the GH repo. Arm Claude with the ability to fetch data from the Internet from inside the Claude Chat UI. Demo + GH link 👇 github.com/elfvingralf/claud…
1
2
204
To help explain the weirdness of LLM Tokenization I thought it could be amusing to translate every token to a unique emoji. This is a lot closer to truth - each token is basically its own little hieroglyph and the LLM has to learn (from scratch) what it all means based on training data statistics. So have some empathy the next time you ask an LLM how many letters 'r' there are in the word 'strawberry', because your question looks like this: 👩🏿‍❤️‍💋‍👨🏻🧔🏼🤾🏻‍♀️🙍‍♀️🧑‍🦼‍➡️🧑🏾‍🦼‍➡️🤙🏻✌🏿🈴🧙🏽‍♀️📏🙍‍♀️🧑‍🦽🧎‍♀🍏💂 Play with it here :) colab.research.google.com/dr…
264
1,013
139
7,430
563,585
Ok, sign me up for some real remote work in 2024. If I could hike out to a remote place in the wilderness and live and work comfortably out of a tent for a week, I would. I have no doubt I could carry the gear and supplies, plus battery capacity and panels to power an Apple silicon MacBook, and hopefully whatever this device requires. California somewhere in the Sierras during the summer. What a dream.
NEWS: Elon Musk says @SpaceX will release Starlink Mini later this year. It'll be small enough to fit in your backpack. You'll be able to pull the terminal out of your backpack in the middle of nowhere and connect to fast reliable internet. Incredible🛰️
2
1
6
1,196
Figure has installed ChatGPT in their robots and the results are insane.
52
91
54
478
208,141
Replying to @gilgNYC @heymantle
Love it. The pair Gadget + Mantle is a Shopify App Development Powerhouse 💪
1
4
215
Ralf Elfving retweeted
Replying to @saasromm @chkaffik
Just @gadget_dev and chill sir. 😎
1
1
5
168
Ralf Elfving retweeted
It’s the little things.
40
627
49
8,619
732,667
Replying to @levelsio
No one saw it coming.
1
28
4,565
Ralf Elfving retweeted
Alright, finally have a repo up for this! Still need to finish docs, but you can look through code and add issues. Will be optimizing stuff through the week 1st OS project, learning a lot and excited to build something cool with the @shopify community! github.com/RAAbbott/polaris-…
First personal project of ‘24: polariscomponents.com I'm starting a collection of copy/paste snippets for @shopify Polaris components (+ other helpful things) for use in embedded apps to speed up development, sort of a "TailwindUI" for Polaris. More info in video below 👇
3
4
22
1,714
Ralf Elfving retweeted
When Santa sends gifts from Canada... Back in September, @DsMatie hosted The Wide Event, an event about @Shopify , apps, and e-commerce. There, I discovered @gadget_dev. I was instantly hooked. So, for the past 4 months, I've been exclusively using it for my clients' new apps. And I'm sticking with it in 2024. What a joy to receive a parcel full of goodies from the @gadget_dev team right before Xmas! So thank you very much @hashemito and all the team members!
3
4
25
1,452