WTF Bites
-
@timebandit so across 9x and NT. Sounds cross platform to me
-
@benjamin-hall said in WTF Bites:
LaTeX errors are a
I was getting an error on line 65 of the tex file:
"There's no line here to end".
The line in question?
500 g
(yes, that was it in its entirety).The real cause? Up in the page header there was a bad line break due to a string replacement ending up empty (so no paragraph was started at that point).
"Do you love sorting out compilation errors in C programs? With LaTeX, you can now have them for your text documents, too!"
-
@zerosquare said in WTF Bites:
@benjamin-hall said in WTF Bites:
LaTeX errors are a
I was getting an error on line 65 of the tex file:
"There's no line here to end".
The line in question?
500 g
(yes, that was it in its entirety).The real cause? Up in the page header there was a bad line break due to a string replacement ending up empty (so no paragraph was started at that point).
"Do you love sorting out compilation errors in C programs? With LaTeX, you can now have them for your text documents, too!"
And in this case, for generated text documents from templates. Because that's even more fun.
-
NAT
I'm this close to starting to censor that one as well...
Double NAT power!
-
Other ways to solve this particular problem include the suggestion by Medinoc, where achievements are disabled if certain settings have non-default (or more generally, non-approved) values.
And that can be done by doing a cryptographic checksum of the files (even MD5 would probably be good enough for this) and comparing that against the server side list of approved values prior to actually awarding any achievement. Simple, and uses standard bits of code. You could even do the checksumming on the server side, but it's just achievements so
There is never going to be a way to prevent people from modifying your client-side code. If you checksum the files to see if they're valid, people will just stub out the checksum function to read from a clean copy of the game.
You can only ever detect the symptoms of a modified game. For example, the leaderboards for a game I made know which marines are allowed to equip which weapons. Any violation of that is hidden from the scoreboards because it almost definitely means a modified game.
-
@timebandit said in WTF Bites:
I remember when .NET 1.0 first came out, Microsoft said it was cross-platform...
It worked on Windows 98, ME, NT 4.0, 2000, and XP- It was cross-platform; Microsoft only provided the implementation for Windows
- Windows 9X is a VERY different OS from Windows NT, and NT ran on like 17 different CPUs at the time, so it's not like Microsoft's claim was wrong even if you only consider Microsoft OSes
-
@ben_lubar said in WTF Bites:
There is never going to be a way to prevent people from modifying your client-side code. If you checksum the files to see if they're valid, people will just stub out the checksum function to read from a clean copy of the game.
Yeah, the only way to achieve that would be to have a magic security chip in your computer.
Even that only makes it harder, not impossible.
-
@anonymous234 said in WTF Bites:
@ben_lubar said in WTF Bites:
There is never going to be a way to prevent people from modifying your client-side code. If you checksum the files to see if they're valid, people will just stub out the checksum function to read from a clean copy of the game.
Yeah, the only way to achieve that would be to have a magic security chip in your computer.
Even that only makes it harder, not impossible.
I follow this guy on Twitter:
-
@blakeyrat said in WTF Bites:
NT ran on like 17 different CPUs at the time
Sure, if you count each CPU at least twice
-
@ben_lubar said in WTF Bites:
I follow this guy on Twitter
I can't figure out the implications of that.
-
@anonymous234 said in WTF Bites:
@ben_lubar said in WTF Bites:
I follow this guy on Twitter
I can't figure out the implications of that.
-
@boomzilla Dunno, are air conditioners of no interest to you whatsoever? Then as maybe as can be apparent from a sample of 1. Else no.
-
@gribnit Are games of no interest to you whatsoever? I had no interest in that guy's air conditioners.
-
@boomzilla Phew.
-
I'm signing up for United Airlines' "MileagePlus" program.
It requires security questions and answers.
...which must be selected from a list.
...A list of possible questions, as you'd probably expect.
...And another list of possible answers for each question.
Don't, like, let me type anything. Too much risk of me forgetting what I typed or not entering it in the same exact way twice, I guess. (No, I can't just type something into the box. I tried.)
At least some of the questions have decently large lists to select an answer from, so there's some actual entropy involved. No, I am not picking the questions which ask what month something was, meaning that there are only 12 possible answers...
-
@anotherusername Yet another reason to hate them.
-
DOM's
canvas.getImageData()
returns the pixel data in the dumbest possible format.
-
@blakeyrat Oh it gets any better.
Hey guys, how does a DOM canvas store alpha?
Well if you use
get
/setImageData()
it's an integer between 0-255.If you use
globalAlpha
it's a double between 0.0-1.0.Consistent!
-
@blakeyrat said in WTF Bites:
DOM's
canvas.getImageData()
returns the pixel data in the dumbest possible format.They iterate over each pixel, grabbing one byte at a time from each one, concatenating them into a single string, then doing the same for the second byte, etc?
Note: This is a joke. I hope. Although with the DOM (and anything web-related), I'm not so sure anymore. It could be worse.
-
-
@anotherusername said in WTF Bites:
5 posts per page, supposedly 31 posts, the final page should have 1 post. But page 7 is... empty?
Sounds like classic to meâŚ
-
@tsaukpaetra said in WTF Bites:
An array of bytes raw.
But despite alpha being set as a double (and despite JavaScript only having a double numeric type, and thus saving no space by using bytes), it returns alpha as a byte.
This makes no sense on any level.
-
@ben_lubar said in WTF Bites:
If you checksum the files to see if they're valid, people will just stub out the checksum function to read from a clean copy of the game.
The point being not âis the game valid to executeâ but rather âis the game valid to participate in achievementsâ. If you were evil, you'd treat a failed checksum as an instruction to only show them their achievement and then only for, say, a week. So a sort of temporary hell banning that'd be horrid for anyone to hunt down.
-
@ben_lubar said in WTF Bites:
If you checksum the files to see if they're valid, people will just stub out the checksum function to read from a clean copy of the game.
The point being not âis the game valid to executeâ but rather âis the game valid to participate in achievementsâ. If you were evil, you'd treat a failed checksum as an instruction to only show them their achievement and then only for, say, a week. So a sort of temporary hell banning that'd be horrid for anyone to hunt down.
*Jots down notes*
-
The point being not âis the game valid to executeâ but rather âis the game valid to participate in achievementsâ. If you were evil, you'd treat a failed checksum as an instruction to only show them their achievement and then only for, say, a week. So a sort of temporary hell banning that'd be horrid for anyone to hunt down.
Good luck getting Sony, Microsoft Xbox, and Valve to all agree to allow "temporary hellban cheevos".
Blizzard could pull it off I guess because they only use their own in-house cheevos. Nobody else could.
-
@benjamin-hall said in WTF Bites:
Although with the DOM (and anything web-related), I'm not so sure anymore. It could be worse.
Oh, it sure could:
Calling new Audio().canPlayType('audio/mp3'), which queries the system for format support according to a MIME type, is supposed to return one of âprobablyâ, âmaybeâ, or ânoâ. Sometimes, youâll just get a null or empty string, which is also fun.
-
@blakeyrat said in WTF Bites:
This makes no sense on any level.
Well, the basic underlying model of the alpha channel is of a value (per pixel) in the range 0.0 to 1.0, whatever the way you think of the RGB channels; the maths for applying it is originally defined to work that way. So a float in that range makes sort of sense. It's often encoded as an integer in an unsigned byte so that it fits neatly with common RGB representations, and so it's also ints from 0 to 255. Which also makes sense despite being also inconsistent.
And then it's Javascript. And DOM. Basically the dumpster fire of consistency.
-
@blakeyrat said in WTF Bites:
Blizzard could pull it off I guess because they only use their own in-house cheevos. Nobody else could.
I think the only current blizzard game you can play offline is SC2, and I think you can't earn achievements for that offline. I'm pretty sure SC2 is also the only one that's publicly moddable, and modded games outside the standard ruleset have modder-defined achievements.
-
@pleegwat ... ok?
Thanks for letting us know I guess? Was that information relevant to the discussion in any way?
-
-
@benjamin-hall said in WTF Bites:
@zerosquare said in WTF Bites:
@benjamin-hall said in WTF Bites:
LaTeX errors are a
I was getting an error on line 65 of the tex file:
"There's no line here to end".
The line in question?
500 g
(yes, that was it in its entirety).The real cause? Up in the page header there was a bad line break due to a string replacement ending up empty (so no paragraph was started at that point).
"Do you love sorting out compilation errors in C programs? With LaTeX, you can now have them for your text documents, too!"
And in this case, for generated text documents from templates. Because that's even more fun.
So more like compilation errors in C++ then.
-
Uncaught TypeError: Cannot read property 'off' of null at nodebb.min.js?v=d0ftmn61924:sourcemap:1 at HTMLDivElement.a (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at HTMLDivElement.r (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at HTMLDivElement.handle (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at HTMLDivElement.dispatch (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at HTMLDivElement.g.handle (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at Object.trigger (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at HTMLDivElement.<anonymous> (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at Function.each (nodebb.min.js?v=d0ftmn61924:sourcemap:1) at x.fn.init.each (nodebb.min.js?v=d0ftmn61924:sourcemap:1)
-
@ben_lubar said in WTF Bites:
If you checksum the files to see if they're valid, people will just stub out the checksum function to read from a clean copy of the game.
The point being not âis the game valid to executeâ but rather âis the game valid to participate in achievementsâ. If you were evil, you'd treat a failed checksum as an instruction to only show them their achievement and then only for, say, a week. So a sort of temporary hell banning that'd be horrid for anyone to hunt down.
If your game is on Steam, the players who want to fake achievements don't even need to have your game client running ever.
-
-
@ben_lubar The discarded lower probability interpretation is what was implemented? What a bastard.
-
@ben_lubar The discarded lower probability interpretation is what was implemented? What a bastard.
your password must be from the following list:
numbers
letters
-
@ben_lubar said in WTF Bites:
@ben_lubar The discarded lower probability interpretation is what was implemented? What a bastard.
your password must be from the following list:
numbers
letters
Not:
passnumberslettersword
?
-
@tsaukpaetra Password must be
nu}vers
-
@tsaukpaetra It also cannot have any letters or numbers in common with
password
-
@pie_flavor said in WTF Bites:
Uncaught TypeError: Cannot read property 'off' of null
It's true. You can't read properties off of nulls in JavaScript.
-
-
@pie_flavor That's not a property.
-
fun main(args: Array<String>) { println(null::toString) }
function toString (Kotlin reflection is not available)
-
I have just been locked out of every Gamepedia site.
https://i.imgur.com/30N04Wx.png
-
@pie_flavor That's a blessing in disguise.
-
@pie_flavor perhaps now you will not try to pass methods off as properties ah ah ah ah ah
-
@pie_flavor
ďł I'm not touching you!
MOOOOOOOOOOOM!
-
@pie_flavor said in WTF Bites:
the version of the user to be saved is older than the current version
You should realise that if you're going to engage in time travel, it's bound to screw up a bunch of stuff like this.
-
-
@blakeyrat said in WTF Bites:
But despite alpha being set as a double (and despite JavaScript only having a double numeric type, and thus saving no space by using bytes)
Wrong-o!