frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The ESP32-C3 Super Mini Scam [video]

https://www.youtube.com/watch?v=ZMnSjpFgwdQ
1•josephcsible•1m ago•0 comments

HTGS – HTML Online Editor

https://htgspro.xyz/
1•MopAmine•2m ago•0 comments

Golden girl: Rose Byrne's Globes win maps the road to Oscar glory

https://www.smh.com.au/culture/movies/rose-byrne-golden-globes-winners-2026-oscar-win-best-actres...
1•keepamovin•2m ago•0 comments

AI Can Code (But It Doesn't Care About Quality)

https://blog.discourse.org/2026/01/ai-can-code-but-it-doesnt-care-about-quality/
1•mjrbrennan•6m ago•0 comments

A product that helps developers with marketing tools

https://amplift.ai/
1•gaygum102•6m ago•1 comments

UK Prime Minister Starmer seeks support for international X ban

https://www.euractiv.com/news/uk-prime-minister-starmer-seeks-support-for-international-x-ban/
1•saubeidl•8m ago•1 comments

WhatsApp is untrustable

https://toki.la/posts/whatsapp
3•purglet•10m ago•0 comments

Common misunderstandings about large software companies

https://philipotoole.com/common-misunderstandings-about-large-software-companies/
1•otoolep•10m ago•0 comments

The Emacs Widget Library: A Critique and Case Study

https://www.d12frosted.io/posts/2025-11-26-emacs-widget-library
1•whacked_new•12m ago•0 comments

The liquid air alternative to fossil fuels

https://www.bbc.com/future/article/20251009-the-liquid-air-alternative-to-fossil-fuels
1•otoolep•12m ago•0 comments

DroPE: Extending the Context of LLMs by Dropping Their Positional Embeddings

https://pub.sakana.ai/DroPE/
1•hardmaru•13m ago•0 comments

Roman villa found under popular park dubbed town's 'Pompeii'

https://www.bbc.com/news/articles/cgk8j1gkxelo
1•defrost•20m ago•0 comments

Ask HN: Any active databases / systems paper reading group?

1•dockerd•23m ago•0 comments

AI in RollerCoaster Tycoon

https://labs.ramp.com/rct
1•robbiet480•30m ago•0 comments

Show HN: CKEditor 5 Symfony Integration

https://github.com/Mati365/ckeditor5-symfony
1•mati365•31m ago•0 comments

World Age for beginners: one way to compile a dynamic language

https://discourse.julialang.org/t/world-age-for-beginners-one-way-to-compile-a-dynamic-language/1...
1•anewhnaccount2•33m ago•0 comments

Show HN: 3D Visualizing YC Advice

https://github.com/akshay326/quote-viz
1•akshay326•34m ago•0 comments

Noise sensitivity disrupts the mind, brain and body

https://www.bbc.com/future/article/20250804-inside-the-brains-of-noise-sensitive-people
1•rock_artist•36m ago•0 comments

Your problem with Vim is that you don't grok vi.

https://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim
1•chanana•37m ago•0 comments

The Map Is Not the Territory: The Agent-Tool Trust Boundary

https://niyikiza.com/posts/map-territory/
2•niyikiza•51m ago•0 comments

If you want to plan your dev projects faster, use this tool

https://getfrostbyte.dev/
3•Skyfall106•57m ago•0 comments

Are the YouTube channel Courts and Crimes's shorts AI-generated deep fakes?

https://skeptics.stackexchange.com/questions/60423/are-the-youtube-channel-courts-crimess-shorts-...
2•razor-thin•1h ago•0 comments

Show HN: OpenAI FM – Zero-setup AI voice tool(Inspired by repo)

https://openai-fm.org/
2•thenextechtrade•1h ago•0 comments

Altaid 8800

https://sunrise-ev.com/8080.htm
2•exvi•1h ago•0 comments

Z80 Mem­ber­ship Card

https://sunrise-ev.com/z80.htm
3•exvi•1h ago•0 comments

Reverse Shell as a Service

https://github.com/lukechilds/reverse-shell
2•jayhoon•1h ago•0 comments

Bill Pearson's (Alien Supervising Model Maker) Portfolio, Projects and Showreel

https://www.bookofthedead.ws/bill_pearson/
2•exvi•1h ago•0 comments

BreachForums hacking forum database leaked, exposing 324,000 accounts

https://www.bleepingcomputer.com/news/security/breachforums-hacking-forum-database-leaked-exposin...
4•hentrep•1h ago•0 comments

Time without end: Physics and biology in an open universe-Freeman J. Dyson [pdf]

https://journals.aps.org/rmp/abstract/10.1103/RevModPhys.51.447
2•thunderbong•1h ago•0 comments

China-Australia relationship in 2026? This is how experts in China see it

https://theconversation.com/can-the-china-australia-relationship-stay-on-track-in-2026-this-is-ho...
3•defrost•1h ago•1 comments
Open in hackernews

Git Commands That Cover 90% of a Developer's Daily Workflow

https://jsdev.space/15-git-commands/
29•javatuts•8mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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