-
compiler theory stuff
Date: 03/30/05
Keywords: no keywords
question:
Develop the BNF for simplified C Boolean expressions.
Assume that you have a lexical analyser that can recognise the terminal symbols:
IDENTIFIER, INTEGER, AND, OR,'!', EQUAL, NOTEQUAL, '<', '>', '(', ')'
Note that in C, any IDENTIFIER is a legal Boolean expression, as is any INTEGER.
Also note that any valid Boolean expression is also valid if enclosed in brackets, '( )' , but that brackets are optional.
You need not worry about any other data types (e.g., floating point numbers or chars), nor should you worry about other types of expressions, like mathematical or functional calls, that would need to be included in a more complete definition.
(Note that operator precedence is not a concern at this phase).
and my answer:
booleanExpr ::= expression ';'
;
expression ::= side relationalOp side
| '(' expression ')'
| expression logicalOp expression
;
side ::= var
| INTEGER
;
var ::= IDENTIFIER
| !var
;
logicalOp ::= AND
| OR
;
relationalOp::= EQUAL
| NOTEQUAL
| '<'
| '>'
;
I'm sure it's missing a few things though so please jump in :)
Source: http://www.livejournal.com/community/computergeeks/647090.html
-
Macs
Date: 03/30/05
Keywords: linux
I've been considering buying a mac for a while now (iBook), after years of being an adamant x86 advocate. All the old arguments for sticking with x86 have gone. I don't play games on my PC anymore, consoles are now cheap enough to buy, and new consoles cost less than a yearly upgrade to the PC. I hate windows and really want to get away from it. I like linux but haven't learnt it properly and want Something That Just Works(tm). I'll keep my PC for when I need windows/windows only programs, and for when I want to mess about with Linux, and to keep my g/f happy.
Have any of you made the switch? What were your experiences? I am well versed in several flavours of OS, ie all versions of windows from 3.1 onwards, DOS 6.22 onwards, Linux (basic level) and openVMS, so I am not going to be flustered by things being slightly different in the bones of the system, the file system will be different, programs will be installed differently, etc., I'm really asking about things I might not be expecting, things you take for granted on one system, not working on another, and your overall experience.
Source: http://www.livejournal.com/community/computergeeks/646880.html
-
Hello.
Date: 03/30/05
Keywords: technology
Hi there. :)
I'm Jo [if it matters to you at all], and while I may not know a whole lot about computers, I certainly do love them. If you're asking yourself "why'd she join this community?", it's because I'm looking to learn more about computers. Anything and everything about them fascinates me. I'd just like to say that by reading these entries/comments through my friend's page, I've learned a LOT already. Thanks! :)
So, here's my story.
My computer [used, of course, since my dad doesn't know any better] is crapping out finally, and my dad and I are looking to get a new one. The option to build my own is not available, but the option to buy a brand-new one is.
I've been given three options:
-Dell
-Gateway
-HP
Now, I'd mainly use this desktop for gaming and internet. Well, mostly gaming. [Obviously some schoolwork in there too, but who does homework these days? ;)] I don't remember what ones we looked at at Best Buy [since I was in a cold-medicine-induced fog], but I can tell you the specs of the Dell we're looking at. The price range would be roughly $750-780 and under.
Dell:
Dimension 3000 desktop
intel pentium 4 processor (2.80 GHz, 1MB l2 Cache, 533MHz FSB)
windows XP home edition
512MB shared DDR SDRAM
80GB hard drive
(free upgrade to a flat screen monitor, online order only)
48X CD burner
inegrated intel extreme graphics 2
dell A425 stero speakers with subwoofer
Total:
$699
I *think* these are the HP and Gateway ones, but I may be mistaken.
Gateway:
intel pentium 4 processor 530 w/HT technology
(flat screen monitor, printer)
processor speed: 3 GHz
512MB DDR RAM memory
200 gigabyte hard drive
double-layer multiformat DVDRW drive
8-in-1 media reader
Total:
About $780 after rebates
* for another $150, I could upgrade to 1024MB DDR RAM memory
HP:
I'll link you, it's easier. For this one, if you could tell me what would work best for gaming out of the options given, that'd be stellar, and I'd give you a cookie. :)
HP link
I don't remember what specs this one had at best buy.
------
So, basically what I'm looking for is the best gaming computer out of these three options. I could probably configure one on http://www.ibuypower.com/, but for now I'm just lucky to have these three options open. ;)
Source: http://www.livejournal.com/community/computergeeks/646286.html
-
Tre Help?
Date: 03/30/05
Keywords: no keywords
Alright so this is more of a case of I just do not wish to deal with my family bitching at me. >shakes head< I turn to all of you for SOMEONE has to have the answer to my troubles. My wise and intelligent mother bought my younger brother memory for christmas(yes I know how long ago that was). She bought him the wrong kind so, using her 'logic'(a term I use in the roughest of terms)she decides that the only logical choice is to buy a whole new cpu and motherboard!!! She bought DDR2 memory. She wants to buy a 64 bit AMD CPU. MOBO has to have an AGP slot. Recomendations?
Source: http://www.livejournal.com/community/computergeeks/646119.html
-
Computer Services Offered
Date: 03/29/05
Keywords: web
For those of ya that live in Cleveland, Ohio area. I have a company offering computer services for affordable prices. Also I am looking for some feedback on the development of these websites... Check them out and let me know what ya think...
Computer Solutions for Ohio
Here are some of the sites that I developed:
A & A Construction Equipment
Fairport Theater Project
Source: http://www.livejournal.com/community/computergeeks/645743.html
-
New Keyboard
Date: 03/29/05
Keywords: no keywords
i recently acquired a Genius KB 29e Calculator. And I love it. Ain't she pretty? Does anyone else here have the same keyboard?
Anyway, I'm having a little trouble configuring it properly. First, I want the multimedia buttons to work with Winamp. Second, I want the internet hotkeys to work with Firefox. Any thoughts on how I can do this?
Thanks.
Source: http://www.livejournal.com/community/computergeeks/645562.html
-
MSN's "Improved" Search Technology?
Date: 03/29/05
Keywords: technology, asp, web
http://search.msn.com/results.aspx?q=horrid+operating+system&FORM=QBRE
(MSN Search for "Horrid Operating System").
One website (mine) was responsible for this. And MSN claims its search technology is "improved"?
It's somewhat shocking that a single website can skew search results so dramatically.
(Madly Cross-posted).
Source: http://www.livejournal.com/community/computergeeks/645281.html
-
Reboot Loop
Date: 03/29/05
Keywords: no keywords
Alright, I have stopped this before on my own computer but have since forgotten how to do it. My cousin's Sony Vaio will POST and then it will just automatically reboot before going into the BSOD. It wont boot in safe mode either... I know how to turn off this loop through the Windows environment, but even after googling, that seems to be the only options posted. Can anyone tell me how to turn off this automatic reboot through BIOS so i can read the "stop" error message that the BSOD would display?
Source: http://www.livejournal.com/community/computergeeks/644835.html
-
WinDVD - "HALP!"
Date: 03/28/05
Keywords: no keywords
Does anyone have any experience with WinDVD? I got it because I was told that it would allow me to view DVD's on my computer. That's great but should Windows Media Player already be able to view DVD's in my DVD drive?
Also, does it matter if the WinDVD program is a few years old? What would I get if I used WinDVD Player 6 as opposed to a version from 1999?
Source: http://www.livejournal.com/community/computergeeks/644466.html
-
Attention Hackers
Date: 03/27/05
Keywords: no keywords
Attention any hackers, whether I know you or not - I require your services for a small job, and I am willing to pay very well. Even if it was the hacker that got into my livejournal and hotmail accounts, I would like to hire you for this small service. Even if its you, Joseph. I promise you, I will make it well worth your efforts.
If any of you who are reading this know a hacker yourselves, please post a comment.
Source: http://www.livejournal.com/community/computergeeks/644044.html
-
Looking for a motherboard
Date: 03/27/05
Keywords: no keywords
I want to find some sort of ATX mobo, preferably Micro ATX, Socket 370,
with an AGP slot. If possible, one that uses pc2100 (rare but there are
some mobos like that)
Reason is I have a bunch of parts lying around and I want to build a small computer for testing other parts and whatnot.
Any help would be greatly appreciated. Thanks.
Source: http://www.livejournal.com/community/computergeeks/643804.html
-
Wireless Internet
Date: 03/23/05
Keywords: no keywords
I have a giant problem.
Basically, my wireless internet is in the dumps. I have two sisters, both on wireless internet connections, and both of their computers work 100% perfectly. Mine does not. The connection is definitely there, so I don't think it's a channel or SSID issue or any of that basic stuff, because it says "connected" in the tray, but it does not connect. Occasionally, the internet will work (albeit extremely sluggishly) for about 4 minutes and then decide to not work again. It's not interferance, because not only have I previously mentioned both of my sisters wireless internet, but I've also had wireless internet in my room before, and it worked fine.
I upgraded to a Belkin router and an AGP Belkin Wireless Card (802.11b/g). Since I ruled out interfernace, and settings, I seriously don't know what the problem is. Any suggestions? Thanks in advance!
Source: http://www.livejournal.com/community/computergeeks/642560.html
-
Epson Stylus Color 880i Printers
Date: 03/22/05
Keywords: no keywords
I need some help with my printer... I used to be able to check the progress of my ink cartridges, but I some how lost the ability to check it. DOes anyone know how I can get that back?
Thanks.
Source: http://www.livejournal.com/community/computergeeks/642132.html
-
Photoshop question
Date: 03/22/05
Keywords: no keywords
I'm going to try and explain this as best I can. It's a little difficult without actually seeing the document open in Photoshop. Thanks in advance for any and all help! Also sorry for any x-posting.
I have Photoshop document with two layers. The bottom layer is an overhead map. The top layer is what I want to be a decorative winding path around the walkways and roads shown on the map. Right now this top layer has been created as a straight line. I want to bend it to fit around all the twists and turns of the roads of the map layer. But I do not want to distort it so the design becomes unrecognizable.
Is there a simple way to accomplish this? I tried smudge, but it completely destroys the top image. Filter-->Liquify didn't seem to work well either. (For one thing, I can't even see the map layer when I liquify.) I feel like I should be able to use paths, but is that even a possible solution for a problem like this?
Is Adobe Illustrator a better program to accomplish this in? (I know text in that program can be written on a complicated winding path.) If so, how would I go about doing it? (I'm only slightly familiar with Illustrator.) Or is some other program better?
Thanks again!!!
Source: http://www.livejournal.com/community/computergeeks/641886.html
-
Problems with embedded streaming files. Firefox 1.0.1; WMP9/10; .WMV
Date: 03/20/05
Keywords: no keywords
Hello all, new to this community, and in need of clarification and help.
Recently, due to possible maliciously encoded .wmv files, or possible blotched codec installs, My beloved WMP decided to call it quits, floating belly up whenever I try to play a .wmv file.
No worries, found work arounds using Winamp and VLC in regards to my local files.
My problem is, that whenever I try to access a page containing imbedded .wmv files, Firefox uses the crippled WMP, which causes the it (the embedded file) to crash, which causes Firefox to crash.
My question is, are there any work around in Firefox, whether to disable embedded media all together, or to switch the programs used by Firefox to something less volatile?
I was snoopping around Firefox's "about:config" and came along this particular line:
plugin.scan.WindowsMediaPlayer Status="Default" Type="String" Value="7.0". I'm wondering if this, or anything related, might be a way to circumvent my problems.
I want to consider myself a semi Advance user, but as you people may see, I don't know enough to help my own hide.
Thanks in advance.
Source: http://www.livejournal.com/community/computergeeks/640330.html
-
Compaq Armada 1592DT BIOS
Date: 03/19/05
Keywords: google
Hi fellow computer geeks.
This is something I have googled (yes, happy?) and have not found an answer for.
My father gave me a Compaq Armada 1592DT laptop so I could clean some of the junk off of it. I can't seem to get into the BIOS though. I pressed the Del button (as is the case with most BIOS's) but it ignores it and continues loading.
Anyone know how to access the BIOS from this particular brand of laptop? I know it has a BIOS, otherwise the danm thing wouldn't have even loaded in the first place.
Please help me if you can!
Cheers,
-- Tom.
Source: http://www.livejournal.com/community/computergeeks/640179.html
-
MP3's won't play.
Date: 03/19/05
Keywords: no keywords
I've just downloaded some MP3's and when I try to play them in Winamp, they don't start. There is no time value beside them either. Each of the MP3's is 3Gb or more, so there's definately something to them. I get an error when I try to play them in Windows Media Player. I asked the question amongst some friends and got the response that I need to decode them to Wav and re-encode them back to MP3. Is this correct and if so, does anyone have a suggestion of a (preferably free) program to do this? What's happened to the files that they are like this?
Thanks so much for any assistance.
Cheers.
Source: http://www.livejournal.com/community/computergeeks/639841.html
-
why disable SSID broadcasting
Date: 03/19/05
Keywords: no keywords
I have a WLAN which uses all Linksys equipment for my modem, router, PCI cards, PCMCIA cards, etc. Ihave two WAP's one is Linksys and the other is Dlink. My wlan is locked down by WPA-SPK, TKIP passwords and verifies by MAC address well recently I wanted to turn of SSID broadcast because I do not like the idea of it floating around. I turn off my SSID and I instantly loose my WLAN however my LAN stays up and running. I turn SSID broadcast back on and the WLAN comes back up instantly. Why is it doing this? Is it a bit excessive of me to turn off SSID with all the other stuff in place?
Source: http://www.livejournal.com/community/computergeeks/639582.html
-
icons
Date: 03/18/05
Keywords: software
does anyone want to help me make an icon? i already have pics nd stuff in mind, but i dn't have the software, cuz my dad is an asswipe (excuse my french) nd he put a password on all the accounts, so if i delete the password then hes gunna delete windows xp completely, nd so in other words i cant use my computer, which has all the software on it. i have to use my laptop, which has no RAM so i cant install any software. im getting off subject sry. so n/e wayz if anyone wants to put a couple of frames together for me for an icon that would be fantastic, and i would worship u forever
thnx,
>>X<
Source: http://www.livejournal.com/community/computergeeks/638787.html
-
I need a Moderator
Date: 03/18/05
Keywords: no keywords
Alright, I have tired a few places without any luck.
I started a Martial Arts Community. I suck however, at Conmputers, I need someone to help me with this site, read the rules and join.. I warn though, It's going to be rough when it gets off the ground
http://www.livejournal.com/userinfo.bml?user=imafighting
Source: http://www.livejournal.com/community/computergeeks/638422.html