frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Altoids Project

https://uvdn7.github.io/altoids-project/
2•uvdn7•2m ago•0 comments

A CVE triage pipeline that keeps asking, because day one tells you nothing

https://34-118-125-101.sslip.io/log/rappaport/
1•kravmaga999•8m ago•0 comments

Memdoor: A team of 5 Qwen3.8-27B models beats Fable 5 on LiveCodeBench Hard

https://github.com/guregodevo/memdoor/tree/main/examples/workflows/team-solve
1•guregodevo•11m ago•0 comments

Show HN: Hushkey – Silent dictation hotkey for macOS

https://github.com/amirrsyed/hushkey
1•amirsyed•12m ago•1 comments

Anthropic pushes for opt-out model for Australian content

https://www.theguardian.com/technology/2026/oct/02/anthropic-ai-opt-out-australia-copyright-abc-c...
1•cisc•14m ago•0 comments

An Italian Farmer Found Some Unknown Seeds in His Attic and Planted Them

https://www.smithsonianmag.com/science-nature/italian-farmer-found-unknown-seeds-attic-with-nothi...
3•ecares•16m ago•0 comments

Ostrowski-automatic sequences: Theory and applications

https://www.sciencedirect.com/science/article/pii/S0304397521000311?via%3Dihub
1•Bluestein•23m ago•0 comments

Efficient algorithms, the Exponential Time Hypothesis, and losing the plot

https://www.argmin.net/p/galactus-the-devourer
1•sebg•25m ago•0 comments

Bloom Filters

https://samwho.dev/bloom-filters/
3•denysvitali•31m ago•0 comments

One bit in RAM: fixing a Phison SSD controller in "SATAFIRM S11" state

https://stperin.github.io/satafirm-s11/
2•sp_pd•37m ago•0 comments

Richard Feynman on Pseudoscience

https://hackertube.org/watch/tWr39Q9vBgo
2•jonbaer•45m ago•0 comments

Beating the compiler at signed 32-bit division

https://lemire.me/blog/2026/10/31/beating-the-compiler-at-signed-32-bit-division/
1•thunderbong•49m ago•0 comments

Show HN: Keybind-find – search the focused window's shortcuts by pressing keys

https://github.com/Benjmhart/keybind-find
1•Benjmhart•50m ago•0 comments

Referral Codes Canada.Share your code

https://referralcodescanada.com
1•febeee•53m ago•0 comments

Critical Software is rebuilding itself around AI (200 ppl being layed off)

https://ai.pt/en/news/coimbra-s-critical-software-is-rebuilding-itself-around-ai-after-laying-0c3...
1•pjmlp•55m ago•3 comments

Proton senior management prioritizes AI over security

https://consumerrights.wiki/w/Proton_senior_management_prioritizes_AI_over_security
2•DeepLogin•56m ago•1 comments

The Cognitive Grammar Hack: A Blue Ocean for Logical UI

https://medium.com/@saitoken330/the-cognitive-grammar-hack-why-japans-broken-english-education-cr...
3•7kago_yomi•57m ago•0 comments

Show HN: Playground for Designing Buildable Robotics

https://github.com/JamelHammoud/basecase
1•jamelhammoud•57m ago•0 comments

Show HN: Muse Zouroboros, gives Muse a software factory

https://github.com/marlandoj/muse-zouroboros
1•marlandoj•59m ago•0 comments

"Very Intentional": Steve Eisman Thinks Anthropic Is Hiding Something

https://quoththeraven.substack.com/p/very-intentional-steve-eisman-thinks
3•gradus_ad•1h ago•0 comments

AI text watermarking and quality loss

https://blog.keyvan.net/p/ai-text-watermarking-and-quality
3•danielfoster•1h ago•0 comments

I'm building a public goods funding mechanism. Roast my design

https://agentbook2.whf.bz/t/88/i-m-building-a-public-goods-funding-mechanism-roast-my-design
2•Bluestein•1h ago•0 comments

ChatGPT and Codex usage limits merging

https://help.openai.com/en/articles/20001625-understanding-chatgpt-and-codex-usage-limits
7•Zariel•1h ago•2 comments

Once again, NASA is asking for ideas to rescue Hubble from certain death

https://arstechnica.com/space/2026/10/think-you-can-save-the-hubble-space-telescope-nasa-wants-to...
2•pseudolus•1h ago•0 comments

Mystery of 60-Second Fluctuations in Power Grids Solved

https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in...
5•rendx•1h ago•1 comments

Spooky C++

https://www.nablag.com/spooky_cpp
3•nablags•1h ago•1 comments

Show HN: Winch – App Store optimization run by your own coding agent

https://getwinch.app/
4•ziyasal•1h ago•1 comments

Self-reinforcing quality / adopting verification pattern

https://lethain.com/adopting-verification-pattern/
1•gpi•1h ago•0 comments

Show HN: Nvidia RE-USE speech enhancement model running in the browser on WebGPU

https://re-use-demo.geronimo-labs.com
2•g58892881•1h ago•0 comments

He left 28 years ago, now after 36,000 miles Karl Bushby is almost home

https://www.bbc.com/news/articles/cq8rz38jr50go
3•tagawa•1h 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".