Readit News logoReadit News
m4r71n commented on PYX: The next step in Python packaging   astral.sh/blog/introducin... · Posted by u/the_mitsuhiko
m4r71n · 11 days ago
What does GPU-aware mean in terms of a registry? Will `uv` inspect my local GPU spec and decide what the best set of packages would be to pull from Pyx?

Since this is a private, paid-for registry aimed at corporate clients, will there be an option to expose those registries externally as a public instance, but paid for by the company? That is, can I as a vendor pay for a Pyx registry for my own set of packages, and then provide that registry as an entrypoint for my customers?

m4r71n commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
brokegrammer · 12 days ago
Many people are confused about the usefulness of 1M tokens because LLMs often start to get confused after about 100k. But this is big for Claude 4 because it uses automatic RAG when the context becomes large. With optimized retrieval thanks to RAG, we'll be able to make good use of those 1M tokens.
m4r71n · 12 days ago
How does this work under the hood? Does it build an in-memory vector database of the input sources and runs queries on top of that data to supplement the context window?
m4r71n commented on Intermittent fasting strategies and their effects on body weight   bmj.com/content/389/bmj-2... · Posted by u/lxm
bargainbin · 15 days ago
The takeaway here is that if you do “alternate day fasting”, that is you eat normally on one day then do not eat all the next, you will lose weight.

I can’t believe that losing 3.5 days of caloric intake would result in weight loss. In other news, water is wet.

m4r71n · 15 days ago
Alternate day fasting normally means you eat up to 500 calories on your fasting day, but then eat more than usual on normal days. So on average if you eat 500 one day and 2500 another, that is no different than eating a restricted diet of 1500 every day. The finding here is that the former results in slightly more weight loss than the latter. That restrictions in calorie intake will result in weight loss is a given.
m4r71n commented on Uv: Running a script with dependencies   docs.astral.sh/uv/guides/... · Posted by u/Bluestein
billyjmc · a month ago
What’s your use case for locking dependencies on a single script?

One things that’s useful to my organization is that we can then proceed to scan the lockfile’s declared dependencies with, e.g., `trivy fs uv.lock` to make sure we’re not running code with known CVEs.

m4r71n · a month ago
Just better visibility into the dependencies that come with the script (exactly for things like vulnerability scanning that you mention). It's also easier for reproducibility in someone else's environment when I can give them the exact list of dependencies instead of having them resolve it themselves using the inline declarations. Explicit is better than implicit :-)
m4r71n commented on Uv: Running a script with dependencies   docs.astral.sh/uv/guides/... · Posted by u/Bluestein
m4r71n · a month ago
Oh nice, I was already a happy user of the uv-specific shebang with in-script dependencies, but the `uv lock --script example.py` command to create a lock file that is specific to one script takes it to another level! Amazing how this feels so natural and yet only appeared after 20+ years of Python packaging.
m4r71n commented on Understanding the PURL Specification (Package URL)   fossa.com/blog/understand... · Posted by u/todsacerdoti
rahkiin · 3 months ago
How does the purl work for docker images that are not hosted on docker? Or custom npm registries?
m4r71n · 3 months ago
You can use the `oci` package type for non-Docker images (or any OCI artifacts for that matter).
m4r71n commented on Ask HN: What is the best LLM for consumer grade hardware?    · Posted by u/VladVladikoff
m4r71n · 3 months ago
What is everyone using their local LLMs for primarily? Unless you have a beefy machine, you'll never approach the level of quality of proprietary models like Gemini or Claude, but I'm guessing these smaller models still have their use cases, just not sure what those are.
m4r71n commented on CVE program faces swift end after DHS fails to renew contract [updated]   csoonline.com/article/396... · Posted by u/healsdata
m4r71n · 4 months ago
The title of this article is simply false. The CVE Program is a separate entity from MITRE and is most definitely not ending. The CVE Program has been acquiring assets from MITRE for years now. That is why the main site shifted from cve.mitre.org to cve.org. MITRE has always simply been the workhorse of the program, and now that is being shifted to others (CVE foundation, which has global representation).
m4r71n commented on Busy Status Bar   busy.bar/?hn... · Posted by u/aleksi
tofof · 10 months ago
The display is a resolution of 72x16, or 1152 px. I counted; there's a couple of frames as the first "busy" mention displays that the splashing animation lights the entire panel.

For comparison, the Ulanzi TC001 mentioned throughout this thread is 32x8, for 256 pixels.

I think if one was wanting to build something like this for themselves that just using a 7" ips display intended for rpi would work as well. With 1024x600 resolution you could draw the chunky pixels if you wanted that aesthetic, and those can be had for like $28.

m4r71n · 10 months ago
Is the busy bar's 72x16 LED matrix for sale anywhere with the muted look that one could build something comparable?
m4r71n commented on Busy Status Bar   busy.bar/?hn... · Posted by u/aleksi
blutack · 10 months ago
If you're looking for something with an addressable LED matrix in a clock style form factor, the Ulanzi TC001 [0] for ~$50 is worth having a look at.

Doesn't quite have the same aesthetic but inside it's just an ESP32 (flashed via the USB-C port) and there's various mature open source firmware replacements. I use awtrix[1] on mine and it's very easy to tie in HomeAssistant for doorbell notifications and that sort of thing. I did also knock up a Pomodoro app for it.

0: https://www.ulanzi.com/products/ulanzi-pixel-smart-clock-288...

1: https://github.com/Blueforcer/awtrix3

m4r71n · 10 months ago
This looks great! I've considered building a simple device with an LED matrix that looks similar to this, but could never figure out what gives the LEDs the muted look. All of the devices mentioned here (Tidbyt Gen2, Lamarca, Ulanzi, even the busy.bar) have it. Is the back-pannel just an LED matrix with a custom acrylic in front of it? How do they ensure the light from individual LEDs doesn't bleed into its neighbor?

u/m4r71n

KarmaCake day360December 11, 2013View Original