guy

joined 1 year ago
[–] [email protected] 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

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

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

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

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

[–] [email protected] 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

[–] [email protected] 1 points 6 months ago

Watch out I guess, because that opens the Emergency SOS page on my OnePlus phone and, if I have an additional setting toggled, automatically phones emergency services... the phone does not lock

[–] [email protected] 31 points 6 months ago (7 children)

Not sure about all phone models, but at least with mine, if I switch it off then it requires a PIN, rather than biometrics, upon being switched back on. Thus if the police arrive, immediately switching off your phone could be a sensible thing to do

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

This is why I rarely get on board with new Google products nowadays. I know they'll get half assed support and then be killed off really quickly.

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

The sort of comeback so good you think of it later on and write a comic, wishing you'd said it at the time

[–] [email protected] 13 points 7 months ago (6 children)

Usually they're building the website with browserlist and polyfills, and they specify how old a browser they wish to support, usually by analysing percentages of public usage, or they allow types only supported in newer browsers. Meaning if they use a feature only available in newer browsers, then it won't be automatically backported to support older browsers.

But that's only if they actually use those features, they're just available to them. And it'll only break in those places they do use them, which could be quite little of the site.

So often it's just "we can't guarantee it'll work in your old browser and enough of our users use newer browsers that we'll block you and not care".

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

I have ad blockers everywhere, except native mobile apps. I've clicked on an Instagram ad for shirts. I bought the shirts. People keep complimenting me on the shirts. No regrets there

[–] [email protected] 24 points 7 months ago (3 children)

The AI's having a hard time deciding what's inside the bird cage and what isn't, though it did better than I would've expected

view more: next ›