frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Eccles-WASM – Zero-heap C99 WebAssembly runtime for microcontrollers

https://github.com/Igwe-Starking/eccles-rtmem
1•igwe-starking•1m ago•0 comments

The Making of Anthropic [video]

https://www.youtube.com/watch?v=sof3vW4mHTs
1•vismit2000•2m ago•0 comments

Mysterious Mercury about to get a visitor – after spacecraft's eight-year voyage

https://www.bbc.com/news/articles/c39w9l4v1p9ro
1•neversaydie•3m ago•0 comments

Outage Chaos: Who Turned Off All the Computer?

https://www.eff.org/deeplinks/2026/11/outage-chaos-who-turned-all-computer
1•DeepLogin•3m ago•0 comments

Show HN: Eccles-WASM – Zero-heap C99 WebAssembly runtime for microcontrollers

1•igwe-starking•4m ago•0 comments

Apple is building an AI agent

https://www.theverge.com/tech/1038227/apple-ai-agent-engineer-job-listing
2•lavendermon•10m ago•1 comments

The Cottage Industry That Is the AI Training Data Market

https://twitter.com/DeepInsightLabs/status/2123721278112911860
1•nlpnerd•10m ago•0 comments

Attackers hid M365 takeovers with inbox rules named "a", "cc" and " "

https://www.reco.ai/blog/three-characters-no-conditions-an-m365-session-theft-intrusion-that-move...
1•daretograsp•11m ago•0 comments

Show HN: Heartpad – send a heartbeat you can feel on a MacBook trackpad

https://heartpad.app/
1•vikasghodke•14m ago•0 comments

The History of Logic [video]

https://www.youtube.com/watch?v=-wgMQcip24s
1•nill0•16m ago•0 comments

A Stroll Along the South Bank, London

https://brajeshwar.com/misc/london-southbank/
1•Brajeshwar•16m ago•0 comments

New report documents authoritarian use of technology across the globe

https://edri.org/our-work/new-report-documents-authoritarian-use-of-technology-across-the-globe/
1•DeepLogin•18m ago•0 comments

Why do tech leaders sound so illogical and off-putting?

https://www.theatlantic.com/technology/2026/11/silicon-valley-model-collapse/689505/
7•pseudolus•19m ago•3 comments

Serverless, Cheaterless Magic: The Gathering

https://chiplis.com/blog/serverless-cheaterless-magic
1•khaliostr•19m ago•0 comments

TSMC Explains Semiconductor Chips in 3 Levels – TSMC × Wired [video]

https://www.youtube.com/watch?v=1DVAs2fKCmQ
2•vismit2000•19m ago•0 comments

Intuit to sell Mailchimp to Bending Spoons for $3.68B

https://www.cnbc.com/2026/11/19/intuit-mailchimp-sale-bending-spoons.html
6•pseudolus•24m ago•0 comments

Pill to treat pancreatic cancer hailed as 'biggest breakthrough in decades'

https://www.theguardian.com/society/2026/nov/20/pill-pancreatic-cancer-breakthrough-daraxonrasib
2•Gupie•24m ago•0 comments

Lenders aim to bar SpaceX from launching $40B of chips into orbit

https://www.ft.com/content/33b5643c-2957-4d42-9116-5e34a3c54e29
3•ryzvonusef•24m ago•2 comments

Same Streets, Different Empires: The Hidden Narrative of Map Copyright

https://blogs.loc.gov/maps/2026/11/same-streets-different-empires/
1•bryanrasmussen•28m ago•0 comments

How to tell if a Reddit post is AI: which signs got more common

https://kissmypost.com/research/how-to-tell-if-a-reddit-post-is-ai
1•sibxog-6Zotpy-g•29m ago•0 comments

How much of Reddit is bots?

https://kissmypost.com/research/how-much-of-reddit-is-bots
2•sibxog-6Zotpy-g•30m ago•0 comments

The Use of AI-Based Tools to Find Bugs in Open Source Software

https://www.haproxy.com/blog/on-the-use-of-ai-based-tools-to-find-bugs-in-open-source-software
2•hosteur•33m ago•0 comments

Bending Spoons has entered into a definitive agreement to acquire Mailchimp

https://www.businesswire.com/news/home/20261119179325/en/Bending-Spoons-has-entered-into-a-defini...
1•sdoering•35m ago•0 comments

Chrome Extension That Shows Everyone's TC on LinkedIn

https://chromewebstore.google.com/detail/paypeek-total-comp-estima/aenhepbomobiielgagkkaagkbjaljobj
1•Donkwagonhan•35m ago•0 comments

Chaos, a NTP server in OCaml as an unikernel

https://blog.robur.coop/articles/2026-11-19-chaos.html
1•dinosaure•37m ago•0 comments

Best Study Abroad Consultants in Kerala – Start Your Global Education Journey

1•agasto•40m ago•0 comments

Dutch privacy watchdog AP advises consumers not to purchase smart glasses

https://www.reuters.com/business/media-telecom/dutch-privacy-watchdog-ap-advises-consumers-not-pu...
2•giuliomagnifico•40m ago•0 comments

Show HN: Interviewer assistant – AI open source

https://github.com/blackarck/intaiassist
1•blackarck•41m ago•0 comments

Kokoro Yoruba – Native Tonal Yoruba TTS on StyleTTS2 / Kokoro-82M

https://github.com/Akintunde102/kokoro-yoruba
1•Akintunde102•41m ago•0 comments

Vim Classic 8.3.1 Released

https://vim-classic.org/news/vim-8.3.1-released.html
5•birdculture•43m 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".