frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Smuggled North Korean phones reveal a dark reality

https://m.economictimes.com/magazines/panache/smuggled-north-korean-phones-reveal-5-chilling-feat...
1•gscott•5m ago•0 comments

Favourite influencer hasn't got a dozen dachshund dogs. It's just AI

https://www.bbc.co.uk/news/articles/c7vm5d42r8mo
1•spzb•6m ago•0 comments

Room temperature carbon capture in graphene

https://www.nature.com/articles/s41467-025-65336-4
1•bookofjoe•7m ago•0 comments

Underground AI models promise to be hackers 'cyber pentesting waifu'

https://cyberscoop.com/malicious-llm-tools-cybercrime-wormgpt-kawaiigpt/
1•thm•8m ago•0 comments

Show HN: Traffic, funding rounds, and chai – Bangalore startup life as a game

https://xagi-labs.github.io/siliconhalli
1•sauravt•12m ago•0 comments

What to Do When Creating Your CodeQL Database Fails – and How to Report the Per

https://intrigus.org/research/2025/11/28/what-to-do-when-codeql-database-creation-fails/
1•todsacerdoti•13m ago•0 comments

Show HN: Lightweight macOS menu bar Pomodoro Timer

https://github.com/berkaycit/pomodo-timer
1•berkaycit•15m ago•0 comments

The Biggest Causes of Medical Device Recalls

https://spectrum.ieee.org/medical-device-recalls
2•quapster•15m ago•0 comments

Tell HN: Telegram App iOS Woes

1•op7•17m ago•0 comments

U.S. peace plan for Ukraine formulated months ago by Kremlin operative

https://theins.ru/en/politics/287159
1•ironyman•19m ago•0 comments

Show HN: Self-hosted RAG for docs and code (FastAPI, Docling, ChromaDB)

https://github.com/2dogsandanerd/Knowledge-Base-Self-Hosting-Kit
1•2dogsanerd•24m ago•1 comments

MasonEffect – Particle-based text morphing library (now supports Svelte)

1•fe-hyunsu•24m ago•0 comments

Taking Jaggedness Seriously

https://helentoner.substack.com/p/taking-jaggedness-seriously
1•imjacobclark•25m ago•0 comments

It Is Possible to Spend Too Much on AI

https://www.wsj.com/tech/it-really-is-possible-to-spend-too-much-on-ai-7bb68df1
2•1vuio0pswjnm7•27m ago•0 comments

The Battle over Africa's Great Untapped Resource: IP Addresses

https://www.wsj.com/business/telecom/africa-ip-addresses-china-3e543b9d
3•watchdogtimer•28m ago•0 comments

Is Linus Torvalds GitHub Account Hacked?

1•meel-hd•28m ago•2 comments

Statin-independent association between low LDL and risk of T2 diabetes

https://link.springer.com/article/10.1186/s12933-025-02964-6
1•guerby•29m ago•1 comments

(2018) How I created a database of all interesting Rush Hour configurations

https://www.michaelfogleman.com/rush/
1•xeonmc•30m ago•0 comments

Moodfx v1.0 IS LIVEAs a 19yo I think I just killed every $200/mo AI suite

https://moodfx-859986050194.us-west1.run.app/
1•Iam_Moody•32m ago•1 comments

Riding the autism bicycle to retraction town

https://nobreakthroughs.substack.com/p/riding-the-autism-bicycle-to-retraction
2•OgsyedIE•33m ago•0 comments

A brief history of NSA backdoors. (2013)

https://www.ethanheilman.com/x/12/index.html
3•fanf2•34m ago•0 comments

Soul Over AI – list of AI generated bands

https://souloverai.com/
1•starquake•35m ago•0 comments

Show HN: Slash commands to enforce collaborative AI workflows (Cursor/Claude)

https://github.com/markekvall/ai-workflow-hub
1•markekvall•35m ago•1 comments

A new look at an old dog: Bonn-Oberkassel reconsidered

https://www.sciencedirect.com/science/article/abs/pii/S0305440318300049
1•thunderbong•37m ago•0 comments

What Happens When Everyone Lives in Their Own Digital Reality?

https://twitter.com/SRKDAN/status/1994728281514676560
1•SRKD•42m ago•1 comments

Show HN: Bookmark Bar – Browser Hub (Open Any Bookmark in Any Browser on macOS)

https://apps.apple.com/us/app/bookmark-bar-browser-hub/id6755682496?mt=12
1•8mobile•47m ago•0 comments

Chainalysis Successful Deanonymization Attack on Monero

https://darkwebinformer.com/chainalysis-successful-deanonymization-attack-on-monero-2/
2•Anon84•49m ago•0 comments

The CRDT Dictionary: A Field Guide to Conflict-Free Replicated Data Types

https://www.iankduncan.com/engineering/2025-11-27-crdt-dictionary/
2•birdculture•50m ago•0 comments

You probably shouldn't block AI bots from your website

https://chronicles.mad-scientist.club/tales/you-probably-shouldnt-block-ai-bots-from-your-website/
2•smartmic•52m ago•0 comments

Langjam Gamejam: build a programming language and then make a game using it

https://langjamgamejam.com/
3•ingve•55m 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•7mo ago

Comments

epmatsw•7mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•7mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•6mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•7mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•7mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•7mo 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•7mo 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•7mo 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•7mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•7mo 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•7mo 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•7mo 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•7mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•7mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•7mo ago
Both are essential.
realaleris149•7mo ago
There are other commands?
incomplete•7mo 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•6mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•6mo ago
It missed "git switch" and "git restore".