pelya

joined 1 year ago
[–] pelya 6 points 2 weeks ago

Your viruses installed themselves a Windows virtual machine to run properly?

[–] pelya 16 points 3 weeks ago

You simply need to accept the risc.

[–] pelya 2 points 4 weeks ago

Yet I still had an urge to explain an obvious thing. Because it's C++, so everyhing goes. There are even tools to auto-generate C++ interfaces, because of course someone decided that C++ is inadequate and must be improved using some kind of poorly-documented ad-hoc extension language on top of C++.

[–] pelya 1 points 4 weeks ago (2 children)

I know at least three ways, one of them involves variadic macros.

You don't even need to look that far, take any sufficiently aged library, like OpenGL.

[–] pelya 2 points 1 month ago

It was a Linux joke, nevermind.

[–] pelya 1 points 1 month ago (2 children)

Is this systemd?

[–] pelya 34 points 1 month ago (7 children)

C++ is fiiiiine. Just use the modern variant of the language, don't bother with hand-optimizing your memory allocators, and generally avoid anything involving pointer arithmetics. So, basically, use it like you would use Python.

[–] pelya 2 points 1 month ago

I guess that phone would use eSim, so no slot is needed.

[–] pelya 5 points 1 month ago (2 children)

This needs some simple hardware trigger, that can be queried by bootloader, but specific wnough so it won't trigger in your pocket. If buttons are unavailable, I can propose several idead:

  • Cover the proximity sensor 10 times per second. Requires good motor skills.
  • Shine separated red, green, and blue lasers into three of the phone cameras. You'll need a box with three different-colored LEDs to cover cameras module.
  • There is a low-speed data channel in wireless chargers. Just add the button to the charger instead of the phone.
  • Put your phone at exactly 2.5G of acceleration. Accelerometer is easy to use even from the bootloader, however you will need to put your phone in a centrifuge and reboot it while it's rotating.
  • An option 'Reboot into recovery' in system settings, duh. Won't help if your ROM fails to boot.
[–] pelya 1 points 1 month ago (1 children)

I've tried replacing .gif image with .mp4, now it simply does not show the thumbnail at all, but loads fine when you click the post title.

[–] pelya 20 points 1 month ago

wcsoll is a mispronunciation of wcscoll

[–] pelya 4 points 1 month ago* (last edited 1 month ago) (1 children)

TLDR: they didn't find it.

view more: ‹ prev next ›