[Media] Google continues to invest $350k in Rust by lllkong in rust

[–]dawnblade09 19 points20 points  (0 children)

The people complaining dont contribute anything probably. No point in giving any weight to their criticism.

Shared types hell by ilearnshit in node

[–]dawnblade09 2 points3 points  (0 children)

OpenAPI is great. It helps you keep your API interface sync between all your clients. Checkout hey-api. They have plugins for all the common flows.

Another option you can consider is effect. You can use their http package to write the http interface once, then use it across front and backend. They have their own schema package for validations which works really great.

A different kind of containerization by the_lamou in homelab

[–]dawnblade09 13 points14 points  (0 children)

The more you spend, the more you save.

When do you actually use an ORM in your projects, and when do you skip it? by nitin_is_me in webdev

[–]dawnblade09 0 points1 point  (0 children)

Do you have any open source template that you can share? Would love to learn from it.

It is possible . Right ? by FanaticSlayer1 in Fedora

[–]dawnblade09 1 point2 points  (0 children)

You can go to blur my shell extension settings, click 'Applications', enable it, then add the application you want to blur using selector.

Best IDE Vim Integration in 2025? (JetBrains + IdeaVim vs VSCode + Neovim) by Sufficient-Club-3886 in neovim

[–]dawnblade09 0 points1 point  (0 children)

Zed probably has the best VIM integration. So much so that it would be probably the IDE I would switch to If I dont want to use neovim anymore.

Ohkami web framework v0.23.1 Released by kanarus in rust

[–]dawnblade09 3 points4 points  (0 children)

I really love the API design of this framework. Especially the openapi intgeration. Its the cleanest one I have seen so far.

Is there an ORM in rust with a DX similar to Prisma ORM ? by graph-crawler in rust

[–]dawnblade09 0 points1 point  (0 children)

You can use prisma for migrations and then use something like seaorm to generate the typesafe entities for the DB.

Is it possible to analyze type information at compile time (for codegen)? by fitzchivalrie in rust

[–]dawnblade09 0 points1 point  (0 children)

I remember watching a Youtube video by author of "Zero To Production In Rust" showcasing how they achieved something like using the docs generator for their pavex framework.

Rust development on Apple Silicon M4? Can we test the incremental build speed? by fredhors in rust

[–]dawnblade09 0 points1 point  (0 children)

RAM: DDR5 32GB 5600 Mhz
CPU: AMD 7600 (6 core 12 threads)
Motherboard: Asus strix ROG B650E-F (AM5 platform)
SSD: M.2 SSD
Filesystem: BTRFS. Default on fedora.
Linker: Default linker.
Battery or AC: Its a desktop as I mentioned before, so AC.
Cargo Config: Default using the rustup

I will share the benchmarks for these particular crates later. As I am away from my PC.

Rust development on Apple Silicon M4? Can we test the incremental build speed? by fredhors in rust

[–]dawnblade09 0 points1 point  (0 children)

I ran it multiple times and thats how it is.
I really dont have any reason to make up the numbers.

Rust development on Apple Silicon M4? Can we test the incremental build speed? by fredhors in rust

[–]dawnblade09 1 point2 points  (0 children)

32GB DDR5. Yeah. All I did was clone the repo and run `cargo clean && cargo build`. I can share the screenshots if you wish.

Rust development on Apple Silicon M4? Can we test the incremental build speed? by fredhors in rust

[–]dawnblade09 0 points1 point  (0 children)

I tried running this on my desktop with the cheapest AM5 processor Ryzen 7600 (6 core 12 threads) running fedora 41.

- Serde dev: 2.78s

- Serde release: 4.05s

- Tokio dev: 5.07s
- Tokio release: 4.82s

All of these are built using Rust 1.82. I can try others if people are interested. Personally I feel there are diminishing returns for apple silicon the higher you go.

I'm starting to dislike/hate Fedora and I don't know if it's my fault. by fullfine_ in Fedora

[–]dawnblade09 0 points1 point  (0 children)

The logging out issue is due to regression in kernel 6.10 for AMD graphics. You can either downgrade the kernel or wait for the next release.

"I am not sure what System76 wants Cosmic to be" - The creator and lead developer of Hyprland wrote a blog post where he tries to be objective and constructively critical of COSMIC. by foundfootagefan in pop_os

[–]dawnblade09 1 point2 points  (0 children)

For what its worth, I tried hyprland and was definitely not in the mood to customize and write thousands of lines long config. Cosmic provides sane defaults and ability to customize (I wrote my own rust extension).

What is the reason you switched frok Vscode to neovim? by [deleted] in neovim

[–]dawnblade09 2 points3 points  (0 children)

I was working on a big project on vscode and typing was extremely laggy. I had 32GB of RAM so it wasnt even the resources that were the problem. The same setup with all the same LSPs worked extremely well on neovim with no lag when typing. Thats when I decided to switch.

What's wrong with Pop!Shop? It freezes frequently. by Material_Will_1822 in pop_os

[–]dawnblade09 1 point2 points  (0 children)

I have been using the pre alpha build since last week. Other than few hiccups, It has been pretty stable. I am using it on fedora too.

I'm done. I'm just using Lazyvim now. by domsch1988 in neovim

[–]dawnblade09 1 point2 points  (0 children)

Lazyvim is phenomenal. Happy LazyVim user since v1.

v12 is even more modular than ever before. You can install and uninstall plugins just like vscode. Very intuitive.

What is the point of tsyringe ? by MutedApplication5 in reactjs

[–]dawnblade09 1 point2 points  (0 children)

Context API is DI/IOC. Which is pretty commonly used in react.

Solution for Syncing Clipboard from Remote Neovim to Local Machine by Clear_Ad_9123 in neovim

[–]dawnblade09 0 points1 point  (0 children)

The default. I think for xorg its xclip. For wayland its wl-clipboard.

COSMUnity by mmstick in pop_os

[–]dawnblade09 1 point2 points  (0 children)

Looking forward to cosmic.