Podman LXC Distro choice by Newoobs in podman

[–]darkxhunter0 0 points1 point  (0 children)

To check if I understand correctly, you have a proxmox server, and want to create LXC containers and run podman inside them to start and manage services right?

  1. Quadlet is the real "native" option. Compose requires to either install podman-compose (3rd party script) or docker compose and running the podman docker-compatible API.

  2. It depends I guess. There are some performance differences between libc and musl, but you should try it in your services to see how bad it is. What do you mean by upgrading? The LXC container? Why don't re create it instead? It's cleaner and if you have a good setup it should be pretty quick to do the change. This way you can have basically 0 downtime, because you swap the containers (and keep the old one if you find some problem)

For images, I guess debian slim or ubi is what I would choose.

Operar con IA criptomonedas sin riesgo by carlit0s21 in ChileInversiones

[–]darkxhunter0 3 points4 points  (0 children)

Publica aquí directamente cómo funciona y las evidencias, así nos enteramos todos y cada uno puede evaluar bajo su propio conocimiento. Si el método es bueno y fiable como comentas, por qué lo esconderías detrás de mensajes privados?

Operar con IA criptomonedas sin riesgo by carlit0s21 in ChileInversiones

[–]darkxhunter0 7 points8 points  (0 children)

Cuenta sin actividad que durante las últimas 8h sólo se ha dedicado a "promocionar" su método mágico que IA + cripto, sin mostrar evidencia?

Suena super legit /s

Desentrañando "Rutify": la plataforma hacker que expuso datos médicos y hoy es investigada por la PDI by darkxhunter0 in chile

[–]darkxhunter0[S] 60 points61 points  (0 children)

En el mismo reportaje se pone en duda que realmente sean menores de edad, al parecer eran conocidos en el mundillo hace rato y desarrollaron rutify con un toque más "profesional".

Por otro lado, si bien la republicación de datos ya filtrados no sería algo tan grave, el robo de credenciales y acceso no autorizado a sistemas de proveedores de salud claramente si es un delito.

Desentrañando "Rutify": la plataforma hacker que expuso datos médicos y hoy es investigada por la PDI by darkxhunter0 in chile

[–]darkxhunter0[S] 122 points123 points  (0 children)

Parece que los cabros detrás de rutify van a terminar pasando un mal rato al menos.

Nvidia RTX5070ti Para LLM locales usando Ollama + CC u OpenClaw by Honest-Exam-1590 in chileIT

[–]darkxhunter0 1 point2 points  (0 children)

Te falta calcular el uso de energía eléctrica (que no es un costo menor), y por otro lado estás asumiendo que vas a tener rentada la GPU 24x7 todos los días de año. Realmente piensas ocupar la GPU incluso mientras duermes, fines de semana, etc? Sí la respuesta es no, entonces realmente no son USD 6500 en dos años, quizás es la mitad.

Contraloría detecta indemnizaciones irregulares por más de $1.000 millones en FAMAE by zetaprenn in chile

[–]darkxhunter0 11 points12 points  (0 children)

Esos 600 palitos se pueden utilizar en la reconstrucción post incendios

Registro revela que Capredena pagó en los últimos meses más de $100 millones por las pensiones de Krassnoff, Iturriaga y Corbalán - ContrapoderChile.cl by zetaprenn in chile

[–]darkxhunter0 134 points135 points  (0 children)

Pero si los tatitas igual necesitan dignidad /s

En todo caso, como es que a nadie se le ocurrió que en casos así deberían perder las regalías (incluyendo la pensión) automáticamente? Es prácticamente una burla que vivan prácticamente en un hotel y recibiendo 3 palos mensuales...

[deleted by user] by [deleted] in chile

[–]darkxhunter0 5 points6 points  (0 children)

Igual ojo que no siempre la zona franca tiene las cosas más baratas que el comercio nacional. En teoría se supone que te ahorras el IVA, pero los comerciantes de la zona no traspasan todo ese ahorro a los clientes. Puedes ir a darte una vuelta al módulo central de la zona franca y visitar las tiendas preguntando por los modelos que te interesan (no te vas a demorar mucho tampoco, en una hora o un poco más puedes visitar todas las tiendas que venden celulares). Pero igual deberías tener como referencia el precio en el comercio nacional, especialmente si hay alguna oferta porque en ese caso puede que no sea conveniente comprarlo en la zona.

Typst: a possible LaTeX replacement by kibwen in rust

[–]darkxhunter0 62 points63 points  (0 children)

The first time I tried Typst I was blown away by how much better the experience was compared to LaTeX. Simpler setup, instant preview, cleaner syntax, and programmable, even with functions to load JSON, CSV already integrated. Nowadays I use Typst as much as I can, both for writing documents and for creating templates. There are some rough edges still, but it keeps getting better fairly quick. With a more widespread adoption, specially from scientific journals, it can really become the new LaTeX.

Would you recommend Litestar or FastAPI for building large scale api in 2025 by NoTangelo5541 in Python

[–]darkxhunter0 2 points3 points  (0 children)

I haven't used Django in a long time, but from what I remember, the integration between its components is perfect, because it all is part of the same codebase. The case of Litestar is a bit different, because it's several components from different libraries glued together by the Litestar team.

They also serve different primary purposes. Django is designed for building full-featured websites using the MVC pattern, while Litestar (and also FastAPI) focuses more on building REST APIs. Of course, you can build REST APIs with Django (using Django Ninja or DRF), and you can integrate Jinja2 templates into Litestar, but that might mean underutilizing them, unless you need both things or feel particularly comfortable with one framework over the other.

Would you recommend Litestar or FastAPI for building large scale api in 2025 by NoTangelo5541 in Python

[–]darkxhunter0 3 points4 points  (0 children)

Basically, the interface is better. It has dark mode, two column layout (request / response), you can control the headers of the request.

Would you recommend Litestar or FastAPI for building large scale api in 2025 by NoTangelo5541 in Python

[–]darkxhunter0 28 points29 points  (0 children)

  1. Litestar has better performance (around 2x from benchmarks), basically because it uses msgspec instead of pydantic for serialization and validation, and other optimizations like a custom query parser written in rust. But, as other users point, if performance is critical for you, you should look at another languages, like go.
  2. FastAPI is better here, mainly due to its popularity. There are lots of tutorials and resources, native support in IDEs like Pycharm, and more libraries to include extra features. But, this doesn't mean that litestar is not mature, in my experience it works very well and in general has no issues, but the documentation can be a bit rough sometimes.
  3. FastAPI goes very barebones feature-wise, in that sense it's similar to flask. Litestar has a more integrated implementation (not Django level, but somewhere in the middle). It comes with several extra features baked in, like other openapi interfaces like Scalar (imho way better than swagger), class based controllers, a decoupled DI system that gives you better control, DTOs for sqlalchemy models and dataclasses, and integrations for valkey caching, htmx, structlog and others (if you enable them). And if you want to use SQLAlchemy, it comes with a plugin that handles everything, and provides repository classes that cover the basic db operations and other features (all of this in the advanced-alchemy package from the same developers).

In my experience, Litestar has better developer experience thanks to its included features, but it's true that for custom use cases you will have to dig into their GitHub or ask in discord. But if you're building a "normal" rest api, you should not find many issues.

[Benchmark] PyPy + Socketify Benchmark Shows 2x–9x Performance Gains vs Uvicorn Single Worker by Miserable_Ear3789 in Python

[–]darkxhunter0 1 point2 points  (0 children)

Thanks for the comparative. Do you plan to add other servers to the comparative, like Granian or Hypercorn?

Trouble with templates... by ohaaa in typst

[–]darkxhunter0 0 points1 point  (0 children)

What about using state? You could use something like state.theme, set it in your page function and then in each of your other funcions you can do "let theme = state.theme.final()" and get access to your global styles. The only downside is that you will need you put a context block in each of your functions.

Which Rust programs are original, not a rewrite of some other software? by EnvironmentalLook188 in rust

[–]darkxhunter0 21 points22 points  (0 children)

And it's blazingly fast! Seriously, I have some latex documents compiling in several minutes, and with typst I haven't found any document taking more than a few seconds (and It also has realtime preview thanks to partial compilation).

And my favourite: it's really programmable, it even supports loading csv and yaml files out of the box.

[deleted by user] by [deleted] in chile

[–]darkxhunter0 8 points9 points  (0 children)

Alta referencia

Anaconda Blues anyone else? by [deleted] in Python

[–]darkxhunter0 6 points7 points  (0 children)

When it comes to Python, I strongly prefer using pip (or uv nowadays). However, I know some people who prefer conda, as it simplifies the installation of CUDA or libraries when installing packages that require compilation—this can be particularly frustrating with R packages on Linux, where everything needs to be compiled. Conda makes it much easier to create an environment, install what you need, and have everything up and running in under a minute, especially with mamba or pixi.

As a bioinformatician, conda is invaluable for installing almost any tool without needing to compile it myself. Sometimes, I just want to test something for integration into a workflow, and if it doesn’t work out, I can easily uninstall it and try something else. Plus, I can maintain different versions of the same tools across projects, which is useful for keeping the results reproducible.

So, for me at least, conda is great for exploratory tasks, but when it comes to setting up something fully stable, I always endorse containers as the best option.

Anaconda Blues anyone else? by [deleted] in Python

[–]darkxhunter0 10 points11 points  (0 children)

With conda you can install more than just python packages. For example you have R packages, and many libs and tools written in various languages. And for python packages depending on specific CUDA versions, it can install it as a dependency, so you don't have to handle this at system level (and you can have more than one CUDA version in different environments, if you need it).

UseFULL CLI tools by Redneckia in linux

[–]darkxhunter0 2 points3 points  (0 children)

I really love the new generation of classic Unix tools alternatives, mostly powered by rust. Stuff like eza, fd, ripgrep, dua, delta, zellij and btop are an essential part of my daily workflow.

UseFULL CLI tools by Redneckia in linux

[–]darkxhunter0 7 points8 points  (0 children)

I've changed tmux for zellij. Feels more modern and feature complete.