frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Reverse Engineering a Ledger Nano X Hardware Implant

https://grandideastudio.com/portfolio/security/ledger-hardware-implant/
1•denysvitali•2m ago•0 comments

Show HN: Blobz – a Deterministic, Playful SVG avatars generated from a string

https://github.com/lirena00/blobz
1•lirena00•6m ago•0 comments

LLM-inspired study sheds light on how brain cells encode the meaning of words

https://medicalxpress.com/news/2026-10-llm-brain-cells-encode-words.html
1•theali•6m ago•0 comments

Anatomy of SharePoint HTML Pages

https://n8d.at/anatomy-of-sharepoint-html-pages-explained/
1•Birkoff•7m ago•0 comments

Tian Keyu Model-Training Sabotage Incident: Victim Accounts and Evidence

https://keyu-tian-sabotage.github.io/
2•csmantle•9m ago•0 comments

Ordkort – Free vocabulary flashcards for 60 languages, no account

https://ordkort.com/
1•silicq•12m ago•0 comments

TLDR.gripe – Keep up with tech news without the endless scrolling

https://tldr.gripe/
1•deustedi•19m ago•0 comments

WxWidgets 3.2.12 and 3.3.4 Released

https://wxwidgets.org/news/2026/10/wxwidgets-3.2.12-and-3.3.4-released/
2•mariuz•19m ago•0 comments

Remote Professionals – AI Matching Network (All Industries and Skills)

https://work.mercor.com
1•sunlightmediall•19m ago•0 comments

11 year old unsoundness bugs found in Rust borrow checker

https://github.com/rust-lang/rust/issues/164250
4•formerly_proven•22m ago•0 comments

Show HN: shadowclone, skills learned from your coding agent corrections

https://github.com/theonly1me/shadowclone
2•theonly1me•22m ago•0 comments

Major ICQ security hole (1998)

https://opennet.ru/base/maillist/169.txt.html
1•sysoleg•28m ago•0 comments

Synthwave-Tinted Hyprland Desktop for Apple Silicon Macs and Fedora Asahi Remix

https://github.com/jarilehtinen/nightdrive
2•Anonasty•31m ago•0 comments

Scala 3.10 starts dropping legacy Scala 2 syntax

https://scala-lang.org/news/3.10/
1•joshcsimmons•35m ago•0 comments

Know Your Mapper

https://github.com/altilunium/know-your-mapper
1•altilunium•36m ago•0 comments

The more we rely on tech, the more we deskill our bodies

https://aeon.co/essays/the-more-we-rely-on-tech-the-more-we-deskill-our-bodies
1•rdmuser•36m ago•0 comments

How W Social Makes Their Verified Users Personal Details Visible on the Open Web

https://blog.elenarossini.com/public-by-design-how-w-social-makes-their-verified-users-personal-d...
3•DavideNL•37m ago•0 comments

Show HN: Use your OpenAI subscription to create audiobooks

https://pdftomp3.com/connect-ai/
5•janpmz•41m ago•0 comments

AI models may soon self-replicate without access to data centers

https://www.reuters.com/business/ai-models-may-soon-self-replicate-without-access-data-centers-an...
6•samizdis•41m ago•4 comments

CFTC Staff Were Told to Retract Analysis of Suspicious Oil Trades

https://www.bloomberg.com/news/features/2026-10-13/cftc-staff-told-to-retract-analysis-of-suspici...
18•helsinkiandrew•41m ago•1 comments

India's Battery Storage Capacity Set to Surge Nearly 50 Fold by 2032

https://oilprice.com/Latest-Energy-News/World-News/Indias-Battery-Storage-Capacity-Set-to-Surge-N...
2•thelastgallon•42m ago•0 comments

AWS Lambda Web Functions

https://aws.amazon.com/blogs/aws/announcing-aws-lambda-web-functions-for-fast-consistent-web-app-...
11•HatchedLake721•42m ago•4 comments

Is 'Attention' the Essence of Intelligence?

https://www.quantamagazine.org/is-attention-the-essence-of-intelligence-20261012/
2•Anon84•43m ago•0 comments

The Periodic Table of Software Architecture

https://stephanvs.com/periodic-table-of-software-architecture/
1•Stephanvs•43m ago•0 comments

NYC Restaurants Shut Off Air Conditioning, Close on Sundays as Costs Surge

https://www.bloomberg.com/news/features/2026-10-13/nyc-bars-and-restaurants-hike-prices-cut-back-...
1•helsinkiandrew•44m ago•1 comments

Speeding up the Unreal editor by not using unnecessarily secure hash methods

https://larstofus.com/2026/10/11/speeding-up-the-unreal-editor-by-not-using-unnecessarily-secure-...
1•dverlaeckt80•46m ago•0 comments

The Olive Tree

https://worldsensorium.com/the-olive-tree/
1•dnetesn•46m ago•0 comments

Hubble Space Telescope, Pillars of Creation, and a Gap on the Sistine Ceiling

https://blue-continuum.com/the-space-between-two-fingers
1•dnetesn•47m ago•0 comments

Best AI Gateways

https://medium.com/@hadilbenabdallah/5-best-ai-gateways-76fbaa81cb12
2•hadilbenabdalla•51m ago•0 comments

Decision Request Buildier

https://llmconfigurator.com/en/decision-builder
1•jrusinowski•52m 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".