Search results

  1. C

    How to create seperate desktops?

    I have a laptop with dual displays attached to it. I connect with VNC for work, and would like to fullscreen that on my dual monitors and keep the laptop display separate. On Linux you can create a "separate desktop" on the laptop display, and then another one for the dual monitors. I've been...
  2. C

    C - why can't I modify what is passed as an argument?

    void ReverseString(char* String) { String[1] = 'a'; } Program received signal SIGSEGV, Segmentation fault. 0x000000000040094c in ReverseString (String=0x400a74 "Hello") at main.cpp:33 33 String[1] = 'a'; is this real life? I swear anything beyond RISC assembly is so...
  3. C

    Something that is pipelined can still have 1 CPI?

    Can someone convince me why a CPU that is pipelined would still be considered as having 1 Clock Per Instruction. Why is it based on a filled pipeline and not the 7 cycles you would need to fill it?
  4. C

    need help with asm (using mac)

    So there is this binary I want to edit. I want to change the x86 asm mov (%rax),%eax to mov %rax,FFFh. gdb told me what the opcode was for the original, and I found its location using a hex editor. But how do I obtain the opcodes for the new operation I want to replace it? Can I use nasm...
  5. C

    How do you reduce windows 7 install size?

    I want to reduce my windows 7 disk footprint to be as small as possible, 12gb is too much. I've googled, but I have not found any useful results. I'm willing to have upto 3gb of space being used by windows, but thats still too much. (i should of just installed windows xp, could of gotten it down...
  6. C

    Transferring a domain name

    So my domain is about to expire and I decided to go with a cheaper company. I setup the transfer, but the new company said they need a written agreement of the current domain owner to begin the process. The thing is, all the "owner" info I have with the old company is false and made up (just...
  7. C

    Understanding/setting up a DNS or using hosts file

    I would to be able to access the computers in my network by its name, like editing the /etc/hosts file and adding the name and IP of the computers. Is the only way editing the host file of every computer, or can I can just use one computers host file and have others ask it for the IP address...
  8. C

    Computer won't post

    Built a new computer. Was working fine yesterday. I turn it on today, and the keyboard doesn't light up and the monitor does not detect a signal. Everything runs power wise, though. So now I have the mobo laying on its cardboard box, with just the ram and CPU (onboard video). Still nothing...
  9. C

    critique on my build

    I posted this in the "build your own intel/amd" thread on slickdeals, but got no response. So I'm hoping you guys can [H]elp me out! I'll just copy the post here if you don't mind. thanks. 1. Do you have a Fry’s or Microcenter nearby? no 2. What is this PC going to be built for...
  10. C

    DIR-655 Access computers by hostnames

    how? setting up bind9 on my server to do this is such a pain, and I couldn't get djbdns to work.
  11. C

    anyone with experience using ID3 libraries for c++?

    I just want to read ID3 tags from mp3s, but it is becoming a real pain. I'm trying to use taglib, and I have #include </usr/local/include/taglib/tag.h> #include </usr/local/include/taglib/fileref.h> and then comping I get g++ -c -pipe -g -gdwarf-2 -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB...
  12. C

    Some help with my simple C++ code

    the first part is I can't get an or condition to work. Suppose I have bool done = false; int value; while(!done) { cin >> value; if(value==1 || value==2) done=true; } and I enter 1, 2, or anything at all, the loop never ends. Yet if i do if(value>0 || value <3) the...
  13. C

    Yet Another looking for a free online book to learn C++

    I was reading "Thinking in C++" and I figured even though he says you should have basic knowledge of C, I figured I can still manage. But in his examples he just starts slipping in parts without really explaining how they work, so I assume they're from C. And it's kind of hard learning when...
  14. C

    [HW] Bit a help with java and making many objects

    I have to create a lot of objects in my test class, and I can't seem to find a way to do it. So far it would have to be done as so Object a; private void creatorA() { switch (generator.nextInt(2) ) { case 0: a = new TypeA()...
  15. C

    help setting up pfsense and squidguard

    I want to get squidguard up and running, but I think squid is the problem. I have squid setup as such access.log is empty, and cache.log is never created.
  16. C

    [hw] how to fix this "java.lang.NullPointerException"

    public class Guess { double gOld[], gNew; String result = ""; int i; double a = Math.random(); Guess(double guess) { gOld[i]=guess; while(Math.abs(gNew - gOld[i])>0.000000005) { result = result +...
  17. C

    [java] how does Math.acos() work?

    I put Math.acos(0.5) and I get 1.0471975511965979 It is suppose to be 60 :confused:
  18. C

    [java hw help] printing objects that are not stored

    the test class has a.add("toothbrush", 3.99); a.add ("paste", 7.79); And in the end, I need to print everything that has been added, toothbrush............$3.99 paste....................$7.79 I created the class with such void add(String name, double cost) {...
  19. C

    Moving to another server

    I'm running debian etch. Is there an easy way of transferring the system from one server to another? Or would I manually have to transfer the users, mysql db, config files, etc...
  20. C

    How to fix my hard drive?

    My hard drive randomly shuts off and spins back up. This is extremely noticeable while gaming. I get no clicks of death, and a S.M.A.R.T. test showed there are no damaged sectors. I can't find what seems to cause this, and if there is a way of fixing it. :confused:
  21. C

    trying to understand freebsd

    how do i stop xorg without a reboot? handbook states how to start it, but not to stop it
  22. C

    Adding a new hard drive

    My current hard drive is running out of space, and I will buy a new drive. Problem is I want to expand the space of where the first hard drive is mounted, and not create a new point for the second drive. I cant to lose my data, so I can't setup a RAID0. What can I do?
  23. C

    Repair windows xp partition

    1. need to use recovery console 2. windows xp cd repair does not detect hard drive 3. Probably needs drivers. (the thing has sp2 yet still needs drivers for sata!) 4. Drivers are in floppy, yet no floppy drive. 5. Do not want to reburn xp with the drivers installed. 6. need a...
  24. C

    need help setting up WPA2 enterprise

    I'm doing dd-wrt + freeradius on a debian server. testing authentication works fine # radtest test test 127.0.0.1:1645 1645 secret Sending Access-Request of id 82 to 127.0.0.1 port 1645 User-Name = "test" User-Password = "test" NAS-IP-Address = 255.255.255.255 NAS-Port = 1645...
  25. C

    Looking for the

    freeBSD version of howtoforge. Server tutorial setups so easy a toddler could set one up. anybody know any??? :)
  26. C

    System screenshot restore on reboot

    I am looking for a free windows xp application that will allow me to take manual screenshots of the system at that point. And on reboot, it will restore to the latest, or designated, screenshot. thanks
  27. C

    How to setup CD-roms ??????

    what command can I do view where my cdroms are at, and what my fstab line should look like? or am I doing it right??? ~$ sudo lshw -C disk *-cdrom:0 description: DVD reader product: DVD-ROM SD-616E vendor: SAMSUNG physical id: 1 bus info...
  28. C

    need help with postfix

    trying to send email, out, i get postfix/smtpd[16675]: warning: SASL authentication failure: Password verification failed mail from: [email protected] 250 2.1.0 Ok rcpt to:[email protected] 554 5.7.1 <localhost[127.0.0.1]>: Client host rejected: Access denied here are my...
  29. C

    Issue with NFS and chmod

    my nfs server is a debian box. my macbook is the client. i want the folders im exporting to be read/write only. So i chmod the folder 766. But finder tells me it does not have permission to access the folder. I set it to 777, (not changing the owner/group), and it works! If I set the folder...
  30. C

    Any tricks for http->https and vise versa?

    I have RewriteEngine on Options +FollowSymLinks Order allow,deny Allow from all RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] under my main directory /var/www. The problem is when streaming media, im...
  31. C

    Faster Quadcore vs Slower Dual Socket quad core

    So in order to conserve electricity, I will virtualize my computer for my desktop and server. Now for this, would it better to buy the Q6700 (3.2ghz) and have 2 cores for me, two cores for the server. Or get the Clovertown, one 2ghz quad CPU for desktop, and one CPU for server? Don't know if...
  32. C

    Getting current modeline in use? Launching programs at specific screens?

    I've tried tons of modelines, but none of them seem to work. Xorg still shows it auto-testing every modeline till it finds one that works. So, to keep it from autotesting each boot up, I just want to put the modeline it auto-selects. But I do not know what it is.... Is there a program I can run...
  33. C

    How to enable SSL for a directory?

    I am running debian etch and apache2. I believe I have apache2 setup for SSL being 'webmin' is using it. But I do not know how to set up SSL for specific directories. ex: I want to enable SSL for phpmyadmin. thanks/ edit: nm. When following the guide, I had forgotten to remove the directory...
  34. C

    Best distro for print server?

    I need to be able to press the pwr button, have the OS start in like 20 seconds, print, then press button and shut it off. headless server of course. Could I tweak debian as such? Disable everything except samba and CUPS... :confused: thanks.
  35. C

    Film Tagger

    Does anybody know of a good free film tagger? (that uses amazon or something to get the info)
  36. C

    pfsense + freeradius+ openvpn + dd-wrt + anything else

    I am setting up wireless at my home using my WRT54g router with dd-wrt and my pfsense NAT. I have been googling and all I have found is that "hotspot" setup using freeradius chillispot and dd-wrt, but that seems to use vlan's or something, and I do not know if it works with file-sharing...
  37. C

    Looking for some sort of KVM?

    I have a couple rooms I want to setup with computer/internet access. Instead of buying a computer for each room, I was hoping to have a server with virtualization for each room. Having each room run on the server via Ethernet. Server / | \ / | \...
  38. C

    Looking for some sort of KVM?

    double post
  39. C

    having scheduled task with 'system' user

    I have synctoy in "scheduled tasks" to run. My windows account does not have a password, and I do not wish to put one on. If AppleSoftwareUpdate is on there using system, how can I too have system as the user to run synctoy?
  40. C

    Preserving Net Neutrality

    There's a few days left for those who have no yet done so. http://savetheinternet.com/=act
Back
Top