frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Kremlin intends to accustom NATO to a baseline level of airspace violations

https://twitter.com/TheStudyofWar/status/2103922557917286824
1•doener•2m ago•0 comments

Show HN: An OpenAI-compatible, model-agnostic agent API

https://rebyte.ai/docs/agents-api/overview
1•sonicgg•2m ago•0 comments

The Rise and Fall of Tech Worker Power

https://www.bostonreview.net/articles/the-rise-and-fall-of-tech-worker-power/
1•bryanrasmussen•2m ago•0 comments

Florida death penalty: He executed prisoners. Then they came back to haunt him

https://www.cnn.com/2026/09/27/us/florida-executions-ron-mcandrew-profile
2•Tomte•12m ago•1 comments

YouTube and Meta Reverse Course, Will Accept 'Musk' Trailer Ad

https://www.hollywoodreporter.com/business/digital/youtube-meta-musk-trailer-ad-1236712540/
1•colinhb•12m ago•0 comments

The Poisoned Chalice

https://imgur.com/a/a6gKgjw
1•xkaymac•16m ago•0 comments

A world that remembers (8 bit AI game)

https://www.twitch.tv/genesisplanet
1•pro_methe5•18m ago•1 comments

CUDA Device Max Connections

https://leimao.github.io/blog/CUDA-Device-Max-Connections/
1•eigenBasis•18m ago•0 comments

Anthropic Is Building HAL 9000

https://j.jnord.workers.dev/articles/2026-09-27-anthropic-is-building-hal-9000
1•jtrn•20m ago•1 comments

Netflix Stratum Media Processing: Automated Container Right-Sizing

https://netflixtechblog.com/netflix-stratum-media-processing-automated-container-right-sizing-ddf...
1•violetta98•21m ago•0 comments

The Joys of Microadventures (2024)

https://www.noemamag.com/a-single-small-map-is-enough-for-a-lifetime/
1•Tomte•23m ago•0 comments

Tradition Is Smarter Than You Are (2018)

https://scholars-stage.org/tradition-is-smarter-than-you-are/
1•Tomte•23m ago•0 comments

Show HN: What about a no-SSH agentic access tool

https://getfda.dev/
1•laotree•29m ago•0 comments

'Things will never be chill again': The doomers who shaped AI safety freakout

https://www.msn.com/en-us/money/general/things-will-never-be-chill-again-the-doomers-who-shaped-t...
1•tolugenius•29m ago•0 comments

The World Needs Better Power Grids. Why Smaller May Be Better

https://www.nytimes.com/2026/09/25/business/power-grid-jonas-birgersson.html
1•thelastgallon•33m ago•0 comments

Anthropic's Secretive AI-Powered Wet Lab Breaks Cover and Makes First Discovery

https://www.the-scientist.com/anthropic-s-secretive-ai-powered-wet-lab-breaks-cover-and-makes-fir...
1•speerer•34m ago•0 comments

Show HN: Compliance Posture – free, searchable SaaS compliance directory

https://complianceposture.com/
1•godcrampy•35m ago•0 comments

Thieves Stole 'Nvidia' Trailers. They Got 20 Tons of Sand

https://www.wired.com/story/thieves-stole-nvidia-trailers-they-got-20-tons-of-sand/
1•joozio•36m ago•0 comments

Show HN: Llamora, a private journal that remembers with you

https://welcome.llamora.app/
1•anon1253•44m ago•1 comments

Fighting YouTube Addiction

https://buttondown.com/usaa.ma/archive/fighting-youtube-addiction/
1•usamasulaiman•47m ago•0 comments

From APIs to Languages: Generalising Method Names [using regular expressions]

https://blog.acolyer.org/2015/11/09/from-apis-to-languages-generalising-method-names/
1•ogogmad•53m ago•0 comments

How do you run System One decision models locally?

https://stackness.dev/blog/how-do-you-run-system-one-decision-models-locally-ollaya-laya-mlx-and-...
2•gosen•56m ago•0 comments

DeepSeek has 64% market share

https://twitter.com/gherget/status/2104155774910083275
3•gaborme•58m ago•0 comments

Sponsored-logs-rs: Open the Rust book: monetize the tracing exhaust

https://github.com/sponsoredlogs/sponsored-logs-rs
2•thunderbong•58m ago•0 comments

Show HN: Jev-windows-agent – Windows UI Automation back end for CUA agents

https://github.com/VBS2004/jev-windows-agent
2•VBS2004•1h ago•0 comments

Being Mentioned in AI Answers Is Not the Same as Being Recommended

https://cuescout.com/blog/mentioned-is-not-recommended
3•cuescout•1h ago•0 comments

SRE Udemy Course: Software Reliability Map

https://www.udemy.com/course/reliability-map/
2•Brixdes•1h ago•0 comments

Jempo by Thomas Ha

https://www.lightspeedmagazine.com/fiction/jempo/
2•Alien1Being•1h ago•0 comments

"As a Language Model": Chat Template Switches LLM Self-Referential Voice

https://arxiv.org/abs/2609.25021
28•yu3zhou4•1h ago•20 comments

Changes in quality of life: digital exercise therapy for knee/hip osteoarthritis

https://doi.org/10.1186/s12955-026-02634-5
3•chavasorani•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".