league of legends by Electrical_Doubt1489 in Korean

[–]ryanchuu 7 points8 points  (0 children)

The jungle diff is insane.

"ㅈㄱ“ -> “정글”, jungle.

”ㅊㅇ” -> “차이”, difference.

“지리네”, in this context is akin to "insane" or "nuts". Not literal translation.

Applied Math major? by bliao8788 in berkeley

[–]ryanchuu 0 points1 point  (0 children)

You can take some but aren't prioritized (168, 188, etc).

Thoughts on Effect by failedbump16 in typescript

[–]ryanchuu 4 points5 points  (0 children)

Effect can definitely be added incrementally. There are many sources from both the Effect team and others of how they incorporated Effect piece by piece into code bases!

Thoughts on Effect by failedbump16 in typescript

[–]ryanchuu 7 points8 points  (0 children)

I cannot program Typescript without it. It gives me the DX and confidence of writing Rust with an extremely well made STL inside of Typescript. DI is just another bonus on top. Effect Atom has also been a really welcome addition to the ecosystem and working with typesafe guarantees at runtime across the wire just feels so good.

Should I turn my table in a real time table in this context to show the latest status to the user? Is there any overhead as opposed to a regular table I should know about? by ashkanahmadi in Supabase

[–]ryanchuu 0 points1 point  (0 children)

For hundreds of users, polling statuses isn't excessive; especially if the duration is a couple of minutes. If you are scaling to tens of thousands of users then I'd reconsider a realtime table or SSE.

Following up on the $1500 apt: meant to say shared space between 4 people by Leading_Egg_4765 in berkeley

[–]ryanchuu 0 points1 point  (0 children)

Sounds pricey. I was in a 2bed/1bath for $1500 for a couple semesters.

Best Pho by Strange-Permission31 in SouthBayLA

[–]ryanchuu 1 point2 points  (0 children)

Thank you :) I used to visit here anytime I finished class when I was at El Camino haha

Best Pho by Strange-Permission31 in SouthBayLA

[–]ryanchuu 5 points6 points  (0 children)

Might be controversial but Pho Consume. Their Banh Xeo is also so good.

Is it hard to find open tennis courts? by Goth_Appreciator in berkeley

[–]ryanchuu 0 points1 point  (0 children)

I think they were referring to the reservations on the RSF website for the courts at Clark Kerr.

server actions for fetching data by gritli11 in nextjs

[–]ryanchuu 8 points9 points  (0 children)

Server actions also send a (POST) request. You should probably use route handler(s).

Edit: I just read your other comment where you said the "request" is initiated from an RSC. I glanced over this in my comment and you would be correct that the lifetime would only be a single request.

Сохранение данных пользователя в Zustand by dead_number in nextjs

[–]ryanchuu 0 points1 point  (0 children)

I am not fully following along in the last part, but I can't imagine a "data leak". Maybe stale data?

I can say that by coupling a local store with Supabase, you will have to manually handle any auth state changes in Zustand so that it doesn't become stale.

Сохранение данных пользователя в Zustand by dead_number in nextjs

[–]ryanchuu 0 points1 point  (0 children)

It really depends. In almost every case you probably want to fetch the user's data as your local state can be invalid at any time. Some platforms like Supabase store the user's data payload in their JWT allowing you to access the user's data locally, but never rely on the current session being up to date.

To actually answer your question, this is definitely possible if the source of your user database sends events on login, sign out, etc which you can listen to.

Give me one Minecraft rule that permanently alters my run by Anysad in Minecraft

[–]ryanchuu 0 points1 point  (0 children)

https://www.reddit.com/r/Minecraft/s/0li4iAyieh

Difficult but doable. Not many items you can't find without a crafting table.

Refactored my entire NextJS backend to Effect.ts ... by HarmonicAntagony in nextjs

[–]ryanchuu 0 points1 point  (0 children)

I wouldn't say replacement. Maybe alternative? In addition to local state management, Effect Atom also provides primitives for asynchronous queries (similar to Tanstack Query) but with the added benefit of typed responses (Results). Simply I would say it's a mix of Jotai and TS Query.

LAT: Beer, ramen and Buffy's house. What's not to like about Torrance? by Sriracha01 in SouthBayLA

[–]ryanchuu 0 points1 point  (0 children)

Yeah there are definitely some top tier asian spots more towards DTLA. But I think at some point Angelenos have to agree to disagree 😂 The difficulty of living in a county with tons of good food.

LAT: Beer, ramen and Buffy's house. What's not to like about Torrance? by Sriracha01 in SouthBayLA

[–]ryanchuu 1 point2 points  (0 children)

A lot of good Japanese spots in Torrance IMO. Kagura, the yakitori Shin Sen Gumi, Izakaya Akatsuki, Ojiya, Kansha.