frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Face Antispoof ONNX

https://github.com/johnraivenolazo/face-antispoof-onnx
1•handfuloflight•9m ago•0 comments

Video Essays of 2025

https://www.bfi.org.uk/sight-and-sound/polls/best-video-essays-2025
1•vinhnx•14m ago•0 comments

Why are we worried about memory access semantics? Full barriers are enough?

https://devblogs.microsoft.com/oldnewthing/20251226-00/?p=111919
1•signa11•15m ago•0 comments

Publishers Clearing House's bankruptcy means winners will no longer get paid

https://www.cnn.com/2025/09/16/business/publishers-clearing-house-bankruptcy-winners-lose-prizes
1•petethomas•17m ago•0 comments

The Well Watchers

https://www.motherjones.com/environment/2025/12/abandoned-oil-wells-texas-tiktok-hawk-dunlap-sara...
1•toomuchtodo•24m ago•0 comments

Ask HN: Can systems function correctly without memory?

1•SpicyG•25m ago•0 comments

The iOS Weekly Brief – Issue #40

https://vladkhambir.substack.com/p/the-ios-weekly-brief-issue-40
1•khambir•25m ago•0 comments

Andrej Karpathy: "I've never felt this much behind as a programmer"

https://twitter.com/i/status/2004607146781278521
1•alexcos•32m ago•2 comments

Geographic shapes and flags via simple URLs

https://borderly.dev/
1•zuhayeer•32m ago•0 comments

GitHub Takes Down Rockchip MPP Repository After FFmpeg Copyright Claim

https://linuxiac.com/github-takes-down-rockchip-mpp-repository-after-ffmpeg-copyright-claim/
1•marcodiego•34m ago•0 comments

Lost Years: Expected Number of Years Lost

https://github.com/gojiplus/lost-years
1•neehao•36m ago•0 comments

Ask HN: Why does YouTube collect creator demographics?

1•journal•42m ago•0 comments

Make Your iPhone Speak the Time

https://swordandsignals.com/2025/12/27/announce-time-on-demand.html
1•jiannengli•44m ago•0 comments

Show HN: tpmjs - npm for ai sdk tools

https://tpmjs.com/
3•thomasfromcdnjs•46m ago•1 comments

How a father’s choices may be packaged and passed down in sperm RNA

https://www.quantamagazine.org/how-dads-fitness-may-be-packaged-and-passed-down-in-sperm-rna-2025...
18•vismit2000•1h ago•1 comments

Change, How Expensive

https://johnocens.com/soothfare/changehowexpensive
2•wonderbar•1h ago•0 comments

Bluetooth Headphone Jacking: Full Disclosure of Airoha Race Vulnerabilities

https://insinuator.net/2025/12/bluetooth-headphone-jacking-full-disclosure-of-airoha-race-vulnera...
2•marvinborner•1h ago•1 comments

2026 macro outlook – views across the street (synthesis 2026 outlook reports)

https://2026macro.vercel.app/
1•OxfordOutlander•1h ago•1 comments

Would You Kill for a Job?

https://www.nytimes.com/2025/12/27/opinion/no-other-choice-work-unemployment.html
2•mitchbob•1h ago•4 comments

Replacing JavaScript with Just HTML

https://www.htmhell.dev/adventcalendar/2025/27/
84•soheilpro•1h ago•19 comments

The case of Africa's 'vanishing' carbon deals

https://www.japantimes.co.jp/environment/2025/11/26/climate-change/africa-carbon-deals/
1•PaulHoule•1h ago•0 comments

Software ate the world. Federation will eat embeddings

https://www.gnanaguru.com/p/federation-over-embeddings-let-ai
2•gnanagurusrgs•1h ago•1 comments

Nature and Climate Wins in 2025

https://www.bbc.com/future/article/20251212-seven-quiet-wins-for-climate-and-nature-in-2025
1•kaycebasques•1h ago•0 comments

Show HN: I created a tool to design and create foamcore inserts for boardgames

https://boxinsertdesigner.com/
1•Rabidgremlin•1h ago•0 comments

Show HN: Iris – an AI-powered rental search built specifically for San Francisco

https://www.irisrents.com
2•manan08•1h ago•1 comments

Go Memory Model Deep Dive: What Every Go Developer Must Know

https://skoredin.pro/blog/golang/go-memory-model-deep-dive
1•ibobev•1h ago•0 comments

Building a Plugin System in Go: Make Your Monolith Extensible

https://skoredin.pro/blog/golang/go-plugin-system
1•ibobev•1h ago•0 comments

1Password Chrome extension is incorrectly manipulating <code> blocks

https://www.1password.community/discussions/developers/1password-chrome-extension-is-incorrectly-...
3•josephscott•1h ago•1 comments

Vaccinated dog tests positive for rabies, at least 13 people PEP so far

https://www.cookcountyil.gov/news/cook-county-department-animal-and-rabies-control-confirms-rabie...
19•stockresearcher•1h ago•2 comments

Realtime Raytracing in Bevy 0.18 (Solari)

https://jms55.github.io/posts/2025-12-27-solari-bevy-0-18/
1•ibobev•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•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".