<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.1.1">Jekyll</generator><link href="https://hugotunius.se/feed.xml" rel="self" type="application/atom+xml" /><link href="https://hugotunius.se/" rel="alternate" type="text/html" /><updated>2026-06-15T23:53:12+01:00</updated><id>https://hugotunius.se/feed.xml</id><title type="html">Hugo Tunius - Blog</title><subtitle>Personal blog of Hugo Tunius. Developer, open source enthusiast, aspiring designer, and Hugo of all trades.
</subtitle><author><name>Hugo Tunius</name></author><entry><title type="html">The Sword Juggling Fallacy</title><link href="https://hugotunius.se/2026/06/15/the-sword-juggling-fallacy.html" rel="alternate" type="text/html" title="The Sword Juggling Fallacy" /><published>2026-06-15T00:00:00+01:00</published><updated>2026-06-15T00:00:00+01:00</updated><id>https://hugotunius.se/2026/06/15/the-sword-juggling-fallacy</id><content type="html" xml:base="https://hugotunius.se/2026/06/15/the-sword-juggling-fallacy.html">&lt;p&gt;Sword juggling is simple. I’ll prove it to you by explaining it. First, acquire three – or, if you feel ambitious, four swords. Divide the swords between your hands. Starting with one hand, the one holding two swords if juggling with three, toss a sword into the air. As this sword is about to reach your other hand, toss the sword in that hand and catch the falling sword by, and this is important, its handle, not the blade. Then repeat this process as the airborne sword reaches the hand you started with. Now keep doing this, ensuring that you do not cut your fingers off in the process.&lt;/p&gt;

&lt;p&gt;To make the subtext, well, text. This is an allegory about the C programming language, although it applies to others too. C being simple is a common idea, especially made in discussion about and as contrast to Rust. It’s true that C is simple. The language is small and the standard is, relatively, short. Just like sword juggling is simple, C being simple doesn’t mean programming in C is easy. In fact it’s very hard, especially if you care about your program being correct. Simple is not easy.&lt;/p&gt;

&lt;p&gt;After learning the simple C language, a world of painful experiences await the aspiring C programmer. With each a new lesson is, hopefully, learned. This is not an indictment of individual programmers, as much as some people like to cry “skill issue”, writing correct C is just hard. The canonical example is pointers: simple in theory, devilishly complex in practice. For every pointer you must consider: Who owns the memory it points to? Does it need to be freed? If so, who is responsible for freeing it? How big is the memory region it points to? Is it alive currently? Did someone already free it?&lt;/p&gt;

&lt;p&gt;Obviously no one wants a language that’s complex, at least not more complex than the inherent complexity of the domain. Returning to the pointer example above, anytime I have to write C and deal with pointers I’m filled with dread because I know I have to consider all of these questions carefully and getting it wrong has dire consequences. By comparison Rust’s complex reference semantics, lifetimes, and borrow checker are a breeze; I know that outside of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;unsafe&lt;/code&gt; I’m not going to mess it up.&lt;/p&gt;

&lt;p&gt;Sword juggling is simple, but not easy and I’d be remiss if I didn’t mention that &lt;a href=&quot;https://oxide.computer/blog/iddqd-unsafe&quot;&gt;unsafe Rust is a bit like juggling with chainsaws&lt;/a&gt;.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="opinion" /><category term="rust" /><category term="c" /><summary type="html">Sword juggling is simple. I’ll prove it to you by explaining it. First, acquire three – or, if you feel ambitious, four swords. Divide the swords between your hands. Starting with one hand, the one holding two swords if juggling with three, toss a sword into the air. As this sword is about to reach your other hand, toss the sword in that hand and catch the falling sword by, and this is important, its handle, not the blade. Then repeat this process as the airborne sword reaches the hand you started with. Now keep doing this, ensuring that you do not cut your fingers off in the process.</summary></entry><entry><title type="html">Claude, Teach Me Something</title><link href="https://hugotunius.se/2025/10/26/claude-teach-me-something.html" rel="alternate" type="text/html" title="Claude, Teach Me Something" /><published>2025-10-26T00:00:00+01:00</published><updated>2025-10-26T00:00:00+01:00</updated><id>https://hugotunius.se/2025/10/26/claude-teach-me-something</id><content type="html" xml:base="https://hugotunius.se/2025/10/26/claude-teach-me-something.html">&lt;p&gt;I’ve been experimenting with a new Claude workflow as an alternative to doom scrolling. It leverages what LLMs do best: non-determinism and text. I call it “Teach me something”.&lt;/p&gt;

&lt;p&gt;The idea is: if I’m bored, instead of going on Reddit, I can ask Claude to teach me something. This might not be the most efficient learning method, but it beats scrolling Reddit. In Claude I’ve set this up as a project with custom instructions. The prompt I’m currently using is:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Project Instructions: Socratic Teaching Sessions&lt;/strong&gt;&lt;/p&gt;

  &lt;p&gt;In this project you will teach me something new using the &lt;strong&gt;Socratic method&lt;/strong&gt; - asking questions to gauge my knowledge and guide my discovery rather than simply explaining concepts.&lt;/p&gt;

  &lt;p&gt;&lt;strong&gt;Areas (in order of my decreasing expertise):&lt;/strong&gt;&lt;/p&gt;

  &lt;ul&gt;
    &lt;li&gt;Programming&lt;/li&gt;
    &lt;li&gt;Computer science&lt;/li&gt;
    &lt;li&gt;UX/UI/UXR&lt;/li&gt;
    &lt;li&gt;Cybersecurity&lt;/li&gt;
    &lt;li&gt;Machine learning&lt;/li&gt;
    &lt;li&gt;Cooking&lt;/li&gt;
    &lt;li&gt;Physics&lt;/li&gt;
    &lt;li&gt;Economics (behavioral or otherwise)&lt;/li&gt;
    &lt;li&gt;Psychology&lt;/li&gt;
    &lt;li&gt;Engineering&lt;/li&gt;
    &lt;li&gt;Music theory&lt;/li&gt;
  &lt;/ul&gt;

  &lt;p&gt;&lt;strong&gt;Your approach:&lt;/strong&gt;
When I say “Teach me something,” you will perform the following steps. If I say “Teach me something about &amp;lt;topic&amp;gt;” you skip the first 2 steps.&lt;/p&gt;

  &lt;ol&gt;
    &lt;li&gt;Consult previous chats in this project to avoid repetition&lt;/li&gt;
    &lt;li&gt;Choose a diverse topic from one of my areas&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Use questions to assess what I already know&lt;/strong&gt;&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Guide me toward insights through dialogue&lt;/strong&gt; rather than direct explanation&lt;/li&gt;
    &lt;li&gt;Let my responses shape the direction and depth of the lesson&lt;/li&gt;
  &lt;/ol&gt;

  &lt;p&gt;&lt;strong&gt;Goal:&lt;/strong&gt; Help me discover and understand concepts through guided inquiry, building on what I know and filling gaps through my own reasoning.&lt;/p&gt;

  &lt;p&gt;Keep the topics diverse across sessions.&lt;/p&gt;

  &lt;p&gt;At the end of a session direct me towards primary sources to confirm and read more. Prefer websites, papers, podcast, and books in that order.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This works nicely. The topic diversity has been good and the Socratic method works, especially because Claude gauges and responds to my prior knowledge. So far Claude has taught me about The Allais Paradox, the physics of consonance, and the chemistry of salt in cooking, to name a few. Claude can list previous chats within a project to keep track of topics. The only point of friction, is ensuring chats are named correctly as Claude will often just name them “Learn something new” based on the first user interaction. Claude lacks a tool call to rename chats, so instead I’ve been asking it to suggest a name at the end and then I rename the chat myself. The last instruction in the prompt ensures I can verify what Claude has said and dig deeper.&lt;/p&gt;

&lt;p&gt;Initially I didn’t instruct Claude to use the Socratic method, but that works much better. It’s significantly less “information-dumpy”. When I know a topic well, Claude successfully shortcuts the basics.&lt;/p&gt;

&lt;p&gt;This effectively combines two strengths of LLMs: non-determinism and text. The topics are kept diverse and I rely on Claude’s vast knowledge of topics to find interesting points of discussion. Claude, and all LLMs, are great at conversation and this extends to the back and forth of the Socratic method. At the end, the provided sources protect against hallucination and offer a next step beyond the LLM.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="ai" /><category term="claude" /><summary type="html">I’ve been experimenting with a new Claude workflow as an alternative to doom scrolling. It leverages what LLMs do best: non-determinism and text. I call it “Teach me something”.</summary></entry><entry><title type="html">What Every Argument About Sideloading Gets Wrong</title><link href="https://hugotunius.se/2025/08/31/what-every-argument-about-sideloading-gets-wrong.html" rel="alternate" type="text/html" title="What Every Argument About Sideloading Gets Wrong" /><published>2025-08-31T00:00:00+01:00</published><updated>2025-08-31T00:00:00+01:00</updated><id>https://hugotunius.se/2025/08/31/what-every-argument-about-sideloading-gets-wrong</id><content type="html" xml:base="https://hugotunius.se/2025/08/31/what-every-argument-about-sideloading-gets-wrong.html">&lt;p&gt;Sideloading has been a hot topic for the last decade. Most recently, Google has &lt;a href=&quot;https://9to5google.com/2025/08/25/android-apps-developer-verification/&quot;&gt;announced&lt;/a&gt; further restrictions on the practice in Android. Many hundreds of comment threads have discussed these changes over the years. One point in particular is always made: “I should be able to run whatever code I want on hardware I own”. I agree entirely with this point, but within the context of this discussion it’s moot.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;“I should be able to run whatever code I want on hardware I own”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When Google restricts your ability to install certain applications they aren’t constraining what you can do with the hardware you own, they are constraining what you can do using the software they provide with said hardware. It’s through this control of the operating system that Google is exerting control, not at the hardware layer. You often don’t have full access to the hardware either and building new operating systems to run on mobile hardware is impossible, or at least much harder than it should be. This is a separate, and I think more fruitful, point to make. Apple is a better case study than Google here. Apple’s success with iOS partially derives from the tight integration of hardware and software. An iPhone without iOS is a very different product to what we understand an iPhone to be. Forcing Apple to change core tenets of iOS by legislative means would undermine what made the iPhone successful.&lt;/p&gt;

&lt;p&gt;You shouldn’t take away from this that I am some stalwart defender of the two behemoths Apple and Google, far from it. However, our critique shouldn’t be of the restrictions in place in the operating systems they provide – rather, it should focus on the ability to truly run any code we want on hardware we own. In this context this would mean having the ability and documentation to build or install alternative operating systems on this hardware. It should be possible to run Android on an iPhone and manufacturers should be required by law to provide enough technical support and documentation to make the development of new operating systems possible. If you want to play Playstation games on your PS5 you must suffer Sony’s restrictions, but if you want to convert your PS5 into an emulator running Linux that should be possible.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="opinion" /><category term="ios" /><category term="android" /><summary type="html">Sideloading has been a hot topic for the last decade. Most recently, Google has announced further restrictions on the practice in Android. Many hundreds of comment threads have discussed these changes over the years. One point in particular is always made: “I should be able to run whatever code I want on hardware I own”. I agree entirely with this point, but within the context of this discussion it’s moot.</summary></entry><entry><title type="html">On Async Rust</title><link href="https://hugotunius.se/2024/03/08/on-async-rust.html" rel="alternate" type="text/html" title="On Async Rust" /><published>2024-03-08T00:00:00+00:00</published><updated>2024-03-08T00:00:00+00:00</updated><id>https://hugotunius.se/2024/03/08/on-async-rust</id><content type="html" xml:base="https://hugotunius.se/2024/03/08/on-async-rust.html">&lt;p&gt;I started using Rust in 2017, before the stabilisation of async/await. When it was stabilised I managed to avoid it for a few more years before it was time to grapple with it. It’s fair to say that async Rust is one of the hairiest parts of the language, not because the async model is poorly designed, but because of the inherent complexity of it in combination with Rust’s goals. There have been many blog post written about async and its perceived shortcomings, as well as excellent explainers and history lessons, mostly from &lt;a href=&quot;https://without.boats/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;withoutboats&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In this post I want to reflect on my experience and journey with async and my thoughts on some of the criticisms levied against async. Starting with: do we really need &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;N:M&lt;/code&gt; threading anyway?&lt;/p&gt;

&lt;h2 id=&quot;do-we-really-need-nm-threading&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#do-we-really-need-nm-threading&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Do we Really Need N:M threading?&lt;/h2&gt;

&lt;p&gt;A favourite maxim of mine is: “Computers are fast actually”. My point being that, as an industry, we have lost touch of quite how much modern computers are capable of. Thus, I’m naturally favourable to the idea that N:M threading is oftentimes overkill and most applications would be well-served by just using OS threads and blocking syscalls. After all the C10k(and more) problem is trivially solvable with just OS threads. Many applications could avoid the complexity of async Rust and still be plenty performant with regular threads.&lt;/p&gt;

&lt;p&gt;However, it doesn’t really matter what I think, or even if it’s true that most applications don’t need N:M threading, because developers, for better or worse, &lt;strong&gt;want&lt;/strong&gt; N:M threading . Therefore, for Rust to be competitive with Go, C++, et al. it must offer it. Rust has a very unique set of constraints that makes solving this problem challenging, one of which is zero-cost abstractions.&lt;/p&gt;

&lt;h2 id=&quot;zero-cost-abstractions&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#zero-cost-abstractions&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Zero-Cost Abstractions&lt;/h2&gt;

&lt;p&gt;Rust’s goal of providing zero-cost abstractions, i.e. abstractions that are no worse than writing the optimal lower level code yourself, often comes up in discussions around async Rust and is sometimes misunderstood. For example, the idea that async Rust is a big ecosystem with many crates and building all of those crates as part of your application is a violation of the zero-cost abstractions principle. It isn’t, zero-cost is about runtime performance.&lt;/p&gt;

&lt;p&gt;The zero-cost goal helps guide us when discussing alternative async models. For example, Go is lauded for its lack of function-colouring and its sometimes suggested Rust should copy its approach. This is a no-go(😅) because Go’s approach is decidedly &lt;strong&gt;not&lt;/strong&gt; zero-cost and requires a heavy runtime. Rust did actually feature green threads, which are similar to coroutines, in an earlier version of the language, but these were &lt;a href=&quot;https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md&quot;&gt;removed&lt;/a&gt; precisely because of the runtime requirement.&lt;/p&gt;

&lt;h2 id=&quot;the-arcmutex-in-the-room&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#the-arcmutex-in-the-room&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Arc&amp;lt;Mutex&amp;gt;&lt;/code&gt; in the room&lt;/h2&gt;

&lt;p&gt;Another common point of contention is the tendency for async Rust to require a lot, and I do mean &lt;strong&gt;a lot&lt;/strong&gt;, of types like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Arc&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Mutex&lt;/code&gt;, often in combination. I experienced this myself when starting out with async Rust, it’s easy to solve local state synchronisation problems with these constructs without properly thinking about the wider design of your application. The result is a mess that soon comes back to bite you. However, discussing this in the context of async Rust and as an “async problem” is unfair, it’s really a concurrency problem and it will manifest in applications that achieve concurrency with OS threads too. Fundamentally, if you want to have shared state, whether between tasks or threads, you have to contend with the synchronisation  problem. One of my big lessons in learning async Rust is to not blindly follow compilers errors to “solve” shared state, instead take a step back and properly considered if the state should be shared at all.&lt;/p&gt;

&lt;p&gt;This problem is similar to the notorious borrow checker problems Rust is infamous for. When I started learning Rust I often ran into borrow checker problems because I wasn’t thinking thoroughly about ownership, only about my desire to borrow data. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Arc&amp;lt;Mutex&amp;gt;&lt;/code&gt; and friends sometimes betray a similar lack of consideration for ownership.&lt;/p&gt;

&lt;h2 id=&quot;critiquing-async-rust&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#critiquing-async-rust&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Critiquing Async Rust&lt;/h2&gt;

&lt;p&gt;All of the above form the context to be considered when critiquing async rust. Simply stating that Rust should abandon zero-cost abstractions is easy, while providing constructive feedback that takes this goal into consideration is not. The same is true about the suggestion that Rust should not have an async programming model at all. Within these bounds, constructive criticism of Rust’s async model is great, only by examining what’s not working well can lessons be learned for the future and the language improved. All this said, there are definitely problems with async Rust.&lt;/p&gt;

&lt;p&gt;When you go looking for crates to perform anything remotely related to IO e.g. making HTTP requests, interfacing with databases, implementing web servers, you’ll find that there is an abundance of async crates, but rarely any that are sync. Even when sync crates exist they are often implemented in terms of the async version, meaning you’ll have to pull in a large number of transitive dependencies from the async ecosystem into your ostensibly sync program. This is an extension of the function colouring problem, it’s &lt;strong&gt;crate colouring&lt;/strong&gt;. The choice of IO model pollutes both a crate’s API and it’s dependency hierarchy. In the rare instances when only a sync crate exists the opposite problem occurs for sync programs, yes there’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;block_on&lt;/code&gt; and friends, but this is band-aid at best.&lt;/p&gt;

&lt;p&gt;Even within the async ecosystem there’s a problem, the dominance of Tokio. Tokio is a great piece of software and has become the de facto default executor. However, “default” implies the possibility of choosing a different executor, which in reality is not possible. The third party crate ecosystem isn’t just dominated by async crates, but by crates that only work with Tokio. Use a different executor? Tough luck. You’ll need to switch to Tokio or redundantly implement the crates you need for yourself. Not only do we have a crate colouring problem, but there are also more than &lt;a href=&quot;https://without.boats/blog/let-futures-be-futures/#the-function-non-coloring-problem&quot;&gt;3 colours&lt;/a&gt; because &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;async-tokio&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;async-async-std&lt;/code&gt; are distinct colours.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html&quot;&gt;Async traits are slowly being stabilised&lt;/a&gt;, but this is just one place where the language and standard library lacks proper support for async. Drop still cannot be async and neither can closures. Async is a second-class citizen within Rust because the tools that are usually available to us, are off limits in async. There is interesting work happening to address this, namely &lt;a href=&quot;https://www.youtube.com/watch?v=MTnIexTt9Dk&quot;&gt;extensions to Rust’s effect system&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;inverting-expectations&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#inverting-expectations&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Inverting Expectations&lt;/h2&gt;

&lt;style type=&quot;text/css&quot;&gt;
:root {
    --light-blue-color: rgba(38, 140, 234, 1);
    --light-green-color: rgba(38, 234, 46, 1);
    --light-red-color: rgba(234, 38, 73, 1);
    --light-orange-color: rgba(234, 120, 38, 1);

    --dark-blue-color: rgba(115, 188, 255, 1);
    --dark-green-color: rgba(115, 255, 120, 1);
    --dark-red-color: rgba(255, 115, 140, 1);
    --dark-orange-color: rgba(255, 174, 115, 1);

    --blue-color: var(--light-blue-color);
    --green-color: var(--light-green-color);
    --red-color: var(--light-red-color);
    --orange-color: var(--light-orange-color);
}

@media (prefers-color-scheme: dark) {
    :root {
        --blue-color: var(--dark-blue-color);
        --green-color: var(--dark-green-color);
        --red-color: var(--dark-red-color);
        --orange-color: var(--dark-orange-color);
    }
    
    span.c {
        color: var(--background-color);
    }
}

span.c {
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

span.b {
    background-color: var(--blue-color);
}

span.g {
    background-color: var(--green-color);
}

span.r {
    background-color: var(--red-color);
}

span.o {
    background-color: var(--orange-color);
}
&lt;/style&gt;

&lt;p&gt;The problems of function and crate colouring are intimately tied to how code is structured. When IO is internal to a piece of code, abstracting over its asyncness, or lack thereof, becomes complicated due to colouring. The colouring is infectious, if some code abstracts over the colours red and green, then that code needs to become a chameleon, changing its colour based on the internal colour of the IO. At the moment this chameleon behaviour is not achievable in Rust, although the effects extensions would allow it. Abstracting over the asyncness of IO is complicated, what if we instead were to avoid it with inversion of control.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://sans-io.readthedocs.io/&quot;&gt;sans-IO pattern&lt;/a&gt; sidesteps the colouring problem by moving the IO out. Instead of abstracting over IO we implement the core logic and expect the caller to handle IO. Concretely this means that a set of crates implementing a HTTP client would be split into a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-proto&lt;/code&gt; crate and several user facing crates &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-sync&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-tokio&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-async-std&lt;/code&gt;. Borrowing from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;withoutboat&lt;/code&gt;’s colour definitions, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-proto&lt;/code&gt; would be a &lt;span class=&quot;c b&quot;&gt;blue crate&lt;/span&gt;, it does no IO and never blocks the calling thread, it implements the protocol level HTTP concerns such as request parsing, response generation etc. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-sync&lt;/code&gt; would be a &lt;span class=&quot;c g&quot;&gt;green crate&lt;/span&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-tokio&lt;/code&gt; would be a &lt;span class=&quot;c r&quot;&gt;red crate&lt;/span&gt;. As I hinted to before, a different async executor, at least in the absence of the aforementioned abstractions, is a different colour too so &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http-client-async-std&lt;/code&gt; would be an &lt;span class=&quot;c o&quot;&gt;orange crate&lt;/span&gt;. This pattern has several benefits, it enables code sharing between differing IO models without bloating dependency trees or relying on the likes of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;block_on&lt;/code&gt;. A user that finds the crates &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;foo-proto&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;foo-tokio&lt;/code&gt; can leverage &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;foo-proto&lt;/code&gt; to contribute &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;foo-sync&lt;/code&gt;, requiring less duplication. If every crate that deals with IO followed this pattern the problem of crate colouring would be greatly alleviated and significant portions of code could be shared between sync and async implementations.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="programming" /><category term="rust" /><category term="opinion" /><summary type="html">I started using Rust in 2017, before the stabilisation of async/await. When it was stabilised I managed to avoid it for a few more years before it was time to grapple with it. It’s fair to say that async Rust is one of the hairiest parts of the language, not because the async model is poorly designed, but because of the inherent complexity of it in combination with Rust’s goals. There have been many blog post written about async and its perceived shortcomings, as well as excellent explainers and history lessons, mostly from withoutboats.</summary></entry><entry><title type="html">Stop Using (only) GitHub Releases</title><link href="https://hugotunius.se/2024/01/20/stop-using-github-releases.html" rel="alternate" type="text/html" title="Stop Using (only) GitHub Releases" /><published>2024-01-20T00:00:00+00:00</published><updated>2024-01-20T00:00:00+00:00</updated><id>https://hugotunius.se/2024/01/20/stop-using-github-releases</id><content type="html" xml:base="https://hugotunius.se/2024/01/20/stop-using-github-releases.html">&lt;p&gt;The other day at work I, accidentally, roped myself into upgrading some dependencies in our Rust services. These were breaking changes, so not just a case of running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cargo update&lt;/code&gt;. I had to understand the changes and make the appropriate modifications to our code. Adopting breaking changes can be frustrating in the best of times, but it was particularly annoying this time because none of these projects kept a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CHANGELOG.md&lt;/code&gt; files, although they all had release notes on GitHub.&lt;/p&gt;

&lt;p&gt;GitHub’s &lt;a href=&quot;https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository&quot;&gt;releases feature&lt;/a&gt; allows you to combine a git tag with release notes, metadata, and files(binaries, source code etc). While useful, GitHub’s releases have many downsides and consuming them adds friction to the task of understanding changes in a project. They can be a useful supplement to a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CHANGELOG.md&lt;/code&gt;/&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HISTORY.md&lt;/code&gt;/&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RELEASES.md&lt;/code&gt; file but &lt;strong&gt;should not&lt;/strong&gt; be the only place where release notes are recorded.&lt;/p&gt;

&lt;p&gt;The problems with exclusively using GitHub’s releases feature are:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pagination&lt;/strong&gt;, which makes it hard to search across the full releases and makes cross-referencing between different versions cumbersome.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Not truly being apart of the repository&lt;/strong&gt;, which means, if you want to look at the source checked out, you end up having to read release notes on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;github.com&lt;/code&gt; and the source in your editor(reading the code on GitHub is not ergonomic at all).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;External system risk&lt;/strong&gt;, which means that an integral part of the project, the release notes, live in an external system to the code itself. While GitHub is showing no signs of waning at the moment, it’s not going to be around forever and when it does eventually fall out of favour the release notes of many projects will be lost to history. Migrating the git repository itself to a new host is trivial and necessary, but few projects will take the time to migrate release notes. Of course, a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CHAGNELOG.md&lt;/code&gt; file(already being apart of the repository) migrates along the source code.&lt;/p&gt;

&lt;p&gt;If you are involved with an open source project, please do &lt;a href=&quot;https://keepachangelog.com/en/1.1.0/&quot;&gt;keep a changelog&lt;/a&gt;, but make it an actual file in the repository not just the releases section on GitHub. If you provide release notes on GitHub in addition to the file that’s great too!&lt;/p&gt;

&lt;p&gt;This idea generalises beyond just release notes. Always try to make the source of truth files in git, rather than data in the databases of external system. Don’t relegate the details of why a change was made to an external ticketing system, that will eventually be lost to history, put them in the commit message. Don’t put your documentation in an external system that will get lost when the business changes its mind about documentation practices for the hundredth time, put it in markdown files in a folder. If something is related to development of a project and can be expressed as files in a folder, it should be files in a folder.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;If something is related to development of a project and can be expressed as files in a folder, it should be files in a folder.&lt;/p&gt;
&lt;/blockquote&gt;</content><author><name>Hugo Tunius</name></author><category term="programming" /><category term="culture" /><category term="git" /><category term="vsc" /><category term="ux" /><category term="opinion" /><summary type="html">The other day at work I, accidentally, roped myself into upgrading some dependencies in our Rust services. These were breaking changes, so not just a case of running cargo update. I had to understand the changes and make the appropriate modifications to our code. Adopting breaking changes can be frustrating in the best of times, but it was particularly annoying this time because none of these projects kept a CHANGELOG.md files, although they all had release notes on GitHub.</summary></entry><entry><title type="html">The Great Pendulum</title><link href="https://hugotunius.se/2023/07/09/the-great-pendulum.html" rel="alternate" type="text/html" title="The Great Pendulum" /><published>2023-07-09T00:00:00+01:00</published><updated>2023-07-09T00:00:00+01:00</updated><id>https://hugotunius.se/2023/07/09/the-great-pendulum</id><content type="html" xml:base="https://hugotunius.se/2023/07/09/the-great-pendulum.html">&lt;p&gt;17 odd years ago when I stared programming, PHP was all the rage. Javascript was steadily gaining traction. Django and Ruby on Rails were in their infancy, but promised greatly increased productivity. A few years later, inspired by Ruby’s fame, Coffeescript became a mainstay in the Javascript ecosystem. Statically compiled, typed languages, used to build monolithic web applications, were rapidly falling out of favour. In 2023 the trend is reversing, static compilation and types are cool again. Monoliths are making a comeback. &lt;em&gt;The pendulum is turning.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The first serious web application I built used an emerging pattern, AJAX(&lt;strong&gt;A&lt;/strong&gt;synchronous &lt;strong&gt;J&lt;/strong&gt;avascript &lt;strong&gt;a&lt;/strong&gt;nd &lt;strong&gt;X&lt;/strong&gt;ML), where the server didn’t just return HTML, but also Javascript that could fetch further data and update the HTML later. Several years later, when many started complaining about the high cost of React and SPAs I started thinking in terms of the pendulum. Entirely server rendered applications is one extreme of this particular pendulum, entirely client side rendered applications being the other. In the pursuit of web applications that delivered snappier user experiences the industry, arguably, overshot past the equilibrium point. &lt;a href=&quot;https://htmx.org/&quot;&gt;HTMX&lt;/a&gt; and &lt;a href=&quot;https://hotwired.dev/&quot;&gt;Hotwired&lt;/a&gt; are examples of the pendulum starting to swing back, whether the industry will again overshoot is an open question.&lt;/p&gt;

&lt;p&gt;There are many pendulums in our industry, here are some that I’ve noticed over the years:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Static typing&lt;/strong&gt; vs &lt;strong&gt;Dynamic typing&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Monoliths&lt;/strong&gt; vs &lt;strong&gt;Microservices&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cloud&lt;/strong&gt; vs &lt;strong&gt;On-prem&lt;/strong&gt;, I think on-prem is having a bit of a moment after the industry indexed heavily on cloud in the past decade.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Statically compiled languages&lt;/strong&gt; vs &lt;strong&gt;Interpreted languages&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Server Side Rendering&lt;/strong&gt; vs &lt;strong&gt;Client Side Rendering&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those who have spent longer than me in the industry have, undoubtedly, spotted even more than I have. If you have a suggestion I would love to hear it.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#conclusion&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In most instances the correct position lies somewhere near the equilibrium point, but we tend to overshoot it in each swing. Maybe, like a real pendulum, the amplitude of these pendulums will decrease over time and they will come to rest at the equilibrium. Or maybe we’ll continue to overshoot, the memories of the previous swing faded by time. I’m somewhat hopeful that we will learn from each period and the former will prove to be more true than the latter.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="opinion" /><category term="web" /><summary type="html">17 odd years ago when I stared programming, PHP was all the rage. Javascript was steadily gaining traction. Django and Ruby on Rails were in their infancy, but promised greatly increased productivity. A few years later, inspired by Ruby’s fame, Coffeescript became a mainstay in the Javascript ecosystem. Statically compiled, typed languages, used to build monolithic web applications, were rapidly falling out of favour. In 2023 the trend is reversing, static compilation and types are cool again. Monoliths are making a comeback. The pendulum is turning.</summary></entry><entry><title type="html">NFTs, How Do They Work?</title><link href="https://hugotunius.se/2022/01/16/nfts-how-do-they-work.html" rel="alternate" type="text/html" title="NFTs, How Do They Work?" /><published>2022-01-16T00:00:00+00:00</published><updated>2022-01-16T00:00:00+00:00</updated><id>https://hugotunius.se/2022/01/16/nfts-how-do-they-work</id><content type="html" xml:base="https://hugotunius.se/2022/01/16/nfts-how-do-they-work.html">&lt;p&gt;Freaking &lt;del&gt;magnets&lt;/del&gt;  NFTs, how do they work? In this post I’ll try to explain NFTs in a way that’s mostly accurate, but requires minimal technical understanding. I’m going to assume the reader is familiar with excel style software and &lt;a href=&quot;https://www.google.co.uk/sheets/about/&quot;&gt;Google Sheets&lt;/a&gt; in particular.&lt;/p&gt;

&lt;p&gt;At its core every NFT project is like a single Google Sheet. It has a creator who has some special permission to modify the sheet.&lt;/p&gt;

&lt;p&gt;An NFT within the project is like a single row in the sheet. Each row contains only two things: a name and an id. For example, if my NFT has 10,000 unique tokens then I could use the ids from 1 through 10,000 to identify each token.&lt;/p&gt;

&lt;p&gt;&lt;span aria-hidden=&quot;true&quot;&gt;
&lt;a href=&quot;/img/nfts-how-do-they-work/empty-sheet.png&quot;&gt;&lt;img src=&quot;/img/nfts-how-do-they-work/empty-sheet.png?1781563993&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;To begin with the sheet is empty. The creator might assign themselves a few tokens by creating new rows with their own name and some ids. Then they invite other people to “mint” new tokens and gain rows with their name in them. In order to mint, the user has to pay the creator a small fee(for example via Venom). In return for payment a row is added to the sheet containing the user’s name and a randomly selected unassigned id. In addition the user is given permission to change who owns the id they were allocated, this facilitates selling their token. Eventually all 10,000 tokens run out and there are no longer unassigned ids. The creator will now refuse to mint more tokens.&lt;/p&gt;

&lt;p&gt;&lt;span aria-hidden=&quot;true&quot;&gt;
&lt;a href=&quot;/img/nfts-how-do-they-work/minted-sheet.png&quot;&gt;&lt;img src=&quot;/img/nfts-how-do-they-work/minted-sheet.png?1781563993&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Users can sell their row in the sheet to other people. When they do, they update the name in the row to the buyer’s name and in so doing loses the ability to change it.&lt;/p&gt;

&lt;p&gt;Now you might be saying: but aren’t NFTs, like, ugly pictures of monkeys? Yes they can be and often are images, but they don’t have to be. Further, what’s actually stored is just an id as I’ve described.&lt;/p&gt;

&lt;p&gt;So how do you get the picture of your ugly monkey to show off to your friends? You use a special URL, which is stored in a cell somewhere in the sheet, and then append your token’s id to it. For example, the URL might be &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://ugly-monkeys.com/&lt;/code&gt; and if you own monkey #54 then its image can be found at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://ugly-monkeys.com/54&lt;/code&gt;. Depending on how the creator has set things up they might be able to change the URL in the sheet. Maybe tomorrow your ugly monkey will become a zebra, because the creator changed the URL to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://ugly-zebras.com&lt;/code&gt;, exciting!&lt;/p&gt;

&lt;p&gt;Now instead of a Google Sheet imagine all this data lives on a Blockchain, for example &lt;a href=&quot;https://ethereum.org/en/&quot;&gt;Ethereum&lt;/a&gt;, and that’s mostly how it all works.&lt;/p&gt;

&lt;h2 id=&quot;caveats&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#caveats&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Caveats&lt;/h2&gt;

&lt;p&gt;This section contains some caveats about analogy above. They aren’t super important, but if you are interested read on.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Almost all of the steps outlined above are executed by the sheet(it’s actually a &lt;a href=&quot;https://en.wikipedia.org/wiki/Smart_contract&quot;&gt;smart contract&lt;/a&gt;) itself. The creator creates the contract and they can have special permission to withdraw funds stored in the contract and change some properties of it, but the minting and selling process is handled by the contract.&lt;/li&gt;
  &lt;li&gt;The contact is running on a decentralised network of computers that power the Blockchain in question. This is very unlike Google Sheets(which is centralised), were Google are ultimately in control and could change the sheet at will.&lt;/li&gt;
  &lt;li&gt;The example of monkeys turning into zebras above is not made up. This is possible in real NFTs, for example in the most famous NFT project: &lt;a href=&quot;https://boredapeyachtclub.com/#/&quot;&gt;Bored Ape Yacht Club&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;In the case of Ethereum(as of February 2022) running this decentralised network of computers consumes an absurd amount of energy and generates massive electronic waste. This isn’t just because the network contains a lot of computers, at its core Blockchains like Ethereum are intentionally extremely wasteful.&lt;/li&gt;
&lt;/ol&gt;</content><author><name>Hugo Tunius</name></author><category term="nfts" /><category term="ethereum" /><category term="opinion" /><summary type="html">Freaking magnets NFTs, how do they work? In this post I’ll try to explain NFTs in a way that’s mostly accurate, but requires minimal technical understanding. I’m going to assume the reader is familiar with excel style software and Google Sheets in particular.</summary></entry><entry><title type="html">They Are Just Links</title><link href="https://hugotunius.se/2022/01/13/they-are-just-links.html" rel="alternate" type="text/html" title="They Are Just Links" /><published>2022-01-13T00:00:00+00:00</published><updated>2022-01-13T00:00:00+00:00</updated><id>https://hugotunius.se/2022/01/13/they-are-just-links</id><content type="html" xml:base="https://hugotunius.se/2022/01/13/they-are-just-links.html">&lt;p&gt;NFTs exploded into mainstream popularity in the latter half of 2021 and if you follow me on Twitter you’ll know I’m not a fan. In “crypto”-speak I’m &lt;a href=&quot;https://blog.libertasbella.com/glossary/ngmi/&quot;&gt;NGMI(not gonna make it)&lt;/a&gt;. But what are NFTs anyway?&lt;/p&gt;

&lt;p&gt;The common meme is that NFTs are kind of like receipts or, more charitably, certificates of ownership. The ugly monkey you buy is actually a piece of state maintained in a smart contract on a Blockchain, typically Ethereum. Ethereum based NFTs implement the &lt;a href=&quot;https://eips.ethereum.org/EIPS/eip-721&quot;&gt;EIP-721&lt;/a&gt; standard. This standard describes the behaviour that a smart contract should implement to be an NFT. NFTs aren’t exclusively visual art, but that’s the most common form so let’s roll with it.&lt;/p&gt;

&lt;p&gt;Let’s use the &lt;a href=&quot;https://boredapeyachtclub.com/#/&quot;&gt;ugly monkeys&lt;/a&gt; as an example. The &lt;a href=&quot;https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d&quot;&gt;contract&lt;/a&gt; supports the metadata extension for EIP-271, which specifies the method:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-solidity&quot; data-lang=&quot;solidity&quot;&gt;&lt;span class=&quot;n&quot;&gt;tokenURI&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint256&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;tokenId&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;external&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;view&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;returns&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Given a token id return a URI that points to its metadata. For the ugly monkeys the URI looks like this &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://us-central1-bayc-metadata.cloudfunctions.net/api/tokens/{token_id}&lt;/code&gt;. That domain doesn’t look particularly decentralised, in fact it’s part of Google cloud. If Google goes out of business or otherwise lose access to this domain who knows what your ugly monkey will be pointing to in the future. To boot Google are &lt;a href=&quot;https://killedbygoogle.com/&quot;&gt;notorious&lt;/a&gt; for sun setting products. With GCP maybe they’ll not be as aggressive, but it’s not hard to imagine a future were Google changes the structure of cloud function URLs. A change like that would have a long grace period and most users would easily migrate since changing a URL is not that hard. Except if you have locked the URL inside an immutable smart contract on the Ethereum Blockchain that is.&lt;/p&gt;

&lt;p&gt;Here’s a concrete example with ugly monkey &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#5465&lt;/code&gt;.&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;curl https://us-central1-bayc-metadata.cloudfunctions.net/api/tokens/5465&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-json&quot; data-lang=&quot;json&quot;&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;image&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;https://ipfs.io/ipfs/Qmbijgmi1APqH2UaMVPkwoAKyNiBEHUjap54s3MAifKta6&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;attributes&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;trait_type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Background&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Gray&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;trait_type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Clothes&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Stunt Jacket&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;trait_type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Fur&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Dark Brown&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;trait_type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Mouth&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Phoneme  ooo&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;trait_type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Hat&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Short Mohawk&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;trait_type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Eyes&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Crazy&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;The image of the ugly monkey is stored on &lt;a href=&quot;https://en.wikipedia.org/wiki/InterPlanetary_File_System&quot;&gt;IPFS&lt;/a&gt; which is at least decentralised, although the ipfs.io gateway isn’t.&lt;/p&gt;

&lt;h2 id=&quot;its-all-about-ownership&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#its-all-about-ownership&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;It’s all About Ownership&lt;/h2&gt;

&lt;p&gt;NFT &lt;del&gt;shillers&lt;/del&gt; proponents will tell you NFTs are all about proving ownership. What does a given NFT actually prove? Mostly that there’s some state locked in an Ethereum contract where your wallet is recorded as the owner.&lt;/p&gt;

&lt;p&gt;Here’s a pop quiz: Which of these two is the BAYC contract and which is my own NFT UMBC(Ugly Monkey Boat Cabal)?&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;0xBC4CA0EdA9647A8aB7C2061c2E118A18a936f13D&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you guessed &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;2&lt;/code&gt; congrats, you correctly identified my superior NFT, UMBC.&lt;/p&gt;

&lt;p&gt;UMBC doesn’t exist, I would never actually create an NFT. However, there’s an interesting conundrum here: If I duplicate the BAYC contract and deploy it, how can someone tell the difference between mine and the original?&lt;/p&gt;

&lt;p&gt;This question came up when Twitter launched support for &lt;a href=&quot;https://help.twitter.com/en/using-twitter/twitter-blue-fragments-folder/nft&quot;&gt;NFT profile pictures&lt;/a&gt;, which are displayed as hexagons. People were angry at Twitter for not launching with the concept of “verified collections”. BAYC would be a verified collection, UMBC would not.&lt;/p&gt;

&lt;p&gt;However, the whole notion of a “verified collection” hints at a bigger problem: who does the verifying? It’s weird for an, ostensibly, decentralised concept to become useless without introducing a centralised entity like a verifier. &lt;a href=&quot;opensea.io&quot;&gt;OpenSea&lt;/a&gt;, the leading NFT marketplace, is rapidly filling the role of verifier and central authority in the NFT space. It has banned several NFTs from its platform, effectively dooming those projects. The centralisation on OpenSea is already so significant that OpenSea having an outage &lt;a href=&quot;https://www.vice.com/en/article/g5qjej/people-cant-see-some-nfts-in-crypto-wallets-after-opensea-goes-down&quot;&gt;took down Twitter’s NFT feature&lt;/a&gt;. So much for the promise of decentralisation.&lt;/p&gt;

&lt;h2 id=&quot;wait-its-not-2007&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#wait-its-not-2007&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Wait, It’s Not 2007?!&lt;/h2&gt;

&lt;p&gt;If you squint, NFTs are awfully similar to torrents and there are interesting parallels with the legal battles between The Pirate Bay and the entertainment industry circa 2007.&lt;/p&gt;

&lt;p&gt;Back in those olden days a common defence employed by pirates was that the torrents are just links, they don’t actually contain any content and thus aren’t and couldn’t be infringing on copyright. The point that both Google and The Pirate Bay could be used to find torrent files was a frequent argument.&lt;/p&gt;

&lt;p&gt;You can make a very similar argument about my hypothetical UMBC NFT described above. It would simply contain links, perhaps the same ones that BAYC uses, to metadata and artwork. I’m not a lawyer, but I don’t see how that can be construed as a copyright violation, they’re just links after all. Of course UMBC would get immediately banned from OpenSea, effectively killing the project.&lt;/p&gt;

&lt;h2 id=&quot;the-decentralisation-that-wasnt&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#the-decentralisation-that-wasnt&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;The Decentralisation That Wasn’t&lt;/h2&gt;

&lt;p&gt;It turns out NFTs aren’t particularly decentralised. The most popular NFT directly depends on Google’s cloud and the links it stored on the Ethereum Blockchain could all stop resolving tomorrow. Knowing the NFT space such an event would, paradoxically, increase the value of the ugly monkeys.&lt;/p&gt;

&lt;p&gt;Even if you can, in theory, mint anything as an NFT, good luck getting anywhere when you end up banned from OpenSea. Your project might as well not exist at that point.&lt;/p&gt;

&lt;p&gt;NFTs remain a solution in search of a problem. A speculative, hype-driven scam were neither the art nor the decentralisation is important, making a quick buck by not being the greater fool is.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="nfts" /><category term="ethereum" /><category term="opinion" /><summary type="html">NFTs exploded into mainstream popularity in the latter half of 2021 and if you follow me on Twitter you’ll know I’m not a fan. In “crypto”-speak I’m NGMI(not gonna make it). But what are NFTs anyway?</summary></entry><entry><title type="html">How to Delete All your Tweets</title><link href="https://hugotunius.se/2021/04/05/how-to-delete-all-your-tweets.html" rel="alternate" type="text/html" title="How to Delete All your Tweets" /><published>2021-04-05T00:00:00+01:00</published><updated>2021-04-05T00:00:00+01:00</updated><id>https://hugotunius.se/2021/04/05/how-to-delete-all-your-tweets</id><content type="html" xml:base="https://hugotunius.se/2021/04/05/how-to-delete-all-your-tweets.html">&lt;p&gt;A while back I had to re-activate my deactivated Facebook account to participate in a Messenger group chat. I wasn’t exactly happy about this, but being an absolutist about these things is not worthwhile either. After re-activating my account I decided it would make me slightly happier about the situation if I wiped all the content from my account. A digital detox if you will. Ever since then I’ve had a nagging feeling I should expand this idea to other platforms. This blog post is about how I deleted all my tweets on Twitter.&lt;/p&gt;

&lt;p&gt;Thanks to the EU and the GDPR I can ask Twitter to delete all my data and they have to comply with my request. Unfortunately, my goal isn’t to delete my Twitter account, I just want to delete all my tweets. Twitter does have an API which should make it trivial to enumerate and delete all of my tweets. There are many scripts available online which do just this. Not to mention many websites that offer the same service, although I’d stay away from them.&lt;/p&gt;

&lt;p&gt;I used &lt;a href=&quot;https://gist.github.com/chrisalbon&quot;&gt;Chris Albon&lt;/a&gt;’s &lt;a href=&quot;https://gist.github.com/chrisalbon/b9bd4a6309c9f5f5eeab41377f27a670&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tweet_deleting_script.py&lt;/code&gt;&lt;/a&gt; as the base of my implementation. Before running it I made a few tweaks, namely injecting the relevant secrets via the environment.&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-python&quot; data-lang=&quot;python&quot;&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;from_env&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;key&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;):&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;value&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;getenv&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;key&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;bp&quot;&gt;None&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

    &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;value&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;is&lt;/span&gt; &lt;span class=&quot;bp&quot;&gt;None&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
        &lt;span class=&quot;k&quot;&gt;raise&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;ValueError&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
          &lt;span class=&quot;s&quot;&gt;f&quot;Env variable &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;key&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s&quot;&gt; must be provided&quot;&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;value&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Chris’s script fetches all tweets for the account in question using Twitter’s &lt;a href=&quot;https://developer.twitter.com/en/docs/twitter-api/tweets/timelines/introduction&quot;&gt;timeline API endpoint&lt;/a&gt; and then, unsurprisingly, deletes each of them in turn. Chris also added some filtering criteria to keep certain Tweets around, but since I was going nuclear I removed that code.&lt;/p&gt;

&lt;p&gt;That’s that then? Run the script and wait? You’d be forgiven for thinking this was the end of this post and that it makes for a rather dull post. However, we live in the year 2021 of exciting web scale services and distributed systems and Twitter’s timeline API only returns the last 3200 tweets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Twitter’s docs:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The user Tweet timeline endpoint is a REST endpoint that receives a single path parameter to indicate the desired user (by user ID). The endpoint can return the 3,200 most recent Tweets, Retweets, replies and Quote Tweets posted by the user.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you spend your time on better things than tweeting and thus have fewer than 3200 tweets I applaud you. The script above is all you need, just run it an enjoy your digital detox. If you, like me, waste lots of time tweeting let me tell you about how to waste even more time deleting said tweets.&lt;/p&gt;

&lt;p&gt;When I first read about the 3200 tweets limitation I assumed that after deleting the most recent 3200 tweets I could just run the script again, but no such luck. After deleting 3200 tweets the timeline endpoint returns nothing, regardless of the number of remaining undeleted tweets. In my case I had about 5000 tweets left after running Chris’s script.&lt;/p&gt;

&lt;p&gt;The crux of the matter is that we need the tweets, well their ids anyway, in order to delete them, a bit of a catch 22. I dug through the Twitter API documentation and some discussion online but there doesn’t seem to exist a programmatic way to access all the tweets for a given account. One neat trick I found used browser automation to search for tweets from the given account day by day, but this would have required 3285(9 years) searches for my account.&lt;/p&gt;

&lt;p&gt;I was about to give up, but then I realised that Twitter has to give me all the data they hold about me if I ask them(thank you EU!). I &lt;a href=&quot;https://twitter.com/settings/download_your_data&quot;&gt;asked Twitter for an archive of my data&lt;/a&gt; and waited. It took a couple of days but eventually Twitter sent me a comprehensive archive of everything I had ever done on Twitter, including every tweet and their ids.&lt;/p&gt;

&lt;p&gt;In the archive there’s a file called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;data/tweets.js&lt;/code&gt; which starts with the line:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-python&quot; data-lang=&quot;python&quot;&gt;&lt;span class=&quot;n&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;YTD&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tweet&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;part0&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Then follows every tweet I have ever tweeted. Simply deleting the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;window.YTD.tweet.part0 =&lt;/code&gt; part of this line makes the file valid JSON. With some tweaks to Chris’s script I used this new source of tweets to delete every single one of my tweets. Ah bliss, digital detoxing feels good.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/img/delete-tweets/and-then-there-was-none.png&quot;&gt;&lt;img src=&quot;/img/delete-tweets/and-then-there-was-none.png?1781563993&quot; alt=&quot;Screenshot of my Twitter profile. Below my display name is the string &amp;quot;25 Tweets&amp;quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Twitter still thinks I have 25 tweets and I have been unable to locate these tweets. I suppose in the age of distributed systems 0 is just a mirage.&lt;/p&gt;

&lt;p&gt;If you feel like doing a digital detox I’ve published the relevant technical details in the following &lt;a href=&quot;https://gist.github.com/k0nserv/d8c6f110f001ee960a5684357431f033&quot;&gt;GitHub Gist&lt;/a&gt;.&lt;/p&gt;</content><author><name>Hugo Tunius</name></author><category term="web" /><category term="privacy" /><category term="python" /><summary type="html">A while back I had to re-activate my deactivated Facebook account to participate in a Messenger group chat. I wasn’t exactly happy about this, but being an absolutist about these things is not worthwhile either. After re-activating my account I decided it would make me slightly happier about the situation if I wiped all the content from my account. A digital detox if you will. Ever since then I’ve had a nagging feeling I should expand this idea to other platforms. This blog post is about how I deleted all my tweets on Twitter.</summary></entry><entry><title type="html">The Apps That Are Listening to You</title><link href="https://hugotunius.se/2021/01/10/the-apps-that-listen-to-you.html" rel="alternate" type="text/html" title="The Apps That Are Listening to You" /><published>2021-01-10T00:00:00+00:00</published><updated>2021-01-10T00:00:00+00:00</updated><id>https://hugotunius.se/2021/01/10/the-apps-that-listen-to-you</id><content type="html" xml:base="https://hugotunius.se/2021/01/10/the-apps-that-listen-to-you.html">&lt;p&gt;An oft discussed hypothesis is that certain apps, usually Facebook, listens to and analyses your surroundings for ad targeting purposes. It has never been conclusively proven that Facebook does this, but there are plenty of people on the internet with anecdotal stories of ads appearing for products they’ve only discussed IRL. In iOS 14 Apple added indicators to highlight when an app is using the device’s microphone or camera. Since I have access to a decently sized collection of app privacy details I decided to have a look if any apps admit to this behaviour.&lt;/p&gt;

&lt;p&gt;This is an extension of my previous work on &lt;a href=&quot;https://hugotunius.se/2021/01/03/an-analysis-of-privacy-on-the-app-store.html&quot;&gt;analysing privacy on the app store&lt;/a&gt;, I’d recommend reading that post before this one.&lt;/p&gt;

&lt;p&gt;In this post I am looking at apps that collect &lt;em&gt;“Audio Data”&lt;/em&gt; under the &lt;em&gt;“User Content”&lt;/em&gt; category for third party tracking use i.e. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;DATA_USED_TO_TRACK_YOU&lt;/code&gt;. Apple defines audio data as &lt;em&gt;The user’s voice or sound recordings&lt;/em&gt;, thus it’s not definite if these apps listen to your microphone or use some other type of sound recording.&lt;/p&gt;

&lt;p&gt;My data set contains 22 812 apps, of which about half have provided privacy details. Of these apps there are nine that confess to collecting audio data for third party tracking purposes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id836215269&quot;&gt;Chime - Mobile Banking&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id972909677&quot;&gt;Periscope Live Video Streaming&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id1382123330&quot;&gt;Scary chat stories, text games&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id1068187100&quot;&gt;Football Index - Bet &amp;amp; Trade&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id421254504&quot;&gt;Magic Piano by Smule&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id1443813253&quot;&gt;Paxful Bitcoin Wallet&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id1484587490&quot;&gt;Millionaire Match: Upscale App&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id1104213750&quot;&gt;Min Doktor – läkare i mobilen&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://apps.apple.com/us/app/id1525138651&quot;&gt;Monifi - Mobile Banking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;update-history&quot;&gt;&lt;a class=&quot;heading-anchor&quot; aria-hidden=&quot;true&quot; href=&quot;#update-history&quot;&gt;&lt;img src=&quot;/assets/icons/link.svg?1781563993&quot; /&gt;&lt;/a&gt;Update History&lt;/h2&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;&lt;strong&gt;Date&lt;/strong&gt;&lt;/th&gt;
      &lt;th&gt;&lt;strong&gt;Changes&lt;/strong&gt;&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;2020-01-10&lt;/td&gt;
      &lt;td&gt;Initial publication&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;2020-01-17&lt;/td&gt;
      &lt;td&gt;Updated with larger data set&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;2020-04-27&lt;/td&gt;
      &lt;td&gt;Refreshed data&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;</content><author><name>Hugo Tunius</name></author><category term="privacy" /><category term="ios" /><summary type="html">An oft discussed hypothesis is that certain apps, usually Facebook, listens to and analyses your surroundings for ad targeting purposes. It has never been conclusively proven that Facebook does this, but there are plenty of people on the internet with anecdotal stories of ads appearing for products they’ve only discussed IRL. In iOS 14 Apple added indicators to highlight when an app is using the device’s microphone or camera. Since I have access to a decently sized collection of app privacy details I decided to have a look if any apps admit to this behaviour.</summary></entry></feed>