Skip to content

Instantly share code, notes, and snippets.

@MoserMichael
MoserMichael / Charlie-Chaplin-movies.md
Last active November 20, 2025 01:31
Charlie Chaplin movies

learning about Charlie Chaplin

Chaplin managed to create cinema as an form of art! So here I am taking some notes, as I study his work.

Nowadays we have many of his his movies on youtube (as the copyright is expiring, no matter what - when I was a kid any appearance of Chaplin on TV was an event!).

Movies are compressed representation (as compared to books). They use additional visual/audio clues to tell a story - and to create a different kind of experience. Also the dynamics of movie scripts are quite different as compared to storytelling in a book. Someone had to figure out what works and what does not, and that guy was Chaplin (who did not have a formal education in any of these areas...)

  • His early work are two-reel movies. In many of them he is fighting a big bully adversary.
  • This doesn't work will full length feature movies: starting with 'The Kid', and later in all his movies in 'United Artist' - the adversary is something bigger, like poverty in 'the Kid', the system in 'Modern Times', fa
@MoserMichael
MoserMichael / job-searching.md
Last active February 18, 2026 02:14
job-searching

Job hunting tips

/More Eitzes from me, 'Eitzes is billik' - advice comes cheap.../

This gist is my experience. In general: do not trust such advice. Somehow the market tends to change every few years, always be aware of that possibility and be on the look-out.

Kinds of companies to work for

You can work for a big established company or for a startup. With more advanced companies you have a less stressed environment / and a more steady job, kind of.

@MoserMichael
MoserMichael / rag-course-notes.md
Last active November 14, 2025 01:14
RAG-retrieval-augmened-generation.md

https://learn.deeplearning.ai/courses/retrieval-augmented-generation

by Zain Hassan

Module1

RAG (Retrieval Augmented Generation) gives the LLM direct access to customer supplied documents - specialized knowledge, that wer not art of the training data. Not everything is known during model training, the missing links are

  • private databases (stuff that people/enterprises do not make public)
  • hard to access information
@MoserMichael
MoserMichael / keeping-up-with-python.md
Last active January 25, 2026 08:59
keeping-up-with-python

Keeping up with python

Python is one of the tools in my toolbox, so I never used it exclusively. This means i need to get an update, occasionally.

Rant mode on

They want to have an expressive language, so they keep adding features upon features to it, instead of caring too much about performance (which means that no JIT - just-in-time compiler - has been added to cpython).

I would have thought that typescript is gaining over python on github, because node.js is JIT based, unlike cpython, but that guess was wrong: github article. The github article suggests a different reason:

@MoserMichael
MoserMichael / llm-workflow-course.md
Last active November 14, 2025 01:13
Agentic Workflows course

notes on: Agentic workflows course by Andrew Ng

https://learn.deeplearning.ai/courses/agentic-ai/lesson/pu5xbv/welcome!

Module1

  • the whole thing is about decomposing a workflow into a process with separate stages. A stage can either ask a LLM to do something or call an external tool (DB access, google query, etc)

(example: writing an essay, write outline, research th topic, write the essay)

@MoserMichael
MoserMichael / stuff-for-the-household.txt
Last active February 18, 2026 02:46
Stuff for the hoursehold
" Set text width as 72.
# Collection of various stuff & advice
# -------------------------
# Media / content / search
# -------------------------
Link to google in AI mode, with the option to chat with a LLM.
Probably uses Gemini of various versions, the version can probably vary - according to task.
@MoserMichael
MoserMichael / netcat-without-lies.txt
Last active November 18, 2025 10:47
netcat without lies
On ubuntu: a date server with netcat, so that you can see something in a web browser
# For a single run; access with http://localhost:12005
d=$(date);echo -e "HTTP/1.1 200 OK\nConnection: close\nContent-Length: ${#d}\n\n${d}" | nc -l -p 12005
# For mutltiple runs; access with http://localhost:12005
while true; do d=$(date);echo -e "HTTP/1.1 200 OK\nConnection: close\nContent-Length: ${#d}\n\n${d}" | nc -l -p 12005; done
# serving a video file