News for hackers. Stuff that matters.

nferraz

Re:Parallel coding agents with tmux and Markdown specs on Monday March 02, 2026 @12:08PM (#47220801)
I liked the way how you bootstrap the agent from a single markdown file.
Re:My new Git utility `what-changed-twice` needs a new name on Monday September 22, 2025 @06:08AM (#45331266)
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.

Re:YC is wrong about LLMs for chip design on Monday November 18, 2024 @05:31AM (#42171225)
> 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.

Re:AI: Markets for Lemons, and the Great Logging Off on Friday September 20, 2024 @08:58AM (#41601555)
> 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. ;-)
Re:GPT-3 Adventure Game Engine on Thursday April 20, 2023 @08:47AM (#35639110)
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

https://github.com/nferraz/st

Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @10:13AM (#6327671)
Nice! They definitely overlap, although there are a few differences... I'm not sure if ministat accepts bignum, scientific notation, etc.
Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @08:43AM (#6327093)
Yes, Sprint suggested this:

    octave -q --eval "mean = mean(load('$1'))"
But, again, octave requires more time to warm up...
Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @08:42AM (#6327090)
Yup, octave requires more time to warm up.

Regarding speed, for simple calculations like sum, mean and variance, the bottleneck is in I/O.

Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @08:39AM (#6327072)
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.

Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @08:37AM (#6327055)
Thanks! I changed the algorithm to online variance, hope it is more stable:

https://github.com/nferraz/st/commit/d0fb1bf814fc5940c5aae39...

Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @08:23AM (#6326971)
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)!

Re:Show HN: st – simple statistics from the command line on Wednesday September 04, 2013 @08:18AM (#6326941)
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.

Re:Baking Pi - Operating Systems Development on Monday September 03, 2012 @11:06AM (#4470604)
Super cool project! Thanks for sharing!!!

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...

( Read More... | no comments | 4 points | on HN )