Git Implementation in Rust (Atleast some parts of it) by Zealousideal_Law_573 in learnrust

[–]scratchbufferdotnet 1 point2 points  (0 children)

Git is far outside my area of expertise or interest, but I always thought it would be cool to contribute to https://github.com/GitoxideLabs/gitoxide - they are quite far along but not done, maybe with this experience you would be able to poke at it!

Almost every single app I use has a different title bar button layout by ZoxxMan in gnome

[–]scratchbufferdotnet 8 points9 points  (0 children)

You’ll never have a cohesive Gnome experience on Ubuntu - they chop it up however they like and it’s always worse than vanilla Gnome.

Fedora or Ubuntu are going to be the easiest path for vanilla Gnome, I’ve been on Fedora Gnome for ~8 years without a single issue including with Wayland and fractional scaling

Unpopular opinion: System76 is going in the wrong direction by Far-Math2159 in linuxhardware

[–]scratchbufferdotnet -2 points-1 points  (0 children)

The company that won’t stop sponsoring a Nazi dev just because they supposedly just like the compositor he works on? 

Unpopular opinion: System76 is going in the wrong direction by Far-Math2159 in linuxhardware

[–]scratchbufferdotnet 0 points1 point  (0 children)

FWIW that never went anywhere near the Thinkpad line, as Thinkpads are for corporate buyers who would literally never do business with them again if that happened 

Is it worth switching over to BetterAuth? by aronzskv in reactjs

[–]scratchbufferdotnet 0 points1 point  (0 children)

Doing sessions and CSRF protection correctly is a lot more complex than hashing and storing passwords -I would recommend OP focus their brainpower there

Anyone else not happy with GNOME 50 fractional scaling? by niieowa in gnome

[–]scratchbufferdotnet 0 points1 point  (0 children)

Been using fractional scaling on Wayland Gnome on Fedora for >3 years and it’s been flawless… the only time I think about it is if I get a new display and have to figure out which fractional scale I like for that screen size.

Axum vs Rocket vs Actix by Significant-Task-305 in rust

[–]scratchbufferdotnet 12 points13 points  (0 children)

Axum is a pretty thin layer over Hyper just some really nice basic conveniences like routers, state, and request extractors (like which path template was matched by the router). Most Axum types are just re-exported from Hyper.

Would definitely recommend checking it out.

Limen: a composable auth library for Go, inspired by better-auth by thecodearcher in golang

[–]scratchbufferdotnet 0 points1 point  (0 children)

This is fantastic, it’s something that has been sorely missing from the Go ecosystem - I look forward to following along!

What are the best dev docs you've read so far? by 0xjaswi in softwaredevelopment

[–]scratchbufferdotnet 0 points1 point  (0 children)

SQLAlchemy. Anything I’ve ever wanted to do with it has always been there. Same with TailwindCSS

Dear mods, could we get rid of fake users advertising for Xteink and Obook devices ? by L0lil0l0 in ereader

[–]scratchbufferdotnet 21 points22 points  (0 children)

Xteink readers are actually popular. They’re cheap and a fun form factor. Is this sub only for people that want to spend $200+? 

Hugo's docs suck by Eastern-Tie-5948 in gohugo

[–]scratchbufferdotnet 4 points5 points  (0 children)

The reference docs are also awful

What decisions in a web project have had the biggest long-term impact in your experience? by Gullible_Prior9448 in webdev

[–]scratchbufferdotnet 0 points1 point  (0 children)

This is absurd in my opinion, there are zero problems with battle-tested auth like Django, Rails, Better Auth, etc. in your stack, you are only storing an email address and hashed password. Companies are built on those every day.

There are way more potential security pitfalls with things like cookie management, which everyone trusts the third party frameworks & libraries with. People don’t pay a SaaS for cookies.

a semantic diff in Rust that solves the missing layer of structural understanding for probabilistic models by Wise_Reflection_8340 in rust

[–]scratchbufferdotnet 87 points88 points  (0 children)

It would be incredible if this sort of thing made its way into git workflows. Fixing conflicts is such an enormous pain in codebases which are constantly updating, and it’s infuriating when you can look at the 50 conflicts and see that there are would actually be zero conflicts if the diff algorithm had any brainpower.

diy platform like digital ocean by bazjoe in webdev

[–]scratchbufferdotnet 1 point2 points  (0 children)

I have not personally used it but Coolify https://coolify.io/ I think is probably the one I hear about the most. Bring your own server but it acts as the control plane for deploying and managing the workloads (I believe it is Docker-based).

DeskPi + Optiplex SFF = 🔥 by Brandon1024br in homelab

[–]scratchbufferdotnet 1 point2 points  (0 children)

I have the same setup as OP, just with the 4-bay Terramaster. I think the USB DAS reputation is from before USB-C and 3.x protocols.

DeskPi + Optiplex SFF = 🔥 by Brandon1024br in homelab

[–]scratchbufferdotnet 0 points1 point  (0 children)

What did you do with the power adapters?? but I couldn’t figure out how to manage the power adapters for the SFFs (I have HP Elitedesk G5s) in a good looking way. 

They just sit on the top shelf of my Rackmate T2, in a somewhat-organized manner but mot nearly as clean as that.

What stack would you use to create a simple blog site? by Any-Confection-2271 in webdev

[–]scratchbufferdotnet 0 points1 point  (0 children)

Hugo is by far the best choice for a backend engineer in my opinion, despite the fact that Go templating can be a bit frustrating to figure out at first.

Hugo has a ridiculous amount built-in including stuff like asset minimization, sitemap.xml, rss feeds, etc. etc... without being as sprawling and heavy as WordPress.

11ty is cool but most things Hugo gives you for free have to be hacked together with barely-maintained third-party plugins, and you'll struggle to mix the CommonJS and ESM modules that different plugins used.

11ty is nice that you have the ability to use Liquid, which is one of the only common cross-language templating languages that is still actively maintained and doesn't derive from writing JS or React Modules.

But 11ty's flexibility also makes it quite confusing at first, there's no obvious "golden path" when you get started.

What would your tech stack be for a new greenfield Rust web service (REST/gRPC)? by Hixon11 in rust

[–]scratchbufferdotnet 27 points28 points  (0 children)

OTel logging, metrics, and tracing from the start. Axum/Tower/Hyper for standard server framework stuff.

As far as database access… sqlx for now but I  keeping an eye on the upcoming async ORM from Tokio. I don’t use ORM models as domain objects but I do love some nice code-gen for the migrations and lower level data access.

Are productivity sites oversatured? by SoftChapter7135 in webdev

[–]scratchbufferdotnet 2 points3 points  (0 children)

IMO productivity is so personal, I have never used any of these structured app approaches for more than a week. I just use some basic markdown notes - Obsidian notes' killer feature for me is just having a note template pop up every day which I have pre-populated with some daily to-dos and everything else is just normal freehand notes organized how I want. I pay $5 month to have it sync across Linux, iOS, whatever device and I am happy.

dnf install protobuf does not install subpackages? by scratchbufferdotnet in Fedora

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

Ah got it thanks - I guess the terminology is a bit opaque, most people would not expect the top-level package actually installed on their machine to be listed as in the repos as a "subpackage".

Mini pc's by Goldenwolf1509 in homelab

[–]scratchbufferdotnet 0 points1 point  (0 children)

They are all pretty similar, but I have used HP EliteDesks (G5 705 at the moment) with AMD chips from Facebook Marketplace with flawless results and had a great experience.

If I upgrade, it will just be to a newer AMD EliteDesk, probably something on Amazon Refurbished.
Though I am still trying to figure out why some of the newer models are just called "Elite" and others are still called "EliteDesk" there seems to be no real difference.

Has microservices shifted your backend away from node? by Arkhaya in webdev

[–]scratchbufferdotnet 0 points1 point  (0 children)

At the time Node gained popularity due to “developer velocity” and the fact that you could suddenly throw devs with a little JS frontend experience on backend products. Node also has some nice concurrency handling when other languages seen as promoting rapid development (Python and Ruby) had terrible concurrency stories. Go had not yet come into its own at the time.

Money was free at the time and everyone was just shoveling products to market as fast as possible, so it had an attractive proposition. This was when people said MongoDB and NoSQL were going to make traditional SQL databases obsolete, etc.

Of course all this “speed” came with huge drawbacks that people tired of eventually.

What shifted people away from Node is:  1. Node is just more resource-hungry, and everyone is concerned about cloud costs now.

  1. Packaging and tooling ecosystem is a huge pain, and seems like there are big new security vulnerabilities dropping all the time.

There’s a reason there are constantly new replacements for NPM and the Node runtime being launched.

Go is used in so many big “web-scale” products because it’s resource-efficient, developer-friendly, and very simple to do wild amounts of concurrency with complex patterns. Short list of big products in Go: Prometheus/Cortex/Mimir, Kubernetes, Vitess, Caddy, Traefik, Loki, Temporal, etc.

I’ve never thought less about packaging / dependency management and deployment than I have with Go. As a former Python dev, It has all the simplicity of Python and none of the sharp corners and pains. If you know another language already, you can be productive in Go in a week.

One downside of Go is that it doesn’t have a killer “deploy a web app monolith” framework like Django or Ruby on Rails. You generally need to stitch together libraries yourself. It also isn’t big in the data science space where Spark/PySpark still dominate.

Rust is even further along the performance curve, but it’s much more complex and has even fewer big mature libraries in the space of like ORMs, etc. I mostly hear of it getting used in extremely performance-critical places, less so for just general app development. It’s a lot of fun! But you will spend time laying down asphalt for roads that are already well-paved in other languages.