The main thing you need to get used to in Objective-C (for iOS) is an extra square-bracket syntax for calling an object's methods. It's not really so much like calling a method in Object Pascal / C++ OOP. It's more like sending a message in Smalltalk. It allows for very late binding and unbinding. In that sense, it has the flexibility of coding in JavaScript, but in a compiled language. Also it's VERY supportive of MVC, which you can use to increase the flexibility of your apps.
By they way, you're platform neutral, not platform agnostic. Platform agnostic would be coding HTML5 offline web apps and not caring whether you're on OS X, Windows, Unix or mobile.
Mark Pilgrim speaks from programming knowledge
on
HTML5: Up and Running
·
· Score: 4, Insightful
Mark Pilgrim's telling us what he's figured out. He knows why you updated a page, but your appCache didn't get updated. He's dealt with the problem and explains that you have to get the web server not to send response headers that'll cause the browser not to even attempt to do an If-Modified-Since on the cache manifest. He knows that you have to register an event handler for "error" or else you'll never know why you didn't get to the "updateready" event. And he knows that even if you do get to the "updateready" event handler, if you don't call applicationCache.swapCache() there, your cache won't actually be updated!! And all of that's just in chapter 8.
While everybody else is regaling us with how to use article, hgroup and section, gee thanks, don't strain yourself, Mark's telling us how to use excanvas.js and conditional comments to get MSIE to use VML to simulate canvas. HTML5: Up and Running isn't for blog writers, it's for developers.
There's so much to cover, you need multiple books. Bruce Lawson and Remy Sharp's book Introducing HTML5 tells us how to do drag-and-drop and WAI-ARIA landmark roles, which Mark doesn't do, even though he also wrote Dive Into Accessibility. And the Peter Lubbers, et al., book Pro HTML5 Programming give us 31 pages about how to do WebSockets and 48 pages about how to do Web Workers. It's the parable of the blind men feeling up the elephant and giving different descriptions. And yet not one of them shows even a single line of Inline SVG code or a practical use for custom data-* attributes, which can be really, really useful. So there's room for even more HTML5 books!!
I guess what I'm saying is, please don't knock this book just because it's not everything you ever wanted to know about HTML5. None of them are. Just buy the books by those who specialize in what you want to know. I admire how Mark lays out really practical knowledge, even if you don't.
I don't know if Linux has everything Unix has, but in C on Unix, you can call popen() to pipe to a subprocess from within compiled code. That allows you to use any utility that reads from stdin or writes to stdout. That goes along the "don't do stuff that Linux already does" and Python subprocess.Popen sentiments.
Yeah, but this dude wants to spew his IP packets over the Internet all the time, even when neither side is paying any attention to the 2-way feeds. I can't tell if he even realizes how selfishly wasteful that is.
With DVD and Blu-ray disks, it's possible to seamlessly stitch together the viewer's choice of scenes, viewing angles and soundtracks. The modern classic film Sex Drive comes to mind.
LucasFilm should offer original versions, Lucas versions, original versions with extra scenes but not changed scenes, etc, all on the same disks. I'm holding out for special nerd-pron edition with checkboxes and radio buttons to precisely tailor the experience.
In the interests of scientific accuracy, a ship that can travel faster than light will also travel backwards in time. On the other side of the speed of light, it requires more energy to decelerate and less to accelerate, and an object at rest travels with infinite speed. Therefore, it makes little sense to compare the speeds of ships that can travel faster than light.
The problem of faster-than-light travel is navigation. You can't have any interaction with below-light-speed matter, so where the heck are you??? A more meaningful comparison would be accuracy as to where you end up after decelerating back below the speed of light. That is, distance from an intended target location is a much more meaningful measure of faster-than-light ships than speed.
Yes, yes, I know, there will be those who say that mistakes are intentional and that the movie was not intentionally correct, but these are not the Freuds you're looking for.
Article VI of the US Constitution specifies that the Constitution and laws of the federal government are the supreme law of the land, and the state judges are bound to rule that way. Illinois ratified the US Constitution, so Illinois has agreed to those terms.
So many things that "they" say "there's no such thing" about are coming to pass in our lifetimes: lotions that grow hair, aphrodisiacs, invisibility, losing fat from only one part of your body, and now telekinesis. And if you confront someone that it's now possible, they say "Oh, liposuction's not the same thing AT ALL. I meant losing fat from only one of your body BY EXERCISE."
Well, actually, no, that's not what you said. You said there's no such thing as losing fat from one part of your body, period. Same for monoxodil, Viagra, cloaking, etc. It's all coming to pass, contrary to your predictions, and you're changing the evaluation criteria so that you won't seem to have been proven wrong. Don't blame the messenger for your own lack of imagination.
This is telekinesis with equipment. And if it can happen locally, and the end of a limb, it can happen remotely via radio control. Oh brave new world that has such inventions in it!
If they did, the two nearby cities can CLAIM no presumption of innocence all they want, but Article VI holds them to the national standard. That's Article VI, not Amendment VI.
... and vertical-align:middle. The float hacks that people have to use to simulate display:table are truly awful, quite probably the very worst thing about CSS nowadays.
Suspend/Resume is just what you get by recompiling with the new libraries. There's an API if you want to do more. But when you think about it, retrofitting suspend/resume with just a recompile as actually pretty neat.
You're paying for it if you subscribe to TV Guide. You're paying for it as part of your cable subscription which includes the TV Guide Channel. You're paying for it to make your Tivo, ReplayTV, UltimateTV, other DVR, etc, work. And you're paying for it again for each additional DVR, even though you've already paid for it from the same provider.
What makes this observation a little different is that there's no ownership involved. You talk about cable operators owning the cables, FiOS owning the optical fiber, mobile phone operators owning the towers, Starbucks owning the WiFi router, etc, but in this country (US), at least, you can't own facts. You can protect facts as trade secrets or other privacy protected information, and the government will cooperate with you on that, but you can't own the fact that something happened. That includes the fact that something was put onto the schedule to happen in the future.
I don't see any outrage at all on this topic (being sold the same free, publicly-available information over and over and over again, information that the content providers want to publicize). There's a fertile market for open source competition in this area, I think.
I sure hope a moderator mods you up (Informative) for the class methods observation.
The asker claimed a background in "assembly, Pascal, HTML, and C". That influenced my response.
The main thing you need to get used to in Objective-C (for iOS) is an extra square-bracket syntax for calling an object's methods. It's not really so much like calling a method in Object Pascal / C++ OOP. It's more like sending a message in Smalltalk. It allows for very late binding and unbinding. In that sense, it has the flexibility of coding in JavaScript, but in a compiled language. Also it's VERY supportive of MVC, which you can use to increase the flexibility of your apps.
By they way, you're platform neutral, not platform agnostic. Platform agnostic would be coding HTML5 offline web apps and not caring whether you're on OS X, Windows, Unix or mobile.
Mark Pilgrim's telling us what he's figured out. He knows why you updated a page, but your appCache didn't get updated. He's dealt with the problem and explains that you have to get the web server not to send response headers that'll cause the browser not to even attempt to do an If-Modified-Since on the cache manifest. He knows that you have to register an event handler for "error" or else you'll never know why you didn't get to the "updateready" event. And he knows that even if you do get to the "updateready" event handler, if you don't call applicationCache.swapCache() there, your cache won't actually be updated!! And all of that's just in chapter 8.
While everybody else is regaling us with how to use article, hgroup and section, gee thanks, don't strain yourself, Mark's telling us how to use excanvas.js and conditional comments to get MSIE to use VML to simulate canvas. HTML5: Up and Running isn't for blog writers, it's for developers.
There's so much to cover, you need multiple books. Bruce Lawson and Remy Sharp's book Introducing HTML5 tells us how to do drag-and-drop and WAI-ARIA landmark roles, which Mark doesn't do, even though he also wrote Dive Into Accessibility. And the Peter Lubbers, et al., book Pro HTML5 Programming give us 31 pages about how to do WebSockets and 48 pages about how to do Web Workers. It's the parable of the blind men feeling up the elephant and giving different descriptions. And yet not one of them shows even a single line of Inline SVG code or a practical use for custom data-* attributes, which can be really, really useful. So there's room for even more HTML5 books!!
I guess what I'm saying is, please don't knock this book just because it's not everything you ever wanted to know about HTML5. None of them are. Just buy the books by those who specialize in what you want to know. I admire how Mark lays out really practical knowledge, even if you don't.
"every action is important"
I don't know if Linux has everything Unix has, but in C on Unix, you can call popen() to pipe to a subprocess from within compiled code. That allows you to use any utility that reads from stdin or writes to stdout. That goes along the "don't do stuff that Linux already does" and Python subprocess.Popen sentiments.
It's the answer to life, the universe and everything.
Yeah, but this dude wants to spew his IP packets over the Internet all the time, even when neither side is paying any attention to the 2-way feeds. I can't tell if he even realizes how selfishly wasteful that is.
Do you have any idea how much bandwidth video consumes?
With DVD and Blu-ray disks, it's possible to seamlessly stitch together the viewer's choice of scenes, viewing angles and soundtracks. The modern classic film Sex Drive comes to mind.
LucasFilm should offer original versions, Lucas versions, original versions with extra scenes but not changed scenes, etc, all on the same disks. I'm holding out for special nerd-pron edition with checkboxes and radio buttons to precisely tailor the experience.
In the interests of scientific accuracy, a ship that can travel faster than light will also travel backwards in time. On the other side of the speed of light, it requires more energy to decelerate and less to accelerate, and an object at rest travels with infinite speed. Therefore, it makes little sense to compare the speeds of ships that can travel faster than light.
The problem of faster-than-light travel is navigation. You can't have any interaction with below-light-speed matter, so where the heck are you??? A more meaningful comparison would be accuracy as to where you end up after decelerating back below the speed of light. That is, distance from an intended target location is a much more meaningful measure of faster-than-light ships than speed.
Yes, yes, I know, there will be those who say that mistakes are intentional and that the movie was not intentionally correct, but these are not the Freuds you're looking for.
Article VI of the US Constitution specifies that the Constitution and laws of the federal government are the supreme law of the land, and the state judges are bound to rule that way. Illinois ratified the US Constitution, so Illinois has agreed to those terms.
... or something like that.
So many things that "they" say "there's no such thing" about are coming to pass in our lifetimes: lotions that grow hair, aphrodisiacs, invisibility, losing fat from only one part of your body, and now telekinesis. And if you confront someone that it's now possible, they say "Oh, liposuction's not the same thing AT ALL. I meant losing fat from only one of your body BY EXERCISE."
Well, actually, no, that's not what you said. You said there's no such thing as losing fat from one part of your body, period. Same for monoxodil, Viagra, cloaking, etc. It's all coming to pass, contrary to your predictions, and you're changing the evaluation criteria so that you won't seem to have been proven wrong. Don't blame the messenger for your own lack of imagination.
This is telekinesis with equipment. And if it can happen locally, and the end of a limb, it can happen remotely via radio control. Oh brave new world that has such inventions in it!
If they did, the two nearby cities can CLAIM no presumption of innocence all they want, but Article VI holds them to the national standard. That's Article VI, not Amendment VI.
I suppose that you're no worse off it they don't. Folks who turn JavaScript off are used to pages looking awful.
... and vertical-align:middle. The float hacks that people have to use to simulate display:table are truly awful, quite probably the very worst thing about CSS nowadays.
Totally agree. It's for us developers. I'm going to use just about everything it supports, maybe even later today. My buttons are gonna look SO GOOD.
I forgot to thank you at the time for ARPANet.
All that you need to cut out the middle man and self-publish nowadays is a laptop computer:
http://www.wired.com/entertainment/music/magazine/16-01/ff_byrne?currentPage=all
... as running counter to what Consumer Reports is all about. It would seem to be a possibility.
Suspend/Resume is just what you get by recompiling with the new libraries. There's an API if you want to do more. But when you think about it, retrofitting suspend/resume with just a recompile as actually pretty neat.
Good post, thank you. Much more light than heat.
You're paying for it if you subscribe to TV Guide. You're paying for it as part of your cable subscription which includes the TV Guide Channel. You're paying for it to make your Tivo, ReplayTV, UltimateTV, other DVR, etc, work. And you're paying for it again for each additional DVR, even though you've already paid for it from the same provider.
What makes this observation a little different is that there's no ownership involved. You talk about cable operators owning the cables, FiOS owning the optical fiber, mobile phone operators owning the towers, Starbucks owning the WiFi router, etc, but in this country (US), at least, you can't own facts. You can protect facts as trade secrets or other privacy protected information, and the government will cooperate with you on that, but you can't own the fact that something happened. That includes the fact that something was put onto the schedule to happen in the future.
I don't see any outrage at all on this topic (being sold the same free, publicly-available information over and over and over again, information that the content providers want to publicize). There's a fertile market for open source competition in this area, I think.
http://www.youtube.com/watch?v=5PDzB6S9EN8&fmt=18