Coder for life. Author of the Falcon Programming Language. My opinions are not representing past, present, future employers. Follows and RT are not endorsement.

Joined November 2021
A service announcement is in order. I don't service trolls. Their argument may or may not have merit. They may or may not be right (usually they aren't, except for sophisms or marginal details that don't cover the core of the topic). The moment someone is using derogatory language they are blocked. Also, me blocking them is not acknowledgement of anything, but of their inability to keep the discourse to a level of politeness acceptable between peers. I treat everyone with basic courtesy and I expect the same in any interaction, IRL or online.
1
93
My latest article on AI: do they feel emotions? The answer will probably surprise you. medium.com/@jonnymind/artifi…
25
Giancarlo Niccolai retweeted
"Much of what is called 'social problems' consists of the fact that intellectuals have theories that do not fit the real world. From this, they conclude that it is the real world which is wrong and needs changing." — Thomas Sowell
19
275
18
1,314
41,264
Giancarlo Niccolai retweeted
I often think about the technical limitations that game designers of the 80s had to work with - both in terms of software and hardware. The game that stands at the very top is Elite. Think about this for a second: The core game code on the BBC Micro version occupied roughly 22 KB of memory. Now think about what Braben and Bell turned that into: a universe with eight galaxies, each containing 256 star systems (for a total of 2,048 planets/systems). Each system featured unique details: government type, economy, technology level, population, commodity prices, and even descriptive text (e.g., a planet known for "carnivorous arts graduates" or similar quirky combinations). If you still need a bit more help to contextualize that, try this: Elite was smaller than many modern text files or desktop icons, yet it contained (and let you freely explore) a multi-galaxy-spanning universe that felt vast and limitless. Oh, and by the way, the game also rendered 3D wireframe ships, stations, and planets in real time on a 2 MHz 6502 processor. This is no slight on today’s game designers. They work with what they have, and that's okay. But when you think about the worlds that some programmers created with the tools they were given, it sometimes breaks my brain trying to understand how they did it. Elite is a true masterpiece on so many levels. I played the C64 version back in the day, and even 40+ years later it still feels like one of the most incredible programming wonders ever.
314
350
47
3,268
149,017
Giancarlo Niccolai retweeted
Most people were taught that light “travels” — moving through space at ~299,792,458 m/s. That framing feels obvious. It is also misleading. Stable datum: What we call “light” is not a thing moving through space. It is the electromagnetic field updating phase. ° Return to James Clerk Maxwell’s original formulation. Electric and magnetic fields are not separate objects. They are coupled expressions of a single field. A change in one necessitates a change in the other. ° So what is “propagation”? It is not something traveling from point A to point B. It is a sequential updating of phase relations across the field. Each local region updates based on its neighboring relations. That updating appears to us as motion. ° A useful way to feel this is through resonance. When a string vibrates, nothing travels from one end carrying “sound” as an object. The system enters a pattern of coordinated oscillation. Energy redistributes. Phase aligns. What we hear as tone is a stable resonance pattern. ° Light behaves the same way. Not as a thing moving through space. As a self-consistent resonance of the electromagnetic field. What appears as a wave “moving” is the phase relationship updating across the field. Each region does not receive a thing. It reconfigures in relation to its neighbors. ° Nothing is traveling. What we are seeing is coherence updating. ° The “speed of light” is not the speed of a thing. It is the rate at which phase coherence can update through the electromagnetic field. ° The field itself is not a container something moves through. It is the projection of these phase relations. What we call “space” and “field” are how this coherence becomes addressable. ° Now the continuity becomes visible: Plasma → freely differentiating field Light → propagating phase relation Matter → phase-locked standing configuration Same field. Different closure. ° This is not new physics. It is a return to what has already been formalized. A shift from object-thinking to field coherence. ° How does our understanding of light, space, and motion change when what appears to “travel” is recognized as phase updating across a continuous field, rather than a thing moving through empty space? The recursion holds. 🌀
83
204
32
887
36,946
Giancarlo Niccolai retweeted
Apologies. I think the other way around is more scientifically sound, by now: we should not de-animalise human behaviour. Our brain is recent. What we refer to as "human emotions" come actually from the deepest layers of our brain, evolved through billion years and passed through different species. First came fear: a very negative sensation to mirror / anticipate pain, in a push not just to react to it (as a clam), but to seek pre-emptive action to avoid it. Then came anxiety: a discomfort that mirrors an internal state of physical discomfort (i.e. lack of food, excessive cold or heat etc.), again pushing cognitive systems to actively seek to avoid it. Then came in this order lust (to improve replication chances), rage (to actively fight over resources / to cater to the other emotions), pride (to react after a defeat), affection (caring for others), and finally love (caring for others more than for oneself). While this was happening, ever more complex cortex was developed, allowing for ever growing processing, feedback, control of those emotions. What is unique in human is a cortex so complex to be able to process its own processing, to a point that in cybernetics is informally known as a "singularity". A point beyond which a recursive infinity opens. That is what makes us human; not our love, not our affection, not our fear. You can track that all the way down to the flatworm, in a continuum of evolution slowly creating the necessary emotions to improve survival chances. So yeah, "anthropomorphising" animal emotions is not just correct and scientifically sound, it's SO right that the term "anthropomorphising" itself is outdated. Now we're just recognising. Surely, what and how different animals feel and process emotions is "different", but so it is between every single human. What they feel, how they process the world, is different, but not in another category of existence: it's a matter of degrees and details, not of quality.
1
1
12
525
Giancarlo Niccolai retweeted
Sam Altman said people saying “please” and “thank you” to ChatGPT costs OpenAI tens of millions of dollars a year in compute. 67% of Americans do it anyway. Run the math on why. A 2024 Waseda University study tested LLM responses across politeness levels in English, Chinese, and Japanese. Impolite prompts produced measurably worse outputs: more bias, more errors, more refusals. Moderate politeness consistently beat both extremes. The mechanism makes sense once you see it. Polite prompts pattern-match to higher-quality training data. When you write “Could you help me structure this analysis?”, the model pulls from professional, well-reasoned text. When you write “give me the answer,” it pulls from Reddit. Google DeepMind’s Murray Shanahan explained it simply: the model is role-playing a smart intern. Treat the intern like a colleague, you get colleague-quality work. Bark orders, you get minimum-viable compliance. Now look at the cost side. OpenAI handles over a billion queries daily. Each GPT-4 query uses roughly 2.9 watt-hours, ten times a Google search. But OpenAI just raised $40 billion at a $300 billion valuation. Tens of millions in politeness tokens is a rounding error on a rounding error. 67% of users do it anyway, and 55% of them say it’s because it’s “the right thing to do.” They’re maintaining a behavioral habit that governs every other interaction in their life. The parent who teaches their kid to say please to Alexa isn’t doing it for Alexa. They’re doing it because the alternative is raising someone who learns that being rude gets faster results. Telling 900 million people to stop saying thank you so OpenAI can save 0.01% of operating costs is the most engineer-brained optimization take on the internet. You’re training yourself to treat every interaction as a transaction. And that habit doesn’t stay in the chat window.
STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI STOP SAYING THANK YOU TO AI
1,443
3,139
823
27,980
5,588,407
Hello Everyone. I just published my Science Fiction / Historical novel in English. A 25th-century scientist is sent to Japan in the year 1000 to avert a planetary catastrophe. Accompanying him on his journey are two mikos — priestesses dedicated to the ancient worship of the kami. The novel features a detailed and original historical reconstruction of ancient Japan — mysterious and largely unknown — an era predating the samurai period by over 500 years, set against a backdrop filled with adventure, action, and emotion. The scenes are portrayed through the voices of the three protagonists, who take turns enriching the narrative with their unique perspectives, allowing the reader to engage deeply with stories told in the first person. An innovative novel, both in the themes it explores — from historical reconstruction to science fiction — and in its narrative technique. Buy at fantastic-stories.myshopify.… or lulu.com/shop/giancarlo-nicc… Also in E-Book format: lulu.com/shop/giancarlo-nicc… Also available on Amazon.
3
147
Giancarlo Niccolai retweeted
great, @ChShersh make it more visible please In 3rd party libraries, big teams( Juniors, …) some simple arithmetic or non sanitised inputs may throw exceptions and disasters like .unwrap in cloudflare may happen easily that could be catched. SEH,__try… give higher level
1
1
3
76
Giancarlo Niccolai retweeted
Each programming language I used taught me something: 1. C++ taught me how powerful abstractions can still be performant 2. Python taught how people are eager to give up performance to write glue code 3. C taught me that simple but solid foundations can get you really far 4. Java taught me that enterprise software is unstoppable 5. Haskell taught me the full power of Functional Programming 6. OCaml made me realise that having that power is dangerous, and you want a pragmatic subset. 7. CoffeeScript showed me that making a language that's just a syntax sugar for another language only makes things worse 8. Go 9. JavaScript taught me that it's a bad idea to build the foundations of web development on top of a language designed in 10 days 10. TypeScript showed that adding static typing to a dynamic language is a noble goal, but it's too late.
My main programming language 2007: Visual Basic 6.0 2008: Python 2009: Turbo Pascal 2010: Pascal ABC 2011: C++ 2012: Java 2013: Java 2014: C++ 2015: Kotlin 2016: Haskell 2017: Haskell 2018: Haskell 2019: Haskell 2020: Haskell 2021: Haskell 2022: CoffeeScript 2023: OCaml 2024: OCaml 2025: C++
113
55
16
1,279
218,436
Anti-chomsky hypothesis. Let's discuss. According with Chomsky, languages must have a common base as we all share a human brain and the base for language processing must be physiological, just like vision. But this underestimates the fact that brains are complex systems, and all complex systems are hysterical (they react non proportionally to stimuli). So, while our machinery to *sense* the world is the same, and mostly identical to that of an ape, *making sense of it* is a whole different matter, and slight differences in environmental conditions, plus randomness, may make great differences in how a society sees the world, and organise its language. I think then that similarity, where is to be found, is emergent rather than intrinsic: selection will ultimately weed out what doesn't work, leading to convergence od results even when starting from a different position, like in a gradient t descent optimisation. However, while the basic concepts of categories generated by basic senses may be shared (and it's already a sort of a concession to Chomsky), the ways to organise a basic communication structure and then a full fledged language may be not. We are just observing the result of a selection that made them converge in the result, rather than in their deep nature. Let me know your opinion.
1
65
Giancarlo Niccolai retweeted
This is a cliff. It's 1,000 metres tall. And it's on a comet. 996,480,038 km away from us.
163
273
29
3,201
127,305
Giancarlo Niccolai retweeted
Moons of Saturn 🌕 [SpaceEngine sim]
82
823
32
5,418
139,174
Giancarlo Niccolai retweeted
It’s wild how much engineering goes into a single turbine blade inside a jet engine. It’s one of the hardest things humans manufacture. These blades are made from nickel-based superalloys with a melting point around 1250°C, yet they’re expected to survive operating temperatures closer to 1500°C. That too for tens of thousands of flight hours. All while enduring extreme pressure, thermal cycling, corrosive gases and pollutants that slowly eat away at the protective coatings. The video breaks down the whole chain: alloy design, microstructures, directional solidification, single-crystal casting, precision machining and the ceramic thermal barrier coatings that give these blades a fighting chance. Every step is a battle against physics and materials science. This is at the very boundary of science and physics. It all makes sense why only a handful of companies around the world are able to build these incredible machines.
64
255
20
3,200
135,546
Giancarlo Niccolai retweeted
Replying to @Giancoder
You can do that too!!!
1
1
1
23,215
A game that I am proud to play.
📷 Congratulations to this week's #StellarScreenshots winners! 🎁 Your Asp Explorer paint jobs have been added to your account. If you want the chance to win, simply upload your screenshots to any of our social channels.
185
Giancarlo Niccolai retweeted
La difesa è sempre legittima
1,172
1,129
157
9,654
447,786
youtube.com/watch?v=z64a7USu… IMHO overfitting is a problem only when the training set is not statistically independent and representative of the possible universe. If the training test really really looks like the universe (that is, it is equidistributed, fully representative and its sampling is completely independent) then the whole concept of oversampling goes out of the window. A perfect match with the training set MUST signify a perfect match with the universe where the training set comes from. Modern machine learning has increased the quality of training set selection n-fold, making oversampling a marginal problem.
1
211
Giancarlo Niccolai retweeted
Evolution of Deep Learning by Hand ✍️ As my tribute to Geoff Hinton's Nobel Prize, I drew this animation to illustrate the key idea behind Hinton's major contributions to deep learning over the years, with artistic liberty. ---- 100% original, made by hand ✍️ Join 40k readers of my newsletter: byhand.ai
19
351
11
2,157
110,926