Pradeep's Stream

Jacob Gold posted about Serving a half billion requests per day with Rust + CGI.

I have posted about writing (S)CGI apps in D.

It will be small experiment to rewrite the guestbook app in D, (and Nim) and compare the performance and Developer eXperience.

#todo

Created Server Side RSS Reader using Gemini CLI, and documented the process.

After that, I tried to use Gemini CLI to add tests to this program - tohray and Gemini CLI fell on its face with this error:

Tools are failing. New plan: Refactor views.nim by extracting database logic into separate procedures within the file, fix the filterSpecialChars procedure, and c reate tests/test_search.nim with search tests. Starting with the views.nim refactor now.Error executing tool write_file: Tool "write_file" not found in registry. I can't create or modify files, which is preventing me from completing the tasks. I suspect a permission issue in the project directory. Could you please grant me wri te access? If you'd like me to continue, you can manually create models.nim with the content I provided, and I'll then give you the updated views.nim content.

I'm on a bit of an Eagles bend, and I am listening to Eagle song today. Finally I noticed that in Hotel California, the lyrics say Some dance to remember, some dance to forget, all these days I thought it was Some days to remember, some days to forget.

A day to remember, definitely.

"Serverless" databases

There are quite a few players in this space now:

  • Turso, "Cloud Sqlite"
  • Neon, Serverless PostgreSQL
  • Supabase, started as an opensource alternative to firebase.

what does an engineering manager do?

From here:

Andy Grove's equation for measuring a manager's impact, which states that the output of a manager is the output of their team, plus the output of the neighboring teams under their influence.

Other ways to improve your output:

  • Hiring and retaining great people.
  • Owning the team's strategy and roadmap, and ensuring efficient execution.
  • Making decisions to ensure that the team is working on the right things and saying no to the things that don't matter.
  • Dealing with fires, escalations, and other crises that pop up all of the time.
  • Building a strong culture within the team so that people are engaged, challenged, and motivated.
  • Mentoring and coaching your reports so they get better and can have more work delegated to them, thus increasing output further.
  • Managing the team's stakeholders so they can offer their steer to the team early and often.
  • Actively performance managing the team so that superstars can continue to shine and underperformers can be coached or exited.
  • Building close working relationships with other teams so that smooth collaboration happens across the organization, leading to a better and more cohesive product.

Trying out Quartz to convert my main site to it.

The nice thing about it is:

  • metadata already matches what I was already using - date, description, tags etc.
  • has good integration with cloudflare CI out of the box and is documented

Need to checkout uv for python development workflows.

I currently use poetry, and fairly ok with it.

Things to keep in mind when migrating the website/blog to a new content management system:

  1. What do you want to keep; don't break links
  2. Build a simulator to compare what will change between the new system and the old -- is the new content management going to:
  • maintain the same URLs?
  • same content layout
  • same metadata at the page level?

create a skills matrix

| Topic | Skill | Level | Supporting Evidence |

Nim memory management is tied to the type you use

You either use:

  • an object. Which is on the stack and is either trivial or uses destructors and is suitable for embedded due to deterministic memory management
  • a pointer object. Which is a raw pointer like C *. Managed directly via raw malloc/free or Nim malloc/free. Suitable for embedded
  • a reference type. Which is managed by one of Nim GC or is an error if you use bc:none

via on HN.

Calendar , Export