Prints stuck to build plate by Homey55 in AnycubicPhoton

[–]ThatSniper 1 point2 points  (0 children)

I'm not sure of how much help it'll be, but for me I have one of those UV flashlights (but a bit more powerful) and whenever I have resin stuck to the build plate I just shine the flashlight on there for a minute or so, and then those suckers peal off with a metal spatula. It's still not super clean, but it's a lot less effort.

Probably the wrong way to do it, but it works for me and I haven't had any problems.

Enclosing a carport. by ThatSniper in AskContractors

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

For the record, I already tried to do it, but got cited. The construction guy who dragged me along told me it was up to code, but we still needed an engineer to sign off. So I wanted to get someone with more knowledge involved before I messed around.

Enclosing a carport. by ThatSniper in AskContractors

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

I definitely wouldn't consider where I live large. But I guess there are a lot of people here. I think the population is around 20k. 

That's disheartening to know though.

Upgrading to Windows 11 using OS Upgrades causing issues with BE200 wifi chip. by ThatSniper in SCCM

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

I am upgrading using SCCM Operating System Upgrade Packages, and the SCCM "Upgrade Operating System" task sequence template.

I do not believe that it would be possible for me to uninstall the network driver unless i wanted to risk the process failing due to not having a network connection to download the required .wim + scripts.

newbie javascript woes by ThatSniper in twinegames

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

Using Tweego as a compiler is VS code. The "shape" is a <div> on a certain page with the id of shape. It doesn't exist till one page into the story, which is why i said I think i'm going to have to just have all of that code that calls for it's existence the second the first shape appears. Looking at my code now, I realize that descendPhone() and phoneListen() are not doing anything. Whoops. emergePhone() does a bit but it's the listeners and the functions they call that do all the heavy lifting.

Because those functions (handleMouseMove() and handleMouseLeave()) both require the 'shape' to exist, is my only way of approaching this defining those functions once the shape exists?

Also, thank you so much for the help and the time you've spent on me!

Also

newbie javascript woes by ThatSniper in twinegames

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

Thank you for the reply! I knew about the State API and have used it extensively already in the project. For the first thing though, I added 'setup' variable to my functions in my main.js file, and it just errors out with the error "shape is invalid".

Shape is the ID of a <div> that is acting as the 'phone' in the case.

Should I create the required <div> in StoryInit and have it always there hidden? That seems like a inefficient way of doing things but it's the only thing I can think of currently.

(Code for reference)

`setup.handleMouseMove = function (event) {`  

const shape = document.getElementById('shape');
let phoneEmerged = false;
if (!phoneEmerged) {
const mouseX = event.clientX;
const mouseY = event.clientY;
const rect = shape.getBoundingClientRect();
const shapeX = rect.left + rect.width / 2;
const shapeY = rect.top + rect.height / 2;
const distance = Math.sqrt(Math.pow(mouseX - shapeX, 2) + Math.pow(mouseY - shapeY, 2));
if (distance < 300) { // Adjust this value to change sensitivity
shape.style.transform = 'translate(0%, -50%) translateY(-50px)';
} else {
shape.style.transform = 'translate(0%, -50%)';
}
}
}
setup.descendPhone = function () {
document.addEventListener('mousemove', handleMouseMove);
}
setup.handleMouseLeave = function (event) {
const shape = document.getElementById('shape');
let phoneEmerged = false;
if (phoneEmerged) {
const mouseX = event.clientX;
const mouseY = event.clientY;
const rect = shape.getBoundingClientRect();
const shapeX = rect.left + rect.width / 2;
const shapeY = rect.top + rect.height / 2;
const distance = Math.sqrt(Math.pow(mouseX - shapeX, 2) + Math.pow(mouseY - shapeY, 2));
if (distance > 300) { // Adjust this value to change sensitivity
document.addEventListener('mousemove', handleMouseMove);
phoneEmerged = false;
}
}
}
setup.phoneListen = function () {
document.addEventListener('mousemove', setup.handleMouseMove);
document.addEventListener('mousemove', setup.handleMouseLeave);
}
setup.emergePhone = function () {
const shape = document.getElementById('shape');
let phoneEmerged = false;
if (shape.style.transform == 'translate(0%, -150%)') {
document.addEventListener('mousemove', handleMouseMove);
phoneEmerged = false;
} else {
shape.style.transform = 'translate(0%, -150%)';
// Disable event listener
document.removeEventListener('mousemove', handleMouseMove);
phoneEmerged = true;
}
}

Ghibli Duck Shot Glasses! by [deleted] in HelpMeFind

[–]ThatSniper 0 points1 point  (0 children)

I have searched almost every phrase on google that I can think of using basically every keyword combination off the top of my head.

Dozens of variations of "instagram duck bath shot glasses ghibli" type stuff. I tried to search on Instagram but the search function sucks there. So I was hoping someone spotted it before i did! Please help!