frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Perry: A native TypeScript compiler written in Rust

https://github.com/PerryTS/perry
1•cwaffles•1m ago•0 comments

Show HN: Summarizer.Free – Too Long? Get the TL;DR

https://summarizer.free/
1•nadermx•1m ago•0 comments

The Problem with Optionality

https://ofdollarsanddata.com/the-problem-with-optionality/
1•JumpCrisscross•4m ago•0 comments

Show HN: NMEMORY – a memory for coding agents that says when it doesn't know

https://github.com/menot-you/n-memory
1•tiago-im•4m ago•0 comments

Over 20k precolonial earthworks in the Southwest Amazonia

https://www.nature.com/articles/s41586-026-10835-7
1•sampo•4m ago•0 comments

Servo now passes 100% of WPT tests for the WebCrypto API

https://bsky.app/profile/servo.org/post/3mrrgsm5fw226
1•msub2•4m ago•1 comments

Launching Riidact, an on-device PII tool

https://www.riidact.com/
1•ahmedcader•4m ago•1 comments

Banks Line Up $15B of Debt for Anthropic with Google Aid

https://www.bloomberg.com/news/articles/2026-07-30/banks-line-up-15-billion-of-debt-for-anthropic...
1•petethomas•6m ago•0 comments

Firebender: Android AI Coder

https://firebender.com/
1•handfuloflight•7m ago•0 comments

Microsoft's $450B Jump Is Biggest in Stock Market History

https://www.bloomberg.com/news/articles/2026-07-30/microsoft-eyes-history-with-490-billion-pop-in...
1•signatoremo•7m ago•0 comments

The Right to Cut: What Gabon Taught Me About Sovereignty

https://francois.aichelbaum.com/2026/07/21/what-gabon-taught-me-about-sovereignty
1•JumpCrisscross•7m ago•0 comments

Instrument an LLM Agent with OpenTelemetry · TripleCloud Blog

https://blog.triplecloud.tech/posts/instrument-llm-agent-opentelemetry
1•mineev•9m ago•0 comments

Amazon.com Announces Second Quarter Results [pdf]

https://s2.q4cdn.com/299287126/files/doc_earnings/2026/q2/earnings-result/AMZN-Q2-2026-Earnings-R...
2•mfiguiere•9m ago•0 comments

Show HN: WorldDiT – a 399M world-action model for simulated robot tasks

https://huggingface.co/bageldotcom/worlddit
1•royychacker•10m ago•0 comments

Discovery of a multicomponent alloy forged by the Hiroshima atomic blast

https://www.science.org/doi/10.1126/sciadv.aeg8299
1•_____k•10m ago•0 comments

Netnet.studio, an open-source hypermedia studio for the Web's creative potential

https://netnet.studio/docs/
2•interweb•11m ago•0 comments

Five conversion leaks on a B2B landing page (with replacement copy)

https://firstfold-fix-launch.ian-jael-mg.chatgpt.site/sample
2•firstfoldfix•12m ago•0 comments

Show HN: TaskView – self-hosted project management for teams

https://github.com/Gimanh/taskview-community
2•rg1527•13m ago•0 comments

Amazon accidentally spent $1.8M using Claude for a menial coding task, went

https://www.tomshardware.com/tech-industry/artificial-intelligence/amazon-accidentally-spent-usd1...
1•sbulaev•13m ago•1 comments

Public Suffix List

https://publicsuffix.org/list/
1•colinprince•14m ago•0 comments

Auto-Activation Is Now Native in Flox

https://flox.dev/blog/auto-activation-is-now-native-in-flox/
2•ronef•16m ago•1 comments

If PHP Were British (2011)

https://aloneonahill.com/blog/if-php-were-british/
1•downbad_•16m ago•0 comments

Show HN: Name100Challenge – name 100 famous women in 12 minutes

https://name100challenge.com/
2•bikai9289•16m ago•2 comments

A DIY Temperature Controlled Incubator (Or...just drill a hole in a mini-fridge)

https://chillphysicsenjoyer.substack.com/p/a-diy-temperature-controlled-incubator
2•crescit_eundo•19m ago•0 comments

Himalaya – CLI to Manage Emails

https://github.com/pimalaya/himalaya
1•amai•19m ago•1 comments

Fotolista

https://fotolista.es/
1•kumy•20m ago•1 comments

I Believe in You (2015)

https://creativeleadership.com/cl/i-believe-in-you
1•herbertl•20m ago•0 comments

Invisible Magic Number

https://en.wikipedia.org/wiki/Byte_order_mark
1•interweb•20m ago•0 comments

Made by Human, Not by Gen-AI

https://www.by-human.net/
2•monax•21m ago•0 comments

Google Search on Firefox Without AI

https://chsxf.dev/2026/07/27/18-firefox-setting-up-google-search-without-ai.html
2•speckx•22m 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".