pelya

joined 2 years ago
[–] pelya@lemmy.world 4 points 1 day ago
[–] pelya@lemmy.world 1 points 1 day ago

Madlad also includes ESP32 binary in this release.

The only platform missing is WebAssembly. And maybe KaiOS, but I have no desire to port OpenTyrian to KaiOS again.

[–] pelya@lemmy.world 3 points 2 days ago (3 children)
FILE *f = popen("curl 'https://www.random.org/passwords/?num=1&len=12&format=plain&rnd=new'", "r");
char s[14];
fread(s, 1, sizeof(s), f);
s[13] = 0;
[–] pelya@lemmy.world 2 points 5 days ago

Uh yeah, I'm pretty sure the discharge can stop your heart if you grab it in precisely wrong manner. Typical defibrillator uses like 50 times less energy, but with a higher voltage.

[–] pelya@lemmy.world 1 points 6 days ago

Ah, that webpage has elements

[–] pelya@lemmy.world 14 points 6 days ago (8 children)

A capacitor of 1 farad at standard American 120 volts has the energy between 7.62×54 and .50 BMG, and will discharge just as violently.

[–] pelya@lemmy.world 8 points 1 week ago

Your window needs to get the list of all other windows, find the one directly below it, and send a mouse click programmatically, using something like accessibility API.
Are you writing a keylogger?

[–] pelya@lemmy.world 15 points 1 week ago (2 children)

Creating a kernel is hard, Linux itself is not going anywhere.
If all current maintainers suddenly disappear, several corporations, who heavily depend on Linux, will maintain their own forks, so we will get Google kernel for phones, Amazon kernel for datacenters, Valve kernel for gaming, and probably some European initiative kernel for PCs and laptops to do document editing.

[–] pelya@lemmy.world 16 points 1 week ago (5 children)

This is a single-component rocket fuel, which means the rocket will not explode in a huge slow-burning red fireball, but detonate like a nuclear explosion, minimal visual effects but maximum shockwave, and a mushroom cloud of vapor.

[–] pelya@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (1 children)

Universities were already locking down their PCs in the 90's, at least those with competent IT departments - BIOS password, locked boot menu, Windows 2000 with restricted user accounts. If you don't do that, your every PC will have 15 copies of Counter Strike and a bunch of viruses in one week.

Chromebooks (and laptops in general) are way cheaper now than PCs were back then, so again, you need to buy your own and install a proper OS, the situation did not really change.

[–] pelya@lemmy.world -1 points 1 week ago* (last edited 1 week ago) (4 children)

No they didn't

Are you suggesting to go back to days when every single little thing required a driver on a floppy disk? You buy a Chromebook, you install Denian on it with a few keypresses, your videocard magically works, your soundcard works, your WiFi just connects with no issues whatsoever, you ignore the fingerprint scanner hardware as usual because who even needs that shit when your password is 14 symbols long, and done, you are ready to install a gigabyte of NPM packages to create your single-page web app. Don't tell me Windows 95 was somehow better, it only made your life slower and miserable, just like your Intel i486SX which could not run Quake because it lacked FPU.

[–] pelya@lemmy.world 15 points 1 week ago

The truth is people who want small phones also want them for the price of a clamshell feature phone with no 4G support. I've heard these complaints many times from older acquaintances, they want their old Nokia that can also run Viber and do videocalls, and they are not paying iPhone SE price, so there's practically no market for small but high-spec phones, outside of luxury brands where you are buying an ancient chip with a leather back cover.

 

Google had removed my X server app from Play Store, because it was too old (is 2022 too old?)

But no more! I have recompiled it for the newest Android version and published it back. And you can use it to run GUI apps from Termux. Launch X server first, then run these commands in Termux, then switch back to X server:

pkg install x11-repo
pkg install xfce4
export DISPLAY=127.0.0.1:0
export PULSE_SERVER=tcp:127.0.0.1:4713
xfce4-session

Termux now has it's own X server, my app is pretty similar, except that it's landscape by default.

 

I have mixed sour cream with Marmite to make it spread more evenly over banana, and the taste is... not good. The salt overpowers all other components. It's even worse than plain Marmite banana, because you can actually taste the banana before Marmite diffuses over your tongue. The best combination was cream banana without Marmite, to no surprise.

Marmite cream oat cookie is a surprising discovery. The overpowering saltness of Marmite is balanced by the overpowering sweetness of the oat cookie, the same way salted caramel works. I don't think the cream is even necessary, you can rub Marmite on the cookie's hard surface much easier than on the soft banana.

 

If combining two things from a fridge could be called a new recipe. It tastes good, I promise.

97
submitted 4 months ago* (last edited 4 months ago) by pelya@lemmy.world to c/dull_mens_club@lemmy.world
 

The shop also had regular sprink bottles with the same cologne, but this bottle is shaped like a fuel can, so it looked manlier to me. It contains 80% alcohol, so it's also a disinfectant and an after-shave.

 

I don't need any fancy tiling window managers. One fullscreen window per desktop, and 12 virtual desktops, that was my workflow for 10 years. Then I incorporated KDE activities into my workflow, which are exactly like virtual desktops but switched with Meta-Tab not with Ctrl-F1 - Ctrl-F12. Wonderful!

And then, Plasma devs broke it. Switching activities now puts my foreground fullscreen window (one per desktop) into background, and switches keyboard focus to the desktop. Give me back my keyboard shortcuts, and you could also rename Plasma back to KDE while you're at it, thank you very much.

At least there is a bug opened, but it's doubtful that Plasma devs will fix it before Debian 13 release. I can't even find motivation to update my OS anymore.

 

Also works for searches 'Times new roman' and 'Courier new font', but not for 'Lucida console font' or 'Dejavu sans font'.

 

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

 

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.

 

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.

 

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.

 

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

1
submitted 2 years ago* (last edited 2 years ago) by pelya@lemmy.world to c/androidgamers@lemmy.world
 

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.

view more: next ›