Not when I have pretty yellow buttons that fart when I touch them.
It's so dirty, right?
Re:Read the source code - love the licence.txt
on
Tetris In 140 Bytes
·
· Score: 1
You're right. Javascript is not Java, but the thing is bigger than just that one function. If you read the bit about what's going on with the code, or view the source of the page, you'll see that it's about six times larger, all told.
[script type="snobbery"]
Looking at whole thing though, it feels kind of inefficient to render the whole board every time you move a piece around, and it's certainly not salable. I mean, what if there were more controls, or a bigger board? This thing would fall apart completely.
[/script]
Oh dear god, don't remind me. It's like everyone who's ever learned how to write an excel macro suddenly thinks it's the most useful all purpose tool for everything. Then they fashion themselves as "programmers." It's kind of like Fox Pro that way, for the same reason.
No way. Typing on my iPad is one of the most awkward things I do in a day, but I don't blame the device.
You know, they have keyboard kits that you can spend entirely too much money on that will get you a real keyboard for the ipad. Might not be especially useful for porn, but I've heard that people like them.
Don't we already have enough ported, legacy bullshit for Linux and iPad?
I know people feel like they're addicted to office, but they're not. They get by just fine without it. Windows tablets will flounder in the market this year and next, and then Microsoft will probably do something idiotic like port office. Then, I'm sure that there will be a couple of people who buy the ported version of office, but as usual, it will be too little, too late from Microsoft. The biggest problem the company has is how fat and complacent they have been through all of this. Windows could have ruled the world of mobile if they had been a little more forward thinking a little earlier in the game. They should have thought about phones and tablets before Apple. There was no reason not to. And while I think rumors of the death of the PC might be premature, I think they missed the boat on mobile, and it will be a lot more difficult for them to catch up.
Literature, even classic literature contains profanity, sex, and violence that would make the FCC rules nazis cringe. Does it really make sense to limit a child's education by omitting it? Figures though, schools in America are already among the worst in the world. Why not go just that little extra distance to seal that worst in the world title?
Well, to your point, it's entirely possible that it is actually illegal in the US. Just because the government is doing it, doesn't make it legal. It still has to be proven in court, be it civil or criminal if this kind of practice will survive in the long run. I would really like to see the present Supreme Court hear this one. They're entertaining, if nothing else.
Oh totally. Who needs lasers when you have you can have high quality photos printed out with white lines every half centimeter or so to delineate the page? My favorite is when they come out wet and bleed on to whatever surface you put it on! That way you can share your fond memories with your white table top, right? Who wouldn't want that?
Well yes, but I have better than perfect vision, and could really appreciate it. Besides, I've been wanting to get one download pointless noise making apps for months now. How did we ever live without pointless noise making apps? It's beyond me. Even now, my lack of pointless noise making apps is tearing at my soul. My android tablet has a few pointless noise making apps, but those are all free, and it's just not the same unless I'm wasting money on them.
Dude, you're an adult, you're not going to like your job every day, and you're not going to like everyone you work with. I'm working on finishing a project I hate, for a client who is a complete dick right now. But, he's the dick that pays my bills, and I manage to keep the work interesting by doing it different ways, rather than repeating the same thing over and over again.
There's really no way around repeating yourself. It's one of the evils of this industry. The thing I've found that works is talking about things in terms of electricity and plumbing. Some of it doesn't really fit, but it's a metaphor that people can visualize. The problem with explaining software mechanics to people is that there's no pipe to envision, no wire to point to, and the guts of the thing exist in the ether where they're shielded from perception.
Another thing that works is to make yourself less approachable. Not being rude per say, but people won't ask you a lot of questions, if you're not forthright in answering them. Or, if you give them an answer in terms you know they'll never understand. At the company I work for, the team in England is notorious for doing things like that. Even to other programmers. When dealing with technical people, you're asking them, at that point, to rewire something without telling you. But, if you're talking about non technical people, they won't understand a word of it; which means they'll find you less useful for answering questions, which means fewer questions.
If they ask you to do something stupid, do it. If they ask you to do something that will break your product, do it. It's not your job to do the job right. It's your job to do what the idiots in management want you to do, even if they don't understand what they're asking you to do. This isn't art, it's production. And you're not a highly skilled person doing a job. No, you're a very expensive piece of software that delivers what they want. So there's no point in questioning it.
As far as life after software development... there's always entrepreneurialism. You probably know enough to make a fair amount of money doing it. But it's not the kind of thing you can just go out and do. You'll need to find an idea, plan, and execute it. So you've probably got time if you're not in a hurry.
Unlike all other assets, which she gets... technical assets go to the one who can manage them, which is usually you.
Otherwise, you can try to divide them down the middle, or to something you agree on.
Good luck with that.
I'm tired of doctors insisting that my kid needs to be loaded up with 50 fucking vaccines at a time before the age of 2.
I'm tired of doctors and nurses cornering my wife over it.
I'm tired of doctors ignoring the fact that my kid's got immunity problems.
That many vaccines would kill her.
I'm tired of doctors that refuse to read charts, more than anything.
If they're selling more smart phones than they ever have... and they're overselling their resources, which they seem to know they're doing... why not just upgrade the network?
My advice to the submitter is for him to lower his standards significantly. It'll be painful, but that's the only way to stay sane when using JavaScript. Expect poor results from the language you're using. Expect poor results from the libraries you're using. Expect poor results from the runtimes (browsers) you're targeting. Expect lower-quality software. Expect more end-user complaints. Oh, and welcome to web development.
I'm really tired of hearing xenophobic morons complain about languages and tools they don't understand, and spouting off the same nonsense that hasn't been true for years. It doesn't bode well for your understanding of any language when you're readdressing grievances that were resolved a decade ago. Get your head out of your ass, and get with the times, please. Here's the deal: Just because you don't understand it, does not make it an infirior, low quality language. Just because you're incapable of writing code that performs well, does not means that the language is slow or sluggish. It simply means you're a closed minded idiot who refuses to learn the basic principles, ideas, and uses behind the thing.
You can't compare Javascript to C++ or Java. Not only is it a totally different mindset, but it's a totally different use case. In Java and C++ you're writing libraries and interfaces. In Javascript, you're writing libraries and documents. Documents are fundamentally different than interfaces because the structures are different. Javascript is a means by which to manipulate a web page. In practical terms, nothing more. Javascript is out of place on server side, which is why server style Javascript has never caught on, and it doesn't really make a lot of sense as a general purpose programming language either.
To date I've met a lot of C++ programmers that have tried Javascript. I've only known one who was any good at it, and none of them have been better at it than me (which is generally how I evaluate other programmers, generally). It's not a bad thing. It is what it is. C++ and Javascript are so different, that there's really no way to do an apples to apples comparison. And, it's probably easier to go from something like Javascript to C++ than it is to go the other way.
If you're going to go from C++, just put the whole thing out of your mind, and pick up something hands on. If there's a Hard Way book on the subject, it would be a good place to start. Also, picking up other scripting languages like Dart, PHP, or Python might get your brain to soften up a little. After spending time in C++ world, where you have to have absolute control over every aspect of everything you develop, going to Javascript where you really only control the DOM can be jarring. The hardest thing to do is just accept that Javascript is nothing like C++, and the tools that you're used to in and for C++ don't work for a reason.
As far as debugging tools. Don't bother with Chrome. It's nearly worthless for Javascript testing or debugging. Get yourself a copy of the latest Firefox stable, download Firebug, and the Web Developer Toolbar. Make sure you have at least a basic understanding of CSS 2 and its basic properties before attempting to do anything, and get yourself a copy of Netbeans. It has the best debugger, and the best reference material, in my opinion. It also has built in support for Subversion and CVS, which I find useful. Don't write anything in Javascript without version control. You'll thank me for that.
When you're first getting started, don't try to become an expert in Jquery or YUI. Learn the real thing first, and write something challenging from scratch. Since you're a C++ programmer, there are any number of things, I'm sure, that you can think of that would be fun to write in Javascript. When I learn a new language, I like to write an e-commerce program start to finish in it. If I were just starting with Javascript, I would attempt to write something for mobile. Mobile has the extra challenge of writing something useful, that maintains a smaller footprint. It'll kill your C++ tendencies flat. Or, it'll frustrate the hell out of you.
that the UK is exerting this kind of power over their local internet lines and providers.
More for me.
Not when I have pretty yellow buttons that fart when I touch them. It's so dirty, right?
You're right. Javascript is not Java, but the thing is bigger than just that one function. If you read the bit about what's going on with the code, or view the source of the page, you'll see that it's about six times larger, all told.
[script type="snobbery"] Looking at whole thing though, it feels kind of inefficient to render the whole board every time you move a piece around, and it's certainly not salable. I mean, what if there were more controls, or a bigger board? This thing would fall apart completely. [/script]
Oh dear god, don't remind me. It's like everyone who's ever learned how to write an excel macro suddenly thinks it's the most useful all purpose tool for everything. Then they fashion themselves as "programmers." It's kind of like Fox Pro that way, for the same reason.
No way. Typing on my iPad is one of the most awkward things I do in a day, but I don't blame the device.
You know, they have keyboard kits that you can spend entirely too much money on that will get you a real keyboard for the ipad. Might not be especially useful for porn, but I've heard that people like them.
Don't we already have enough ported, legacy bullshit for Linux and iPad? I know people feel like they're addicted to office, but they're not. They get by just fine without it. Windows tablets will flounder in the market this year and next, and then Microsoft will probably do something idiotic like port office. Then, I'm sure that there will be a couple of people who buy the ported version of office, but as usual, it will be too little, too late from Microsoft. The biggest problem the company has is how fat and complacent they have been through all of this. Windows could have ruled the world of mobile if they had been a little more forward thinking a little earlier in the game. They should have thought about phones and tablets before Apple. There was no reason not to. And while I think rumors of the death of the PC might be premature, I think they missed the boat on mobile, and it will be a lot more difficult for them to catch up.
Literature, even classic literature contains profanity, sex, and violence that would make the FCC rules nazis cringe. Does it really make sense to limit a child's education by omitting it? Figures though, schools in America are already among the worst in the world. Why not go just that little extra distance to seal that worst in the world title?
Well, to your point, it's entirely possible that it is actually illegal in the US. Just because the government is doing it, doesn't make it legal. It still has to be proven in court, be it civil or criminal if this kind of practice will survive in the long run. I would really like to see the present Supreme Court hear this one. They're entertaining, if nothing else.
Yes, but Apple's iOs farting apps have superior usability.
Yeah, if it's not farting, or ringing, or buzzing, or making animal noises, I'm all, why am I even here?
Oh my GAWD! And I don't have any of them! Just this free farting rabbit app. Argh! My life has had no meaning!
I don't know about special glasses, but I took this class on hypnosis once...
Or: Printing? Who does that?
Oh totally. Who needs lasers when you have you can have high quality photos printed out with white lines every half centimeter or so to delineate the page? My favorite is when they come out wet and bleed on to whatever surface you put it on! That way you can share your fond memories with your white table top, right? Who wouldn't want that?
Well yes, but I have better than perfect vision, and could really appreciate it. Besides, I've been wanting to get one download pointless noise making apps for months now. How did we ever live without pointless noise making apps? It's beyond me. Even now, my lack of pointless noise making apps is tearing at my soul. My android tablet has a few pointless noise making apps, but those are all free, and it's just not the same unless I'm wasting money on them.
I'm getting one!
Dude, you're an adult, you're not going to like your job every day, and you're not going to like everyone you work with. I'm working on finishing a project I hate, for a client who is a complete dick right now. But, he's the dick that pays my bills, and I manage to keep the work interesting by doing it different ways, rather than repeating the same thing over and over again.
There's really no way around repeating yourself. It's one of the evils of this industry. The thing I've found that works is talking about things in terms of electricity and plumbing. Some of it doesn't really fit, but it's a metaphor that people can visualize. The problem with explaining software mechanics to people is that there's no pipe to envision, no wire to point to, and the guts of the thing exist in the ether where they're shielded from perception.
Another thing that works is to make yourself less approachable. Not being rude per say, but people won't ask you a lot of questions, if you're not forthright in answering them. Or, if you give them an answer in terms you know they'll never understand. At the company I work for, the team in England is notorious for doing things like that. Even to other programmers. When dealing with technical people, you're asking them, at that point, to rewire something without telling you. But, if you're talking about non technical people, they won't understand a word of it; which means they'll find you less useful for answering questions, which means fewer questions.
If they ask you to do something stupid, do it. If they ask you to do something that will break your product, do it. It's not your job to do the job right. It's your job to do what the idiots in management want you to do, even if they don't understand what they're asking you to do. This isn't art, it's production. And you're not a highly skilled person doing a job. No, you're a very expensive piece of software that delivers what they want. So there's no point in questioning it.
As far as life after software development... there's always entrepreneurialism. You probably know enough to make a fair amount of money doing it. But it's not the kind of thing you can just go out and do. You'll need to find an idea, plan, and execute it. So you've probably got time if you're not in a hurry.
Unlike all other assets, which she gets... technical assets go to the one who can manage them, which is usually you. Otherwise, you can try to divide them down the middle, or to something you agree on. Good luck with that.
Cool! I've been meaning to get a laser shark, but my building won't let me put a living room sized tank in. Bitches...
Did you mean release?
I'm tired of doctors insisting that my kid needs to be loaded up with 50 fucking vaccines at a time before the age of 2. I'm tired of doctors and nurses cornering my wife over it. I'm tired of doctors ignoring the fact that my kid's got immunity problems. That many vaccines would kill her. I'm tired of doctors that refuse to read charts, more than anything.
If they're selling more smart phones than they ever have... and they're overselling their resources, which they seem to know they're doing... why not just upgrade the network?
My advice to the submitter is for him to lower his standards significantly. It'll be painful, but that's the only way to stay sane when using JavaScript. Expect poor results from the language you're using. Expect poor results from the libraries you're using. Expect poor results from the runtimes (browsers) you're targeting. Expect lower-quality software. Expect more end-user complaints. Oh, and welcome to web development.
I'm really tired of hearing xenophobic morons complain about languages and tools they don't understand, and spouting off the same nonsense that hasn't been true for years. It doesn't bode well for your understanding of any language when you're readdressing grievances that were resolved a decade ago. Get your head out of your ass, and get with the times, please. Here's the deal: Just because you don't understand it, does not make it an infirior, low quality language. Just because you're incapable of writing code that performs well, does not means that the language is slow or sluggish. It simply means you're a closed minded idiot who refuses to learn the basic principles, ideas, and uses behind the thing.
You can't compare Javascript to C++ or Java. Not only is it a totally different mindset, but it's a totally different use case. In Java and C++ you're writing libraries and interfaces. In Javascript, you're writing libraries and documents. Documents are fundamentally different than interfaces because the structures are different. Javascript is a means by which to manipulate a web page. In practical terms, nothing more. Javascript is out of place on server side, which is why server style Javascript has never caught on, and it doesn't really make a lot of sense as a general purpose programming language either.
To date I've met a lot of C++ programmers that have tried Javascript. I've only known one who was any good at it, and none of them have been better at it than me (which is generally how I evaluate other programmers, generally). It's not a bad thing. It is what it is. C++ and Javascript are so different, that there's really no way to do an apples to apples comparison. And, it's probably easier to go from something like Javascript to C++ than it is to go the other way.
If you're going to go from C++, just put the whole thing out of your mind, and pick up something hands on. If there's a Hard Way book on the subject, it would be a good place to start. Also, picking up other scripting languages like Dart, PHP, or Python might get your brain to soften up a little. After spending time in C++ world, where you have to have absolute control over every aspect of everything you develop, going to Javascript where you really only control the DOM can be jarring. The hardest thing to do is just accept that Javascript is nothing like C++, and the tools that you're used to in and for C++ don't work for a reason.
As far as debugging tools. Don't bother with Chrome. It's nearly worthless for Javascript testing or debugging. Get yourself a copy of the latest Firefox stable, download Firebug, and the Web Developer Toolbar. Make sure you have at least a basic understanding of CSS 2 and its basic properties before attempting to do anything, and get yourself a copy of Netbeans. It has the best debugger, and the best reference material, in my opinion. It also has built in support for Subversion and CVS, which I find useful. Don't write anything in Javascript without version control. You'll thank me for that.
When you're first getting started, don't try to become an expert in Jquery or YUI. Learn the real thing first, and write something challenging from scratch. Since you're a C++ programmer, there are any number of things, I'm sure, that you can think of that would be fun to write in Javascript. When I learn a new language, I like to write an e-commerce program start to finish in it. If I were just starting with Javascript, I would attempt to write something for mobile. Mobile has the extra challenge of writing something useful, that maintains a smaller footprint. It'll kill your C++ tendencies flat. Or, it'll frustrate the hell out of you.
Either way.
Take Care