alexander Posted November 10, 2004 Report Posted November 10, 2004 Hey, what are you doing as you are taking a look through this forum? Ok, ok I'll start, I'm writing a PHP interface to Google; a search engine that will run off of Google but display the results in the way you want to format them, or so i think i'd like it to work... Quote
Tormod Posted November 10, 2004 Report Posted November 10, 2004 I'm supposed to write a press release... Quote
geko Posted November 10, 2004 Report Posted November 10, 2004 Im trying to track an item in the post - it's turing into a nation-wide parcel-hunt lol Quote
Tim_Lou Posted November 11, 2004 Report Posted November 11, 2004 try to keep warm while typing... its freezin in here... Quote
alexander Posted November 11, 2004 Author Report Posted November 11, 2004 Actually, today i did a lot of reading on the str functions, hoping that tomorrow i can write the parser for the string... this would be so much better if i knew Perl. But i guess that PHP will do, i figured out that the content for the search return lies between 2 <div> tags, i also wrote a function to generate google search URLs, I think that my next big breakthrough will be getting rid of the header and the footer on the page and leaving the content before the div tag and after the / tag intact...then some serious string to array conversion will take place. Quote
IrishEyes Posted November 11, 2004 Report Posted November 11, 2004 what else do i do while browsing the forum? during my day browses, or night browses?daytime browsing is usually a ten minute block of time a few times a day while my kids are eating, reading, or having 'quiet time'. today, i made two posts while cooking dinner and refereeing a wrestling match, and trying to determine whether a dirt clod hit to the eye was a reason to visit the ER. I also do my bill-paying and e-mail responses while browsing. sometimes i work on my homework. usually i just try to escape into the forums for a few minutes though.night browsing is different, as there are no distractions. usually, i send Tormod about 20 PMs about what went on while he was at work/home/sleep, try to read through all of the posts from that day and see what needs responding, check out the news sources to see if anything has come up that would possibly spark interesting discussions here, and -right now - i'm supposed to be working on the latest Hypography newsletter. don't tell my boss, but i'm really slacking on that darn thing. it's supposed to be done by friday, but i'm having a small bear of a time figuring out his wonder-tool. just need some more coffee, i think. luckily, tomorrow is a no-work day, so i can sleep in and the hubby will watch the kids. gives me a few extra hours on the computer to figure this out tonight.alexander, i think you work too much! Quote
Aki Posted November 11, 2004 Report Posted November 11, 2004 pretend I'm doing homework, but really I"m just talking on msn. Quote
alexander Posted November 11, 2004 Author Report Posted November 11, 2004 Ooh, good one Aki, i gotta start doing that...alexander, i think you work too much! but i'm bored... plus programming is fun, you start playing around with it and find out that something isnt installed on your system, so you go and correct the problem, but that doesnt help because you find out that you have 2 versions of something installed and the autoconfig script doesnt work, so you uninstall everything and install it again, the problem doesnt go away, you get really frustrated, want to throw your computer on the floor and jump on it, then you figure out that a few grand that you spent on the system might not be such a good thing to break... and so forth, but in the end you learn something. Quote
alexander Posted November 11, 2004 Author Report Posted November 11, 2004 To add on to that, people argue that i have too much free time on my hands.here is a part of an email i wrote to one of my professors last week, i guess that i agree with people that say that i have too much free time...(Edit: PDLC stands for Programming Logic and Design with C++) At first I was quiet perplexed as to why there was even talk about thechange of language for the PLDC, and why professors divulged Java tobe a replacement for C++. I can now understand their need in changingC++; C++ can have very discombobulating syntax, by that presenting apreponderance of perplexity for beginner programmers, that mightmisconstrue and by that discourage the students to program in future.I agree with the board's concern and the need to change the curriculumto a middle to high level programming language, but why exhort to go toJava? Java is a proprietary, closed source, semi interpreted, OO language,with syntax that is not much different, than that of C++. Java isproduced, distributed and supported by Sun Microsystems (only); ifMartha was to sell all her shares of Sun tomorrow, and Sun went out ofbusiness the day after, there would not be any support for Java, nobugs would be fixed, no new features, and no support for bogcorporations that reside on the use of Java, because Java is closedsource. Java requires special compilers, and the p code that all Javaprogrammers are so proud of, can only be compiled with a compilerwhich the version is the same as that of the precompiler used toprecompile(interpret) the source. To make matters worse, Microsoftprovides runtimes with standards different from those of Sun. Java source files must end in .Java and the compiled files must end in.class. Therefore, the new universal language can not be used with MSDOS which allows only 3-letter filename extensions. There's more, withUnix systems, software is normally distributed as C source files, Perlscripts, shell scripts, and other user readable code. Then, it is upto the user (system administrator) to compile the code and install theexecutables. Many companies don't like to let users see their sourcecode. Java to the rescue! Because Java converts human readable sourcecode into p-code, this gives companies a way to distribute machineindependent source which users can not read. Then, instead of runningfast compiled code, each system has an interpreter that slowly"executes" the p-code. Java is a miserable high-level language compared to languages likePython and Ruby because Java isn't much more expressive than C++;it is in many ways similar to ObjectC. People that had to port a fewJava apps to Python say that the difference in line count seems to runaround 4:1 forJava : Python. Java isn't any easier to read, write, or debug. 1 Java is a miserable low-level language compared to languages likeC. Good C generally runs about 10x faster than Java (andperhaps more strangely, about 2x faster than C++), and with severaltimes less memory usage. Java is pretty useless for low-level systemprogramming too, and can't really interact with other parts of thesystem (by design). 1 There's no pointers or operator overloading inJava. Java is also very badly documented. The jdk 1.1 Java disassemblerrequires the name of the class file but without the file extension,yet this is nowhere to be found in the documentation that comes withit. To make an analogy, you need a sports car for some purposes and a heavyduty truck for other purposes, but rather than getting two vehicles youbuy an El Camino and use that for everything. The El Camino is Java.The people that drive real trucks will laugh at you, the people whodrive real sports cars will laugh at you, and the people who own anddrive both proficiently, well, those are the super-hackers (andinternational play-geeks). But if you are just an average Quote
Freethinker Posted November 11, 2004 Report Posted November 11, 2004 Me? I'm running my company. Quote
GAHD Posted November 12, 2004 Report Posted November 12, 2004 Good call, I'm a big fan of Python myself. Still I find it funny how you kinda complain about OO, I love OO; it's very useful. Still I myself am usually working on some peice in photoshop, 3DSMax, reading something on Astalavista, or googleing some new topic of interest. Recently it's the new 'nanotech'; 'Self-assembly' molecular structures are facinating. I still need to figure out the math to properly calculate parabolic reflection/refraction outside of simple circular math. Quote
Tormod Posted November 12, 2004 Report Posted November 12, 2004 Tonight I'm cleaning shrimps for Yvonne's grandfather's 80th birthday tomorrow. Quote
Tormod Posted November 12, 2004 Report Posted November 12, 2004 Originally posted by: alexander...can have very discombobulating syntax, by that presenting apreponderance of perplexity for beginner programmers, that mightmisconstrue and by that discourage... There should be some kind of award for discovering the best quote here. Do I win? Quote
Freethinker Posted November 12, 2004 Report Posted November 12, 2004 Shrimp on the bar-b, eh mate? His b'day is the same as mine! Perhaps you could win a T shirt. er... eventually? :-) Quote
alexander Posted November 13, 2004 Author Report Posted November 13, 2004 Good call, I'm a big fan of Python myself. Still I find it funny how you kinda complain about OO, I love OO; it's very useful. No, no dont get me wrong, OOP is a great thing to use, its not that OOP is bad, its that Java is strictly object oriented; you cant do anything unless you declare a class and call some methods, there is no simple procedural programming in Java at all, i took a look through 4-5 books and all of them said its impossible...Python is a great language!!! There should be some kind of award for discovering the best quote hereSure, you get my appreciation for actually taking the time to read through and comment on it. To tell you the truth, after i sent the email to the teacher, he forwarded it to at least 20 more people, and of 5 that i talked to 3 knew nothing of the email, because they didnt even bother to look, 1 didnt read it because it was too long and only 1 said that i needed to spelcheck the email before sending it out (stupid things like misspelling exhort). I actually spent 20 minutes trying to explain to her that it took me from 8am to 1:55pm to write the email and i had a class at 2pm, and that it was supposed to be a private email to the guy who sent it out, and since i dint want to be late to class, i just clicked send and ran off... I think i like...ifMartha was to sell all her shares of Sun tomorrow, and Sun went out ofbusiness the day after...better. Even though it doesnt use all the big words... Perhaps you could win a T shirt. er... eventually? :-)Yup, yup a Hypography T shirt, keys to my car, laptop (comes with a case), some books, all my printers, some DVDs, a GForce card, my desktop (still broken)... ugh, i cant see anything else around here, hold on, add to that my tool box, some furniture, a few monitors, last years calendar and a deck of cards. Quote
DFINITLYDISTRUBD Posted March 19, 2006 Report Posted March 19, 2006 Looking for topics close to my heart and rational individuals (well not so much rational as civil) to converse with while trying not to let too much of the hillbilly in me show through. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.