frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China unveils a portable anti-drone laser that can down drones from 1,600ft away

https://www.tomshardware.com/tech-industry/china-shows-off-a-backpack-sized-anti-drone-laser-that...
1•giuliomagnifico•2m ago•0 comments

Kalman Filter

https://en.wikipedia.org/wiki/Kalman_filter
1•1e1a•2m ago•0 comments

MCP server that lets Claude click menus on your Mac and fix its own mistakes

https://github.com/m0rvayne/mcp-osascript
1•m0rvayne•4m ago•0 comments

Softmax-free ~354M: tile-skip kernels for long-context VRAM savings (sparse)

https://huggingface.co/Tripstoph/RRT-Foundation
1•Tripstoph•5m ago•0 comments

The unreasonable effectiveness of LLMs for auditing Rust code

https://shnatsel.medium.com/the-unreasonable-effectiveness-of-llms-for-auditing-rust-code-d4df8bf...
1•heinrich5991•6m ago•0 comments

Bell.com

https://bell.com
1•tentacleuno•14m ago•0 comments

CTOs Agree: Cognitive Debt Is the New Technical Debt

https://shiftmag.dev/ctos-agree-cognitive-debt-is-the-new-technical-debt-10229/
2•sxx0•18m ago•0 comments

Sword Swallowing and Its Side Effects

https://pmc.ncbi.nlm.nih.gov/articles/PMC1761150/
2•nephihaha•20m ago•0 comments

What does it mean for AI to be democratic?

https://blog.andymasley.com/p/what-does-it-mean-for-ai-to-be-democratic
1•jger15•20m ago•0 comments

Hidden Tunnels Dating Back to Henry VIII's Reign Discovered at Boarding School

https://www.smithsonianmag.com/smart-news/hidden-tunnels-dating-back-to-henry-viiis-reign-were-di...
1•bookofjoe•22m ago•0 comments

POSBox – Free Open Source Point of Sale System

https://github.com/train2128/POSBox---Point-of-Sale-System
1•train212•23m ago•0 comments

NSA director: 'Mythos "broke into almost all of our classified systems in hours"

https://www.economist.com/briefing/2026/06/14/donald-trumps-blocking-of-anthropic-is-capricious-a...
4•ricksunny•27m ago•0 comments

Building a Swarm of Telescopes to Find Life

https://www.universetoday.com/articles/astronomers-want-to-build-a-swarm-of-telescopes-to-find-life
1•tcp_handshaker•27m ago•0 comments

What the Wounds Are Telling Us (2025)

https://www.volkskrant.nl/kijkverder/v/2025/gunshot-palestine-children-israel-war~v1819649/
1•tcp_handshaker•28m ago•0 comments

Geo-engineering to protect against solar storms

https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2025SW004846
2•dylancollins•30m ago•1 comments

Survival Ball

https://survivalball.com/
1•lopespm•30m ago•0 comments

Jazzy – Productive, Developer-Friendly Web Framework for Nim

https://github.com/canermastan/jazzy-framework
1•TheWiggles•31m ago•0 comments

SmolSharp – Extremely small standalone C# executables using NativeAOT

https://github.com/ascpixi/smolsharp
1•breve•34m ago•0 comments

DeepSWE Benchmark updated with GLM 5.2 and updated results for other models

https://deepswe.datacurve.ai/
1•theanonymousone•36m ago•0 comments

A controlled hypothermia cure for Lyme disease [video]

https://www.youtube.com/watch?v=jwtPtlcNXEs
1•cromka•37m ago•0 comments

Show HN: Built this tool to solve my marketing content problem

https://www.clickcast.tech/
1•modulusme•37m ago•0 comments

CAD vs. CAD Tournament

https://www.tootalltoby.com/Tournaments/
1•dgellow•43m ago•0 comments

[$29.99 Lifetime → Free – The App Blocker That Makes You

https://old.reddit.com/r/AppHookup/comments/1u8yrff/ios_offkit_2999_lifetime_free_the_app_blocker/
1•nickfthedev•47m ago•0 comments

Ethereum's biggest 'sandwich' bot drained of $7.5M in ironic exploit

https://www.techsentiments.com/article/2026/06/21/ethereums-biggest-sandwich-bot-drained-of-75-mi...
3•rajsuper123•48m ago•0 comments

Can someone try to get my websites admin panel?

https://gag.gg/
1•nottakens•49m ago•1 comments

A neuro-adaptive OS concept for energy efficiency and execution-path attestation

https://github.com/Jtr85/paper-os-neurale
1•JTR85•51m ago•0 comments

Form Before Data: The Real Bottleneck for Physical AI

https://adlrocha.substack.com/p/adlrocha-form-before-data-the-real
2•adlrocha•52m ago•0 comments

Steve Gull's Challenge

https://gill1109.com/2021/01/14/steve-gulls-challenge-an-impossible-monte-carlo-simulation-projec...
2•jruohonen•56m ago•0 comments

Scrutari – forensic statistical analyzer for opaque firmware blobs

https://codeberg.org/xvilka/scrutari
1•xvilka•58m ago•0 comments

The AI Definition of Done: Human in the Loop Is Not a Quality Standard

https://age-of-product.com/ai-definition-of-done/
1•swolpers•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".