frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Graphviz MCP Provider

https://graphviz-provider.rodmena.app/
1•rodmena•1m ago•0 comments

Show HN: DELN – An interactive atlas of AI training datasets

https://deln.ai/atlas
1•yshunnar•4m ago•0 comments

AI is changing biological and nuclear risks; governance must change accordingly

https://thebulletin.org/2026/06/ai-is-changing-biological-and-nuclear-risks-governance-must-chang...
1•pseudolus•6m ago•0 comments

The future of oil prices may depend on China

https://www.cnn.com/2026/06/22/energy/oil-price-china-dependence-iran-war-intl-hnk
1•toomuchtodo•9m ago•1 comments

California police are using drones to disarm people, make arrests

https://www.sfgate.com/bayarea/article/california-police-drone-responders-22315437.php
2•pseudolus•12m ago•0 comments

We built the fastest API for GLM-5.2 (280 TPS)

https://www.baseten.co/blog/how-we-built-the-worlds-fastest-api-for-glm-52/
2•philipkiely•14m ago•0 comments

Why Are LLMs Smart?

https://kevinkelly.substack.com/p/why-are-llms-smart
1•sgallant•16m ago•0 comments

Vietnam plans to discontinue IPv4 by 2030

https://vietnamnet.vn/en/vietnam-launches-ipv6-only-roadmap-to-power-next-digital-era-2527244.html
1•ivlad•18m ago•1 comments

A hedged NSA briefing line became "Mythos hacked the NSA"

https://old.reddit.com/r/AICognitiveWatch/
1•GlyphWeaver_a•18m ago•0 comments

How transparent is DiffusionGemma (and why it matters)

https://www.lesswrong.com/posts/zoYXpdaMgFT43Wc24/how-transparent-is-diffusiongemma-and-why-it-ma...
1•gmays•19m ago•0 comments

Show HN: The Only Prediction Market That Helps You Make Educated Bets

7•realJared54•27m ago•0 comments

Fable 5 wrote a Windows kernel in 38 minutes

https://tolmo.com/blog/when-the-model-writes-the-kernel/
2•ecares•31m ago•0 comments

Porting Moebius 0.2B image inpainting model to run in browser with Claude Code

https://simonwillison.net/2026/Jun/22/porting-moebius/
1•lumpa•32m ago•0 comments

Music retailer sues Fender over C&Ds in Stratocaster copyright dispute

https://www.guitarworld.com/gear/electric-guitars/thomann-is-suing-fender
3•ilamont•34m ago•0 comments

The Complete Kubrick

https://www.criterion.com/boxsets/9000-the-complete-kubrick
1•pentagrama•38m ago•0 comments

SpaceX turns to bond market to raise capital, reports $100.8B cash

https://www.reuters.com/business/media-telecom/spacex-launches-notes-offering-discloses-1008-bill...
5•voxadam•39m ago•2 comments

Heritage sites are at risk in a warming world – and how to save them

https://www.nature.com/articles/d41586-026-01956-0
1•gnabgib•40m ago•0 comments

Show HN: Nts – NTS Radio in your terminal

https://github.com/r-ohan/nts-radio-cli
2•rohan_•42m ago•0 comments

What it takes to get high Text-to-SQL accuracy in production

https://www.wisdom.ai/blog/how-wisdom-gets-text-to-sql-right
2•sharva•43m ago•0 comments

The Adobe Semaphore puzzle had been solved

https://www.nbcbayarea.com/news/local/san-jose-adobes-third-semaphore-puzzle-solved/4102715/
2•thatxliner•43m ago•0 comments

Fatal Tesla Crash into Texas Home Now Under Federal Safety Investigation

https://www.wsj.com/business/autos/fatal-tesla-crash-into-texas-home-now-under-federal-safety-inv...
3•JumpCrisscross•45m ago•0 comments

The annotated PyTorch training loop

https://idlemachines.co.uk/essays/pytorch-training-loop
3•smaddrellmander•46m ago•0 comments

Sakana Fugu multi-agent system delivered as one model

https://github.com/SakanaAI/fugu
2•882542F3884314B•47m ago•0 comments

At least 18 dead in France, including two children in hot car, as Europe bakes

https://www.reuters.com/business/environment/temperatures-exceed-40c-european-heatwave-three-die-...
2•rawgabbit•52m ago•0 comments

The Technium: Why Are LLMs Smart?

https://kk.org/thetechnium/why-are-llms-smart/
2•tortilla•54m ago•0 comments

PostmarketOS v26.06 (Alpen Avocado) released

https://postmarketos.org/blog/2026/06/21/v26.06-release/
2•birdculture•54m ago•0 comments

We are witnessing the slow death of the prestige career

https://www.theguardian.com/commentisfree/2026/jun/22/consulting-ai-prestige-careers
1•bookofjoe•57m ago•1 comments

"ChatGPT is I presume broken"

https://old.reddit.com/r/ChatGPT/comments/1ucs6ni/chatgpt_is_i_presume_broken/
1•beatthatflight•58m ago•2 comments

Humanoid Robot Begs for Electricity Money on China Streets with QR Code

https://yipzap.com/humanoid-robot-begs-for-electricity-money-on-china-streets-with-qr-code-the-vi...
4•noida•1h ago•0 comments

GLM-5.2 is above GPT-5.5 in new agentic knowledge work eval

https://artificialanalysis.ai/articles/aa-briefcase
4•declanjackson•1h 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•1y ago

Comments

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

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

to:

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

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

foobarkey•1y ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

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