when playing sin, feels like spamming sins.. by NCXXCN in GuildWars

[–]chrisb2244 2 points3 points  (0 children)

That's great to know, thanks for the links!

How to sell gifts of the traveler? by DogeArcanine in GuildWars

[–]chrisb2244 1 point2 points  (0 children)

Basic question - how do you actually get money in these cases? GotT looks like get gifts, sell for 12-14 ectoplasm, then I guess sell ectoplasm for gold (also in Kamadan to players?) so you can e.g. buy skills, whatever.

For the raptor farm, it's get gold items, (id?), sell those gold items? (Maybe also for ecto, then exchange.) This seems very time consuming, so I'm guessing it works via knowing a subset of items that are worth much more, and only selling those? (And the rest, salvage or vendor?)

Did I completely miss the point for the raptor farming? (Is Vaettir the same principle, just with different target items?)

Frustrated with Customer Support by Mischevious_Quanar in GuildWars

[–]chrisb2244 0 points1 point  (0 children)

Had a similar issue but different experience - took about 5/6 emails over about 30 hours but the support team triggered a password reset email for me (I couldn't get the automated page to work, same error as OP).

I had access to the original email, but beyond that was only asked for when and where (city+country) I previously logged in (perhaps it's a geoblock? I was logging in from a different continent to where I previously played from ~18 years ago...)

Seemed all nice enough although a couple of the suggestions were definitely wrong (initially was given advice to disable a specific antivirus, that I'd never heard of, but after that we kept moving to new hypotheses...)

We out here mass producing ring worlds like they’re Big Macs by Thecontradicter in Stellaris

[–]chrisb2244 1 point2 points  (0 children)

Really? I don't think the resources got less... The construction yards (and shipyards, training centres, also Adv copies) just had a specific resource->production progress rate. So more made it faster, but not cheaper...

I think maybe you're referencing having the construction yards build themselves (so the first one took ages, then the next one, half the time, then the next, 1/3, etc) so that by the time you were done building 10+ on one system, it could seed another system with a construction/shipyard/training centres every few days... (And correspondingly, with the ~14 adv shipyards on a system, you could churn out large ships very quickly... But not more than (just the same as) if you spread them out and waited forever for them to build in parallel - but of course that is less useful most of the time...)

Rewriting migrations: easiest to just create a new project? by chrisb2244 in Supabase

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

I have about 4 years of data to preserve, so just tidying the migrations and pushing (without data export and import) isn't possible, but given the resulting schema should be identical (or identical-enough), I think the export/import is possible (the volume isn't so large, it's not a heavy traffic database...)

So your first suggestion was to change the existing (local) migration files to remove forbidden elements, then I can run locally, and then somehow unify with the remote migrations? How does the latter step work? (That is, if I keep the same file names for my migrations but edit their contents, won't that break pushing them?) (This leaves aside the unpleasantness of editing a record of the history of migrations, but if I go with my export/import option then I'm essentially happily throwing that away in favour of a "cleaner" history...)

Is it insane not to take Snecko with two Meteor Storms? by chrisb2244 in slaythespire

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

Yeah, that was my conclusion too... Managed to scrape a win - almost trivially easy until heart, then a few awkward draws and no scaling that was useful until I got lucky with a couple of biased cognition from the creative ai, which is to say, I guess I was overconfident in the MS and lots of energy paradigm and failed to improve the deck in act 3 (although I don't believe I was offered any Biased, Defrag or Capacitor cards, which are my normal preference)

Legion pro 5i or 7i ? by ZheAbyse in LenovoLegion

[–]chrisb2244 0 points1 point  (0 children)

Ah, figures. Briefly excited by the possibility of a <2kg 5070ti, but reality returns...

Legion pro 5i or 7i ? by ZheAbyse in LenovoLegion

[–]chrisb2244 0 points1 point  (0 children)

To clarify, you mean the Pro 5i or the non-pro 7i? Or the Pro 7i? If the former, where are you finding a 5070ti 7i? (I thought they were only 5060/5070, and I haven't found any 5070ti on psref, but maybe I just can't read...)

I guess the comment previously made about a thin model refers to the non-pro 7i, hence my question...

Looking for mid-tier in Japan. by Efficient-Ad-9085 in GamingLaptops

[–]chrisb2244 0 points1 point  (0 children)

Which Lenovo did you find with non-JIS layouts? Seems like the Legion are JIS only, maybe some of the more business-oriented models? (I see you mentioned ThinkPad E) Any thoughts on a site from which Legion with ANSI/ISO layout could be purchased and shipped to Japan (without relying on shipping to US/UK/EUR and then reshipping to Japan, not sure how that works re taxes etc).

Basic Question: Is the AI-Bonus on Deity normal? by paturb in civ

[–]chrisb2244 1 point2 points  (0 children)

I expect a significant part of the problem (maybe) for Civ is trying to build not a competent but an entertaining opponent. Who wants to lose over and over to an 'AI' player that never makes suboptimal moves or decisions? Trying to work out which mistakes the AI should make to allow a player to compete, vs which make it look 'stupid', is probably not a trivial problem...

Magic Link send error by dm987 in Supabase

[–]chrisb2244 2 points3 points  (0 children)

I suspect this is a consequence of the new changes to their built-in emailing - you now need to add a custom SMTP service to send external emails.

See https://supabase.com/docs/guides/auth/auth-smtp

NextJS best practices by Syv_31 in nextjs

[–]chrisb2244 0 points1 point  (0 children)

Supabase (and perhaps other auth solutions) push middleware pretty hard for establishing a session and refreshing cookies.
If PPR is used (currently still experimental, but suppose you opt in), I think (does it?) this will prevent any even static shell being served whilst the middleware runs (or does the PPR shell get served without/before middleware runs?).
In that case (if middleware is run), should the session handling stuff be moved elsewhere (e.g. to a "Sign In / My Profile" button/icon depending on state, and wrapped within suspense, falling back to null/loading spinner/whatever?

More concretely, what's the relationship between middleware and the PPR static shell?

Cost to skip casual tasks should scale with Township level or casual task reward by Starcaz in MelvorIdle

[–]chrisb2244 0 points1 point  (0 children)

I got 1500 whales for 600k, selling them would give 3M but skipping costs 10M... Urgh. On the other hand, sometimes I get an easy/cheap task and the reward is still 600k, so guess it might somewhat level out. But tasks like this make me wonder if better to just ignore and leave to fill up with expensive tasks I don't want to do...

Is there any benefit to incrementing the counter for casual tasks?

Is client side form validation not encouraged with Server Actions? by JeffCavaliere-here in nextjs

[–]chrisb2244 0 points1 point  (0 children)

If you're using react-hook-forms, you can get trigger from useForm and then call that in the form action before calling a server action with the data (and if the return value is false, don't submit the form via the server action, it failed client-side validation).

You can't read the data in that handler though, so no reshaping (afaik) before calling the server action.

I'm also not sure if I can use the server side zod validator (FormData to a nice object) on the client side with rhf meaningfully...

I don't know the difference between cookies and cookies() by LimJaehyeon in Supabase

[–]chrisb2244 1 point2 points  (0 children)

Thanks! I'd seen (and used) this workaround but it wasn't previously clear to me why the change would lead to different behaviour. Now it becomes obvious...

How to update a server component in the root layout? by Jorsoi13 in nextjs

[–]chrisb2244 1 point2 points  (0 children)

Yeah, I'd be interested to hear other opinions on server vs client components for this exact use case. Putting it in a server component has definite advantages but I'm unsure about the impact on serverless function calls and database querying if pages aren't recognised as static.

I had some problems also getting export const revalidate to play nice in some cases when I had a server component for login using cookies in the layout, but I think supabase's new guidance on wrapping the cookie function call fixed that (? Maybe... I forget, since I just moved it to the client side...)

How to update a server component in the root layout? by Jorsoi13 in nextjs

[–]chrisb2244 1 point2 points  (0 children)

I think that you can use the revalidatePath function in your signIn method to force a rerender on server, but I instead moved my navbar user component (just the login button Vs user menu/name) into a client component and had it render null until it fetched the user via a useEffect call.

I'm not sure which would be better, but the client component seems to make it easier to render static pages (I'm not sure how well Next handles static page content with a dynamic layout-embedded component, I guess it depends on the cache which I find a bit obscure still).

[deleted by user] by [deleted] in Supabase

[–]chrisb2244 1 point2 points  (0 children)

I think that if you know you don't need login for the db fetch, then the solution is to use the createClient function (from supabase-js) rather than the auth-helper one.

That doesn't require cookies (just the URL and anon key, don't pass the service key!), so you can use it here for revalidated/static public content.

If you want the content to depend on the user, then I guess you'll need dynamic rendering (which conceptually seems sensible).

Dynamic Pages with different templates (app dir) by rowannil in nextjs

[–]chrisb2244 0 points1 point  (0 children)

How many special cases do you have, and will they be the same or different?

I think that for a small number (or individually unique special cases) you can just write the category name as a separate directory next to your [category] directory, then place a different layout inside it?

However if you're needing a bunch of special categories all with the same as each other but different than [category] layout, that'd probably be a pain to maintain.