<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Uncategorized on Blog of Christian Felde</title><link>https://blog.cfelde.com/categories/uncategorized/</link><description>Recent content in Uncategorized on Blog of Christian Felde</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 28 Jun 2026 12:41:49 +0100</lastBuildDate><atom:link href="https://blog.cfelde.com/categories/uncategorized/index.xml" rel="self" type="application/rss+xml"/><item><title>After the Casino</title><link>https://blog.cfelde.com/2026/06/after-the-casino/</link><pubDate>Sun, 28 Jun 2026 12:41:49 +0100</pubDate><guid>https://blog.cfelde.com/2026/06/after-the-casino/</guid><description>&lt;p&gt;I&amp;rsquo;ve been involved with blockchain since around 2018, with a tilt towards TradFi and enterprise use cases. In all that time, the thing that drew me in was never the price. Back in 2021 I wrote a post with the deliberately unhelpful title &lt;a href="https://blog.cfelde.com/2021/08/dont-use-blockchain/"&gt;Don&amp;rsquo;t use blockchain&lt;/a&gt;. The argument was that blockchain is a bad database and a worse computer: slow, expensive, single-threaded by design. It has exactly one job worth paying that cost for: removing third-party risk. You stop having to trust that some operator keeps running the right software and doesn&amp;rsquo;t abuse their access. That&amp;rsquo;s it. Everything else you should minimize.&lt;/p&gt;</description></item><item><title>The Third Door</title><link>https://blog.cfelde.com/2026/06/the-third-door/</link><pubDate>Fri, 12 Jun 2026 14:23:51 +0100</pubDate><guid>https://blog.cfelde.com/2026/06/the-third-door/</guid><description>&lt;p&gt;The EU Parliament&amp;rsquo;s economic committee just &lt;a href="https://www.heise.de/en/news/EU-Parliament-Compromise-reached-for-digital-euro-11320315.html"&gt;reached a compromise on the digital euro&lt;/a&gt;, and the part that matters got almost none of the coverage. Fees and offline payments took the headlines. Underneath them, the French and German data authorities had forced privacy up the agenda, insisting the digital euro behave like cash. They are right to fight that. They are fighting it on far too small a field.&lt;/p&gt;
&lt;p&gt;Because the digital euro the ECB is actually building is a capped, intermediated, offchain instrument that arrives around 2029. By then the question won&amp;rsquo;t be whether Europe has a digital euro. It&amp;rsquo;ll be whether anyone still needs one. The opportunity in front of the ECB right now is larger than the one it is planning for, it is buildable with technology that already exists, and everything standing in the way is a policy choice. None of it is cryptographic.&lt;/p&gt;</description></item><item><title>In Defense of CROPS</title><link>https://blog.cfelde.com/2026/05/in-defense-of-crops/</link><pubDate>Thu, 21 May 2026 13:58:07 +0100</pubDate><guid>https://blog.cfelde.com/2026/05/in-defense-of-crops/</guid><description>&lt;p&gt;The Ethereum Foundation published &lt;a href="https://ethereum.foundation/ef-mandate.pdf"&gt;its mandate&lt;/a&gt;, and a lot of people read it as a change of direction. It&amp;rsquo;s not. It reads that way because it&amp;rsquo;s the first time the Foundation has written down, in a single place, what Ethereum was always supposed to be. I support the mandate. And I think most of the surrounding noise is either missing the point or defending an arrangement that happened to be comfortable.&lt;/p&gt;</description></item><item><title>How big could EVE Frontier's economy get?</title><link>https://blog.cfelde.com/2026/05/how-big-could-eve-frontiers-economy-get/</link><pubDate>Tue, 19 May 2026 21:11:22 +0100</pubDate><guid>https://blog.cfelde.com/2026/05/how-big-could-eve-frontiers-economy-get/</guid><description>&lt;p&gt;If you&amp;rsquo;ve been following CCP Games&amp;rsquo; &lt;a href="https://evefrontier.com"&gt;EVE Frontier&lt;/a&gt; development, you know it represents something genuinely different from EVE Online. Not just a new game, but a new economic model. Where EVE Online runs a closed economy that legally cannot connect to the broader world, Frontier puts player assets on a blockchain and actively encourages that connection. The in-game economy can plug into the wider crypto world.&lt;/p&gt;
&lt;p&gt;EVE Frontier is still in early testing as I write this. But assume it eventually launches and grows. If it reaches the size of EVE Online in terms of player activity and scope, how big could its economy actually become in real, USD terms?&lt;/p&gt;</description></item><item><title>What the Aave crisis actually showed us</title><link>https://blog.cfelde.com/2026/04/what-the-aave-crisis-actually-showed-us/</link><pubDate>Mon, 27 Apr 2026 10:10:34 +0000</pubDate><guid>https://blog.cfelde.com/2026/04/what-the-aave-crisis-actually-showed-us/</guid><description>&lt;p&gt;If you’ve been watching the rsETH situation unfold over the last week, you’ve probably seen the headlines. A $292M bridge exploit, $13B of TVL fleeing Aave, stablecoin pools pinned at 100% utilization for days, and a slow-motion governance scramble that’s still going on as I write this.&lt;/p&gt;
&lt;p&gt;It’s tempting to file it as “another DeFi hack” and move on. I don’t think we should. This one is unusually instructive, not because the hack itself was novel (it wasn’t, bridges keep getting exploited, and as I’ve said before, I think &lt;a href="https://blog.cfelde.com/2025/07/bridging-is-an-anti-pattern/" title=""&gt;bridging is an anti-pattern&lt;/a&gt;), but because of what the response showed us about how DeFi actually works under stress. We got to see something here that’s hard to see anywhere else.&lt;/p&gt;</description></item><item><title>Why TradFi Failed Blockchain</title><link>https://blog.cfelde.com/2025/12/why-tradfi-failed-blockchain/</link><pubDate>Tue, 16 Dec 2025 17:04:02 +0000</pubDate><guid>https://blog.cfelde.com/2025/12/why-tradfi-failed-blockchain/</guid><description>&lt;p&gt;If you’re like me, having been involved in the blockchain and Ethereum space since around 2018, with a tilt towards TradFi and enterprise use cases, you’ve likely come across numerous private chain initiatives. And with few exceptions, they all missed the point.&lt;/p&gt;
&lt;p&gt;These initiatives often started life as some R&amp;amp;D effort, looking at new tech and trying to map it to their existing culture and structures.&lt;/p&gt;
&lt;p&gt;As such, blockchains were approached purely from their technical capabilities. And they found that blockchains were slow and complex, so instead of calling them blockchains they needed to be called DLTs, so that other distributed technology approaches could be included in the stack.&lt;/p&gt;</description></item><item><title>The Rise of the RST Stack (Rust, Solidity, TypeScript)</title><link>https://blog.cfelde.com/2025/10/the-rise-of-the-rst-stack-rust-solidity-typescript/</link><pubDate>Wed, 15 Oct 2025 21:12:21 +0000</pubDate><guid>https://blog.cfelde.com/2025/10/the-rise-of-the-rst-stack-rust-solidity-typescript/</guid><description>&lt;p&gt;I’m old enough to remember when the LAMP stack (Linux, Apache, MySQL, and PHP) was the go-to choice for building websites.&lt;/p&gt;
&lt;p&gt;Things have changed since then. While PHP is still going strong (think WordPress and similar), many developers now prefer Node.js or other such JavaScript engines when building from scratch, thanks to their flexibility and vibrant ecosystem. TypeScript, and perhaps Postgres or even SQLite then follow. Linux is still a given, so much so we don’t even need to mention it in any acronym.&lt;/p&gt;</description></item><item><title>Risk free rate going technical</title><link>https://blog.cfelde.com/2025/09/risk-free-rate-going-technical/</link><pubDate>Sat, 20 Sep 2025 16:20:11 +0000</pubDate><guid>https://blog.cfelde.com/2025/09/risk-free-rate-going-technical/</guid><description>&lt;p&gt;In finance we sometimes talk about a “risk free rate”. It’s a mythical investment with no risk, paying with 100% certainty according to some defined schedule. As any real investment with actual risks should compensate for those, real investments then must pay an appropriate risk premium above the risk free rate.&lt;/p&gt;
&lt;p&gt;Often, investors will use government bonds as a “good enough” proxy for the risk free rate. If the government can practically print money to pay for their obligations, the risk of a default is seemingly low (at the cost of inflation). We of course know that governments sometimes default on their debts, yet it’s often the best proxy we’ve got.&lt;/p&gt;</description></item><item><title>Bridging is an anti-pattern</title><link>https://blog.cfelde.com/2025/07/bridging-is-an-anti-pattern/</link><pubDate>Tue, 22 Jul 2025 07:41:01 +0000</pubDate><guid>https://blog.cfelde.com/2025/07/bridging-is-an-anti-pattern/</guid><description>&lt;p&gt;As soon as we started having multiple blockchains, be that numerous L1s or L2s, public or private, and any mix of these, the question of how they interact with each other was asked.&lt;/p&gt;
&lt;p&gt;There are numerous types of interactions between blockchains, but a typical example is that of “the bridge”.&lt;/p&gt;
&lt;p&gt;In short, a bridge allows you to lock up a token native to a source blockchain, and then make it available on a target blockchain. It’s important that these tokens are native to the source blockchain, because if they are not they could in theory exist across many and hence don’t need a bridge to begin with.&lt;/p&gt;</description></item><item><title>Distinguished stablecoins</title><link>https://blog.cfelde.com/2025/01/distinguished-stablecoins/</link><pubDate>Sun, 26 Jan 2025 14:06:01 +0000</pubDate><guid>https://blog.cfelde.com/2025/01/distinguished-stablecoins/</guid><description>&lt;p&gt;Stablecoins are on the up. If we look at &lt;a href="https://www.stablepulse.org/" title=""&gt;stablepulse&lt;/a&gt;, at the time of writing, we’re at over 200B in circulating supply. Volumes are also up, both metrics at all time highs.&lt;/p&gt;
&lt;p&gt;And while the big actors dominate, their models are by no means decentralized. There’s either an element of cash in a bank, or a link to other TradFi instruments. Or if not that, some other element of centralized control, at best through a DAO.&lt;/p&gt;</description></item><item><title>4 years developing an API</title><link>https://blog.cfelde.com/2024/07/4-years-developing-an-api/</link><pubDate>Sun, 21 Jul 2024 20:16:59 +0000</pubDate><guid>https://blog.cfelde.com/2024/07/4-years-developing-an-api/</guid><description>&lt;p&gt;Towards the end of 2019 I started developing &lt;a href="https://sigbla.app" title=""&gt;Sigbla&lt;/a&gt;. And just now, around half way through 2024, I released the first beta version. It’s a &lt;a href="https://en.wikipedia.org/wiki/Source-available_software" title=""&gt;Source Available&lt;/a&gt; type of software, different from Open Source, but still developed in the open. But it wasn’t until towards the end of 2023 I even put it up on &lt;a href="https://github.com/sigbla/sigbla-app/" title=""&gt;GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In other words, a very slow process. And all just to be able to put some numbers in a table!?&lt;figure&gt;&lt;a href="simple_table.png"&gt;
&lt;img loading="lazy" src="simple_table.png"/&gt; &lt;/a&gt;
&lt;/figure&gt;
&lt;/p&gt;</description></item><item><title>What about L3?</title><link>https://blog.cfelde.com/2024/04/what-about-l3/</link><pubDate>Tue, 02 Apr 2024 10:35:20 +0000</pubDate><guid>https://blog.cfelde.com/2024/04/what-about-l3/</guid><description>&lt;p&gt;Like I mentioned on LinkedIn a couple of weeks back, &lt;a href="https://www.linkedin.com/feed/update/urn:li:activity:7173613984665722880/" title=""&gt;Dencun/4844 was Ethereum’s broadband moment&lt;/a&gt;. The blob transactions enabled by that hardfork network upgrade enabled a new type of storage space for unstructured data.&lt;/p&gt;
&lt;p&gt;Very soon after this change, we saw transaction prices on Layer 2s, like Arbitrum, Base, and Optimism drop significantly, often over 10x cheaper than prior to the upgrade. As Ethereum mainnet continues building on these new rails, additional transaction bandwidth will be unlocked, supporting further growth among the L2s.&lt;/p&gt;</description></item><item><title>Data wrangling quotes</title><link>https://blog.cfelde.com/2024/01/data-wrangling-quotes/</link><pubDate>Sun, 21 Jan 2024 14:22:56 +0000</pubDate><guid>https://blog.cfelde.com/2024/01/data-wrangling-quotes/</guid><description>&lt;p&gt;I have over the last few years captured screenshots on my phone of quotes from the Economist Espresso news app.&lt;/p&gt;
&lt;p&gt;Whatever quote I liked at the time I took a screenshot of, and now I wanted to use those quotes for something.&lt;/p&gt;
&lt;p&gt;To do that I needed to get the quotes into a text file, which meant doing a few things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download all the quotes from Google Photos, and crop out just the quote. These are stored in the quotes folder&lt;/li&gt;
&lt;li&gt;Use the tesseract command line tool to OCR the images into text, see &lt;a href="https://github.com/cfelde/data-wrangling-quotes/blob/master/quotes/ocr.sh"&gt;quotes/ocr.sh&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Because OCR isn’t perfect, I needed to manually inspect and make some changes..&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Point 3 is key for what &lt;a href="https://github.com/cfelde/data-wrangling-quotes" title=""&gt;this repo&lt;/a&gt; is about. I’ve been building &lt;a href="https://github.com/sigbla/sigbla-app/" title=""&gt;Sigbla&lt;/a&gt; for a while now and this is the perfect tool for this task.&lt;/p&gt;</description></item><item><title>Raspberry Pi vs room temp</title><link>https://blog.cfelde.com/2023/12/raspberry-pi-vs-room-temp/</link><pubDate>Sun, 03 Dec 2023 16:38:06 +0000</pubDate><guid>https://blog.cfelde.com/2023/12/raspberry-pi-vs-room-temp/</guid><description>&lt;p&gt;About 2 weeks ago I released my &lt;a href="https://sigbla.app" title=""&gt;Sigbla framework&lt;/a&gt; for working with data in tables. As it also provides charting abilities, I now had the perfect tool to build myself a Raspberry Pi temperature dashboard.&lt;/p&gt;
&lt;p&gt;I have over the last few months been logging the temperature of my Raspberry Pi together with the room temperature (using an external sensor connected via USB). As my RPi is passively cooled, its idle temperature will depend on the room temperature.&lt;figure&gt;&lt;a href="rpi4-scaled.jpg"&gt;
&lt;img loading="lazy" src="rpi4-1024x948.jpg"
alt="My always running, occasionally busy, passively cooled, Raspberry Pi 4"/&gt; &lt;/a&gt;&lt;figcaption&gt;
&lt;p&gt;My always running, occasionally busy, passively cooled, Raspberry Pi 4&lt;/p&gt;</description></item><item><title>Delta neutral yield</title><link>https://blog.cfelde.com/2023/04/delta-neutral-yield/</link><pubDate>Sat, 15 Apr 2023 11:16:29 +0000</pubDate><guid>https://blog.cfelde.com/2023/04/delta-neutral-yield/</guid><description>&lt;p&gt;I’ve wanted to write a post on decentralized delta neutral yield strategies for a while, and with the &lt;a href="https://cointelegraph.com/news/ethereum-s-shapella-hard-fork-executed-on-mainnet" title=""&gt;Shapella&lt;/a&gt; fork behind us, it finally compelled me to get going.&lt;/p&gt;
&lt;p&gt;If you don’t know, the Shapella fork enable staking withdrawals on Ethereum mainnet, and it makes the case for LSDs more compelling as their market dynamics have now been greatly improved.&lt;/p&gt;
&lt;p&gt;What are LSDs? It’s short for &lt;a href="https://www.coingecko.com/learn/what-is-liquid-staking-liquid-staked-derivatives-you-need-to-know" title=""&gt;Liquid Staking Derivatives&lt;/a&gt; and is a way to create derivatives on top of staked Ether. Hence, if you take Ether, stake it, you’re not just participating in the running of the Ethereum network, at the cost of capital lockups, but you’re also able to leverage this capital indirectly through LSDs in the broader DeFi ecosystem.&lt;/p&gt;</description></item><item><title>Towards a decentralized future</title><link>https://blog.cfelde.com/2022/11/towards-a-decentralized-future/</link><pubDate>Sat, 19 Nov 2022 15:13:28 +0000</pubDate><guid>https://blog.cfelde.com/2022/11/towards-a-decentralized-future/</guid><description>&lt;p&gt;It’s obvious isn’t it? That we’re heading towards a decentralized future?&lt;/p&gt;
&lt;p&gt;It might be that it’s just obvious to me, since I’m so deeply involved in this, but the signs are everywhere. From Meta and Twitter collapsing, to oil being replaced by renewables. This shift is aligning us for a new mega trend, one which has been underway in many areas for many years, but now, with improvements in technology, finally enable us to take it all the way.&lt;/p&gt;</description></item><item><title>We’re on the telnet stage of blockchain</title><link>https://blog.cfelde.com/2022/10/were-on-the-telnet-stage-of-blockchain/</link><pubDate>Sun, 16 Oct 2022 11:53:29 +0000</pubDate><guid>https://blog.cfelde.com/2022/10/were-on-the-telnet-stage-of-blockchain/</guid><description>&lt;p&gt;Much is being discussed on Twitter and Reddit about the censoring of transactions on Ethereum. As can be seen on &lt;a href="https://www.mevwatch.info/" title=""&gt;MEV Watch&lt;/a&gt;, around half of all blocks, as of right now, follow the OFAC recommendations, censoring transactions against Tornado Cash and similar.&lt;/p&gt;
&lt;p&gt;It doesn’t take much imagination among Ethereum haters and Bitcoin maxis to declare this as proof of the failure of Ethereum, but is it really?&lt;/p&gt;
&lt;p&gt;Instead, I believe we’re seeing two things play our here:&lt;/p&gt;</description></item><item><title>What Tornado Cash makes clear</title><link>https://blog.cfelde.com/2022/08/what-tornado-cash-makes-clear/</link><pubDate>Fri, 26 Aug 2022 16:01:25 +0000</pubDate><guid>https://blog.cfelde.com/2022/08/what-tornado-cash-makes-clear/</guid><description>&lt;p&gt;I’ve been in the financial services sector since around 2008, and at some point I was directly involved in the technology used as part of a banks regulatory reporting requirements.&lt;/p&gt;
&lt;p&gt;The amount of efforts needed in a bank to perform KYCs, AMLs, and trade reporting in general is immense. We might all like to hate on banks for their shitty service, lack of clarity and outdated technology, and while that’s fair criticism, they have at least a little bit of an excuse given the regulatory requirements put on them.&lt;/p&gt;</description></item><item><title>How much is ETH worth?</title><link>https://blog.cfelde.com/2022/06/how-much-is-eth-worth/</link><pubDate>Wed, 29 Jun 2022 16:10:00 +0000</pubDate><guid>https://blog.cfelde.com/2022/06/how-much-is-eth-worth/</guid><description>&lt;p&gt;There has been much written, discussed and argued about what cryptocurrencies like Bitcoin and Ether are worth. And there has been much nonsense, much superstition, and flawed analysis. Since we’re back in crypto winter, I feel it’s possible to write this without drowning in spam, spam by people trying to pump and dump some coin.&lt;/p&gt;
&lt;p&gt;Let’s be clear on one thing first of all: There’s no lack of scarce assets. Just because Bitcoin is limited to a 21 million coin supply, does not imply any worth.&lt;/p&gt;</description></item><item><title>Mining NuPoW Crystal tokens</title><link>https://blog.cfelde.com/2022/05/mining-nupow-crystal-tokens/</link><pubDate>Sat, 07 May 2022 20:46:04 +0000</pubDate><guid>https://blog.cfelde.com/2022/05/mining-nupow-crystal-tokens/</guid><description>&lt;p&gt;Not long ago I released the &lt;a href="https://nupow.fi/crystals/"&gt;NuPoW Crystal tokens&lt;/a&gt;, an implementation of ERC-20 tokens utilizing the new Proof-of-Work algorithm called &lt;a href="https://nupow.fi/"&gt;NuPoW&lt;/a&gt; for token minting. The contract has no admin, and there’s no premine on these tokens.&lt;/p&gt;
&lt;p&gt;The core thing about NuPoW is that it limits the amount of energy used for mining NuPoW tokens through a collective mechanism of reward reduction managed by a chain length run measurement.&lt;/p&gt;
&lt;p&gt;It might all sound a bit complicated, but its really not, all described in more detail in the &lt;a href="https://nupow.fi/whitepaper/"&gt;NuPoW whitepaper&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>For the tech and some ERC-20s</title><link>https://blog.cfelde.com/2022/04/for-the-tech-and-some-erc-20s/</link><pubDate>Mon, 25 Apr 2022 13:56:49 +0000</pubDate><guid>https://blog.cfelde.com/2022/04/for-the-tech-and-some-erc-20s/</guid><description>&lt;p&gt;I work in ‘web3’. What’s ‘web3’ ? It’s complicated, and something I can talk about for hours. In short, it involves removing intermediaries/gatekeepers and putting the user in the center through technology empowerment.&lt;/p&gt;
&lt;p&gt;So what is it I do? Well, mainly I focus on the technology, and related strategy work. How can you make use of Web3 technology to enable Web3 business? We’re still early days, with much technology still needed, and much understanding still missing.&lt;/p&gt;</description></item><item><title>It’s not about the rock</title><link>https://blog.cfelde.com/2021/08/its-not-about-the-rock/</link><pubDate>Thu, 26 Aug 2021 09:20:44 +0000</pubDate><guid>https://blog.cfelde.com/2021/08/its-not-about-the-rock/</guid><description>&lt;p&gt;A few days ago someone allegedly &lt;a href="https://www.cnbc.com/2021/08/23/people-are-paying-millions-of-dollars-for-digital-pictures-of-rocks.html"&gt;paid $1.3 million for a rock&lt;/a&gt;. It’s not even a real rock, or a picture of a real rock. And the underlying rock contract doesn’t even follow &lt;a href="https://stablecoin.fyi/fungible-and-non-fungible-tokens/"&gt;the NFT standard&lt;/a&gt;, as that was established in 2018, after this contract was deployed.&lt;/p&gt;
&lt;p&gt;But it’s not about the rock, and we’re now in some crazy bubble with lots of internal transactions to make it look like someone paid this much for something. If I’ve got $1.3 millions worth of ETH, and I sell this rock to myself, you know..&lt;/p&gt;</description></item><item><title>Don’t use blockchain</title><link>https://blog.cfelde.com/2021/08/dont-use-blockchain/</link><pubDate>Tue, 03 Aug 2021 18:19:21 +0000</pubDate><guid>https://blog.cfelde.com/2021/08/dont-use-blockchain/</guid><description>&lt;p&gt;Rarely do you find technology with so much hype as blockchain, where the best architectural advice is to avoid using it. Or, said with less hyperbole, to correctly minimize your direct dependency on blockchain.&lt;/p&gt;
&lt;p&gt;Why is that?&lt;/p&gt;
&lt;p&gt;Imagine software where thousands of processes all need to look at and verify the same state change. And imagine too that they all need to store a copy of the same information to ensure the state change is correct.&lt;/p&gt;</description></item><item><title>When does it stop being a stablecoin?</title><link>https://blog.cfelde.com/2021/07/when-does-it-stop-being-a-stablecoin/</link><pubDate>Sun, 18 Jul 2021 10:33:00 +0000</pubDate><guid>https://blog.cfelde.com/2021/07/when-does-it-stop-being-a-stablecoin/</guid><description>&lt;p&gt;In “traditional finance”, we’ve got something called a &lt;a href="https://en.wikipedia.org/wiki/Derivative_(finance)"&gt;derivative&lt;/a&gt;. In short, a derivative &lt;em&gt;derives&lt;/em&gt; it’s value based on some underlying asset.&lt;/p&gt;
&lt;p&gt;In the “new finance” world of blockchain and DeFi, we’ve got something called a &lt;a href="https://stablecoin.fyi/"&gt;stablecoin&lt;/a&gt;, where the price of the coin is &lt;em&gt;pegged&lt;/em&gt; to some underlying asset.&lt;/p&gt;
&lt;p&gt;So a stablecoin is just a derivative then, no? Usually people think of coins pegged to the USD when they hear stablecoin, but it doesn’t need to be. It could be pegged to anything, just like a derivative could use any underlying asset and definition on top.&lt;/p&gt;</description></item><item><title>A different take on blockchain with encrypted functions</title><link>https://blog.cfelde.com/2021/05/a-different-take-on-blockchain-with-encrypted-functions/</link><pubDate>Wed, 19 May 2021 21:36:15 +0000</pubDate><guid>https://blog.cfelde.com/2021/05/a-different-take-on-blockchain-with-encrypted-functions/</guid><description>&lt;p&gt;While blockchain remains highly volatile, both as a technology and as assets tied to them, I’d like to take a step back and review the approach.&lt;/p&gt;
&lt;p&gt;What is a blockchain? It’s a linked list of events, linked together through some cryptographic hashing mechanism, that forever ties one block to another. And such a blockchain is helpful because it removes the need for a third-party to orchestrate the process.&lt;/p&gt;
&lt;p&gt;This construct is sequential in nature, and hence practically single threaded. While there are many very nice attributes tied to something which is single threaded, like the ease of reasoning on its current state, there’s also a lot of drawbacks. And while I think we’d all like to keep the benefits of having one smart contract call another, hence allowing for “DeFi Legos” and similar, it doesn’t allow us to solve for the scaling issues.&lt;/p&gt;</description></item><item><title>Stablebomb</title><link>https://blog.cfelde.com/2021/02/stablebomb/</link><pubDate>Tue, 16 Feb 2021 10:42:53 +0000</pubDate><guid>https://blog.cfelde.com/2021/02/stablebomb/</guid><description>&lt;p&gt;For a while I’ve wanted to write something about &lt;a href="https://stablecoin.fyi/"&gt;stablecoins&lt;/a&gt;, these tokens on the blockchains, that are backed by some underlying asset.&lt;/p&gt;
&lt;p&gt;Usually we associate stablecoins with those backed by a currency, like USD or Euros. But it doesn’t need to be backed by currency, it can be backed by commodities, stocks, bonds, etc.&lt;/p&gt;
&lt;p&gt;This gives you the benefit of having a token you can easily exchange, transfer and utilize in smart contracts, and also having it backed by more than just pure human emotions and speculation.&lt;/p&gt;</description></item><item><title>Flash loans</title><link>https://blog.cfelde.com/2020/10/flash-loans/</link><pubDate>Thu, 29 Oct 2020 08:55:39 +0000</pubDate><guid>https://blog.cfelde.com/2020/10/flash-loans/</guid><description>&lt;p&gt;What would you do if you could borrow a near unlimited amount of money, only need to pay the interest, and not need to provide any collateral?&lt;/p&gt;
&lt;p&gt;Sure, we have something like that with credit cards, at an outrageous interest rate, and with fairly small credit limits. But what if I’d give you this non-collateralized loan for just 0.09%?&lt;/p&gt;
&lt;p&gt;Sure, you’d think, I’m happy to rip you off. But here’s the thing, you can’t rip me off, and I’m not scamming you.&lt;/p&gt;</description></item><item><title>ARM, Nvidia, RISC-V, Intel</title><link>https://blog.cfelde.com/2020/09/arm-nvidia-risc-v-intel/</link><pubDate>Mon, 14 Sep 2020 10:03:19 +0000</pubDate><guid>https://blog.cfelde.com/2020/09/arm-nvidia-risc-v-intel/</guid><description>&lt;p&gt;Over the last few years we’ve been seeing an interesting case of &lt;a href="https://en.wikipedia.org/wiki/The_Innovator%27s_Dilemma"&gt;The Innovator’s Dilemma&lt;/a&gt; playing out. The case is ARM, and how it through smartphones have grown from energy efficient but comparably slow CPUs, into something which is turning to an overall better choice for general use CPUs.&lt;/p&gt;
&lt;p&gt;Looking at how Apple is moving to ARM in its computers, not just the iPhone, and how Amazon are using ARM in their cloud servers, it is clear that we’re very close to having ARM replace Intel across the board. Intel, on its side, have not managed to keep up, which, when viewed from the top of the S-curve, fits perfectly with what we’d expect to happen.&lt;/p&gt;</description></item><item><title>On the beauty of programming languages</title><link>https://blog.cfelde.com/2020/09/on-the-beauty-of-programming-languages/</link><pubDate>Thu, 03 Sep 2020 20:06:41 +0000</pubDate><guid>https://blog.cfelde.com/2020/09/on-the-beauty-of-programming-languages/</guid><description>&lt;p&gt;Lately I’ve been slowly reading “Graffiti Kings: New York Transit Art of the 1970s” by &lt;a href="https://en.wikipedia.org/wiki/Jack_Stewart_(artist)"&gt;Jack Stewart&lt;/a&gt;. I’m reading it because I’ve always been a fan of &lt;a href="https://en.wikipedia.org/wiki/Pop_art"&gt;pop art&lt;/a&gt;, and as I’ve started to understand more about its context during its period, I also want to understand graffiti and street art better.&lt;/p&gt;
&lt;p&gt;For me this is personally linked to the &lt;a href="https://en.wikipedia.org/wiki/Demoscene"&gt;demo- and introscene&lt;/a&gt;, which, as far as I’m concerned is art, and I think its context links pretty well into current digital art and scarcity which is now possible with blockchains, explored by, among others, &lt;a href="https://async.art/"&gt;async art&lt;/a&gt; and &lt;a href="https://superrare.co/"&gt;SuperRare&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Laptop battery insights</title><link>https://blog.cfelde.com/2020/07/laptop-battery-insights/</link><pubDate>Sun, 05 Jul 2020 17:06:23 +0000</pubDate><guid>https://blog.cfelde.com/2020/07/laptop-battery-insights/</guid><description>&lt;p&gt;Back in 2016 I mentioned that I started &lt;a href="https://blog.cfelde.com/2016/01/tracking-my-laptop-battery/"&gt;tracking my laptop battery statistics&lt;/a&gt; on my then new MBP. Well, now that laptop has reached EOL, with its batteries getting swollen and the fan often running a bit fast, probably due to all the dust inside it.&lt;/p&gt;
&lt;p&gt;While I didn’t have any complaints about the overall performance of my trusty old laptop, after 5-6 years of everyday use, I felt it was time to upgrade. And it didn’t feel safe with the batteries swelling either! I might look into refurbishing it, if the cost of new batteries aren’t too ridiculous.&lt;/p&gt;</description></item><item><title>No need for off-heap</title><link>https://blog.cfelde.com/2020/05/no-need-for-off-heap/</link><pubDate>Mon, 11 May 2020 10:27:50 +0000</pubDate><guid>https://blog.cfelde.com/2020/05/no-need-for-off-heap/</guid><description>&lt;p&gt;Around 6 years ago I was experimenting and pushing the practical boundaries of what the JVM could handle with regards to heap size.&lt;/p&gt;
&lt;p&gt;We had Java 8 at the time, and allocating hundreds of GB of heap space was risky. Lots of time and effort was spend in many IT teams around the world just trying to keep the GC happy with this setup.&lt;/p&gt;
&lt;p&gt;Some, often myself included, would recommend we aim for an architecture with several smaller JVMs, each dealing with a more manageable heap size. But such a setup does sometimes bring with it a lot of complexity. While a web application might easily scale horizontally like that, not all application have that luxury.&lt;/p&gt;</description></item><item><title>Blockchain: Big but small</title><link>https://blog.cfelde.com/2020/05/blockchain-big-but-small/</link><pubDate>Tue, 05 May 2020 15:17:17 +0000</pubDate><guid>https://blog.cfelde.com/2020/05/blockchain-big-but-small/</guid><description>&lt;p&gt;Consider Amazon, the e-commerce bits of the company. While it might have started out as an online bookshop, it evolved into a generalized online marketplace.&lt;/p&gt;
&lt;p&gt;So what was critical in the success of Amazon?&lt;/p&gt;
&lt;p&gt;The internet would probably be a good answer to that question, among many other things. But how much of the overall software and business development efforts at Amazon do you think relate to core internet activities? Sure, it’s got a big online presence, which will require a lot of internet hardware, internet people and teams, ops, etc..&lt;/p&gt;</description></item><item><title>Art on the blockchain</title><link>https://blog.cfelde.com/2020/04/art-on-the-blockchain/</link><pubDate>Thu, 30 Apr 2020 15:17:46 +0000</pubDate><guid>https://blog.cfelde.com/2020/04/art-on-the-blockchain/</guid><description>&lt;p&gt;Many years ago, in my late teens, I used to attend &lt;a href="https://en.wikipedia.org/wiki/The_Gathering_(LAN_party)"&gt;The Gathering&lt;/a&gt;. It’s a fantastic combination of people, passion, dedication and fun mixed together for a few days each Easter.&lt;/p&gt;
&lt;p&gt;If you’re not familiar with &lt;a href="https://en.wikipedia.org/wiki/Demoscene"&gt;computer culture&lt;/a&gt; this whole thing might seem very alien, and, for many, somewhat a waste of time. But for those of us whom are familiar with this domain, and especially those of us who had some experience with the demoscene, it brings back a feeling of accomplishment.&lt;/p&gt;</description></item><item><title>Distributed computing is less binary, more probability</title><link>https://blog.cfelde.com/2019/05/distributed-computing-is-less-binary-more-probability/</link><pubDate>Sat, 18 May 2019 15:56:48 +0000</pubDate><guid>https://blog.cfelde.com/2019/05/distributed-computing-is-less-binary-more-probability/</guid><description>&lt;p&gt;Since late 2011 I’ve been working on distributed computing platforms, where software that runs across more than one machine is running as what we’d call a cluster.&lt;/p&gt;
&lt;p&gt;Now, as I focus more on blockchain and DLT, a lot of the approaches to computing are similar.&lt;/p&gt;
&lt;p&gt;A lightweight version of the challenges with working on distributed systems can be found when working on software that uses multiple threads to do concurrent computing. Things can quickly get very ugly if you do not know how to approach the challenge.&lt;/p&gt;</description></item><item><title>On edge architecture</title><link>https://blog.cfelde.com/2017/12/on-edge-architecture/</link><pubDate>Wed, 20 Dec 2017 13:22:28 +0000</pubDate><guid>https://blog.cfelde.com/2017/12/on-edge-architecture/</guid><description>&lt;p&gt;We’ve long had content delivery networks (CDN), that help speed up and reduce latency for your web visitors. This works by making sure that the CDN has servers that are physically closer and on a better network connection (fewer hops) compared to where your visitor is based. You maintain multiple copies of the same content spread out around the world, just to ensure you stay close to where your users are.&lt;/p&gt;</description></item><item><title>Tracking my laptop battery</title><link>https://blog.cfelde.com/2016/01/tracking-my-laptop-battery/</link><pubDate>Tue, 05 Jan 2016 00:20:09 +0000</pubDate><guid>https://blog.cfelde.com/2016/01/tracking-my-laptop-battery/</guid><description>&lt;p&gt;Some time ago I read “&lt;a href="http://www.ifweassume.com/2013/08/the-de-evolution-of-my-laptop-battery.html"&gt;The (De-) evolution of My Laptop Battery&lt;/a&gt;“. At the time I had an old (2008 model I believe) MacBook Pro, on it’s first (or second) battery, and that battery was already heavily degraded. Because of that I saw no need to start logging the current battery capacity, but I made a note of doing that as soon as I got myself a new laptop.&lt;/p&gt;
&lt;p&gt;So, little over a year ago, when I retired by old and faithful for a brand new MacBook Pro, one of the first things I did was to set up a cron job that every half hour stores the current battery stats to a local file when turned on.&lt;/p&gt;</description></item><item><title>Rust, is this the next big thing?</title><link>https://blog.cfelde.com/2015/03/rust-is-this-the-next-big-thing/</link><pubDate>Wed, 18 Mar 2015 00:53:17 +0000</pubDate><guid>https://blog.cfelde.com/2015/03/rust-is-this-the-next-big-thing/</guid><description>&lt;p&gt;In 2010 I wrote a blog post called “&lt;a href="https://blog.cfelde.com/2010/08/node-js-is-this-the-next-big-thing/"&gt;Node.js, is this the next big thing?&lt;/a&gt;”&lt;/p&gt;
&lt;p&gt;I came to think about that again this week when I randomly watched &lt;a href="https://www.youtube.com/watch?v=8z3h4Uv9YbE"&gt;Yevgeniy (Jim) Brikman’s video&lt;/a&gt; about the &lt;a href="https://www.playframework.com/"&gt;Play Framework&lt;/a&gt; at LinkedIn.&lt;/p&gt;
&lt;p&gt;Combine this with the progress of &lt;a href="http://www.scala-js.org/"&gt;Scala.js&lt;/a&gt; and &lt;a href="https://github.com/clojure/clojurescript"&gt;ClojureScript&lt;/a&gt; and I think we can conclude that node.js was very much an indicator of direction with simplification, unification and a return to an event driven model. All for good reasons. Look at job postings and you’ll find plenty of companies looking for the full-stack engineer. It’s difficult to be a full-stack engineer, especially a good one, if each tier in the stack is very different. It makes both economical and technical sense to have our tools reach across both server-side and client-side, while still maintaining a healthy separation of concerns with a 3-tier (or N-tier if N &amp;gt;= 3) system.&lt;/p&gt;</description></item><item><title>Playing with Clojure and sampling algos</title><link>https://blog.cfelde.com/2015/03/playing-with-clojure-and-sampling-algos/</link><pubDate>Sat, 07 Mar 2015 18:43:08 +0000</pubDate><guid>https://blog.cfelde.com/2015/03/playing-with-clojure-and-sampling-algos/</guid><description>&lt;p&gt;Over the last few months I’ve been learning Clojure. Best way to learn I find is to use what you learn for something you find useful or interesting. This morning, while browsing &lt;a href="https://news.ycombinator.com/"&gt;Hacker News&lt;/a&gt;, I found myself reading about &lt;a href="https://www.omniref.com/ruby/gems/stream_sampler/0.0.1/symbols/StreamSampler"&gt;Vitter’s reservoir sampling algorithm&lt;/a&gt;, with an example developed in Ruby.&lt;/p&gt;
&lt;p&gt;After spending a little bit of time thinking over the reasoning for why this algo would work as claimed, I decided to give it a quick spin in Clojure. I’ve &lt;a href="https://github.com/cfelde/VitterReservoirSampling"&gt;published my experiment on GitHub&lt;/a&gt; if you’re interested in a different take on the algo implementation, with some &lt;a href="http://incanter.org/"&gt;Incanter&lt;/a&gt; inspired visual confirmation of it’s claim.&lt;/p&gt;</description></item><item><title>Only the Good Die Young (or Move Off-heap?)</title><link>https://blog.cfelde.com/2014/04/only-the-good-die-young-or-move-off-heap/</link><pubDate>Sat, 19 Apr 2014 22:47:04 +0000</pubDate><guid>https://blog.cfelde.com/2014/04/only-the-good-die-young-or-move-off-heap/</guid><description>&lt;p&gt;Having some spare time over the Easter weekend I thought I’d spend a little time trying out a few things, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Java 8&lt;/li&gt;
&lt;li&gt;Direct memory allocation with sun.misc.Unsafe&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So I made a hash-map implementation that stores map entries on memory allocated outside the typical JVM heap: &lt;a href="https://github.com/cfelde/BinaryOffheapHashMap"&gt;BinaryOffheapHashMap&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;First of all: The GC process in Java is a lifesaver, allowing us all to focus on writing functionality rather than obsessing over managing the mundane task of allocating and freeing memory. Yet, it doesn’t mean you shouldn’t be memory-aware. Failing to understand the memory impact of your code can lead to horrible performance, as you’re simply creating too much garbage. You can potentially try to avoid an ill-timed GC pause by having a bigger heap, but you’re just postponing the inevitable.&lt;/p&gt;
&lt;p&gt;Then there’s the case when you want to store huge amounts of data inside your JVM app. The lifecycle of this data is well understood and not part of any fancy distributed/parallel algorithm. You push your data in, then get it back out, potentially deleting it at some point. Isn’t it a bit wasteful to allocate a 200G heap, use it mainly for this purpose, and have the GC process scan through all that? For GC, the good die young, and it doesn’t scale that well with increasing heap space.&lt;/p&gt;</description></item><item><title>Resource aware queue</title><link>https://blog.cfelde.com/2013/04/resource-aware-queue/</link><pubDate>Sun, 07 Apr 2013 17:58:45 +0000</pubDate><guid>https://blog.cfelde.com/2013/04/resource-aware-queue/</guid><description>&lt;p&gt;For the TLDRs:&lt;/p&gt;
&lt;p&gt;This blog post presents the reasoning behing a project called &lt;a href="https://github.com/cfelde/ResourcePriorityBlockingQueue"&gt;ResourcePriorityBlockingQueue&lt;/a&gt; which is a blocking queue implementation that:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Allows you to assign priority on tasks, just as with a PriorityBlockingQueue.&lt;/li&gt;
&lt;li&gt;Tasks may belong to task groups where each group may have a different priority. In that case, tasks are prioritized by group first, then task priority second.&lt;/li&gt;
&lt;li&gt;For a particular instance of a ResourcePriorityBlockingQueue you give it implementations of a ResourcePrioritizer and a ResourceAllocator, which further defines to which resources a particular task is made available.&lt;/li&gt;
&lt;li&gt;Focus as been put on making the code highly concurrent with as little synchronized code as possible. Lock free code is used where applicable, with efficient use of internal data structures. This gives ResourcePriorityBlockingQueue a performance characteristic which is comparable to that of a pure PriorityBlockingQueue when used in a similar fashion.&lt;/li&gt;
&lt;li&gt;It’s available on GitHub, so feel free to poke around. Any constructive feedback is always welcome.&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Busy wait and queue performance</title><link>https://blog.cfelde.com/2011/11/busy-wait-and-queue-performance/</link><pubDate>Sun, 13 Nov 2011 18:01:39 +0000</pubDate><guid>https://blog.cfelde.com/2011/11/busy-wait-and-queue-performance/</guid><description>&lt;p&gt;For the last month or so I’ve been rather busy developing a trading platform for algorithmic trading, connected to &lt;a href="http://www.lmaxtrader.co.uk/"&gt;LMAX&lt;/a&gt; (you should also check out their very interesting &lt;a href="http://code.google.com/p/disruptor/"&gt;Disruptor&lt;/a&gt; framework). It’s a rather comprehensive solution with both risk management, position management, back testing, data management on tick level, etc built in. Everything that connects to and communicates with the exchange is event based, basically on a topic based setup. So one event producer may have zero or more event consumers.&lt;/p&gt;
&lt;p&gt;I’ve really enjoyed finally having a proper concurrent project to work on, poking around the Java concurrency source code in order to find a few tips and tricks as to how I can squeeze out a bit more performance. It’s not that the trading I’ll be doing is that high frequent per say, it’s more about eliminating latency. Now, of course, most of the computational power will be needed in the actual business logic as that’s where the heavy lifting happens. But since the event system that glues everything together is so omnipresent, having it perform well is also very important. Analyzing the spacing between each tick for presumably one of their busiest instruments, EUR/USD, indicates that the most frequent observation is between 1 and 10 milliseconds, so that gives me a rough estimate as to how quick the consumers need to be. If they can’t keep up on average the events will begin queuing up, which is very bad.&lt;/p&gt;
&lt;p&gt;For the event system itself, delivery of one event from a producer to a consumer is on average 170 microseconds, so that basically leaves the consumer with almost 100% of the time (given that the exchange connected producers are very-to-fairly lightweight). I’m not really sure where to do further optimizations along my critical paths, so I might need to go crazy and do manual memory management or something (with the &lt;a href="http://www.docjar.com/docs/api/sun/misc/Unsafe.html"&gt;Unsafe&lt;/a&gt; class), but I doubt I’ll need it. I think most of the quick win gains currently is at the network/IO level.&lt;/p&gt;
&lt;p&gt;Anyway, I digress. Because the point is that while performance testing various parts I got some conflicting evidence as to which concurrent queue implementation to use. So I decided to do a somewhat more comprehensive test while still running it in an isolated environment. There are three factors at play here: Do we have a slow or quick producer, slow or quick consumer, and finally are we using &lt;a href="http://en.wikipedia.org/wiki/Busy_wait"&gt;busy wait&lt;/a&gt; loops when waiting for events? A slow producer or consumer would typically be slow if it needs to wait for IO, so that’s simulated here with a &lt;code&gt;Thread.sleep(1)&lt;/code&gt; call.&lt;/p&gt;
&lt;p&gt;From JavaDoc we know:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;ConcurrentLinkedQueue&lt;/code&gt; is an appropriate choice when many threads will share access to a common collection. This queue does not permit null elements.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ArrayBlockingQueue&lt;/code&gt; is a classic “bounded buffer”, in which a fixed-sized array holds elements inserted by producers and extracted by consumers. This class supports an optional fairness policy for ordering waiting producer and consumer threads&lt;/li&gt;
&lt;li&gt;&lt;code&gt;LinkedBlockingQueue&lt;/code&gt; typically have higher throughput than array-based queues but less predictable performance in most concurrent applications.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Cloud computing makes your service a commodity</title><link>https://blog.cfelde.com/2011/08/cloud-computing-makes-your-service-a-commodity/</link><pubDate>Sat, 20 Aug 2011 10:55:29 +0000</pubDate><guid>https://blog.cfelde.com/2011/08/cloud-computing-makes-your-service-a-commodity/</guid><description>&lt;p&gt;Just a brief blog post as I’m mostly busy working hard on my &lt;a href="https://blog.cfelde.com/2011/04/the-profitability-of-technical-analysis-in-a-high-frequency-setting/"&gt;dissertation&lt;/a&gt; (which should be made available here in a few weeks) and applying for jobs. Hopefully the job thing should be signed in a few weeks as well, as there are a few interesting in the pipeline at the moment.&lt;/p&gt;
&lt;p&gt;Anyway, thought it was time to post something, so here goes. Been following &lt;a href="http://www.brightbox.co.uk/"&gt;Brightbox&lt;/a&gt; for some time. They are a new cloud computing provider (but not a new hosting provider in general), and they give off a good first impression. Yesterday they published &lt;a href="http://blog.brightbox.co.uk/posts/pricing-for-brightbox-cloud-and-last-call-for-private-beta"&gt;their pricing plan&lt;/a&gt; for the soon to be non-beta platform. I don’t have any reason for doubting the quality of their service, and I often like to support the “little guys”, but man, cloud computing really have turned servers into a commodity.&lt;/p&gt;</description></item><item><title>Excessive Optimism and Analyst Recommendations</title><link>https://blog.cfelde.com/2011/06/excessive-optimism-and-analyst-recommendations/</link><pubDate>Mon, 27 Jun 2011 19:58:34 +0000</pubDate><guid>https://blog.cfelde.com/2011/06/excessive-optimism-and-analyst-recommendations/</guid><description>&lt;p&gt;This blog post taps into some of the theories outlined by behavioral finance. Specifically I’m going to look at research done on what is called overconfidence.&lt;/p&gt;
&lt;p&gt;Overconfidence among investors can manifest itself in many ways. One of these forms is excessive optimism (or pessimism) with regards to beliefs in future outcome. Carleton, Chen, and Steiner (1998) and Jegadeesh, and Kim (2003) study the value of analyst recommendations. There are two aspects worth considering specifically in this context. The first is the quality of the recommendations and the second is the market reaction to them. The value of an analyst report can be defined as its impact on the market, thus the quality of the report and market reaction is not mutually exclusive but rather tightly linked. This poses some potential issues as there might be a feedback loop at work here, where analysts with a broader audience could potentially have a bigger impact than more unknown analysts with less exposure. However, given that the topic in question is an anomaly of the efficient market hypothesis, this potential feedback loop is of interest. In an efficient market, any new information in the form of a buy/sell recommendation must only have an immediate impact without any positive serial correlation in future abnormal returns if it represents new information. I will begin by analyzing a number of aspects related to analyst recommendations and proceed to cover market impact.&lt;/p&gt;</description></item></channel></rss>