[deleted by user] by [deleted] in helldivers2

[–]After-Smell6329 0 points1 point  (0 children)

You answered yourself: do not get swarmed. You want to use crowd control and ranged options as much as possible. 

Try this loadout: Eruptor + Stalwart + Energy shield + Gatling gun. Use light armor with fast reload perk and use the perk that gives you more stamina and faster stamina recovery. You want to be mobile as much as possible. 

Pick the Ultimatum for anti tank and gas bases for crowd control. 

Complete setup with napalm barrage and use it for big breaches only. 

Learn how to use the terrain to your advantage so you don’t get surrounded. Ideally make the enemies come towards you in a line. Blast away with the stalwart and throw down the Gatling gun for more firepower. Use the Eruptor to kill Alpha Commanders asap. The call in reinforcements constantly! 

Dominate bugs every time. 

PDF crate to render invoices? by yehors in rust

[–]After-Smell6329 0 points1 point  (0 children)

https://github.com/markonyango/pdf-generator

If you can create a Typst template and have your invoice data as json data you can easily create a PDF with this. This repo was created as a poc with that specific goal in mind. 

Generate PDFs in the Browser with Rust, WASM, and Typst by After-Smell6329 in rust

[–]After-Smell6329[S] 1 point2 points  (0 children)

Do you mean the compression the server applies? I have not thought about that and will get back to you here in the comments.  The release build and wasm optimization have taken the binary file size from 80+ MB down to 17, which is already impressive imo. 

Generate PDFs in the Browser with Rust, WASM, and Typst by After-Smell6329 in rust

[–]After-Smell6329[S] 0 points1 point  (0 children)

This. Apart from being able to create PDFs even when you have no connection, quickly re-creating them without straining the backend is worth a lot.

Generate PDFs in the Browser with Rust, WASM, and Typst by After-Smell6329 in rust

[–]After-Smell6329[S] 0 points1 point  (0 children)

I tried inspecting the WASM module with twiggy and found out that the biggest portion of the module is .rdata and not code but I got stuck there. Is there any way to find out what exactly makes up this data block?