frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Lessons on Building MCP Servers

https://taoofmac.com/space/blog/2026/04/29/2341
1•gmays•1m ago•0 comments

StarFighter 16-Inch

https://us.starlabs.systems/pages/starfighter
1•signa11•1m ago•0 comments

Security Engineering Is a Context Problem

https://aseemshrey.in/blog/security-engineering-is-a-context-problem/
1•LuD1161•3m ago•0 comments

Show HN: Library to make your own Windows program launcher (like dmenu)

https://github.com/cristeigabriela/wintheon
1•gabriela_c•7m ago•0 comments

Google is building an AI agent that could be its answer to OpenClaw

https://www.businessinsider.com/google-ai-agent-openclaw-remy-gemini-assistant-2026-5
2•droidjj•9m ago•0 comments

FFmpeg developer calls out OxideAV for AI license laundering of his code

https://github.com/OxideAV/oxideav-magicyuv/issues/3
2•dmitrygr•14m ago•0 comments

Telus using AI to alter the accents of customer service agents

https://www.theglobeandmail.com/business/article-telus-ai-accents-customer-service-agents/
2•gnabgib•14m ago•0 comments

R2-D2 Monitor – TUI for Windows Administrators

https://github.com/Victxrlarixs/r2d2-monitor
2•unixero•18m ago•0 comments

"More transgender people committed homicide than were victims" in Britain

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6182901
4•rdevilla•19m ago•0 comments

HN: GapMap – A quantitative index of knowledge gaps between Wikipedias

https://www.gapmap.wiki/
2•mucho_mango•20m ago•0 comments

OpenAI delivers low-latency voice AI at scale

https://www.google.com/
3•midoxbe•21m ago•0 comments

Show HN: How I Separate Signal from Noise in the AI Firehose

https://laxmena.com/how-i-separate-signal-from-noise-in-the-ai-firehose
3•laxmena•21m ago•0 comments

Simpler JVM Project Setup with Mill

https://mill-build.org/blog/17-simpler-jvm-mill-110.html
2•lihaoyi•23m ago•0 comments

Telus Uses AI to Alter Call-Agent Accents

https://letsdatascience.com/news/telus-uses-ai-to-alter-call-agent-accents-a3868f63
5•debo_•26m ago•1 comments

Dawkins, Claude and the Myth of Consciousness in Artificial Intelligence

https://www.lucasaguiar.xyz/posts/dawkins-claude-consciencia-ia/
3•isfttr•31m ago•0 comments

Ask HN: Ten Yrs from now, when only AI codes, what's the stack?

3•jpcapdevila•32m ago•1 comments

Programming in 2026: excitement, dread, and the coming wave

https://amontalenti.com/2026/04/23/excitement-and-dread
3•blenderob•32m ago•0 comments

Store Tags After Payloads

https://www.scattered-thoughts.net/writing/store-tags-after-payloads/
3•blenderob•36m ago•0 comments

Show HN: Docx-CLI – let agents edit your Word files safely

https://github.com/kklimuk/docx-cli
3•kirillklimuk•38m ago•0 comments

Show HN: Zift – find authorization logic in your code

https://github.com/enforceauth/zift
3•boorad•41m ago•0 comments

RAG retrieves the refutation and still gets it wrong

https://reyes.id.au/posts/anchor-catching-the-failure-mode-where-rag-retrieves-the-refutation-and...
3•aeyer•43m ago•0 comments

Sendapi.co – One API for WhatsApp, SMS, and Email

https://sendapi.co/
3•nimana•45m ago•0 comments

Why some mathematicians think we should abandon pi

https://www.scientificamerican.com/article/why-some-mathematicians-think-we-should-abandon-pi/
2•raihankr•45m ago•0 comments

LaDiR: Latent Diffusion Enhances LLMs for Text Reasoning

https://machinelearning.apple.com/research/ladir
3•gmays•48m ago•0 comments

YouTube, your RSS feeds are broken

https://openrss.org/blog/youtube-your-feeds-are-broken
3•veeti•49m ago•0 comments

AI and That Guy at the Bar

https://dotart.blog/cobbles/ai-and-that-guy-at-the-bar
2•speckx•52m ago•0 comments

Copy.fail: a small Linux kernel bug with an unusually big blast radius

https://jorijn.com/en/blog/copy-fail-cve-2026-31431-linux-kernel-bug-explained/
2•tjek•52m ago•1 comments

Peter Thiel backs $1B ocean data centre startup powered by waves

https://www.ft.com/content/711ce313-16fb-4a12-b6be-fbed547c8a39
3•tjek•55m ago•1 comments

Startup Ignites First Fusion Rocket

https://gizmodo.com/startup-successfully-ignites-worlds-first-fusion-rocket-2000738506
3•airstrike•1h ago•1 comments

Folie à Deux: The most dangerous hallucination is one you're inclined to believe

https://thebookofluke.com/p/folie-a-deux
3•doginasuit•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".