Sip
Members-
Posts
8,324 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Events
Gallery
Everything posted by Sip
-
I checked the AOL website and doesn't look like they have the 8.0 for mac. They seem to have a special Max OS X version of AOL which is based on AOL 6.0. The program you are looking for should have an .hqx (or maybe a .bin) extension.
-
Are women always on the top of your list? Ok, I sincerely hope only AZAT got that joke otherwise, I'll go and punish myself too
-
Good one there Bruin! So here's another: What do you say to scare a bee? Boo Bee.
-
... and Azat, I totally hear you on the pulling hair part! My undergrad compiler class project was one of the hardest things I have ever had to do. I have such amazing respect for compiler writers after that class!!! Before that, I often would say things like "oh, we will let the compiler worry about that" (such as optimizations, debugging, etc) but now, I don't say that anymore cause I know what a pain in the neck it can be for the compiler writer. But I have to say Lex/Yacc (flex/bison) are a couple of the most useful tools I have ever used on a computer. I really like them.
-
parse technically means to "separate/group" and assign a special meaning. With FLEX and BISION (also known as LEX and YACC), you have 2 components: the lexical analyzer (lexer) and the parser. Yacc actually stands for "yet another compiler compiler". In the problems that you did, you were mainly being a lexical analyzer which is the first step of parsing. What you did with the part A, you would just go thorough and do some blind substitution (spit out a new line instead of space). But that is ok since your parsing task only required you to do that and you weren't asked to figure out some special meaning in the input. In part B, your task was a bit more complicated since you had to recognize different parts of the input ... like the function name, parameters separated by comas, etc. If you were to write a FULL parser, you would somehow store the information which you read in the input in some sort of structure after parsing (like storing the function and method name separately followed by the parameters, each in separate variables). I don't know if you have learned about lists or trees yet, but that's what you would normaly use. So basically, the "parsers" which you wrote were nothing but the lexical analyzer parts of a full parser. But that's ok since your assignment only required you to do that and nothing more.
-
http://zr2.cs.ucla.edu/Sip/zr2/roflmao.gif I'd like to see you say that in front of QRISTINE Vava, that's pretty cool info about zip self-extracting files. I didn't even think about that. I have noticed that I can open such exe files directly in winzip on a PC. I didn't know you could do the same on a mac but it certainly makes sense!
-
Or just wait till Domino shows up and proves how MACs are superior to even Armenians
-
Virtual PC offered by apple is one example of PC emulation program for mac. I don't know much about that specific product other than what's listed on the apple site.
-
The "exe" extension is most often used for x86 binaries... ie programs which have been created to run on intel processor-based PCs (which means you need DOS or Windows). Since MACs have different processors (new ones are PowerPC) and also have different operating systems (i.e. MacOS), they cannot run EXE programs. That is as far as I know about MAC. Considering the fact that newer MAC operating systems are essentially UNIX, there may be "windows emulators" or "x86 processor emulators" which may let you run that specific exe program. But to answer your question, most likely there is no straight-forward way. That's why most retail software comes as either for "PC" or for "MAC". By the same token, running an "exe" program in LINUX on a PC is also not that trivial due to operating system differences between linux and windows/dos.
-
Oh I just remembered ... in one of the "shows" in near long beach, one day I sold roughly 5000 tickets all by myself!!!! Each one had to be individually ripped from a roll ... We were short handed and I didn't even get a bathroom or a lunch break ... that was an INSANE day and I still can't believe how I did it. My hands and wrists were hurting for like a week after that! Most amazing of all, at the end of the day I think I was only off by a few dollars in the "cash register" (which was just a cardboard box )
-
One of the most fascinating jobs I have had was working at local "computer shows" when I was in my first 2 years at UCLA. The job was that we basically spent an ENTIRE weekend, setting up these trade-show type things but in essense, it was basically a place for vendors to sell stuff. This was right before online shopping and ebay really changed things around. Those of you in southern cal, maybe you went to the "shows" in CSUN or pasadena convention center in the mid-90s ... chances are that maybe I sold you a ticket or didn't let you sneak in the back door!!!! We would show up VERY early sat morning, have a couple of donuts and basically do very heavy manual labor for a few hours setting up all the tables, lights, curtains, signs, etc etc Then the vendors would show up to setup their booths and we would again go through some serious hauling and moving around. The rest of the weekend would be much more relaxed ... we would alternate between selling tickets, watching the door, catching thieves (that one I loved!!!) and basically making sure eveyryone was happy. The main motto was: NO REFUND! hehehehe ... we had such amazing fights with totally pissed off vendors and customers who wanted their money back for some reason (disappointed with show, etc). Why I loved it so much was that it was the first time I really saw a "market" in action. Watching these chinese vendors running around trying to make the sale, seeing which booths did well and why (they almost all had the same products but some would do REALLY well in selling), and also how human nature works in such "jungles"!!! It was one of the most eye opening experiences of my life. Plus, I got to learn some chinese from the vendors and they would ALWAYS give us awesome deals at the end of the day. That's how I could afford most of the junk that I was buying back then. Needless to say, I usually spent most of the money that I made (I think it was $5.5 or $6 an hour) before I got home Sunday night. Man, those were the day ...
-
Isn't Rubo in Boston? Oh and weren't you on your way there too Azat?
-
Oooooh ... and another thing... take a close look at where you say "sizeof(methodCall)"
-
Nice MESS you created here HARUT Part B doesn't look like it would work. Seems to me it would just print some characters, one character one a line, and won't really "parse" things the way it's supposed to. Did you try to run it?
-
quote:Originally posted by MJ:... However, there is a major stumbling block there - the fast internet connection and its cost thanks to Mr. Boghbadyan and his alike. And since today is ask MJ day ... I got curious about that statement. Does Boghbadyan (don't know him) somehow have a hand in the internet backbone in Armenia, or maybe just the service provider side, and why is there a "sumbling block"? Thanks for the reply above by the way! [ December 06, 2002, 11:13 AM: Message edited by: Sip ]
-
What kinds of investments would you say have a better chance of attracting foreign investors ... i.e. which sectors? For example it was mentioned here that there may be a rather "cheap" but good quality high tech labor force in Armenia waiting to be utilized.
-
A) code:char c;while(!cin.eof()) cout << (((c=cin.get())==' ') ? 'n' : c); code:int i=0;char c; cout << "object: "; while(!cin.eof() && (c=cin.get())!='.') cout << c; cout << endl; cout << "method: "; while(!cin.eof() && (c=cin.get())!='(') cout << c; cout << endl; while (!cin.eof() && cin.peek()!=')') { cout << "paramater " << ++i << ": "; while (!cin.eof() && cin.peek()!=')' && (c=cin.get())!=',') if (c!='"' && c!=' ') cout << c; cout << endl; } In both cases I assumed there is no syntax checking required. In both cases I assumed EOF (end of file) terminates the input. Both those work exactly as specified by using the input stream redirection (i.e. compile the program and run it using a redirected input text file from the console). I assumed the " " around the input are only there in the problem statement to specify things as input.
-
Good stuff! Very well written ... Minor point: quote:Originally posted by Loreley:... We build more computers to hold more information, to produce more copies than ever, but we communicate less and less... Not true. Communication bandwidth usage has been growing exponentially in the recent history. We may be communicating less "meaningfully" but the overall communication level going up at an amazing rate. A small hint of what I'm talking about is just the fact that I am typing at this place right now and you're reading it!!!
-
Another thing that just pisses me OFF ... here's a direct quote from some stupid Infomercial on TV I just heard (unfortunately, at this time, infomercials are the best things on TV) quote:[product blah] is completely natural therefore 100% safe. What the hell are they talking about? Strychnine and Cyanide are also natural but I don't think they are 100% safe. Man I hate informercials. They are ALL lies. Who gets fooled by this crap? Probably the same people that buy stuff from telemarketers and junk email.
-
quote:Originally posted by QRISTINE:... I wonder if there was a case that you never disagreed with Seaphan chlini es groxe nuin mardna? You may not believe this, but I'd take that last part as a compliment. Seriously. But if we are in fact the same person, then that means we are here ROUND THE CLOCK and never sleep ... I AM addicted to this place but not that much.
-
quote:Originally posted by EZ:Maybe Armenia should go into the money order business Oh, why didn't we think of that sooner! All problems solved! ... "Check cashing" also seems to be big in the US now. With the concept being: "You give me a check, I'll cash it in two weeks from now ... with a "slight" interest and a minor fee of course" So what would the advantage of belonging to the EU be? Could it maybe create a more secure environment for investors to bring more money into? I am trying to see the pure economic advantages ... but "culturaly", I see MJ's point.
-
I think better yet, we all go to Six-flags in holland!!!! Sounds like much more fun
-
I only want my "Armenian" car air-horn!!! So let's see what we have so far: 1) X-box for Azat 2) Digicam for Harut 3) Digicam for Domino 4) WRX STi for Juggy 5) Six Flags tickets for Nairi 6) Car air-horn for Sip ... if it plays "tata", then I'm sure Hyebruin would also want one for her car (boy, can you imagine her driving on the street with the horn continuously blasting TATA? ... hmmm, on second thought, maybe she shouldn't get one). I hope "Movses"-papik is reading all this and taking notes [ December 04, 2002, 04:00 PM: Message edited by: Sip ]
-
It is obvious to me that analog "film" will disappear very soon. Even if the quality of the original picture cannot be matched by digital (I think digital can get VERY close), the fact that at the end all pictures are going to be stored and viewed digitally, will make the "analog film" obsolete. I doubt people will go on storing and viewing hard-copy pictures. And the way digital is improving, even now digital photo quality and resolution is MUCH MUCH higher than any human eye can distinguish.
-
My life is split into three major historical parts: pre-digicam: ancient history which is mostly forgotten. mid-1.2MP-digicam: Some interesting finds and pictures to be enhanced and decoded by future scholars. post3.5MP-digicam: Perfectly documented and commited to CDs which have expected shelf-lives of around 100 years. Will soon be transfered to metalic disks using optical technology which would ensure virtually unlimited "shelf-life" ... will for sure last longer than the shelf digital cameras have really changed how I live and remember my past ... and I am not just saying this cause I'm a geek.
