frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open-source tax rules for 100 countries that your LLM can use

https://github.com/openaccountants/openaccountants
1•MichaelCutajar•7s ago•0 comments

Offline-first payment protocol with adaptive Byzantine consensus (3f+1 → 1f+1)

https://github.com/masondosibongakonke2-blip/yodpay-core
1•sbongamasondo•44s ago•0 comments

Gaza changed Europe, exposing cracks that grow bigger by the week

https://www.theguardian.com/commentisfree/2026/oct/15/how-gaza-changed-europe-exposing-cracks-tha...
1•hebelehubele•3m ago•0 comments

We're sunsetting Codeberg Pages v2

https://blog.codeberg.org/migrate-your-site-to-the-new-git-pages-backed-codeberg-pages-now-were-s...
1•classified•7m ago•0 comments

China proposes export controls on its advanced AI models and chip designs

https://thenextweb.com/news/china-ai-export-controls-draft
1•poszlem•8m ago•0 comments

Ask HN: Why people keep posting AI-generated projects around the Internet?

3•Eliah_Lakhin•9m ago•1 comments

Meta updates data scraping policy following criticism

https://www.mercurynews.com/2026/10/16/meta-updates-data-scraping-policy-following-criticism/
1•rdmuser•11m ago•0 comments

Sudoku solved in 3 line of plain code [video]

https://www.youtube.com/watch?v=UBFWS6_Hrmc
1•thatslast•14m ago•0 comments

Show HN: Benchmarking LLM ability to code in an adversarial language

https://bench.killswitch-lang.org/
1•dom96•16m ago•1 comments

Show HN: Epoptes – Run Claude Code and Codex for hours with human oversight

https://github.com/ramigb/epoptes
1•ramigb•18m ago•0 comments

One Parser, Two Bugs, Many Routers: Exploiting Broadcom WiFi Across ECos, Linux

https://quentinkaiser.be/security/2026/10/16/one-parser-two-bugs/
3•tosh•21m ago•0 comments

Marble Drop (1997) – In Browser

https://marble-drop.pages.dev/
2•vincheezel•22m ago•0 comments

Shadow-debugger – Background LLM error diagnosis for Python and FastAPI

https://github.com/GaspareDev/shadow-debugger
1•GaspareDev•26m ago•0 comments

Show HN: Open-Source BitTorrent Client for macOS That Looks Nice

https://github.com/kronzhq/torrie
1•sss007r•28m ago•0 comments

Needle: Search Engine Benchmark for Agents

https://keenableai.github.io/needle/
1•atgctg•38m ago•0 comments

Free software engineering: Grok Bot and OpenCode

https://x.ai/bot/P3nFV22Z9JijoDHNWbTwf
1•massimodeluisa•44m ago•2 comments

A2O Lite NEON Dance: Two photos into a 15-second dance duet

https://a2oliteneondance.com/
1•visiohex•48m ago•0 comments

Deezer Will Let Listeners Filter Out AI Music

https://www.engadget.com/2286898/deezer-will-let-listeners-completely-filter-out-ai-music/
2•rdmuser•50m ago•0 comments

Why CoreWeave is in the crosshairs of the AI scare

https://www.reuters.com/legal/transactional/why-coreweave-is-crosshairs-ai-scare-2026-10-16/
2•giuliomagnifico•52m ago•0 comments

Rhode Island Red

https://en.wikipedia.org/wiki/Rhode_Island_Red
1•Bluestein•53m ago•0 comments

Weak Links Start to Show in A.I. Borrowing

https://www.nytimes.com/2026/10/17/business/ai-debt-coreweave-oracle-softbank.html
2•rdmuser•54m ago•0 comments

Show HN: Risphai – picks the AI model, tools and prompt for each request

https://risphai.com
1•risphere•57m ago•2 comments

Hug Machine

https://en.wikipedia.org/wiki/Hug_machine
2•joebig•1h ago•0 comments

Petal: Building the First Petabit-Class Transoceanic Subsea Cable

https://engineering.fb.com/2026/09/21/connectivity/petal-petabit-transoceanic-subsea-cable/
1•giuliomagnifico•1h ago•0 comments

Friction: What have we been reducing?

https://juun.vercel.app/en/blog/16
1•juun_roh•1h ago•0 comments

The Universe as a Test Harness: Meat AI and God's Admin Panel

https://rebecca-powell.com/posts/meat-ai-universe-test-harness/
2•rebeccapowell•1h ago•0 comments

Two Mac apps, 69 sales, $530 in 23 days: where the buyers came from

https://shedi.app
2•otabekabdiraimo•1h ago•1 comments

Show HN: MyBox, Personal Digital Box

https://mybox.id
2•sonyarianto•1h ago•1 comments

Nvidia RTX Spark N1X Launch Overview: Nvidia Arms Windows

https://www.servethehome.com/nvidia-rtx-spark-n1x-launch-overview-nvidia-arms-windows/
4•ksec•1h ago•0 comments

Diego Poncelet sets downhill skateboarding world record at 151.83 km/h

https://www.redbull.com/ca-en/diego-poncelet-downhill-skateboard-world-record
4•cisc•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".