Readit News logoReadit News
kardos commented on A Note on Fil-C   graydon2.dreamwidth.org/3... · Posted by u/signa11
cardanome · a month ago
udevd might actually be a good use for Fil-C. Good point.

My fear is that the performance difference might add up once use it on more and more part. I imagine it uses a lot more memory. Plus once Fil-C gets adopted in the mainstream it might lower the need for devs to actually fix the code and they might start just relying on Fil-C.

To be fair, systemd itself is corporate shite to begin with and I wouldn't mind seeing it being replaced with something written in a language with memory safety.

kardos · a month ago
> it might lower the need for devs to actually fix the code and they might start just relying on Fil-C.

Well, the program would still halt upon memory flaw, so there would still be a need to fix it

kardos commented on A Note on Fil-C   graydon2.dreamwidth.org/3... · Posted by u/signa11
kardos · 2 months ago
I suppose /some/ performance loss is inevitable. But this could be quite a game changer. As more folks play with it, performing benchmarks, etc -- it should reveal which C idioms incur the most/least performance hits under Fil-C. So with some targetted patching of C code, we may end up with a rather modest price for the memory safety
kardos commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
PaulHoule · 2 months ago
I'd argue bzip compression was a mistake for Conda. There was a time when I had Conda packages made for the CUDA libraries so conda could locally install the right version of CUDA for every project, but boy it took forever for Conda to unpack 100MB+ packages.
kardos · 2 months ago
It seems they are using zstd now for .conda packages, eg, bzip is obsoleted, so that should be faster.
kardos commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
dekhn · 2 months ago
I hadn't paid any attention to rust before uv, but since starting to use uv, I've switched a lot of my performance-sensitive code dev to rust (with interfaces to python). These sorts of improvements really do improve my quality of life significantly.

My hope is that conda goes away completely. I run an ML cluster and we have multi-gigabyte conda directories and researchers who can't reproduce anything because just touching an env breaks the world.

kardos · 2 months ago
It would be nice indeed if there was a good solution to multi-gigabyte conda directories. Conda has been reproducible in my experience with pinned dependencies in the environment YAML... slow to build, sure, but reproducible.
kardos commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
seabrookmx · 2 months ago
Can't agree more. We were using pyenv+poetry before and regularly had to pin our poetry version to a specific one, because new poetry releases would stall trying to resolve dependencies.

pyenv was problematic because you needed the right concoction of system packages to ensure it compiled python with the right features, and we have a mix of MacOS and Linux devs so this was often non-trivial.

uv is much faster than both of these tools, has a more ergonomic CLI, and solves both of the issues I just mentioned.

I'm hoping astral's type checker is suitably good once released, because we're on mypy right now and it's a constant source of frustration (slow and buggy).

kardos · 2 months ago
> because new poetry releases would stall trying to resolve dependencies.

> uv is much faster than both of these tools

conda is also (in)famous for being slow at this, although the new mamba solver is much faster. What does uv do in order to resolve dependencies much faster?

kardos commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
LeoPanthera · 2 months ago
For single-file Python scripts, which 99% of mine seem to be, you can simplify your life immensely by just putting this at the top of the script:

  #!/usr/bin/env -S uv run --script
  # /// script
  # requires-python = ">=3.11"
  # dependencies = [ "modules", "here" ]
  # ///
The script now works like a standalone executable, and uv will magically install and use the specified modules.

kardos · 2 months ago
> uv will magically install and use the specified modules.

As long as you have internet access, and whatever repository it's drawing from is online, and you may get different version of python each time, ...

kardos commented on Ads are inevitable in AI, and that's okay   strangeloopcanon.com/p/ye... · Posted by u/FergusArgyll
kardos · 5 months ago
Sounds like a great use for a local LLM to strip ads from the output of the ad-infested LLM.
kardos commented on NASA's Voyager Found a 30k-50k Kelvin "Wall" at the Edge of Solar System   iflscience.com/nasas-voya... · Posted by u/world2vec
piker · 6 months ago
If it rounds to zero, then perhaps 4x'ing it won't make a difference?
kardos · 6 months ago
Well, heat capacity and thermal conductivity are not the same thing
kardos commented on Mistral Code   mistral.ai/products/mistr... · Posted by u/tosh
abdullahkhalids · 7 months ago
Why are all these code assistants apps coming out now? Is it because it takes two years to make these apps? Or is it because LLM performance is plateauing so the way to capture more of the market is via these apps?
kardos · 7 months ago
because it's a much better experience than copy-pasting into a webapp
kardos commented on Mistral Code   mistral.ai/products/mistr... · Posted by u/tosh
kardos · 7 months ago
I'd like to try it, but enterprise only?

u/kardos

KarmaCake day2007October 7, 2014View Original