frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Healthy life expectancy gap between rich and poor has widened

https://www.bbc.co.uk/news/articles/c20q07w3gl9o
1•vinni2•41s ago•0 comments

TikTok Analytics and Data-Driven Growth for TikTok Shop Sellers

https://www.fastmoss.com/
1•Evan23345•3m ago•0 comments

Video: Software Fundamentals Matter More

https://www.youtube.com/watch?v=v4F1gFy-hqg
1•ColinEberhardt•3m ago•0 comments

The Mushroom That Makes People Have the Exact Same Hallucination

https://www.vice.com/en/article/meet-the-mushroom-that-make-people-have-the-exact-same-hallucinat...
1•thunderbong•4m ago•0 comments

What Is Pub/Sub?

https://encore.dev/blog/pubsub
1•dohguy•8m ago•0 comments

Media over QUIC

https://moq.dev/
1•gurjeet•8m ago•0 comments

Claude Code Uses GLM 4.7

https://old.reddit.com/r/LocalLLaMA/comments/1swr135/anthropics_claude_remote_uses_glm47/
1•iamskeole•9m ago•2 comments

Agent Index Documenting Technical and Safety Features

https://arxiv.org/abs/2602.17753
1•bdg•9m ago•0 comments

A layout engine for image generation in JavaScript

https://sone.seanghay.com/
2•invisal•10m ago•0 comments

The predictable failure of the QDay Prize

https://algassert.com/post/2601
1•EvgeniyZh•11m ago•0 comments

Community for carbon markets, renewables and clean energy

https://carboncredit.io
2•m00dy•12m ago•0 comments

Jekyll can be as fast as Vitepress by using Turbo Frames

https://jekyll-vitepress.dev/
1•earcar•16m ago•0 comments

Codex Plugin for Claude Code

https://community.openai.com/t/introducing-codex-plugin-for-claude-code/1378186
1•alvis•17m ago•0 comments

Sci-Hub launches Sci-Bot an AI-powered research assistant

https://sci-bot.ru/
1•the-mitr•19m ago•0 comments

Enhancing Stride Threat Models Using Mitre EMB3D

https://medium.com/mitre-emb3d/enhancing-stride-threat-models-using-mitre-emb3d-ea15937dc5f8
1•Tomte•22m ago•0 comments

I Spent My Sabbatical Building a Power Meter for Sledgehammers

https://leblancfg.com/intensity-pad-founder-story.html
1•alin23•23m ago•0 comments

Haiku has not caught up with the times

https://discuss.haiku-os.org/t/my-haiku-arm64-progress/19044
1•rcarmo•24m ago•3 comments

Hermes.ms in Git history causes extra usage billing of Claude subscription

https://github.com/anthropics/claude-code/issues/53262
3•OlivOnTech•24m ago•1 comments

Best Clinic Management Software Trusted by Top Clinics

1•Consentz•26m ago•0 comments

Build your own voice assistant and run it locally – Whisper, Ollama, Bark (2024)

https://medium.com/@vndee.huynh/build-your-own-voice-assistant-and-run-it-locally-whisper-ollama-...
2•thunderbong•27m ago•0 comments

HardenedBSD Officially Moves to Radicle

https://hardenedbsd.org/article/shawn-webb/2026-04-26/hardenedbsd-officially-radicle
1•r3ason•28m ago•0 comments

Apple already won the AI race: Your favorite AI will be gone soon

https://medium.com/@michalmalewicz/your-favorite-ai-will-be-gone-soon-9b3b035fe3db
3•hardmaru•35m ago•2 comments

DeepSeek V4 is a display of Huawei AI chip's capabilities

https://www.technologyreview.com/2026/04/24/1136422/why-deepseeks-v4-matters/
2•jackyli02•39m ago•0 comments

China's Plans to Fight in Space

https://ig.ft.com/space-weapons/
4•bazzmt•45m ago•0 comments

GitHub outages since Microsoft acquisition

https://old.reddit.com/r/github/comments/1rnvhs9/githubs_historic_downtime_scraped_and_plotted/
4•nreece•46m ago•0 comments

Hang.live

https://hang.live/
4•gurjeet•47m ago•0 comments

Most People Who Ride Bikes Have Soft Tires

https://maxmautner.com/2026/04/25/soft-tires.html
2•mslate•48m ago•0 comments

State of my AI-assisted development workflows

https://handmadeoasis.com/state-of-ai-assisted-workflows-april-2026/
2•RamtinJ95•52m ago•0 comments

Claude Code plugin for designing modular systems

https://github.com/vladikk/modularity
3•xamut•52m ago•1 comments

Millions Are Turning to a Cheaper, Electricity-Free Cooling Solution

https://economictimes.indiatimes.com/news/international/us/say-goodbye-to-traditional-air-conditi...
3•thelastgallon•53m ago•1 comments
Open in hackernews

Show HN: Rv, a Package Manager for R

https://github.com/A2-ai/rv
76•Keats•11mo ago
We have been building a package manager for R inspired by Cargo in Rust. The main idea behind rv is to be explicit about the R version in use as well as declaring which dependencies are used in a rproject.toml file for a given project. There's no renv::snapshot equivalent, everything needs to be declared up front, the config file (and resulting lockfile) is the source of truth. This avoids issue where renv might miss information about the installation and is also easy to tweak some packages, eg install one from source and install suggests from another.

If you have used Cargo/npm/any Python package manager/etc, it will be very familiar.

Comments

mbeavitt•11mo ago
Can this be used to effectively create R environments? I’m desperate for such a solution.
goosedragons•11mo ago
You can do that with Nix or Guix.
scrappyjoe•11mo ago
Doesn’t renv do that? What need does renv not meet for you?
arbutus8•11mo ago
Ultimately, you're right that `rv` and `renv` get you to the same spot, both create reproducible, isolated projects. `renv` has a few issues that we often hit that lead to `rv`.

`renv` is an iterative process of installing some packages, then snapshotting your project state, and then trying to reproduce. The time between the installation and snapshot can often lose information (think `install.packages("my_pkg", repos = "https://my-repo.com")`, your repo source is lost by time the snapshot occurs). You can also install incompatible versions over-time.

rv solves both of these problems because it will lock the source at the time of installation. Additionally, because it is declarative, we are able to resolve the full dependency tree before installing packages to ensure everything will be compatible.

While I am a big proponent of using rv, if renv fits your needs, then switching to rv may not be worth it. For our organization, we did have multiple issues with renv, so created a replacement for it that we hope others in the community will find useful to address their needs.

aquafox•11mo ago
I had similar issues in the past. Setting up renv, everything seems good, but after working in a project for a few weeks and installing packages, renv constantly complains about the library being out-of-sync and resolving these complaints took way longer than new ones came around. I think renv has good intentions, but there are just too many edge cases (Bioconductor, installing an experimental package from Github, weird package dependencies etc.), that it always failed me in a real-world scenario.
Keats•11mo ago
By default, rv will create a library folder in the same folder as your rproject.toml and there's rv activate/deactivate to add it to your loaded libs. Pretty much the same stuff as a virtualenv in Python.
okanat•11mo ago
I used pixi for that. It uses Conda ecosystem but you get proper lockfiles and great native binary package support.
pupperino•11mo ago
{renv} is pretty solid, I've been using it in production for years now and have no complaints.
simpaticoder•11mo ago
You might want to consider writing a plugin for R with Mise en Place https://mise.jdx.dev/core-tools.html This would extend your reach and might take some of the heavy lifting out of the project. (At least for the runtime portion. I don't think it will help with package management.)
Keats•11mo ago
I could be wrong but I feel like the overlap between mise and R users is likely very tiny
0cf8612b2e1e•11mo ago
Tend to agree. Majority of users are leaving that icky computer stuff to RStudio and have no idea what happens behind the scenes.
simpaticoder•11mo ago
Mise is pretty new, and it's userbase is tiny (afaik), so the overlap with it and anything is tiny. But I've enjoyed it as a replacement for ruby/node/java/python version managers, and I think it's a solid, thoughtful piece of kit. I think it targets curious, multilingual hackers who I imagine would be the kind of people to try out R to "kick the tires" just for fun (I imagine Elixer, Erlang, and Zig are in there for the same reason...surprised not to see Julia). It's also the case that mise is already doing all the heavy lifting of documentation, website, installation, etc so might as well not reinvent the wheel (such projects always have far more scope than you think, in my experience!) It could free you to making the package manager that much better (a very hard problem in itself).

I'm not affiliated, btw, just a happy user. Shout out to DHH for introducing it (to me) as part of Omakub.

_Wintermute•11mo ago
My biggest issue with R package management is version pinning. If I specify an older version of a package, R will fetch the latest versions of all its dependencies, regardless if they're compatible or not, which leads to manually chasing down and re-installing specific versions of dependencies and sub-dependencies one-by-one.

Microsoft's CRAN time machine helped solved this, but I think they've recently shut it down and I don't really trust Posit to not have a version behind a paywall.

arbutus8•11mo ago
You're hitting one of my (and many people's) main issue with the R package distribution system. In CRAN, only one package version is available at a time, which makes things like version pinning quite difficult. Now the benefit of that is that CRAN guarantees all packages will work together at any moment in time, but then trying to reach back into the Archive breaks that guarantee.

What the CRAN time machine (and now Posit Package Manager) does is take that compatibility guarantee, and freeze it so you have access to all the same, compatible, packages at any moment in time.

While I personally do use PPM fairly extensively, I do understand the paywall concern for long-term reproducibility so `rv` can help you here, with a bit of manual massaging. I'd recommend setting the repositories section of the config file to be a snapshot date in PPM that contains the package version(s) you're interested in and then installing using that repository (taking the benefit of that CRAN guarantee), then in both the config file and `rv.lock`, replace all the references to the PPM repo with your preferred CRAN mirror. This will allow you to resolve to compatible package versions, but then for your POSIT concern, will still be able to reproduce using the CRAN archive.

t-kalinowski•11mo ago
Posit offers something similar to Microsoft’s CRAN Time Machine, but it works not only for CRAN, but also for Bioconductor and PyPI. You can add a date to the Public Posit Package Manager URL to access a snapshot of all packages from that day.

For example: https://packagemanager.posit.co/cran/2025-03-02

You can browse available snapshot dates here: https://packagemanager.posit.co/client/#/repos/cran/setup?sn...

This also works for PyPI and Python packages: https://packagemanager.posit.co/pypi/2025-03-04/simple

almostkindatech•11mo ago
Might be worth looking at groundhog, if you want a 'time machine' less likely to have a commercial motive
xvilka•11mo ago
Maybe some code could be shared with the `uv`[1] to avoid re-implementing same things.

[1] https://github.com/astral-sh/uv

Keats•11mo ago
We actually do use a bit of their code for the linking phase, which they seem to have taken from Cargo. For the rest, Python and R are way too different in how they handle packages to allow sharing code.
xgstation•11mo ago
is using Rust to rewrite existing package managers a new trendy thing

feels we eagerly need cv -> C/C++ package manager

barslmn•11mo ago
Can it be used for installing from bioconductor?
Keats•11mo ago
Not yet but it is on the radar.
cluckindan•11mo ago
Is it possible to override transitive dependencies?
Keats•11mo ago
Yes, if you list it in the rproject.toml from a specific repo/url/git etc it will use that
badmonster•11mo ago
I'm curious — does rv support or plan to support per-project isolation of system-level dependencies (e.g., gfortran, libxml2, etc.) like what renv sometimes indirectly requires users to manage outside R? If not, do you have recommendations for managing these in a reproducible way alongside rv?
mauflows•11mo ago
I'm curious how your team ended up doing this. We settled on Nix with flakes after some pain with Docker / RStudio Server.
Keats•11mo ago
It's not planned for rv, this is whole other can of worms. Something like nix/docker should work but I'm not working on that part myself so I can't comment.
condwanaland•11mo ago
Very cool! Are you planning for there to be a corresponding R package that exposes the high level commands? The popularity of the usethis package really showed the power of keeping people within the R interpreter rather than going back and forth with the terminal. This is so important for a language like R that has so many users without much CS training
arbutus8•11mo ago
Yes! Absolutely in the plans to have a corresponding R package. In the meantime, we've created a `.rv` R environment within rv projects that allow users to call things like `.rv$sync()` and `.rv$add("pkg")` from the console. Our internal user bases is primarily not CS based and have found these functions extremely helpful
rorylawless•11mo ago
Ok, this is really promising. I've always found renv to be slightly frustrating to use and it ends up breaking in mysterious ways after a time. rv was a joy to use in a small personal repo.
j_bum•11mo ago
Looks interesting, I’m excited to give it a try.

Is there any plan to have it create a manifest (like renv.lock) that can be used directly with the posit publishing system?

arbutus8•11mo ago
Yes, that's a feature we are considering adding