I liked the way how you bootstrap the agent from a single markdown file.
HN user
nferraz
Software developer, master in business information systems, more than 20 years of experience with Linux and Free / Open Source Software.
Why did you opt for "highly-abbreviated commit IDs"?
Instead of:
``` calendar/seasons.blog 196 40 d1
196 196e749
40 40c52f4
d1 d142598
```The tool should simply display:
``` calendar/seasons.blog 196e749 40c52f4 d142598 ```
That's it!
The second table only complicates the output.
PS:
`what-changed-twice` is a good name.
While LLMs are capable of writing functional Verilog sometimes, their performance is still subhuman.
The key word here is "still".
We don't know what the limits of LLMs are.
It's possible that they will reach a dead end. But it is also possible that they will be able to do logic and math.
If (or when) they achieve that point, their performance will quickly become "superhuman" in these kinds of engineering tasks.
But the very next step will be the ability to do logic and math.
The surest sign of a market for lemons is when everything for sale is garbage, and nobody has an incentive to put something up for sale that's not garbage, because they have no way to credibly signal their offerings aren't garbage, too.
That's why I left twitter...
In fact, NAND gates are enough to build a Turing complete machine. ;-)
It's a simple text adventure game engine. It looks like this:
---
The Lost Kingdom
You are a brave explorer on a quest to find the lost kingdom of an ancient civilization.
You are in a mysterious cave with passageways leading in different directions.
What do you want to do? look
You are in a mysterious cave with passageways leading in different directions.
I see here: a glowing gem
Exits: north
What do you want to do? take gem
Taken!
What do you want to do? look at gem
It's a glowing gem with an intricate pattern carved into its surface.
---
An interesting new feature is that you can ask the computer to do non-scripted things, like:
---
What do you want to do? eat gem
# Generating action...
You attempt to eat the gem, but it doesn't taste good. You spit it out and the gem is still in your possession.
---
The game, the scenario, the objects -- everything was created by GPT-3, and the script just have to keep track of the game state.
st - simple statistics from the command line
Nice! They definitely overlap, although there are a few differences... I'm not sure if ministat accepts bignum, scientific notation, etc.
Yes, Sprint suggested this:
octave -q --eval "mean = mean(load('$1'))"
But, again, octave requires more time to warm up...Yup, octave requires more time to warm up.
Regarding speed, for simple calculations like sum, mean and variance, the bottleneck is in I/O.
There isn't a max rowcount for sum, mean, variance, etc, because it is not necessary to hold the data in memory.
The calculation of median and quartiles require that the whole set is stored and later sorted, so it is limited to the available memory.
Regarding your suggestion -- I'm considering the idea of dealing with multiple columns and even CSV and other types of tabulated data.
Thanks! I changed the algorithm to online variance, hope it is more stable:
https://github.com/nferraz/st/commit/d0fb1bf814fc5940c5aae39...
Thanks for the information!
I wanted to use "stat", but it was already used (display file status); "statistics" was too big.
Just as curiosity, I got the idea for this script when I wanted to calculate the sum of some numbers and discovered that the "sum" command was used for another purpose (display file checksums and block counts)!
I like octave and R!
The reason I wrote this script was to get quick results from the command line.
For instance: I could use grep, cut and other unix tools to get the numbers from a file and make quick calculations.
Of course, for complex processing I would use octave or R.
Super cool project! Thanks for sharing!!!