nferraz
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.
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.
That's why I left twitter...
---
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.
GPT-3 Adventure Game Engine
GPT Adventure Game Engine
octave -q --eval "mean = mean(load('$1'))"
But, again, octave requires more time to warm up...Regarding speed, for simple calculations like sum, mean and variance, the bottleneck is in I/O.
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.
https://github.com/nferraz/st/commit/d0fb1bf814fc5940c5aae39...
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)!
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.
Show HN: st – simple statistics from the command line
XML User Interface for Appcelerator released as Open Source
After months of development, I decided to release the XML User Interface for Appcelerator project as Open Source Software!With Appcelerator, you can create cross-platform mobile development (iOS, Android, and mobile web apps) from a single code base.With XML-UI, developers will be able to separate the view from the code; develop user interfaces using a familiar syntax; store and update the user...