> Can you imagine, then, diving into a website's back-end to see @ all over? It turns out, the previous developer realized all those nasty notices and errors stopped happening if he slapped a @ on everything.
You've turned something that's a person's fault into something that's the language's fault.
Other languages have some sort of warning suppression as well, like Java's @SuppressWarnings or C#'s #pragma warning disable. Although they won't suppress all errors like PHP does, it can still bite you if you don't fix them.
It IS snobbery. You're taking a look at other people's code, and judging the language from it. I've written PHP for about 3 years and I've never once used the @ to suppress errors.
"7 bits" versus "half of 8 bits" are two slightly different things. One has a padding, the other does not. So the file size for a 7 bit encoding would be slightly smaller than an 8 bit one.
As a curiosity, how many bits were gained (rather than lost) when the second and third characters obtaining a death note were entered? (female and male respectively)
Do the bits of entropy add on, or does it not matter at all?
I had the same thing happen to me. I realized it was because I stopped reading regularly. Before, I would used to read at least 1-2 novels (100-200 pages per book) a day. And during that time period, I had an awesome vocabulary and I could basically spell anything without having to look it up. But now I get mixed up on whether certain words have double letters or not. Now that I've stopped reading regularly due to time constraints, my writing and spelling ability has basically died.
I play violin, so although I'm not illiterate in reading music, I find that when I look at a piece, I cannot immediately understand what the melody sounds like until I actually play it. I have trouble switching from different keys between pieces, so I cannot "visualize" the right sounds in my head. But having relative string lengths shows me patterns and gives me more insight into how the piece may sound like. It may even be more informative on where I can place my finger on the string.
It'd be nice if it was possible to search up an exact song based on the melody. Sometimes I remember a melody but I can't remember what song it came from, and it drives me nuts trying to find it.
Aside from the bigger companies, I can see why some of the smaller ones wouldn't want to do this, like the restaurants or his vet. Most of the time they just hired someone to create the website, and be done with it. They don't know how to implement the accessibility functionality themselves and hiring someone to do it may cost several hundred to thousands of dollars.
I was interning in a government related web development job, and it took several weeks to properly remake a site to conform to WCAG AA level standards. Unfortunately, that was just for the templates. The dynamic content generated by the CMS usually breaks the conformance. Making websites accessible is not an easy task, and could cost a heavy amount for small businesses.
The purpose of the visibility feature was for positioning purposes. Determining player position is not a trivial task, and the information is not unnecessary, it was an engineering generalization that made certain game features easier to develop. It was not because of poor programming.
For instance, if you were to equip a Maya Purple card, all it would simply do is turn the visibility on, rather than the server doing a check for every player who has the card and changing the size of the packet for that particular person.
Walking animation is implemented by the client as well. If the invisible person was in the middle of walking and they were detected, how would you position a player with only their end position since initial position wasn't sent to the client? You can't. They'd just appear to the end position instantly, skipping the walking animation.
While you feel can feel superior to the developer and believe the programmers at Gravity are being bad programmers, you have to think about the reasons behind it, so you don't spring more leaks by fixing what you think is a trivial bug. It's sort of like a leaky water pipe. Fixing the leak in one area may induce pressure in other areas and cause leaks elsewhere.
"Let me give you an example of server load: On RO, potions can be consumed at a most, 10 per second. With 2,000 players all consuming on average 5 potions per second in Siege War, there are about 20,000 MySQL inserts per second, counting inventory and logs - which is taxing enough by itself."
I'm being nitpicky, but if you're using eAthena, I believe that inserts are batched rather than instantaneous. And each player is not consuming 5 potions per second on average, that'd be ridiculous. If you were to average it, it may amount to maybe 1 per second at most. 5 per second is only if you're tapping furiously. I'm sure if each person averaged 5 per second, all your players would either be cheating by packeting or have carpal tunnel.
Well, that was what the author of the article was trying to tell us, wasn't it? Don't give marks and they'll be intellectually curious.
Anecdote: I was really good at school at a young age, and I would get easy 80s in all my classes, so I never cared about marks, so that made me intellectually curious at a young age.
I almost laughed out loud at the part "Have you ever invented a programming language? :-)"
Off topic:
It annoys me when people go "Oh you don't know this person? But they're so famous!" because not everyone knows all the famous people in every field.
Though the main problem if someone breaks into your system, the first person you'd suspect is your SSH buddy, because there is a possibility of them using a public machine to log in. Who would want to carry the burden of being your first suspect?
Depending on the design, some would require some sort of ugly hack and a lot of testing to get it to work in all browsers consistently. Sure, anything is possible on the web, but it'll probably require flash or use a fixed position layout.
No, it was done in C#, and even if it was in C, it's not worth the trouble to preprocess the code anyway. The assignment answers were usually simple but short. Something like sorting a linked list using insertion sort. If you have no idea how linked lists work, it's likely you would copy it. But if you understood linked lists, and already knew insertion sort, you could probably write it on the spot within 20 minutes.
In my university programming class, we submitted assignments using turnitin, the same software you saw in the screenshot. We were allowed to see how much of our programs matched other people's programs, and where it was copied from. Scores of up to 70% were not uncommon because the whole class had the same assignment and example code to work from. The only problem is if your score was near 99%, which would probably raise some eyebrows.
But since we could see what parts were considered to be plagiarized, we could easily change our program and resubmit to avoid the filter. It would only deter the students who were too lazy to change their variable names to something else.
Personally, it usually doesn't cross my mind to remap the keys when I make simple games, because I'm so busy thinking about all the logic to actually make the game work. If the game is particularly simple, it's not worth my time to make a settings page anyway.
And if you think about it, mario is usually played on a device where you only have a limited number of buttons. There's no reason to remap the keys if there's only 6 buttons to use.