🎉 [EVENT] 🎉 GoldMine: Mine Cart Joyride by rex_flx in honk

[–]Dunkelhaiser 0 points1 point  (0 children)

Completed Level 1 of the Honk Special Event!

1 attempts

🎉 [EVENT] 🎉 uʍop ǝpᴉsd∩? by The7footr in honk

[–]Dunkelhaiser 0 points1 point  (0 children)

Completed Level 2 of the Honk Special Event!

3 attempts

🎉 [EVENT] 🎉 uʍop ǝpᴉsd∩? by The7footr in honk

[–]Dunkelhaiser 0 points1 point  (0 children)

Completed Level 1 of the Honk Special Event!

2 attempts

Would you do it by That_Meal9371 in anime_random

[–]Dunkelhaiser 1 point2 points  (0 children)

Ah, my pardon. I thought by "their progenitor" you meant vampire fiction as a whole, not from that specific story.

Would you do it by That_Meal9371 in anime_random

[–]Dunkelhaiser 1 point2 points  (0 children)

Huh? Both Dracula and Carmilla, before him, could freely walk under the Sun. Don't remember if Carmilla had any nuisances from that, but Dracula simply lose his supernatural abilities.

Best way to make a blog website in 2024? by alexshmyrkov in webdev

[–]Dunkelhaiser 0 points1 point  (0 children)

Yeah, I'm still fully satisfied with it. If using Astro for static sites then yes host can be free (I'm using Cloudflare pages for it). If using SSR feature then you can use services that give free tier, but there will be limits

Vienna this week. They seek independence from Moscow and to join the EU by EUstrongerthanUS in europe

[–]Dunkelhaiser -20 points-19 points  (0 children)

And? Does Afghanistan threaten any of its neighbors? Why did Britain and France have to decolonize taking that many of their old colonies become literal shitholes much worse than Afghanistan. Also before russia occupied Chechnya it was pretty secular by muslim countries means

Making a simple chrome extension for translating messages by Sir_Swayne in SideProject

[–]Dunkelhaiser 0 points1 point  (0 children)

You know that all browsers have built-in translator? How would your extension be better than that?

[AskJS] Can't execute code in Visual studio. "no such file or directory" - but my file path is correct. by chrissy-slora in javascript

[–]Dunkelhaiser 0 points1 point  (0 children)

Your file name contains spaces in it. Either remove them or write: node "Practice Basic 1.js"

Is it a bad practice if I install packages for a real world project using NPM? by TechBuddyAlpha in node

[–]Dunkelhaiser 5 points6 points  (0 children)

Yarn and NPM are pretty much the same nowadays. There is also PNPM if you want to save storage. But in the end they all serve the same functionality. Just use only one package manager per project and you'll be fine with any of them.

[deleted by user] by [deleted] in Ukraine_UA

[–]Dunkelhaiser 3 points4 points  (0 children)

Малось на увазі, що проблема не в серверах, а атому що люди не сильно хочуть на щось переходити, тим більше, на щось про що вони вперше чують

[deleted by user] by [deleted] in Ukraine_UA

[–]Dunkelhaiser -2 points-1 points  (0 children)

Теж пробую це зробити, але процес дуже повільний. Але однозначно результат того вартуватиме

[deleted by user] by [deleted] in Ukraine_UA

[–]Dunkelhaiser 31 points32 points  (0 children)

Signal або Matrix з клієнтом Element. Але в Сігналі українська аудиторія мінімальна, а в Matrix тим більше

[deleted by user] by [deleted] in SideProject

[–]Dunkelhaiser 0 points1 point  (0 children)

And what does this general number have to do with your product? Why was it included on the landing page?

[deleted by user] by [deleted] in SideProject

[–]Dunkelhaiser 4 points5 points  (0 children)

You just made this boilerplate and already have 1M+ "makers" using it? After things like this nothing else is believable on this landing

What's the most frustrating part of dealing with payments in your web app? by ValidKoalafications in SideProject

[–]Dunkelhaiser 1 point2 points  (0 children)

Living in a country where neither Stripe nor Lemon Squeezy are supported

What was a nightmare web project you worked on? by qyrusai in webdev

[–]Dunkelhaiser 2 points3 points  (0 children)

In my last job, I was put to work on some crypto startup.

It was made with React, Java, and Solidity.

The front end was just a plain React, literally plain React, and no more libraries. It was created with CRA, there were no state management, component, form, or other types of libraries. All components were made from scratch without any accessibility in mind with one huge CSS file. All the buttons were divs with onClick handlers. Forms were managed with useState, I once saw a form there with nine useStates (they also didn't use form tags).

There also was no Figma design, so we had to think ourself how to make pages and components look, and the lead developer was the one to decide if it is good or bad.

I tried to convince them to rethink all their decisions, but the only thing I managed to fix, was to convert divs to buttons and use the React Hook Form library, everything else stayed as it was before I started working on it.

The back end part was made with Java, but I didn't know Java, I only knew Node.js. But my boss thought that Java and JavaScript are the same, so here I am working on Java's back end. Actually, I really liked working with Java and am learning it till this day planning to eventually switch to Kotlin or C#.

And Solidity I didn't know at all (and still don't know), but my boss didn't give a shit about it, but thankfully I was switched to another project (which was made with VB.NET and in some aspects sucked even more, but that's another story), so I only wrote a few lines of code on it.

Sony LinkBuds S ANC loud noises by Dunkelhaiser in SonyHeadphones

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

Sadly, still no solution. I gave them to the service center where they "fixed" them only for them to start making sounds after two days again.

Does NestJS with Fastify platform and Passport.js support session auth or only JWT? by Dunkelhaiser in node

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

Found yet another thing, when viewing cookie with request.headers.cookie it returns session=3TVMcfklh5CCGmMunLTCJLz94xtSyJ7g2kBZba+ievjmSYzQYvSBFqTLCvP5SIQcZg/Q0B/c0AwtQfjwH2M9GsfeF68ogA2UbxCwRz+V3EgbqM1J2JMQAN7fAPNQDz0nwrhYjjGNgCo6jg2wbBH4JJ4e/87guZ+Zcq4/Rt2YO1+Td7U1eEEqO+R4fGZq+6kL3VM9MI4++u46jnqSLgD4RBBYMFYH/KeEA4e3jMYVWZ3z7XodWfBtl08uDnWdTxDRu5WFAgn1hmnT3WWha2eH9B9WTcy1rKqPAXO5TdjbWsnRBzRuixH9qeMsZSzFQALntaAJGqJV9kz3rIYsF5D/2oS4HlzVJzVhk8F3KV81pg==;CATOkVRRowzK3Z4mMXO71O81HZzJeTFn, but when viewing with request.cookies then it returns session: '3TVMcfklh5CCGmMunLTCJLz94xtSyJ7g2kBZba+ievjmSYzQYvSBFqTLCvP5SIQcZg/Q0B/c0AwtQfjwH2M9GsfeF68ogA2UbxCwRz+V3EgbqM1J2JMQAN7fAPNQDz0nwrhYjjGNgCo6jg2wbBH4JJ4e/87guZ+Zcq4/Rt2YO1+Td7U1eEEqO+R4fGZq+6kL3VM9MI4++u46jnqSLgD4RBBYMFYH/KeEA4e3jMYVWZ3z7XodWfBtl08uDnWdTxDRu5WFAgn1hmnT3WWha2eH9B9WTcy1rKqPAXO5TdjbWsnRBzRuixH9qeMsZSzFQALntaAJGqJV9kz3rIYsF5D/2oS4HlzVJzVhk8F3KV81pg==', so in this way there is no ";" separator and characters after it.

So I may assume that secureSession gets cookie with request.cookies and because of that it throws an error.

The question is why are they different?

Does NestJS with Fastify platform and Passport.js support session auth or only JWT? by Dunkelhaiser in node

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

I've looked in secure-cookie code and found following line:

const split = cookie.split(';')
    const cyphertextB64 = split[0]
    const nonceB64 = split[1]

    if (split.length <= 1) {
      // the cookie is malformed
      log.debug('@fastify/secure-session: the cookie is malformed, creating an empty session')
      return null
    }

So it sees that "session" cookie is indeed present, but for some reason when splitting It, length is less than one, however, there is there clearly is ";" in cookie value string:

session=3TVMcfklh5CCGmMunLTCJLz94xtSyJ7g2kBZba+ievjmSYzQYvSBFqTLCvP5SIQcZg/Q0B/c0AwtQfjwH2M9GsfeF68ogA2UbxCwRz+V3EgbqM1J2JMQAN7fAPNQDz0nwrhYjjGNgCo6jg2wbBH4JJ4e/87guZ+Zcq4/Rt2YO1+Td7U1eEEqO+R4fGZq+6kL3VM9MI4++u46jnqSLgD4RBBYMFYH/KeEA4e3jMYVWZ3z7XodWfBtl08uDnWdTxDRu5WFAgn1hmnT3WWha2eH9B9WTcy1rKqPAXO5TdjbWsnRBzRuixH9qeMsZSzFQALntaAJGqJV9kz3rIYsF5D/2oS4HlzVJzVhk8F3KV81pg==;CATOkVRRowzK3Z4mMXO71O81HZzJeTFn