frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you approach a new codebase?

2•praneetbrar•51m ago
When you need to contribute to a large unfamiliar codebase, what’s your process for building understanding quickly?

I’m interested in practical workflows that experienced engineers use.

Comments

runningmike•44m ago
Assuming you have a c or cpp project: compile and build it first , run the tests if any.. and run cscope or equivalent on code you want to change first.
praneetbrar•41m ago
Yeah, that's ok. But if I am completely unaware about the code, I don't know what to search in cscope, or anything about the flow of the code. How do we manage in that situation?
codingdave•35m ago
Do you have a specific task you need to do in this code? If so, search for something related to whatever that is - text from the UX, data, fieldnames, etc. Once you find one spot in the code related to your task, follow the code back and forth to figure out that feature.

And if you have no task you are aiming at, find the main entry point of the code and start tracing where it goes.

But either way, I would not actually start with the code. The code glues together the data and the UX, so go figure those out first. Use the app. Browse the data schema. Figure out some connections. Once you understand that "datum A" is used in "UX widget B", the code just becomes a middle point to step through to connect them. And stepping through it once for one data field will likely teach you the patterns used in the codebase, so you can apply that learning to everything else.

And don't forget to read documentation. It isn't always kept up to date, but something is better than nothing.

Coding on Paper

https://wickstrom.tech/2026-05-16-coding-on-paper.html
1•owickstrom•28s ago•0 comments

Is it worth to study HPC and GPU programming?

1•michioD•1m ago•0 comments

The shooting stopped. Then came everything else

https://www.cnn.com/interactive/2026/05/us/minneapolis-annunciation-school-shooting-recovery/
1•martey•1m ago•0 comments

Snowflake with Iceberg: Lakekeeper, Dbt, and Some Sparks Flying

https://medium.com/fresha-data-engineering/snowflake-with-iceberg-lakekeeper-dbt-and-some-sparks-...
1•eigenBasis•3m ago•0 comments

Pace Layers and AI Integration

https://aicoding.leaflet.pub/3maob46kbz22v
1•jt2190•5m ago•0 comments

Reddit's Original Sin (YouTube)

https://www.youtube.com/watch?v=zOyyy-XAwfE
1•barelythinking•5m ago•0 comments

The Lockout: A path error in a deployment script reclassifies its operators

https://aihumanlove.com/fiction/the-lockout.html
1•zwanzea•6m ago•0 comments

WHO Declares Ebola Outbreak a Global Health Emergency

https://www.nytimes.com/2026/05/17/world/africa/ebola-congo-uganda-who-public-health-emergency.html
1•zzzeek•7m ago•0 comments

High-Powered Mutant Makefiles: Standard Library, Docker Support, and More

https://robot-wranglers.github.io/compose.mk/
1•ian_j_butler•8m ago•0 comments

I turned a $80 RK3562 Android tablet into a Debian Linux workstation

https://github.com/tech4bot/rk3562deb
1•tech4bot•13m ago•0 comments

A breakthrough in C/C++ dependency management

https://lcamtuf.substack.com/p/a-breakthrough-in-cc-dependency-management
1•birdculture•14m ago•0 comments

Hand plane competition (Kezuroukai USA)

https://daizen.com/hand-plane-competition-kezuroukai-usa/
1•thunderbong•16m ago•0 comments

AI is a technology not a product

https://daringfireball.net/2026/05/ai_is_technology_not_a_product
2•ch_sm•18m ago•0 comments

PG&E to cut power in parts of Bay Area in anticipation of high winds

https://www.sfgate.com/weather/article/pge-power-shutoff-bay-area-22263223.php
1•turtlegrids•18m ago•0 comments

Nim-Presto – REST API Framework for Nim Language

https://github.com/status-im/nim-presto
1•TheWiggles•20m ago•0 comments

Intel Core i9-14900KF reaches 9.2Ghz setting a new CPU frequency world record

https://www.notebookcheck.net/Intel-Core-i9-14900KF-reaches-9-2Ghz-setting-a-new-CPU-frequency-wo...
2•theanonymousone•27m ago•0 comments

LogTape 2.1.0: Throttling, logfmt, and smarter redaction

https://github.com/dahlia/logtape/discussions/165
2•dahlia•32m ago•0 comments

(VBS-NN) ML – 512k context length pre-training on a 12GB GPU

https://github.com/ega4l/VBS-NN/tree/main/code
2•gromio•32m ago•0 comments

Stochastic Flocks and the Critical Problem of 'Useful' AI

https://www.techpolicy.press/stochastic-flocks-and-the-critical-problem-of-useful-ai/
1•bryanrasmussen•33m ago•0 comments

Construction on Meta's largest data center brings chaos to rural Louisiana

https://lailluminator.com/2025/11/22/meta-data-center-crashes/
2•bwoah•34m ago•0 comments

Coal Makes a Comeback, Fueled by War in the Middle East

https://www.wsj.com/business/energy-oil/coal-makes-a-comeback-fueled-by-war-in-the-middle-east-fb...
1•melling•34m ago•0 comments

AsymFlow: Turning Latent Diffusion Models into Pixel-Space Generators

https://firethering.com/asymflow-pixel-diffusion-image-model/
1•steveharing1•35m ago•0 comments

CUDA Books

https://github.com/alternbits/awesome-cuda-books
2•dariubs•37m ago•0 comments

Astronomers produce most detailed map of the cosmic web, across 13.7B years

https://news.ucr.edu/articles/2026/05/11/astronomers-produce-most-detailed-map-cosmic-web
2•giuliomagnifico•38m ago•0 comments

MatterSim-MT: A multi-task foundation model for materials characterization

https://arxiv.org/abs/2605.07927
1•ttths•39m ago•0 comments

Signals vs. Noise: How to spot architectural shifts

2•moniazamla•41m ago•0 comments

Reducing "show less like this" by 11% with NSFW filtering

https://blog.foryou.club/3mm2fbh4vp22r?auth_completed=true
1•lonk11•43m ago•0 comments

Yes, you can be allergic to water

https://www.popsci.com/health/water-allergy/
1•saikatsg•43m ago•0 comments

Learning-focused CTFs are Facing a Restructure

https://exploiting.systems/posts/2026-05-17-learning-focused-ctfs-are-facing-a-restructure
2•ropbear•43m ago•1 comments

Agentic Trading with Safe Guardrails

https://github.com/ShurikenTrade/shuriken-skills
2•jgan0978•45m ago•1 comments