Skip to content

Instantly share code, notes, and snippets.

@MoserMichael
MoserMichael / README.txt
Last active January 29, 2026 06:04
llm-talk-from-html-to-markdown
This project moved to https://github.com/MoserMichael/tips_on_using_google_ai_mode
@MoserMichael
MoserMichael / learning-huggingface.md
Last active January 23, 2026 04:06
learning-huggingface

Learning about huggingface (and other AI stuff)

  • the site: https://huggingface.co/
  • at first the account is free, once you start using their GPU's you need a paid account
  • main page ui
    • model hub : lots of trained open source models (sorted by trending)
    • datasets : open source datasets!!!
    • spaces - hosted apps on hugging space
  • community (blogs/posts/daily papers)
@MoserMichael
MoserMichael / cooking.md
Last active June 17, 2026 10:08
cooking-advice

cooking up stuff

In memory of my dear mother, Vera. You taught me to be positive and be ready to learn from anyone. And your cooking was the best...

Maybe a bit rare to see cooking advice in a github gist, nevertheless - let's go! (I prefer recipes that do not require a lot of work)

What I like about cooking the same dish repeatedly:

  • you develop an intuition for time, how long does it take for a pancake to be ready before turning? How long does it take for a soup to be ready for consumption?
  • Also: experimentation with the recipes: sometimes an ingredient isn't handy, can you substitute it with something else? Try variations of spices? - there is room for experimentation, to some degree - and you can adopt what works. Cooking is not a totally fixed process, there is some room for variation...
  • Time passes quickly, if you do something with your own hands that has a purpose & makes sense. Cooking is an 'easy entry' into this kind of activity.
@MoserMichael
MoserMichael / course.md
Last active December 17, 2025 06:23
scratch

course on visual programming with Scratch

The aim here is to come up with a methodology/course of teaching the stuff, so the intended audience are teachers/parents who want to teach this stuff.

Scratch

A general intro to Scratch

  • at the bottom of the page there is a dropdown for choosing your language (very important to some people)
@MoserMichael
MoserMichael / prompt-engineering.md
Last active May 6, 2026 02:26
promt-engineering
@MoserMichael
MoserMichael / checkout-gists.sh
Last active November 23, 2025 03:37
github-tools
#!/bin/bash
GITHUB_USER_NAME=$1
if [[ "x${GITHUB_USER_NAME}" == "x" ]]; then
cat <<EOF
Usage: $0 <github-user-name>"
Check out all gists or given github user - under the current directory.
@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 May 3, 2026 21:16
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 May 4, 2026 04:04
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: