frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The "Dependency Cutout" Workflow Pattern

https://blog.glyph.im/2025/11/dependency-cutout-workflow-pattern.html
19•ingve•2mo ago

Comments

a_t48•2mo ago
For me it usually looks like:

    - Fork LibBar on Github, apply patch
     - In docker stage build-bar:
        - RUN git clone gh.com/my_org/bar
        - WORKDIR bar/build
        - RUN cmake .. -DCMAKE_BUILD_TYPE=Release (old habits die hard, need to remember to use -B)
        - RUN make -j
     - in main docker stage: --mount from=bar,src=bar/build,target=/tmp/bar make install
...and that's it. A little bit of wastage if I had to install over the top of some apt install but oh well. If I contributed back to upstream, or they fix independently, gravy - remove the extra build. This doesn't work as well for python or js, of course, and doesn't "solve" pulling in upstream regularly, but I usually don't need to. Benefits of not usually working on internet facing software, I suppose.

The python case is thankfully usually not terrible nowadays (clone, `uv build`, push to artifact registry), modulo needing to pass whatever flag to uv to let it take into account both my private registry and public pypi at the same time.

aitchnyu•2mo ago
Does Python ecosystem have a patch-package equivalent?

https://www.npmjs.com/package/patch-package

TekMol•2mo ago
I am using Git submodules for dependencies. My approach to a situation like this:

    1: Clone gh.com/someone/LibBar to gh.com/me/LibBar
    2: Fix the bug
    3: Send pull request to someone
    5: git submodule set-url lib/LibBar https://gh.com/me/LibBar.git
       git submodule sync lib/LibBar
       git submodule update --init --remote --recursive lib/LibBar
       cd lib/LibBar/; git checkout main; cd ../..
       git add .; git commit -m "Use my own version of lib/LibBar"
And keep using my fork until upstream accepted my pull request. Then I switch the url of the dependency back.
JackSlateur•2mo ago
tldr: create a fork, fix the fork, use the fork. When upstream is fixed, remove your fork.

It thought that this was option #2 but apparently no

skeeter2020•2mo ago
I guess it's a technicality because the original option #2 is permanent, while the proposed solution is theoretically temporary (IME this approach will end up being permanent too based on how many companies operate). I actually think more companies should do this pre-emptively; it's very little extra work on the happy path (i.e. 1:1 with upstream) and you're ready to go when you need to deviate or fix and gives you better isolated supply management for your dependencies.

The inner turmoil of an indie developer diagnosed with NPD (2025)

https://www.danielbrendel.com/blog/44-larger-than-life-for-eternity
1•foxiel•39s ago•0 comments

AI is not another abstraction because god plays dice

https://rakhim.exotext.com/ai_is_not_another_abstraction_because_god_plays_dice
1•freetonik•44s ago•0 comments

Show HN: Tandem – An open-source, local-first AI workspace (Rust and React)

1•frumu•3m ago•0 comments

Show HN: AI Perks – A curated list of free AI credits and deals for developers

https://www.getaiperks.com/en
1•artluko•3m ago•0 comments

Why E cores make Apple Silicon fast

https://eclecticlight.co/2026/02/08/last-week-on-my-mac-why-e-cores-make-apple-silicon-fast/
1•ingve•3m ago•0 comments

Show HN: Google Maps but for your repo (Open Source)

https://github.com/zacharykapank/repomap
1•zacharykapank•5m ago•0 comments

Djevops: Host Django on Bare Metal

https://github.com/mherrmann/djevops
1•mherrmann•6m ago•0 comments

How to Destroy a Space Station

https://www.thequantumcat.space/p/how-to-destroy-a-space-station
1•verzali•7m ago•0 comments

Show HN: I built a framework to benchmark LLMs on System Design and Architecture

https://github.com/Ruhal-Doshi/hld-bench
1•ruhal•7m ago•0 comments

What do you expect from a Turkey-based hosting provider?

1•dpnet•7m ago•0 comments

Why Files Are Not Enough as Memory for AI Agents

https://medium.com/versanova/why-files-are-not-enough-as-memory-for-ai-agents-5a4aeca81154
2•gauravsc•8m ago•0 comments

Nabaztag: Embodiment of "IoT" that was before its time

https://nabaztag.com/archive/violet
1•simonjgreen•12m ago•0 comments

Show HN: Friends don't let friends do math after a few drinks

https://divvyai.app/
1•pieterdy•15m ago•0 comments

Show HN: A free, minimal CV builder I made as a side project

https://cv-today.com
1•PokeWorldJG•16m ago•1 comments

Show HN: Competitor Finder API – find real competitors from one hostname

https://champsignal.com/competitor-finder-api
1•maximedupre•19m ago•0 comments

Show HN: Textream: Dynamic Island-style teleprompter for macOS with voice track

https://blog.fka.dev/textream/
1•fka•23m ago•0 comments

How do you use AI coding tools at scale without losing architectural control?

https://contextfirst.dev/
1•seekerXtruth•28m ago•1 comments

What to do with the KDE Oxygen and Air themes?

https://filipfila.wordpress.com/2026/02/08/beating-an-old-but-not-dead-horse-what-to-do-with-the-...
3•jandeboevrie•31m ago•0 comments

Show HN: One app to command CLI agents across projects - RexIDE

https://rex.mindmeld360.com
1•tomerbd•33m ago•0 comments

Windows is leaving old printers behind without solution

https://www.tomshardware.com/peripherals/printers/microsoft-stops-distrubitng-legacy-v3-and-v4-pr...
2•storm1er•33m ago•1 comments

Eight More Months of Agents

https://crawshaw.io/blog/eight-more-months-of-agents
1•arrowsmith•35m ago•0 comments

Uber held liable, ordered to pay $8.5M in driver rape suit

https://www.cnbc.com/2026/02/06/uber-liable-pay-8-5-million-driver-rape-suit.html
1•gslin•41m ago•0 comments

DayTradingCentral – Free Trading Journal (Next.js, NestJS, Postgres)

https://www.daytradingcentral.com
1•MuZzZ•41m ago•1 comments

Creative problem-solving of unsolved puzzles during REM sleep

https://academic.oup.com/nc/article/2026/1/niaf067/8456489
3•tchalla•47m ago•0 comments

Show HN: Language learning through AI example sentences (onigiri.kr)

https://jpen.onigiri.kr/
1•jaehakl•49m ago•0 comments

Wi-Fi 7 marketing is lying about its biggest feature [video]

https://www.youtube.com/watch?v=-5o_Qu3XToQ
2•wateralien•49m ago•0 comments

Thoughts on LLMs

https://finestructure.co/blog/2026/2/6/thoughts-on-llms
1•interpol_p•52m ago•0 comments

China's rare earth steel is transforming infrastructure [video]

https://www.youtube.com/watch?v=DfNN1Es02hI
1•zeristor•52m ago•0 comments

Show HN: CodeMic

https://codemic.io/#hn
1•seansh•53m ago•0 comments

How to build a hero section that gets you a chance

https://www.indiehackers.com/post/how-to-build-a-hero-section-that-actually-gets-you-a-chance-bff...
1•allinonetools_•54m ago•0 comments