HNHacker News
TopNewBestAskShowJobs

xkriva11

1,732 karma · joined January 22, 2019

submissionscomments
xkriva11··on Ask HN: Has anyone shipped a self-modifying application with LLMs?
It is here for many decades: https://www.youtube.com/watch?v=eEz08IlcNMg
xkriva11··on Squeak 6.1
Probably start with Pharo MOOC: https://www.youtube.com/playlist?list=PL2okA_2qDJ-kCHVcNXdO5...
xkriva11··on Windows 11's built-in Weather app wastes more than 1 GB of RAM
Smalltalk: https://github.com/pavel-krivanek/BarePharo
xkriva11··on The End of an Era
There is one important point to note. Works created by artificial intelligence are not subject to copyright.
xkriva11··on Frame – Linux X server in Assembly
Reminds me this meme: https://pbs.twimg.com/media/HNIjjQQasAA77yl.jpg
xkriva11··on Bandit: A 32bit baremetal computer that runs Color Forth [video]
Practice: https://pavel-krivanek.github.io/colorType/
xkriva11··on Bandit: A 32bit baremetal computer that runs Color Forth [video]
That's cool, but why not use the native colorForth keyboard layout?

https://www.ultratechnology.com/editor/dvorak.jpg

xkriva11··on Smalltalk's Browser: Unbeatable, yet Not Enough
Talking about Self... https://github.com/pavel-krivanek/Selfie

...but the infinite desktop is still missing there.

xkriva11··on Smalltalk's Browser: Unbeatable, yet Not Enough
To add to this, a quote from an article about the editor ed:

It’s important to realize that in ed you were usually editing a file you had already printed beforehand. If you only wanted to fix a few small things in a multi-page listing, you simply entered the corrections in ed on the relevant lines, added something here and there, and at the same time you would just write the simple minor fixes directly into the printout by hand-without having to tediously retype everything.

You had the files on paper, which is a very pleasant and ergonomic medium for reading. You can literally surround yourself with it, cover your desk, and easily move your eyes between dozens of functions. If you learn to keep order and stay oriented in that mountain of paper, you can be very effective.

Moreover, from an ergonomic point of view you wouldn’t be doing badly at all. Printed paper in natural light is definitely easier on the eyes than low-refresh-rate screens in the years that followed. Paper lets you quickly add notes, sketch a little graph, basically work in a very natural way - one people were used to back then from the moment they first held a crayon.

Most of the time a programmer isn’t writing code but reading it. In that respect, people back then may actually have had it better than we do today. When it did come to writing, the only truly more complicated part was essentially making corrections. The history of everything you’d done was right there on paper. I don’t want to idealize the way they worked back then, but all of this explains how they were able to work effectively even with such primitive tools.

xkriva11··on Smalltalk's Browser: Unbeatable, yet Not Enough
The paper printouts on the table are a kind of simple spatial browser. Thanks to this, we have UNIX (at least it explains how they were able to create anything at all with just a teletype back then).
xkriva11··on Smalltalk's Browser: Unbeatable, yet Not Enough
From a conceptual point of view, browsing code is like browsing a fractal. Tools must take this into account.
xkriva11··on ZXsheet
ZXsheet is a full-featured spreadsheet application for the Sinclair ZX Spectrum written in just 10 lines of BASIC.
xkriva11··on Dear Time Lords: Freeze Computers in 1993
But Squeak is 1996 ;)
xkriva11··on Minimal x86 Kernel Zig
Or use existing one: https://github.com/Zag-Research/Zag-Smalltalk
xkriva11··on Untapped Way to Learn a Codebase: Build a Visualizer
https://gtoolkit.com/ or https://moosetechnology.org/
xkriva11··on Nano Lander
A small game with a randomly generated corridor inspired by the Psygnosis Lander
xkriva11··on Hoot: Scheme on WebAssembly
Smalltalk offers several excellent features for LLM agents:

- Very small methods that function as standalone compilation units, enabling extremely fast compilation.

- Built-in, fast, and effective code browsing capabilities (e.g., listing senders, implementors, and instance variable users...). This makes it easy for the agent to extract only the required context from the system.

- Powerful runtime reflectivity and easily accessible debugging capabilities.

- A simple grammar with a more natural, language-like feel compared to Lisp.

- Natural sandboxing

xkriva11··on Floppinux – An Embedded Linux on a Single Floppy, 2025 Edition
xwoaf-rebuild matches that

https://web.archive.org/web/20240901115514/https://pupngo.dk...

xkriva11··on The lost cause of the Lisp machines
You may try CADR (precursor to Genera) on-line: https://lispcafe.org/cadr/usim.html
xkriva11··on Ruby and Its Neighbors: Smalltalk
No, they used a tool (SystemTracer) running inside the original Smalltalk that enumerated all the objects in the running image and serialized them in a new image format into a new image file. Every time the image file format changed, it was transformed like this. Smalltalk is very close to a biological system.
xkriva11··on Implementing DOES> in Forth, the entire reason I started this mess
I tried do do it in a 16-bit JonesForth-based implemenetation and it required to rename JonesForth CREATE to CREATEHEAD, implement a primitive DODOES and then define these two words:

: CREATE WORD CREATEHEAD DODOES , 0 , ;

: DOES> IMMEDIATE ['] LIT , HERE @ 6 CELLS + , ['] LATEST , ['] @ , ['] >DFA , ['] ! , ['] EXIT

xkriva11··on Small Programs and Languages
I recommend this Lua implementation. Truly beautiful and more accessible. https://github.com/melvinzhang/meta2-lua
xkriva11··on I taught my 3-year-old to read like a 9-year-old
Alan Kay: "I had the fortune or misfortune to learn how to read fluently starting at the age of three. So I had read maybe 150 books by the time I hit 1st grade. And I already knew that the teachers were lying to me."
xkriva11··on Programming on 34 Keys (2022)
ColorForth environment uses only 27 keys. See https://www.greenarraychips.com/home/documents/greg/cf-edito...
xkriva11··on The 44 Year Old Computer Magazine That Changed Everything [video]
This Byte volume can be found here: https://archive.org/details/byte-magazine-1981-08/mode/2up
xkriva11··on Smalltalk-78 Xerox NoteTaker in-browser emulator
A demonstration of on-the-fly modification of GUI internals in Smalltalk-78: https://www.youtube.com/watch?v=eEz08IlcNMg
xkriva11··on Smalltalk-78 Xerox NoteTaker in-browser emulator
A faster booting version (without Lively Kernel IDE): https://codefrau.github.io/Smalltalk78/
xkriva11··on Oberon Pi
There is Ultibo based bare metal Oberon version too: https://github.com/MGreim/ultiboberon
xkriva11··on Glamorous Toolkit
To downvote, you need a minimal amount of karma (something like 500 points)
xkriva11··on Glamorous Toolkit
I think it's a variant of the Anthropic principle. This project has been around for many years, and if it hadn't been based on Smalltalk at the time, it might not have come into existence. It's a natural extension of how Smalltalk environments approach development tools, pushing it to a new level. For more technical details, refer to https://pharo.org/features.
Page 1 of 7Next →