frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Baboon: Data Modeling with Automatic Evolutions

https://github.com/7mind/baboon
1•pshirshov•1m ago•0 comments

A Visual Guide to How the Hong Kong Fire Spread

https://www.bbc.co.uk/news/resources/idt-c9792622-43e7-4b04-8374-2771dce4fcd1
1•skx001•3m ago•0 comments

Airbus issues major A320 recall due to software/radiation problem

https://www.reuters.com/business/aerospace-defense/airbus-issues-major-a320-recall-after-flight-c...
2•thundergolfer•4m ago•0 comments

Relae – Stop losing webhooks with automatic retries and a dead letter queue

https://relaehook.com
1•everydaydev•4m ago•1 comments

FBI RFP for tool to scrape Gab, Parler, 8Kun, and Telegram (5k licenses) [pdf]

https://vault.fbi.gov/contract-15f06722c0000258
3•sans_souse•7m ago•0 comments

Nassau County exec plans wall of surveillance cameras at NYC-Long Island border

https://gothamist.com/news/nassau-county-exec-plans-wall-of-surveillance-cameras-at-nyc-long-isla...
2•geox•11m ago•0 comments

Xkcd: Python Environment

https://m.xkcd.com/1987/
4•thunderbong•14m ago•0 comments

The Origins of Scala (2009)

https://www.artima.com/articles/the-origins-of-scala
2•todsacerdoti•14m ago•0 comments

Buttered Cat Paradox

https://en.wikipedia.org/wiki/Buttered_cat_paradox
1•flyaway123•14m ago•0 comments

Show HN: No Environment Setups Anymore

https://www.gitarsenal.dev/
2•rohan2003•15m ago•0 comments

My Favorite Color Picker

https://github.com/madprops/semicolor
1•caliweed•16m ago•0 comments

Learning Feynman's Trick for Integrals

https://zackyzz.github.io/feynman.html
2•Zen1th•18m ago•0 comments

Canada can become a nation of jailbreakers

https://pluralistic.net/2025/11/28/disenshittification-nation/#post-american-internet
4•samizdis•20m ago•0 comments

NASA's Tess Spacecraft Triples Size of Pleiades Star Cluster

https://science.nasa.gov/missions/tess/nasas-tess-spacecraft-triples-size-of-pleiades-star-cluster/
2•bryanrasmussen•20m ago•0 comments

Love Against Probability

https://www.themarginalian.org/2025/11/24/love-probability/
2•herbertl•20m ago•0 comments

LLM Model Live Ranker

https://metrik-dashboard.vercel.app/
1•mbouassa•21m ago•0 comments

How hidden stars shape our search for technosignatures

https://www.universetoday.com/articles/how-hidden-stars-shape-our-search-for-technosignatures
1•rbanffy•22m ago•0 comments

OpenAI Partners Amass $100B Debt Pile to Fund Its Ambitions

https://www.ft.com/content/5605d086-289e-4b5f-803b-4c13666976a5
4•skx001•22m ago•2 comments

Post-Moore computing: a structural alternative to architecture stagnation

https://zenodo.org/records/17618948
1•flexionU•23m ago•0 comments

Shell climate change report – 28 November 1985

https://stories.workingclasshistory.com/article/10048/shell-climate-change-report
1•MaysonL•23m ago•0 comments

Vibe coding: What is it good for? nothing

https://www.theregister.com/2025/11/24/opinion_column_vibe_coding/
3•dxs•24m ago•0 comments

China's Tech Giants Take AI Model Training Offshore to Tap Nvidia Chips

https://www.ft.com/content/96fe9898-a3a4-4a33-be1d-da06bdb6cb2b
2•skx001•25m ago•0 comments

In Favor of Giving Things Up

https://www.raptitude.com/2025/11/in-favor-of-giving-things-up/
3•herbertl•27m ago•0 comments

AI Agents Care Less About Safety When Under Pressure

https://spectrum.ieee.org/ai-agents-safety
1•rbanffy•27m ago•0 comments

Suwa's C Tutorial

https://usamimi.info/~suwa/ctut.htm
1•trms•29m ago•0 comments

Tested: 1981 Datsun 280ZX Turbo

https://www.caranddriver.com/reviews/a69529696/1981-datsun-280-zx-turbo-archive-test/
2•RickJWagner•29m ago•2 comments

Tech predictions for 2026 and beyond – All Things Distributed

https://www.allthingsdistributed.com/2025/11/tech-predictions-for-2026-and-beyond.html
1•rbanffy•30m ago•0 comments

Be Like Clippy

https://be-clippy.com/
3•Aloha•31m ago•0 comments

Controversial genetics testing startup Nucleus Genomics raises $14M Series A

https://techcrunch.com/2025/01/30/controversial-genetics-testing-startup-nucleus-genomics-raises-...
2•paulpauper•33m ago•0 comments

Scientists may have solved why this ancient, advanced civilization vanished

https://www.washingtonpost.com/climate-environment/2025/11/27/indus-river-valley-civilization-cli...
4•paulpauper•33m 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•6mo 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•6mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•6mo ago
It missed "git switch" and "git restore".