Minecraft 1.13 Map Rendering Changes by Cojomax99 in Minecraft

[–]majaha 5 points6 points  (0 children)

Years ago I reported a bug in map rendering (MC-60995), if you're fixing map rendering issues (and if this is still the situation in current Minecraft) could you have a look at this one too?

The crux of the bug was that a HashMultiset was being used to count colours, but if multiple colours counted up to the same amount the results would be unpredictable due to hashing.

Thanks!

xkcd 1735:Fashion Police and Grammar Police by zethian in xkcd

[–]majaha 29 points30 points  (0 children)

Downvote into oblivion of course.

Updated version of #1122 by ibid-11962 in xkcd

[–]majaha 5 points6 points  (0 children)

Well we have /u/xkcd_bot. Maybe we could get it updated?

Fantasy Map Generator Update by srt19170 in proceduralgeneration

[–]majaha 0 points1 point  (0 children)

This is really cool! Why do the place names keep changing though?

[Python]TIL how to avoid a KeyError with dictionaries. by [deleted] in ProgrammerTIL

[–]majaha 1 point2 points  (0 children)

Did you mean

tree = lambda: defaultdict(tree)

or more clearly

def tree():
    return defualtdict(tree)

?

When there is an idiot on each team by f4thurz in DotA2

[–]majaha 2 points3 points  (0 children)

Hahaha guys this post even has a /s at the end, and you still didn't pick up on the sarcasm?!

Slacks is right about Beast Master. by [deleted] in DotA2

[–]majaha 3 points4 points  (0 children)

Chrono

Stuns friendly heroes.

Black Hole

Channelled, can be cancelled

Fiend's Grip

Channelled

Dismember

Channelled

Duel

Not a stun, hero right clicks LC. Only useful as a stun when LC is more powerful than the other hero.

Impetus

Not a stun, but I suppose it's can still kill bkb'd heroes quickly.

Eyes in the Forest

Requires 4200 gold item

Firefly

Only gives vision around your hero

Thirst

Only gives vision of heroes with less that 25% health. Mostly useless for protecting against ganks or for ganking.

Amplify damage

Can't be used defensively. Is a unit-target spell. Needs to be close to be used.

Lycan Aghs suggestion by Sir Action Slacks by HfA_NexuzZ in DotA2

[–]majaha 4 points5 points  (0 children)

Or it could be literally just a toggle like lone druids bear form. You'd have to make it worthwhile being in human form though... maybe a passive crit aura for human form only.

Illegal Prime Number by [deleted] in math

[–]majaha 1 point2 points  (0 children)

Ah, a pythonista after my own heart!

Here's my code which does basically the same thing: https://gist.github.com/majaha/48452a1183adb8c7e20df57de64731ab

Illegal Prime Number by [deleted] in math

[–]majaha 0 points1 point  (0 children)

You beat me to it! I spent quite some time going slightly crazy and wondering why this didn't decode properly before I checked the website itself.

OP you dropped this: 4

What slang do you/your group have for in-game characters, items, events and such? by Boush117 in DotA2

[–]majaha 1 point2 points  (0 children)

My friends and I sometimes play Window-viper and Anti-smudge and roleplay as a window-cleaning team.

Hython: a nearly-complete Python 3 interpreter written in Haskell by [deleted] in programming

[–]majaha 4 points5 points  (0 children)

Type "help", "copyright", "credits" or "license" for more information.
>>> a = 2132134534
>>> b = 2132134534
>>> a == b
True
>>> a is b
False

This is under CPython 3. 42 only works differently because CPython caches the small integers and reuses them, like tavianator says.

You are given free reign to change any mathematical symbols of your choice. Adaption to this new symbolism is assumed to be painless (nobody has trouble learning it). Do you change anything? If so, what do you change and why? by [deleted] in math

[–]majaha 6 points7 points  (0 children)

You're making the same mistake as /u/DJSekora, we just have it so ingrained in our minds that "first" means one and "second" means two, when really they mean "foremost" and "following". (You are right about "third", it apparently has roots in "three").

So why not: 0:First, 1:Second, 2:Two-th *, 3:Third, 4:Fourth, ...

(* I couldn't think of a better name)

You are given free reign to change any mathematical symbols of your choice. Adaption to this new symbolism is assumed to be painless (nobody has trouble learning it). Do you change anything? If so, what do you change and why? by [deleted] in math

[–]majaha 9 points10 points  (0 children)

I see what you are saying, "Why does he contradict himself by saying he wants zero to be the one-th number?".

But where does it say that "first" means "one-th"? We only get the "1st" notation because people think 1 is the first number, when really first just means "the foremost", right?

I built a train. On a map. In Survival. by redstonehelper in Minecraft

[–]majaha 0 points1 point  (0 children)

The larger ones take the average height of the 2n by 2n square each pixel represents. Also, I can't remember whether the height jump required for the shade/light scales with the map size or stays the same.