frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Acute Febrile Neutrophilic Dermatosis (Sweet Syndrome)

https://emedicine.medscape.com/article/1122152-overview
1•wjb3•58s ago•0 comments

Managed Code – New Site

https://www.managed-code.com/
1•managedcode•2m ago•0 comments

It's time to accelerate the development of antimatter for space propulsion

https://caseyhandmer.wordpress.com/2025/11/26/antimatter-development-program/
1•modeless•5m ago•0 comments

Requiem for Early Blogging

https://www.elizabethspiers.com/requiem-for-early-blogging/
1•bookofjoe•6m ago•0 comments

Baikonur launch pad damaged after Russian Soyuz launch to Space Station

https://www.reuters.com/science/baikonur-launch-pad-damaged-after-russian-soyuz-launch-internatio...
1•perihelions•6m ago•0 comments

Drones have revolutionized warfare. They're about to do it again

https://www.cnn.com/2025/11/27/world/history-future-of-drones-intl-hnk-ml-dst
1•breve•6m ago•0 comments

Lucas 'Granpa' Abela live [video]

https://www.youtube.com/watch?v=2aMBMbEWc6I&list=RD2aMBMbEWc6I
1•marysminefnuf•7m ago•0 comments

Emma Mazzenga is redefining athletic longevity at 92 years old

https://www.cnn.com/2025/11/27/sport/athletics-emma-mazzenga-redefining-longevity-92-intl
1•breve•8m ago•0 comments

From Cloudwashing to O11ywashing

https://charity.wtf/2025/11/24/from-cloudwashing-to-o11ywashing/
1•BerislavLopac•11m ago•0 comments

T1 accepts Elon Musk's challenge for top LoL team to compete against Grok AI

https://www.dexerto.com/league-of-legends/t1-accepts-elon-musks-challenge-for-top-lol-team-to-com...
1•andsoitis•12m ago•1 comments

Yawning Abyss of the Decimal Labyrinth

https://oh4.co/site/numogrammaticism.html
1•austinallegro•13m ago•0 comments

AWS-Lambda-Roadmap

https://github.com/aws/aws-lambda-roadmap
1•rmason•15m ago•1 comments

Show HN: No Black Friday – A directory of fair-price brands

https://no-blackfriday.com
1•rouuuge•17m ago•0 comments

Docker model runner integrates vllm

https://www.docker.com/blog/docker-model-runner-integrates-vllm/
1•robot-wrangler•20m ago•0 comments

Rust 2027 considering replacing poisoned locks

https://github.com/rust-lang/rust/issues/149359
1•vsgherzi•23m ago•0 comments

FileZilla Pro "Perpetual License" – A Warning to All Users

https://github.com/x011/FileZilla-Pro-Download
2•lobito25•23m ago•1 comments

Major fire rages at Hong Kong housing estate [video]

https://youtu.be/1WD0j0mW5qo
1•busymom0•24m ago•0 comments

You might be carrying an invisible gun

https://www.modernleader.is/p/invisible-gun
1•sebg•25m ago•0 comments

The Impossible Prompt

https://teodordyakov.github.io/the-impossible-promt/
1•emn13•25m ago•1 comments

An Empirical Study on Why LLMs Struggle with Password Cracking

https://arxiv.org/abs/2510.17884
1•gnabgib•27m ago•0 comments

Neural Architecture Design as a Compositional Language

https://lambpetros.substack.com/p/neural-architecture-design-as-a-compositional-32e
1•speiroxaiti•36m ago•0 comments

Refrag: Rethinking RAG Based Decoding

https://arxiv.org/abs/2509.01092
1•redbell•37m ago•1 comments

OpenAI Hacked, a Lot Leaked

https://peq42.com/blog/openai-hacked-a-lot-leaked/
4•peq42•37m ago•2 comments

The first $1B company run by one person is coming

3•AkshatRaj00•37m ago•2 comments

Setting Secrets in Env Vars

https://hugovk.dev/blog/2025/secrets-in-env-vars/
1•todsacerdoti•38m ago•0 comments

Lazy Linearity for a Core Functional Language (POPL 2026)

https://alt-romes.github.io/posts/2025-11-26-lazy-linearity-popl26.html
1•romes•38m ago•0 comments

Effective harnesses for long-running agents

https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents
1•handfuloflight•39m ago•0 comments

UFO Flap

https://en.wikipedia.org/wiki/UFO_flap
1•handfuloflight•41m ago•0 comments

Show HN: One click LinkedIn posts library

https://chromewebstore.google.com/detail/popup-linkedin-knowledge/pmejgpmingcbhpifjefenjkjaamlomha
1•rakeshkakati_47•41m ago•0 comments

Show HN: It's a Feature, Not a Bug, a gamified bug dismissal logger for QA

https://no-bug.app/
1•sebi-secasiu•41m ago•0 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".