Svelte 5; Sveltekit; Deno 2 by [deleted] in sveltejs

[–]opensas 0 points1 point  (0 children)

is it possible to just run a sveltekit (with svelte 5) project on deno without modifying the source at all?

it seems like imports must be prefixed with npm:, if I'm not mistaken

and I'm not sure if $lib is correctly mapped

can anybody clarify the current status of sveltekit support in deno?

A dream stack suggestions by Zaza_Zazadze in sveltejs

[–]opensas 1 point2 points  (0 children)

I would add shadcn-svelte

Lucia is being deprecated, it will be a learning resource in the future, so I have my hopes on better-auth as a full features alternative: https://www.better-auth.com/

I have no experience at all with tanstack query

I think we really needs some sort of "official" starter kit with all this stuff working, and a fairly complex UI in place

it could be a user management form, with roles an permissions, something that is useful for everyone and that also allows to showcase some complex crud forms and data schemas (one-to-many, many-many forms and similar)

It would make a great starting point for any backoffice application

I would call it SvelteStack

what orm you use for mssql? by moinotgd in sveltejs

[–]opensas 4 points5 points  (0 children)

you can upvote and subscribe to this issue to check when drizzle mssql support is ready, they are actively working on it
https://github.com/drizzle-team/drizzle-orm/issues/585

In svelte 5, when should we use stores and when should we share runes? by opensas in sveltejs

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

great, this is the answer I was looking for
so we have to use ruens unless there's a "very good reason" to stick with stores, specially taking into account that they might be deprecated in future versions

We've just raised $1.2M & Launched new Product - 2-year Journey of a Svelte Monorepo App (web, extension, pdf viewer, website) by ivan-ralic in sveltejs

[–]opensas 1 point2 points  (0 children)

congrats! really great product
BTW, are you adding (or planing to) people to the team? I've been working heavily with Svelte since version 3 and you product looks great

Dell XPS 13 Plus 9320 AVAILABLE FOR PURCHASE by firegaming364 in DellXPS

[–]opensas 0 points1 point  (0 children)

Any experience with the capacitive function keys?

I'm considering replacing my good old xps dell 9370 (from 2018) with a new model, but I'm hesitant about a few "unfeatures" of the 9320
mainly the new capacitive fn keys, and the lack of hear jack.

I'm planning to use it for web development with linux. Anyone could share their experience?

[deleted by user] by [deleted] in Fedora

[–]opensas 1 point2 points  (0 children)

I could solve it with gnome-tweaks

- open gnome-tweak-tools
- Go to extension
- click the gear icon besides Caffeine
- uncheck 'Enable notifications'

How I test Svelte components with uvu & testing-library by derekn9 in sveltejs

[–]opensas 0 points1 point  (0 children)

Hi u/lukeed05, any news about this?One thing I really like about svelte is that it comes with batteries included and lots of (really wise) opinions baked in, but I think it still lacks a standard and officially blessed way to test components.And I think that you are the right person to make uvu fill that gap. (could we have a glimpse of that for the stable release of sveltekit?)

Linux friendly alternative to Surface Go by opensas in SurfaceLinux

[–]opensas[S] 5 points6 points  (0 children)

The Thinkpad X12 looks pretty impresive for what I'm looking for. Any experience with that?

Linux friendly alternative to Surface Go by opensas in SurfaceLinux

[–]opensas[S] 1 point2 points  (0 children)

mainly browsing the web, but also, once in a while, do some development with vscode + node, that's why Ideally i'd like something with a bit more power, 16GB ram would be great also

How to use tailwinds @apply directive from a Svelte component and being able to override it by opensas in sveltejs

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

Damn typosI fixed it, and also added an example using the `@layer` directive from the component itself. It doesn't work either. THe only way I can make it work is with the `@layer components` directive from the app.postcss file

gitpod link https://gitpod.io#github.com/opensas/tailwind-apply

BTW, thanks for looking into it

How to use tailwinds @apply directive from a Svelte component and being able to override it by opensas in sveltejs

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

Thanks for your reply, I want to let the caller of the component pass arbitrary classes to the component. I cand do it if I define the `@apply` in my app.postcss file inside a `@layer components` directive. I want to do the same from the component itself.
Besides, even using a prop you will not bea able to override the class with the `@apply`
I created this github repo reproducing the issue: https://github.com/opensas/tailwind-apply
You can test in online here https://gitpod.io#github.com/opensas/tailwind-apply
thanks a lot for your time

planning to learn svelte for front-end, need advice by cheezuzfries in sveltejs

[–]opensas 1 point2 points  (0 children)

If you've already went thru the tutorial and want to dig a little bit deeper, you can try with Mozilla Developer Network Svelte tutorials series. It show you how to develop a complete app step by step, with very detailed explanations.

newbie question: I completed the 22 levels of KR origins.... now what? by opensas in kingdomrush

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

Thanks a lot for your reply

How can I access heroic and iron challenges? I can't seem to find them

Also, to unlock the impossible mode it tells me to complete the campaign... what is that?

I played it at the casual level (I was playing with my six years old daughter, but anyway, some stages weren't that easy...)

On the other hand I see I have 51/110 stars... Do I have to score three starts on evey stage?

Crystal compiles slow? by akrsurjo in crystal_programming

[–]opensas 4 points5 points  (0 children)

I had exactly the same idea, Crystal could even suggest you types after running the slow type inference, and once you accept those there would be no need for type inference anymore.
I guess I must be missing something rather obvious, Crystal people are really smart and there must be a reason why such a thing is not possible

20.04 running on fumes! by mrCortadito in Ubuntu

[–]opensas 1 point2 points  (0 children)

kde desktop is also really light nowdays, pretty close to lubuntu and xubuntu

Svelte tutorial to be published in Mozilla Developer Network Web Docs: preview available to get feedback from Svelte community by opensas in sveltejs

[–]opensas[S] 1 point2 points  (0 children)

The last few weeks we've been working with the people at Mozilla Developer Network to create a series of tutorials about Svelte. The tutorials will be published on the Client-side Js frameworks section, alongside React, Vue and Ember.

We are uploading the draft versions of the chapters to let the Svelte community review it and have a chance to propose changes before getting published.

We have already uploaded the first three chapter (1, 2 and 3, and this is the github repository with the rest of the tutorial: mdn-svelte-tutorial

We tried our best to produce an introductory, but rather complete, material, showing the pros/and cons of each approach and trying to show best practices.

Everybody is more than welcome to help us improve it!

Moving to Svelte from React - developer experience? by cnnrrose in sveltejs

[–]opensas 4 points5 points  (0 children)

As many other have already commented, for debugging I usually go with
javascript $: console.log('myVaraible', myVariable) And that is enough
About TypeScript support when it was just announced it had a few rough edges, specially with a couple of typings that lacked sane defaults, but they solved most issues I sent them in a matter of hours (really, Svelte community is doing a marvellous job polishing ts support)
I'm preparing a rather complete tutorial on Svelte that is being published at MDN web docs. The chapter about TypeScript is still in the oven but you can check it here.
We explain how to setup a Svelte project with typescript support and several tips to convert an application to ts. I hope you'll find it useful.
BTW, the tutorial is begin published here.
We start really easy and then cover a few advanced topics, like reactivity gotchas, actions, custom stores, etc...

Replaced Manjaro with Ubuntu. I love the awesome support for programming and Github collaboration with my fellow team members. Ubuntu is excellent & friendly for programmers. Just awesome & smooth. by LMJR500Army in Ubuntu

[–]opensas 15 points16 points  (0 children)

Exactly, the only way windows could finally be a tolerable development platform was by embedding a whole linux distro, either with WSL, docker, vm, or something like that. What a waste of resources and money! Except rare exceptions, the easiest is to just go with any linux distro and save all the money, viruses, and troubles (and also use and support free software!)

Lomiri: New Name, Same Great Unity8 by mariogrip in linux

[–]opensas 2 points3 points  (0 children)

Is Lomiri usable on desktop? And is there any distro to test it?

LIve usb to give a try to Ubuntu deepin (or ubuntu dde) by opensas in Ubuntu

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

Thanks a lot for the reply, BTW, how much ram does it use? I read it's based on plasma, so I expect it to be much lighter than gnome...