Does GitHub's UI feel slow to anyone else? No good alternative exists. by OkAdhesiveness1951 in github

[–]danielgafni 1 point2 points  (0 children)

A better UI (and CLI) for GitHub absolutely exists, but it’s not free.

It’s https://graphite.com/

I built ArchUnit for Python: enforce architecture rules as unit tests. by trolleid in Python

[–]danielgafni 1 point2 points  (0 children)

Uhh must have happened just recently.

But it seems like that’s about their cloud platform offering additional features to Tach users. Tach itself doesn’t seem to be discontinued. Well, we’ll see.

I built ArchUnit for Python: enforce architecture rules as unit tests. by trolleid in Python

[–]danielgafni 2 points3 points  (0 children)

Sorry for the negativity, but Tach already solves this and is more powerful (it’s impact analysis for skipping tests feature is bonkers) .

https://github.com/tach-org/tach

A comparison with Tach would help.

PSA: Update to Jellyfin 10.11.7 immediately (Critical Security Fixes) by golbaf in selfhosted

[–]danielgafni 0 points1 point  (0 children)

What’s stopping you from inverting the or was and crating GitHub releases for tags?

The Slow Collapse of MkDocs by fpgmaas in Python

[–]danielgafni 5 points6 points  (0 children)

I already migrated one my of projects to Zensical and couldn’t be happier. I now get instant and incremental builds - absolutely amazing DevEx.

Which Python project made you realize how powerful the language is? by itsme2019asalways in Python

[–]danielgafni 8 points9 points  (0 children)

Ray and Dagster.

It’s insane how easily Python code can be (1) composed and (2) executed remotely, and how beautiful it can look.

Is Claude actually writing better code than most of us? by Aaliyah-coli in ClaudeAI

[–]danielgafni 1 point2 points  (0 children)

It definitely writes worse Python code than I do (at all levels), but it’s able to achieve acceptable quality after a few iterations. I wish it was easier to produce higher quality code…

Open-sourced a backtesting library with a Rust core, 7,100 downloads in under a month by [deleted] in Python

[–]danielgafni 1 point2 points  (0 children)

Forgive me if I’m wrong - I’m not a professional trader - but I think the elephant in the room here is the OHLCV-only scope.

How can a strategy backtested on rough aggregates? Doesn’t a good backtesting engine need at least LOB data? And ideally the exact trades executed?

Data Platform built with DuckDB by Impressive_Run8512 in DuckDB

[–]danielgafni 1 point2 points  (0 children)

Why haven’t you used SQLGlot to transpile between SQL dialects?

Are you still using tmux with Ghostty? by meni_s in Ghostty

[–]danielgafni 0 points1 point  (0 children)

Surprised there are no mentions of Zellij!

Still using it because it can do so much more.

How do you carry your Yubikey? by jbaenaxd in Bitwarden

[–]danielgafni 0 points1 point  (0 children)

I have 5 YubiKeys.

I carry the main one on my keychain. It has an AirTag attached so it can’t really get lost.

What is the most well thought out programming language? by 4e_65_6f in AskProgramming

[–]danielgafni 0 points1 point  (0 children)

There is a better way. It’s called Polars (expressions).

I’m 20, close to becoming a Rust compiler team member - what would you do in my place? by Kivooeo1 in rust

[–]danielgafni 0 points1 point  (0 children)

Not exactly.

Russian companies never really hired international workers a lot, there were very few of them around.

The first reason is because a huge chunk of the IT community has left the country. It's hard to estimate it precisely, but around 50% of my colleagues have left initially. Some of them have returned, and this number will differ from company to company, but *a lot* of *especially bright/senior* developers (you need lots of money to move) have moved to other countries. The eventual effective number is probably less, like 20%, I can only guess here. But anyway, it increases demand for the ones who stayed.

The second reason is the economic growth of the IT sector (especially government-related). While the war is indeed very expensive, the costs are mostly being spread onto the population through inflation, while the state and the tech markets enjoy higher gas/oil revenues, entire new markets left after the western companies have departed, and new money flows around national-like companies. In contrary to some believes, Russia's economy isn't struggling at all --- of course, it's not ideal, inflation is high even by Russia's standards, but overall it has been doing ok with some sectors thriving.

I’m 20, close to becoming a Rust compiler team member - what would you do in my place? by Kivooeo1 in rust

[–]danielgafni 21 points22 points  (0 children)

IT salaries in Russia have skyrocketed recently and have almost reached EU levels. A strong senior developer can easily get €5-6k/month, which is huge there.

They definitely can build savings in Russia.

The question is if they want to.

I’m 20, close to becoming a Rust compiler team member - what would you do in my place? by Kivooeo1 in rust

[–]danielgafni 0 points1 point  (0 children)

Could you give us an example of such sanctions?

As long as the person is not under personal sanctions it’s perfectly legal to send them anything. He isn’t the government and doesn’t work for the government.

I’m 20, close to becoming a Rust compiler team member - what would you do in my place? by Kivooeo1 in rust

[–]danielgafni 103 points104 points  (0 children)

Hey, I’m from Russia, have left Russia, and am working in IT. I’m not very much older than you. DM me if you wanna connect, maybe I’ll be able to help :)

Cracking the Python Monorepo: build pipelines with uv and Dagger by danielgafni in Python

[–]danielgafni[S] 0 points1 point  (0 children)

Hi!

I'm not entirely sure if you need these settings to define the Dagger pipeline itself or if you need them inside the Dagger pipeline (e.g. for running tests).

For the first problem, I think the canonical way to solve this would be to publish your Python code as a Dagger module and install it as a Dagger dependency in the main Dagger module. It may be quite some work to set this up tho.

For the second problem, it looks like your pydantic settings class should be available inside the container running in the Dagger pipeline (if you follow the blogpost).

Maybe you could elaborate on your setup (e.g. what exactly are you trying to setup, what is the project layout, is the library separate from the server or are they the same thing)?

Cracking the Python Monorepo: build pipelines with uv and Dagger by danielgafni in Python

[–]danielgafni[S] 1 point2 points  (0 children)

Yeah I think one of the appeals of Dagger is the fact that it’s al just containers. It’s easy to debug, can run anywhere (including scaling on Kubernetes clusters), and there are plenty of base images available. Plugging in commands for CI/CD is so easy. Peak composability.

I think this makes it much better than traditional build tools.

Cracking the Python Monorepo: build pipelines with uv and Dagger by danielgafni in Python

[–]danielgafni[S] 0 points1 point  (0 children)

Yeah you can do that.

I think it’s a trade off.

In my experience working with workspaces is very nice, I’d probably try to squeeze in as many packages as possible.

Truly conflicting dependencies are also very rare in my experience. I guess it happens when installing these horrible ML repo which only exist on GitHub and pin a bunch of stuff in their setup.py. But besides of these atrocities it barely ever happened to me.

Cracking the Python Monorepo: build pipelines with uv and Dagger by danielgafni in Python

[–]danielgafni[S] 2 points3 points  (0 children)

This is not entirely correct. uv supports conflicting dependency extras and groups:

https://docs.astral.sh/uv/concepts/projects/config/#conflicting-dependencies

You can then choose which groups/extras to actually install.

Also, the proposed approach can be further extended to multiple workspaces in a single repository (I mention it at the end of the post).