frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

New research highlights a shortage of male mentors for boys and young men

https://www.psypost.org/new-research-highlights-a-shortage-of-male-mentors-for-boys-and-young-men/
2•ashishgupta2209•1m ago•0 comments

Using Claude to create a bootable Forth OS

https://isene.org/2025/11/SimplicityOS.html
1•veltas•11m ago•0 comments

My Rebuttal to Simon Cowell's Rolling Stone Statement

https://twitter.com/katiewaissel24/status/1993828722500055299
1•mellosouls•11m ago•0 comments

Claude Opus 4.5, and why evaluating new LLMs is increasingly difficult

https://simonwillison.net/2025/Nov/24/claude-opus/
1•jonesn11•13m ago•0 comments

AuthenticImage – Detect AI-Generated / Fake / Edited Images (100 users on day 1)

https://authenticimage.site/
1•CrazyCompiler01•14m ago•1 comments

Finding a private self hosted Google Photos alternative that doesn't track me

https://alternativeto.net/news/2025/11/finding-a-private-self-hosted-google-photos-alternative-th...
1•elliot_a•14m ago•0 comments

The EU's Silent Assault on Human Dignity

https://twitter.com/yrschrade/status/1989718227690119560
2•nailer•16m ago•0 comments

Adventures in live booting Linux distributions (2014)

https://major.io/p/adventures-in-live-booting-linux-distributions/
1•transpute•20m ago•0 comments

Don't tell me RAG is easy

https://major.io/p/devconf-rag/
1•transpute•20m ago•0 comments

U.S. to Charge International Tourists $100 to Visit National Parks

https://skift.com/2025/11/26/u-s-to-charge-international-tourists-100-to-visit-national-parks/
1•decimalenough•20m ago•1 comments

Show HN: Pg_AI_query – AI powered SQL inside PostgreSQL

https://github.com/benodiwal/pg_ai_query
1•benodiwal•25m ago•0 comments

Leaked Celebrite Android Payload

https://donotsta.re/notice/B0etpuWyWytSdbRnTU
1•Aissen•25m ago•0 comments

Coffee Making

https://tldp.org/HOWTO/html_single/Coffee/
1•Lunar5227•26m ago•0 comments

Chinese businesses are transforming Mexico City's poshest neighborhood

https://restofworld.org/2025/chinese-tech-companies-mexico-city/
1•Brajeshwar•29m ago•0 comments

Founder-led sales, from the perspective of a Founder, leading sales

https://substack.com/inbox/post/180021176
1•mnbbrown•32m ago•0 comments

OpenDesk 1.10. Enhanced security architecture

https://www.opendesk.eu/en/blog/opendesk-1-10
2•doener•36m ago•0 comments

Apple Asks Indian Court to Block Antitrust Law Allowing $38B Fine

https://macmegasite.com/2025/11/26/apple-asks-indian-court-to-block-antitrust-law-allowing-38-bil...
2•Brajeshwar•37m ago•0 comments

Tell HN: Stall AI progress for the benefit of humanity

2•blutoot•39m ago•4 comments

Show HN: Whisper Money – A privacy‑first, E2E encrypted personal finance app

https://github.com/whisper-money/whisper-money
1•falcon_•42m ago•0 comments

Show HN: Flux 2–High-Fidelity Image Generation with Multi-Reference Consistency

https://www.fluxproai.net/?i=d1d5k
2•lu794377•47m ago•0 comments

Show HN: Fixing LLM memory degradation in long coding sessions

https://github.com/robertomisuraca-blip/LLM-Entropy-Fix-Protocol
2•robertomisuraca•47m ago•0 comments

Tell HN: DuckDuckGo doesn't have bangs for Chatbots like ChatGPT, Grok, Gemini

2•faebi•50m ago•1 comments

Record Club: indie social network for music lovers

https://record.club/
1•thwg•52m ago•1 comments

RL is more information inefficient than you thought

https://www.dwarkesh.com/p/bits-per-sample
2•cubefox•54m ago•0 comments

Show HN: I built a language learning movie app

https://kanjieight.vercel.app/
1•Mikecraft•58m ago•0 comments

How to Synthesize a House Loop

https://loopmaster.xyz/tutorials/how-to-synthesize-a-house-loop
2•stagas•1h ago•0 comments

Morgan Stanley Warns Oracle Credit Protection Nearing Record High – Above 2008

https://www.bloomberg.com/news/articles/2025-11-26/morgan-stanley-warns-oracle-credit-protection-...
3•zerosizedweasle•1h ago•1 comments

DARPA Lift Challenge

https://www.darpa.mil/news/2025/lift-challenge
2•T-A•1h ago•0 comments

Deploying a back end on UpCloud without containers or orchestration (demo video

https://youtu.be/OpRDVpvT5Ak?si=rVUcSk4iKP2yIxAR
1•Nimer•1h ago•1 comments

How to Create an Effective Prompt for Nano Banana Pro

https://www.radicalcuriosity.xyz/p/how-to-create-an-effective-prompt
3•simonebrunozzi•1h 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".