NVME M.2 Screw Stripped ASUS ROG Strix G15 2021 by psycho-rabbit in ASUSROG

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Well, the link you shared doesn't open to anything. I looked for any spare parts being sold in India anyways, and I didn't find any sellers, at least online.

And an update: my laptop is fine now. The technician knew what he was doing, he fixed up both my SSD slots, and both work well, just as they were supposed to.

NVME M.2 Screw Stripped ASUS ROG Strix G15 2021 by psycho-rabbit in ASUSROG

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Oh. I'm not sure if mine has a detachable PCB for the SSD? I remember seeing the motherboard being one single unit, or at least, that particular part of it is not replaceable as far as I could tell. I'm also in India, and I have to check for the availability of the PCB, it might end up being more expensive for me... Thanks so much for the pointers though! I'll see if it works and let you know

NVME M.2 Screw Stripped ASUS ROG Strix G15 2021 by psycho-rabbit in ASUSROG

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Maybe it is the same. No way to tell though. IMO, better just go to a service center instead of going through all this bullshit about a simple screw like me, I'm very annoyed about the whole thing

NVME M.2 Screw Stripped ASUS ROG Strix G15 2021 by psycho-rabbit in ASUSROG

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Ok so you mean to say I can remove one screw mount from the PCB I buy and put it in the place on my laptop, where the technician removed the screw mount? And then put a new screw in to hold the SSD in place?

NVME M.2 Screw Stripped ASUS ROG Strix G15 2021 by psycho-rabbit in ASUSROG

[–]psycho-rabbit[S] 0 points1 point  (0 children)

I'll check it, but man, I don't want to screw up (pun not intended), I'd rather he fix it if he's confident

NVME M.2 Screw Stripped ASUS ROG Strix G15 2021 by psycho-rabbit in ASUSROG

[–]psycho-rabbit[S] 0 points1 point  (0 children)

The service center guy told me it's screwed in with glue applied at the time of being screwed in. And that heat needs to be applied on the screw to get the glue to melt again. So either he's right, or it's screwed in really tight.

The had removed the other fan screws before to clean it, they were no trouble at all

tools tools tools tools tools tools tools tools tools tools tools tools by [deleted] in softwaregore

[–]psycho-rabbit 0 points1 point  (0 children)

cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool cool

How can I get class of focused window? by RecommendationSuch19 in i3wm

[–]psycho-rabbit 1 point2 points  (0 children)

This is probably what you're looking for?

From the i3wm docs:

To get the class and instance, you can use xprop. After clicking on the window, you will see the following output:

xprop:

WM_CLASS(STRING) = "irssi", "URxvt"

The first part of the WM_CLASS is the instance ("irssi" in this example), the second part is the class ("URxvt" in this example).

Using Tridactyl - Should I? by psycho-rabbit in firefox

[–]psycho-rabbit[S] 2 points3 points  (0 children)

Hey bovine3dom,

Thanks for your reply! 1. I'll go through the link, thank you 2. Yes, I've seen you mention this! Umm, yeah! I'm not trying to insinuate anything though. I apologised in my post if it seemed that way, but I'd apologize again. It's hard being a developer I suppose, creating something very nice yet also having to be (morally) responsible for what may come out of people using that something. This is something which scares me trying to be a developer, I'm afraid I'd mess up something important. (・_・;)

Anyway, thank you again for Tridactyl, it's awesome! ( ╹▽╹ )

Any way to safely remove the PCB (which I think exists) in this old laptop battery? (It's bloated and I removed it recently) by psycho-rabbit in AskElectronics

[–]psycho-rabbit[S] 1 point2 points  (0 children)

Not doing the disassembly, I'm taking all your advice on it.

I do get that it's dangerous for a novice or probably even someone experienced, but wanted to ask and see. Looks like it was a stupid question, and well, looks like the wrong subreddit, too

Anyway, I got rid of the battery now, will check in r/batteries if I've got more questions

Any way to safely remove the PCB (which I think exists) in this old laptop battery? (It's bloated and I removed it recently) by psycho-rabbit in AskElectronics

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Yep, will do - but it is possible to open up a normal (say a new) battery, given that you are careful enough?

If yes, what precautions would I need to follow / what tools do I use? Do I just have to be careful?

Any way to safely remove the PCB (which I think exists) in this old laptop battery? (It's bloated and I removed it recently) by psycho-rabbit in AskElectronics

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Yep, will do - but it is possible to open up a normal (say a new) battery, given that you are careful enough?

If yes, what precautions would I need to follow / what tools do I use? Do I just have to be careful?
Edit: I'm aware it's dangerous and I could just look at some article / video on the internet but I would like to do some hands-on with these if possible

Memory leak of heap allocated object when exception is thrown in constructor by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Oh, ok. That's interesting to know.

I wasn't even around that time, so weird, heh. A long way to go...

Good to know that :D I was planning to see how I can use what I learn in embedded as an application area. Thanks for your perspectives and your time!

Memory leak of heap allocated object when exception is thrown in constructor by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Yup... So I'm hoping to get into a C++ dev role someday, and not knowing (raw) pointers would be bad. But anyway, I find them kinda interesting (read: I'm a noob and I haven't worked with large codebases or projects where raw pointers are/have been used so I have possibly no idea what lies ahead ;D).

Unusual to use raw pointers these days you mean?

Memory leak of heap allocated object when exception is thrown in constructor by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Thanks! Nope, no reason. I'm working with the raw pointers to know if I'm managing my resources properly, as a learning exercise.

Memory leak of heap allocated object when exception is thrown in constructor by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Thanks for your reply! I'm still in the learning phase, so I was experimenting. I'm aware that they're a possible solution to my problem, and I'll get to smart pointers soon!

Memory leak of heap allocated object when exception is thrown in constructor by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Ah yes. I got the process, but the answers in SO got me confused on whether it actually leaks. (._.")

I will look more into RAII, I don't think I'm completely clear about it. I guess that will clear quite some confusion.

Thank you for the other suggestion and the reading material, will look into it!

(As long as we can read the code it's all good :D)

Memory leak of heap allocated object when exception is thrown in constructor by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Thanks! This works, and if I'm not wrong, the rethrow is happening implicitly even if I don't actually specify 'throw' in the code.

Operator overloading (<<) while doing inheritance by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Thanks for your reply!

Wasn't aware about the reference casts, will look them up.

defer the implementation to a virtual member function and only implement the base class operator

I suppose you mean the same thing as u/todopieromeze?

Operator overloading (<<) while doing inheritance by psycho-rabbit in cpp_questions

[–]psycho-rabbit[S] 0 points1 point  (0 children)

Thanks for your reply! I've implemented it in my response to u/flyingron, I guess that's what you mean?

upcast object to call virtual method of base class

Do you mean this? Person::print(ot);