frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What's in the 2026 Hugo Awards Voter Packet?

https://compellingsciencefiction.com/posts/what-s-in-the-2026-hugo-awards-voter-packet.html
1•mojoe•38s ago•0 comments

Essays on Dwarkesh's "Big Questions on AI"

https://12gramsofcarbon.com/p/why-is-ai-still-scaling-how-do-the
1•theahura•3m ago•0 comments

Sovereign cloud is only possible if you're Chinese or American: Gartner

https://www.theregister.com/off-prem/2026/05/11/sovereign-cloud-is-only-possible-if-youre-chinese...
1•Bender•4m ago•0 comments

Byron Allen to Buy a Controlling Stake in BuzzFeed

https://www.nytimes.com/2026/05/11/business/media/buzzfeed-byron-allen.html
1•jaredwiener•5m ago•0 comments

Coloradan can plug his brain into a computer

https://www.denverpost.com/2026/05/10/colorado-brain-computer-interface/
1•rolph•6m ago•0 comments

Through the looking glass of benchmark hacking

https://poolside.ai/blog/through-the-looking-glass
1•jxmorris12•8m ago•0 comments

Meta-Meta-Prompting: The Secret to Making AI Agents Work

https://twitter.com/garrytan/status/2053127519872614419
2•gmays•8m ago•0 comments

Why Airport Security Feels Random

https://yusufaytas.com/why-airport-security-feels-random
5•legallytired•13m ago•0 comments

Dead internet theory: AI-generated articles using MCP [video]

https://vimeo.com/1191324557
1•linksku•14m ago•0 comments

No more Access Denied – I am TrustedInstaller(2023)

https://fourcore.io/blogs/no-more-access-denied-i-am-trustedinstaller
1•rolph•15m ago•0 comments

AI Hype vs. AI Reality

https://fixingtao.com/2026/05/ai-hype-vs-ai-reality/
1•gslepak•17m ago•0 comments

Agent View in Claude Code

https://claude.com/blog/agent-view-in-claude-code
2•elffjs•17m ago•0 comments

New US counterterror strategy focuses on cartels but omits right-wing extremism

https://www.pbs.org/newshour/show/new-u-s-counterterror-strategy-focuses-on-drug-cartels-but-omit...
3•latexr•23m ago•1 comments

TanStack NPM Packages Compromised

https://github.com/TanStack/router/issues/7383
8•varunsharma07•24m ago•0 comments

I Built an AliExpress Homelab, Is It Surprisingly Good or Total E-Waste?

https://the-diy-life.com/i-built-an-aliexpress-homelab-is-it-surprisingly-good-or-total-e-waste/
1•bdcravens•24m ago•0 comments

From E-Waste to AI Powerhouse: Upcycling Smartphones for On-Device AI

https://www.gesellschaft-zur-entwicklung-von-dingen.de/challenge
2•luckow•24m ago•1 comments

Ads Are Coming to Apple Maps This Summer: Here's What to Expect

https://www.macrumors.com/2026/04/24/apple-maps-ads-what-to-expect/
3•celsoazevedo•24m ago•0 comments

Apple's iOS 26.5 Update Patches More Than 50 Security Flaws

https://www.macrumors.com/2026/05/11/ios-26-5-security-fixes/
1•celsoazevedo•26m ago•1 comments

Manuals Plus: The Wrap-Up

https://ascii.textfiles.com/archives/5833
1•kencausey•27m ago•0 comments

I let AI build a tool to help me figure out what was waking me up at night

https://martin.sh/i-let-ai-build-a-tool-to-help-me-figure-out-what-was-waking-me-up-at-night/
7•showmypost•28m ago•0 comments

People turning to gambling or fraud in response to rigged/unfair system

https://greyenlightenment.com/2026/05/04/people-turning-to-gambling-or-fraud-in-response-to-rigge...
2•paulpauper•29m ago•0 comments

Teen Boys and Young Men Are Injecting Peptides in Search of Perfection

https://www.wsj.com/health/wellness/boys-peptides-stacks-looksmaxxing-trevor-larcom-835e58cd
2•JumpCrisscross•30m ago•0 comments

Stay indoors warning issued across three US states as toxic smog fills the air

https://www.dailymail.com/sciencetech/article-15809079/stay-indoors-warning-arizona-texas-califor...
1•Bender•30m ago•0 comments

Linux 7.1-Rc3 Released with Many Networking Changes

https://www.phoronix.com/news/Linux-7.1-rc3-Released
1•Bender•32m ago•0 comments

Linux 7.0.6 Released to Finish Mitigating the Dirty Frag Vulnerability

https://www.phoronix.com/news/Linux-7.0.6-Released
1•Bender•32m ago•0 comments

Cash register makers seek 1% food tax rate, citing extra time needed for 0% rate

https://www.japantimes.co.jp/news/2026/04/29/japan/politics/japan-food-tax-cut-challenges/
4•PaulHoule•33m ago•1 comments

Native Instruments Is Bought Out

https://www.the-berliner.com/berlin/native-instruments-sold-to-inmusic/
2•mrzool•34m ago•0 comments

Token Budgeting: How to Think About AI Cost Control

https://www.vantage.sh/blog/ai-token-budgeting
1•StratusBen•34m ago•0 comments

The 45% Hidden ROI of Automation No One Puts in the Business Case

https://sneakbug8.com/vertical-spillover-effect/
1•SneakBug8•35m ago•0 comments

Beneath the Linux surface: the Unix legacy, a lively ecology

https://club.unix.rocks/commentary/under-linux/
1•fcambus•35m 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•1y ago

Comments

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

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

to:

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

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

foobarkey•1y ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

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