sukhmel

joined 2 years ago
[–] sukhmel@programming.dev 5 points 5 months ago (2 children)

That is assuming they were not using a screen reader that just read ‘image, Ezekiel 23:20’ to them, which is current alt text

[–] sukhmel@programming.dev 1 points 5 months ago* (last edited 5 months ago) (7 children)

Do colour Vs color/ catalogue Vs catalog etc... sound different phonetically to you also?

To be fair, those different spellings denote different variants of the language, and these words are pronounced differently in British and American English. So yeah, perceiving those as if those sound different is a normal thing, I guess

Edit: ironically, miaow and meow make an identical sound, according to Cambridge Dictionary: ˌmiːˈaʊ

[–] sukhmel@programming.dev 70 points 5 months ago (6 children)

They removed assembly support 3 days ago, too 🤣

[–] sukhmel@programming.dev 2 points 5 months ago

The closest unoccupied space appears to be a safe in the wall

[–] sukhmel@programming.dev 2 points 5 months ago (1 children)

That may have a very adversarial effect on health

[–] sukhmel@programming.dev 5 points 5 months ago

Because unstoppable 🦀

spoilerBut I guess it was a joke here

[–] sukhmel@programming.dev 2 points 5 months ago (1 children)

Yeah, I wrote code and pressed get URL, but then I copied what was shown in the window

The clipboard content:

https://memory-graph.com/#code=+%23+What+is%2Bthe+output+of+this+Python+program%3F%0A+++%0Adef+fun%28a+%3D+%5B%5D%29%3A+%0A++++a+%2B%3D+%5B1%5D%0A++++return+a%0Afun%28%29+print%28fun%28%29%29

The window text:

The following URL has been copied to your clipboard with:

    The current code
    Set breakpoints
    Playback timestep
    Play/Pause state

https://memory-graph.com/#code=+%23+What+is+the+output+of+this+Python+program? +++ def+fun(a+=+[]):+ ++++a++=+[1] ++++return+a fun()+print(fun())

The latter doesn't work, and I didn't think of checking the former

[–] sukhmel@programming.dev 6 points 5 months ago (3 children)

There's also a gotcha with default parameters:

def fun(a = []):
    a += [1]
    return a

fun()
print(fun()) # [1, 1]

issues I had with the tool you linkedI tried to make a link to this code in this visual debugger, but a link is made broken and can't be used without urlencoding spaces (I guess). Also the tool doesn't produce visual output in DuckDuckGo browser on Android

[–] sukhmel@programming.dev 2 points 5 months ago

To be fair, I had to read the linked question on SO to understand what was the possible alternative. I do expect that if I use += it is in place.

On the other hand with Python and Java I always keep forgetting if everything is by value or by reference, I really miss some extra clarity of the languages where you can see if something is mutable when passed to a function

[–] sukhmel@programming.dev 3 points 5 months ago

like replacing V wið F

Better replace U with V, to dovble the confvsion

[–] sukhmel@programming.dev 7 points 5 months ago (4 children)

Makes me curious as to what happened here

[–] sukhmel@programming.dev 2 points 5 months ago (1 children)

I've read one of their links, and although it shows Orwell to be an asshole, racist, bigot, and anti-Stalin; it still doesn't make sense as a ground for other statements, especially him being imperialist.

I would think that the whole thing comes from conflating communism and whatever the Soviets were doing, and if anyone thinks that USSR was not the heaven on earth, they are damned

view more: ‹ prev next ›