frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

News Tower

https://store.steampowered.com/app/1649950/News_Tower/
1•doener•41s ago•0 comments

Ask HN: Are posting my ideas/prototypes allowed here?

https://x.com/radcraftor
1•radcraftor_•1m ago•1 comments

Show HN: EditorWatch – Detect AI cheating by analyzing how students write code

https://github.com/Vic-Nas/EditorWatch
1•vicnas•1m ago•0 comments

Show HN: BmuS is a powerful free backup program for Linux, Mac and Windows

https://github.com/back-me-up-scotty/bmus
1•bmus•4m ago•0 comments

OpenAI Codex 0.93 adds SQLite backed log database

https://github.com/openai/codex/releases/tag/rust-v0.93.0
1•tosh•11m ago•0 comments

School Is Worse for Children Than Social Media

https://unpublishablepapers.substack.com/p/school-is-way-worse-for-kids-than
1•barry-cotter•11m ago•0 comments

Bob Iger to Step Down as Disney CEO Before End of 2026

https://variety.com/2026/biz/news/bob-iger-step-down-disney-ceo-before-end-of-2026-1236646611/
1•coolandsmartrr•13m ago•0 comments

'Reverse Solar Panel' Generates Electricity at Night

https://www.extremetech.com/science/reverse-solar-panel-generates-electricity-at-night
1•defrost•16m ago•0 comments

Layoffs are piling up, heightening worker anxiety

https://apnews.com/article/amazon-ups-layoffs-economy-washington-71bfde72b358fddb9a22c15aa13fe848
1•rustoo•17m ago•0 comments

YouTube blocks background video playback on Brave and other Browsers

https://piunikaweb.com/2026/01/28/youtube-background-play-samsung-internet-brave/
2•croes•20m ago•0 comments

Show HN: Oyster Bot – AI assistant for your phone, powered by Claude Code

https://github.com/TimFinnigan/oyster-bot
1•timfinnigan•23m ago•0 comments

Using project genie feels kinda like a game

https://project-genie.net/
2•ri-vai•24m ago•1 comments

The End of Transformers (2025)

https://arxiv.org/abs/2510.05364
1•teleforce•26m ago•0 comments

AI isn't making you faster. It's making you forgetful

https://jpcaparas.medium.com/ai-isnt-making-you-faster-it-s-making-you-forgetful-2d1ce729e321
2•zenoware•34m ago•0 comments

Eneloop

https://en.wikipedia.org/wiki/Eneloop
1•tosh•37m ago•0 comments

All 13 Episodes of Kenneth Clark's Civilisation: A Personal View

https://antigonejournal.com/2023/02/kenneth-clark-civilisation/
1•pajop•38m ago•0 comments

Show HN: AI knowledge base that auto-updates from your codebase

https://bunnydesk.ai
2•mkapoor26•38m ago•0 comments

The Lesser Evil of Compliance: Enterprise SBoM Strategy for CRA Readiness

https://nesbitt.io/2026/01/20/the-lesser-evil-of-compliance.html
1•lifeisstillgood•39m ago•0 comments

China edges up with 3 of top chipmaking gear suppliers

https://asia.nikkei.com/business/tech/semiconductors/china-edges-up-with-3-of-world-s-top-20-chip...
2•SanjayMehta•40m ago•1 comments

Forget Postman and JMeter: Test APIs with natural language prompts

https://github.com/onurkanbakirci/prompmeter
1•onurkanbkrc•40m ago•0 comments

An explorable agent architecture with persistent internal state&self-observation

https://github.com/sivanhavkin/Entelgia
2•sivanhavkin•40m ago•1 comments

Sumerian Star Map Recorded the Impact of an Asteroid (2024)

https://archaeologyworlds.com/5500-year-old-sumerian-star-map-recorded/
1•griffzhowl•42m ago•0 comments

Lackluster superintelligence and the infinite data plane

https://fowler.dev/posts/2026-01-30/
1•Descon•43m ago•0 comments

Show HN: Interactive Equation Solver

1•dharmatech•44m ago•0 comments

Epstein files: Musk planned to visit sex offender's island, host him at SpaceX

https://www.cnbc.com/2026/01/30/epstein-files-show-elon-musk-planned-visit-to-island-host-at-spac...
11•SilverElfin•44m ago•2 comments

Upcoming re-entry of space object ZQ-3 R/B

https://www.eusst.eu/newsroom/news/eu-sst-closely-monitors-upcoming-re-entry-space-object-zq-3-rb
1•kreyenborgi•51m ago•0 comments

CoreWeave walks a debt tightrope, counting on key customers to be its safety net

https://deepquarry.substack.com/p/coreweave-walks-a-debt-tightrope
1•zerosizedweasle•55m ago•0 comments

Mistakes to Avoid in Equity Compensation for Startup Employees (2024)

https://www.lightercapital.com/blog/equity-compensation-mistakes-to-avoid
1•walterbell•56m ago•0 comments

Why Bloom filters work the way they do (2014)

https://michaelnielsen.org/ddi/why-bloom-filters-work-the-way-they-do/
3•vinhnx•58m ago•1 comments

X for AI Agents

https://moltx.io/
1•manthangupta109•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".