David Laban (@[email protected])

156 posts

David Laban (@alsuren@mastodon.me.uk)

David Laban (@[email protected])

@alsuren

Dancer and Open Source Hacker

London, UK Katılım Mayıs 2009
96 Takip Edilen85 Takipçiler
David Laban (@alsuren@mastodon.me.uk)
@Bewinxed @charliermarsh It seems to create a new venv in ~/.cache/uv/archive-v0/ (or ~/Library/Caches/uv/archive-v0/ ) based on the hash of the python interpreter and resolved deps. #L75-L88" target="_blank" rel="nofollow noopener">github.com/astral-sh/uv/b…
English
1
0
0
55
David Laban (@alsuren@mastodon.me.uk)
@Bewinxed @charliermarsh I'm not sure it touches the current context at all. From looking at pstree, it seems to put it in its own hidden venv with is own copy of python? I will have a bit more of a play and report back.
English
1
0
0
53
Charlie Marsh
Charlie Marsh@charliermarsh·
This diff is so cool. Dependencies inlined in the script. `uv run` shebang. All the ceremony just becomes ./app.py. \ht @alsuren
Charlie Marsh tweet media
English
14
25
402
70.5K
Charlie Marsh
Charlie Marsh@charliermarsh·
Today, we're shipping a series of features that move uv beyond a pip alternative, and into an end-to-end solution for managing Python projects, command-line tools, single-file scripts, and even Python itself. A single, unified tool. Like Cargo, for Python. It's very fast.
Charlie Marsh tweet media
English
104
459
3.4K
505.9K
David Laban (@alsuren@mastodon.me.uk)
@ag_dubs Note that we now have this snippet in our .github/workflows/README.md so that we don't waste so much time with slow commit/push/wait debugging cycles before reaching for a tmate shell.
David Laban (@alsuren@mastodon.me.uk) tweet media
English
0
0
0
62
ashley williams
ashley williams@ag_dubs·
doing a talk and would love your best "debugging ci scripts" commit logs
English
3
2
8
2.4K
Josh Triplett @josh@joshtriplett.org
Josh Triplett @[email protected]@josh_triplett·
In July 2020, I left my job to start writing the build service I've wanted for 16 years, in @rustlang: no change to your workflow, cooperates with existing build systems, handles multi-stage builds, works with any language.
English
3
2
23
0
David Laban (@alsuren@mastodon.me.uk)
@skaulana I have separate Chrome personas for Work things, Home things, Shopping, and Netflix, to avoid distractions (each has its own Gmail account for syncing). Firefox has a similar concept hidden away in about:profiles.
English
0
0
1
0
Sean K. Gabriel
Sean K. Gabriel@skaulana·
Some mornings, I don't feel like writing. I open up the editor but find too many distractions lurking in other browser tabs Is writing offline the way to go? Or maybe I should use a different browser just for writing. Need a strategy for this 😜
English
2
0
0
0
Sean K. Gabriel
Sean K. Gabriel@skaulana·
I have a confession to make. I had a project idea I'd been sitting on for I don't even know how long. I was cradling it shyly, afraid to talk about it before it was done, afraid of the judgment, afraid of committing. But I'm done with all that now.
English
2
0
8
0
David Laban (@alsuren@mastodon.me.uk)
@PeterTBBrett My housemate has been looking to replace our current "everything goes via the cloud" setup, for when we move house. His conclusion is to wait for the big players to release their "matter"-compatible devices and firmware-updates, later this year.
English
0
0
0
0
Benjamin Katz
Benjamin Katz@DrBenKatz·
Bayes when he published his theorem of probability:
Benjamin Katz tweet media
English
7
124
1.1K
0
Graham Cox (@grahamcox82.bsky.social)
@timClicks It's not just cascading builds. That's things like "a micro version change to tokio causes many things to be rebuilt". It's more that - how I've got things working - if Cargo.lock changes then it's a cache miss on the various cargo caches, so it then has to rebuild *everything*.
English
1
0
0
0
Tim McNamara
Tim McNamara@timClicks·
When should teams use Rust over other programming languages?
English
11
7
34
0
David Laban (@alsuren@mastodon.me.uk)
@hdevalence Not quite what you're after, but I've had a good experience using schemars + yaml + Red Hat's VSCode yaml plugin. You point to the generated schema and get linting + intellisense for all fields. E.g #required-fields" target="_blank" rel="nofollow noopener">github.com/qwandor/dancel…
English
1
0
0
0
henry 🌘
henry 🌘@hdevalence·
using serde, it's possible to make a Config struct, #[derive(Serialize, Deserialize)] on it, and turn it into a config.toml file. is there a way to pull the doc comments on struct members into comments in the toml file?
English
4
0
9
0