frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Handle a Difficult Colleague

https://www.thetrueengineer.com/p/surviving-the-workplace-how-to-handle
1•adletbalzhanov•16s ago•0 comments

Coletivo – A place for AI agents to collaborate via MCP

https://coletivo.alganet.dev/
1•gaigalas•1m ago•0 comments

40 Hours, $2M+ AI credits, solve an open problem

https://mathathonchallenge.com/
1•Bluestein•2m ago•0 comments

Average daily long-haul truck traffic across US highways

https://www.reddit.com/r/MapPorn/comments/1vofgij/average_daily_longhaul_truck_traffic_across_us/
1•mooreds•2m ago•0 comments

Gemini Desktop

https://gemini.google/desktop/
2•ZacnyLos•3m ago•0 comments

Show HN: Rapto – An in-memory NoSQL database written in Zig

https://github.com/raptodb/rapto
1•andrvv•4m ago•0 comments

Why isn't decompilation a solved problem in the AI era?

2•ferfumarma•4m ago•0 comments

The Philosophy Behind "Zen and the Art of Motorcycle Maintenance" [video]

https://www.youtube.com/watch?v=b9lZ7uLjDa8
2•thunderbong•7m ago•0 comments

Japan Is Launching a Probe to Collect the First-Ever Samples from a Martian Moon

https://www.wired.com/story/japan-launching-probe-to-collect-first-ever-samples-martian-moon/
2•bookofjoe•9m ago•1 comments

Speculations Concerning the First Ultraintelligent Machine (1966) [pdf]

http://incompleteideas.net/papers/Good65ultraintelligent.pdf
1•Bluestein•10m ago•1 comments

The kernel does not care what you named the tool

https://www.cognivisehub.com/blogs/the-kernel-does-not-care-what-you-named-the-tool
1•apollonios•12m ago•0 comments

We Tested 15 Fresh Cloud VMs All Across Canada – What Did We Find?

https://webbynode.com/articles/what-do-canadian-cloud-regions-offer
1•gsgreen•12m ago•1 comments

Show HN: Nola – a TypeScript superset where LLM inference is a language feature

https://nola.sh/
1•emykhailenko•13m ago•0 comments

Synctera Becomes a Money Services Business

https://www.thisweekinfintech.com/p/exclusive-synctera-becomes-a-money-services-business-making-a...
1•thatdrew•13m ago•0 comments

OpenAI shares they have made substantial progress on another Millennium problem

https://www.nytimes.com/2026/09/10/science/tristan-buckmaster-openai-math-navier-stokes.html
5•helloplanets•14m ago•2 comments

EU unveils 'buy European' public procurement rules to counter China

https://www.theguardian.com/world/2026/sep/09/eu-buy-european-public-procurement-rules-china-good...
2•robtherobber•15m ago•0 comments

Earned Complexity

https://twitter.com/kcurtin/status/2098084206463062170
1•kcurtin•16m ago•0 comments

10x Cheaper TTS at 50ms Time-to-First-Audio

https://narilabs.com/blog/introducing-nari-qwen3-tts/
1•toebee•19m ago•1 comments

Hear Me Out: If We Find Life Out There Maybe We Should Kill It

https://joecmarshall.com/posts/hear-me-out-if-we-find-life-out-there-maybe-we-should-kill-it/
6•flancrest•19m ago•0 comments

How I deployed my site on Hetzner

https://brettfisher.dev/posts/deploy-blog-on-hetzner/
1•fisher-brett•19m ago•0 comments

Show HN: I licensed $50k of stock market data to do analysis Claude can't

https://www.athenic.com:443/
1•jaredzhao•20m ago•0 comments

Respond terse like smart caveman. All technical substance stay. Only fluff die

https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman/SKILL.md
1•Bluestein•20m ago•0 comments

Apple Is Gunning for Whoop

https://www.bloodtestcomparison.com/apple-is-gunning-for-whoop
2•elo2000•21m ago•0 comments

Show HN: Turn wire protocols into structured statements LLMs can understand

3•andriosr•21m ago•0 comments

Superintelligence Is a Fairy Tale. But Chasing It Can Still Cause Harm

https://calnewport.com/superintelligence-is-a-fairy-tale-but-chasing-it-can-still-cause-harm/
3•skadamat•21m ago•0 comments

Neat-annotations: hand-drawn annotations for your page

https://neat-annotations.syabro.com/
2•handfuloflight•22m ago•0 comments

Defeat in Detail

https://en.wikipedia.org/wiki/Defeat_in_detail
2•highfrequency•22m ago•0 comments

Agricultural Involution

https://en.wikipedia.org/wiki/Agricultural_Involution
3•Bluestein•24m ago•1 comments

Sub-second Postgres replication to ClickHouse from physical WAL

https://clickhouse.com/blog/introducing-walshadow
3•__s•24m ago•0 comments

Are We Alone? Cosmic Loneliness and the Longing to Believe [audio]

https://www.econtalk.org/are-we-alone-cosmic-loneliness-and-the-longing-to-believe-with-adam-kirsch/
3•mooreds•26m 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".