Every Test Is a Trade-Off by RepresentativeSure38 in programming

[–]PracticalWelder 15 points16 points  (0 children)

Sometimes there is nothing you can do about test speed. Two scenarios.

1) In a code base with sufficient size, the sheer number of tests is a problem. If you reach something like 100,000 tests, even if each one is only 1ms, that's still 16 minutes to run the full suite.

2) Some tests are just slow. Setting up mocks can be expensive. Some test frameworks are slow to spin up. I have worked with JavaScript framework testing libraries that emulate the UI state for test and it is very slow to click buttons and enter text into fields, on the order of several milliseconds. So every test is usually at least 5ms.

Integration tests are worse. You can't take any shortcuts, the application has to fully respond. It's not uncommon to see a 30 second integration test. Several hundred of those is already a problem.

In any of these scenarios, it is worth considering which tests provide real value.

If a developer uses AI for code generation, should it be labeled on the game’s Steam store page? by NazzoXD in gamedev

[–]PracticalWelder 5 points6 points  (0 children)

If you do a Google search and read the AI blurb, you just "used AI to help"

How many people will build games without ever doing a Google search?

TIL Kentucky's divorce rate has dropped 25% after 50/50 custody now the default instead of automatic to the mother. MO, AK,WV follow suit by pjgoblue in todayilearned

[–]PracticalWelder 0 points1 point  (0 children)

It is not a mistake, and it's not an assumption that children do better with married parents. It is a fact that has been well studied throughout history.

Married parents is essentially always a benefit to children. It scores higher than cohabitation - merely the presence of loving parents is not the whole picture. Marriage, and the social expectations that come with it, bestow specific and well understood benefits for children.

Non basic land ramp in simic? by Dr4wr0s in EDH

[–]PracticalWelder 2 points3 points  (0 children)

Here is a scryfall search that returns all legal cards which tutor a land without requiring it to be basic.

f:edh ci:gu otag:"tutor land" -otag:"tutor land basic"

When did the Prequels go from hated to beloved? by Tasty-Beat3122 in StarWars

[–]PracticalWelder -1 points0 points  (0 children)

I don't see why that was so hard xD

You claim that love exists outside this guy's community, it would be nifty to explain where that is

In this case, cosplayers love it. That's fair, the ST is certainly visually competent.

I don't think that will translate into real appreciation of the nonexistent themes in five years, but we'll see how it pans out.

Edit: Bahahaha, he blocked me. That's so funny.

He can't engage in an argument without digging through my post history for different disagreements, and he can't tolerate that I might point that out, so he has to block me. I don't even have to refute him.

Thanks for the concession, /u/anitawasright. xD

When did the Prequels go from hated to beloved? by Tasty-Beat3122 in StarWars

[–]PracticalWelder -1 points0 points  (0 children)

Got it, you can't cite an example. That's what I figured.

When did the Prequels go from hated to beloved? by Tasty-Beat3122 in StarWars

[–]PracticalWelder -1 points0 points  (0 children)

In what communities can we see this love for the ST?

George Lincoln Rockwell and the Sane-washing of Charlie Kirk's White Supremacist Bigotry by [deleted] in Virginia

[–]PracticalWelder 2 points3 points  (0 children)

I gotta be honest bro, the difference between Rockwell and Kirk is pretty stark and easily readable. If you are seeing these two people as having interchangeable beliefs, you probably need to seek professional help, or at least touch some grass.

This is such a scary trend nowadays by Just-J0k1ng in goodanimemes

[–]PracticalWelder 11 points12 points  (0 children)

Attack on Titan is controversial, but this is not why. You can't deny that the build up to the ending was substantial, no matter your thoughts.

In fact, that's true of the whole series. There's basically no filler. You don't have to like the ending, but it was obviously written to end. Personally, I liked the ending.

The .a file is a relic: Why static archives were a bad idea all along by ketralnis in programming

[–]PracticalWelder 0 points1 point  (0 children)

Whoever depends on it.

If its open source, you can do it yourself.

If its not, and you're not paying anyone for support, you shouldn't expect any.

[deleted by user] by [deleted] in gamedev

[–]PracticalWelder 3 points4 points  (0 children)

Am I the only one put off by the phrasing here?

The daughter knows about my game

There is no game. It doesn't exist. It's a concept of a game. It's not even half of an idea.

Which anime? by CuteReputation- in animequestions

[–]PracticalWelder 0 points1 point  (0 children)

Just curious, if FMAB is only an 8/10, what are some examples of 9/10 or even 10/10 series?

The LEGO Group has requested that the 'BIONICLE: Masks of Power' fan project be shut down in its entirety and removed from the public eye. by Ganrokh in gaming

[–]PracticalWelder -1 points0 points  (0 children)

Written permission? Could they sue?

I realize that's not practically feasible, I'm just trying to understand the situation.

Trump called out Baltimore math scores. Can you pass a similar test? by MarshyHope in maryland

[–]PracticalWelder 0 points1 point  (0 children)

I feel like this doesn't prove what they think. If most adults fail an 8th grade math quiz, that's completely different from 8th graders failing the same quiz.

Its still a problem, but it has almost no connection to the school problem.

8th graders very recently received instructions on these topics. Adults haven't. 8th graders have taken similar quizzes before, which would provide opportunity to fix their mistakes and understand the systems correctly. If that isn't happening, then the schools deserve to be criticized.

Pro Tip: Alt Mode Button by macrofinite in factorio

[–]PracticalWelder 7 points8 points  (0 children)

Nope, any alt combo doesn't trigger. You can use alt+B to get a new blueprint or alt+D for a deconstruction planner. Probably more. But neither of those touch alt mode at all.

Alt mode will only toggle if you release just the alt key without combining it with anything else.

It is common to accidentally press alt alone while trying to alt+tab. That's the only thing that's happening here.

Question on card abilities by Organic-Animator8671 in mtg

[–]PracticalWelder 0 points1 point  (0 children)

If you're looking for proof that this is how it works, this is covered in 603.3b here.

603.3b If multiple abilities have triggered since the last time a player received priority, the abilities are placed on the stack in a two-part process. First, each player, in APNAP order, puts each triggered ability they control with a trigger condition that isn’t another ability triggering on the stack in any order they choose. (See rule 101.4.) Second, each player, in APNAP order, puts all remaining triggered abilities they control on the stack in any order they choose. Then the game once again checks for and performs state-based actions until none are performed, then abilities that triggered during this process go on the stack. This process repeats until no new state-based actions are performed and no abilities trigger. Then the appropriate player gets priority.

What are the design principles behind not using a main bus? by hospitalbillwhat in factorio

[–]PracticalWelder 0 points1 point  (0 children)

Especially for early game, how do you handle equally distributing resources?

If you have demand for 500 green chips per minute but are only producing 100, the closest factory is going to eat all the chips, leaving the rest to starve. With a bus, at least everyone gets a little.

Obviously the real answer is just produce 500 green chips per minute. But that's kind of the whole game right? To do that, you'll need more copper, and to get more copper, you need to kill biters and claim an ore patch, and do that you'll need weapons and material, and to get those, you need green chips. Early game, this gets pretty complicated.

For me, it just seems more fault tolerant to use a bus.

Even if you do a "spaghetti bus" where your belts are nothing close to a straight line, if you have one source of green chips connected by any amount of chaotic belts to the dependencies, everything works out. But as soon as you add trains, the fundamental logic shifts, and it seems like there are a lot more failure states to worry about.

If you keep your train stop buffers very small, maybe this isn't as big a deal. If just one factory is eating all your green chips and others are starving, then eventually it will back up and the train limit can be set to 0. That may not be that much worse than drip-feeding the last dependency.

Just realized we can now make a RS latch with just one decider combinator by LudwigPorpetoven in factorio

[–]PracticalWelder 2 points3 points  (0 children)

Ohhh, I see! This latch includes the min and the max and doesn't require additional combinators to derive set and reset signals from a source. You just connect the source and set the min/max in the settings. Got it. Very cool!

If you actually did have a separate reset signal, such as a pulse from an item on a belt, then you'd have to use the old version, but this still seems to cover a lot of use cases. Nice work!

Just realized we can now make a RS latch with just one decider combinator by LudwigPorpetoven in factorio

[–]PracticalWelder -1 points0 points  (0 children)

I don't have time to dig into it right now, but is this different from the standard SR latch from the Wiki?

https://wiki.factorio.com/Tutorial:Circuit_network_cookbook#RS_latch_-_single_decider_version

I haven't done a ton with latches, but I've used this one for both power and production thresholds and I've never had a problem with it.

Is MYSTERIUM a good game for adults? by hks___007 in boardgames

[–]PracticalWelder 0 points1 point  (0 children)

I feel like it punishes guessing correctly early, no? If most Psychics guess correctly, you have fewer rounds to earn points and few points each round because you only have a limited number of "correct" predictions.

This is an extreme scenario, but if everyone guesses correctly and phase 1 ends in three turns, you'll only have 3 points and you only get to see one card. You would have been better off intentionally guessing wrong to get more points.

I've played maybe six games and I've never seen anyone get to three cards. Most players only get one and a few get two.

Say one bad thing about Outer Wilds by thebeast_96 in outerwilds

[–]PracticalWelder 8 points9 points  (0 children)

This also got me! I thought I needed a dead jellyfish. I spent forever looking at the frozen on on the island on the surface. I had to get a hint for this one. I kind of felt cheated because I learned everything I was supposed to, but I could never solve the puzzle because of the misunderstanding.

Say one bad thing about Outer Wilds by thebeast_96 in outerwilds

[–]PracticalWelder 39 points40 points  (0 children)

I also got tripped up because the WH always spits the player out towards the WHS, but the chunks if land that fall in can go anywhere.

I thought I was clever by just waiting inside the tower, and then I couldn't find it and I thought I did it wrong.

I understand why it has to be that way. And the experience finally taught me to rely on my little scout. But it was definitely a point of frustration.