guy

joined 1 year ago
[–] guy@lemmy.world 9 points 4 weeks ago

Really not looking forward to the idea of github.io links all becoming dead. So many repos with documentation at a github.io URL, with those links spread all across plaintext files and Stack Overflow and forums

[–] guy@lemmy.world 3 points 1 month ago

To avoid sea ice, they entered an area they are legally allowed to enter... okay

[–] guy@lemmy.world 19 points 2 months ago

In British supermarkets, they often don't even put the beans on shelves. Instead they have stacked palettes of them, because they need to restock so often it'd be inefficient to have to unpack and shelve them.

[–] guy@lemmy.world 14 points 2 months ago (5 children)

Are you American though? Here in the UK, nobody really owns a plunger and they don't need to, the plumbing is different, it doesn't clog. Do need to own a toilet brush though, to wipe off the skidmarks, which is more rare in the US.

[–] guy@lemmy.world 12 points 2 months ago

No chance I'm getting a username this simple on most platforms

[–] guy@lemmy.world 3 points 3 months ago (2 children)

Not a car, but I've got a bicycle light that does this. Turns on when it's dark and also when you brake. So definitely possible

[–] guy@lemmy.world 22 points 4 months ago (1 children)

Haha, most people here do tech it seems. Well, me too.

People seem to think I'd be good at maths and my entire job is like maths. I'm not and I don't view it that way. There's a lot of problem solving and engineering, but I find it very creative and expressive

[–] guy@lemmy.world 50 points 4 months ago (14 children)

I always see comments like these online, but they seem kind of absurd to me, coming from a country where it's not only totally common to walk dogs off-leash, but completely legal. There's really very few incidents of dogs darting into the streets here, and actually half the ones I've ever seen have been dogs on a lead anyway. A well trained dog doesn't do that.

[–] guy@lemmy.world 3 points 5 months ago

The oddest spelling of "colourize", with both a U and a Z

[–] guy@lemmy.world 1 points 5 months ago

Oh that makes sense. I didn't consider it might be treated as a char

[–] guy@lemmy.world 1 points 5 months ago* (last edited 5 months ago) (2 children)

"1" + 2 === "12" is not unique to JS (sans the requirement for the third equals sign), it's a common feature of multiple strongly typed languages. imho it's fine.

EDIT: I did some testing:

What it works in:

  • JS
  • TS
  • Java
  • C#
  • C++
  • Kotlin
  • Groovy
  • Scala
  • PowerShell

What produces a number, instead of a string:

  • PHP
  • SQL
  • Perl
  • VB
  • Lua

What it doesn't work in:

  • R
  • C
  • Go
  • Swift
  • Rust
  • Python
  • Pascal
  • Ruby
  • Objective C
  • Julia
  • Fortran
  • Ada
  • Dart
  • D
  • Elixir

And MATLAB appears to produce 51, wtf idk

[–] guy@lemmy.world 3 points 6 months ago (1 children)

I was under the impression it wasn't even truly private, nevermind encrypted. Not actually sure how it works though

view more: next ›