frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What Makes an Experiment Beautiful?

https://www.asimov.press/p/beautiful-experiments
1•mailyk•2m ago•0 comments

Can AI agents solve CAPTCHAs?

https://research.roundtable.ai/captcha-benchmarking/
2•mdahardy•2m ago•0 comments

When your brain lies to you

https://dri.es/when-your-brain-lies-to-you
1•speckx•3m ago•0 comments

Fred API v2

https://fred.stlouisfed.org/docs/api/fred/v2/index.html
2•Jgrubb•4m ago•0 comments

When the Firefighter Looks Like the Arsonist: AI Safety Needs IRL Accountability

1•fawkesg•5m ago•0 comments

macOS sandbox config for Claude that restricts read access to filesystem

https://github.com/neko-kai/claude-code-sandbox
2•pshirshov•7m ago•0 comments

Builder Design Pattern and Cyclomatic Complexity Reduction

https://johnjr.dev/posts/builder-design-pattern-and-cyclomatic-complexity-reduction/
2•johnjr•8m ago•1 comments

Show HN: Deepvote – 10 AI models vote on your decisions

https://deepvote.ai
2•sadfun•9m ago•0 comments

Accounting has only CRUD APIs

https://numeric.substack.com/p/accounting-will-retrace-the-path
2•bihla•9m ago•0 comments

Devastating BBC Memo in Full

https://web.archive.org/web/20251108152816/https://www.telegraph.co.uk/news/2025/11/06/read-devas...
1•tsegratis•9m ago•2 comments

Show HN: MonkeyAI – Curated creative templates for AI image generation

https://monkeyai.cc
1•heavenlxj•11m ago•0 comments

Tencent Proposes Semantics-Aware VCPU Scheduling Over-Subscribed KVM Linux VMs

https://www.phoronix.com/news/Tencent-vCPU-Over-Scheduling
1•Bender•13m ago•0 comments

To Have Machines Make Math Proofs, Turn Them into a Puzzle

https://www.quantamagazine.org/to-have-machines-make-math-proofs-turn-them-into-a-puzzle-20251110/
1•baruchel•13m ago•0 comments

Gradient-Sign Masking for Task Vector Transport Across Pre-Trained Models

https://arxiv.org/abs/2510.09658
1•PaulHoule•14m ago•0 comments

Htmd – A fast HTML to Markdown library for Elixir

https://github.com/kasvith/htmd
1•kasvith•15m ago•0 comments

Aardvark: OpenAI's agentic security researcher

https://openai.com/index/introducing-aardvark/
2•mooreds•15m ago•0 comments

Windows 11 26H1 is coming for new processors only

https://www.theregister.com/2025/11/10/microsoft_breaks_new_ground_with/
1•Bender•16m ago•0 comments

Fish 4.2 Shell Brings Interactive Improvements, Updated Rust Minimum Version

https://www.phoronix.com/news/Fish-4.2-Released
2•Bender•16m ago•0 comments

Surprising heart study finds daily coffee may cut AFib risk by 39%

https://www.sciencedaily.com/releases/2025/11/251110021046.htm
2•alister•16m ago•1 comments

Launch HN: Hypercubic (YC F25) – AI for COBOL and Mainframes

https://www.hypercubic.ai/
2•sai18•18m ago•0 comments

Ask HN: Any Hardware Startups Here?

2•guzik•19m ago•1 comments

'You Are All Terrorists': Four Months in a Salvadoran Prison

https://www.nytimes.com/2025/11/08/world/americas/el-salvador-prison-migrants.html
3•mitchbob•21m ago•1 comments

At COP30 in Belém, Brazil, Chinese Technology Is Shifting Climate Politics

https://www.nytimes.com/2025/11/10/climate/cop30-belem-climate-energy-technology-china.html
2•quapster•23m ago•0 comments

Just Send the Prompt

https://justsendtheprompt.com
5•goostavos•24m ago•0 comments

Vibe-tuning: creating custom models with a prompt

https://www.distillabs.ai/blog/vibe-tuning-the-art-of-fine-tuning-small-language-models-with-a-pr...
5•selim-now•24m ago•0 comments

A hypothetical search service on S3 with Tantivy and warm cache on NVMe

https://www.shayon.dev/post/2025/314/a-hypothetical-search-engine-on-s3-with-tantivy-and-warm-cac...
1•shayonj•29m ago•0 comments

Make Medical School Three Years

https://www.nytimes.com/2025/11/10/opinion/medical-school-three-years.html
3•mitchbob•32m ago•2 comments

Snow and Memory

https://leancrew.com/all-this/2025/11/snow-and-memory/
2•bariumbitmap•34m ago•1 comments

Unexpected Things that are People

https://bengoldhaber.substack.com/p/unexpected-things-that-are-people
3•lindowe•35m ago•0 comments

This Is What a Good Job Looks Like

https://www.nytimes.com/2025/11/10/opinion/good-jobs-policy.html
1•mitchbob•36m 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".