frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tankers Are Going Dark for Longer to Get Oil Out of Middle East

https://www.bloomberg.com/news/articles/2026-08-14/tankers-are-going-dark-for-longer-to-get-oil-o...
1•tosh•1m ago•0 comments

The Embedder's Dilemma: LLMs Are Better, but at What Cost?

https://arxiv.org/abs/2608.12875
1•sbulaev•2m ago•0 comments

Show HN: Riffn. An instant voice link with your AI agents and local models

https://riffn.io/how-riffn-works/
1•riffn•4m ago•0 comments

"That's not SoC 2 compliant"

https://ampcode.com/notes/thats-not-soc-2-compliant
2•tosh•8m ago•0 comments

Ask HN: How do you keep up with HN these days?

2•simonebrunozzi•10m ago•0 comments

Mycorrhizal Infrastructure Map

https://a-hidden-infrastructure.spun.earth/map
1•num42•10m ago•0 comments

Israel's done little to rein in spiraling settler violence against Palestinians

https://apnews.com/article/israel-palestinians-settler-violence-us-siege-west-bank-bd4ae76cec1773...
1•hebelehubele•12m ago•1 comments

Choosing the Right Database for AI Agents: LLM Generated SQL

https://predictabledialogs.com/learn/ai-stack/choosing-database-configurable-ai-agents
2•jaikant•15m ago•0 comments

Behold the 'glueball,' a new form of matter

https://www.science.org/content/article/behold-glueball-strange-new-form-matter
1•the-mitr•18m ago•0 comments

Global Mastercard outage stopping shopping in Sydney

https://www.smh.com.au/national/global-mastercard-outage-stopping-shopping-in-sydney-20260815-p60...
4•Khaine•22m ago•0 comments

Are You a Human?

https://www.newyorker.com/magazine/2026/08/17/are-you-a-human
1•mitchbob•24m ago•1 comments

Hacking Fiber to the Home

https://hackaday.com/2026/08/13/hacking-fiber-to-the-home/
2•Corrado•31m ago•0 comments

An Autonomous Framework for Systematic Factor Invest via Agentic AI

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6416881
2•dima1830•31m ago•0 comments

Show HN: NexusMem – local memory for coding agents, not just Git log

https://github.com/yaminbkk/NexusMem
1•yamin_bakoh•37m ago•0 comments

Who Is Cami Clark? Anthropic CEO's Wife Asked Epstein to Invest in Porn Business

https://www.forbes.com/sites/alisondurkee/2026/08/14/who-is-cami-clark-anthropic-ceos-wife-asked-...
4•gpi•40m ago•0 comments

Apple launches ads in Apple Maps for businesses across the US and Canada

https://www.theapplepost.com/2026/08/14/71094/apple-launches-ads-in-apple-maps-for-businesses-acr...
1•mgh2•41m ago•0 comments

Did the AI Bubble Just Pop?

https://www.youtube.com/watch?v=wrFH8PvDPFE
1•cable2600•47m ago•0 comments

Show HN: GPT, Claude, Gemini. Ask them all. Pay for one

https://whizi.io/
1•not_wowinter14•49m ago•0 comments

Robots That Walk and Talk Are Coming to Car Factories

https://www.nytimes.com/2026/08/11/business/humanoid-robots-car-factories.html
3•m463•49m ago•0 comments

Patterns and Problems in Multiagent Systems

https://www.anthropic.com/research/multiagent-systems
1•jonbaer•50m ago•0 comments

A Proposal to Fix Go's Proposal Backlog

https://github.com/golang/go/discussions/80580
1•lr0•56m ago•0 comments

Show HN: NoiseDrop – describe a place, hear it

https://www.noisedrop.app/
1•jigarmody24•59m ago•0 comments

Show HN: I spent 3 months making desktop automation stop lying to AI agents

https://github.com/lahfir/agent-desktop/tree/main
2•lahfir•1h ago•0 comments

Sexually transmitted infections are surging in Europe

https://www.economist.com/europe/2026/08/09/sexually-transmitted-infections-are-surging-in-europe
3•alphabetatango•1h ago•0 comments

Single-provider vs. multi-provider architectures for multimodal AI apps

https://medium.com/@CometAPI_/how-to-architect-a-multimodal-app-for-chat-image-and-video-in-2026-...
1•WavyPeng•1h ago•0 comments

Show HN: AI Meeting Assistant in Browser

https://chatpanel.net/
1•earth2mars•1h ago•1 comments

France's constitutional authority strikes down social media ban for under-15s

https://www.france24.com/en/france/20260814-france-s-constitutional-authority-strikes-down-social...
3•Markoff•1h ago•1 comments

Agents on Rails: The LLM Benchmark Project

https://rubyonrails.org/2026/8/12/llm-benchmarking-project
1•ksec•1h ago•0 comments

Show HN: ThoughtDAG – An editable context graph for LLM conversations

https://chenxiachan.github.io/thoughtdag/
3•chatchan•1h ago•0 comments

Flink SQL vs. Flink Java API

https://www.reddit.com/r/apacheflink/s/TAzjpyYzSH
2•ganeshsivakumar•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".