frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Strategic Timing or Political Restraint?

https://rodgercuddington.substack.com/p/strategic-timing-or-political-restraint
1•freespirt•5m ago•0 comments

Show HN: Workin, a web app to control smart trainers

https://github.com/jsmolka/workin
1•jsmolka•10m ago•0 comments

About Libx11 Dlopen and Such

https://git.ricko.com.hr/19/desc
1•branc116•13m ago•1 comments

Benchmarking LLMs at the Frontier of Physics

https://artificialanalysis.ai/evaluations/critpt
1•mustaphah•13m ago•0 comments

Understanding LLMs as Pattern Machines, Not Thinking Partners

https://practicalsecurity.substack.com/p/why-your-ai-assistant-is-confidently
1•atilla_bilgic•13m ago•0 comments

The Secret History of Indian Science Fiction

https://altermag.com/articles/the-secret-history-of-indian-science-fiction
1•adityaathalye•24m ago•0 comments

Roblox CEO Makes a Fool of Himself in Car-Crash Interview

https://kotaku.com/roblox-new-york-times-interview-baszucki-2000646174
2•tobr•24m ago•0 comments

Neuroevolution: Harnessing Creativity in AI Agent Design

https://neuroevolutionbook.com/
1•salkahfi•25m ago•0 comments

Google tells employees it must double capacity every 6 months to meet AI demand

https://arstechnica.com/ai/2025/11/google-tells-employees-it-must-double-capacity-every-6-months-...
3•cheshire_cat•26m ago•0 comments

A word tracker that saves you time and money

https://catch-words.vercel.app
1•ardi_c_cc•28m ago•1 comments

Magician forgets password to his own hand after RFID chip implant

https://www.theregister.com/2025/11/21/magician_password_hand_rfid/
2•smurda•31m ago•0 comments

Matter 1.5 Officially Adds Support for Smart Cameras and Energy Management

https://www.iclarified.com/99104/matter-15-officially-adds-support-for-smart-cameras-and-energy-m...
3•Brajeshwar•49m ago•0 comments

AWS ECS and EKS now have remote MCP servers

https://aws.amazon.com/about-aws/whats-new/2025/11/amazon-eks-ecs-fully-managed-mcp-servers-preview/
2•stellastah•50m ago•0 comments

Cincinnati Subway

https://en.wikipedia.org/wiki/Cincinnati_Subway
2•keiferski•57m ago•0 comments

International Crypto Association elections botched by loss of key

https://iacr.org/news/item/27138
4•tomgag•1h ago•1 comments

The risk of round numbers and sharp thresholds in clinical practice

https://www.nature.com/articles/s41746-025-02079-y
2•asplake•1h ago•0 comments

Show HN: LexiForge – Auto-generate vocabulary flashcards from Kindle lookups

https://medium.com/@mr.thantsintoe/i-kept-forgetting-every-word-i-looked-up-on-my-kindle-so-i-bui...
1•thantsintoe•1h ago•0 comments

soul16 – Vibecoding native iOS and Android Apps

https://www.soul16.com
1•rendernos•1h ago•0 comments

Chromium reconsiders JPEG-XL implementation

https://groups.google.com/a/chromium.org/g/blink-dev/c/WjCKcBw219k/m/NmOyvMCCBAAJ
3•OuterVale•1h ago•0 comments

Ask HN: What recent thing you've been tasked improved your skills significantly?

2•setnone•1h ago•0 comments

I built TestCrew to solve the Android 12-tester problem

https://play.google.com/store/apps/details?id=com.testcrew&hl=en_US
1•akira-freeweb•1h ago•1 comments

UN human rights expert urges US to lift sanctions on Cuba

https://www.dw.com/en/un-human-rights-expert-urges-us-to-lift-sanctions-on-cuba/a-74845654
2•rguiscard•1h ago•0 comments

Preserving Historical Cryptography with Modern Python

https://github.com/denismaggior8/enigma-python
1•denismaggior8•1h ago•0 comments

hfsearch: a fast cli tool to discover models and datasets on HuggingFace

https://github.com/HenokB/hfsearch
1•henok_ademtew•1h ago•1 comments

Cloudflare error page of every HTTP status code (reload to show random page)

https://cloudflare-error-page-3th.pages.dev/
2•Donlon•1h ago•0 comments

Show HN: PokeSuite – Pokémon TCG pack simulator and competitive team builder

https://www.pokesuite.com
1•Fsen•1h ago•1 comments

Serflings is a remake of The Settlers 1

https://www.simpleguide.net/serflings.xhtml
1•doener•1h ago•0 comments

When AI Goes Wrong

https://whenaifail.com/category/ai-coding/
2•daco•1h ago•0 comments

Show HN: Minimal Start/Stop app for tracking billable hours (Tauri)

https://github.com/HustleCoding/time-tracker
1•FlorinDobinciuc•1h ago•0 comments

Self-destructing thumb drive can brick itself and wipe your secret files away

https://www.theregister.com/2025/11/21/selfdestructing_external_ssd/
2•beardyw•1h ago•1 comments
Open in hackernews

Git Commands That Cover 90% of a Developer's Daily Workflow

https://jsdev.space/15-git-commands/
29•javatuts•6mo ago

Comments

epmatsw•6mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•6mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•6mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•6mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•6mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•6mo ago
personally - skip the 'git add .'

It's a pretty terrible habit to get into, and will (not can - will) cause all sorts of headaches. From minor ones like personal editor configs getting dumped into the projects, all the way up to major ones like secrets ending up in your git history.

If you want something close, but much better, do something like:

    if [[ -n $(git ls-files --others --exclude-standard) ]]; then
        echo "There are untracked files.  Please add, remove, or ignore them."
    else
        git commit -am "descriptive name"
        git push
    fi
the__alchemist•6mo ago
I see your point, but find it worth it for convenience. Ultimately git is a tool I use to get the job done, and I want it out of the way. 99% of the time, I just want to sync my project, which doesn't only mean edits to existing files.
open-paren•6mo ago
How about `git add --patch -all` to make it interactive? I have that aliased to `gap` and it is probably my most used git command.
cholantesh•6mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•6mo ago
I'd like to suggest also mentioning `git add -p` (--prompt). It's very helpful for just adding changes relevant to the commit
nickcw•6mo ago
No `git rebase`?

Here are my stats for my last 300 or so git commands from my history

    $ history | grep git | awk '{print $3}' | sort | uniq -c | sort -rn

     71 log
     44 show
     34 diff
     26 co # alias for checkout
     24 cherry-pick
     23 status
     18 brs # alias for branch -v --sort=-committerdate
     13 rebase
     11 commit
     11 add
      8 push
      4 archive
      3 reset
      2 pull
      1 grep
      1 checkout
      1 br
Been doing lots of tricky merges recently hence all the cherry-picks! Not normally such a large part of my workflow.
mercer•6mo ago
For me, I generally don't go far beyond the commands in the article, but I /do/ make a lot of use of git rebase -i in my branches.
karmakaze•6mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•6mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•6mo ago
Both are essential.
realaleris149•6mo ago
There are other commands?
incomplete•6mo ago
also gonna echo the same sentiment: where's rebase? :)

two other git log commands i find to be insanely useful are:

alias hlog='git log --date-order --graph --date=short --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ad%Creset %C(red bold)%d%Creset%s"'

and:

alias alog='git log --date-order --all --graph --date=short --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ad%Creset %C(red bold)%d%Creset%s"'

this is great when working in a repo w/a main "prod" branch that you don't commit to directly, but instead commit to "staging" or "dev". alog shows you the entire repo's history for all branches, and hlog is just the graph of the non-pushable branches (plus all feature branches).

hbogert•6mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•6mo ago
It missed "git switch" and "git restore".