frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Four papers on Weil's RH proof for Spec Z, closed by Alpoge's Lean result

https://github.com/dtrejopizzo/riemann
1•dtrejopizzo•1m ago•0 comments

One terminal command gave my forgotten Android device a desk job

https://arstechnica.com/gadgets/2026/11/one-terminal-command-gave-my-forgotten-android-device-a-d...
2•PaulHoule•2m ago•0 comments

Taking Google's Rambler dictation out of Gboard

https://tomvaucourt.com/posts/burble/
1•T0mSIlver•5m ago•0 comments

Attention Latent Feedback

https://xjxyys.github.io/attention-latent-feedback/
1•E-Reverance•6m ago•0 comments

Pentagon in Talks with GM and Ford to Make Military Drones

https://www.wsj.com/politics/national-security/ford-general-motors-military-drones-c082d202
2•bookofjoe•8m ago•1 comments

Latwerg

https://nik.art/latwerg/
1•herbertl•11m ago•0 comments

Tono is an unofficial Rex client for (Omarchy) Linux

https://twitter.com/masegraye/status/2123123387421860236
1•mgdev•11m ago•1 comments

Designing a Reliable Unplanned Failover

https://planetscale.com/blog/designing-a-reliable-unplanned-failover
1•hollylawly•12m ago•0 comments

Eddie Slovik

https://en.wikipedia.org/wiki/Eddie_Slovik
2•olalonde•13m ago•0 comments

Show HN: Byname – open-source tool to see when AI assistants name your product

https://byname.dev/
1•jamesperkins•13m ago•0 comments

Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis

https://philpapers.org/rec/NIEIOT-2
5•FacZap•19m ago•0 comments

Show HN: Bifrost hit 10k stars on GitHub

https://github.com/maximhq/bifrost
1•aanthonymax•20m ago•0 comments

Interpretable morphology-based marked statistics

https://arxiv.org/abs/2611.31167
1•simonebrunozzi•20m ago•0 comments

Napkin Simulator

https://chuanqisun.github.io/napkin/
1•low_tech_punk•21m ago•1 comments

Shipping a Rust game on 8 platforms in 55 days

https://saltedcaramelgames.com/blog/loot-hole-rust-threejs-wgpu/
1•VoxelBoy•22m ago•0 comments

Show HN: See how a PCB via stub changes signal loss

https://impedora.com/
1•jorgeto•23m ago•0 comments

Show HN: Detecting slop at comparable accuracy as Pangram with 10mb of data

https://slopcheck.io/vs/pangram
1•SebastianSosa•24m ago•0 comments

Tokens Please

https://tokensplease.authnopuz.xyz/
1•mooreds•24m ago•0 comments

Top MIT Physicist: Anthropic Staff Openly Talk About 'Taking over the World'

https://novaramedia.com/2026/11/24/anthropic-staff-openly-talk-about-taking-over-the-world-claims...
3•mikhael•24m ago•0 comments

Show HN: AI Usage Menu, Claude Code and Codex limits in your Mac menu bar

https://github.com/navbuildz/ai-usage-menu
1•navdeepraj•26m ago•0 comments

NY Times banning photographers from using latest version of Photoshop

https://www.threads.com/@peterbaker/post/DgHHIz1FRpO
3•nonfamous•27m ago•1 comments

Microsoft declares 'Code Red' after historic outage, internal memos show

https://www.reuters.com/business/microsoft-declares-code-red-after-historic-outage-internal-memos...
6•thm•27m ago•4 comments

Agent Gadgets

https://benjamincongdon.me/blog/2026/11/23/Agent-Gadgets/
1•emschwartz•28m ago•0 comments

Modern Motherfucking Plaintext

https://dreamstation.systems/Modern%20Motherfucking%20Plaintext.txt
2•robinpie•29m ago•0 comments

The notion of 'positive masculinity' is dividing the male studies field

https://www.sciencenews.org/article/positive-masculinity-male-studies-field
2•PaulHoule•30m ago•0 comments

AI coding agent lacks context

https://leaddev.com/ai/your-ai-coding-agent-lacks-context
1•theanonymousone•31m ago•0 comments

Show HN: Kept, a local-first habit tracker

1•pvinis•31m ago•0 comments

Shop answers customers by itself,local LLM, no hosting, tunnel, tg and wa

https://ownshopai.store/
1•muthuishere•31m ago•0 comments

For workplace culture champions, Jensen Huang's return is 'unfathomable'

https://www.npr.org/2026/11/24/nx-s1-6051583/nvidia-huang-dei-trump-women
6•blinding-streak•32m ago•0 comments

Why the Wireless Voyager Exists

https://blog.zsa.io/why-wireless-now/?mc_cid=ce248cd2eb&mc_eid=2d32d63962
2•JLO64•32m 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".