frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Five Results on Open Quantum Problems

https://psi.inc/research/oqp-batch-2026/
1•guybedo•1m ago•0 comments

Translating the Translator with the Translated Translator

https://nomlang.org/post/post.7.feb.2025.html
1•mjbq•3m ago•0 comments

AI and the Rise of Cognitive Overload

https://www.psychologytoday.com/us/blog/the-mindful-epidemiologist/202603/ai-and-the-rise-of-cogn...
1•abixb•4m ago•0 comments

AI Science vs. Human Science

https://lacuna.tiptreesystems.com/paper/ai-science-vs-human-science/art_3901430d6c0e4bddb28436210...
1•martincsweiss•7m ago•0 comments

Knowledge graphs could help orgs respond to new laws

https://lexifina.com/blog/knowledge-graphs-update-firms-for-new-laws
1•alansaber•7m ago•0 comments

ICE wants robot dogs. Boston Dynamics' workers urge company to 'cancel the sale'

https://www.wbur.org/news/2026/10/23/boston-dynamics-employees-petition-dhs
4•greyface-•8m ago•0 comments

Gamerscore

https://systemdrift.neocities.org/blog/on-gamerscore
1•myrrhman•10m ago•0 comments

How the 'math wars' in Palo Alto reflect a raging nationwide debate

https://www.sfchronicle.com/bayarea/article/math-class-palo-alto-school-district-22478798.php
2•randycupertino•18m ago•1 comments

LiDAR Lens: web viewer for 1M Lidar terrain across England and Wales

https://lidarlens.sarsen.org
1•winterswift•20m ago•0 comments

Chinese research vessels loiter near undersea cables more than any other nation

https://www.tomshardware.com/tech-industry/chinese-research-vessels-loiter-near-pacific-undersea-...
3•beansovertoast•23m ago•0 comments

The 'Buy, Borrow and Die' Wealth Strategy Has Become a $5T Market

https://www.wsj.com/finance/the-buy-borrow-and-die-wealth-strategy-has-become-a-5-trillion-market...
3•tysone•28m ago•0 comments

Accessory dwelling unit ruling could be a boon to California builders

https://www.sfchronicle.com/politics/article/adu-ruling-boon-california-builders-22495410.php
1•littlexsparkee•31m ago•0 comments

Show HN: An MCP server that writes and sings songs in 76 languages

https://www.songupai.com/mcp-server
1•rakim777•33m ago•0 comments

How Australia Built World’s Biggest Battery-Powered Ferry

https://www.bloomberg.com/news/features/2026-10-26/an-83-year-old-shipbuilder-is-delivering-era-o...
3•toomuchtodo•36m ago•1 comments

OpenXR Spatial Container Extensions Standardize Volumetric App Multitasking

https://www.uploadvr.com/openxr-spatial-container-extensions-standardize-volumetric-app-multitask...
2•andsoitis•37m ago•0 comments

What to do if you discover AI models trained using your copywrighted book?

6•andrea81•39m ago•4 comments

These Neurons Control Territorial Claims

https://edwardbenson.com/tinkering/neuron-explorer
1•eob•40m ago•0 comments

GLM-5.3 Sometimes Considers How Train-Time Actions Shape Future Behavior

https://www.lesswrong.com/posts/R5g8YT25G9DXJJ48n/glm-5-3-sometimes-considers-how-train-time-acti...
2•eatitraw•41m ago•0 comments

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

https://github.com/otya128/winevdm
11•doener•43m ago•1 comments

Do you want to keep your job? Stop feeding AI models

3•andrea81•44m ago•3 comments

Initial Support for the Apple M4 and Apple A18 Pro Make It into Linux 7.4

https://www.phoronix.com/news/Linux-7.4-SoCs
5•doener•45m ago•0 comments

Show HN: Libtmux-ts 0.1 – tmux library for Node.js, TypeScript, bun

https://github.com/libtmux/libtmux-ts
1•tony•48m ago•0 comments

AMA – "Final Fantasy: The Spirits Within", milestone in CGI, is 25 years old

https://old.reddit.com/r/FinalFantasy/comments/1xgd2qy/ama_final_fantasy_the_spirits_within_miles...
2•kaveh808•48m ago•0 comments

Engineering Explained: I Fact-Checked Every Stunt in the Tesla Roadster Reveal [video]

https://www.youtube.com/watch?v=hJSbro3EBnY
2•lathiat•50m ago•3 comments

Let your agent talk to mine

https://blog.danielbrain.ai/let-your-agent-talk-to-mine
1•bluepnume•50m ago•0 comments

AI wasn't overhyped. Almost everyone underestimated it

https://benjamintodd.substack.com/p/almost-every-ai-forecast-of-the-last
2•gmays•51m ago•1 comments

Show HN: Sparta – A $799 starting point before Vanta

https://marathon.sh/sparta
1•shotgunsparkle•54m ago•1 comments

Show HN: Torsher – a self-hosted, TV-first media center in one container

https://github.com/torsher-app/torsher
1•antonreshetov•57m ago•0 comments

The "let-it-rip" camp is wrong on AI

https://economist.com/by-invitation/2026/10/26/the-let-it-rip-camp-is-wrong-on-ai
1•andsoitis•58m ago•1 comments

Show HN: Marlow – Build full-stack apps with AI and own your code

https://marlow.app/beta
1•kristapsmarlow•58m ago•1 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".