Hi
I have a homework that I can not understand this part of that would you please help me ? thanks
List the average balance of customers by city and short zip code(5 digits of zip code)
ive created a single user dungeon which i would like to create into a multi user dungoen so at least two plays can play how would i do that what code do i need to add can anyone help?
i would show coding but if i do then everyone would see it and all my work will be copied as i know other students do use this site to so plz understand my situation and yes this is a homework/assignment work.
I'm implementing an FTP-like protocol in Linux kernel 2.4 (homework), and I was under the impression that if a file is open for writing any subsequent attempt to open it by another thread should fail, until I actually tried it and discovered it goes through.
How do I prevent this from happening?
PS: I'm using open() to open the file.
Yes this is a homework/lab assignment.
I am interesting in coming up with/finding an algorithm (I can comprehend :P) for using "backtracking" to solve the subset sum problem.
Anyone have some helpful resources? I've spent the last hour or so Googling with not much like finding something I think I could actually use. xD
Thanks SO!
I have a homework assignment with a number of questions. One is asking why the strcpy() function doesn't need the call by reference operator for CStrings. I've looked through the book numerous times and I can't, for the life of me, find the answer. Can anyone help explain this to me?
It is an array of sorts so I would think you would need the call by reference.
I have a client server situation in which I receive data using
read(socket, char_buf, BUF_SIZE)
and then try to write it into a log file using
write(filefd, char_buf, strlen(char_buf))
Strangely enough this fails (write returns -1), and yet the errno is set to 0, and I can print the message, AND the log file descriptor works (I write to it before and after this command).
What's going on??
(Working on Linux kernel 2.4 (homework))
I have a bunch of zip files I want to unzip in Linux into their own directory. For example:
a1.zip a2.zip b1.zip b2.zip
would be unzipped into:
a1 a2 b1 b2
respectively. Is there any easy way to do this?
http://lifehacker.com/#!237227/geek-to-live--encrypt-your-web-browsing-session-with-an-ssh-socks-proxy
http://ca.lifehacker.com/5763170/how-to-secure-and-encrypt-your-web-browsing-on-public-networks-with-hamachi-and-privoxy
If I set up my own VPN or similar server on my always on computer at home, they say I could access gmail from my work computer. My question is, will the IT guys at work be able to notice something strange is going on if I'm on gchat at work through one of these things? (by IT guys I mean the two guys in charge of our network at work - its a small company)
I am writing a website and want to test it's speed on slower internet connections.
I have the unfortunate first world problem of downloading at 100mbps, how can I throttle my own computer's internet connection to 56kbps or 5mbps to give myself an idea of how my users might be downloading my website?
EDIT: I am using Windows primarily but also have an ubuntu laptop if the answer is linux oriented.
im trying to find a way to get my own PID from a command prompt (for later use in bat scripts)
so far the only useful way i found was to use getpids.exe from here : http://www.scheibli.com/projects/getpids/index.html but im looking for a command that's "built in" to windows
I am looking for a small, rugged web-cam, which can be hand-held or perhaps mountable. It must have its own IP address so that anyone can view its video stream from a web browser.
I would prefer 2 way voice communication too. Encryption of data is nice, as is compression (H.264). Maybe also remote control, like causing it to zoom from the browser.
Does anyone have any suggestions, even suggestions of somewhere else to look?
My IT department has a bunch of older 160/320GB Drives. I'd like to use them in a build-your-own NAS device. What limitations exist in regards to the maximum number of drives that can be connected to typical commodity hardware that might be used in a situation like this?
EDIT
okay I like to specify my question is
what to search for to find a storage controller which can handle many drives. I simply cannot find the right search terms.
I have created own AMI and registered it on Amazon EC2.
But while AMI startup I receive following error:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
The image is running locally without any problems.
fstab contains:
proc /proc proc defaults 0 0
/dev/sda1 / ext3 relatime,errors=remount-ro 0 1
thx for help
My goal is to allow people to upload and download large files through their web browser with a simple user interface and user password/account management. Yousendit offers a service like what I am looking for, but it does not make sense to use their service if I already have a web server.
Is there an open source version of Yousendit that I can run on my own web server?
What is this type of software or service called? (calling it an FTP Server does not seem to fit)
I want to know how I can create my own customised home screen for Android.
I have used Viewpager to add and remove screens from the home screen, creating 5 screens as default, and then adding and removing further pages in with ViewPager.
I have tried both Viewpager and PagerAdapter, as per this link.
Is this the best approach so that in future I can add widgets and shortcuts with viewpager and make a launcher icon?
Platform: Windows xp
Vim: Gvim 72 on a stick
Is there a way to run vim from an usb stick, but with yourown font you have somewhere in its directory, but which is not installed on a machine (i.e. it is not present in c:\windows\fonts) you're running it on?
All creative ideas welcomed.
What is the maximum rated bandwidth for ZigBee?
I can't seem to find this information anywhere, not even on the ZigBee Alliance website at http://www.zigbee.org/ I did find some information elsewhere, but it dated back to 2004, so I'm guessing it's different now that it was 5 years ago. Thanks!
Yes, this is a school question, and yes I already know the correct possible answers (supposedly), so I'm not going to bother posting them. Instead, I just want to understand the meaning of this question. I know what class B addresses are, and what valid class B subnet addresses are. I guess one way to define my question is to ask why the answer "255.255.0.0" is wrong, necessarily? That seems to defy my understanding, or else some part of my brain is just not registering the question correctly.
Thanks in advance.
Hi all :
I am preparing for a Linux terminal assessment now, I tried to Google and found most resources are referring to the basic "grep" rather than the more powerful "egrep" -- well, that is at least what the professor said in lecture.
I am always working with small samples so performance tuning is a thing too far away.
So basically I'd like to know are there any areas where I must switch to egrep to do it in a better way? Is it safe to work with basic "grep" as for now? will there be potential risks?
Sorry about my limited knowledge on Linux shell commands, the man page looks like a maze to me and honestly I haven't put much time in understanding all the features both command provide.
Hello everyone,
I'm in the process of making a script to automate DFS creation and replication for an exam I have next week.
So, assuming I have a namespace:
dfsutil root adddom \\Foo\bar 'My namespace'
And I have a link:
dfsutil link add \\Foo\Bar\CoolStuff \\Server2\CoolStuff 'Neat stuff'
How can I use the command line to replicate \\Server2\CoolStuff over, say, \\Server3\CoolStuff? When I use dfscmd:
dfscmd /add \\Foo\Bar\CoolStuff \\Server3\CoolStuff
It says it ended correctly, but opening up the MMC shows that there are no replication groups for CoolStuff.
Thanks!
What will happen in the following scenario (assume the connection is already established):
(stack A) send 10 byte data
(stack B) send ACK for 10 byte data
(stack B) send 200 byte data
(stack B) send 100 byte data
(stack B) send 50 byte data
(stack A) send ACK for 350 byte data and also send 70 bytes data
This segment gets lost and does not reach machine B.
(stack B) retransmit 200 byte data (step 3)
(stack A) send ACK for 200 byte data and the next expected seq number as the one for 70 bytes data
Question:
Should 70 bytes data be also transferred with the ACK in step 8? Note that the retransmission timer for step 6 has not expired yet.
Hi all,
Can anyone explain or give me some example for the reason why we start subneting using the largest subnets first? What are consequences of opposite approach?
I try to open a word document in my web application. It opens fine on localhost, but now I am publishing my web application on a server.
Users that access the published web application (like http://10.0.23.57/StandardOperatingProcedure/Default.aspx) can not open the word document on their system.
winword.exe opens on the server but can not open the word document.
Access my system to author systems also same problem is coming. (Word document does not open on user's system. The word instance opens on my system.)
Hello all I'm new at the site, and I have a question. I got this question at a test and really like to know the correct approach to solving this problem?
Here is the question.
In an indexed filesystem the first indexblock (inode) has 12 direct pointers and
1 pointer to an indirect indexblock. The filesystem is implemented on a disk with a diskblock-size of 1024 bytes. All pointers are 32 bit. Question: what is the maximum filesize (Kilobytes) of this filesystem?
If it's possible not an just an answer but an explanation.
edit:
It was a multiple choice btw with 4 answers
a. 13 K
b. 268 K
c. 524 K
d. 1036 K
As for my approach I only got as far as to know that 1 pointer is 32 bit
Also I found something else here on the site which seems very usefull.
http://stackoverflow.com/questions/2755006/understanding-the-concept-of-inodes
Ok i got this far There are 12 blocks and each block is 1024 bytes.
1024 * 12 = 12288 bytes or 12 KB directly accessible. Please correct me if I'm wrong.
Each pointer is 32 Bit = 4Byte
And to be honest at this point I'm starting to get confused especially since my answer is way over any of my multiple choice answers.