frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Intelligence Cannot Be Trained?

1•hyperzzw•47s ago•0 comments

Semsei.io

https://www.semsei.io/en
1•andresdvelez•54s ago•0 comments

Wrote an Honest Comparison of Final Round AI vs. Pramp

https://portlumeai.com/blog/final-round-ai-vs-pramp-interview-prep-comparison
1•portlumeai•1m ago•0 comments

New Advances Bring the Era of Quantum Computers Closer

https://www.quantamagazine.org/new-advances-bring-the-era-of-quantum-computers-closer-than-ever-2...
1•Brajeshwar•1m ago•0 comments

Show HN: Tokencap – Token budget enforcement across your AI agents

https://github.com/pykul/tokencap
1•pykul•2m ago•0 comments

No One at Waffle House Remembers FEMA Official Who Says He Teleported In

https://www.nytimes.com/2026/04/03/us/fema-gregg-phillips-waffle-house-teleportation.html
1•planewave•3m ago•0 comments

Using model-agnostic agentic annotation tools on locally stored files

https://old.reddit.com/r/LLMDevs/comments/1sbusn8/new_pdfviewer_notes_panel_search_downloader_tool/
2•ieuanking•7m ago•0 comments

Slop is content without grounding

https://grady.io/slop-is-content-without-grounding/
2•gradys•7m ago•0 comments

Whoop Sues Bevel

https://xcancel.com/greyngyen/status/2040100105336799659
1•etothet•9m ago•0 comments

EmDash, cloudflare’s Wordpress Killer.

https://emdashcms.com/playground
2•janandonly•13m ago•1 comments

Metabolic Response to 12-3-30 Treadmill Workout vs. Self-Paced Treadmill Running

https://digitalcommons.wku.edu/ijes/vol18/iss6/1/
2•bookofjoe•13m ago•0 comments

Caveman Mode Save Token?

https://twitter.com/om_patel5/status/2040279104885314001
3•brightball•18m ago•2 comments

My 11-step GraphRAG pipeline, what worked, and what's still broken

1•pauliusztin•21m ago•0 comments

A diary of an agentic retro-gamer – Part 1

https://keanw.com/2026/03/a-diary-of-an-agentic-retro-gamer-part-1.html
1•throwaway_2494•21m ago•0 comments

Absurd In Production

https://lucumr.pocoo.org/2026/4/4/absurd-in-production/
1•ingve•21m ago•0 comments

Post-quantum blockchain QRL has passed its fourth audit

https://www.theqrl.org/press/halborn-audit-validates-qrls-postquantum-cryptography-library/
1•munrocket•21m ago•0 comments

Trying for 1 month but can't learn pixel art still

4•limondas•22m ago•0 comments

Ask HN: What Are You Working On? (April 2026)

3•subdomain•23m ago•0 comments

AI Is Rewiring India's Film Industry

https://www.reuters.com/technology/ai-is-rewiring-worlds-most-prolific-film-industry-2026-04-04/
2•alephnerd•23m ago•0 comments

The ICEBlock App Has Helped People Avoid Immigration Agents. Is It Legal?

https://www.newyorker.com/news/the-lede/the-rise-and-fall-of-ice-tracking-apps
2•janandonly•25m ago•0 comments

An AI agent called every pub in Ireland to index the cost of a Guinness

https://guinndex.ai
2•sarusso•26m ago•0 comments

Show HN: Hacker News RSS Feed Directory

https://huggingface.co/datasets/open-index/hacker-news-rss
2•tamnd•27m ago•0 comments

Show HN: Content Negotiation in PHP – API Without API (Symfony, Laravel, Temma)

https://old.reddit.com/r/PHP/comments/1sc8ste/content_negotiation_in_php_your_website_is/
2•amaury_bouchard•30m ago•0 comments

DeepSeek's V4 model will run on Huawei chips

https://www.reuters.com/world/china/deepseeks-v4-model-will-run-huawei-chips-information-reports-...
2•wg0•33m ago•0 comments

Activating Two Trap Cards at Once

https://gist.github.com/MostAwesomeDude/560185c24f959f6fec229739cb5a6735
2•mpweiher•34m ago•0 comments

The science behind Japan's perfectly crafted vending machine drinks

https://monocle.com/design/at-your-convenience-2/
1•austinallegro•34m ago•0 comments

Impact of screen size on cognitive training task performance: An HMD study

https://www.sciencedirect.com/science/article/abs/pii/S0167876021001835
2•FrojoS•37m ago•0 comments

Tab Cemetery – the first graveyard for browser tabs

https://chromewebstore.google.com/detail/tab-cemetery/mdnkgcefilpflenkmfoghookblcnleea
2•Patlakh•41m ago•1 comments

YouTube's auto-dubbing rewrites meaning of sentences

https://blog.unstacked.cc/posts/when-translation-becomes-interpretation/
2•unstacked•46m ago•2 comments

Fooling Go's X.509 Certificate Verification

https://danielmangum.com/posts/fooling-go-x509-certificate-verification/
2•hasheddan•48m 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•11mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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