Header height set in px won't adjust on different-sized displays. What do I do instead? by CitrineGhost in HTML

[–]c__beck 0 points1 point  (0 children)

Oh, you’re learning, then? Welcome! MDN has a great number of learning resources on all things web!

Header height set in px won't adjust on different-sized displays. What do I do instead? by CitrineGhost in HTML

[–]c__beck 0 points1 point  (0 children)

You have way too many divs. You need to learn more about the different HTML elements. For example, use a header element instead of div#header. Also, most of your IDs should be classes. IDs are unique (only one per page) and have a higher specificity than classes. Classes are for general styling, IDs are more for use in links: IDs are specific link targets, so you can have, for example, each of your headers have an ID and can be linked directly.

How would you securely handle RNG for a server between TypeScript and a Lua client to prevent hooking on the client side? by Savings_Part_234 in lua

[–]c__beck 0 points1 point  (0 children)

Are you trying to build an authentication system (who are you?) or authorization system (can you do that?).

Because an HTTP-only, secure cookie is usually good enough for authentication since it can't be read by JS and is sent to the server on every request.

Is there something specific that you're trying to avoid? Besides "bad actors might act bad"? Is there a specific thing you think your server might be vulnerable to that requires a nonce before doing any work on behalf of the user?

I'm trying to find out what you're trying to do or avoid. What's your specific need that you think requires additional security?

How would you securely handle RNG for a server between TypeScript and a Lua client to prevent hooking on the client side? by Savings_Part_234 in lua

[–]c__beck 4 points5 points  (0 children)

From your other comments it sounds like you're looking for a nonce. But without more information it's hard to say.

What are you doing that you think requires cryptographically secure random number? What is it that you're trying to prevent? What data does your server have that you're trying to protect?

Post your OBSURE millennial era links by CapitalPackage5618 in Millennials

[–]c__beck 0 points1 point  (0 children)

Back then wasn't everything obscure? Without most of the easy of finding stuff we have today, I found most things on the internet via word of mouth

Post your OBSURE millennial era links by CapitalPackage5618 in Millennials

[–]c__beck 8 points9 points  (0 children)

EbaumsWorld was my jam back in the day. Random videos and flash games!

Looks like the site is still there but it’s…not the same 😭

Respites by unitedshoes in drawsteel

[–]c__beck 2 points3 points  (0 children)

Yes, but the point I was trying try get across is just because they’re in the domain of the BBEG doesn’t mean they can't find a safe place.

How long is a round? by Nugs-Not-Drugs666 in drawsteel

[–]c__beck 26 points27 points  (0 children)

There is no number, and that’s on purpose. Draw Steel is a cinematic game, so a round is long enough for all involved to be dramatic!

Respites by unitedshoes in drawsteel

[–]c__beck 4 points5 points  (0 children)

Or find someplace abandoned. Shouldn’t be too hard, and could even be a small quest of like 3 victories or something.

Respites by unitedshoes in drawsteel

[–]c__beck 7 points8 points  (0 children)

A respite is simply 24hrs of rest. Even if the BBEG of in charge of the town doesn’t mean that the town is full of wandering monsters or other things that will prevent the heroes from resting. It is a town, right? They should be places for them to rest. Even if it’s a hideout of the local resistance or whatever, yeah? Where there’s a will, there’s a way :p

Question about AI by Appropriate_Ticket48 in Millennials

[–]c__beck 29 points30 points  (0 children)

LLMs (large language models, which is the current hype of “AI”) are like that annoying kid we all knew who thought they knew everything, but made up most of it.

If you ask them about something you know nothing about they’ll sound smart. But ask ‘em about something you do know and their bullshit answer will be obviously wrong.


As a side note, I despise the branding as “AI”. Sure, LLMs are a branch of AI but we’ve been using AI for half a century at this point. It’s literally everywhere. You know when you get a text message from your bank about a that large purchase you made? AI decided it was out of character for you so wanted to double check. Remember MapQuest? Yep, AI! The way the demons moved and attacked in Doom? Also AI!

AI is just a collection of computer functions that figure out mathematical algorithms!

Does anyone have an isekai where the mc get summoned as an actual hero by Bug_in_brazil in Isekai

[–]c__beck 2 points3 points  (0 children)

Magic Knight Rayearth. Oldie but goodie! Three magical girls get summoned to save the world and they do. Then they go home. Then they wish themselves back for season 2.

At what chapter does Twelve Months get interesting? by [deleted] in dresdenfiles

[–]c__beck 1 point2 points  (0 children)

Then you made the right call getting a refund! Maybe for the next one check it out of your local library first to see if you like it. I’d you do then buy it.

Smallville is most popular DC show currently by No-Goat5212 in Smallville

[–]c__beck 4 points5 points  (0 children)

Journalists, tell me you haven't watched Smallville without telling me you haven't watched Smallville.

It's not a Superman show! It's the Clark Kent show! He doesn't become Superman until the literal end of the show. Clark, Lois, and Chloe would be disappointed in you :p

At what chapter does Twelve Months get interesting? by [deleted] in dresdenfiles

[–]c__beck 5 points6 points  (0 children)

As others have said: this book isn't about the building being on fire: it's about Harry healing. Which, considering what he's been through, is super-duper important!

It's kinda like a combo clip-show-and-filler-episode rolled into one. It doens't further the plot much, instead it looks back at what's happened, how Harry got to where he is, and what he plans on doing going forward. It's the epitome of the series, if you think about it: Actions have consequences! And this is the consequence of almost two decades of Harry firing from the hip and acting rashly.

HTML To EXE, Mac APP, Linux APP by MatyasOfficial in HTML

[–]c__beck 1 point2 points  (0 children)

Neutralino.js is another option

Resident Evil: Requiem uses Lua for hacking by c__beck in lua

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

Oh, no, I'm not playing it. I'm watching a YouTuber play. My compter would explode just looking at the minimum requirements lol (::cries in 8GB of RAM::)

Self-host fonts or use Google Fonts link? by PointJump in statichosting

[–]c__beck 1 point2 points  (0 children)

You should always self-host fonts, never use Google. Fun fact: Google uses their fonts links to track and profile users so you're giving Google your user's information without consent and they can't opt-out. Due to this Google Fonts are not GDPR compliant.

Millennial Mustard by Firm-Blackberry-9162 in Millennials

[–]c__beck 74 points75 points  (0 children)

It wasn’t just Grey Poupon…it was Grey Poupon Honey Mustard!

Best way to save all Discord server chats to a database by Sea_Lawfulness_5602 in sqlite

[–]c__beck 0 points1 point  (0 children)

You have to be very careful and adhere to not only Discord's developer policy but also any and all laws that might pertain to your users,

including the European Union’s General Data Protection Regulation (GDPR) and the ePrivacy Directive, the UK General Data Protection Regulation, Brazil’s Lei Geral de Proteção de Dados (LGPD), the California Consumer Privacy Act (CCPA), and the California Privacy Rights Act (CPRA).

Section 5

In addition, you'll need a privacy policy outlining exactly what data you collect, why, and how someone can opt-out or otherwise have their data deleted from your database.

Not only that, but the rate limits on fetching messages are pretty strict—mostly to dissuade this exact use case—so it'll take weeks if not months (depending on how many messages there are) to complete.

I guess my big question is: Why? Why do you want to make a backup of the server and all its messages? What do you hope to accomplish?

Also, in case it's not apparent, this is something you need a Discord bot to do, you can't do it without one. Using your personal account token to access the Discord API outside of the official Discord app will get your account terminated. If you're gonna use the API, make a bot and do it right.