frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The MokaBot: A Hacked Moka Pot [video]

https://www.youtube.com/watch?v=UGf7mtfhOFM
1•simonebrunozzi•2m ago•0 comments

Show HN: Irpapers – Visual embeddings vs. OCR trade-offs in scientific PDFs

https://github.com/weaviate/query-agent-benchmarking
1•pvpv•2m ago•0 comments

Johann Rehberger: Agentic Problems and the Rise of Zombie AIs

https://ethiack.com/news/research/agentic-problems-and-zombie-ai
1•gpaiva21•2m ago•0 comments

Writing High Quality Production Code with LLMs Is a Solved Problem

https://escobyte.substack.com/p/writing-high-quality-production-code
1•menzoic•3m ago•1 comments

Show HN: Live AI Design Benchmark

https://shuffle.dev/ai-design
2•kemyd•4m ago•0 comments

PayPal Attracts Takeover Interest After Stock Slump

https://www.bloomberg.com/news/articles/2026-02-23/paypal-attracts-takeover-interest-after-stock-...
1•mikece•4m ago•2 comments

ClawSecurity: CrowdStrike for OpenClaw Agents

https://twitter.com/yq_acc/status/2025977732048511379
1•jiayaoqijia•5m ago•1 comments

Stressful People in Your Life Could Be Adding Months to Your Biological Age

https://www.pnas.org/doi/10.1073/pnas.2515331123
1•m463•5m ago•0 comments

Code isn't what's slowing projects down

https://shiftmag.dev/code-isnt-slowing-your-project-down-communication-is-7889/
2•birdculture•6m ago•0 comments

Strix Is an Open-Source Claude Code Security

https://www.strix.ai/
1•bearsyankees•7m ago•0 comments

Show HN: Plyra-guard – intercepts AI agent tool calls before execution

https://github.com/plyraAI/plyra-guard
1•plyra•8m ago•0 comments

Learn Visual Studio Code (E-Book)

https://lazarpress.gumroad.com/l/learnvscode
1•LouisLazaris•8m ago•1 comments

Global Intelligence Crisis – Summary

https://toolong.co/s/dl2dyojl
1•a_void_sky•9m ago•0 comments

Let's Discuss Sandbox Isolation

https://www.shayon.dev/post/2026/52/lets-discuss-sandbox-isolation/
1•shayonj•9m ago•0 comments

Claude Code for MBAs (Part 1)

https://essilfie.substack.com/p/claude-code-for-mbas-part-1
1•lordleft•10m ago•0 comments

Meta found 19% of young teen Instagram users saw unwanted nude or sexual images

https://www.reuters.com/legal/litigation/meta-survey-found-19-young-teen-instagram-users-saw-unwa...
2•giuliomagnifico•11m ago•0 comments

Cripix Technology?

1•kellkell•11m ago•0 comments

Open-AutoGLM: Zhipu AI's Open-Source Framework for Phone Agents (23k Stars)

https://theagenttimes.com/articles/open-autoglm-23k-stars-the-phone-agent-framework-from-chinas-a...
1•Ross00781•11m ago•0 comments

Decided to fly to the US to buy some hard drives

https://old.reddit.com/r/DataHoarder/comments/1rb9ot4/decided_to_fly_to_the_us_to_buy_some_hard_d...
3•HelloUsername•12m ago•0 comments

Some silly Z3 scripts I wrote

https://www.hillelwayne.com/post/z3-examples/
1•azhenley•12m ago•0 comments

Cryptographic Reciprocity for Shared Reality in the Deepfake Era

https://aquariuos.com
1•AquariuOS•12m ago•1 comments

Show HN: Yet Another Firebase Alternative

https://linkedrecords.com/
1•WolfOliver•13m ago•0 comments

AI is destroying open source, and it's not even good yet [video]

https://www.youtube.com/watch?v=bZJ7A1QoUEI
1•delduca•13m ago•0 comments

Simon Wardley – From here to there and back again

https://www.youtube.com/watch?v=hEjjCI3kTM4
1•RebootStr•13m ago•0 comments

The first general computer action model

https://si.inc/posts/fdm1/
5•nee1r•13m ago•5 comments

Rozenite Zustand Devtools

https://github.com/IronTony/rozenite-zustand-devtools
1•IronTony•14m ago•1 comments

Museum of Plugs and Sockets

https://plugsocketmuseum.nl/index.html
2•ohjeez•14m ago•0 comments

What the Wealthy Want in Their Private Jets

https://www.wsj.com/style/design/what-the-wealthy-want-in-their-private-jets-46b94ea0
1•bookofjoe•14m ago•1 comments

Sell Everything for This 1997 McLaren F1 GTR That's Going to Auction

https://www.thedrive.com/news/sell-everything-and-then-some-for-this-1997-mclaren-f1-gtr-thats-go...
1•PaulHoule•15m ago•0 comments

Federal Gov Trafficking Pregnant Children to Texas So They Can't Get Abortions

https://www.throughline.news/p/the-trump-administration-is-trafficking
2•hn_acker•16m 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•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".