frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tell HN: Fable guardrails trigger on random questions

1•nocoder•13m ago•0 comments

Show HN: Rules-free solo-only client for the Paperback tabletop game

https://wanderinghorse.net/gaming/paperback/solo.html
1•sgbeal•15m ago•0 comments

AI found a Linux root bug that was missed for 15 years

https://www.wired.com/story/security-news-this-week-ai-found-a-root-bug-in-linux-that-everyone-mi...
1•crowd51•23m ago•0 comments

The ancient Chinese way to cool homes (2023)

https://www.bbc.com/future/article/20230712-how-ancient-skywells-are-keeping-chinese-homes-cool
2•1659447091•26m ago•0 comments

DeepSeek developing its own AI chip, sources say

https://www.reuters.com/world/china/chinas-deepseek-developing-its-own-ai-chip-sources-say-2026-0...
3•theanonymousone•26m ago•0 comments

Show HN: Mindwalk – Replay coding-agent sessions on a 3D map of your codebase

https://github.com/cosmtrek/mindwalk
1•cosmtrek•28m ago•0 comments

An open letter to the Medici of intelligence

https://www.sov.vc/blog/the-next-frontier-sovereignty
1•abreckle•28m ago•0 comments

What Happens Inside DynamoDB When You Hit 3000 RCU on a Single Partition Key

https://medium.com/@yalovoy/what-happens-inside-dynamodb-when-you-hit-3000-rcu-on-a-single-partit...
1•zero-ground-445•28m ago•0 comments

Vinod Khosla to Buy Seattle Seahawks for $9.6B

https://www.sportico.com/business/team-sales/2026/seattle-seahawks-sale-vinod-khosla-owner-billio...
2•kpw94•31m ago•0 comments

Ask HN: How do you manage content for React-based websites?

1•admininistratos•32m ago•0 comments

Who cleans up after the vibe-coding party?

https://www.ft.com/content/cec8df9e-b43b-4cd1-8feb-c07e804e8d33
2•jweir•35m ago•1 comments

Boeing 737 window dislodged, passenger partially sucked out

https://www.reuters.com/business/ryanair-plane-makes-emergency-landing-greece-after-window-dislod...
2•smallnix•44m ago•0 comments

BSD Make Extravaganza

https://github.com/b-aaz/bmake-extravaganza
1•signa11•45m ago•0 comments

Where Tomorrow's Engineers Come From, Part 2: The Apprenticeship Problem

https://www.abovethertl.com/p/where-tomorrows-engineers-come-from-b71
2•rramadass•46m ago•1 comments

How Container Networking Works: Building a Bridge Network from Scratch

https://labs.iximiuz.com/tutorials/container-networking-from-scratch
1•signa11•49m ago•0 comments

Colleges have an education problem (2025)

https://12gramsofcarbon.com/p/colleges-have-an-education-problem
2•theahura•53m ago•0 comments

Show HN: Skiff, a frontier isochrone tuning simulation for sailboats

https://github.com/deepbluedynamics/skiff
4•kordlessagain•58m ago•1 comments

Alphaville LLC initiates coverage of SpaceX with Buy recommendation

https://www.ft.com/content/1344d22b-ee64-488d-bd02-170fe0c9de2b
2•imichael•59m ago•0 comments

Taste

https://katdispatch.bearblog.dev/on-taste/
2•JumpCrisscross•1h ago•0 comments

Cpp-Go-Zig-Odin: A series of small programs/tasks to compare

https://github.com/phillvancejr/Cpp-Go-Zig-Odin
1•ksec•1h ago•0 comments

UK Cybercrime Journal: Argos Account Takeover Fraud

https://blog.bushidotoken.net/2026/07/uk-cybercrime-journal-argos-account.html
1•diedose•1h ago•0 comments

Ask HN: Do your tests clear "If the tests pass, you cannot break the code" bar?

1•tristenharr•1h ago•1 comments

Show HN: AsyncFutures – A Ruby gem for asynchronous/concurrent code execution

https://rubygems.org/gems/async_futures/versions/0.1.2
1•eestrada•1h ago•0 comments

Proof of Concept for the recent Litematica path traversal bug which leads to RCE

https://github.com/AliensToEarth/litematica-rce
2•Cider9986•1h ago•0 comments

Built a tracker to estimate water wastage when talking to Claude

https://github.com/piyushkhemka/sip
1•piyushkhemka•1h ago•0 comments

BMW Warns of Unauthorized Production of 'Pirated' Cars in Russia

https://www.themoscowtimes.com/2026/07/11/bmw-warns-of-unauthorized-production-of-pirated-cars-in...
2•_____k•1h ago•0 comments

SK Hynix CEO: worst memory shortage in 2027, will persist beyond 2030

https://www.reuters.com/world/asia-pacific/sk-hynix-ceo-sees-worst-ever-memory-supply-shortage-20...
5•giuliomagnifico•1h ago•0 comments

Big Tech piles on $350B in debt to fuel AI data center race

https://www.latimes.com/business/story/2026-07-10/big-tech-piles-on-350-billion-in-debt-to-fuel-a...
5•1vuio0pswjnm7•1h ago•0 comments

Credit Sleeves Collapse Bubbles

https://medium.com/@mcgrathrpm/credit-sleeves-are-the-bubble-6c57a54b9cff
2•piyh•1h ago•0 comments

Can't Read Slop Anymore

https://blog.imraniqbal.org/cant-read-slop-anymore/
3•HotGarbage•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".