More from Daniel De Laney
The way I used to design UI was to sit with paper sketches, or Figma, or a React prototype with no back end. Imagine every failure mode. Design beautiful flows for each. I slipped into this mistake while working on LanWhisper, a voice dictation app. I designed for the failure modes I could imagine, drew the flows, and shipped the app. Then real users hit failure modes that I hadn’t anticipated. For example, the AI transcription model can return hallucinated text even if the input audio is empty. I had imagined that if the model returned text at all then the app was working. This failure wasn’t in my carefully designed list of ideal failures. Whoops. The problem is that a representation of a system only contains what you put into it. The failure modes it shows you are exclusively the ones you already thought of. This is the same mistake as designing for users you’ve never talked to. Designers know that’s a trap. The same logic applies to the systems we design: imagined systems aren’t a substitute for real ones. When designing non-trivial systems, imagination is no longer your best source of truth. The system itself is. And increasingly, designers can build it themselves. Do. Build it, instrument it, surface every piece of state. You can see and feel how the system works instead of projecting the ideal behavior onto some drawings you linked together. Your list of ideal failure modes isn’t real.
Have you ever gotten to the end of a long work day and realized you’re no closer to your goals? I have. Sure, I was doing a lot of stuff. But I wasn’t pausing to ask whether I was doing the right stuff. Or whether my approach was working. Or if I was spending the right amount of time on it. My fingers were moving but I wasn’t really thinking. So I needed a reliable way to interrupt my “unproductive productivity” and actually think. The obvious solution was a timer. Unfortunately, if you use timers a lot, you learn to dismiss them reflexively. And it’s really easy to forget to set the next timer. A week later, I’d realize: “Hey, that timer idea really worked, I should get back to that.” And then I didn’t. So I built a new kind of timer. It does 2 unique things: It asks what I’ll focus on. It gradually blurs my screen if I don’t set a new timer. When it asks “What will you focus on?” I answer in a word or two, start the next timer, and keep working. Having to name my intention keeps me fully aware of my trajectory. If I’m in danger of drifting, it’s obvious. And if I avoid thinking for long enough, my screen starts getting harder to see. If I’m making great progress on something that doesn’t require much thinking, I can set the timer for a longer duration, maybe 30 minutes. But if I’m working on something more open-ended, I might tighten the leash all the way down to 3 minutes. Then I can’t get off track. Unlike a regular timer, I can’t fail to set the next one. If I don’t answer it promptly, the screen gradually becomes less readable until I do. If I wanted to avoid answering, I’d have to make a conscious decision to close the app. I’d have to decide to be less productive. I never do. This small intervention has worked beautifully. Not only am I catching unproductive divergences earlier, I’m noticing fewer of them over time. It seems to be training me to do more and better thinking. It’s not a replacement for a journal. I love journaling, but that takes more than a few seconds, and there’s a lot of benefit to reflecting more frequently. If you’re running macOS, Intention is available here. I use it every day, and I think it’s the superior way of working. Process Tools like Cursor and Claude Code have dramatically changed the way I approach the design process. In the past, I would have sketched some potential solutions, put together a clickable prototype, and user tested that. But how much does that user test actually test? A traditional prototype in Figma or the like is paper-thin. I’m testing much less than the full experience. Now I can sculpt functional software as I go. That means I can build something, really use it, notice opportunities to make it better, and implement the changes I’d like to see, all in the same working session. This fast and robust feedback loop means better software. That said, sketches are still faster. I’ll bounce back and forth between sketching and building as appropriate. It’s far more practical to draw usable imagery than to generate it. The dock icon is drawn by hand in Figma with the pen tool and layer effects. The candle in the dark serves as both a metaphor for the app’s purpose illuminating the way forward, and an allusion to meditative practice. Why does this menu bar application appear in the dock? The answer is in the riddle of keyboard focus. An app that steals my keyboard focus every 3 minutes would be impossible to use, so instead the appearance of the timer window in the top right of the screen gently reminds me, and the gradual blurring of the screen gets more insistent over time. But the app does not take keyboard focus itself. This balance is what makes the app work. So I need a fast and intuitive way to switch to the timer window when I’m ready. Cmd+Tab has to work, and having the app appear in the dock enables that. Inspiration The visual inspiration for the branding is the early 1600s Caravaggio painting Saint Jerome Writing. The aging scholar Jerome, remembering the nearness of death, absorbs himself completely in the most noble work he can find to do while ignoring everything else. This is our task.
I’m the person my friends and family come to for computer-related help. (Maybe you, gentle reader, can relate.) This experience has taught me which computing tasks are frustrating for normal people. Normal people often struggle with converting video. They will need to watch, upload, or otherwise do stuff with a video, but the format will be weird. (Weird, broadly defined, is anything that won’t play in QuickTime or upload to Facebook.) I would love to recommend Handbrake to them, but the user interface is by and for power users. Opening it makes normal people feel unpleasant feelings. This problem is rampant in free software. The FOSS world is full of powerful tools that only have a “power user” UI. As a result, people give up. Or worse: they ask people like you and I to do it for them. I want to make the case to you that you can (and should) solve this kind of problem in a single evening. Take the example of Magicbrake, a simple front end I built. It hides the power and flexibility of Handbrake. It does only the one thing most people need Handbrake for: taking a weird video file and making it normal. (Normal, for our purposes, means a small MP4 that works just about anywhere.) There is exactly one button. This is a fast and uncomplicated thing to do. Unfortunately, the people who have the ability to solve problems like this are often disinclined to do it. “Why would you make Handbrake less powerful on purpose?” “What if someone wants a different format?” “What about [feature/edge case]?” The answer to all these questions is the same: a person who needs or wants that stuff can use Handbrake. If they don’t need everything Handbrake can do and find it bewildering, they can use this. Everyone wins. It’s a bit like obscuring the less-used functions on a TV remote with tape. The functions still exist if you need them, but you’re not required to contend with them just to turn the TV on. People benefit from stuff like this, and I challenge you to make more of it. Opportunities are everywhere. The world is full of media servers normal people can’t set up. Free audio editing software that requires hours of learning to be useful for simple tasks. Network monitoring tools that seem designed to ward off the uninitiated. Great stuff normal people don’t use. All because there’s only one UI, and it’s designed to do everything. 80% of the people only need 20% of the features. Hide the rest from them and you’ll make them more productive and happy. That’s really all it takes.
An objective, external world is a non-falsifiable assumption. The prevailing theory is that our subjective experiences correspond to an external reality. However, they may simply be subjective through and through. That which we claim to be evidence of external reality is actually subjective experience, which may or may not have an external and objective cause. Any test devised to prove objectivity is evaluated within subjectivity and therefore does not require objectivity to explain the result. Some object to this, claiming that the consistency of experience is best explained by an external world. However, consistent experience does not require any external mechanism, let alone the specific one we have assumed. Claiming that belief in an external world is simpler is like claiming that belief in God is simpler; in truth we are inventing something vast and complex without evidence and agreeing not to question it. This is not science, it is a substitute for epistemic humility. Much as dreams appear consistent while dreaming, that which we consider waking experience may not actually be as consistent as we believe. However, questioning this is unproductive reasoning because it undermines the value of reason itself. We must assume our experiences are rational and consistent, or else give up thinking altogether. Experience is the only reality which is detectable. Whatever experience is, it is real and directly perceptible, unlike objectivity. Claims that experience is an illusion presuppose an objective world to which experience does not correspond. Pragmatic truth is supportable, correspondence is not. If an objective world can’t be proven, neither can we prove that knowledge does or does not correspond with it. That which produces a consistent effect in experience is useful in influencing experience in the desired way, therefore science is useful. Materialism is religious faith. Just as we once invented a spirit world to help explain our experiences, we invented an objective world for which there is similar quality evidence. Both are assumed to explain experience, yet neither is directly known. The assertion that matter gives rise to experience is no more compelling than the assertion that experience gives rise to matter. The assumption of an external world has zero explanatory power, as consistent experience does not require it. Materialism is superior to classical religions in that it responds to pragmatic truth, but it still accepts unsupportable metaphysical claims and regards them as unquestionable. By contrast, noting that we have experiences does not require extrapolation or invention. Modern civilization is optimizing materials, not experiences. Focus on economic metrics has allowed us to make tremendous progress in reducing starvation and otherwise improve the experience of the least fortunate. Nonetheless, the subtle error of conflating material improvement with improvement in well-being has consequences. In advanced societies, increases in abstract indicators of material wealth like GDP have been accompanied by negative changes in consciousness: stress, social disconnection, and increased suicide. The materialist assumption that improving external conditions will always trickle down to better experiences is demonstrably unreliable. Often, this assumption results in methods which improve economic indicators by reducing experiential well-being, and in these cases it is worse than nothing. In addition to misallocating its priorities, modern civilization also conditions people to feel powerless over their own well-being. As materialist structures (corporations, governments, economic systems) become more dominant, individuals are increasingly absorbed into mechanisms designed to optimize external conditions rather than subjective experience. People come to believe that their quality of life is dictated by forces beyond their control. The best way to improve experience is to optimize it directly. The only rational goal is maximizing satisfaction. Long-term positive changes in consciousness are what is best in life. If a person achieves material or hedonistic aims but is unsatisfied in the long term, they are having a negative experience and are working against themselves. Secure, nourish, nurture, and build yourself and your community. Seek what is satisfying and aesthetic—that which feels good and true and beautiful. Unlike materialist assumptions, this requires no external faith, only a direct commitment to improving the reality we actually experience.
Code forces humans to be precise. That’s good. Computers need precision. But it also forces humans to think like machines. For decades we tried to fix this by making programming more human-friendly. Higher-level languages. Visual interfaces. Each step helped, but we were still translating human thoughts into computer instructions. AI was supposed to change everything. Finally, plain English could be a programming language. No syntax. No rules. Just say what you want. The first wave of AI coding tools squandered this opportunity. They make flashy demos but produce garbage software. People call them “great for prototyping,” which means “don’t use this for anything real.” Many blame the AI models, saying we just need them to get smarter. This is wrong. Yes, better AI will make better guesses about what you mean. But when you’re building serious software, you don’t want guesses. Not even smart ones. You want to know exactly what you’re building. Current AI tools pretend writing software is like having a conversation. It’s not. It’s like writing laws. You’re using English, but you’re defining terms, establishing rules, and managing complex interactions between everything you’ve said. Try writing a tax code in chat messages. You can’t. Even simple tax codes are too complex to keep in your head. That’s why we use documents—they let us organize complexity, reference specific points, and track changes systematically. Chat reduces you to memory and hope. This is the core problem. You can’t build real software without being precise about what you want. Every successful programming tool in history reflects this truth. AI briefly fooled us into thinking we could just chat our way to complex software. We can’t. You don’t program by chatting. You program by writing documents. When your intent is in a document instead of scattered across a chat log, English becomes a real programming language: You can see your whole system at once You can clarify and improve your intent You can track changes properly Teams can work on the system together Requirements become their own quality checks Changes start from clear specifications The first company to get this will own the next phase of AI development tools. They’ll build tools for real software instead of toys. They’ll make everything available today look like primitive experiments.
More in technology
They talk about how wonderful the Macintosh is and what software Microsoft was making for it.
I am here to perform the forbidden comparison. Everyone says that JavaScript has nothing to do with Java, even though their names are similar: “The two languages are entirely distinct.” “Java is to JavaScript as ham is to hamster.” JavaScript’s name was “an attempt to piggyback on the popularity of Java, an entirely unrelated language.” This long-held belief is, in my opinion, inaccurate. Java and JavaScript have a lot in common. Wake up to the truth!!! They have similar syntax According to JavaScript’s creator, “the diktat from upper engineering management was that the language must ’look like Java’.” This happened! JavaScript looks like Java! A lot of code works identically in the two languages. Comments are identical: // Single-line comments are the same. /** Block comments are also the same. */ Many expressions work the exact same way: "Hello world" 12 + 34 true && false myObject.myMethod(1, 2, 3); Conditionals are also identical: if (coinflip()) { return "heads"; } else { return "tails"; } Variable declaration can be the same. This line works in both languages: var foo = "bar"; Many code snippets aren’t identical, but they’re similar. And they’re even more similar if you put TypeScript in the mix: Java TypeScript for (var age : ages) { System.out.println(age); } for (const age of ages) { console.log(age); } class Person { private String name; public Person(String name) { this.name = name; } public String getName() { return name; } } class Person { private name: string; constructor(name: string) { this.name = name; } public getName(): string { return this.name; } } list.stream() .filter(x -> x > 5) .map(x -> x * 2) .collect(Collectors.toList()); list .filter(x => x > 5) .map(x => x * 2); Many programming languages share C’s syntax—you’ll see these similarities with other languages, too—but the connections run deeper. Their type systems are similar I know what you’re thinking: Java has a static type system, and JavaScript does not. But! TypeScript augments JavaScript with static types, and is the de facto way to write modern JS. So yes—JavaScript doesn’t technically have static types, but it does in practice. Even without static typing, their type systems have many other similarities. They use primitive and reference types According to the Java spec, “There are two kinds of types in the Java programming language: primitive types and reference types.” This is exactly the same as JavaScript. Both languages also have wrappers around primitive types. Though the specific types are different, the behavior is similar. They have (auto)boxing In Java, you can have a primitive type or an object wrapper around one. Converting a primitive type to a wrapper type is called “boxing”. // Java var primitive = 123; var reference = Integer.valueOf(123); JavaScript also has primitive values and explicit wrapper objects: // JavaScript const primitive = 123; const reference = new Number(123); You often encounter these wrapper objects through “autoboxing”. Autoboxing implicitly converts primitives to objects. The conversion contexts and semantics differ, but they both work similarly: // Java var primitive = true; Boolean reference = primitive; // Autoboxing happens here. reference.toString(); // JavaScript const primitive = true; primitive.toString(); // Autoboxing happens here. Strings use UTF-16 and share methods Strings work very similarly in both languages. In addition to being immutable in both, they have a number of similar methods: .toUpperCase(), .toLowerCase(), .substring(), .indexOf(), .split(), and many more. They also both use UTF-16, so they have weird behavior like this: // In JavaScript... "🌸".length; // => 2 // In Java... "🌸".length(); // => 2 (For more on UTF-16, see “Why does ‘👩🏾🌾’ have a length of 7 in JavaScript?”.) If you know how to use strings in one language, you probably know how to use them in the other. They’re really not that different. Numbers and Math are similar, too Java has a bunch of numeric primitives where JavaScript only has the number type. (JS also has bigint, which is rarely used.) But Java’s double and JavaScript’s number are both 64-bit IEEE 754 floating-point values: // Java or JavaScript (identical) 0.1 + 0.2 // => 0.30000000000000004 Their Math APIs are also very similar: Math.max(3, 7); // => 7 Math.sqrt(81); // => 9 Math.PI; // => 3.141592653589793 They both have classes and inheritance Though Java is the Kingdom of Nouns, both languages support classes and inheritance: class syntax, constructors, instance and static members, new, this, extends, super, and method overrides. TypeScript adds even more similarity with abstract classes, implements, and private/public access modifiers. Their internals are different, but you can ignore that most of the time. If you know how classes work in Java, you can probably apply that to JavaScript, or vice versa. They have similar runtimes The two languages’ runtimes also have a lot in common: Garbage collection: Neither the programmer nor compiler deallocates memory. This is in contrast to languages like C, Rust, and Swift, which have different memory management strategies. Just-in-time (JIT) compiled: Mainstream engines compile hot paths to native machine code. Fairly ubiquitous: I think Java fell short of its “write once, run anywhere” slogan. But I can’t deny that the JVM is widely available and powers a massive number of computer systems—just like JavaScript. Compile targets for other languages: There are a number of JVM languages like Clojure, Kotlin, and Scala. JavaScript’s most popular counterpart is probably TypeScript, but there are others like PureScript and ReScript. The languages have been separated from their runtimes, at least somewhat. They have DOM support (!!) I came across a package called org.w3c.dom when researching this post. It turns out that Java also supports Document Object Model APIs, just like JavaScript does in the browser. Here’s some code that is identical in both languages: // Add a new <li> element to the first <ul>. var ul = document.getElementsByTagName("ul").item(0); var li = document.createElement("li"); li.appendChild(document.createTextNode("wake up sheeple")); ul.appendChild(li); This surprised me! I know that JavaScript is the language of the web, but it turns out that Java is competitive! They have improved a lot in the last decade I don’t know what’s more popular: hating on JavaScript or hating on Java. (Another similarity!) But many of these haters last used the language in the early 2000s, when these languages were, broadly speaking, pretty bad. They’re way better now! In JavaScript, we got classes, modules, a big package registry, a bigger standard library, and better versions of common constructs like variable and function declarations. In Java, we got var, records, text blocks, pattern matching and switch expressions, and virtual threads. If you dislike these languages but you haven’t tried them recently, you might be pleasantly surprised. You’ll almost certainly acknowledge that they’ve improved (even if you’re still a hater). Wake up to the truth!!! I understand the benefit of saying things like, “Java and JavaScript have nothing in common.” Many of us have been approached by someone (well-meaning, usually) who doesn’t know the difference, and it causes some confusion. But these languages are actually pretty similar! Certainly a lot more similar than C and C#, in my opinion. I think it’s inaccurate to say “Java is to JavaScript as ham is to hamster.” My suggestion: Java is to JavaScript as the guitar is like the bass guitar.
In his last Thanksgiving message, Warren chose to emphasize just one thought: kindness – offered when it is not owed, with nothing expected in return. Kindness, he wrote, “compounds, and at a better rate than anything Charlie and I ever bought.” He was writing about his own teachers, and about everything they had given him … Continue reading RIP Warren Buffett →
Plus what I thought of Ocarina of Time, and science communicators denying... science.
Setting up a remote monitoring and control project means choosing variables linking dashboard widgets, and deciding how to keep track of your device. Expanding an existing project might mean making the same change across dozens of sensors. In either case, you have a goal in mind – and a series of steps to get there. […] The post Build and manage IoT projects with AI using the Arduino Cloud MCP appeared first on Arduino Blog.