r/redneckengineering • • Jun 30 '21

Keeping computer awake while it compiles code

44.5k Upvotes

1.1k comments sorted by

View all comments

70

u/AlanHoliday Jun 30 '21

Y u no download a mouse jiggler?

114

u/TurkeeDurkee Jun 30 '21

Not allowed to download or write macros on my work laptop :'(

29

u/AlanHoliday Jun 30 '21

Ah gotcha. iirc there’s a usb drive one available as well.

26

u/captainhamption Jun 30 '21

In locked down environments USBs are disabled as well so you don’t plug into that Stuxnet you found on the parking lot.

11

u/Car-Facts Jun 30 '21

A decent cheap mouse jiggler uses a mouse driver for forensic purposes. So unless the admins locked out plugging in a regular mouse, it would be fine.

4

u/[deleted] Jul 01 '21

Why it the best solution always buried under "load more comments"

0

u/justageorgiaguy Jul 01 '21

Don't use to keep your mouse moving to not "show away"

Reviewed in the United States on March 6, 2019

Size: Single Unit

If your IT department has half a clue they will detect this and maybe walk you out the door. I've been in IT For 25+ years, trust me. Look up the vendor ID in your logs after it is inserted, google the vendor name, first hit is mouse mover. Beware!!!

4

u/BigDavesRant Jul 01 '21

Open notepad. Place heavy thing on space bar. Enjoy.

→ More replies (1)

2

u/shodan13 Jun 30 '21

Even fake USB mice?

→ More replies (1)
→ More replies (1)

35

u/Uberpastamancer Jun 30 '21

Can't alter sleep settings either?

33

u/enchantrem Jun 30 '21

Then how will the boss know you're being productive??

7

u/notonlythat Jun 30 '21

I am a web developer and I build something just for this purpose! It doesn't require anything to be installed and you can download the complete page as HTML if you need to get around a corporate proxy.

https://skeoh.com/wake/

0

u/[deleted] Jun 30 '21

[deleted]

6

u/notonlythat Jul 01 '21

It uses a JS library called nosleep which in turn uses the native wake lock API if available, and if it's not available it will play a tiny, invisible video which keeps older devices awake.

https://github.com/richtr/NoSleep.js/

→ More replies (1)

3

u/mohsii Jun 30 '21

Connect (via VNC for example) from a different Mashine onto the Client which you are not allowed to install such things and use the Programm “move mouse” from the Windows Store

→ More replies (7)

1

u/KayneGirl Jul 01 '21

Do you have PowerShell? Microsoft internally uses a PowerShell script that is open source to keep this bug from screens turning off or computers going to sleep when they shouldn't. It looks a lot like this one:

https://gist.github.com/MatthewSteeples/ce7114b4d3488fc49b6a

Wish they would fix the Windows bug instead. I manage a bunch of monitors showing status screens, and on certain Dell laptop models I have to use this script to keep Windows from going to sleep even though we have that disabled in Windows.

1

u/bluefish1432 Jul 01 '21

Are you perchance using node? My friend created an NPM package called mouji. It can help with your issue.

1

u/truejamo Jul 01 '21

You can write code but not a macro? Wtf?

→ More replies (1)

3

u/ParaspriteHugger Jun 30 '21

Meh, I'd use my phantom keystroker in mouse wiggle mode for that.