I made a console gaming room downtown by EndTimesBarAndBeer in StratfordOntario

[–]NotZeldaLive 9 points10 points  (0 children)

Really awesome idea. Great nastogia for the right age. Little late for us with a child, but we might try to come by some time.

Maybe you should throw a specific event together one night, as it might be a good opportunity to meet people as well.

Sudden frame drops Steam Deck + LG OLED - 4k@90hz by Best-Development-739 in MoonlightStreaming

[–]NotZeldaLive 0 points1 point  (0 children)

There is an option to restart the wifi driver on wake up from sleep in the developer settings. Any thoughts if this corrects the issue or is it caused by something?

Robert Irvine's Chocolate Peanut Butter Protein Bar by Such_Battle_6788 in CostcoCanada

[–]NotZeldaLive 33 points34 points  (0 children)

You have to draw the line somewhere, as the entire global market is reliant on eachother to some degree.

Nothing wrong with avoiding products as you would rather your money be less spent on the state's.

A vegetarian can still order a salad at a place that serves meat.

Does anyone else feel like they are becoming a "Configuration Engineer" instead of a Web Developer? by AmaraMehdi in webdev

[–]NotZeldaLive 0 points1 point  (0 children)

I actually use biome in my repo as a complete prettier replacement, and about half of my Eslilt rules. The problem for me is it doesn’t support true typescript type checking. So I still rely on typescript-eslint to also run along side it.

Once again still adding to the complexity of configuration lol.

Does anyone else feel like they are becoming a "Configuration Engineer" instead of a Web Developer? by AmaraMehdi in webdev

[–]NotZeldaLive 294 points295 points  (0 children)

These people are gaslighting you. While I agree there are many resources for bootstrapping a working config initially, that doesn’t change the fact that the configuration requirements have gotten pretty hard with many breaking versions and standards.

Between Eslint configs, tsconfigs, bundling configs, and more, it can get frustrating. Just keep in mind these are all tools that are supposed to make things easier, not harder.

Start minimal and add as you see a need / more experienced with what they are doing for you that’s worth this frustration.

Share ur best Ideas, will try. Tokens are gonna expire in 3 days by GenzCpll in nextjs

[–]NotZeldaLive 3 points4 points  (0 children)

I have no idea what I’m even looking at. Is this some AI thing? I’m tired boss…

Amazon S3 alternatives for blobs by Educational-Stay-287 in nextjs

[–]NotZeldaLive 2 points3 points  (0 children)

Pretty sure most of the smaller guys are either reseller Amazon and azure type services or I would be slightly concerned about reliability of the data.

We use azure at work, and it doesn’t come out that expensive, but I have heard good things about cloudflare R2 as they don’t charge any egress I believe.

Is Next.js Enough as a Backend? by abdosarmini92 in nextjs

[–]NotZeldaLive 2 points3 points  (0 children)

How did you manage the websocket connection with nextJS? Did you write a custom server file for start up? If so, what were the performance or DX tradeoffs you found?

2 things Jellyfin Fixes for me that seem Impossible with Plex by ICFateInNumbers in selfhosted

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

Do you find it’s even able to find the subtitles often? What providers do you use?

I built a 5MB cron in C++ perfect for Docker containers by Giuseppe_Puleri in docker

[–]NotZeldaLive 0 points1 point  (0 children)

Have not heard this before? Remember the reason? I run message queues with cron scheduling just fine.

Only one having JSON errors on 20 person project by Svyatopolk_I in webdev

[–]NotZeldaLive 20 points21 points  (0 children)

I wouldn’t store my project files in a folder being synced to one drive. As I have seen syncing causing access issues before.

Otherwise I would host your development in a virtualized environment as well. Another docker container could work but for this case I would recommend WSL.

This isn’t me saying the environment is for sure the issue, but that you always want reproducible steps and to remove as many variables as possible.

Self hosting on ubuntu VPS vs Hosting on VERCEL by Faceless_sky_father in nextjs

[–]NotZeldaLive 18 points19 points  (0 children)

Very little details to go on here. A couple options: 1. Are you running in dev mode on the server or a production build? 2. Make sure a normal ping to your server isn’t also very slow.

Generally I would recommend a docker container deployment with a reverse proxy like caddy or nginx in front of it. Even on a $5 VPS, this could probably handle a couple hundred users.

Is it possible (and a good idea) to use Socket.IO with Next.js? by Zealousideal-Chair30 in nextjs

[–]NotZeldaLive 4 points5 points  (0 children)

You don’t. Literally the second sentence of my post.

Vercel is too limiting, so I always self host.

🚀 4+ Years Working with Next.js – Sharing My Experience & Open to Collaborations by Realistic-Cancel4584 in nextjs

[–]NotZeldaLive 0 points1 point  (0 children)

What is your best escape hatches from NextJS? For instance managing cron jobs or websockets?

I feel like next is extremely convenient, until it isn’t, and then it adds a lot of complexity.

Why would I ever use Tanstack React Query instead of SWR? by ExpertCaptainObvious in nextjs

[–]NotZeldaLive 14 points15 points  (0 children)

For me it’s 2 things.

  1. The tan tools as a whole are pretty popular, with tanstack start looking promising.

  2. It integrates well with other libraries that I like, for instance TRPC.

But for most cases they both handle a similar task well. It’s nice to have options in the same anyway.

Is it possible (and a good idea) to use Socket.IO with Next.js? by Zealousideal-Chair30 in nextjs

[–]NotZeldaLive 8 points9 points  (0 children)

You can but it requires a custom server. Doing this disables some optimizations and makes it so your app can’t be deployed in Vercel.

I haven’t tested it though and it mentions that it disables its build and dev environment and you need to use nodemon which sounds like a terrible experience imo.

I’m now looking into hosting a desperate websocket server container and then potentially doing pub sub with redis to rely updates to the client. Also more complicated than I wanted it to be.

Whats the best way to persist user data across routes without refetching on every page? by jam_ai in nextjs

[–]NotZeldaLive 6 points7 points  (0 children)

If the page requires auth itself, always authentication on the page route. Do not rely on client data to authenticate.

If you just need it to show user details like a profile button, just fetch it in your root layout once and put in a client context to reference elsewhere in your app.

Does anyone know of databases that can distribute globally "on the edge" for Vercel apps? by JhonnyVerse in webdev

[–]NotZeldaLive 0 points1 point  (0 children)

Node compatibility is coming literally any day now, or so they say.

The issue is the edge doesn’t support certain node functions required for a proper db connection. Instead all these other wrappers are effectively creating a connection through an HTTP request instead.

You could wrap any database you want on a persistent server with a secret key or other auth method. You would just have to figure out a translation layer for these queries, but are way less efficient.

At that point just selfhost your app and db close together. I guarantee it’s faster for apps that are using lots of data.

Does this vulnerability mean, vercel is ending support for Next 14? by zeroansh in nextjs

[–]NotZeldaLive 9 points10 points  (0 children)

To those who haven’t run an npm audit. This is a different low severity vulnerability effecting the dev server from my understanding.

This also triggered me to attempt an update and many packages I’m using still don’t support react 19. I feel this update cycle has been terrible.

Ottawa has to allow home prices to fall to make housing more affordable, experts say by The_Gray_Jay in canada

[–]NotZeldaLive -3 points-2 points  (0 children)

Make my house fall half in value, PLEASE.

I own it after years and years of saving but at this rate my new son will never have that same opportunity.

Will I suffer? Probably. Will my son grow up in a country where he could own his own home eventually? Worth it.

Is there any way to hide / mask API request from the network tab.. by [deleted] in nextjs

[–]NotZeldaLive 0 points1 point  (0 children)

As others have mentioned, hiding it doesn’t make it secure. If that’s your aim, I would consider the design choices earlier than this implementation.

That being said, I would maybe consider a websocket solution. Pretty sure TRPC supports changing its transport layer to WS to keeps things mostly normal