frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best practices for research code?

11•Eugeleo•14h ago
Writing research code (in my case ML/AI) is very different to writing production code. The goals are different, and thus so are the best practices, patterns, and values.

What's your favorite resource on how to write code in research? What are the research-code-specific equivalents of Rich Hickey's talks or SPJ's posts or the many many SWE blogposts posted to HN?

Comments

elasticventures•4h ago
for llm's it's a github repo - spec driven development prompt or skill with a "WIP" (work in progress) status and a broad context summary with <AGENT> instructions to chunk the document.
softwaredoug•1h ago
I feel like SWE skills are underappreciated in research code. I've seen a lot of bugs creep in due to poor design or bad testing practices. Leading to the wrong conclusions. Not to mention that its harder for readers to consume if its unreadable code.

Researchers that think their code is "throwaway" dramatically limit their reach.

cool_man_bob•1h ago
It makes sense. I can’t speak for the AI/ML field, but a lot of the software jobs I’ve seen in scientific research areas were pretty obvious they wanted scientists who could do a little code, as opposed to developers who can do a little science.

Ask HN: Does anyone have scans of these missing PC Plus issues (1991–1993)?

57•billpg•1w ago•16 comments

Publishing desktop apps via HTML5 canvas

2•string-theory•1h ago•1 comments

Ask HN: Our AWS account got compromised after their outage

391•kinj28•1d ago•94 comments

Ask HN: Can you recreate/restore deleted text messages on an iPhone/Android?

4•danielovichdk•47m ago•0 comments

Ask HN: How many 9s did AWS lose due to the last outage (us-east-1 incident)?

5•2dvisio•4h ago•1 comments

Ask HN: Am I the only one not using AI?

10•acqbu•6h ago•13 comments

Ask HN: Best practices for research code?

11•Eugeleo•14h ago•3 comments

Ask HN: Any good books for a layman on history of quantum computing?

19•bmau5•22h ago•6 comments

Ask HN: Would you like some help with your OSS project?

5•seph-reed•9h ago•4 comments

The First Data-Driven Platform That Makes Hosting Comparisons Fair

2•Hostingmoz•11h ago•4 comments

Ask HN: How to stop an AWS bot sending 2B requests/month?

285•lgats•6d ago•181 comments

Ask HN: What are people doing to get off of VMware?

194•jwithington•3d ago•164 comments

Why do LMMs overuse these patterns of speech that aren't overused in the wild?

7•jimbo808•22h ago•16 comments

Ask HN: End-to-end encrypted LLM chat (open- and closed-model)

3•5F7bGnd6fWJ66xN•17h ago•1 comments

MySQL Release Engineering PGP Key for Apt Repos Has Expired

6•scblzn•19h ago•5 comments

Ask HN: Preferred Next.js Alternatives?

2•blinkbat•21h ago•7 comments

Anyone built an email or calendar assistant that syncs and indexes data?

5•Bahushruth•22h ago•8 comments

Did people in the 90s worry about the efficiency of the internet

12•burgiee•1d ago•15 comments

Tell HN: Copilot.microsoft.com redirect to m365.cloud.microsoft, chats gone

7•eitland•1d ago•1 comments

Ask HN: How does one build large front end apps without a framework like React?

107•thepianodan•6d ago•187 comments

Programming language agnosticism is the only way to move forward in life

33•amano-kenji•4d ago•21 comments

Ask HN: What are you working on? (October 2025)

347•david927•1w ago•1054 comments

Ask HN: Are you / should we be preparing for "cyberattack"

4•lifeisstillgood•1d ago•4 comments

Ask HN: How do you convince people to use privacy respecting technologies

12•bogomil•1d ago•12 comments

Ask HN: What failed in the AWS outage that should have worked offline?

12•cipz•1d ago•3 comments

HTTP error codes illustrated with stills from Columbo

9•ColinWright•1d ago•5 comments

Ask HN: Abandoned/dead projects you think died before their time and why?

363•ofalkaed•1w ago•891 comments

Ask HN: Why is Bowker's monopoly on ISBNs in the USA legal?

19•blindprogrammer•3d ago•12 comments

You've reached the end!