Skip Navigation
Jump
Safe C++
  • Extend C++ for safety

    I stopped reading after this. Why do you think C++ is unsafe in the first place? Someone decided ro extend it, and now you cannot even read an error message without finishing an university course on lambda calculus first.

    0
  • Jump
    CPU: Optional
  • Back in the 80386 days there was one model of BIOS that would print 'CPU not found' if you had your CRT monitor and VGA videocard plugged in.

    15
  • Jump
    Why does VirtualBox keep launching on boot?
  • Your viruses installed themselves a Windows virtual machine to run properly?

    6
  • Lemmy Connect attempts to add ?format=webp to the image URL when loading .gif image, this makes many Lemmy servers return an error. When opening the post in the web browser, without the extra addition to the image URL, the image loads correctly.

    Post where the bug is present: https://lemmy.world/post/19556846

    !

    1
    Jump
    Intel Core Ultra 200V promises Arm-beating battery life without compatibility issues
  • You simply need to accept the risc.

    16
  • Jump
    The C++ learning process
  • 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++.

    2
  • Jump
    The C++ learning process
  • 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.

    1
  • Jump
    Untitled drawing, Aug 29
  • It was a Linux joke, nevermind.

    2
  • Jump
    Untitled drawing, Aug 29
  • Is this systemd?

    1
  • Jump
    We have been played for fools
  • 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.

    35
  • Jump
    Xiaomi’s Button-less Phone Coming in 2025
  • I guess that phone would use eSim, so no slot is needed.

    2
  • Jump
    Xiaomi’s Button-less Phone Coming in 2025
  • 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.
    5
  • Jump
    Vermis by Tempest Doll
  • 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.

    1
  • Jump
    A Guessing Game
  • wcsoll is a mispronunciation of wcscoll

    22
  • Jump
    A Guessing Game
  • You've mispronounced wcscoll.

    8
  • Jump
    Keystone Species Rule
  • It's either a fairy cosplay, or a moth fursuit.

    17
  • Jump
    Could Pac-Man eat the Ghost of Christmas Past?
  • Is eel a pellet then?

    6
  • Jump
    Android games for girls?
  • Where's My Water

    It does not require great screen-tapping skills, characters are designed by Disney, and it's premium.

    2
  • 3
    Jump
    Request: select and copy text with a long-press
  • Oh, it works, nice.

    1
  • Jump
    Request: select and copy text with a long-press
  • Jerboa was the first Lemmy client that I've installed. Lemmy Connect is the closest to Reddit is Fun in the interface layout, that's why I ended up with it.

    3
  • Jump
    33 years ago...
  • I'm pretty sure Apple and Google already rewritten all important GNU parts into something with Apache or BSD license, to throw everything GPL licensed out of their embedded systems. The biggest and most important part was obviously GCC, replaced by Clang.

    How many GPL-licensed system libraries and tools are in Android right now, except for the kernel? I'm pretty sure the answer is zero.

    11
  • I often want to copy some phrase from a post to search it on the web. Long-pressing post text minimizes this post into a single line, which is not very useful IMO, I would rather have text selection cursor like in a web browser.

    9
    play.google.com Undead Horde 2: Necropolis - Apps on Google Play

    Rise from the crypt and rebuild your home

    Some studios are still releasing premium games in 2023. Undead Horde 2 is a dungeon crawler with no ads or IAP, and it costs $10.

    It features 3D blocky graphics, although less blocky than Undead Horde 1. The combat is moderately paced and depends more on upgrades than on button mashing, most of the time your minions do all the fighting. There are no puzzles, just some fetch quests to progress the story.

    2

    I've unlocked all weapons in Vampire Survivors, and I'm too bored to grind the remaining 14 unlocks.

    Please recommend me some proper, $10 up-front games.

    17

    I've alrealy played all versions of Space Marshals, Tesla vs Lovecraft, Tesla Force, Jydge, Crimsonland, Grind Infinity, Solomon Keep, PewPew, and Vampire Survivors (although it's not twin stick but close enough).

    Are there any new twin stick shooters, preferrably something I can pay for once and without IAP going up to $100?

    0

    I want to open large image with comments below when clicking on a post, like in Jerboa

    1

    Is there a way to cast my phone screen to TV using some kind of Tasker plugin? I'm using screen cast to view one specific app on a big TV, but the screen mirroring stops whenever the wifi blinks, and I'd like it to reconnect automatically.

    1

    I've encountered many, many mobile games where the character needs to perform five different actions, so the developer adds five separate buttons to the screen. Of course you will mis-tap them and die in the middle of a boss fight.

    The best touch controls are achieved when the dev designs the game around touchscreen, not attempts to adapt touch controls for some existing game.

    For platformers there are two movement buttons on the left, and three buttons on the right part of the screen - jump, attack, and alternate attack or some action like dodge. Any more buttons make the game hard to play. There is also a common mistake of making buttons the size of a thumbtack. Ideally the buttons should be as big as a 5 Euro coin, that would be a third or even a half of screen width for most phones.

    My recommendations are SuperTux and Swordigo.

    For twin-stick ahooters there are two joysticks, and maybe one or two extra action buttons above the right joystick, but not anything more.

    The best examples are Space Marshals and Crimsonland.

    Top-view RPGs and dungeon crawlers also tend to use twin stick controls. The gameplay tends to be more relaxed, because you can slways grind few more levels and don't bother dodging enemy attacks.

    Shoot-em-up is another type of game that works really well with the touchscreen. Your aircraft follows your finger no matter where you touch the screen, it's simpe and it works well. There is a wide variety of quality shmups on Play Store, try OpenTyrian for some classic DOS gameplay.

    Honorable mention to swipe controls. You can swipe up/down/left/right without aiming for a specific button and even without looking at the screen, ao it's impossible to mis-tap the wrong button. The downside is that swiping is slower than taps, so the gameplay tends to be slower. Reaper is a good example.

    First person shooters are okay for casual gaming, but playing any competitive Counter Strike clone like Critical Strike or Critical Force will earn you a friction burn on your finger, because you are swiping the screen non-stop to aim.

    I'm not reviewing strategy games here, they can have 10-layer menus and dialogs and still be playable.

    Some racing games support gyroscope as a replacement for the steering wheel, it works rather well.

    And of course there are infinite runner games. I don't want to call the whole infinite runner category trash, there are some good runner games like SmashHit or Vektor or Alto's Odyssey, but if it's three lanes infinite runner, you will watch ads each 30 seconds, and the gameplay is only fun for the first 30 seconds.

    Flappy bird. Best touch controls ever, but the game itself is garbage.

    There is a specific class of mobile gamers who are using gamepads. The gamepad is great for sure, you have a separate button for each finger, however the gamepad is more often than not bigger than the phone, so you are losing convenience and need clothing with huge pockets.

    0