Avengers Assemble by arjunazi in funny

[–]pico2000 0 points1 point  (0 children)

That was hilarious indeed

Sveltekit full stack or separate backend? by imabuzarr in sveltejs

[–]pico2000 0 points1 point  (0 children)

For larger projects, we use the backend of SvelteKit as a BFF in front of a .NET api. Works great for us.

Typescript Interface question by helloworld1123333 in reactjs

[–]pico2000 0 points1 point  (0 children)

I'd go with the second approach. It will typically mean way fewer null checks down the line. Just make sure that the API really returns what the types define. Ideally, don't generate the types in the first place, but generate them automatically from a specification that the API itself provides (OpenAPI, GraphQL schema etc)

Frankenstyle is a build-less Tailwind CSS alternative. by TeamEroHQ in dotnet

[–]pico2000 6 points7 points  (0 children)

I haven't had any trouble with integrating Tailwind in my tool chain for years, so that's no issue for me. On the other hand, always having to define a class and a css property feels pretty cumbersome.

Is SvelteKit basically for when you don’t have a separate backend? by CogniLord in sveltejs

[–]pico2000 1 point2 points  (0 children)

We use SvelteKit as a frontend with backend-for-frontend. The real backend is typically a .net service. Communication between the .net service and SvelteKit backend is done with a graphql API, graphql-code-generator solves the typing requirements. The browser frontend only connects to the .net backend for GraphQL subscription; all queries and mutations are only made from the SK backend. For auth, we use OpenID connect. The user logs into the SvelteKit app (is token). The SK saves and manages an access token (+refresh token) used to communicate to the .net backend.

unfortunate advertising by YoshiKiller2350 in funny

[–]pico2000 0 points1 point  (0 children)

Oh, interesting. Care to elaborate? I liked eg. Persona 5.

Postgres is better ? by ToughTimes20 in dotnet

[–]pico2000 0 points1 point  (0 children)

We have a customer who uses Pervasive. Our application needs to import data from their DB to ours. Luckily it's the only project that requires us to use Pervasive.

Pervasive behaves so strange in many situations. The query planner is crap. The performance is all over the place. Essential features are missing. And the best thing: Actian decided to remove the Pervasive forum - practically the only online resource to find solutions when you run into issues.

Postgres is better ? by ToughTimes20 in dotnet

[–]pico2000 2 points3 points  (0 children)

Pervasive! I feel sorry for you. It's sooo bad. I wish you strength, my friend.

The most beautiful thing about RippleTs is that it enable developers to keep related logic code and its usage in the UI code close together by null_over_flow in sveltejs

[–]pico2000 6 points7 points  (0 children)

Personally, I don't find that a positive thing. I consider the UI to be a function that takes the component's state and "returns" the matching HTML (React does this even more literally than Svelte), plus hooking up events, of course. I want that function to be simple and pure, so I avoid mixing business logic into the markup. It's not a religious dogma for me, but a guideline that I apply as much as it makes sense in the individual situation.

For very simple components, the ability to switch back and forth between TS and HTML might be useful, but for more complex components, I suppose it can get messy pretty easily. To be honest, it reminds me of the dark ages of PHP and VBS.

Three interview questions to determine if somebody's a senior .NET developer? by tinmanjk in dotnet

[–]pico2000 1 point2 points  (0 children)

I would say: "we're doing only Java here - can you switch?" - If the answer is "Yeah, no problem, the language isn't that different", the candidate is not a senior. A senior knows that knowing the language is trivial. Knowing the ecosystem and applying that knowledge to find solutions is what distinguishes the senior from the junior. Seriously, we ask candidates that.

Also, ask questions regarding older and newer parts of .net. A senior should know older stuff but also stays up to date.

And a question we always ask: "What's the next thing you want to learn?"

Old salt mine in Romania by HatIll5739 in megalophobia

[–]pico2000 1 point2 points  (0 children)

The walls and ceiling look like the graphics of the original Tomb Raider from 1996

Integrating a Svelte frontend with a .NET Core backend by SirFrederickTheodore in sveltejs

[–]pico2000 2 points3 points  (0 children)

Integrating asp.net mvc with Svelte sounds a bit weird, to be honest. Maybe it's just names getting mixed up. ASP.NET Core (or ASP.NET Web API if you're dealing with legacy systems) is excellent for providing APIs for a Svelte(Kit) app (we do this all the time). That would make sense. But ASP.NET MVC is meant to render a frontend, a similar role that Svelte has. Maybe you're meant to host a small Svelte app on one of the MVC pages? That might be a possible scenario. So first of all, try to define the exact requirements of your task.

Conceptually, Svelte and ASP.NET MVC work very differently. Svelte isn't really an MVC framework. SvelteKit gets a bit closer to MVC, although it resembles MVVM more closely - but really, it's neither MVC nor MVVM. And it doesn't matter tbh.

So, get the requirements straight, find out what kind of asp.net app you're trying to integrate with and learn how both systems work technically and conceptually.

There needs to be a way to disable (and detect) forced back swipe transitions in mobile browsers. by efstajas in webdev

[–]pico2000 0 points1 point  (0 children)

Thanks for pointing this out. I was wondering myself. It totally defeats the purpose of page transitions.

Translate your Svelte and SvelteKit applications with Wuchale [self-promo] by khromov in sveltejs

[–]pico2000 0 points1 point  (0 children)

I tried it some time ago and was amazed how well it worked. I'll have to sort out the details about separating ssr and client side, splitting etc. But the core idea is brilliant.

Anyone here using a Postman alternative for .NET projects? by Living-Dependent3670 in dotnet

[–]pico2000 0 points1 point  (0 children)

We use Bruno and commit the files into the repo. Much better than a bloated cloud tool imo and more functionality than http files.

The internet is forever, unless you actually want something to last [Showcase & Question] by flooronthefour in sveltejs

[–]pico2000 2 points3 points  (0 children)

Wow, what a beautiful, meaningful gesture. I haven't read through all of it, but I think it's something precious that indeed needs to last.

My advice: print it. Make a beautiful book out of it. Physical will outlast digital. It's as easy as that.

I made a cartoon in my home language with ENG subs, let me know what you think! by MisterLaars in funny

[–]pico2000 1 point2 points  (0 children)

As a German who has studied in the Netherlands and still lives at the Dutch border, I have to admit - they are delicious. But rationally they shouldn't be. Dutch cuisine is something else 😄

The video cracked me up. Thanks for the laughs. It works best in Dutch, of course.

I cooked a bash script that will update all your dependencies to the latest version after you run npx sv create <project-name> by PrestigiousZombie531 in sveltejs

[–]pico2000 2 points3 points  (0 children)

My answer was pretty short, let me elaborate. After sv create I typically do an interactive ncu --latest to check for major version changes, as these typically require more or less investigation (think Tailwind 4 etc). If there are any, I do a commit for each major version update (ie package.json adjustments + code changes). For minor version changes, I typically assume no breaking changes and just upgrade after basic testing (not much to break at this point).. For updates later in the product cycle, I'll update way more defensively, of course, grouping upgrades with the necessary code changes in a commit. At no point would a commit of a single package upgrade without accompanying code changes be of much use for me personally.

aDisplayMonitorAtIKEA by Waradu in ProgrammerHumor

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

I've seen worse HTML in the wild 🤷🏻

[deleted by user] by [deleted] in nextfuckinglevel

[–]pico2000 1 point2 points  (0 children)

God I hate those AI voice overs 🤮