frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The brain's code seems to be in constant flux. Neuroscientists are baffled

https://www.nature.com/articles/d41586-026-01554-0
1•Brajeshwar•2m ago•0 comments

AI-generated abandonware is hollowing out open source

https://leaddev.com/software-quality/ai-generated-abandonware-is-hollowing-out-open-source
1•chhum•4m ago•0 comments

Chat client for Meshtastic LoRa mesh networks in Emacs

https://git.andros.dev/andros/meshtastic.el
2•andros•5m ago•0 comments

Localgcp: LocalStack for GCP, emulating 14 Google Cloud services locally

https://github.com/slokam-ai/localgcp
1•linkdd•5m ago•0 comments

How much should we worry about secretly loyal AIs?

https://www.the-substrate.net/p/how-much-should-we-worry-about-secretly
2•erwald•10m ago•0 comments

Digitally stuck on an island with 30 people

https://isle31.com/
1•vincentlenoach•10m ago•0 comments

Formal Verification Gates for AI Coding Loops

https://reubenbrooks.dev/blog/structural-backpressure-beats-smarter-agents/
1•pyrex41•13m ago•1 comments

How Musk Might Defeat the Statute of Limitations Defense

https://chatlaw.substack.com/p/how-musk-might-defeat-the-statute
1•dsubburam•14m ago•0 comments

Alexander Grothendieck Revolutionized 20th-Century Mathematics

https://www.quantamagazine.org/how-alexander-grothendieck-revolutionized-20th-century-mathematics...
1•digital55•14m ago•0 comments

Data centers loom over Georgia governor race

https://www.politico.com/news/2026/05/19/data-centers-loom-over-georgia-governor-race-00929073
1•1vuio0pswjnm7•14m ago•0 comments

Cybertruck owner believed Elon Musk that it could cross lake – now he's in jail

https://electrek.co/2026/05/19/tesla-cybertruck-owner-believed-elon-musk-lake-jail/
1•neilfrndes•15m ago•0 comments

Awesome database stories from the best

https://github.com/erenworld/awesome-database/
1•erenturkoglu•16m ago•0 comments

Benchmarking AI coding agents for distributed SQL: 350 runs, 17 models

https://www.yugabyte.com/blog/benchmarking-ai-coding-agents-for-distributed-sql-lessons/
1•mityash•17m ago•0 comments

Notes on AI, Labor, and China

https://jasmi.news/p/party-in-the-permanent-underclass
1•ripe•18m ago•1 comments

Co-Scientist: A multi-agent AI partner to accelerate research

https://deepmind.google/blog/co-scientist-a-multi-agent-ai-partner-to-accelerate-research/
1•smooke•18m ago•0 comments

How to set up a secure back end for hosting a shadow library mirror

https://software.annas-archive.gl/AnnaArchivist/annas-archive/-/work_items?show=eyJpaWQiOiIzMDUiL...
1•Cider9986•21m ago•0 comments

Woman dies after falling into NYC manhole

https://abcnews.com/US/woman-dies-after-falling-nyc-manhole/story?id=133109814
1•SilverElfin•22m ago•0 comments

Training a 22MB prompt injection classifier

https://www.stackone.com/blog/training-22mb-prompt-injection-classifier/
1•Hiskias•24m ago•0 comments

Show HN: Google Search Console MCP – read-only, OAuth, free

https://calmseo.com/google-search-console-mcp
2•noahflk•24m ago•0 comments

Denver has a plan to heat and cool buildings without fossil fuels

https://text.npr.org/nx-s1-5734477
3•mooreds•25m ago•0 comments

Gender Gaps in Education and Declining Marriage Rates (2025)

https://opportunityinsights.org/paper/bachelors-without-bachelors/
2•mooreds•26m ago•0 comments

I committed to writing and sharing 30 jokes in 30 days. Here's what I learned

https://pammoore.substack.com/p/i-committed-to-writing-and-sharing
2•mooreds•26m ago•0 comments

Why Aren't Americans Living Longer?

https://now.tufts.edu/2026/03/09/why-arent-americans-living-longer
4•littlexsparkee•27m ago•1 comments

Nobel laureate Olga Tokarczuk apparently used AI to write her latest novel

https://lithub.com/nobel-laureate-olga-tokarczuk-apparently-used-ai-to-write-her-latest-novel/
23•bookofjoe•28m ago•22 comments

Stable Audio 3

https://arxiv.org/abs/2605.17991
3•guardienaveugle•29m ago•0 comments

Russian Troops' Fear Grows as Ukraine AI "Slaughterbot" Drones Headhunt Them

http://www.thelowdownblog.com/2026/05/russian-troops-fear-grows-as-ukraine-ai.html
3•tim333•29m ago•0 comments

California gubernatorial candidate investigation re: payments to influencers

https://www.washingtonpost.com/technology/2026/05/15/tom-steyers-influencer-campaign-triggers-cal...
2•1vuio0pswjnm7•29m ago•0 comments

Google is its own worst enemy

https://disconnect.blog/google-is-its-own-worst-enemy/
2•speckx•30m ago•0 comments

Handcrafted with Care: Alfred's Core Values – Alfred Blog

https://www.alfredapp.com/blog/productivity/handcrafted-with-care-alfreds-values/
2•samtrack2019•31m ago•0 comments

Meta begins 8k job cuts in AI efficiency push

https://www.latimes.com/business/story/2026-05-20/meta-begins-8-000-global-job-cuts-in-ai-efficie...
7•1vuio0pswjnm7•32m 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".