Kris Leech (@krisleech) profile picture

Complexity, Cynefin, Agile.

Remote, from the UK.
Joined September 2009
Photo by Kris Leech (@krisleech)Photo by Kris Leech (@krisleech)Photo by Kris Leech (@krisleech)Photo by Kris Leech (@krisleech)Photo by Kris Leech (@krisleech)Photo by Kris Leech (@krisleech)
Kris Leech retweeted
🥳🎉Today is the day🎉🥳 @hugobarauna, @DimitriKoutmos and I are ready to release Elixir for Finance! We've poured all of our knowledge and know-how into what we believe is one of the best programming+finance books out there 😍. 👉 financialelixir.dev #ElixirLang #Erlang
7
45
1
210
8,986
Kris Leech retweeted
People are sleeping on Elixir for a coding harness: * Hot-code swapping allows you to build an extensible plugin system similar to Pi, which reloads live without dropping state * Designing a client-server architecture, similar to OpenCode, is basically a byproduct of the actor model (plus you get both IO/CPU concurrency) * The built-in distribution means you can easily isolate the brains (model + session) from the hands (sandbox + tools). For example, you can the agentic session on your machine which coordinates agents executing inside Docker or a remote node. Or even have one agent session coordinate multiple nodes (this is basically how Livebook works anyway) Those can definitely be built from scratch in other languages, but in Elixir the building blocks are basically part of the runtime.
71
111
16
867
80,564
Kris Leech retweeted
Elixir v1.20 released! Now officially a gradually typed language: Elixir type checks every single line of code, finding bugs and dead code, without developer overhead (no typing signatures) and extremely low false positives rate. Plus a faster compiler! Links and reports below.
55
307
47
1,486
129,857
Much of the dysfunction you find in organizations, and most of the problems you find in software development, come from the fact that people—engineers in particular—believe that complex systems (in the Cynefin sense) can be understood and controlled. They can not. You cannot predict how a complex system, be it organizational or software, will behave. Put another way, a metric-focused analytical approach to improvement or control does not work and never will work. Metrics are always weak indicators, too focused on a single aspect of the system as a whole, and actions taken on those metrics are always unpredictable at the system level. At best, you can observe the system and continuously adapt to the inevitable surprises. There is a connection between complication and complexity, of course. Simpler complex systems are easier to manage than complicated ones. Good architecture _should_ move you towards simplicity. No architecture, however, resolves the inherent complexity of a large software or organizational system. The best it can do is reduce the complexity. LLMs (and many of the people who use them) do not understand architecture. Consequently, LLM-based code generation usually results in overly complicated, hard-to-manage solutions. To my thinking, you cannot use an LLM effectively in a production environment unless you are able to review and refactor the generated code through an architectural lens. Being a "great coder" is not sufficient. You want to keep your job in an AI world? Learn software architecture.
3
12
1
69
6,576
<rant> A periodic reminder that Sprints, Backlogs, Daily Scrums, Scrum Boards, Scrum Masters, Product Owners, Points, Velocity, PIs, etc., have NOTHING AT ALL to do with "Agile." Agility comes from working small, delivering frequently for feedback from actual customers, and adapting based on that feedback. It has to do with teams working in whatever way they see fit to get stuff into the customer's hands as quickly as possible and acting on the feedback without bureaucratic obstacles. Any way that you can accomplish that is fine. All that garbage I listed in the first sentence just gets in your way.</rant>
32
124
14
804
51,847
Kris Leech retweeted
Electron is everywhere until observed/measured is the worst myth in quantum mechanics, spread by so-called science YouTubers who oversimplify everything for clicks. They make it sound like consciousness makes things come into reality. First of all, in Quantum Physics, "observed" does not mean some conscious being watching it. In Quantum Physics, observed means interaction. Interaction with another particle like a photon, electron, or anything that exchanges energy or information. Come back to our main topic. The electron is not everywhere until observed or measured. First we need to know, what actually is electron? Electron is nothing but localised excitation in electron field at some location of space time fabric. Electron is not a tiny ball. Now you might think, what is the electron field? Electron field is energy configuration at every location of space-time fabric (x, y, z, t). x, y, z are Spatial dimensions t is the Time dimension. There are other fields also: - Electromagnetic (EM) field - Higgs field - Many more Photon is excitation in the EM field. Mass arises due to excitation in the Higgs field. The electron field itself is everywhere, but the excitation, that ripple which represents one electron, is not spread across the entire space-time fabric. When we talk about where the electron might be, we don't talk about its location. We talk about its wave function. Wave function is not something physical. It is a mathematical function that tells about the probability amplitude of finding the electron at each position if you were to check. For example: You visit three stores: - Grocery store - Medical store - Electronics store You come back home and realize you left your wallet in one of those stores but don't know which one. You assign probability of finding the wallet to grocery, medical, and electronic stores. We all know probability formula: P = number of favorable outcomes / total outcomes So P = 1/3 (33.3%) You go to the electronics store and check the CCTV and find out this is not where you left your wallet. Now probability of finding the wallet at the electronics store becomes 0. And for the medical and grocery stores, it becomes 1/2 (50%) because the number of total outcomes decreased from 3 to 2. Now you go to the medical store and find your wallet there. That means probability of finding your wallet at the medical store becomes 1 (100%) and for the grocery store it becomes 0, because there is no way you can find your wallet in two places at once. That’s exactly how wavefunction collapse works. Before measurement, the electron’s position is uncertain, it’s described by probabilities. Once you measure it (meaning once it interacts with something), the probability at that point becomes 1, and everywhere else becomes 0. You didn’t summon the electron into existence; You just forced the field excitation to reveal its position through interaction. Electrons aren’t 'everywhere until observed', they’re localized excitations in a field. We just don’t know where until they interact. No consciousness. No magic. Just physics.
301
379
62
2,423
125,214
Last week, I received a box full of the new printed book "Architecture for Flow" by Susanne Kaiser. I hoped Susanne would receive hers before I posted, but you need to know it's available: Order from InformIT(.com) now and from Amazon with 1-2 day delay, which is likely because it's selling like hotcakes: #8 in Software Design & Engineering ⭐️⭐️⭐️⭐️⭐️ Order yours today!
2
5
46
3,163
GenAI isn't just a technology; it's an informational pollutant—a pervasive cognitive smog that touches and corrupts every aspect of the Internet. It's not just a productivity tool; it's a kind of digital acid rain, silently eroding the value of all information. Every image is no longer a glimpse of reality, but a potential vector for synthetic deception. Every article is no longer a unique voice, but a soulless permutation of data, a hollow echo in the digital chamber. This isn't just content creation; it's the flattening of the entire vibrant ecosystem of human expression, transforming a rich tapestry of ideas into a uniform, gray slurry of derivative, algorithmically optimized outputs. This isn't just innovation; it's the systematic contamination of our data streams, a semantic sludge that clogs the channels of genuine communication and cheapens the value of human thought—leaving us to sift through a digital landfill for a single original idea.
440
942
242
6,350
681,072
What if LLMs turn out to be glorified bloom filters, not getting us anywhere close to AGI? Where do I buy shorts on the bubble please?
1
1
224
Software development in a nutshell: People simply do not like uncertainty, and thus create an elaborate tree of (self-)deceptions that turn a raw, at times even unknown, probability into: A mostly emotional driven decision.
1
2
4
146
Finally got to watch Bryan Hunter's Waterpark talk, and just wow, it's such a great demonstration of how BEAM and Elixir can help you build systems with zero downtime, while significantly reducing the technical complexity of the solution. If you're curious about what makes Elixir special, this is the talk to see! youtube.com/watch?v=hdBm4K-v…
5
21
1
126
12,030
Architecture is more than code structure. It’s narrative structure. It tells the story of your system.
1
4
1
29
3,329
It’s a great pattern that has proven to work over time.
Is the Outbox pattern a necessary evil or just architectural nostalgia? 👀 #dotnet
2
2
24
3,897
Twitter is becoming unusable, I want to see posts from those I follow and similar, not these meme and influencer accounts.
1
48