frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

EIG Letter: DHS Should Revise Proposed H-1B Weighted Lottery

https://eig.org/eig-letter-dhs-should-revise-proposed-h-1b-weighted-lottery-to-prioritize-top-tal...
1•Romanorum•5m ago•0 comments

Nuclear developer proposes using Navy reactors for data centres

https://financialpost.com/commodities/energy/developer-proposes-navy-reactors-for-data-centres
2•pseudolus•7m ago•1 comments

Nvidia to poach top staff from AI chip startup Groq in licensing deal

https://www.ft.com/content/3584197e-a99a-4a06-9386-dc65cf603f45
1•bookofjoe•11m ago•1 comments

Speed Act passes in House despite changes that threaten clean power projects

https://insideclimatenews.org/news/18122025/speed-act-passes-in-house-threatens-clean-power-proje...
1•pseudolus•12m ago•0 comments

The dollar game

https://www.imf.org/en/publications/fandd/issues/2025/12/cafe-economics-the-dollar-game-bruce-edw...
2•hhs•14m ago•0 comments

Dirlock

https://gitlab.steamos.cloud/holo/dirlock
1•birdculture•15m ago•0 comments

'I've been allergic to AI for a long time': an interview with Peter Thiel

https://spectator.com/article/ive-been-allergic-to-ai-for-a-long-time-an-interview-with-peter-thiel/
1•ksec•18m ago•0 comments

Internet sleuths are un-redacting some of the Epstein files

https://www.cbc.ca/news/world/epstein-files-unredacting-9.7027723
1•01-_-•18m ago•0 comments

One formula that demystifies 3D graphics [video]

https://www.youtube.com/watch?v=qjWkNZ0SXfo
2•todsacerdoti•20m ago•0 comments

Monetizers vs. manufactures: How the AI market could splinter in 2026

https://www.cnbc.com/2025/12/25/how-the-ai-market-could-splinter-in-2026-.html
1•pseudolus•21m ago•0 comments

Show HN: Neural Network Flies – train flies to find food

https://claude.ai/public/artifacts/504981f5-e975-45c1-ab28-336426c5dc76
1•logicallee•22m ago•1 comments

Santa Claus Through the Years: Vintage Photos from the Past

https://rarehistoricalphotos.com/santa-claus-vintage-photos/
1•Brajeshwar•22m ago•0 comments

Ask HN: Would a nonprofit cloud storage service make sense?

2•theaitch•27m ago•2 comments

The Sweeney Filming Locations – Olympia and W14 [video]

https://www.youtube.com/watch?v=1tPFNrP-xGQ
1•zeristor•27m ago•1 comments

When the World Logs in and Everything Breaks

https://comuniq.xyz/post?t=649
1•01-_-•29m ago•0 comments

Let boredom be the mother of invention

https://www.ft.com/content/20720f08-ba41-44e1-8ec0-4653d65d9757
1•hhs•29m ago•0 comments

Show HN: Play Riichi Mahjong Online

https://online-riichi.com
2•cerpins•31m ago•1 comments

How Claude Code is helping me as an open source maintainer

https://stanislas.blog/2025/12/claude-code-opus-open-source-maintenance/
1•angristan•32m ago•0 comments

Confirmation of Breslow's hypothesis: A carbene stable in liquid water

https://www.science.org/doi/10.1126/sciadv.adr9681
1•bookofjoe•34m ago•0 comments

What Is Santa's Address at the North Pole?

https://parade.com/1123345/stephanieosmanski/santa-claus-address/
2•thunderbong•38m ago•0 comments

Make screenshots stand out – add backgrounds, frames, and annotate

https://www.screenshoteditor.live/
1•dikshant_shah•38m ago•1 comments

The shadow Russia casts over Europe has forced it to face the truth

https://www.cnn.com/2025/12/25/europe/russia-europe-analysis-intl-cmd
6•breve•47m ago•0 comments

RoomStaging

https://roomstaging.net
1•deiniuuuu•48m ago•0 comments

Officials discover a million more documents potentially related to Epstein case

https://www.bbc.com/news/articles/czdgz84dn35o
2•helloplanets•49m ago•0 comments

Show HN: Smig – Automatic SurrealDB Migrations

https://smig.build/
1•kathysledge•50m ago•0 comments

Goodbye Motorola

https://old.reddit.com/r/motorola/comments/1puoqh6/goodbye_motorola/
6•sipofwater•55m ago•0 comments

Show HN: Localhorst – Websites Hosted in the Browser

https://localhorst.43z.one/
2•h43z•56m ago•0 comments

Ask HN: Why can't I find NDK for Linux ARM64?

1•DenisDolya•1h ago•0 comments

Mattermost restricted access to old messages after 10000 limit is reached

https://github.com/mattermost/mattermost/issues/34271
45•xvilka•1h ago•20 comments

Package managers keep using Git as a database, it never works out

https://nesbitt.io/2025/12/24/package-managers-keep-using-git-as-a-database.html
1•WhyNotHugo•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•7mo ago

Comments

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

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

to:

  git sync "descriptive name"
horsawlarway•7mo 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•7mo 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•7mo 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•7mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•7mo 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•7mo 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•7mo 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•7mo ago
Maybe not essential, but reflog is invaluable.

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

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

Oh and maybe cherry-pick

seba_dos1•7mo ago
Both are essential.
realaleris149•7mo ago
There are other commands?
incomplete•7mo 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•7mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•7mo ago
It missed "git switch" and "git restore".