frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Study: Single dose of psilocybin provided rapid relief from depression

https://news.ki.se/single-dose-of-psilocybin-provided-rapid-relief-from-depression-in-new-study
1•giuliomagnifico•2m ago•0 comments

Agent Behavioral Contracts

https://arxiv.org/abs/2602.22302
1•reiter•2m ago•0 comments

The world is on track to miss its health targets

https://www.technologyreview.com/2026/05/15/1137270/the-world-is-on-track-to-miss-its-health-targ...
1•joozio•3m ago•0 comments

Britain's latest civil servant is a chatbot trained on Gov.uk misery

https://www.theregister.com/public-sector/2026/05/15/britains-latest-civil-servant-is-a-chatbot-t...
1•YeGoblynQueenne•4m ago•0 comments

It's set up, not setup: Scraping GitHub for grammar errors

https://ss32.github.io/set_up_not_setup/
1•disastronaut•5m ago•0 comments

Linkup – Swipe to find cofounders, developers, designers and startup teammates

https://linkup-nine-ruddy.vercel.app/
1•tanakabuilds•10m ago•0 comments

The Iliad Intensive Course Materials

https://www.lesswrong.com/posts/dWQnLi7AoKo3paBXF/the-iliad-intensive-course-materials
1•pykello•10m ago•0 comments

Malicious node-IPC versions published to NPM

https://www.stepsecurity.io/blog/node-ipc-npm-supply-chain-attack
1•rvz•21m ago•0 comments

Distributing the Keys for Private Access to the Web

https://cdt.org/insights/distributing-the-keys-for-private-access-to-the-web/
1•grittygrease•25m ago•0 comments

How an Australian Teen Team Is Making Radio Astronomy Affordable for Schools

https://mag.openrockets.com/p/how-an-australian-teen-team-is-making-radio-astronomy-affordable-fo...
1•openrockets•27m ago•0 comments

How to background play without YouTube Premium on iPhone

1•no_creativity_•29m ago•0 comments

Ascetic Computing

https://ratfactor.com/ascetic-computing
1•shikaan•32m ago•0 comments

Automated AI-Based Pigeon Defense System

https://old.reddit.com/r/SideProject/comments/1s9ywir/automated_pigeon_defense_system/
1•muxamilian•36m ago•1 comments

Nginx Rift

https://depthfirst.com/nginx-rift
1•saikatsg•37m ago•0 comments

Year Anniversary of Warcraft II: Beyond the Dark Portal

https://www.jorsys.org/archive/may_2026.html#newsitem_2026-05-16T10:19:51Z
1•sjoblomj•40m ago•0 comments

Why is it called Kent House?

https://diamondgeezer.blogspot.com/2026/05/kent-house.html
2•susam•46m ago•0 comments

Morley Theorem

https://math.stackexchange.com/questions/5089222/can-this-angle-triplication-construction-be-cons...
1•tzury•48m ago•0 comments

PSVL 1.0 – The most comprehensive source-visible license (276 clauses)

https://github.com/BMBOMICH/PSVL
2•BMBOMICH•51m ago•0 comments

Prime visualisations – or what is the 67 meme

https://github.com/rayking99/primestuff
3•jasepickup•51m ago•1 comments

Setting up an AI-native organization

https://aweb.ai/blog/ai-first-company-howto
3•juanre•53m ago•9 comments

Anker PowerConf C200: a case study in webcam security theatre

https://bearbin.net/blog/2026/c200-webcam-security-theatre
2•bearbin•57m ago•0 comments

A Single Neuron Is Sufficient to Bypass Safety Alignment in LLMs

https://arxiv.org/abs/2605.08513
3•stared•1h ago•0 comments

Java Virtual Machine for Dotnet

https://ikvm.org/
3•wolfi1•1h ago•0 comments

Show HN: Offline voice to text and AI keyboard

https://apps.apple.com/us/app/dictawiz-voice-notes-recorder/id6759256382
3•kcordoc•1h ago•0 comments

Show HN: Triangle Layout Normal Evaluator

https://las3rlars.github.io/normalEvaluator/index.html
2•las3rlars•1h ago•0 comments

Futhark by Example

https://futhark-lang.org/examples.html
18•tosh•1h ago•2 comments

Performance in BQN versus C

https://mlochbaum.github.io/BQN/implementation/versusc.html
2•tosh•1h ago•0 comments

Reading code instead of writing code: The underestimated senior discipline

https://www.heise.de/en/blog/Reading-code-instead-of-writing-code-The-underestimated-senior-disci...
5•goloroden•1h ago•1 comments

What rebuilding AlphaGo teaches us about self-play, RL, and future of LLMs [video]

https://www.youtube.com/watch?v=X_ZVSPcZhtw
3•vismit2000•1h ago•0 comments

We should federally tax Tokens at the Provider level

https://twitter.com/mcuban/status/2055399906127344068
3•armcat•1h ago•1 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".