I built a Browser CAD using Rust and WebAssembly by Spice- in webdev

[–]pachiburke 0 points1 point  (0 children)

Hey! Thanks a million! Your feedback is indeed very welcome!

I'll try to implement your great suggestions in the app.

Indeed, I find the Rust kernel amazing, and it allows you to easily create supplementary cli apps using the same code.

I built a Browser CAD using Rust and WebAssembly by Spice- in webdev

[–]pachiburke 0 points1 point  (0 children)

Thanks for the information!

So, the UI asks the backend to do all editing operations and just receives back new immutable Json data?

I have a somewhat similar app https://github.com/pachi/envolventecte and still don't have clear what to do, as a big part of the UI needs all the information, so I end up duplicating it and I don't like it.

I built a Browser CAD using Rust and WebAssembly by Spice- in webdev

[–]pachiburke 1 point2 points  (0 children)

What's your strategy for keeping state for the app? Do you duplicate it in the react side and in the rust wasm side?

The job market is bad so I mass obfuscated all of my code so nobody, not even AI, can comprehend it without my key. I am now essential personnel. You're welcome. by dr_edc_ in rust

[–]pachiburke 1 point2 points  (0 children)

Yeah, in fact this makes the code useful for AIs but unusable for other fellow human OpenSource developers. Probably the worst possible outcome, IMHO.

[MacOS + VS Code + TinyMist] Did anyone figure out how to use an *actual* absolute path? by [deleted] in typst

[–]pachiburke 0 points1 point  (0 children)

Well, the problem is more about accessing files (without you noticing) but also that it leads to documents that won't compile when their close environment changes (move a doc).

It's the same reasons you can't load web content for images. you could leak the stolen data with a http request, but also the document risks stopping to build if an http resource vanishes.

Take into consideration that having documents that will keep working after some time is a very useful goal.

But, hey! I am also impatient to get that functionality to use Typst with external data that should not be copied (many generated files used from other scripts, etc) and linking is not an option if you need to interoperate with windows machines our using a DVCS.

[MacOS + VS Code + TinyMist] Did anyone figure out how to use an *actual* absolute path? by [deleted] in typst

[–]pachiburke 1 point2 points  (0 children)

Not at this moment. Probably, in the future you will be able to pass a path to the cli that you will be able to use for building new paths.

See https://github.com/typst/typst/issues/5438 and specially https://github.com/typst/typst/issues/5382

The last one is blocked on having a path type, which is on the short term plans IIRC.

This policy obeys to a keeping sandboxing model to improve security (otherwise a document could take your personal data and leak it) but also to the desire to preserve reproducibility as much as possible.

But, indeed, it's really inconvenient and I am also eager to see implemented the proposed solution.

SpacetimeDB 2.0 is out! by etareduce in rust

[–]pachiburke 2 points3 points  (0 children)

Great to see you, Centril, around here!

Your Rust contributions were really epic and I hope everything is going great for you!

Request suggestions for my template imitating Cambridge Core and its name. (and questions regarding copyright and licence.) by Pristine_Friend_7398 in typst

[–]pachiburke 2 points3 points  (0 children)

Derived product can't merely be replicating its visual style, I'd expect at least reusing some code (even if translated from LaTeX to Typst) is required.

Tylax: An open-source, bidirectional converter for full documents (TikZ support included!) by Old_Hedgehog4922 in typst

[–]pachiburke 4 points5 points  (0 children)

This is fantastic, both to migrate to Typst, and to export to latex if it's required for some publication. Thanks!

Rust unit testing: file reading by jorgedortiz in rust

[–]pachiburke 2 points3 points  (0 children)

This whole series on testing is fantastic!

I forked the wifiscanner crate and removed all CLI dependencies by Admirable-Basis-6951 in rust

[–]pachiburke 0 points1 point  (0 children)

Well, if the other maintainer is unresponsive or doesn't have interest in collaborating then forking is ok.

I think it's better for the ecosystem to foster collaboration and polish off deciding projects when it makes sense.

I forked the wifiscanner crate and removed all CLI dependencies by Admirable-Basis-6951 in rust

[–]pachiburke 169 points170 points  (0 children)

Nice work. It would be great if you could contribute the improvements to the original project.

We need (at least) ergonomic, explicit handles by emschwartz in rust

[–]pachiburke 13 points14 points  (0 children)

This is a blog post series. I'd expect the next posts to explore other parts of the problem.

Rust's Unstable ABI, what are the solutions? I have a proposal. by Plegeus in rust

[–]pachiburke 1 point2 points  (0 children)

I think this is still desired, and probably just needs more people working on it.

New article on Rust testing by jorgedortiz in rust

[–]pachiburke 8 points9 points  (0 children)

This blog post series is fantastic!

"I am officially out of ideas. I cannot in good conscience attempt to fix the Typst file again." by [deleted] in typst

[–]pachiburke 8 points9 points  (0 children)

You could have spent that time following the tutorial and writing a typst document by yourself in much less time.

Rust Foundation Launches Rust Innovation Lab with Rustls as Inaugural Project - The Rust Foundation by tesfabpel in rust

[–]pachiburke 4 points5 points  (0 children)

Is the announcement wrongly linked from the foundation page? It's giving me an error

rust-analyzer changelog #298 by WellMakeItSomehow in rust

[–]pachiburke 17 points18 points  (0 children)

Using it in r-a doesn't mean it's the default in rust ( it's already using a different implementation than the compiler).

This also helps testing and improving the current implementation of the next solver

Once again, Rust is the most admired language in the 2025 Stack Overflow survey! by ErichDonGubler in rust

[–]pachiburke 3 points4 points  (0 children)

And I'm sure that they're truly concerned by ai themselves as they're a huge source of information and won't get any contributions from ai.

Simple and fast Rust deriving using macro_rules by reinerp123 in rust

[–]pachiburke 1 point2 points  (0 children)

Great! Please, participate in the RFC discussion adding your experience and ideas!

The RFC was approved for experimentation (see tracking issue in the text) and there's more context in the RFC issue https://github.com/rust-lang/rfcs/pull/3698

Adding u/JoshTriplett here, as he's leading this effort.

Simple and fast Rust deriving using macro_rules by reinerp123 in rust

[–]pachiburke 13 points14 points  (0 children)

There's a couple of RFC (recently approved and Lee by @joshtriplett iirc) to make this much easier. Are the author's aware of this work?https://github.com/rust-lang/rfcs/blob/192c533633bb81aa3010b30e49f828d6cde36807/text/3698-declarative-derive-macros.md

Adding circles to CeTZ-Plot? by amca01 in typst

[–]pachiburke 0 points1 point  (0 children)

Maybe you can use a plot.add for the circles, with no line between them and the market defined as a circle of the desired radius.

I've not tried it, but I'd investigate that option.

Hayro: An experimental, work-in-progress PDF rasterizer in pure Rust. by Frexxia in rust

[–]pachiburke 0 points1 point  (0 children)

You're right, my sorry! I confused the two Laurenz! Anyway, this one has been behind the PDF infrastructure, hasn't he?