pelya

joined 1 year ago
[–] pelya 2 points 2 months 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 2 months 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 2 months ago

It was a Linux joke, nevermind.

[–] pelya 1 points 3 months ago (2 children)

Is this systemd?

[–] pelya 35 points 3 months 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 3 months ago

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

[–] pelya 5 points 3 months 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 3 months 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 3 months ago

wcsoll is a mispronunciation of wcscoll

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

TLDR: they didn't find it.

[–] pelya 10 points 3 months ago

You've mispronounced wcscoll.

[–] pelya 16 points 3 months ago

It's either a fairy cosplay, or a moth fursuit.

view more: ‹ prev next ›