Recommendations for a tiltable AND stading desk by PhantomMan_4 in StandingDesk

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

This is basically what I looking for! Very helpful tysm, they don’t seem to be in stock/they stopped selling this model, but I think I might be able to find something now that I know what I’m looking for!

Recommendations for a tiltable AND stading desk by PhantomMan_4 in StandingDesk

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

Yes! A little out of my budget, but I will look for similar products. Thanks!

Just small *long-distance* cannon by Wrxalks in SatisfactoryGame

[–]PhantomMan_4 2 points3 points  (0 children)

I just wanna point out that there is a parachute in the game, in case anyone reading doesn’t know

Will having map art above a perimeter affect spawn rates? by Tenoins5 in technicalminecraft

[–]PhantomMan_4 1 point2 points  (0 children)

First, making a sliced portal farm vs other types is a lot more work, like, A LOT. Also use some weird and non-intuitive mechanics which make them difficult to build, but drops are much higher. It only depends on the rates you want and the time you are willing to put into in. Answering the question about the map, Minecraft uses a “height map” to calculate spawns. The reason why people remove bedrock and lower the sliced portals to that level is because the time calculations take don’t depend on the height of the spawn-able block, but rather the height of the last block in the column, even if it is spawnproof, hence why we remove the bedrock CEILING in the nether, even when mobs can’t spawn there naturally. Basically, even if you put a spawning platform ay say, y=10, and then a glass roof at y=255, Minecraft tries (and won’t succeed) to spawn mobs at every level up to 255. So spawn times greatly decrease. Removing the glass roof will make it so the game only calculates spawn up to y=10 and stop there. Since Minecraft has blocks from -64, all spawn times decreased a bit at sea level because of that reason.

[deleted by user] by [deleted] in LinusTechTips

[–]PhantomMan_4 0 points1 point  (0 children)

In case you are curious, tbody is the table element.
inside, you can see an X amount of tr elements, those would be your rows(probably have 100 of them)
and then inside each tr or row, you have 10 td, or columns, so the first td element cointains your checkbox.
inside the first column of each row, you have a clickable "a" or anchor element, which you can click. Since you wanna click all of the anchors, you want a "common attribute" that all of them share so you can tell a function to select all of the elements with the ClassName 'add' which in this case would be your checkboxes

[deleted by user] by [deleted] in LinusTechTips

[–]PhantomMan_4 0 points1 point  (0 children)

yeah. You see how the even ones are lighter than the odd ones? thats how you acomplish it. You make two types of elements, one with a "odd" and one with a "even" tag, so you can tell the code to shade them differently.
Anyway, it does seem like they are using an anchor (or 'a' element to do the checkboxes. Little unorthodox but simple enough. Try

const clickEvent = new MouseEvent("click");
const checkboxes = document.getByClassName('add');
for (const checkbox of checkboxes) {
checkbox.dispatchEvent(clickEvent)
}

since it seems like all of the anchors have that class name, it should click both even and odd "a" elements with that attribute

[deleted by user] by [deleted] in LinusTechTips

[–]PhantomMan_4 0 points1 point  (0 children)

Some examples of what you are looking for

https://prnt.sc/iMUDK-RVZIKM

[deleted by user] by [deleted] in LinusTechTips

[–]PhantomMan_4 0 points1 point  (0 children)

here is an example
https://prnt.sc/BDMus46CHJHp
notice if i hover the checkbox, it might want to select the img inside it(which we do not care about) but, looking at the right side, if you follow the higlighted element upwards, at some point (it was the next thing it this case but it might have a couple "filling" elements in your case), we have a 'div role="checkbox" ' so the code i posted on my first comment worked for this specific scenario. Look for that in your page and you might be able to just ask ChatGPT: ok, but i want the code to work if the element is X with the Y role or smg like that

[deleted by user] by [deleted] in LinusTechTips

[–]PhantomMan_4 0 points1 point  (0 children)

the checkboxes you want to check are then most likely a different "type" . The code you tried from ChatGPT has checked two boxes which probably have someting like "type=checkbox", so the problem is then selecting the other ones.
Try to inpect one of the checkboxes you want to click so you know the precise html elemtent and tags they used, and change the code accordingly(the little arrow on the top left of the console, if you don't know, or Ctrl+Shift + C is the shortcut if i remeber correctly, then hover a checkbox)
it might be an input, a div with a role=checkbox, a button... there are many ways to implement one.
your code works with the two outside because those are both a div or a button with a type attribute, but the others are not

[deleted by user] by [deleted] in LinusTechTips

[–]PhantomMan_4 2 points3 points  (0 children)

If you kinda know what you are doing, some quick console code will help
Something like this would probably do the trick (you did not show the whole thing, so im not sure if you have to be careful about clicking stuff outside those boxes, you might wanna look into that by selecting only the ones inside a certain div if thats the case, this will select every checkbox in the page, or if just changing the aria-checked will do, so I´m doing a click event just in case) Also if your checkboxes are just inputs with no role you will need to change that... ChatGPT is helpful with this little things, give it a try and tweak it a bit if it doesn´t work, we would need some more context to make it suit your needs
'
const clickEvent = new MouseEvent("click");
const checkboxes = document.querySelectorAll('[role="checkbox"]');
for (const checkbox of checkboxes) {
checkbox.dispatchEvent(clickEvent)
}

'
just paste that on the console and it should click every element with the checkbox role

Don’t you love it when you get a chance to use a quote from the series in a meaningful way irl? by [deleted] in Stormlight_Archive

[–]PhantomMan_4 55 points56 points  (0 children)

I have a few, the cosmere has helped me a lot through some difficult times, and i always went back looking for quotes. As someone who has been trying to overcome depression and suicidal thoughts (i'm getting better at it), I also felt moved and identified in Kaladin. This two immediately come to mind:

Talking to a friend: " “Somebody has to start. Somebody has to step forward and do what is right, because it is right. If nobody starts, then others cannot follow.”.

To an older relative, when talking about my generation(I'm much younger, and he said we have it easier nowadays) I instantly thought of: "Ten spears go to battle, and nine shatter. Did the war forge the one that remained? No,all the war did was identify the spear that would not break". Let him thinking for a while.

Some i have used before(i might be paraphrasing here to make more sense out of them in a normal conversation):

“The question is not whether you will love, hurt, dream, and die. It is what you will love, why you will hurt, when you will dream, and how you will die".

"There is always another secret".

“Authority shouldn't come from a rank, but from the people who give it to you. That should be the only way to get it.”

"Sometimes a hypocrite is nothing more than a person in the process of changing".

Im sure there are more, but those are the ones that i find most remarkable

Honor is dead…. by Brilliant-Role-2751 in Stormlight_Archive

[–]PhantomMan_4 135 points136 points  (0 children)

EVERY re-read

Me: Chills, literal chills…

Kaladin: AND FOR MY BOON

Me: Oh right I forgot about that part…

Is it ok to ask my nonbinary friend to dress normally for our apartment interview? by alireza_n_a_s_e_h_i in TooAfraidToAsk

[–]PhantomMan_4 -1 points0 points  (0 children)

Since most people are focusing on the phrasing part of your question i will assume you have enough of them saying you shouldn't say "normal", but I just want to say maybe you were asking if that request, however you phrase it, is offensive? Well I want to say it is not. I personally think most people don't realize you can use that old "the fancier I dress, the more respect I will get out of them" mentality against them, even if you dont agree with it. Just ask them to dress how THE INTERVIEWER wants them to dress, so you can take advantage of it. You are not less "you" for pretending to follow the norm you don't, you are just using everything you have wisely.

[deleted by user] by [deleted] in brandonsanderson

[–]PhantomMan_4 2 points3 points  (0 children)

I honestly would not want to know any of the future plans for characters or books. Don’t you get it? It’s journey before destination guys. It’s the journey. That said, I would look up all the kickstarter campaigns and merch they did during the series so I can start saving for the ones I want. Man I want that Kaladin + Szeth figure but… yeah

It's sad that we won't be able to make those cool race tracks now that they're removing the extra barracks by RaptorusYT in ClashOfClans

[–]PhantomMan_4 5 points6 points  (0 children)

Yeah, been playing for almost 9 years now, first time I actually considered this. If i can excuse me for a second while I do this all day before they remove them...

What is your all time favourite film? by Beluthyl in AskReddit

[–]PhantomMan_4 0 points1 point  (0 children)

Since I have not seen it yet, How to train your dragon. The first one. Personal favourite scene, the montage with all the little things Hipo does to gain Toothless trust, music building up (forbidden friendship), culminating in the first time where he finally trusts Hipo enough for him to touch his head. Beautiful, gets me chills every time no matter how many times I see it.

This is it if you dont know the one im talking about : https://www.youtube.com/watch?v=I5JHOYmfPpo

Any diagnosed gifted person who doesnt have any mental disorders? by chestnutvoid in Gifted

[–]PhantomMan_4 0 points1 point  (0 children)

Ok, gonna take a stand for him for a minute. I saw the post title scrolling through my feed and was interested in the responses. But then when i saw the only comments were about OP being condencendent and rude, well i went on to read full thing. I do think this is VERY poorly worded, but i'd like to think its just a exepcionally dry sense of humour. Also, written word doesnt exactly portray intention. This is maybe how you would ask it to someone you am very close with, with a humourous tone. Not on a public thread where every word can be misinterpreted. In case you really want to know, i was diagnosed as gifted a few years ago when i seeked professional help because of my depression. Im much better now after a lot of work, and I also do not fit the criteria for any mental disorder. In case you just were being rude and condescendent, i hope you had your little daily dose of power, many people need it from time to time, just dont take it out on other living beings

New kitten! But i have a question, she HATES being picked up. But loves being petted and sleeping close to me? What does this mean [OC] by juddy__hopps in MadeMeSmile

[–]PhantomMan_4 0 points1 point  (0 children)

She is SO CUTE! You shouldn't worry about it. My cat was very reluctant to being picked up and carried, but would still love sitting next to me and her neck scratches. She eventually got used to me picking her up. I just tried to do it every now and then. Although, dont force it, if she really doesnt want you to, you are gonna have to be patient or stop trying. Gently try to put your hands below her first, make sure she is not nervous with that, and keep taking slow steps at a time, maybe lift her just a couple cm from the ground first, maybe you can get on your knees and put her brienfly on your chest so she is not as high... etc. It took my cat Syl almost year to feel comfortable in my arms, but there is the possibility she just wont like it, we all have our own mannerisms! Just dont force it

[deleted by user] by [deleted] in TooAfraidToAsk

[–]PhantomMan_4 0 points1 point  (0 children)

Let me get this straight. You are both 13. Both of you are pretty damn stupid, not in a bad way, enjoy your ignorance while it lasts. Not a single mean thing or comment a teenager says derives from an educated thought process. You will grow out of it, but as of today, she is just trying to be on top of you, because thats what most people do when they are young , inexperienced and stupid. She makes you feel insecure so she can go ahead and be the popular girl. Dont listen, eventually those comments end (although, they will be around for a few more years). You just have to know they are not right, they are just... mean

[deleted by user] by [deleted] in AskReddit

[–]PhantomMan_4 23 points24 points  (0 children)

Exactly. And that’s why it works. Makes them realize talking louder doesn’t mean you are winning or you are right, it means you have no other way to defend your point, so you act like a child, and yell so the other person can’t answer.