frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Sci-Hub has created a new AI chatbot. Is it any good?

https://cen.acs.org/policy/publishing/Sci-Hub-created-new-AI/104/web/2026/04
1•scubscub•1m ago•0 comments

You can issue a 15-year SSL certificate today. Why almost nobody does

1•panelica•6m ago•1 comments

What it takes to run an AI coworker on iMessage

https://opencomputer.dev/blog/what-it-takes-to-run-an-ai-coworker-on-imessage/
1•iacguy•7m ago•0 comments

The Bitcoin Governance Event Horizon

https://earthchronicles.substack.com/p/the-bitcoin-governance-event-horizon
1•taguniversalsw•8m ago•0 comments

Megalodon: Mass GitHub Repo Backdooring via CI Workflows

https://safedep.io/megalodon-mass-github-repo-backdooring-ci-workflows/
1•pabs3•22m ago•0 comments

Vince Is Dead (2023)

https://tildas2.tildas.org/art/sad/dead.htm
1•kniffy•24m ago•1 comments

Instant YouTube channel analysis using public metrics

1•Aafy•27m ago•0 comments

Draft – Teams of BYOA Collaborating and Building

https://foundryworks.dev/
1•trilobyte•28m ago•1 comments

Didgeridoo playing as alternative treatment for obstructive sleep apnea(2006)

https://pmc.ncbi.nlm.nih.gov/articles/PMC1360393/
2•kelseyfrog•29m ago•0 comments

Google is currently struggling to define words like disregard, stop and ignore

https://www.engadget.com/2179762/google-is-currently-struggling-to-define-words-like-disregard-st...
2•mattas•36m ago•6 comments

Show HN: 1 big microfilm of WAR.GOV/UFO files - 332,144 pages

https://hypergrid.systems/war.gov-ufo-viewer/microfilm5
1•keepamovin•40m ago•0 comments

Malicious Postinstall Hook Found in 700 GitHub Repos, Including Node Projects

https://socket.dev/blog/malicious-postinstall-hook-found-across-700-github-repos
2•882542F3884314B•47m ago•1 comments

FigMirror – Plot your data in a reference paper's style

https://github.com/VILA-Lab/FigMirror
1•xiaohan_zhao•48m ago•0 comments

Shelf – Describe a tool in plain English, get a local app forever

https://getmyshelf.app/
2•nagabandaru•52m ago•2 comments

94% companies will keep spending on AI even when it fails

https://readuncut.com/94-will-keep-spending-on-ai-even-when-it-fails/
3•jslat•56m ago•0 comments

Trump directs legal migrants to return to home country to apply for green cards

https://thehill.com/homenews/administration/5891580-legal-migrants-green-cards/
8•KnuthIsGod•57m ago•2 comments

Laravel-Lang Supply Chain Attack

https://github.com/Laravel-Lang/http-statuses/issues/277
1•varunsharma07•1h ago•1 comments

Nano: Coding agent in under 200 lines

https://github.com/pnegahdar/nano
1•kristianp•1h ago•0 comments

The abstractions in SICP need a revisit

https://www.khola.blog/p/sicp-an-architectural-trace-of-pointer
7•bcapchickadee•1h ago•1 comments

Denuvo has been cracked day 1

https://old.reddit.com/r/CrackWatch/comments/1tkvwbb/legobatmanlegacyofthedarkknightvoices38/
1•lazylion2•1h ago•0 comments

The Prehistory of A.I. Slop

https://www.newyorker.com/magazine/2026/05/25/the-prehistory-of-ai-slop
2•fortran77•1h ago•0 comments

Frustrated franchisee sues Pizza Hut over crappy kitchen AI

https://www.theregister.com/ai-ml/2026/05/19/frustrated-franchisee-sues-pizza-hut-over-crappy-kit...
4•gnabgib•1h ago•1 comments

WordPress 7.0

https://wordpress.org/download/releases/7-0/
1•Curiositry•1h ago•0 comments

Show HN: Claude Code for Customer Support

3•darweenist•1h ago•0 comments

SF Bay Ferry

https://sanfranciscobayferry.com/
1•Austin_Conlon•1h ago•0 comments

FBI director's Based Apparel site has been spotted hosting a 'ClickFix' attack

https://www.pcmag.com/news/kash-patels-apparel-site-is-trying-to-trick-visitors-into-installing-m...
40•bilalq•1h ago•10 comments

Why Your Calls to Congress Matter More Than You Think [Video]

https://odysee.com/@techlore:3/why-your-calls-to-congress-matter-more:6
1•Cider9986•1h ago•0 comments

Notiqo – Visual analytics tracking validation directly from Figma

https://notiqoapp.com/
1•abeltarazona•1h ago•0 comments

Is the Government Running a Dragnet on VPN Users? [video]

https://www.youtube.com/watch?v=hV9QEVf6CgI
1•Cider9986•1h ago•0 comments

The Resilience Premium

https://artsabintsev.substack.com/p/the-resilience-premium
1•Arts86•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•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".