- 0 Posts
- 73 Comments
petrol_sniff_king@lemmy.blahaj.zoneto
Mildly Interesting@lemmy.world•Why Are Birthrates Down? Two New Studies Point to Phones.
1·6 days agoThey don’t choose to, but they’re choosing not to now because they can’t afford it?
petrol_sniff_king@lemmy.blahaj.zoneto
Mildly Interesting@lemmy.world•Why Are Birthrates Down? Two New Studies Point to Phones.
1·6 days agoPoor people don’t have children?
petrol_sniff_king@lemmy.blahaj.zoneto
Explain Like I'm Five@lemmy.world•Please ELI5 me about the circlejerk about Lego's going on on Reddit? Someone stole some Lego's or something? Why is this such a big deal, I mean who cares if some Lego's get stolen? What's the hubbub?English
1·8 days agoEverything in your life is done for money. Every music record, every pithy article, every donation fund, every non-profit.
If you think that Ben is doing so disproportionately, then say so.
There is nothing I find more irritating than this weasely, faux-innocent JAQing from people who just happen to dislike the person currently leading the charge.
petrol_sniff_king@lemmy.blahaj.zoneto
Explain Like I'm Five@lemmy.world•Please ELI5 me about the circlejerk about Lego's going on on Reddit? Someone stole some Lego's or something? Why is this such a big deal, I mean who cares if some Lego's get stolen? What's the hubbub?English
2·8 days agoit’s fucked that it took Legos to do so,
Your contempt for the meager simpletons you must suffer the indignity of standing shoulder to shoulder with is not doing us any favors. Leave it at the door.
petrol_sniff_king@lemmy.blahaj.zoneto
Explain Like I'm Five@lemmy.world•Please ELI5 me about the circlejerk about Lego's going on on Reddit? Someone stole some Lego's or something? Why is this such a big deal, I mean who cares if some Lego's get stolen? What's the hubbub?English
2·8 days agoI also think it’s pretty fucked that it took a Lego collection to wake people up
I imagine this is deeply contemptuous to you, but this is the kind of thing that gets people invested in politics.
For one, there could be a lot of young people here who missed BLM.
For two, the typical person is really fucking cynical. It may just be that this lego thing actually feels achievable, whereas state-sanctioned murder is like… even BLM didn’t accomplish anything.
I understand that this may be embarassing for you, that it’s about legos, but where there is energy, you should lean into it. There are people who care now about what these police are doing, so be the voice in their ear that guides them beyond this one incident.
petrol_sniff_king@lemmy.blahaj.zoneto
Explain Like I'm Five@lemmy.world•Please ELI5 me about the circlejerk about Lego's going on on Reddit? Someone stole some Lego's or something? Why is this such a big deal, I mean who cares if some Lego's get stolen? What's the hubbub?English
2·8 days agoMake an accusation or don’t, stop being a coward.
petrol_sniff_king@lemmy.blahaj.zoneto
Mildly Interesting@lemmy.world•Should we ditch the idea of three meals a day?
112·14 days agoWho is ‘we’ exactly? Did I need someone’s permission?
I’m not reading the article because I’m lazy.
petrol_sniff_king@lemmy.blahaj.zoneto
Technology@lemmy.world•Women in Brussels 'filmed without their knowledge' by men wearing Meta smart glassesEnglish
11·17 days agoshould people be able to record it without asking the stabber for permission or not?
You can do this with a clearly visible camera.
You know, I think Goat and his ilk should be allowed to have their secret camera glasses, but only if they’re required by law to look like this.
petrol_sniff_king@lemmy.blahaj.zoneto
Technology@lemmy.world•Women in Brussels 'filmed without their knowledge' by men wearing Meta smart glassesEnglish
1·17 days agoWell, fucking don’t.
petrol_sniff_king@lemmy.blahaj.zoneto
Technology@lemmy.world•Angry devs vow to flee GitHub Copilot as metered billing takes holdEnglish
31·17 days agoI wouldn’t even like what I do if I had to use this shit.
Stanley Parable button pusher life for real.
petrol_sniff_king@lemmy.blahaj.zoneto
Explain Like I'm Five@lemmy.world•Can someone explain Pavlov's Dog to me like I am a child or an idiot and how it relates to other stuff? I have had questions about it for years with no avail. Thanks in advance.English
1·19 days agoThe dog can’t decide (as much as it does decide anything) to drool when it hears the bell,
I do think that it is a mistake to assume that the dog is not conscious, or not conscious enough, to know what the bell means.
Like, we could say that the dog is operating purely on instinct, but that would require that we think of them as philosophical zombies completely incapable of self-awareness.
It is also possible that the dog has learned the bell sound as a “word” that means “food” and simply agrees that it would like some food soon. Not all that different from me asking a coworker if they want to get sandwiches.
petrol_sniff_king@lemmy.blahaj.zoneto
Explain Like I'm Five@lemmy.world•Can someone explain Pavlov's Dog to me like I am a child or an idiot and how it relates to other stuff? I have had questions about it for years with no avail. Thanks in advance.English
3·20 days agoI’m not entirely sure what conversation you’re wrapping people into. I don’t know what they say about battered wife syndrome, you would have to tell us.
That said, I think you’re missing the push and pull nature of spousal abuse. It’s not just punching your wife, it’s creating an unstable environment that the victim believes they can overcome and that it is valuable to overcome it.
The negative reinforcement side, that is the abuse and the removal of it for “good behavior”, is often paired with shame. The wife is not just ducking an uppercut, she is made to believe that she deserved it. Would you divorce your husband if you thought you were at fault for all of your marital problems? Abuse victims often think that they are lucky someone is even willing to put up with them.
The positive reinforcement side, that is the honeymoon-like love-bombing that happens between abusive episodes, is what the spouse actually wants. But it’s given only intermittently, like a skinner box (another concept you should look up), which creates a dynamic very much like gambling to make an addict of the victim. They spend most of their time trying to figure out how to create those good times without realizing that it’s being deliberately withheld from them like a dangling carrot on stick.
Both of these contribute to why the spouse stays.
If your contention has more to do with operant conditioning not being inherently evil, uh, that would be true. It’s a normal psychological function. Abusers… abuse it, but there are other reasons why it might be useful to associate a sound with food, for instance.
petrol_sniff_king@lemmy.blahaj.zoneto
Mildly Interesting@lemmy.world•Colour optical illusion
1·20 days agoSometimes I can and sometimes I can’t. When I looked this up earlier, I was able to switch twice. But yeah, if I’m just staring at it, it’s basically impossible.
I switched the first time because I looked at the reflection underneath the dancer, and that seemed to remove just enough visual context that I could reorient my perception.
petrol_sniff_king@lemmy.blahaj.zoneto
Godot@programming.dev•Quick devlog with some learning from a protoype
1·21 days agoYou’re welcome, my friend. :)
petrol_sniff_king@lemmy.blahaj.zoneto
Mildly Interesting@lemmy.world•Colour optical illusion
11·21 days agoShadows do generally overrepresent the color blue due to rayleigh scattering.
Brains are also very quick to make assumptions and also very rigid about keeping them. The spinning dancer illusion, even when you already know you can and have seen it spinning both ways, it can be difficult to switch percepts.
petrol_sniff_king@lemmy.blahaj.zoneto
Godot@programming.dev•Quick devlog with some learning from a protoype
2·22 days agoHey, Shin!
You seem pretty excited about your weighted selection strategy for choosing enemy actions, and I thought I’d share with you some other cool tricks.
I’m going to hide them in a spoiler, though, in case you’re like me and you really love figuring things out on your own.
Tap for spoiler
If you get your action weight from a function call, something like:
action_heal.get_weight(battle_context) => float;You can use the information in battle_context (remaining HP, for instance) to dynamically change how likely each action is to be chosen, which seemed to be something you wanted to look into.
You can even return a weight of 0 if the battle_context would suggest the action would be useless.
For something much more complicated, you might want to look into a concept called a Behavior Tree. Even if you don’t use one, you might learn a lot from how they’re constructed. Video game AI, robotics, and all kinds of other stuff use them pretty often.
If you want to see an example of a what a really simple behavior tree is capable of (so simple it might be more accurately called a Decision Tree), you should look into Final Fantasy 12’s Gambit system. This game actually lets players program their own party member AI to do certain things when certain conditions are met, and it ends up being a really useful if barebones model that I’ve based a few AI systems on. If you wanted to combine that with the weighted random-choice trick to add a little more decision variety, I’m sure there’s a cool way to do that.
petrol_sniff_king@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•Any Other Guys wish they were short/shorter
1·24 days agoI am 5’11’’ in the sense that it’s true enough and I’ve never cared to double check.
Telling people you’re just under the line can be a good litmus test for what kind of person you’re dealing with. Even if I were 6+, I’d still say I was 5’11’'.
petrol_sniff_king@lemmy.blahaj.zoneto
Technology@lemmy.world•Researchers Put Google Gemini in Charge of an Entire Coffee Shop, and It's Inexorably Driving It Out of BusinessEnglish
42·1 month agoI had it draft a response to the person asking questions; I tuned it a little to my liking and sent it.
Gemini, remind me not to ask blargh any questions.
Also, Gemini, my daughter is asking for someone to play with her. Can you run around with the feather wand and have her chase it or something?
There is a trick I learned from Firebelley Games (a youtube channel) that is just as simple to spin up and use as the Enum + match strategy but without sacrificing any versatility.
I actually like it better than the Node-based pattern because you don’t have to set up much boilerplate, and you really don’t need to think about how different state classes might share data. Plus, none of it will clog up your scene tree or need to be pointlessly instantiated by the engine.
Tap for code
If you’re on mobile, I would recommend reading this in horizontal view.
This is all it takes to spin one up:
The only thing your state machine actually needs to know is which functions are paired together. You can use
Callable()to fill in any steps you’re not actually using.You call
update()yourself, so its timing is completely under your control.States are keyed by their own update step, so there’s no extra overhead for string names or Enums or the like, and you still get your IDE’s tab autocomplete to help you with 'em.
All state functions exist within the Player2D script, so you have complete access to any shared data or component that Player2D does.
A basic implementation of
CallableStateMachineis none too complicated, and you can reuse it anywhere.You can do a lot from this base setup, too. I have mine setup such that if I name my functions like this:
My state machine automatically knows which step each function is for by the keyword after the double-unders (e.g. ‘__update’), as well as that the nameless _state_idle() is the enter step and the key that I use to switch_to().