pelya

joined 1 year ago
[–] pelya 33 points 4 days ago (5 children)

With North Korea included, it's already more than two countries who are at war.

[–] pelya 23 points 1 week ago* (last edited 1 week ago)

it's used to verify that OpenGL ES2 works on your system. It's the variant of 3D graphics drivers that is used on smartphones. Many apps nowadays write their GFX frontend with GLES2 so it uses the same code on phones and PCs, and if they compile the app to run in the web browser, WebGL is also based on GLES2.

[–] pelya 71 points 1 week ago

Nah, it will end up simply as "John" in the database. You need "John%sDoe" to crash C software with unsafe printf() calls, and even then it's better to use several "%s"

[–] pelya 18 points 1 week ago (2 children)

I prepare my coffee in a cup, and drink it with grounds. No milk, no sugar.

I am an embedded developer.

Sometimes when I'm too lazy to boil water, I leave coffee grounds with cold water in a cup overnight, the coffee is strong enough in the morning, and no need to wait for it to cool.

[–] pelya 4 points 1 week ago

It's safe, there's no lactose in aged cheese.

[–] pelya 45 points 1 week ago

Someone wants to raise their Hirsch index, is all.

[–] pelya 24 points 1 week ago (8 children)

Among field troops in Vietnam it became common knowledge that ingestion of a small amount of C-4 would produce a "high" similar to that of ethanol. Others would ingest C-4, commonly obtained from a Claymore mine, to induce temporary illness in the hope of being sent on sick leave.

https://en.m.wikipedia.org/wiki/C-4_(explosive)

[–] pelya 9 points 1 week ago

Not accurate. They don't have enough refrigerators to drive bodies all the way back. They are simply leaving deceased where they fell, and report them as 'missing in action'. Mass grave is like a luxury option.

[–] pelya 8 points 1 week ago* (last edited 1 week ago) (1 children)
  • A tier. Reincarnated as an inanimate object.
  • B tier. Reincarnated as a plant.
  • C tier. Reincarnated as an animal (that cannot talk, telepathy is cheating).
  • D tier. Reincarnated as an undead (a human disguise drops them to E tier).
  • E tier. Reincarnated as a fantasy race (or a talking animal).
  • F tier. Reincarnated into a different role or social status.
  • Trash tier. Every Japanese high-schooler reincarnated as a black-haired swordsman. Korean black-haired high-school swordsmen are exempt because they all are violent trash-talking bitches, which puts them to F tier.
[–] pelya 4 points 1 week ago

You can set up your own IPv6 server, and it will be accessible from every other IPv6 device. Do you want to create a Lemmy server using only your phone and Verizon mobile data? Yes you can! *

* Instructions for installing Linux environment on Android phone and setting up free DNS and HTTPS certificates are not included.

That's the main point. IPv4 fails because half of all existing IPv4 devices cannot access the other half of IPv4 devices directly, they have to go around using some kind of relay server, which inevitably complicates communications and costs extra money.

[–] pelya 3 points 1 week ago

Nope. Immigration is a process or an action, synonymous to 'movement', you cannot obtain it. You obtain a visa or a permit to perform immogration.

[–] pelya 2 points 1 week ago

Ah okay, Christian medieval traditions are weird.

32
submitted 1 month ago* (last edited 1 month ago) by pelya to c/cooking
 

Washed tomatoes and pasta

  1. Get half-kilo of fresh tomatoes, three onions, and three carrots. You can use the cheapest tomatoes for this, the heat treatment will average the taste. Wash everything. Chop onions and carrots, dump into the frying pan. Add salt.

Onions and carrots

  1. Fry diced onions and carrots in a pan, using a generous finger-thick layer of oil, preferrably olive, until the onions don't sting anymore and carrots start to soften.

Simmered tomatoes and hot pepper

  1. Cut tomatoes in 2 pieces each, you'll mash them anyway so thin slices do not matter. Dump tomatoes into the pan. Cover with a lid, cook on a slow fire for about 10 minutes until they become sauce. Mash and stir each 3 minutes so they won't burn. Cooking less will preserve taste of fresh tomatoes, cooking longer will make it taste closer to canned pasta sauce. But they won't have that taste of the can that you will get with canned tomatoes.

The secret ingredient and spices

  1. Add the secret ingredient - half-kilo of canned pork. This is an optional step - if you prefer taste over calories, it's better to prepare a separate meat dish instead. If you want to add hot pepper, add it now so it will spread uniformly.

The secret ingredient

  1. Boil pasta while tomatoes are cooking - the standard 500 gram package will do, preferably something with a lot of surface like penne so it can soak up more sauce.

  2. Dump Italian or French spice mix into the pan. Turn off the heat, let it simmer for 1 minute so the herbs will soften.

Finished pasta

  1. Dump pasta into the pan. Done! Plating is optional, you can eat it straight from the pan. And the next day you can prepare another wonderful dish - yesterday's pasta re-heated until it's crusty.
 

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

22
submitted 3 months ago* (last edited 2 months ago) by pelya to c/[email protected]
 
 

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.

8
[Review] Undead Horde 2 (play.google.com)
submitted 3 months ago by pelya to c/androidgamers
 

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'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?

 

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

 

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.

5
submitted 1 year ago* (last edited 1 year ago) by pelya to c/androidgamers
 

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 ›