paholg

joined 1 year ago
[–] [email protected] 8 points 3 months ago (8 children)

Not if you use 2 factor to access the password manager.

[–] [email protected] 53 points 4 months ago (7 children)

They're semantically different for PATCH requests. The first does nothing, the second should unset the name field.

[–] [email protected] 5 points 4 months ago

I miss Trillian :(

[–] [email protected] 32 points 5 months ago (1 children)

But they're not even that passionate about this. Shitty game companies continue to be rewarded by players.

[–] [email protected] 12 points 5 months ago

Guess they need to watch food network a second time.

[–] [email protected] 39 points 5 months ago (5 children)

The company has taken action against violations of its policies, she said

What does this mean in this context? Send takedown notices to people who joke on the Internet?

[–] [email protected] 8 points 5 months ago (1 children)

I think we read different books if you think her characters were altruistic. I remember her specifically calling out altruism as a sin (compared to the virtue of selfishness).

[–] [email protected] 3 points 6 months ago (1 children)

I pay for YouTube. I'm mildly optimistic that this won't make it into the paid version, but I also wouldn't be surprised if it does.

I've already had to cancel Amazon Prime after they made the base tier have ads, but continued to show ads after paying extra for ad-free.

[–] [email protected] 14 points 7 months ago (1 children)

Hardware cloth is a metal mesh.

[–] [email protected] 4 points 7 months ago

Then, you could take those comments, and have the compiler use them to ensure you're using the right variable in the right place. Oh wait, we just invented a type system.

[–] [email protected] 21 points 7 months ago (1 children)

Works even better in Ruby, as the code as given is valid, you just need to monkey patch length:

#!/usr/bin/env ruby

module DayLength
  def length
    if ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"].include? self
      "24 hours"
    else
      super
    end
  end
end

class String
  prepend DayLength
end

day = "Monday"

x = day.length

print(x)
[–] [email protected] 7 points 7 months ago* (last edited 7 months ago)

It could be Ruby; puts is more common, but there is a print. With some silly context, the answer could even be correct:

#!/usr/bin/env ruby

module DayLength
  def length
    if ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"].include? self
      "24 hours"
    else
      super
    end
  end
end

class String
  prepend DayLength
end

day = "Monday"

x = day.length

print(x)
view more: next ›