frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

White, Brown, and Fractal Music [pdf]

https://labs.la.utexas.edu/gilden/files/2016/04/WhiteBrownFractalMusic.pdf
1•bariumbitmap•1m ago•1 comments

PSF has withdrawn $1.5M proposal to US Government grant program

https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
1•lumpa•1m ago•0 comments

VOTING - PHP 8.5 Release Page Design Contest

https://github.com/php/web-php/issues/1563
3•el_hacker•2m ago•0 comments

Living in the Shadow of the American Dream

https://dailyyonder.com/commentary-living-in-the-shadow-of-the-american-dream/2025/08/01/
2•mooreds•4m ago•0 comments

When and How Will It Break? (2024)

https://www.aframeworkforthat.com/p/when-and-how-will-it-break
2•mooreds•4m ago•0 comments

XDG Base Directory Specification

https://alchemists.io/articles/xdg_base_directory_specification
4•xpe•5m ago•1 comments

Safe parking lot for unhoused schoolchildren appears to have new lease on life

https://www.cbs8.com/article/news/local/renewed-safe-parking-lot-project-for-unhoused-schoolchild...
2•mooreds•5m ago•0 comments

The Impossible Optimization, and the Metaprogramming to Achieve It

https://verdagon.dev/blog/impossible-optimization
2•verdagon•6m ago•0 comments

Give Your Gums Some Love

https://www.nytimes.com/2025/09/26/well/gum-health-tips.html
2•brandonb•7m ago•0 comments

The Math That Detects Cheating on Sports Bets

https://www.usatoday.com/story/news/nation/2025/10/24/nba-rozier-betting-cheating-math-monitors/8...
2•Bogdanp•7m ago•0 comments

The Fragility of Benchmark Contamination Detection in Reasoning Models

https://arxiv.org/abs/2510.02386
2•PaulHoule•8m ago•0 comments

Pyrex catalog from from 1938 with hand-drawn lab glassware [pdf]

https://exhibitdb.cmog.org/opacimages/Images/Pyrex/Rakow_1000132877.pdf
3•speckx•9m ago•0 comments

Tesla risks losing CEO Musk if $1T pay package isn't approved, board chair says

https://www.cnbc.com/2025/10/27/tesla-musk-pay-shareholder-vote.html
2•zerosizedweasle•10m ago•3 comments

Medium Hid My Subscribers: Why You Must Own Your Audience

https://meysam.io/blog/medium-hid-subscribers-own-your-audience/
2•meysamazad•11m ago•0 comments

Do We Still Need OCR?

https://pageindex.ai/blog/do-we-need-ocr
2•mingtianzhang•12m ago•1 comments

What if Abraham Lincoln had a Smartphone?

https://calnewport.com/what-if-lincoln-had-a-smartphone/
3•skadamat•12m ago•1 comments

AI sets up Kodak moment for global consultants

https://www.reuters.com/commentary/breakingviews/ai-sets-up-kodak-moment-global-consultants-2025-...
3•walterbell•13m ago•0 comments

Docfit4AI – Document Assessment Platform

https://github.com/docfitlabs/docfit4ai
2•docfitlabs•14m ago•1 comments

Nvidia is reportedly planning a robotaxi project to challenge Tesla, Waymo

https://kr-asia.com/nvidia-is-reportedly-planning-a-robotaxi-project-to-challenge-tesla-waymo
3•vinhnx•15m ago•1 comments

Show HN: nblm - Rust CLI/Python SDK for NotebookLM Enterprise automation

https://github.com/K-dash/nblm-rs
2•K-dash•15m ago•0 comments

Ask HN: How to manage multiple AI agents in production?

3•pingu-73•17m ago•0 comments

Bugbunny: Securing VibeCoded Apps

2•zaddyzaddy•17m ago•0 comments

Show HN: Rethinking the Interface for Vibe Coding

https://mauriciogomes.com/rethinking-the-interface-for-vibe-coding
5•mauricio•18m ago•0 comments

Microsoft in court for allegedly misleading Australians over 365 subscriptions

https://www.accc.gov.au/media-release/microsoft-in-court-for-allegedly-misleading-millions-of-aus...
26•edwinjm•19m ago•4 comments

Show HN: ChatHawk – Stop Copy-Pasting the Same Question Across Every AI Model

https://chathawk.co
2•chadlad101•19m ago•0 comments

The Smallest Pixel in the World

https://www.uni-wuerzburg.de/en/news-and-events/news/detail/news/hecht-science-advances/
2•JeanKage•20m ago•0 comments

ChatGPT ads are about to drop

https://old.reddit.com/r/marketing/comments/1oh7heh/chatgpt_ads_are_about_to_drop/
4•pavel_lishin•22m ago•1 comments

World Bank Restructuring: A Retreat from Research Quality?

https://www.cgdev.org/blog/world-bank-group-reorganization-retreat-research-quality
2•alphabetatango•25m ago•0 comments

Pivoting from Auth0 to PHP Symfony

https://browsely.ai/blog/pivot-auth0-to-symfony
3•TomvdPeet•25m ago•0 comments

Carwashes with Halloween Twist

https://www.npr.org/2025/10/27/nx-s1-5566674/haunted-car-wash-halloween
3•ninju•26m 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•5mo ago

Comments

epmatsw•5mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•5mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•5mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•5mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•5mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•5mo 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•5mo 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•5mo 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•5mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•5mo 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•5mo 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•5mo 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•5mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•5mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•5mo ago
Both are essential.
realaleris149•5mo ago
There are other commands?
incomplete•5mo 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•5mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•5mo ago
It missed "git switch" and "git restore".