frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

EmTech Future 2026: When AI Meets Everything

https://www.technologyreview.com/2026/10/05/1145413/emtech-future-2026-when-ai-meets-everything/
1•joozio•19s ago•0 comments

ZQK – An open-core substrate for autonomous agent swarms in Go

https://github.com/zqk-os/zqk
1•zqk-agent•41s ago•0 comments

What Is Perplexity's Decisions API?

https://vercel.com/i/what-is-perplexity-decisions-api
1•flashbrew•2m ago•1 comments

TypeSafe AI's Jev vs. Perplexity's Decisions API

https://vercel.com/i/jev-vs-perplexity
1•flashbrew•3m ago•0 comments

Free PNG to PDF Converter Online for United States

https://pngstack.site/
1•flashzonik•3m ago•0 comments

Rust's derive often implies inline

https://yossarian.net/til/post/rust-s-derive-often-implies-inline/
1•birdculture•3m ago•0 comments

Tekken 7 and 8 now on Play Store /s

https://twitter.com/0xcrypto/status/2107009971569537434
1•0xcrypto•3m ago•0 comments

Northstar Browser

https://nordstjernen.org/northstar-browser/
1•signa11•12m ago•1 comments

Why hasn't academic publishing mastered references management?

https://thesiscitationlab.ai/
1•collinskab•14m ago•0 comments

Novel approach to create AI slop games discovered

https://somethingbig.ai/gauntlet-loop
1•toilet•15m ago•0 comments

Automating SaaS directories: Meet the first automated directory

https://onlyfoundrs.com/
1•Quise•20m ago•0 comments

CPR data breach exposes personal details of 8.8M people in Denmark

https://cphpost.dk/2026-10-05/life-in-denmark/cpr-data-breach-exposes-personal-details-of-8-8-mil...
2•Zadak•20m ago•0 comments

The Big Holes in Wearable Heart Rate Variability and Readiness Scores

https://erictopol.substack.com/p/the-big-holes-in-wearable-heart-rate
1•taubek•27m ago•0 comments

Color Psychology in UI Design: How Color Shapes User Behavior

https://palettevault.github.io/blog/color-psychology-ui-design/
2•javatuts•29m ago•0 comments

Google freezes open-source bug bounty program

https://www.tomshardware.com/tech-industry/artificial-intelligence/google-suspends-part-of-the-os...
3•socializer•30m ago•0 comments

Sort by Rarity

https://notes.zachmanson.com/sort-by-rarity/
1•pavo-etc•31m ago•1 comments

The reciprocal sum of the prime-prefix-free numbers converges [pdf]

https://jdb19937.github.io/prime-prefix-free/ppf.pdf
1•jdb1729•33m ago•1 comments

(Lean) Doom

https://github.com/alaskahoffman/leandoom
1•plinkplonk•37m ago•0 comments

Tmux-agent-status – Quiet, keyboard-first control of coding agents

https://github.com/gs/tmux-agent-status
1•gsmajdor•40m ago•0 comments

Build on ECS Primitives, Not Convenience Layers

https://awsfundamentals.com/blog/ecs-primitives-not-convenience-layers
1•mariuz•44m ago•0 comments

Show HN: Mooring – a better screen sharing experience for Macs

https://kcirtapfromspace.github.io/mooring/
1•kcirtapfrmspc•45m ago•0 comments

Show HN: Prompt to vibe-code a zero-dependency offline study timer

https://threshyr.com/blogs/how-to-vibe-code-your-own-study-time-tracker
1•affanBajwa•46m ago•0 comments

Apple hiring iCup specialist to manage a large portfolio of coffee machines

https://jobs.apple.com/en-ca/details/200684454-3760/icup-supply-specialist
1•Austin_Conlon•48m ago•1 comments

Famous Darknet forum "Dread" hacked

https://darknetbible.info/news/2-weeks-3-exit-scams/
7•KevinBassettAUS•53m ago•1 comments

Researcher at Russian plague laboratory dies of 'unknown' infection

https://www.cnn.com/2026/10/04/europe/russia-laboratory-plague-accident-intl
1•defly•53m ago•0 comments

Saharanism and the Myth of the Empty Desert: Five Questions for Brahim El Guabli

https://edgeeffects.net/saharanism-and-the-myth-of-the-empty-desert-five-questions-for-brahim-el-...
1•bryanrasmussen•59m ago•0 comments

Waste colonialism: Turkish city carrying the weight of Britain's pollution issue

https://www.theguardian.com/environment/2026/aug/06/waste-colonialism-the-turkish-city-carrying-t...
1•hebelehubele•59m ago•0 comments

Show HN: Supermodels

https://supermodels.phototypelabs.com
1•sidelist•1h ago•1 comments

The Chips of Theseus

https://mordenstar.com/blog/immortality/
1•andsoitis•1h ago•0 comments

OpenAI: 28 Days of Codex Improvements – Or a Full Usage Reset

https://twitter.com/Codexresets_/status/2106946116294000889
2•wertyk•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•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".