frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Building Sandboxes for Computer Use

https://www.tensorlake.ai/blog/building-sandboxes-for-computer-use
1•gk1•1m ago•0 comments

Why the Worst People Always Get to the Top [video]

https://www.youtube.com/watch?v=e_AJ2qrftlU
1•joe_mamba•2m ago•0 comments

Growing Engineers in the Age of AI

https://jasonrobert.dev/blog/2026-04-17-growing-engineers-in-the-age-of-ai/
1•cebert•3m ago•0 comments

Global Network of Discovery

https://www.gnod.com/
1•saikatsg•3m ago•0 comments

Nick Pope, UFO Sleuth Who Chased the Truth, Dies at 60

https://www.nytimes.com/2026/04/28/science/nick-pope-dead.html
1•paulpauper•5m ago•0 comments

#242 – Will MacAskill on why AI character matters more than you think

https://80000hours.org/podcast/episodes/will-macaskill-ai-character-viatopia/
1•paulpauper•5m ago•0 comments

Fossil – A Coherent Software Configuration Management System

https://fossil-scm.org/home/doc/trunk/www/index.wiki
1•matthiaswh•6m ago•0 comments

Historic Tennessee Hotel Is Also Home to the Greatest Duck Tradition (2016)

https://www.audubon.org/magazine/tennessees-most-historic-hotel-also-home-greatest-duck-tradition
1•NaOH•6m ago•0 comments

Sourcehut – The Hacker's Forge

https://sourcehut.org
1•matthiaswh•7m ago•0 comments

Google Global Outage (2020)

https://onlytech.boo/incident/google-global-outage-2020-mnn0ba2h
1•vednig•8m ago•0 comments

Incompressible Knowledge Probes: Measuring Frontier LLM Sizes

https://01.me/research/ikp/
1•kschaul•9m ago•0 comments

SamOeurnME

https://blog.cloudflare.com/agents-stripe-projects/
1•SamOeurnME•10m ago•0 comments

Jeffrey Epstein Encouraged Peter Thiel's Political Journey

https://jacobin.com/2026/04/epstein-thiel-tech-finance-trump
3•frm88•11m ago•1 comments

Fast VPS ≠ reliable: we tested 24/7 workloads – consistency beat peak speed

https://webbynode.com/articles/vps-agent-workloads-consistency-vs-speed
1•gsgreen•11m ago•0 comments

Platform Engineer (Security), DevSecOps Engineer and Full-Stack Product Engineer

1•DevUp•11m ago•0 comments

Polycrisis

https://en.wikipedia.org/wiki/Polycrisis
1•consumer451•12m ago•0 comments

I Had Near 100% Test Coverage. It Didn't Matter

https://blog.reqproof.com/p/i-had-near-100-test-coverage-it-didnt
1•LeonidBugaev•14m ago•0 comments

Australia moves to tax Meta, Google and TikTok to fund newsrooms

https://halifax.citynews.ca/2026/04/28/australia-moves-to-tax-meta-google-and-tiktok-to-fund-news...
1•1vuio0pswjnm7•14m ago•0 comments

Kon-Tiki Set Sail 79 Years Ago Today

https://nautil.us/kon-tiki-set-sail-79-years-ago-today-1280285
2•Brajeshwar•16m ago•0 comments

Unveiling Eighth Generation TPUs

https://twitter.com/GoogleAI/status/2049546885371670895
1•cmitsakis•16m ago•0 comments

Show HN: Verifying AWS Costs Deterministically with Z3 SMT Solver (WASM)

https://github.com/KLOUCEO/klou-verify
1•marcosjunior•16m ago•0 comments

Show HN: Open-source background computer use for Windows agents

https://github.com/voctory/trope-cua
1•voc•17m ago•0 comments

Monk – A market research dashboard for traders

https://monk.trade
1•vishr•17m ago•0 comments

I do pixel math properly [video]

https://www.youtube.com/watch?v=eWUDoms2iJo
1•superMayo•18m ago•0 comments

Lumai Productizes Lens-Based Optical Computer

https://www.eetimes.com/lumai-productizes-lens-based-optical-computer/
1•mindcrime•18m ago•0 comments

Partial UDF Inlining

https://doi.org/10.1145/3810900.3810914
2•matt_d•19m ago•0 comments

Ask HN: What happened to the open hardware movement?

3•goy•21m ago•0 comments

Self-Managing Repository Framework

https://www.npmjs.com/package/prac-kit
1•pdavisjones•23m ago•0 comments

A free diver visited the Strait of Hormuz. Here's what he saw

https://www.npr.org/2026/04/26/nx-s1-5795819/a-free-diver-visited-the-strait-of-hormuz-heres-what...
1•bookofjoe•24m ago•0 comments

Artemis II Photo Timeline

https://artemistimeline.com/
2•marvinborner•25m 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•12mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

seba_dos1•12mo ago
Both are essential.
realaleris149•12mo ago
There are other commands?
incomplete•12mo 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•12mo 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".