frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Let's Embed a Go Program into the Linux Kernel

https://sigma-star.at/blog/2023/07/embedded-go-prog/
1•birdculture•21s ago•0 comments

People power: How LLMs invert tech diffusion

https://karpathy.bearblog.dev/power-to-the-people/
1•keepamovin•49s ago•0 comments

System76 Launches Pop _OS 24.04 LTS with Cosmic Desktop

https://www.phoronix.com/news/System76-Ships-Pop-OS-24.04
1•abdullah2993•4m ago•0 comments

Show HN: Toqen – privacy-first authentication flow with QR and TOTP

https://www.toqen.app/
1•antonmb•5m ago•0 comments

OpenAI latest model ChatGPT 5.2 fails a simple logic problem

1•lihaciudaniel2•6m ago•2 comments

Baseline: Operation-Based Evolution and Versioning of Data

https://arxiv.org/abs/2512.09762
2•mrauha•14m ago•0 comments

Smartphone Without a Battery (2022)

https://yaky.dev/2022-09-06-smartphone-without-battery/
2•MYEUHD•14m ago•0 comments

The tiniest yet real telescope I've built

https://lucassifoni.info/blog/miniscope-tiny-telescope/
14•chantepierre•15m ago•1 comments

LaunchSoon: Convert social followers to email subscribers before you launch

https://launchsoon.io/
1•dzungfz•17m ago•0 comments

Revisiting Quantum Supremacy: Simulating Sycamore-Class Circuits Using HPC

https://arxiv.org/abs/2512.07311
1•ulam2•22m ago•0 comments

AI Accountants – FINA AI

https://fina.team/
1•elevateyou•22m ago•2 comments

Show HN: Stimm – Low-Latency Voice Agent Platform (Python/WebRTC)

https://github.com/stimm-ai/stimm
2•stimm•26m ago•1 comments

Swift Configuration 1.0 Released

https://swift.org/blog/swift-configuration-1.0-released/
2•frizlab•27m ago•0 comments

Architecture Decision: Why We Moved from Web to Desktop for Reddit Automation

https://www.wappkit.com/blog/why-desktop-architecture
1•asphero•29m ago•0 comments

Disco is Google's new generative AI web app experience

https://blog.google/technology/google-labs/gentabs-gemini-3/
1•ChrisArchitect•31m ago•1 comments

Crumbling New York Parking Garages Get a New Life

https://www.nytimes.com/2025/12/10/realestate/parking-garage-apartment-housing-conversion.html
2•JumpCrisscross•31m ago•0 comments

Ntoh*/hton* is a bad API

https://purplesyringa.moe/blog/ntoh-hton-is-a-bad-api/
1•PaulHoule•31m ago•0 comments

AI Could Be the Railroad of the 21st Century. Brace Yourself

https://www.derekthompson.org/p/artificial-intelligence-could-be
2•DeathArrow•34m ago•1 comments

MCP Joins the Linux Foundation

https://github.blog/open-source/maintainers/mcp-joins-the-linux-foundation-what-this-means-for-de...
3•senorqa•36m ago•3 comments

Zip Files as (Simple) Key-Value Stores

https://benjamincongdon.me/blog/2025/12/11/Zip-Files-as-Simple-Key-Value-Stores/
1•ingve•41m ago•0 comments

Ford's Car of the Future, Hatched in a Skunk Works Near Los Angeles

https://www.nytimes.com/2025/12/11/business/ford-electric-vehicles-china.html
1•ianrahman•42m ago•0 comments

Anthropic Donated to Linux Agenic AI Foundation(AAIF)

https://aaif.io/
1•zkitty•44m ago•2 comments

LastPass fined £1.2M by ICO for data breach

https://ico.org.uk/about-the-ico/media-centre/news-and-blogs/2025/12/password-manager-provider-fi...
1•edent•45m ago•0 comments

Show HN: Skyulf – Open-source, self-hosted MLOps platform

https://github.com/flyingriverhorse/Skyulf
2•flyingriverhrse•45m ago•0 comments

A Wireless Camera Inside a Walnut [video]

https://www.youtube.com/shorts/WvDJVN51uvA
1•thunderbong•47m ago•0 comments

Vacuum Is a Lie (About Your Indexes)

https://boringsql.com/posts/vacuum-is-lie/
2•radimm•48m ago•0 comments

Show HN: Kirkify – AI Face Swap for Charlie Kirk Memes

https://kirkify.uk
2•951560368•48m ago•0 comments

You find, we'll shred: how orcas and dolphins hunt salmon as a team

https://www.thetimes.com/uk/science/article/orcas-dolphins-filmed-collaborating-first-time-hunt-d...
1•petethomas•49m ago•1 comments

State of Haskell Survey 2025

https://www.surveymonkey.com/r/6M3Z6NV
2•mchav•49m ago•0 comments

Coach Claude

https://github.com/ClutchEngineering/coach-claude
1•handfuloflight•50m 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".