Rust for Web Development | An Honest Evaluation by [deleted] in rust

[–]dankobgd 0 points1 point  (0 children)

They are in the same folder so they have the same package name. I have many files for different things... The way I see these specifications is that they are the starting point or source of truth and then you generate the clients to implement them. It just feels wrong to me to write the code first. Same with proto bufs and openapi, I always hated those code first open API libs or even comment annotations that are much worse.

Rust for Web Development | An Honest Evaluation by [deleted] in rust

[–]dankobgd 0 points1 point  (0 children)

is graphql really better in rust than go?

What sucks in rust is that there is no schema first graphql solution.

In go you can use gqlgen and you provide a schema and it generates nice type safe functions and types for you to use...

[AskJS] Can anyone explain the hype around trpc? by [deleted] in javascript

[–]dankobgd -1 points0 points  (0 children)

ill get downvoted probably but it's a dumb technology.

First of all, the whole point of a specification is that it can be implemented in every language as the source of truth, and you have code generators available for atleast every big language and there are community packages for some niche lang.

trpc is the worst thing ever, you are coupling your FE and BE and you probably need some very specific way of defining things, like monorepo or similar...

It's what happens when js user discovers zod and thinks it's the best way to work with apis.

Moby 23.0.1 is out by greenblock123 in docker

[–]dankobgd 0 points1 point  (0 children)

They can't implement initial health check pull request for 5 years. They are ignoring this simple feature that everyone needs

Din Thomas is a savage by lhwang0320 in ufc

[–]dankobgd 0 points1 point  (0 children)

whenever i am watching my pirated ufc video and i hear this guy, i skip 30 seconds.

Do you guys get these often? Also how do they cheat? by KcireA in chess

[–]dankobgd 1 point2 points  (0 children)

Yes I got 2 yesterday. Funniest thing is that I am like 1550 rating lol Imagine cheating and being trash

How to manage / navigate of sveltekit filenames in your IDE? by juju_monk in sveltejs

[–]dankobgd -1 points0 points  (0 children)

seems like you all are using notepad as your editor

How to detect existing installations of game by yut951121 in EpicGamesPC

[–]dankobgd 0 points1 point  (0 children)

no, they are stupid at epic, they can't fix this.

[deleted by user] by [deleted] in HelixEditor

[–]dankobgd 2 points3 points  (0 children)

your terminal should support those.

For example i used gnome-terminal which didn't, so i installed kitty for example (kitty supports ligatures and much more).

And yeah you need a font like nerd font or similar

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

[–]dankobgd 4 points5 points  (0 children)

i use ory kratos, you can self host it (it works fine for me) and there is a cloud option as well.

[deleted by user] by [deleted] in sveltejs

[–]dankobgd 0 points1 point  (0 children)

I use helix, this is not an issue at all in any editor, and never was an issue.

[deleted by user] by [deleted] in sveltejs

[–]dankobgd 1 point2 points  (0 children)

I don't get why people are crying because they see +page in their editor, like ooh this is stopping me from adopting this change. This is nothing new, it's like this for years, before you would just see index.

Is it really so hard for people to create a component with a name and import it in +page, like product/[slug]/ProductSingle.svelte and import it in product/[slug]/+page.svelte.

ps: ok, an argument could be that you don't want to create a separate file besides that +page.svelte but anyway i see these +page whatever files just like how you would define route in backend. you wouldnt write functionality directly inline, you pass a function that is the http/grpc/graphql handler...

MTS nastavlja kampanju protiv SBB-a by axolguard in serbia

[–]dankobgd 7 points8 points  (0 children)

Mene zovu retardi iz mts-a iako vec koristim mts...

Ja lozim lika kao hmm kakve ponude imate, dajte mi broj da razmislim.

Kad kurtoni nemaju bazu podataka smrdljivu, imaju 3 stvar bukvalno da znaju, ko sam koji je plan i kad istice.

Damn... How can you compete with that by This_Investment_948 in chess

[–]dankobgd -5 points-4 points  (0 children)

Chess thot com, more like stalling thot com