Git tips git rebase moves commits one by one Updated 2025-07-16
In order to solve conflicts, you just have to understand what commit you are trying to move where.
E.g. if from:we do:what happens step by step is first 6 is moved on top of 5:and then 7 is moved on top of the new 6:
5 master
|
4 7 my-feature HEAD
| |
3 6
|/
2
|
1git rebase master6on5 HEAD
|
5 master
|
4 7 my-feature
| |
3 6
| |
2-----------------+
|
17on5 HEAD
|
6on5
|
5 master
|
4 7 my-feature
| |
3 6
| |
2-----------------+
|
17on5 my-feature HEAD
|
6on5
|
5 master
|
4
|
3
|
2
|
1 Git tips How to visualize the commit tree Updated 2025-07-16
Generate a minimal test repo. You should get in the habit of doing this to test stuff out.
#!/usr/bin/env bash
mkdir git-tips
cd git-tips
git init
for i in 1 2 3 4 5; do
echo $i > f
git add f
git commit -m $i
done
git checkout HEAD~2
git checkout -b my-feature
for i in 6 7; do
echo $i > f
git add f
git commit -m $i
done Glucose Updated 2025-07-16
The most important on in metabolism internals, everything else gets converted to it before being processed in the .
GNOME Chess Updated 2025-07-16
The user friendly Chess UI! Exactly what you would expect from a GNOME Project package. But also packs some punch via the Universal Chess Interface, e.g. Stockfish just works.
GNU Taler Updated 2025-07-16
Centralized system that still attempts some level of privacy.
In it, a central bank issue tokens that are stored offline in your cell phone, a bit like cash bank notes.
When you take those tokens, a corresponding amount gets removed from your bank account, a bit like cash bank notes.
When a transaction is made, tokens are put into a spent token list via central API, and cannot be double spent thereafter. The corresponding ammount is then added to the bank account of the receiver. This also means that offline transactions are not possible.
Godlike Updated 2025-07-16
This vocabulary likely entered Ciro Santilli's vernacular through playing Counter-Strike when he was a teenager.
Good film Updated 2025-07-16
- There will be blood (2007). Business and cynicism. Also great music.
- Don't Look Up (2021). Politics.
Google 2FA app token can be updated without checking the old 2FA Updated 2025-07-16
Google Analytics Updated 2025-07-16
I need this for OurBigBook.com!! webmasters.stackexchange.com/questions/104241/can-google-analytics-track-url-fragment-in-url
They removed referrer path completely in GA4... OMG WTF are they doing!
Google custom silicon Updated 2025-07-16
Google has put considerable effort into custom hardware to greatly optimize its stack, in a way that is quite notable compared to other tech companies.
- 2021 www.theregister.com/2021/03/23/google_to_build_server_socs/ Google vows to build its own server system-on-chips, hires Intel veteran. Inevitable with the end of Moore's law. Instruction set architecture unannounced however. I'll bet ARM instruction set
- 2021 codec acceleration for YouTube: www.tomshardware.com/uk/news/intel-replaces-xeons-with-custom-vcus
Romance of the Three Kingdoms (1994 TV series) Updated 2025-07-16
There seems to exist a version with full Chinese + English subtitles: www.youtube.com/watch?v=0_r3eWfTMDs&list=PLdAMXqGeRsOkXzuocRkBPhe5RhZ6RotGH&index=2
www.youtube.com/watch?v=e8VWVvHjskM&list=PLIj4BzSwQ-_ueXTO7EBmShk1b3lEqc5b_ official CCTV电视剧 (CCTV TV Series Channel) upload without Chinese + English subtitles.
How to use an Oxford Nanopore MinION to extract DNA from river water and determine which bacteria live in it Experiment background Updated 2025-07-16
PuntSeq is a side project led by a few University of Cambridge PhDs that aims to determine which bacteria are present in the River Cam.
In July 2019, the PuntSeq team got together with the awesome Cambridge Biomakespace, an awesome biology makerspace open to all, to create a two day science outreach activity showing their procedures.
The data collected in this experiment, together with other collection sessions done by the organizers actually led to a publication on eLife: elifesciences.org/articles/61504 "Freshwater monitoring by nanopore sequencing" by Lara Urban et al. (2021), so it is awesome to see that were are actual being part of "real science".
Ciro knows nothing about biology, but since he is very curious about it, he jumped at this opportunity, and decided to document things as well as his limited knowledge would allow.
All participants chipped in some money to help cover the experiment's costs. Ciro suspects that this activity was done partially to help crowdfund the experiment, but it was a worthy investment!
The impressions you get from the experiment as a software engineer will be:
- OMG, this is so labour intensive, why haven't they automated this
- OMG, this is frightening, all the 8 hours of work I've just done are present in that tiny plastic tube
- Amazing! Look at that apparatus! And the bio people are like: I've used this a million times, it's cheap and every lab has one, just work faster and don't break you piece of junk!
How to use an Oxford Nanopore MinION to extract DNA from river water and determine which bacteria live in it External links to this page Updated 2025-07-16
- 2021-03-25: Oxford Nanopore Technologies retweeted this article, that's awesome!
- 2021: hackaday.com/author/wd5gnr1/ "SEQUENCING DNA FOR METAGENOMICS" by Al Williams (2021). This came after Ciro Santilli self promoted at: stackoverflow.blog/2021/02/03/sequencing-your-dna-with-a-usb-dongle-and-open-source-code/#comment-1411921
gothinkster/django-realworld-example-app Updated 2025-07-16
As of 2021, last updated 2016, and python 3.5 appears to be mandatory or else:which apparently broke in 3.6: stackoverflow.com/questions/41343263/provide-classcell-example-for-python-3-6-metaclass and
RuntimeError: __class__ not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.AbstractBaseUser'>. Was __classcell__ propagated to type.__new__?pyenv install fails on Ubuntu 20.10, so... fuck. Workarounds at:but am I in the mood considering that the ancient Django version would require an immediate port anyways? Repo is at Django 1.0, while newest is now already Django 3. The Rails one is broken for the same reason. Fuck 2.
Gradient, Divergence, Curl, and Laplacian Updated 2025-07-16
Graphical user interface Updated 2025-07-16
Greatest common divisor Updated 2025-07-16
The "greatest common divisor" of two integers and , denoted is the largest natural number that divides both of the integers.
Greek alphabet Updated 2025-07-16
Unfortunately, physicists and mathematicians keep using Greek letters in their formulas, so we just have to learn them.
A helpful way to remember is to learn a bit of their history/pronunciation: Section "Historical correspondence between Latin and Greek".
To learn the greek letters if you have a base latin alphabet, you must learn the sound of each letter, and which Latin letters they correspond to.
Symbols that look like Greek letters but are not Greek letters:
Is Ciro Santilli crazy (he is, but for this point specifically), or do many/most Greek letters represent the mouth position used in the pronunciation of the letter?
Gross hydrogen emission spectrum Updated 2025-07-16
One reasonable and memorable approximation excluding any fine structure is:see for example example: hydrogen 1-2 spectral line.
Equation 1.
Hydrogen spectral series mnemonic
. Unlisted articles are being shown, click here to show only listed articles.