Thread: RE: [GD-General] Compile times (Page 2)
Brought to you by:
vexxed72
From: Kent Q. <ken...@co...> - 2002-12-11 19:23:44
|
Every programmer in Codeville liked templates a lot But the Hook, who lived just west of Codeville did NOT. The Hook *hated* templates! The whole template thing. If you want to ask why, then just give him a ring. It could be that templates are just macros in drag. It could be that templates made his build process lag. But I think that the most likely reason of all Is that his disk drive is two sizes too small. But whatever the reason, his lag or his macros, The Hook stood there hating templates down to his toes. For tomorrow he knew all the coders and geeks Would use STL to avoid memory leaks They'd stuff data in vectors! They'd use maps and lists! And the thought of a deque... Well, that just got him pissed. And then they'd do something That he liked not a bit Every last one of them, The fat and the fit Would go out on the newsgroups And start talking about it! Ok, the joke's running thin. :-) Apologies to both Dr. Seuss and Brian... Kent At 01:34 PM 12/9/2002 -0800, you wrote: >The above is exactly what I mean. STL is the devil's tool, I stand very >firmly on that. I completely dislike the way C++ has made templates, >which are effectively glorified search and replace macros. It leads to >code bloat, and changing any of your template code causes massive >cascades of rebuilds. > Kent Quirk, CTO, CogniToy ken...@co... http://www.cognitoy.com |
From: Colin F. <cp...@ea...> - 2002-12-12 07:42:07
|
2002 December 11th Wednesday I hate to ask this question here, but I'm like THIS close to getting my own application to run on my T720 phone, and this last obstacle is way more mysterious than I can handle! I wrote a simple *.java file that uses J2ME. It compiled to a *.class file, went through a "preverify" step to become a new *.class file, and then I put it in to a *.jar file. I can use the midp application to run the midlet directly from the *.jar file, and it executes in a cell phone emulator as expected. I have downloaded and executed apps on my T720 phone, but after downloading my own app, the phone says "Download Complete", and then says "2268 bytes transferred", and then, after a long pause, the following message appears: "Unsupported Content Type" The *.java code is taken straight from a extremely simple "Hello, World" demo on a Sun midlet web site. Okay, here's what makes all of this weirder: I did lots of Google searching, and ended up downloading the Motorola J2ME SDK v3.0, and I run their phone emulator on that same *.jar file -- and it works as expected on the T720 (my model phone) emulator. I found many pages (via Google) that contain the string "Unsupported Content Type", but I don't see any connection to my problem. I deployed my app from my WWW site, over the air (OTA), and the MIME types are correct. I put other people's *.jar and *.jad files on my WWW site, and I successfully downloaded these other apps to my phone and executed them. Anyone have any idea what might be the "missing link"? We can take it off the list with private e-mail exchanges if it's too off-topic for your tastes. But I've already created a WWW page that documents in great detail what I have done so far to get applications running on my T720 phone -- so it's kind of frustrating to hit one last snag at literally the last possible moment for something to go wrong! (By the way, once someone helps me solve this last problem, I'll post the entire process on my WWW site and announce it.) I don't think my app actually started execution because the phone didn't even store the app in the Games & Apps repository for future use. So, was "Unsupported Content Type" generated by the verification stage on the phone? Or is it something even sillier, like the *.JAR MIME type still being wrong (despite me specifying: AddType application/java-archive jar on the Apache server)? Or does it have to do with me specifying the *.jad file directly via the "Open URL" option on the phone? Maybe my successful attempts to get other apps involved going though HTML or WAP links... Anyhow, I'm baffled, and I searched the web and couldn't find any other friendly place to ask a question like this. Sorry if this is way out there for this list. --- Colin cp...@ea... |
From: Colin F. <cp...@ea...> - 2002-12-14 10:58:04
|
2002 December 14th Saturday I figured out what was wrong: I was missing the manifest file in the *.JAR file. Here is my new web page dedicated to describing my experience of developing, deploying, and downloading a J2ME application, all for free (apart from "air time" and "byte transfer"): http://www.colinfahey.com/2002dec14_j2me_cell_phone/j2me_phone_apps.htm Even if you know nothing about cell phone development, you might be able to get your own application running on your phone just by following the steps on the page above. Well, I promise not to ask any more cell phone coding questions on this list -- since the overwhelming response to my recent question was clogging all the bandwidth...NOT! --- Colin cp...@ea... www.colinfahey.com |
From: Parveen K. <pk...@sf...> - 2002-12-14 22:24:49
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Colin Fahey wrote: [snip] > > http://www.colinfahey.com/2002dec14_j2me_cell_phone/j2me_phone_apps.htm > > Even if you know nothing about cell phone development, > you might be able to get your own application running > on your phone just by following the steps on the page > above. > There's a thread going on over at slashdot about this. http://developers.slashdot.org/article.pl?sid=02/12/14/160201&mode=thread&tid=100 As per usual, signal-to-noise is pretty low. I have friend that is currently making cell phone games. I believe he is using PHP and mysql. This is the middle-man he is contracted with to take care of distribution, billing, etc. http://airg.com I have a few questions though about your article. j2me is supposedly much slower than brew. What's your experience with this? Is there a good, easy way to bill customers so you can actually make money? The next version of brew may actually use the gcc arm compiler. Which will save a developer $1500. But how much does Qualcomm charge for signatures/testing? Parveen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9+6+y6jdpm1dGc/cRAtE1AKCpE8AFzHBW2VWC5CFr35qcAKTCCACgqSfu gsJU0rE/e80nFLSPF1H+Mz0= =saS5 -----END PGP SIGNATURE----- |