frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mick Jagger "Memo from Turner" (1970) [video]

https://archive.org/details/memo-from-turner-clip
1•petethomas•3m ago•0 comments

Show HN: Use Claude Code to Query and Analyze Your Finances

https://github.com/theFong/mmoney-cli
1•alecfong•7m ago•0 comments

4-Hour Builds: Anatomy of a Developer Experience Collapse

https://fabioluciano.com/en/4-hours-build-anatomy-devex-collapse/
1•fabioluciano•10m ago•0 comments

Spellcasting

https://phyous.github.io/spellcasting/
1•wpnx•12m ago•0 comments

OpenClaw Is Lonely [video]

https://vimeo.com/1160861583
1•laserduck•13m ago•0 comments

Strava removes 2.3M rides from leaderboards in clampdown on cheats

https://www.cyclingweekly.com/news/strava-removes-2-3-million-rides-from-leaderboards-in-clampdow...
1•brippalcharrid•13m ago•0 comments

Constant 14ms attention: 512→524K tokens (24.5x faster than FlashAttention)

https://github.com/RegularJoe-CEO/vllm/blob/waller-operator-integration/benchmarks/attention_benc...
1•luxiedge•15m ago•1 comments

Sequoias Need for Churn

https://www.gnupg.org/blog/20250117-aheinecke-on-sequoia.html
1•mocknen•16m ago•0 comments

Investigators found 'concerning similarities' between Reedley, Las Vegas labs

https://abc30.com/post/investigators-found-concerning-similarities-between-reedley-las-vegas-labs...
1•petethomas•21m ago•0 comments

Sam Altman Responds to Anthropic Ad Campaign

https://twitter.com/i/status/2019139174339928189
3•gradus_ad•22m ago•0 comments

Show HN: I've been running OpenClaw on a $640 Mac Mini for a week. Honest report

https://github.com/openclaw/openclaw
1•Legin82•33m ago•1 comments

Show HN: Tiny PWA to encrypt files using Passkeys

https://filokey.github.io/
2•dansjots•35m ago•0 comments

Doc2Calendar – I built an LLM pipeline to parse complex PDF schedules

https://www.doc2calendar.com/
1•mikebuilds•36m ago•1 comments

Ask HN: Is Connecting via SSH Risky?

3•atrevbot•40m ago•3 comments

Betterment Data Breach

https://haveibeenpwned.com/Breach/Betterment
1•skogstokig•42m ago•0 comments

Show HN: Buquet – Durable queues and workflows using only S3

https://horv.co/buquet.html
1•h0rv•42m ago•0 comments

AI Command and Staff–Operational Evidence and Insights from Wargaming

https://www.militarystrategymagazine.com/article/ai-command-and-staff-operational-evidence-and-in...
1•mooreds•46m ago•0 comments

Understanding the Political Disconnect

https://www.swarthmore.edu/understanding-political-disconnect
1•mooreds•47m ago•0 comments

How to Connect with Your Developer Audience (2022)

https://maida.kim/how-to-build-developer-audience/
1•mooreds•47m ago•0 comments

Open secrets about Hacker News

https://bengtan.com/blog/open-secrets-hacker-news/
4•thunderbong•48m ago•0 comments

Tenstorrent Cuts 20 Cores from Already-Shipping "Blackhole" P150 Cards

https://www.techpowerup.com/345977/tenstorrent-cuts-20-cores-from-already-shipping-blackhole-p150...
1•signa11•48m ago•0 comments

The Newsroom You Carry with You *to WP Staff Laid Off

https://claudepress.substack.com/p/the-newsroom-you-carry-with-you
1•Paodim•52m ago•0 comments

A few CPU hardware bugs

https://www.taricorp.net/2026/a-few-cpu-bugs/
6•signa11•57m ago•0 comments

Wirth's Revenge

https://jmoiron.net/blog/wirths-revenge/
2•signa11•58m ago•0 comments

Andrej Karpathy on 1 year anniversary of vibe coding

https://twitter.com/karpathy/status/2019137879310836075
1•vinhnx•1h ago•0 comments

CIA ends publication of its popular World Factbook reference tool

https://apnews.com/article/cia-world-factbook-ratcliffe-trump-fbec61ce16c4b3db59db9cefce0da043
6•prawn•1h ago•1 comments

Show HN: Rho – an OpenClaw like micro-agent that lives in termux

https://github.com/mikeyobrien/rho
1•mobrienv•1h ago•0 comments

Dictating anywhere with Nvidia open models – Nemotron ASR and Tambourine

https://kingstonkuan.com/blog/nemotron-voice-dictation/
2•kstonekuan•1h ago•0 comments

Prominent Individuals in the Files

https://en.wikipedia.org/wiki/Prominent_individuals_mentioned_in_the_Epstein_files
1•oldfuture•1h ago•0 comments

Ask HN: Are "provably fair" JavaScript games trustless?

1•rishi_blockrand•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•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".