frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

SEO poisoning with legit AI chats delivers AMOS stealer

https://www.huntress.com/blog/amos-stealer-chatgpt-grok-ai-trust
1•Elliott-Diy•1m ago•0 comments

A psychedelic tour of Earth's ecosystems–from the desert to Siberia

https://theconversation.com/a-psychedelic-tour-of-earths-ecosystems-from-the-desert-to-siberia-26...
1•PaulHoule•3m ago•0 comments

Contextify

https://contextify.sh/
1•handfuloflight•5m ago•0 comments

Show HN: MechanicsDSL – PhPhysics simulations with LaTeX-like syntax in Python

https://github.com/MechanicsDSL/mechanicsdsl
1•Guilo78•5m ago•0 comments

You'll get over 12k validated startup ideas here

5•suhaspatil101•9m ago•0 comments

Show HN: Enact – NPM for AI Tools with Sigstore and Dagger

https://enact.tools
1•kgroves88•10m ago•0 comments

I Reverse Engineered ChatGPT's Memory System, and Here's What I Found

https://manthanguptaa.in/posts/chatgpt_memory/
1•misonic•10m ago•0 comments

Operation Bluebird wants to relaunch "Twitter"

https://arstechnica.com/information-technology/2025/12/can-twitter-fly-again-startup-wants-to-pry...
1•keyle•11m ago•0 comments

Attention Economy

https://studium.dev/notes/attention-economy
1•jerlendds•11m ago•0 comments

Ice Breaker Game for Any Occasion

https://icebreakergames.club/games/
1•Luki1234•12m ago•0 comments

Ask HN: What high-effort, high-reward skills have you developed in 2025?

1•Hixon10•12m ago•0 comments

Mercedes-Benz CLA Went 434 Miles in Our Real-World Test

https://www.edmunds.com/car-news/2026-mercedes-benz-cla-ev-range-charging-test-feature.html
1•pilingual•20m ago•0 comments

NASA Teams Work Maven Spacecraft Signal Loss

https://science.nasa.gov/blogs/maven/2025/12/09/nasa-teams-work-maven-spacecraft-signal-loss/
1•1970-01-01•22m ago•0 comments

Flowdrop – Build automations by chatting, no code needed

https://flowdrop.xyz
1•webbuidlr•22m ago•1 comments

EV school bus goes up in flames

https://abc7.com/post/ev-school-bus-lausd-goes-flames-lake-view-terrace-no-students-aboard/18273551/
1•lxm•24m ago•0 comments

ASCII Art Archive

https://www.asciiart.eu/
1•cybersoyuz•25m ago•0 comments

Rust Goes Mainstream in the Linux Kernel

https://thenewstack.io/rust-goes-mainstream-in-the-linux-kernel/
1•CrankyBear•25m ago•0 comments

Show HN: I'm building a game engine that transpiles game scripts to Rust

https://github.com/PerroEngine/Perro
1•TiernanDeFranco•26m ago•0 comments

What Happens When an "Infinite-Money Machine" Unravels

https://www.newyorker.com/news/the-financial-page/what-happens-when-an-infinite-money-machine-unr...
2•pseudolus•28m ago•1 comments

Cursor Introduces Debug Mode: Agents with Runtime Logs

https://cursor.com/blog/debug-mode
2•morethananai•28m ago•0 comments

How 'What Can Go Wrong?' Went Wrong

https://badshah.io/what-can-go-wrong-went-wrong/
1•bnchandrapal•30m ago•0 comments

Axon Tests Face Recognition on Body-Worn Cameras

https://www.eff.org/deeplinks/2025/12/axon-tests-face-recognition-body-worn-cameras
1•pseudolus•31m ago•0 comments

LegalProof Easypdf Email: Transform Emails into PDF Evidence

https://www.emailslegal.com/
1•ycomPPs•34m ago•0 comments

The Fantasy Life of Coder Boys (2003)

https://www.wired.com/2003/04/the-fantasy-life-of-coder-boys/
1•rfarley04•37m ago•0 comments

Significance of Numbers in Judaism

https://en.wikipedia.org/wiki/Significance_of_numbers_in_Judaism
2•marysminefnuf•39m ago•0 comments

The Mischievous Ex-Bankers Behind "Industry"

https://www.newyorker.com/magazine/2025/12/15/the-mischievous-ex-bankers-behind-industry
1•mitchbob•41m ago•1 comments

Milo – AI MCAT coach that builds your daily study plan and keeps you accountable

https://askmilo.io
1•savagebrody•45m ago•1 comments

pg_ClickHouse: A Postgres extension for querying ClickHouse

https://clickhouse.com/blog/introducing-pg_clickhouse
1•soheilpro•48m ago•0 comments

Humans were lighting fires from scratch a lot earlier than previously thought

https://www.economist.com/science-and-technology/2025/12/10/humans-were-lighting-fires-from-scrat...
1•andsoitis•49m ago•1 comments

Visual Thought AGI Architecture Blueprint- the missing key – imagination

https://visualthoughtagi.com
1•user2342ca•53m 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•7mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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