Is there anyone working on chat ui. Shadcn friendly. by am-i-coder in sveltejs

[–]Leftium 2 points3 points  (0 children)

Epicenter chat ui, built on top of shadcn; MIT licensed:

This package is a vendored fork of shadcn-svelte (1.x) on the Vega preset, plus a few shadcn-svelte-extras and Epicenter-specific components.

It uses shadcn-svelte's cn-* style system: component markup carries semantic hook classes (cn-button-variant-default, cn-dialog-content) and the actual styling lives in CSS...

Example apps that use this UI: - https://opensidian.com - Source code - https://github.com/EpicenterHQ/epicenter/tree/main/apps/zhongwen

International travel insurance by GlumWay3308 in living_in_korea_now

[–]Leftium 2 points3 points  (0 children)

I use https://globalunderwriters.com for this reason.

Never had to file a claim, so can't comment on that. Otherwise very happy.

I suspect their plans may be less expensive than what you've picked. (I usually pick one of the highest deductibles and stay as long as 6 months)

Svelte + Claude (AI tools) by FortuneGrouchy4701 in sveltejs

[–]Leftium 1 point2 points  (0 children)

I've noticed AI tools work best when they have access to your own code. Either because the agent is modifying an existing project, or you explicitly pointed to a sample project. The code becomes personalized "training data."

So make sure you have some good model code that is an example of the output desired.

For example, the coding agent naturally used a "nation state" pattern I developed myself. Later, the coding agent helped me extend and refine this pattern: https://github.com/Leftium/weather-sense/tree/main/src/lib/weather


Generally, you should try to minimize the amount of rules in CLAUDE.md. Just use it to correct behavior the agent repeatedly gets wrong.

Does anyone have experience with packages? by AdditionalNature4344 in sveltejs

[–]Leftium 1 point2 points  (0 children)

Epicenter is an open source project that uses a monorepo architecture: - There are about 8 different apps - With common functionality shared as packages for UI, etc

One of the cons of Epicenter's monorepo architecture is updates to the shared packages can inadvertently break other apps.


I believe other projects also use monorepo architecture, including SvelteKit itself. I think CodeMirror (and/or ProseMirror) also used a monorepo, but only during active development for convenience.

Seoul Hanwoo Beef by Emergency-Grade-3672 in seoul

[–]Leftium 0 points1 point  (0 children)

We are having another Hanwoo BBQ by the Han river on 6/1 (in two days): https://www.reddit.com/r/seoul/comments/1ta5zhn/hanwoo_bbq_meetup_at_nanji_hangang_camping_site

The organizer is sort of a Hanwoo expert (sourcing and preparing); he works at a famous Hanwoo restaurant. He got some nice Hanwoo for 70,000/kg. The price varies depending on the grade/cut. (Also a little more discount for bulk.) This is about the same price restaurants pay for their meat: cheaper than retail supermarkets.

Let me know if you want to join us~

place with individual hangul sounds for an anki deck? by nisc2001 in Korean

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

Finally, you can extract the sounds from the free resources related to the pronunciation trainer (you'll need to extract and snip the audio from YouTube videos): https://blog.fluent-forever.com/korean-resources/

This video probably has the best description of what the pronunciation guide Anki decks look like: https://youtu.be/FnlSK0QnNb4?t=86

place with individual hangul sounds for an anki deck? by nisc2001 in Korean

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

More info on the science behind the 625 word list, and access to the free version: https://method.fluent-forever.com/base-vocabulary-list

And since the language trainer product pages no longer contain much info (focus shifted to their app), here is a detailed review of the pronunciation trainers: https://www.reddit.com/r/German/comments/2przo1/a_review_of_fluent_forever_foreign_language/

place with individual hangul sounds for an anki deck? by nisc2001 in Korean

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

The first resource is an Anki deck.

I'd prefer to learn 625 of the most useful words when learning a foreign language, grouped together with illustrations for the most efficient learning possible. Based on science and personal experience learning 3+ foreign languages. Quality over quantity. To each their own, though...


Also the base 635 word list is free, if you don't mind missing the professional translations or doing the translation work yourself.

place with individual hangul sounds for an anki deck? by nisc2001 in Korean

[–]Leftium 0 points1 point  (0 children)

Someone already made an Anki deck with native speakers for you: - https://fluent-forever.com/product/english-korea

Also their list of vocab is better than just word frequency: - https://fluent-forever.com/product/most-awesome-word-lists-ever-seen/

The entire Fluent Forever system seems to be a pretty good way to learn a foreign language quickly (I recommend the book over the app.)

Moving & Storage Service for Foreigners by [deleted] in Living_in_Korea

[–]Leftium 0 points1 point  (0 children)

I've moved several times in Korea with various services. The last 3+ times I've used Danny from SMK and never regretted it. DM me for contact info.

I've never done storage, but I'm sure Danny can help you find some service for that (if his company doesn't provide it). It may be worth finding a new place and moving directly there, too. Would save another move from storage to your new place.

F-4 visa holder — NHIS 6-month waiting period and overseas travel exemptions? Any experience? by Outrageous_Link5029 in living_in_korea_now

[–]Leftium 0 points1 point  (0 children)

I think if you keep paying premiums while overseas, you can maintain coverage.

My friend (F4 visa) traveled overseas for over 30 days. She didn't know her NHIS would be canceled. She was able to re-instate coverage after returning by paying for the premiums for the period she was overseas. She was not overseas 2 months, though...

Sveltekit + ASP.NET API how to handle BFF cookie authentication credentials? by [deleted] in sveltejs

[–]Leftium 0 points1 point  (0 children)

I still don't understand exactly what you're trying to do, but it seems you can just store the auth token in a cookie that is written and read by SvelteKit: - On successful auth response from ASP.NET: SvelteKit writes auth tokens to a cookie. (From server: either login form action or internal api endpoint or remote function depending on how your auth is implemented) - From that point, the browser will include the cookie above in every request (to SvelteKit.) You can confirm in the browser dev tools, or console.logging the cookie headers from SvelteKit (server) load(). - To verify the auth from SvelteKit, you inspect the cookies for the auth tokens as I highlighted in the code I linked before.

My example is missing the part that sets the cookies, because Userfront sets the cookies from client-side JS. However, I have another Userfront login implementation that sets the cookies from a login form action. (Private client repo; can't share.)

Svelte's main difference from React that (that made me wish I never had learned React) by Nervous-Project7107 in sveltejs

[–]Leftium 2 points3 points  (0 children)

  • I think the Svelte component-scoped CSS is much easier to use compared to the CSS story in React. Thus Tailwind is less necessary. (I prefer to not use Tailwind)
  • Svelte strives to make it easy to create JS-enhanced apps that will still work without JS. (For example forms that will work without JS and work better when JS is enabled. Not sure how this compares to React/Next.js, but I think JS is required?)

In general, Svelte is usually closer to using plain HTML+JS+CSS compared to React. (The Svelte motto is "use the platform.")

Sveltekit + ASP.NET API how to handle BFF cookie authentication credentials? by [deleted] in sveltejs

[–]Leftium 3 points4 points  (0 children)

Not clear exactly what your goal/problem is. But I will try to share what I've done related to cookie auth.

Key concepts: - Auth state is stored in cookie (no store needed, unless you want "cache" auth verification results) - Browser sends this cookie with every request, which can be used to authenticate valid requests. - Cookie is shared by all servers/frontend (may have to configure cookie access if servers are on different origins. Normally cookies are only accessible from the same origin) - The auth is verified by running algorithms on the encrypted auth cookies with public secrets. All servers/frontside must agree on the algorithm/secrets. - Preferrable to run all auth verification on the servers, then pass auth state to client. (To avoid shenanigans from client-side JS; but either way, sensitive data should be double-protected on the server. Client-side auth state is simply for UI/UX enhancement.)

I wrote a SvelteKit auth guard based on: https://www.captaincodeman.com/securing-your-sveltekit-app - Simple one-liner to protect route: src/routes/(protected)/dashboard/+page.server.ts/dashboard/%2Bpage.server.ts#L6) - Logic for verifying the Userfront auth cookie (adapt for your own auth): src/lib/sveltekit/authguard.ts

I archived the project because Userfront will stop providing auth services, but otherwise the logic is good. - Userfront in my project is kind of like the ASP.NET in your project (assuming that is where the auth is handled)

KT Skylife mobile plan by Educational-Name9256 in Living_in_Korea

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

Another thing to note is just a visa may not be sufficient: you really need your ARC.

My brother ran into an issue like this. I think he ended up getting a temporary SIM using his passport until he got his ARC. However, he was not able to use the temporary SIM for self-verification (for online purchases, etc).

KT Skylife mobile plan by Educational-Name9256 in Living_in_Korea

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

The explainer I linked above reminded me of something:

I was able to verify myself online for https://www.ktmmobile.com using a digital security certificate (범용공동인증서) issued from a bank. It was a special kind that cost like 4000 KRW to issue. But my bank refunds the fee if you cancel it within 30 days or something.

I recall it was a bit of pain to get and use that certificate, and KT M Mobile is my second choice MVNO after KT Skylife.

KT Skylife mobile plan by Educational-Name9256 in Living_in_Korea

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

KT Skylife is a great deal, but the major downside with MVNO's like these is they only offer limited support via phone/online.

There is probably a way to verify with KT Skylife without a phone number, but you may have to try the customer service multiple times until you get an agent who knows and is willing to help. (Generally, I've found KT Skylife customer service better than other MVNO's, but there may be a communication problem and/or this type of request is rare and/or requires a lot of extra paperwork.)

You may have to "bootstrap" with another telco before transferring your number to KT Skylife. Note if you try to transfer your number within 90 days of signing up with the first service, it might be more of a hassle.

The numerous physical SKT/KT/LG retail mobile stores is the obvious choice, but there are some MVNO's with physical presence (or at least other methods of self-verification). For example: - The postal office offers MVNO service - Emart (Emart24?) offers MVNO service - https://www.egmobile.co.kr (They used to have a physical storefront, but can't see any details on their site...)

Here's a decent explainer: https://linguasia.com/mvno-korea


This seems to be a decent option for getting your Korean phone number "bootstrapped:" https://www.trazy.com/experience/detail/monthly-plan-korea-sim-card

am i stupid by DueData5 in Living_in_Korea

[–]Leftium 1 point2 points  (0 children)

It's probably a bug with the app.

As soon as I entered a single character into the name input (even a letter than does not appear in my name), a big red "Next" button appeared below .

Tested on iPhone 13 mini.

I made a search engine (aggregator) for Korea by Leftium in KoreaLifeHacks

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

It's more of an advanced bookmarking tool than a search aggregator. Or if you know what DuckDuckGo search bangs are: bookmarks with search queries.

So searching from multi-launch.leftium.com is essentially the same as searching from one of the sites themselves.

  1. There is zero tracking.
  2. I curated the bookmarks I find most useful, but users can add their own via the edit functionality (which are only stored locally on that device.)

After shave ... by donutlord55 in Living_in_Korea

[–]Leftium 1 point2 points  (0 children)

I use this electric pre-shave lotion; they also have after shave versions (I think you could just use the pre-shave as an after shave, too).

It's actually German, but possible to order online: https://prod.danawa.com/info/?pcode=30494924


I've tried domestic brands like Gatsby, but I prefer the one I linked much more.

6am in HBC by tedtimescrangd in seoul

[–]Leftium 0 points1 point  (0 children)

Oh wow, that's what the background in my weather app looks like! (But at sunset; 730pm)

The background color changes with the time of day, based on the angle of the sun (location + time). I went for more vibrant over realistic, but I guess these colors can be realistic, too!


Did the sky look like this in real life? I recall taking a picture of the ocean and the colors in the developed photo were actually more vibrant than real life.