Readit News logoReadit News
andreabergia commented on Show HN: A live Python REPL with an agentic LLM that edits and evaluates code    · Posted by u/andreabergia
zahlman · 18 days ago
> it can introspect the interpreter state and execute code inside the live session.

So you could presumably also set it up to implement its suggestions (i.e. if it "executes" its proposed definition for `succ` that would actually just update it in the global namespace). Fun stuff.

> a terminal UI where you can switch between Python and the agent via <tab>.

I'd suggest rethinking this; people usually expect the tab key to auto-complete.

At any rate, thanks for writing the description yourself. The usual LLM-generated copy for these kinds of projects is really obnoxious.

andreabergia · 18 days ago
> So you could presumably also set it up to implement its suggestions (i.e. if it "executes" its proposed definition for `succ` that would actually just update it in the global namespace). Fun stuff.

Yep, I've had that working in some earlier version of the tooling.

> I'd suggest rethinking this; people usually expect the tab key to auto-complete.

That's a fair point.

> At any rate, thanks for writing the description yourself.

I might let an LLM write the code, and even the user's manual, but I write my own blog post and comments. :-)

andreabergia commented on Ask HN: Share your personal website    · Posted by u/susam
andreabergia · 2 months ago
https://andreabergia.com/ - my personal website and blog, which I'm currently redesigning!
andreabergia commented on Turning 40   andreabergia.com/blog/202... · Posted by u/speckx
JodieBenitez · 3 months ago
> failing to fall asleep due to the existential dread of having already used up half of my time

Well depending on many factors you may have already used up more than half of your time. Also: the second half is not equivalent to the first, especially regarding your body.

andreabergia · 3 months ago
Thanks! That's really reassuring and will definitely help my nights! :-D
andreabergia commented on The value of hitting the HN front page   mooreds.com/wordpress/arc... · Posted by u/mooreds
saagarjha · 7 months ago
If I might ask what does you employer need compiler experience for?
andreabergia · 7 months ago
I work at ServiceNow, which sells an enterprise platform and a ton of products built on top of it. Internal teams and customers can extend the platform by writing JavaScript, hence we have a JS runtime in the platform (the venerable https://github.com/mozilla/rhino/), which our team works on.
andreabergia commented on The value of hitting the HN front page   mooreds.com/wordpress/arc... · Posted by u/mooreds
modeless · 7 months ago
I once got a job from a post on my blog that hit the front page. So the value to me was enormous.
andreabergia · 7 months ago
Same here! I am now actually working in compilers, which is one thing I'm really passionate about, but not something I was doing professionaly. I managed to turn a toy project and some blog posts into an actual job at almost 40, so, thank you HN!
andreabergia commented on Gremllm   github.com/awwaiid/gremll... · Posted by u/andreabergia
andreabergia · 8 months ago

  from gremllm import Gremllm

  # Be sure to tell your gremllm what sort of thing it is
  counter = Gremllm('counter')
  counter.value = 5
  counter.increment()
  print(counter.value)  # 6?
  print(counter.to_roman_numerals()) # VI?
I love this!

u/andreabergia

KarmaCake day363March 12, 2023
About
Currently working as Sr Staff SWE at ServiceNow, working on the JavaScript engine, and hacking on https://github.com/mozilla/rhino/

Blog: https://andreabergia.com Made in Italy

View Original