frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I built Fluxer, a Discord-like chat app

https://blog.fluxer.app/how-i-built-fluxer-a-discord-like-chat-app/
1•todsacerdoti•9s ago•0 comments

Archive.today is directing a DDoS attack against my blog

https://gyrovague.com/
1•doener•4m ago•0 comments

Metabolic Acceleration and the Evolution (2016)

https://pubmed.ncbi.nlm.nih.gov/27144364/
1•stared•4m ago•0 comments

Transfer learning and Transformer models (ML Tech Talks) [video]

https://www.youtube.com/watch?v=LE3NfEULV6k
1•onurkanbkrc•5m ago•0 comments

Archive.today: Operator uses users for DDoS attack

https://www.heise.de/en/news/Archive-today-Operator-uses-users-for-DDoS-attack-11171455.html
1•doener•6m ago•0 comments

Three largest Dutch banks seek European alternatives to U.S. technology

https://nltimes.nl/2026/02/10/rabobank-ing-abn-amro-seek-european-alternatives-us-technology
1•belter•7m ago•0 comments

Accelerationism: A fringe philosophy predicted the future we live in (2017)

https://www.theguardian.com/world/2017/may/11/accelerationism-how-a-fringe-philosophy-predicted-t...
1•edward•7m ago•0 comments

Show HN: 15% of Forbes 30 under 30 winners did fraud

https://30u30.rip
1•yevbar•7m ago•0 comments

European nations gear up to ban social media for children

https://www.dw.com/en/european-nations-mull-social-media-ban-for-children-instagram-tiktok-anxiet...
1•belter•7m ago•0 comments

The AI Vampire

https://steve-yegge.medium.com/the-ai-vampire-eda6e4f07163
1•SilverElfin•8m ago•0 comments

SQL /* comments */ can be nested

https://modern-sql.com/caniuse/comments
1•MarkusWinand•8m ago•0 comments

Show HN: Reddit Scout Pro [Chrome-extension]

https://plugmonkey.xyz/product/reddit-scout-pro/
1•yazeedaloyoun•10m ago•0 comments

Create Caricature of Me and My Job – Viral AI Trend Free

https://caricaturetrend.com/
1•lizbo•11m ago•0 comments

Epstein archive taxonomy

https://jmail.world/taxonomy
2•samuel246•13m ago•0 comments

Show HN: Qrono – A "final" date/time library for JavaScript

https://qronojs.dev/
1•urin•13m ago•0 comments

RooDB: Now faster than MySQL (acc. to sysbench 1M rows)

https://github.com/jgarzik/roodb/releases/tag/v0.7.0
1•jgarzik•13m ago•0 comments

We are all going to regret Kalshi and Polymarket

https://davekarpf.substack.com/p/we-are-all-going-to-regret-kalshi
2•thenaturalist•14m ago•0 comments

Immediate 10 day TFR issued in El Paso due to "special security reasons"

https://old.reddit.com/r/ADSB/comments/1r1pqnp/10_day_tfr_issued_in_el_paso_due_to_special/
2•c420•15m ago•0 comments

The Problem with LLMs

https://www.deobald.ca/essays/2026-02-10-the-problem-with-llms/
2•deobald•19m ago•0 comments

FortiGate Symlink Persistence Method

https://pgj11.com/posts/FortiGate-Symlink-Attack/
1•Yippee-Ki-Yay•22m ago•0 comments

The Calorie Counter (2022)

https://www.science.org/content/article/scientist-busts-myths-about-how-humans-burn-calories-and-why
1•XzetaU8•24m ago•0 comments

4B unique (and sometimes memorable) sentences

https://unsung.aresluna.org/4-billion-unique-and-sometimes-very-memorable-sentences/
1•Fudgel•25m ago•0 comments

What Does the Sonatype 2026 State of the Software Supply Chain Report Reveal?

https://www.i-programmer.info/news/80-java/18650-what-does-the-sonatype-2026-state-of-the-softwar...
1•aquastorm•25m ago•0 comments

Communities Are Not Fungible

https://www.joanwestenberg.com/communities-are-not-fungible/
4•tardibear•27m ago•1 comments

Co-founders of Elon Musk's xAI join exodus from startup's tech team

https://www.ft.com/content/3d4a9683-b70a-4953-b21b-b3ea07d693a3
3•znq•29m ago•0 comments

Building a 'Hum to Search' Directory in just an hour

https://humtosearch.net/
1•JohnYuan97•32m ago•1 comments

Agent-Tail

https://agent-tail.vercel.app/
1•handfuloflight•35m ago•0 comments

Claude add-on turns Google Calendar into malware courier

https://www.theregister.com/2026/02/11/claude_desktop_extensions_prompt_injection/
3•beardyw•37m ago•0 comments

Show HN: Actionbook – Resilient browser automation engine for AI agents (Rust)

https://github.com/actionbook/actionbook
2•asen_not_taken•37m ago•0 comments

Show HN: Building My Own Google Analytics for $0

https://www.adwait.me/writings/building-my-own-google-analytics
2•adwait12345•41m 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".