frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why Some Men Pretend to Work 80-Hour Weeks (2015)

https://hbr.org/2015/04/why-some-men-pretend-to-work-80-hour-weeks
1•dvfjsdhgfv•51s ago•1 comments

You Are Not the Code

https://double-dissent.fika.bar/you-are-not-the-code-01KBYRMJG8W0PC853BHAKW5JC4
1•txus•1m ago•0 comments

With Less Regulation, Your Oura Ring Could Do More

https://www.wsj.com/opinion/with-less-regulation-your-oura-ring-could-do-more-af90a76d
1•Bostonian•2m ago•1 comments

Hackers Stole Pornhub Users' Data for Extortion

https://www.wired.com/story/security-news-this-week-hackers-stole-millions-of-pornhub-users-data-...
1•fleahunter•7m ago•0 comments

Deploy your podcast server fed from from YouTube channels

https://github.com/n0vella/yt2podcast
2•n0vella•9m ago•1 comments

This Rocket Engine Wasn't Designed by Humans [video]

https://www.youtube.com/watch?v=6Xx1GXjRbMk
1•zeristor•16m ago•1 comments

Y Combinator

https://twitter.com/tsoding/status/2002207228070105287
1•throwaway2027•18m ago•0 comments

Airbus moving critical systems away from AWS, Google, and MS

https://old.reddit.com/r/europe/comments/1pqucbz/airbus_moving_critical_systems_away_from_aws/
2•taubek•19m ago•0 comments

delete me babeh

1•casenmgreen•22m ago•0 comments

Qntm's Power Tower Toy

https://qntm.org/files/knuth/knuth.html
1•ravenical•24m ago•0 comments

Do You Know What Time It Is? If You're on Mars, Now You Do

https://www.universetoday.com/articles/do-you-know-what-time-it-is-if-youre-on-mars-now-you-do
1•rbanffy•24m ago•0 comments

Building the AI Factory Datacenter

https://www.nextplatform.com/2025/12/18/building-the-ai-factory-datacenter/
1•rbanffy•25m ago•0 comments

Revenge of the Dilettantes

https://contraptions.venkateshrao.com/p/revenge-of-the-dilettantes
1•jger15•27m ago•0 comments

Making Contrails Visible: AI Insights into Aviation's Climate Impact Using Sat

https://zenodo.org/records/17534712
1•complex_pi•32m ago•1 comments

Computer Crime in 1980 at DePaul University [video]

https://www.youtube.com/watch?v=Z8eh4v7z2Rk
1•SirFatty•35m ago•2 comments

Amstrad PPC 640 cyberdeck gets a Raspberry Pi makeover

https://www.raspberrypi.com/news/amstrad-ppc-640-cyberdeck-gets-a-raspberry-pi-makeover/
1•rcarmo•36m ago•0 comments

Generative AI hype distracts us from AI's more important breakthroughs

https://www.technologyreview.com/2025/12/15/1129179/generative-ai-hype-distracts-us-from-ais-more...
1•adrianhoward•37m ago•0 comments

AI-driven RSS feed summarizer

https://github.com/rcarmo/feed-summarizer
1•rcarmo•38m ago•0 comments

The Secret to AI-assisted Coding

https://blog.hermesloom.org/p/the-secret-to-ai-assisted-coding
1•sigalor•39m ago•1 comments

Show HN: Schema Gateway – type‑safe API gateway with schema‑driven validation

https://github.com/AncientiCe/schema-gateway
1•iCeGaming•39m ago•0 comments

From stagnation to sustained growth (Nobel 2025) [pdf]

https://www.nobelprize.org/uploads/2025/10/popular-economicsciences2025-3.pdf
1•vogu66•40m ago•1 comments

Why Software Processes Exist (Hint: Not Why You Think)

https://blog.alash3al.com/why-software-processes-exist-hint-not-why-you-think
2•alash3al•42m ago•1 comments

Micron's Blowout Results Are Bad News for Anyone Buying a New PC Next Year

https://partners.wsj.com/ntt-data/ai-to-impact/emotion-trust-and-the-ai-can-technology-build-loya...
1•testrun•43m ago•1 comments

Are you vibe-coding an open source project?

1•dash2•44m ago•0 comments

Micron outlines grim outlook for DRAM supply

https://www.tomshardware.com/pc-components/dram/micron-outlines-grim-outlook-for-dram-supply-in-f...
3•throwaway270925•47m ago•1 comments

Warren Buffet Clip Archive

https://buffett.cnbc.com/warren-buffett-archive/
1•super256•55m ago•0 comments

I built FoodieLens because ordering food should not be a gamble

https://foodielens.app/start
1•MikeyLi•1h ago•1 comments

Gaza: The Reckoning by B. Macaes

https://brunomacaes.substack.com/p/gaza-the-reckoning
7•HSO•1h ago•2 comments

Taiwan considers TSMC export ban

https://www.tomshardware.com/tech-industry/semiconductors/taiwan-considers-tsmc-export-ban-that-w...
6•throwaway270925•1h ago•0 comments

When to pay down tech debt

https://www.proactiveengineer.com/p/26-when-to-pay-down-tech-debts
2•shehabas•1h 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".