frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tell HN: Jellyfin Uses Axios

1•nodesocket•37s ago•0 comments

AT&T signs deal worth $2B to upgrade emergency cellular network

https://finance.yahoo.com/sectors/technology/articles/t-signs-deal-worth-2-214628742.html
1•ZeidJ•1m ago•0 comments

OpenAI Adds Another $12B to Latest Funding Round

https://www.nytimes.com/2026/03/31/technology/openai-12-billion-latest-funding-round.html
1•y1n0•1m ago•0 comments

Cellular Gateways and 5G Failover: Why Every Business Needs a Backup Connection

https://meraki.deal/blogs/news/cellular-gateways-5g-failover-business-backup-connection
1•novbox•4m ago•0 comments

Medieval chess: players, regardless of race, could engage as equals

https://phys.org/news/2026-03-medieval-chess-space-players-engage.html
1•y1n0•4m ago•0 comments

Project Ternary Shadow: US Military Is Lagging [pdf]

https://files.catbox.moe/fogrdf.pdf
1•sans_souse•5m ago•0 comments

Mars maybe-life clue in the form of nickel compounds

https://www.theregister.com/2026/03/31/nickel_found_on_mars/
1•hackthemack•5m ago•0 comments

Show HN: BitTorrent DHT Proxy – hiding your IP from DHT and trackers

https://www.janhouse.lv/blog/it/dht-proxy-hiding-ip-from-bittorrent-dht-trackers
2•Jnr•9m ago•0 comments

Iran Threatens to Start Attacking Major US Tech Firms on April 1

https://www.wired.com/story/iran-threatens-to-start-attacking-major-us-tech-firms-on-april-1/
2•jumploops•12m ago•1 comments

Start naming your useEffect functions, you will thank me later

https://neciudan.dev/name-your-effects
1•nnx•21m ago•0 comments

Autoscaling CI for Gitea in Rust

https://rustunit.com/blog/2026/03-30-gitea-ci-autoscaler/
1•y1n0•22m ago•0 comments

DreamLite: Lightweight On-Device Unified Model for Image Generation and Editing

https://carlofkl.github.io/dreamlite/
2•smusamashah•24m ago•0 comments

Uno-reverse: Who is gaslighting who now?

https://abscondita.com/blog/uno-reverse-who-is-gaslighting-who
2•_vaporwave_•24m ago•0 comments

How to Turn a Chicken Egg into a Drug Factory

https://www.nytimes.com/2026/03/26/science/biotechnology-pharmaceuticals-eggs.html
1•lxm•27m ago•0 comments

How do I turn on the Do Not Track feature?

https://support.mozilla.org/en-US/kb/how-do-i-turn-do-not-track-feature
1•greyface-•30m ago•0 comments

Claude Code Interactive Architecture

https://brandonrc.github.io/journey-through-claude-code/
2•bsgeraci•34m ago•1 comments

MIT 9.35 Perception, Spring 2024 [video]

https://www.youtube.com/watch?v=IPJC8loEmd4
1•mdp2021•34m ago•0 comments

Turn any idea into a printable coloring page with AI

https://coloringpage.live
1•jiruitao•34m ago•1 comments

Humans, Trust, and AI Job Replacement

https://hooda.xyz/blog/humans-trust-and-ai-job-replacement/
2•hooda•37m ago•0 comments

Precision Proactivity: Measuring Cognitive Load in Real-World AI-Assisted Work

https://arxiv.org/abs/2505.10742
1•wslh•38m ago•0 comments

Codey-V2 is out – stable release

https://github.com/Ishabdullah/Codey-v2
1•Ishymoto•39m ago•0 comments

Pretext's most interesting use cases have no DOM at all

https://cyrusradfar.com/thoughts/pretext-beyond-the-browser
2•cyrusradfar•43m ago•0 comments

Microsoft plans to build 100% native apps for Windows

https://www.windowslatest.com/2026/03/28/microsoft-plans-to-build-100-native-apps-for-windows-11-...
2•kbelder•45m ago•1 comments

Reverse engineering GTA San Andreas with autonomous LLM agents [video]

https://www.youtube.com/watch?v=zBQJYMKmwAs
2•LelouBil•46m ago•0 comments

Mission Control for AI Agents – Cyberpunk dashboard, zero deps, one HTML file

https://github.com/Audazia/solar-system-agentsIbuiltSolarSystemAgentsbecauseIwanted:1.Adashboardt...
1•AUDAZIA•46m ago•1 comments

(Quasi)auto-canonization is the greatest short-term challenge for AI

https://xcancel.com/AlexKontorovich/status/2038810855110742310#m
1•vi_sextus_vi•47m ago•0 comments

Microsoft in Talks with Chevron, Engine No. 1 over $7B Texas Power Plant

https://www.bloomberg.com/news/articles/2026-03-31/microsoft-in-talks-with-chevron-engine-no-1-ov...
2•mfiguiere•50m ago•0 comments

Show HN: macOS app to ensure package managers only allow packages 1+ week old

https://github.com/harryob2/ShieldGuard
1•haaz•51m ago•0 comments

Large-scale BTU study shows: solar panels last longer than previously thought

https://www.b-tu.de/en/news/article/31103-grossangelegte-btu-studie-zeigt-solaranlagen-halten-lae...
1•jbm•53m ago•0 comments

Australia readies social media court action citing teen ban breaches

https://www.reuters.com/sustainability/society-equity/australia-investigates-tech-giants-over-soc...
1•jnord•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•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".