Stop posting
Stop posting
And they can react to in-game state as well
If every action produces logs and the logs are given to every npc along with some flags, suddenly,
Just punched a guard? That goes in the context
Player is rich? That’s in the context
Wearing mage clothes? Context
It’s a cool way to increase immersion for not much effort without breaking anything in a traditional game
I think it’s fair. You should know if your family cheats if you share your games with them
That is one savage fucking title
How do you even reach 62 being like this
That’s insane
Also lol at the people getting mad at the tea maintainer for “name calling” the guy hired to write up the scam PR
Gig economy or not this idiot should have known better
That’s a big one, generating thumbnails client-side rather than running an imagemagick instance on the server to re-size pictures on upload
I used it to generate hashes of the pictures as well, once.
Adding watermarks too. There are virtuous watermarks as well, I remember having to code up a transparents watermark over people’s IDs to make sure that when they submitted their renters dossier (it was a real estate renting service), it couldn’t be used to commit identity theft by the homeowner later down the line or re-used for something else.
Ah nah Canvas is used for so much stuff and it’s sometimes way under your radar in stuff you wouldn’t at all expect
For instance
I’ll let you look at the comments to see how they circumvented this
async function generateFacePic(commentData: SnooComment, ppBuffer: HTMLImageElement[], displaySize: number = 50): Promise<HTMLCanvasElement> {
const imageSeed = /* a random number */
const imageElement: HTMLImageElement = /* someone's avatar */
// Purpose of copying: A single <img> tag cannot be in multiple spots at the same time
// I did not find a way to duplicate the reference to an img tag
// If you use Element.appendChild with the same reference multiple times, the method will move the element around
// Creating a new <img> tag and copying the attributes would work, but it would fetch the src again
// The image at thispersondoesnotexist changes every second so the src points to a new picture now
// Since the URL has a parameter and hasn't changed, then most likely, querying the URL again would
// hit the browser's cache. but we can't know that.
// Solution: make a canvas and give it the single <img> reference. It makes a new one every time. It doesn't query the src.
const canv = copyImage2Canvas(imageElement, displaySize);
canv.classList.add(`human-${imageSeed}`);
return canv;
}
I’ve seen canvas being used for github-like random avatars, graphs, logos, to create dynamic previews of images on the page in online shops, …
Null pointers, runtime exceptions and try catch blocks in 2023
Not even
Was {._.}
Discord was never usable for almost all handicaps
Source I work with blind developers
You wanna sell in europe you obey europe’s standards and regulations
I’d be absolutely devastated if someone drew me like that as a response to something I said
https://en.wikipedia.org/wiki/Survivorship_bias
“Why do gay people always act flamboyant?”
“Why do vegans always push their lifestyle?”
Because you don’t see the ones that don’t
Any advanced user will face dozens of hoops a month on Linux
It’s never the simple things, nor the very difficult things. It’s small, niche workflows & use cases of your computer that you “sometimes” do, like, I don’t know, editing a PDF, installing shareX or an equivalent that can take a screenshot and upload it to imgur / run OCR on a part of your screen, running a Space Engineers server for your friends, running SSEEdit.exe to dump the contents of a potion overhaul mod in Skyrim and calculate which are the best ingredients to plant in your Skyrim greenhouse and garden for maximizing gold output.
No need to look up ways to do any of those, I’ll get different ones next week, and then more the week after.
You know, the millions of things that no one ever does except that guy in 2019 on StackExchange, but that you will have to do and then never again.
the annoying stereotype of vegans pushing their diet
Also, vegans actually do something good for the planet instead of just choosing a different OS for their PC. So, maybe acknowledge that to your neighborly vegan next time, instead of telling them a story about how you once met someone who was really pushy about veganism.
“Innocent until proven guilty” has nothing to do with it. When a cop stops you he’s not indicting you. Switching your gas off remotely replaces chasing calling in reinforcements and chasing you over several blocks when you start speeding up, or flipping your car over. Both of those already impair or override the driver’s input quite a bit.
Having the opinion that your driver input should override the cop’s order to stop, and that society should trust you to stop instead of putting a kill switch in your engine is an insane opinion, and prime driver entitlement.
And I would love the same for drivers without insurance, license removals and cars that didn’t pass the tech inspection
deleted by creator
It ““worked”” in France
It still kills most of the userbase when they do it
Normal people don’t know what a fucking dns is
You end up with 10 more new sites and a drop in quality and an endless game of cat & mouse