frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Robot LCD display face with a 3D printed Lego helmet

https://blog.adafruit.com/2026/03/03/robot-lcd-display-face-with-a-3d-printed-lego-helmet/
1•tzury•24s ago•0 comments

The Best Liar

https://medium.com/luminasticity/the-best-liar-4f036f78b601
1•bryanrasmussen•1m ago•1 comments

A survey of write protect notches on floppy disks and other media

https://devblogs.microsoft.com/oldnewthing/20260303-00/?p=112104
2•ingve•5m ago•0 comments

OpenWrt 25.12.0 – Stable Release

https://openwrt.org/releases/25.12/notes-25.12.0
1•giuliomagnifico•6m ago•0 comments

Attorneys get majority of payouts from handicap-accessible website lawsuits

https://www.wsbtv.com/news/local/attorneys-getting-most-money-thousands-lawsuits-handicap-accessi...
3•gosub100•9m ago•1 comments

Show HN: Fly anywhere on Earth – just type and take off

https://worldflightsim.com/beta/
2•fmfamaral•9m ago•0 comments

Bet on German Train Delays

https://bahn.bet
1•indiantinker•15m ago•0 comments

Agentmap – Like SKILL spec but for code. A frontmatter for source code files

https://github.com/remorses/agentmap
1•xmorse•15m ago•1 comments

Iran Strikes U.S. Military Communication Infrastructure in Mideast

https://www.nytimes.com/2026/03/03/world/middleeast/iran-strikes-us-military-communication-infras...
2•TheAlchemist•15m ago•0 comments

What 127.5M forms can tell you about the state of front-end regex input v

https://amandastjerna.se/blog/127-million-forms/
2•fanf2•15m ago•0 comments

The next era of social media: built and run in Europe, ruled by our laws

https://www.eurosky.tech
1•doener•18m ago•0 comments

American Snacking Habits Are Transforming the Restaurant Industry

https://www.theatlantic.com/health/2026/03/restaurant-snack-meal-menu/686220/
1•fortran77•21m ago•2 comments

Solidjs releases 2.0 beta – The <Suspense> is Over

https://github.com/solidjs/solid/releases/tag/v2.0.0-beta.0
1•evertheylen•22m ago•1 comments

The Corporate Bullshit Receptivity Scale

https://www.sciencedirect.com/science/article/abs/pii/S0191886926000620
1•robtherobber•23m ago•0 comments

Bugsight – CLI tool that analyzes errors and suggests fixes

https://github.com/Arnel-rah/bugsight
1•nel123•24m ago•0 comments

The Context Optimization Layer for LLM Applications

https://github.com/chopratejas/headroom
1•selvan•25m ago•0 comments

Show HN: Ungrind – the solopreneur CRM that updates itself

https://ungrind.ai
1•magnumpowerz•26m ago•0 comments

I built Formguard – form back end without DB or APIs

https://formguard.strivio.world
1•sh20raj•27m ago•1 comments

Show HN: CUP – MCP but for desktop UI (open spec for computer use agents)

https://github.com/computeruseprotocol/computeruseprotocol
2•k4cper-g•27m ago•2 comments

Google Analytics Made Beautiful

https://analyticsma.de/
2•daniloao•28m ago•0 comments

Ask HN: How do you catch OpenAPI drift before the UI breaks?

1•losalah•28m ago•2 comments

ClawOS:Linux Panel for OpenClaw,nanobot,picoclaw,nullclaw

https://github.com/mrytsr/clawos
1•mrytsr•29m ago•0 comments

LocalStack: Community edition abandoned, users will need to create an account

https://blog.localstack.cloud/the-road-ahead-for-localstack/
1•greatgib•32m ago•0 comments

Show HN: You don't forget password, You just forget pattern

https://drp.kingname.info/
1•kingname•33m ago•1 comments

CIA working to arm Kurdish forces to spark uprising in Iran, sources say

https://www.cnn.com/2026/03/03/politics/cia-arming-kurds-iran
3•Imustaskforhelp•33m ago•3 comments

Which LLMs fold under pressure? We made 6 LLMs argue 300 hard cases to find out

https://servanda.ai/benchmarks/the-post-training-stress-test
2•luke14free•33m ago•1 comments

From RGB to L*a*b* color space (2024)

https://kaizoudou.com/from-rgb-to-lab-color-space/
1•kqr•33m ago•0 comments

Show HN: SFT to convert a base language model into a conversational chat model

https://github.com/onurkanbakirci/Llama-2-7b-oasst-sft
1•onurkanbkrc•33m ago•0 comments

OpenAI in talks to deploy AI across NATO classified networks

https://www.marketscreener.com/news/openai-in-talks-to-deploy-ai-across-nato-classified-networks-...
1•_____k•34m ago•0 comments

Donx64mcp-dbg – an injected DLL debugger toolkit with an MCP server for x64 apps

https://github.com/d0nk3yhm/donx64mcp-dbg
1•d0nk3yhm•34m 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•10mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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