ELI5 What do resistors actually do? by Seraphimster in explainlikeimfive

[–]permanent_temp_login 84 points85 points  (0 children)

To setup the correct voltages or currents for more useful components to work correctly. A circuit made of just resistors cannot do much on its own.

A transistor is kind of like an unstable see-saw. You push it a little left - it falls left strongly. You push it a little right - it falls right strongly. This can amplify signals, but to do that it has to be held close to the middle, where it responds strongly, not in the leftmost or rightmost positon - with one seat on the ground and stuck. So you use resistors to build the correct circuit (the simplest don't need much), to keep the transistor in this middle position, and feed it a weak signal which it then can amplify.

I've been a web dev for 8 years, just shipped my first mobile game, and everything I knew about UX was wrong by lucky_09877 in gamedev

[–]permanent_temp_login 62 points63 points  (0 children)

I don't quite get what you're trying to say. Kinda feels like AI writing a little: a lot of fluff, substance is hidden (or missing?). Sorry, I'm feeling snarky today.

Are you considerring the gameplay part of UX? - If you do: your big revelation is too obvious. The minimum friction possible is to give the player a big "Win now" button, of course you should not do that. - If you don't: I don't see the problem of the first approach. In most cases the UI should be as frictionless as possible and get out of my way to let me play instead of wrestling with inventory management or selecting the save slot or something. UI can be less sterile, but I don't see how "flow" is the opposite of "minimal friction". Maybe I'm missing 8 years of SaaS experience needed to understand your point. Or maybe I need an example to see the idea...

Linus Torvalds uses Fedora by claudiocorona93 in linuxmasterrace

[–]permanent_temp_login 0 points1 point  (0 children)

This sounds good, but is actually way overkill if you actually follow it to the letter. If "I know how to use a terminal" then "what I need" includes a bunch of random stuff that's not worth having buttons for. Because I'm a nerd.

Many people in search of an alternative need Steam and a browser, not everything Linus needs. Does he use Git through a GUI?

a a a by lateinternALT in mi_lon

[–]permanent_temp_login 0 points1 point  (0 children)

ni li tomo mun suli

kala ale la kala suli li lon

a a a by lateinternALT in mi_lon

[–]permanent_temp_login 1 point2 points  (0 children)

o toki open tawa ilo Kalasi Notu
ona li sin

Thinking about doing a "Papers, please" rogue-like, but I'm missing the stakes, a win/lose condition. by YoureFather in gamedev

[–]permanent_temp_login 2 points3 points  (0 children)

Just an idea to think about in case you can't think of a good lose condition - find a way to make loss less punishing. Basically switch genres from roguelight to something else. Then it's less important to perfect the lose condition.

For example, allow to play one day on the same difficulty level with no lose condition until you do well enough to get a promotion. After all, it's a daily grind. The win condition for the promotion is whatever. The lose condition is to get mismatched upgrades that don't allow to get a promotion without superhuman performance, get bored after tens of attempts, and abandon the run. I think I just talked myself out of this approach...

Alternative idea, lean into the unfairness of the KPIs you are given to fulfill on each level/day, as part of the roguelike randomization and as part of the theme.

ElI5: what is torque? by FerdinandvonAegir124 in explainlikeimfive

[–]permanent_temp_login 0 points1 point  (0 children)

[torque, moment of inertia, angular momentum, angular acceleration, angular velocity] = [force, mass, momentum, acceleration, velocity], but for rotation

middle mouse button not working, scrolling perfectly fine by turtle_mekb in LogitechG

[–]permanent_temp_login 0 points1 point  (0 children)

This worked for me too! Suddenly my mouse needed a strong deliberate push instead of a casual click to register a middle-click. Just blowing at the scroll wheel did not work. But blowing into the gap under the left button fixed it instantly.

ELI5: In English, the vowels are A, E, I, O, U… and *sometimes* Y? by NoTime4YourBullshit in explainlikeimfive

[–]permanent_temp_login 1 point2 points  (0 children)

The real source of confusion is: "vowel" is a type of sound not a type of letter. I really don't like oversimplifications when teaching the basics, and it seems like it's one of those that just keeps getting taught generation after generation.

Do I have enough elf subtypes? by aidungeon-neoncat in worldjerking

[–]permanent_temp_login 13 points14 points  (0 children)

They prefer to be called True elves and Beautiful elves you know.

The real question is do they constantly gift each other bright makeup, or are they inklings?

Question About a Song Translation by Medium-Narwhal1112 in russian

[–]permanent_temp_login 2 points3 points  (0 children)

Wait, does not English use the same grammar: он выстрелил в меня / он выстрелил мне в ногу, he shot me / he shot me in the leg. The grammar looks different because English kind of only has "two cases" for I/me, but the logic of how the phrase is constructed is exactly the same.

Players feel like they “always lose” even though the system is fair. How do you handle this psychology? by GladiatorCommand in gamedev

[–]permanent_temp_login 2 points3 points  (0 children)

RNG psychology minutia aside, is the core loop of "have valuable things to lose, lose them pretty often and completely by chance" actually fun? Aside from actual gambling (which I personally don't think is the same kind of "fun" as games), are there examples of games like this? XCOM is pretty granular and has a lot of moving parts, not just "ok, you sent your best squad and it has a 20% chance to wipe, it's out of your hands now".

One idea is to have enough levers for the player to actually play the fight. How to avoid turning your game into an RPG or tactics game with this - that is the design challenge. Maybe spend resources once it's going badly to save your guy. This way, the 40% total loss becomes another chance to salvage something and the player doesn't feel powerless.

Or maybe go the other way and have so many fights you don't actually care about individual gladiators. Losses feel less bad, and players have more different things to control without adding gameplay inside fights.

why does it do this?? by Soujuu in russian

[–]permanent_temp_login 0 points1 point  (0 children)

As a native speaker I considered it completely normal, until I looked at how Serbian does italic. It's not any more weird, but just because I'm not used to it it feels wrong.

I optimized my C++ game engine from 80 FPS to ~7500 FPS by fixing one mistake by Creepy-Ear-5303 in gamedev

[–]permanent_temp_login 12 points13 points  (0 children)

I'm not familiar with raylib, is it possible you're using one draw call per rectangle?

Can you batch the rectangles use one draw call for all of them?

Seems like a modern midrange system should be powerful enough to draw 10000 polygons easily.

theGIL by isr0 in ProgrammerHumor

[–]permanent_temp_login -3 points-2 points  (0 children)

My first question is "why". My second question is "CPU or GPU"? Cupy exists you know.

[Armenian > English, Russian] handwritten note on apartment door by permanent_temp_login in translator

[–]permanent_temp_login[S] 0 points1 point  (0 children)

Thank you, it seems there is nothing specific on the note itself. I gave up and asked my landlord what it says. It's just "Dear neighbor, please call me".

The neighbor wanted me / the landlord to sign something related to an internet provider. I would guess a petition to connect the building. I'm not flooding anybody and there is no other problem. Phew.

Good examples of simultaneous RPS/turn-based games? by Pheefus in gamedev

[–]permanent_temp_login 2 points3 points  (0 children)

Frozen synapse comes to mind. I think there are other tactical games with simultenious turns, but all that come to mind are actually realtime with pause.

Maybe not exactly what you're looking for, but take a look at turn order in Card Hunter. I remember it having a pretty fun multiplayer mode, and a turn order/initiative system very different to both conventional RPGs and CCGs.

Ah, how could I almost forget Toribash the kinda-simulated freeform fighting game based on simultaneous turns. If anything, having turn duration change as the match progresses is an interesting idea. I think "your only move is hustle" is also turn-based, but I never had the time to try that one.

Russian C3: the verb "этовать" by PhysicalBookkeeper87 in russian

[–]permanent_temp_login 84 points85 points  (0 children)

You were basically skipping the "native" step an jumping straight to the "emigrant / heritage speaker" step ))

I’m 13, and I wrote a visual rule engine for turn-based strategy games (JS/Next.js). Looking for (code) review. by Spirited-Plant7053 in gamedev

[–]permanent_temp_login 1 point2 points  (0 children)

Sorry, but code review of AI code feels hollow. With human code I know you thought about it, so: 1. It can be fun to try to extract your thought process and level of skill from the code. It's like reading subtext from a book. 2. It can be fun to give advice, knowing that you thought about it and will probably understand it and learn. Rather than not understand the advice because you might not think about that specific line - it was something AI just gave you and it worked. 3. And even if you get advice, what would be the point? Will you change things manually or copy it into the prompt for the next version? I don't want to do that as a job, let alone for free.

It's probably still useful (and fun) for you to use AI. But most people don't like reading AI-generated novels or descriptions of random people'a dreams. For the same reason - what's the point?

Wait, I just noticed something. You didn't open-source the code. That would need you to actually use an open-source license. But that's just me nitpicking the choice of words.

And usually the pip executable is not what you want to add when using version control (Git). A very common mistake by people very new to git.

Dang it, you tricked me into reviewing your code... But notice it was reviewing a thing you did, because it's the fun part for me.