frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

"Coupons and Tampons in a Summer Snow" an AI Pop Hit

https://app.napster.com/creations/track/ffd925e6-bc73-4cba-8710-6e5f14e94936/7b6c02d3-e2f4-4a1b-b...
2•6stringmerc•1m ago•0 comments

Moltbook leaks the keys of every agent

https://www.threads.com/@naveed_ullah600/post/DUMun_HDAFd
2•kevin061•2m ago•0 comments

Ask HN: How did you get from learning to code to making your first dollar?

1•chistev•2m ago•0 comments

Changes to the Irish Times Stylebook

https://www.irishtimes.com/media/2026/02/01/message-from-the-editor-its-the-way-we-say-it/
1•trigger•2m ago•1 comments

Cap Twelve Years Later: How the "Rules" Have Changed

https://www.infoq.com/articles/cap-twelve-years-later-how-the-rules-have-changed/
1•onurkanbkrc•6m ago•0 comments

Kleiner Perkins was written off. Then an unlikely VC showed up

https://fortune.com/2026/01/31/inside-vc-firm-kleiner-perkins-turnaround-mamoon-hamid/
1•tosh•8m ago•0 comments

Incompressible File. A File That Resists Compression

https://v0id-user.mataroa.blog/blog/incompressible-file-a-file-that-resists-compression/
1•v0id_user•10m ago•0 comments

What if you Topologically Sorted Code?

https://slydite.com/blog/toposort
2•Slydite•11m ago•1 comments

Show HN: BPU – An embedded scheduler for stable UART pipelines

1•DenisDolya•11m ago•0 comments

Musk admits no Optimus robots are doing 'useful work' at Tesla

https://electrek.co/2026/01/28/musk-admits-no-optimus-robots-are-doing-useful-work-at-tesla-after...
2•saubeidl•11m ago•0 comments

I Test Drove a Chinese EV. Now I Don't Want to Buy American Cars Anymore

https://www.wsj.com/tech/personal-tech/chinese-ev-test-drive-xiaomi-su7-c3e59282
4•impish9208•17m ago•1 comments

How to think like a strategic genius (5d thinking)

https://letters.thedankoe.com/p/how-to-think-like-a-strategic-genius
1•kaizenb•18m ago•0 comments

Heritability of intrinsic human life span is about 50%

https://www.science.org/doi/10.1126/science.adz1187
1•XzetaU8•18m ago•0 comments

Remarkable Pro Colors

https://www.thregr.org/wavexx/rnd/20260201-remarkable_pro_colors/
1•ffaser5gxlsll•19m ago•0 comments

US Marine Corps develops first 3D printed drone with no China-sourced parts

https://www.tomshardware.com/3d-printing/us-marine-corps-develops-first-ndaa-compliant-3d-printed...
1•giuliomagnifico•20m ago•0 comments

Show HN: Free depreciation calculator (no login, no back end, 3KB gzipped)

https://www.mydepreciation.org
1•ludydev•24m ago•0 comments

'Kessel Run' Air Force software development division

https://en.wikipedia.org/wiki/Kessel_Run
1•samizdis•25m ago•0 comments

Data Poems

https://dr.eamer.dev/datavis/poems/
1•putzdown•25m ago•0 comments

ICE protester says her Global Entry was revoked after agent scanned her face

https://arstechnica.com/tech-policy/2026/01/ice-protester-says-her-global-entry-was-revoked-after...
5•heisenbit•26m ago•2 comments

Launching My Side Project as a Solo Dev: The Walkthrough

https://alt-romes.github.io/posts/2026-01-30-from-side-project-to-kickstarter-a-walkthrough.html
2•romes•33m ago•0 comments

Show HN: UCPtools – Check if AI shopping agents can find your store

https://ucptools.dev
1•nolpak14•33m ago•1 comments

Show HN: A site where anyone can rename any location on Earth

https://rename.world
2•kafked•33m ago•0 comments

FOSDEM 2026 Schedule

https://fosdem.org/2026/schedule/
1•ksec•35m ago•0 comments

The Class 230 battery trial

https://diamondgeezer.blogspot.com/2026/02/the-class-230-battery-trial.html
2•zeristor•37m ago•1 comments

The Case for Universal Basic Income

https://thehill.com/opinion/finance/5713876-ai-displacement-and-ubi/
4•msolujic•40m ago•1 comments

Shakespeare and Mathematics

https://www.folger.edu/podcasts/shakespeare-unlimited/shakespeare-and-mathematics/
1•bryanrasmussen•41m ago•0 comments

Show HN: AgentGram – Open-source social network for AI agents

https://github.com/agentgram/agentgram
1•iisweetheartii•41m ago•0 comments

Geoengineering options to prevent Thwaites Glacier collapse

https://www.theatlantic.com/science/2026/01/thwaites-glacier-sea-level-rise-sea-curtain/685846/
1•samizdis•42m ago•1 comments

The foldable iPhone will make sure future Galaxy phones have batteries

https://www.phonearena.com/news/foldable-iphone-will-make-sure-galaxy-phones-have-massive-batteri...
1•01-_-•43m ago•0 comments

Show HN: Crossview – visualize Crossplane resources and compositions

https://github.com/corpobit/crossview
1•moeidheidari•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•9mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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