Kjetil Valstadsve (@kjetilv) header
Kjetil Valstadsve (@kjetilv) profile picture

Programmer. Wheel inventor. Consultant. Photo: Jan-Erik Bergmann

Oslo, Norway
Joined March 2009
Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)Photo by Kjetil Valstadsve (@kjetilv)
Trump: “We could do tremendous good for ourselves by just not trading with countries. We lose $200 billion dollars a year with the European Union. If I didn't trade with them, we would lose nothing.” Dumbest. President. Ever.
2,280
6,570
813
40,696
1,770,662
Kjetil Valstadsve retweeted
I never understood before how he managed to bankrupt a casino, but I get it now
Trump: "We don't need their product. So if we cut off trade with that country, we just made $40 billion. You do a few countries like that, and we become a big money machine." 🙃
201
4,092
59
34,960
837,596
Kjetil Valstadsve retweeted
Canadian Geese RENAMED. They’re officially Donald Ducks.
872
3,525
575
19,393
1,718,805
Kjetil Valstadsve retweeted
I think this is the most important concept to understand right now: LLMs can’t jump. OpenAI says an internal version of Astra, its next major model, has solved ten major open problems in mathematics and theoretical computer science. This is extraordinary. And I don’t use this word lightly. During my PhD in mathematics, I worked on a problem closely related to Gromov’s conjecture. For decades, constructing a non-sofic group—an infinite group whose finite pieces cannot be approximated by finite groups—was a dream shared by many of us. Now Astra appears to have done it. This is not a toy result. This is serious mathematics. But it is not “the most significant day in the history of mathematics”, as some have claimed. This claim confuses scale with kind. Astra has solved difficult problems inside existing conceptual worlds. Calculus, topology, and scheme theory created new conceptual worlds. They did not merely answer questions. They changed which questions mathematics could ask. Induction finds patterns. LLMs are extraordinary at it. Deduction follows implications. Using symbolic AI tools, LLMs are becoming formidable at traversing chains of logic that humans missed, abandoned, or could never afford to search. But abduction is different. Abduction invents the right concept, the right representation, the right question. That is the jump. Current LLMs can fill the gaps of knowledge left by humans. But they can’t jump beyond the external boundary of existing knowledge. * Full paper in the first reply
222
395
128
3,088
451,986
Kjetil Valstadsve retweeted
Just blogged, "Wicked-Fast on the JVM". Find out how to make Java/Scala/Kotlin code run blisteringly fast on the JVM. 👇 (Or at least, point your coding agent at my article.😉) linkedin.com/pulse/wicked-fa…
3
11
59
3,027
Kjetil Valstadsve retweeted
This. 👇 LLM-powered agents achieve their (proven) utility through "mining" training data -- all reasoning they demonstrate is reflective, not de novo. This gen of clankers, no matter their utility, don't think and ain't never going to think.
Replying to @Noahpinion
People are realizing that AIs are nowhere near human intelligence and learning abilities. Yet they have become very useful by compensating for their lack of common sense, lack of understanding of reality, and limited reasoning and planning abilities, by the accumulation of enormous amounts of declarative knowledge.
7
2
42
3,797
Kjetil Valstadsve retweeted
We live in a world exquisitely dependent on computing, with artifacts that range from the profoundly simple to the staggeringly complex. Nonetheless, its fundamental concepts are still within the grasp of every person touched by its possibilities. Abstraction, algorithms, decomposition, and patterns are at the center of computational thinking. Here you'll find these and other concepts that are part of computing's foundations. booch.com/computing/concepts…
16
88
4
391
22,294
Kjetil Valstadsve retweeted
"Java and Kotlin are quick" - this sounds so wrong. It's not the language that is fast, but it's the runtime, the JVM. "The JVM is very fast" - that should be the correct conclusion.
More languages, more insights! A few interesting takeaways: * Java and Kotlin are quick! Possible explanation: Google is heavily invested in performance here. * Js is really fast as far as interpreted / jit languages go. * Python is quite slow without things like PyPy.
30
46
2
412
37,173
Kjetil Valstadsve retweeted
Over and over again: some people find that tool X helps in their situations -> "tool X works in all situations" -> some people try tool X in situations where it's a bad fit (or they hold tool X by its blade instead of by its handle) -> "tool X just adds useless complexity."
4
5
1
52
7,869
Kjetil Valstadsve retweeted
In 2016, researchers at the University of Adelaide tested Kurt Vonnegut's theory that, "There’s no reason why the simple shapes of stories can’t be fed into computers." They took the emotional arcs of 1300+ novels from Project Gutenberg, turned that into data, used modern tech to analyze the emotional arcs, and then identified 6 patterns seen over and over again in western storytelling. Here they are: 1. Rags to Riches (rise) Your classic underdog tale. A humble, hardworking peasant climbs the mountain to pull the sword from the stone. • Rocky • King Arthur • The Pursuit of Happiness 2. Riches to Rags (fall) Maybe the saddest story of them all. A journey from the highest of highs to the lowest of lows. • King Lear • Citizen Kane • Scarlet Letter 3. Man in a Hole (fall then rise) A character’s doing fine, gets herself into a huge problem, but figures out how to overcome it. They often end up better than they started. “You see this story again and again,” Vonnegut says. “People love it, and it is not copyrighted.” • The Martian • The Hunger Games • Shawshank Redemption 4. Icarus (rise then fall) The hero goes on a meteoric rise up New York (or some other) society, calls everyone “old sport,” and throws the wildest parties in town. Then reality sets in, and he realizes he’s too close to the sun. • Macbeth • Great Gatsby • Death of a Salesman 5. Cinderella (rise then fall then rise) I’ll leave this description to Vonnegut: “We’re gonna start way down here. Worse than that, who is so low? It’s a little girl… the shoe fits, and she achieves off-scale happiness.” • Red Rising • Slumdog Millionaire • The Count of Monte Cristo This is my personal favorite. 6. Oedipus (fall then rise then fall) Up until the ~70% mark of the story it looks like things are sunshine and rainbows. Walter White goes from high school teacher to king of the drug lords, if you will. Then all goes wrong. The original fall is often not their doing while the final fall is. • Hamlet • Gone Girl • Breaking Bad My 3 takeaways: 1. Rags to Riches, Oedipus, and Cinderella rank as the three most popular with consumers. AKA, those books sold the most copies. 2. When you think through a story, give it an emotional shape. Literally draw it. X axis: Time Y axis: Ill fortune to good fortune You might be surprised how much it helps you craft your plot (I was shocked). 3. Vonnegut was a damn genius.
120
1,244
167
6,413
998,273
Kjetil Valstadsve retweeted
Can you believe we've reached a point in tech where a package named "is-even" has millions of downloads? hey guys, there is this thing called the modulus operator, and it works JUST FINE
243
327
171
3,638
787,228
Kjetil Valstadsve retweeted
All you need to do for now is to make your institutions cut ties with everything Russian, clear them from spies and harmful actors, and invest in your security — especially by helping Ukraine’s security as the only country currently defending common European democracy. 12/
14
641
15
5,423
107,921
𝗦𝗵𝗼𝗽𝗶𝗳𝘆 𝘀𝗲𝗿𝘃𝗲𝗱 𝟭.𝟮𝟳 𝗠𝗶𝗹𝗹𝗶𝗼𝗻 𝗿𝗲𝗾𝘂𝗲𝘀𝘁𝘀 𝗽𝗲𝗿 𝘀𝗲𝗰𝗼𝗻𝗱 𝗼𝗻 𝗮 𝗺𝗼𝗻𝗼𝗹𝗶𝘁𝗵 You probably think that such a large amount of requests can be only handled by some fancy microservices? The truth is a bit different. Shopify uses a 𝗺𝗼𝗱𝘂𝗹𝗮𝗿 𝗺𝗼𝗻𝗼𝗹𝗶𝘁𝗵 𝗮𝗽𝗽𝗿𝗼𝗮𝗰𝗵, where they keep all their code in one modular codebase. Monolithic architecture is the easiest one to understand and implement. Since monolithic design is simple to build and enables teams to move swiftly in the beginning, it can carry an application far to get their product in front of customers earlier. There are many benefits to centralizing your application deployment and codebase maintenance. All functionality will be accessible in one folder; you'll only need to manage one repository. Additionally, it implies that one test and deployment pipeline needs to be maintained, which might save a lot of work. The ability to call into different components rather than relying on web service APIs is among the most alluring 𝗮𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲𝘀 𝗼𝗳 𝗺𝗼𝗻𝗼𝗹𝗶𝘁𝗵𝗶𝗰 𝗮𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 over several distinct services. Shopify implemented one version of the modular monolith with 𝗰𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝗶𝗻 𝗥𝘂𝗯𝘆 𝗼𝗻 𝗥𝗮𝗶𝗹𝘀. They organize a code base around real-world concepts (like orders, shipping, inventory, and billing), which enables it to make it easier to label code and people who understand it. Each component is a mini Rails app (a module) that isolates business domains from one another. Each component claims sole ownership of the data associated with and defined a clear, dedicated interface with domain boundaries communicated through a public API. Check the comments for details ⬇️. #softwareengineering #technology #programming #softwarearchitecture #techworldwithmilan
18
177
8
1,087
392,823
Kjetil Valstadsve retweeted
I worked in a startup that began by operating Kubernetes and 150+ microservices. Can you predict what happened to the startup? And how fast was the delivery speed?
144
116
61
1,313
760,378
Kjetil Valstadsve retweeted
new blog post discussing why microservices won't solve the big-ball-of-mud or time-to-market issues many companies hope it will do if done without also changing org, processes and mindset: ufried.com/blog/break_up_the…. new tech does not fix non-tech problems. enjoy if you like ... ;)
3
19
4
67
17,400
This is the #one interview you need to listen to if you want tu understand the Ukraine war youtube.com/watch?v=qEu0oRaj…
1
1
266
Kjetil Valstadsve retweeted
man, every time I’m reminded of this paper I think about how good it is and how much more thought and effort they put into it than anything TypeScript has ever dreamed of, but TS unambiguously won anyway because it had nicer autocomplete arxiv.org/pdf/1708.08021.pdf
Replying to @samth
I see, yes. I’ll be curious to see what design you end up going with. I seem to remember thinking that the Flow.js approach (described in “Fast and Precise Type Checking for JavaScript”) seemed pretty well thought out and seemed to work pretty well in practice.
11
12
1
138
37,537
Kjetil Valstadsve retweeted
Czechs electing a former NATO general over a pro-Russian populist is more important than you think.
243
2,637
75
34,736
2,517,547
I have discovered the best possible use of ChatGPT
54
481
104
4,134
631,824
Kjetil Valstadsve retweeted
I wrote this over a decade ago, and now with the new @intellijidea UI being adopted more, I feel like getting to know some simple shortcuts for navigation could prove useful. And remember, No Tabs! hadihariri.com/2014/06/24/no…
13
19
10
164