frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The enviromental impact of using LLMs for writing code

https://treyhunner.com/2026/02/on-the-enviromental-impact-of-llms-for-coding/
1•lumpa•31s ago•0 comments

Xkcd: Suspicion

https://xkcd.com/632/
1•ravenical•1m ago•0 comments

TikToker Khaby Lame's $975M deal is riding on a crashing stock

https://www.businessinsider.com/tiktoker-khaby-lame-975-million-deal-riding-on-falling-stock-2026-2
1•pseudolus•6m ago•0 comments

The Quest for Clean Cargo

https://www.noemamag.com/the-quest-for-clean-cargo/
1•bookofjoe•7m ago•0 comments

Hazardous substances found in all headphones tested by ToxFREE project

https://www.theguardian.com/technology/2026/feb/18/hazardous-substances-headphones
2•latexr•8m ago•0 comments

Study links 'dark pool' trading activity to stock price crashes and manipulation

https://showme.missouri.edu/2026/mizzou-study-links-dark-pool-trading-activity-to-stock-price-cra...
1•hhs•9m ago•0 comments

AI Agents Now Consume More Tokens Than Humans

https://mandar.dev/2026/02/20/i-thought-moores-law-was-fast/
1•mandarlimaye•10m ago•0 comments

Show HN: Local AI document intelligence – no cloud, runs on your machine

https://unidocverse.com
1•bommavj•14m ago•0 comments

Stripe closed our non-profit's account with 0%

4•littlesteps•14m ago•0 comments

Incentives are dimming for workers to change jobs

https://www.cnbc.com/2026/02/19/life-after-the-great-resignation-incentives-are-dimming-for-worke...
1•hhs•14m ago•0 comments

Your agent is calling, and it wants your credit card

https://www.lableaks.dev/p/your-agent-is-calling-and-it-wants
1•didgeoridoo•15m ago•0 comments

Show HN: Abusing Windows Scripts for Parallel Computation

https://github.com/thelowsunoverthemoon/parallel.bat
1•lowsun•17m ago•0 comments

Be Wary of Bluesky

https://kevinak.se/blog/be-wary-of-bluesky
8•kevinak•20m ago•0 comments

Lexega Turns SQL into Signals

https://lexega.com/blog/how-lexega-turns-sql-into-signals
1•whoami4041•20m ago•0 comments

Xbox President, Microsoft Gaming VP Step Down

https://arstechnica.com/gaming/2026/02/microsoft-gaming-chief-phil-spencer-steps-down-after-38-ye...
2•zof3•21m ago•0 comments

Hackers Expose Age-Verification Software Powering Surveillance Web

https://www.therage.co/persona-age-verification/
3•c420•23m ago•0 comments

Aslan Browser: Open-sourced a macOS browser for AI agents

https://github.com/onorbumbum/aslan-browser
2•onurui•24m ago•1 comments

Apple researchers develop on-device AI agent that interacts with apps

https://9to5mac.com/2026/02/20/apple-researchers-develop-on-device-ai-agent-that-interacts-with-a...
2•geox•26m ago•0 comments

Implementing a secure sandbox for local agents

https://cursor.com/blog/agent-sandboxing
1•gmays•27m ago•0 comments

Ex-Googlers Charged with Stealing Phone Processor Secret

https://www.bloomberg.com/news/articles/2026-02-20/ex-google-engineers-charged-with-stealing-phon...
3•xnx•29m ago•0 comments

Show HN: How to make your ClawBot access to all jobs posted in last 24 hrs

https://www.humaboam.fyi/
1•yuqil725•30m ago•0 comments

OpenAI resets spending expectations, target is around $600B by 2030

https://www.cnbc.com/2026/02/20/openai-resets-spend-expectations-targets-around-600-billion-by-20...
2•zerosizedweasle•31m ago•0 comments

The Prince, the Paedo, the Palace, and the "Safety Tech" App

https://heatherburns.tech/2026/02/20/the-prince-the-paedo-the-palace-and-the-safety-tech-app/
1•hn_acker•31m ago•0 comments

A.I. Is Giving You a Personalized Internet, but You Have No Say in It

https://www.nytimes.com/2026/02/10/technology/personaltech/ai-google-meta-opt-out.html
1•bookofjoe•33m ago•1 comments

I Sold Out for $20 a Month and All I Got Was This Perfectly Generated Terraform

https://matduggan.com/i-sold-out-for-200-a-month-and-all-i-got-was-this-perfectly-generated-terra...
2•Kerrick•33m ago•0 comments

Show HN: 8gent – Mobile first workflow automation for iOS

https://www.8gent.tech/en
2•buchmannflorian•35m ago•0 comments

DefenceNet -A real-time phishing detection to stop scam links before users click

https://www.defencenet.ai/blogs/when-trust-becomes-a-weapon-understanding-smishing-attacks-and-ho...
1•vivekdatacove•35m ago•1 comments

CERN rebuilt the original browser from 1989

https://worldwideweb.cern.ch
14•tylerdane•36m ago•4 comments

Judge scolds Zuckerberg's team for wearing Meta glasses to social media trial

https://www.cbsnews.com/news/meta-trial-mark-zuckerberg-ai-glasses/
2•ColinWright•37m ago•0 comments

Optimize_anything: A Universal API for Optimizing Any Text Parameter

https://gepa-ai.github.io/gepa/blog/2026/02/18/introducing-optimize-anything/
1•gmays•40m 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".