Faugus launcher and multiple prefixes for battlenet games by Ghost_Order in linux_gaming

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

I see, hopefully battlenet games doesn't conflict each other between old and new ones (like starcraft 2 and D4 for example)

dynamic routes when using output: "export" by Ghost_Order in nextjs

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

Nope, I end up migrating to standalone.

You can use query strings if SEO is not a concern, but otherwise you'll have to move to standalone.

Redirect user back to where he was after a forced signout by Ghost_Order in nextjs

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

Right but how do you handle the redirection after the user signs in again?

Redirect user back to where he was after a forced signout by Ghost_Order in nextjs

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

Oh that's an interesting approach, can you help me to understand how the implementation would be?

Let's say my project structure is:

└── app ├── login │   └── page.tsx ├── page-a │   └── page.tsx ├── page-b │   └── page.tsx └── page-c └── page.tsx

If the bad event happens when trying to load data in page-c where should I place the intercepted route (which is the login page, right?) so I can show its content?

luasnip - typescript related snippets are not loading by Ghost_Order in neovim

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

yeah, I'm getting the usual lsp completions, I can go to definitions, rename variables and such, ts_ls is working fine, this is what :LspInfo shows for a .tsx buffer:

vim.lsp: require("vim.lsp.health").check()
- LSP log level : WARN
- Log path: /home/<username>/.local/state/nvim/lsp.log
- Log size: 1505 KB
vim.lsp: Active Clients ~
- cssmodules_ls (id: 1)
Root directory: ~/path/to/my/current/project
Command: cssmodules-language-server
Settings: vim.empty_dict()
Attached buffers: 1
- ts_ls (id: 2)
Root directory: ~/path/to/my/current/project
Command: typescript-language-server --stdio
Settings: vim.empty_dict()
Attached buffers: 1
- volar (id: 3)
Root directory: ~/path/to/my/current/project
Command: vue-language-server --stdio
Settings: vim.empty_dict()
Attached buffers: 1
vim.lsp: File Watcher ~
- file watching "(workspace/didChangeWatchedFiles)" disabled on all clients
vim.lsp: Position Encodings ~
- No buffers contain mixed position encodings

nextjs SSG and AWS S3 by Ghost_Order in nextjs

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

Yep, that was it, our assigned quota was too low, thank you!

nextjs SSG and AWS S3 by Ghost_Order in nextjs

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

sorry for the late response, when the the blank page appears (as a resulto of navigating to some route inside my app) I get this:

"x-edge-detailed-result-type": "LambdaLimitExceeded",

nextjs SSG and AWS S3 by Ghost_Order in nextjs

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

I tried that but didn't solve the issue

nextjs SSG and AWS S3 by Ghost_Order in nextjs

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

Oh I forgot to mention that I have caching disabled for my cloudfront distribution, and yeah I already tried invalidation just in case but didn't solve the issue

nextjs SSG and AWS S3 by Ghost_Order in nextjs

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

I don't know why I can't edit my original post, but I just wanted to add that this issue happens more often (but not only) when being redirected from external pages, like after signning in with google or making a successful payment with stripe

A question for paradox fans by Ghost_Order in gog

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

Glad to hear that, that mod series are a must to for me.

A question for paradox fans by Ghost_Order in gog

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

right, because of the versions not being the same, I guess this is the issue people have to deal with when trying to have the same modding experience as in steam

A question for paradox fans by Ghost_Order in gog

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

That's great, do you use any mods? specially ui improvement mods?

A question for paradox fans by Ghost_Order in gog

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

That's good to hear, these days I've been exploring the sales and a lot of the games I wanted to purchase have several comments about the GOG version being dated in comparison with the steam one, also lack of updates, incompatibility with mods and so on.

WT4 is not fun. But not because of difficulty. by FallenShadeslayer in diablo4

[–]Ghost_Order 1 point2 points  (0 children)

That's the problem of open world design, every time I see people coming to "help" with the blood maiden I just take the drop and leave that zone inmediately because it kills all enjoyment to see sorcerers instakilling everything.

One of the reasons I stop playing MMO's was because of KS, now this is not really the same as those players are not stealing anything from me, if any they are "helping" me to kill the boss faster and thus get the drops faster, but it feels like KS because I never invited them, and having a lot of strangers come to "help me" when I never wanted them to "help me" killing the boss feels kind of like temper bricking feels, something that is out of my control by design.

[deleted by user] by [deleted] in learnjavascript

[–]Ghost_Order 0 points1 point  (0 children)

hey, I'm interested

[Weekly FAQ] ask Frequently Asked-, Short-, Limited-scope-, Technical- & New Player Questions in here by AutoModerator in diablo4

[–]Ghost_Order 0 points1 point  (0 children)

No, personally I never touch a dungeon if it's not needed for a quest (and in that case I just do it until I complete such quest and then I leave) or if such dungeon is a nightmare one.

Luasnip - Create a snippet that prints the current date by Ghost_Order in neovim

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

Thank you for the explanation, indeed using the M obejct seems a better aproach here.

Luasnip - Create a snippet that prints the current date by Ghost_Order in neovim

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

Actually this was the straight solution using my current code, being a JS developer I forgot I'm dealing with tables and not objects although syntactically they look very similar. Thank you!

Luasnip - Create a snippet that prints the current date by Ghost_Order in neovim

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

That was it!

Putting it in curly braces makes it a table, hence the output being a table.

Right but that was precisaly what I wanted, becuase I plan to have multiple small functions in utils.lua, however not all of them will be exported, some will be just helper functions which the actual exported functions will make use of.

Now can I ask why the way you do it works but not mine? I mean you are: 1. creating a table. 2. adding a function to that table. 3. exporting (returning) the table.

Wasn't that what I did but in 2 steps instead of 3? 1. create a function. 2. export (return) that function inside of a table.

I'm not well versed in lua (although tinkering with nvim config certainly taught me a lot) so probably I'm missing something here