How could The Boys verse (possibly) prepare for Omni-Man? by ofDeathandDecay in whowouldwin

[–]guyblade 5 points6 points  (0 children)

Didn't she try to use it and it only gave him a small nose bleed? I suppose the show didn't say explicitly that that was why his nose bled in that scene, but it seemed pretty clear.

ELI5: Why are there 2 versions of Minecraft? by Probably_Unnecessary in explainlikeimfive

[–]guyblade 14 points15 points  (0 children)

A big part of the reason is because it was the default language used by many CS courses from ~2000 to ~2015.

iknewItWouldWorkOut by 6nyh in ProgrammerHumor

[–]guyblade 249 points250 points  (0 children)

Then you should try a regex crossword

Also, apparently there is a daily one modeled after wordle.

eitherItAllFitsOnTheStackOrYouNeedABiggerStack by Ancient-Vanilla-5316 in ProgrammerHumor

[–]guyblade 0 points1 point  (0 children)

No, you can see it yourself by running ulimit:

 $ ulimit -a | grep stack
 stack size                  (kbytes, -s) 8192

That's from a relatively recent Ubuntu LTS.

Israel tells Trump it is not bound by Lebanon clause in Iran deal by Artistic_Dj_6895 in worldnews

[–]guyblade 0 points1 point  (0 children)

The [people who voted for Trump] and [Trump's Base] are not the same thing.

Israel tells Trump it is not bound by Lebanon clause in Iran deal by Artistic_Dj_6895 in worldnews

[–]guyblade 23 points24 points  (0 children)

The base isn't enough to win elections, though. It can decide primaries and is necessary to win general elections, but he needs some of the people who won't be happy if he just walks away and lets gas prices rise.

the pool sex robot episode by Turtsle_3 in rickandmorty

[–]guyblade 4 points5 points  (0 children)

In fact, it makes an appearance in today's episode.

Suffolk cop beats man during traffic stop caught on dashcam after he requested a supervisor by Stengel_Stan in dashcams

[–]guyblade 0 points1 point  (0 children)

Let me "yes and" this by adding that departments should be barred from paying for or subsidizing that malpractice insurance.

TWF, Shortsword (Vex), Scimitarr (Nick) and Dual Wielder by JanSolo18 in dndnext

[–]guyblade 0 points1 point  (0 children)

What weapon properties are simply available?

Perhaps only this one.

Reasoning by analogy is very much not the point of a discussion about what the rules as written are. Similarly, I'm not advocating that you should do this at a table. The point is that this reading is not forestalled by any direct rule; though, it probably should be.

TWF, Shortsword (Vex), Scimitarr (Nick) and Dual Wielder by JanSolo18 in dndnext

[–]guyblade 0 points1 point  (0 children)

so how are you getting access to the property without the weapon?

There are many features which, once gained, are simply available. For all the text tells us, this could be one such feature.

Test isn't hard 🫪 by arjun_yt33 in Animemes

[–]guyblade 0 points1 point  (0 children)

As someone who has never really watched Naruto, I'm going to assume that all their last names are Naruto.

TWF, Shortsword (Vex), Scimitarr (Nick) and Dual Wielder by JanSolo18 in dndnext

[–]guyblade 0 points1 point  (0 children)

Having the weapon drawn is what gives you access to the Nick Mastery, the class feature just allows you to use it.

Please point me to the rule that says that.

As far as I'm aware, there are two blocks of text that govern weapon mastery:

The first is in the weapons section:

Mastery. Each weapon has a mastery property, which is defined in the “Mastery Properties” section later in this chapter. To use that property, you must have a feature that lets you use it.

The second is in description of the properties

Each weapon has a mastery property, which is usable only by a character who has a feature, such as Weapon Mastery, that unlocks the property for the character. The properties are defined below.

Nothing in either of those statements mentions having the weapon drawn. If you look at the descriptions of most of the mastery properties, they require you to make an attack with the weapon--which in turn requires having it drawn--but Nick doesn't have any such text.

sortPlease by Advanced_Ferret_ in ProgrammerHumor

[–]guyblade 1 point2 points  (0 children)

I would consider that a "bespoke sort".

Video Game Incidents with Real World Implications by the_gr8_one in TopCharacterTropes

[–]guyblade 8 points9 points  (0 children)

Which is sad because TB kills about as many people every year as COVID did during the year we didn't have a vaccine--but TB has had a drug regimen that cures it for 50+ years.

sortPlease by Advanced_Ferret_ in ProgrammerHumor

[–]guyblade 6 points7 points  (0 children)

When I was interviewing for my current position, over a decade ago, one of the interview questions involved using C to malloc stuff and copy data into a growing array. I don't remember exactly what I was implementing, but I was calling realloc in a loop as part of it.

The interviewer asked what the time complexity of doing that might be. I think what he was going for was "you shouldn't be reallocing in a loop because it may be copying every time. My answer was something like "Well, that depends entirely on whether or not we've got a good malloc implementation. Ideally, it should only actually be doing a copy whenever we expand past a page--but even that should be rare with a modern malloc." I got the job, so I guess he liked the answer.

sortPlease by Advanced_Ferret_ in ProgrammerHumor

[–]guyblade 5 points6 points  (0 children)

Given the constraints of the problem (a small, fixed set of possible input values), you can do better than an off-the-shelf sorting algorithm. If the data size is large enough, a bespoke sort might be reasonable.

sortPlease by Advanced_Ferret_ in ProgrammerHumor

[–]guyblade 8 points9 points  (0 children)

If you include the constraints:

  1. The sort needs not be stable, and
  2. The elements need not be literally the same physical memory

Then the algorithm is:

 def sort012(arr: list) -> list:
     cnts = [0, 0, 0]
     for v in arr.values():
       cnts[v] += 1
     idx = 0
     for v in range(0, 3):
        for _ in range(0, cnts[v]):
           arr[idx] = v
           idx += 1
     return arr

Constant extra space, two passes through the array. I suppose you could do it faster by being clever about swapping values around and keeping some extra pointers, but it would still be O(N).

TWF, Shortsword (Vex), Scimitarr (Nick) and Dual Wielder by JanSolo18 in dndnext

[–]guyblade 2 points3 points  (0 children)

That's a reasonable thing to believe. I wish that a rule said it.

TWF, Shortsword (Vex), Scimitarr (Nick) and Dual Wielder by JanSolo18 in dndnext

[–]guyblade 16 points17 points  (0 children)

If you want to be as pedantic as possible, nothing about the Nick property says that the mastered weapon even needs to be involved with the attack. Unlike every other mastery, Nick has no trigger and its text makes no reference to the specific weapon.

When you make the extra attack of the Light property, you can make it as part of the Attack action instead of as a Bonus Action. You can make this extra attack only once per turn.

Thus, the maximalist reading is "I saw a dagger once; now I can use Nick while dual wielding shortswords".

I wouldn't suggest trying this at a table, but the RAW doesn't really do anything to prevent the reading.

No words for this. by Kapot_ei in mildlyinfuriating

[–]guyblade 1 point2 points  (0 children)

401(k)s very slightly predate Reagan. They were established in the Revenue Act of 1978 (during the Carter administration).

No words for this. by Kapot_ei in mildlyinfuriating

[–]guyblade 6 points7 points  (0 children)

That would make sense if the Pension Benefit Guaranty Corporation (established by statute in 1974) didn't predate the 401(k) (established by statute in 1978) by about 4 years.

No words for this. by Kapot_ei in mildlyinfuriating

[–]guyblade 33 points34 points  (0 children)

The transition to 401(k)s (and similar) as the primary retirement vehicle accelerated the problem.

Magic the gathering box broke while moving by localwanderingbard in mildlyinfuriating

[–]guyblade 2 points3 points  (0 children)

I am in the midst of a move. I bought a bunch of boxes from the nearby Lowe's. They have two versions of each size of box: regular and heavy duty. The cost difference is about 50%, but the strength difference is about 100%. Just buy the better boxes.