frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I Created reciept scanner and expense manager for my family

https://famverge.app/
1•dzasa•34s ago•0 comments

A unified model of memory and perception [pdf]

https://www.sissa.it/sites/default/files/attachments/news/SISSA%20press%20release%20Neuron.pdf
1•XzetaU8•1m ago•0 comments

PayPal blocks Asahi Linux users

https://gist.github.com/asahilina/31dd6bf3cde26a51e0fc1414e1abe730
1•undeveloper•7m ago•1 comments

Are DeepSeek Moments Now the New Normal?

https://www.bloomberg.com/opinion/articles/2025-11-17/ai-are-deepseek-moments-now-the-new-normal
1•salkahfi•9m ago•0 comments

Skelet – Minimalist, Thread-Safe Config Library for Python

https://github.com/pomponchik/skelet
1•pomponchik•10m ago•1 comments

FFM – Java's new approach to interop with native code

https://developer.ibm.com/articles/j-ffm/
1•birdculture•15m ago•0 comments

Ubisoft Says AI Generated Anno Art 'Slipped Through'

https://kotaku.com/anno-117-pax-romana-ai-loading-screen-patch-ubisoft-2000644399
3•zppln•17m ago•0 comments

Agentic Property-Based Testing: Finding Bugs Across the Python Ecosystem

https://mmaaz-git.github.io/agentic-pbt-site/
1•mmaaz•17m ago•1 comments

Falcon 9 launches Sentinel-6B satellite to monitor global sea level

https://spacenews.com/falcon-9-launches-sentinel-6b-satellite-to-monitor-global-sea-level/
1•N19PEDL2•24m ago•0 comments

Event Sourcing in Go: From Zero to Production

https://skoredin.pro/blog/golang/event-sourcing-go
1•tdom•24m ago•0 comments

How Quake.exe got its TCP/IP stack

https://fabiensanglard.net/quake_chunnel/index.html
1•billiob•24m ago•0 comments

Fear Spreads Across Markets as Crypto Selloff Raises Alarms

https://www.bloomberg.com/news/articles/2025-11-18/pessimism-spreads-across-markets-as-crypto-rou...
1•zerosizedweasle•24m ago•0 comments

Mastodon CEO steps down as the social network restructures

https://techcrunch.com/2025/11/18/mastodon-ceo-steps-down-as-the-social-network-restructures/
5•gloxkiqcza•24m ago•0 comments

How Colds Spread

https://www.lesswrong.com/posts/92fkEn4aAjRutqbNF/how-colds-spread
2•comp_throw7•26m ago•1 comments

Scan PQC TLS for a whole domain, Free

https://QCready.com
1•weddpros•28m ago•0 comments

My Next Chapter with Mastodon

https://blog.joinmastodon.org/2025/11/my-next-chapter-with-mastodon/
3•robin_reala•29m ago•0 comments

My two-part desk setup

https://arslan.io/2025/11/18/my-two-part-desk-setup/
2•farslan•31m ago•0 comments

Reverse Engineered an OLED Display

https://www.greyb.com/blog/reverse-engineering-oled-display/
11•I_Nidhi•36m ago•0 comments

High-performance hash utility with fast mode

https://github.com/vyrti/hash-rs
1•vyrti•37m ago•1 comments

Generate cost-optimised GKE ComputeClass specs from live GCP pricing data

https://github.com/brtkwr/gkecc
1•brtkwr•37m ago•0 comments

Mephedrone Is a Cursed Drug

https://psychotechnology.substack.com/p/mephedrone-is-a-cursed-drug-1730
2•eatitraw•38m ago•0 comments

EU Frequency Group: Upper 6 GHz Band Needed for 6G, WLAN Loses Out

https://www.heise.de/en/news/EU-Frequency-Group-Upper-6-GHz-Band-Needed-for-6G-WLAN-Loses-Out-110...
2•i-con•40m ago•0 comments

How to Pick Your Battles

https://www.leadinginproduct.com/p/how-to-pick-your-battles
1•benkan•41m ago•0 comments

Nearest Neighbor Speculative Decoding for LLM Generation and Attribution

https://arxiv.org/abs/2405.19325
1•fzliu•42m ago•0 comments

Background job manager for AI Coding Agents

https://github.com/juanibiapina/gob
1•juanibiapina•44m ago•0 comments

Share of articles that were written by humans or generated by AI

https://www.axios.com/2025/10/14/ai-generated-writing-humans
1•jameslk•52m ago•1 comments

PayPal bans Linux users with a GPU name containing the string "Apple M1"

https://vt.social/@lina/115568401302718163
4•robin_reala•53m ago•1 comments

Authors dumped from New Zealand's top book prize after AI used in cover designs

https://www.theguardian.com/world/2025/nov/18/authors-dumped-from-new-zealands-top-book-prize-aft...
2•Freak_NL•55m ago•3 comments

Pre-PEP: Rust for CPython

https://discuss.python.org/t/pre-pep-rust-for-cpython/104906
2•pjmlp•59m ago•0 comments

AI is a new computing paradigm – Karpathy

https://threadreaderapp.com/thread/1990116666194456651.html
3•kiyanwang•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•6mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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