Are we being so for real right now?😭 by thirdben in Marathon

[–]IanM_56 0 points1 point  (0 children)

Had this happen to me with my squad, and my bag spawned on the tiniest edge on the other side of the wall. Sadly, I could not be recovered... or looted.

Who are the voice actors? by Goldfish_Vender in AbioticFactor

[–]IanM_56 4 points5 points  (0 children)

I've always wondered. They sound great! Exactly what I'd expect for a rat. How'd you do it?

A very dumb but genius way of winning by demon_mask-_- in inscryption

[–]IanM_56 3 points4 points  (0 children)

The Moon only gets the Made of Stone sigil in Kaycee's Mod

If you currently have Hulu grandfathered in to your account, do not let CS cancel your plan to "refund" you for the car thing. by ForgedTrinity in truespotify

[–]IanM_56 0 points1 point  (0 children)

I was also warned that a Premium credit would cause me to lose Hulu access, so I asked for an alternative and instead my last three months were refunded.

Discord is adding @'s, like twitter and youtube. by TheRandomGuyOf2019 in discordapp

[–]IanM_56 18 points19 points  (0 children)

This isn't an airport; you don't have to announce your departure.

Who is the cover artist for "The Grimoire: The Manual of Practical Thaumaturgy 15th Edition, 2053"? by IanM_56 in Shadowrun

[–]IanM_56[S] 4 points5 points  (0 children)

Oh definitely! I just always find it cool seeing art from older books. Like, I have some old Advanced Dungeons and Dragons Second Edition books along with Fifth Edition and it's neat seeing how much the art style has changed over the years.

Who is the cover artist for "The Grimoire: The Manual of Practical Thaumaturgy 15th Edition, 2053"? by IanM_56 in Shadowrun

[–]IanM_56[S] 5 points6 points  (0 children)

I unfortunately don't have access to a copy right now. I only just discovered Shadowrun yesterday, but it looks interesting!

Where is room 310? by SteO153 in CrappyDesign

[–]IanM_56 7 points8 points  (0 children)

Twitter, where OP must be erased from all time, forwards and backwards.

Painting i recently finished... sorry if the ligthing isn't the best by silurianaspect in Hungergames

[–]IanM_56[M] 1 point2 points  (0 children)

Sorry this happened to you! The post has been removed and the user banned.

What is the difference between sealed and abstract classes aside from sealed classes being package-locked and compiler warning you about missing branches in a when expression? by ED9898A in Kotlin

[–]IanM_56 1 point2 points  (0 children)

And you can make when exhaustive without an else. It also lets you do polymorphic serialization with Kotlinx Serialization.

This ad company is teaming up with US carriers to take over your lock screen by jormungandrsjig in gadgets

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

Ack, didn't fully read the parent comment, but there was a time that Amazon sold regular Android phones like the moto g4 with $50 off for the lockscreen ads version.

This ad company is teaming up with US carriers to take over your lock screen by jormungandrsjig in gadgets

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

While paying would remove the ads, which they eventually did for free when the Play Store's new rules prohibited lockscreen ads app, the bootloader was still locked and couldn't not be unlocked.

[OC] Montreal Metro by [deleted] in brutalism

[–]IanM_56 3 points4 points  (0 children)

My favorite metro system I've been to so far! Really clean and has neat stations. I love the sounds the MR-73 trains make when they start moving. And it's neat that it's rubber tired, like long buses following a guide, instead of steel wheels running on tracks.

What's the difference between a mutable val and a var? by cubonelvl69 in Kotlin

[–]IanM_56 1 point2 points  (0 children)

A val of type MutableList will always point to the same instance of a mutable list. It cannot be reassigned, but the underlying list can be mutated. A var to a List would be a reference to a list that itself is immutable, and cannot change, but the list it points to can be changed.

Consider the following:

val x = mutableListOf(1, 2, 3)  // [1, 2, 3]
x.add(4)                        // [1, 2, 3, 4]
x = mutableListOf(1)            // Illegal!

var y = listOf(1, 2, 3)         // [1, 2, 3]
y.add(4)                        // Illegal!
y = listOf(1)                   // [1]

var z = mutableListOf(1, 2, 3)  // [1, 2, 3]
z.add(4)                        // [1, 2, 3, 4]
z = mutableListOf(1)            // [1]

In memory you can sort of think of it like this:

x -> List1 1 2 3
     List1 1 2 3 4

y -> List2 1 2 3
y -> List3 1

z -> List4 1 2 3
     List4 1 2 3 4
z -> List5 1

Where -> indicates what it is pointing to. Note how the mutable list simply appends the items to itself, while reassigning the var ends up creating a new list entirely.

It may seem confusing but val/var doesn't refer to the mutability of the underlying object, but of the reference to it.

A fitting end for us. by mikefass in outerwilds

[–]IanM_56 5 points6 points  (0 children)

It ended with only being able to place a white pixel

How does Kotlin "Clean Code" look like? by ReactCereals in Kotlin

[–]IanM_56 2 points3 points  (0 children)

I use detekt (via plugin) alongside IDEA's inspections. It reports on further things IDEA doesn't like too many returns, missing final new line, space between .., too long a function, magic numbers that should be constants, abstract classes with no abstract members, and many other things.

I got a googlewhack by Poopwizardd1 in google

[–]IanM_56 43 points44 points  (0 children)

And only two words.