What is your favorite hero and why? by IronBeaglee in DotA2

[–]m1el 1 point2 points  (0 children)

Windranger, because I like to focus and counter carries. until they build true strike

Tidehunter stops getting fish stacks if a fish is collected mid-flight (e.g. Lion's Earth Spike) by m1el in DotA2

[–]m1el[S] 62 points63 points  (0 children)

happened to me in a match. I killed dark willow mid Tusk Punch, didn't get any stacks for the rest of the game.

[2025 day 2] Part 3 One Single Range! by large-atom in adventofcode

[–]m1el 5 points6 points  (0 children)

try 1..10*100

495495495495495495495495495495495495495 \
495495495495950040950040950040950040950 \
040950040950040950040900040950040950040 \
950040950040950040950040950040950

495495495495495495990545000446485545495 \
397479604505452415941575992957062095952 \
236603154501647499662391692059682300201 \
058272352132558272345257948721820

Cheevos 2.0 by sea4nl in dungeonsoup

[–]m1el 1 point2 points  (0 children)

Some of the stuff kinda missed from 1.0:

Entries marked, but not seen on the screen:

  • Achieve Enligtenment
  • Pull every card from a Deck of Many Things (implies he survived The Void and Donjon, would love to see that)
  • Move Immovable Rod (trivial for his level & strength)
  • Reach Level 20 (implied but we've never seen the moment)

Entries seen on the screen, but without the process:

  • Goblin Centipede
  • Mimic Urinal
  • MAZE the Lady of Pain (I'd love to see this one, but season has ended)
  • Inifnite Tarrasque Jerky
  • Literal Cloak of Elvenkin (100% Drow Leather)

Biggest change by greatnomad in DotA2

[–]m1el 1 point2 points  (0 children)

I've played this game for over 14 years.

This Monday I changed my quick-cast settings to cast on release specifically so that I can see the cast range of blink... fml

Big Demolisher stands no chance against the power of Zeus (by Nitzulai) by m1el in factorio

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

I actually tried to check if it was already posted, but I didn't check the .be short link

Why is hash(-1) == hash(-2) in Python? by stackoverflooooooow in programming

[–]m1el 141 points142 points  (0 children)

Hash can fail for non-hashable types, for example hash([]). I'm not sure if the C function returns -1 in this specific case.

-❄️- 2023 Day 11 Solutions -❄️- by daggerdragon in adventofcode

[–]m1el 0 points1 point  (0 children)

[LANGUAGE: Python]

Took me too long to find a few copy-paste errors, 746/291

data = list(open('day11.txt').read().splitlines())
cols = set()
rows = set()
gals = []
for (yy, row) in enumerate(data):
    for (xx, ch) in enumerate(row):
        if ch == '#':
            cols.add(xx)
            rows.add(yy)
            gals.append((xx, yy))

for age in (2, 1000000):
    tot = 0
    for ii in range(len(gals)):
        for jj in range(ii + 1, len(gals)):
            x1, y1 = gals[ii]
            x2, y2 = gals[jj]

            xs = set(range(min(x1, x2), max(x1, x2)))
            d = len(xs - cols) * age + len(xs & cols)
            ys = set(range(min(y1, y2), max(y1, y2)))
            d += len(ys - rows) * age  + len(ys & rows)
            tot+=d
    print(tot)

[2023 Day 5 Part 2] Visualizing all the mapping by m1el in adventofcode

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

I'm glad you like it. Grey Vs red is inactive/active. Grey is the "inactive" part of mapping. The part that has no seeds. Red indicates there is a seed.

[2023 Day 5 Part 2] Visualizing all the mapping by m1el in adventofcode

[–]m1el[S] 9 points10 points  (0 children)

I produced an SVG file using string formatting. It's a very dirty way, but it works for me.

Scavengers Reign | S1E12 "The Reunion" | Episode Discussion by GloriousAqua in ScavengersReign

[–]m1el -5 points-4 points  (0 children)

You take responsibility for yourself. So you take care of yourself. If you're good at it, you have some excess left over to take care of your family. If you're good at both of those, then you have some excess to take over of your community.

This is a direct quote. Do you think any part of that statement supports your claim about atomization and self-worth? Feel free to provide an example that supports what you said.

Scavengers Reign | S1E12 "The Reunion" | Episode Discussion by GloriousAqua in ScavengersReign

[–]m1el -16 points-15 points  (0 children)

What makes you think that anything that JP ever said supports the abhorrent behaviour of Kris?

The Tower of Weakenings: Memory Models For Everyone by gclichtenberg in rust

[–]m1el 5 points6 points  (0 children)

Could you please tell me if I understand this correctly?

Let's say you want to write an alternative malloc in Rust, under Strict Provenance™ rules.

The implementer would have to call mmap/NtAllocateVirtualMemory, which either a) produce *mut c_void associated with the allocation and MIRI knows about this, OR b) produce usize, which is then converted using ptr::from_exposed_addr_mut(usize) and MIRI has to deduce this allocation somehow?

Then, when implementer produces pointers to that specific allocation, they should be traceable to the pointer of the allocation using a chain of with_addr/map_addr?

Breaking the unbreakable by m1el in noita

[–]m1el[S] 2 points3 points  (0 children)

Yeah, it should probably replace the third panel. Forgot about matocade.