Jump to content

Computer Science

  1. Started by Genecks,

    I just played with google's spreadsheet thing at google labs. Does anyone know where the files are saved? I'm sure there is a link location or something. There must be a way to start linking these files without inviting people. Just curious if anyone's played with it and tried to hack it.

    • 0

      Reputation Points

    • 0 replies
    • 770 views
  2. Started by herme3,

    How do I download Firefox? I've tried going to http://www.getfirefox.com but I keep getting an error message. I've been trying for a few days, but I still can't access the site.

    • 0

      Reputation Points

    • 14 replies
    • 2.3k views
  3. Are there any freeware programs that can completely block my computer from accessing the internet in any way or form at certain times specified by me? Also, I have a DI-604 Dlink router, is there any way I can configure it to block any internet access at certain times? If there are no good freeware programs that can do it, are there any commercial products that can accomplish the task? Thanks for your help.

    • 0

      Reputation Points

    • 7 replies
    • 1.7k views
  4. Started by albertlee,

    import java.io.*; class Food {Food(){System.out.print("1");}} class Fruit extends Food implements Serializable{ Fruit(){System.out.print("2");} } public class Banana2 extends Fruit { int size = 42; public static void main(String[] af){ Banana2 b = new Banana2(); try{ ObjectOutputStream oob = new ObjectOutputStream(new FileOutputStream("bla.txt")); oob.writeObject(b); oob.close(); ObjectInputStream oib = new ObjectInputStream(new FileInputStream("bla.txt")); Banana2 b1 = (Banana2) oib.readObject(); oib.close(); System.out.println(" restored "+b.size+" ");} catch(Exception e){System.out.println(e);} } } 1, why does the above code give me "121 restored 4…

    • 0

      Reputation Points

    • 10 replies
    • 2k views
  5. Started by Primarygun,

    I'm creating a project with visual basic. There are nine labels on the form. I want to create a system in which the labels hold different integers from 1 to 9. I have a problem in creating the command for not including zero* the labels are of different value or words from each other*

    • 0

      Reputation Points

    • 19 replies
    • 2.5k views
  6. Started by albertlee,

    public class Test{ public static void go(Long n){System.out.println("Long ");} public static void go([b]Short n[/b]){System.out.println("Short ");} public static void go(int n){System.out.println("int ");} public static void main(String[] ardg){ [b]short y =6;[/b] long z =7; go(y); go(z); } } I think, any of you good programmer (which means of Java or C++), knows this. Why doesn't Java box short y into Short n variable? but instead, decide to pass its value to the int? please help here thanks

    • 0

      Reputation Points

    • 5 replies
    • 1.6k views
  7. Started by bascule,

    Ruby on Rails is awesome, even if revprez likes it, but it's okay, because I've been coding it professionally since before he knew it existed! What is it? Well it's only the latest, great way to develop web applications. Rails is the name of a framework (a set of libraries) which was developed for the Ruby language, which is kind of like Python but Japanese. In many ways the syntax looks a lot like Perl. Anyway, in 5 - 10 minutes you can develop your first Ruby on Rails application. Just follow this tutorial and it will help you get started: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

    • 0

      Reputation Points

    • 3 replies
    • 1.4k views
  8. Started by -Demosthenes-,

    I've been on SFN a little, but I'm learning how to budget time, in highschool I had hours of free time every day, now with a job and homework I don't always have time to do things for fun I'll be slowly getting back onto SFN, just need to cut down on the re-runs of Seinfield Anyway, I got interested in linux when I installed it on my laptop a couple months ago (with SFN's help ), and I've messed around with basic on my calculater (only basic math equations). I'm interested in computers, but I know very little about them I was wondering if there was a good book to start on, that's very general, so I can see what branch of computer science I might be interested in…

    • 0

      Reputation Points

    • 22 replies
    • 3.1k views
  9. Just a simple question about assertion... I heard a statement that assertion is most appropriately used to precondition that checks for a non-public method... such as [b]protected/private/[i]default[/i][/b] void addDevil(String devilName) {assert isValidDevilName(devilName);} but isn't appropriate for public method. Why????????? please help thanks

    • 0

      Reputation Points

    • 2 replies
    • 1.3k views
  10. 1, I really dont see any difference between Comparable interface and Comparator interface, beside their full class names are different and one has compare() method and the other has compareTo() method to be implemented. SO, how does, for example, TreeSet, will ever involve the Comparator interface? (I know what Comparable does for TreeSet, or any sorted collection). 2, What's the difference between: List l = new ArrayList<String>(); and List l = new ArrayList(); I see no difference in their functions. 3, Collection<?> c = new ArrayList<String>(); [b]c.add(new Object());[/b] why does the bold line causes a compi…

    • 0

      Reputation Points

    • 1 reply
    • 1.5k views
  11. Started by albertlee,

    import java.util.TreeSet; import java.util.ArrayList; import java.util.Iterator; public class Sort { TextWindow tw = new TextWindow("Sort"); String array[] = { "cow", "dog", "horse", "moose", "lynx", "rabbit", "bear", "cat", "bird", "wolf", "elk", "reindeer" }; ArrayList<String> list; public static void main(String arg[]) { Sort sort = new Sort(); sort.arrayToList(); sort.searchList("moose"); sort.listToArray(); sort.searchArray("moose"); } public void arrayToList() { [b]TreeSet<String> set = new TreeSet<String>(); for(String animal: array) set.add(animal);[/b] list = new ArrayList<String>(); Iterator<String> iterator = set.iterator(); while…

    • 0

      Reputation Points

    • 1 reply
    • 1.3k views
  12. Started by TimbaLanD,

    Hi guys. I was just checking my laptop with a free spyware scanner and found there is a lot of spyware in my laptop!! The free software won’t remove it for free . Anyone know how I can get this removed without having to pay too much money?

    • 0

      Reputation Points

    • 12 replies
    • 1.9k views
  13. Started by neutrino86,

    HI..I need some reference sites towards some of the basic coding algorithms, viz. the Huffman and arithmetic coding techniques. Thanks in advance

    • 0

      Reputation Points

    • 1 reply
    • 1k views
  14. Started by Primarygun,

    Is there a software which allows full virus scan and removal before entering the XP? MY computer was attacked by a virus and cannot boot to the Window bar screen.

    • 0

      Reputation Points

    • 5 replies
    • 1.4k views
  15. This story was linked on Digg yesterday: 'Mind over matter' no longer science fiction It's yet another passive device allowing you to "type" with your brain. That alone is somewhat unremarkable, until you consider how many similar stories we've seen in 2006 alone. Here's a smattering of links to similar stories dealing with active/passive wetware applications to peruse through, if you so desire. All of these are from 2006: Big Brain Thinking: Stanford neuroscientist Bill Newsome wants to implant an electrode in his brain to better understand human consciousness Stealth sharks to patrol the high seas Jesse Sullivan powers robotic arms with his mind …

    • 0

      Reputation Points

    • 41 replies
    • 5.8k views
  16. Started by herme3,

    Windows Vista seems to keep an error log at C:\Windows\INF\setupapi.app.log. Whenever I run a virus scan using the CA eTrust AntiVirus that was created for Windows Vista, it creates a large amount of data in the error log. It starts out like this: It keeps going and lists almost every file in my computer. Is this normal? What do the errors mean? The AntiVirus program once corrupted my hard drive, and I had to run Windows Scandisk to fix it. Do these errors explain why that happened?

    • 0

      Reputation Points

    • 2 replies
    • 2.3k views
  17. Started by eruheru,

    hello all, i just built a new computer (finally) and im having trouble finding what my temperatures should be. it runs from 30-37 during light application use, and about 45 during gaming. is this ok or should i try to lower it? thanks

    • 0

      Reputation Points

    • 4 replies
    • 1.3k views
  18. Started by Primarygun,

    What's the difference between Visual basic and visual studio? how can I export an exe from a form in visual studio?

    • 0

      Reputation Points

    • 12 replies
    • 2.4k views
  19. Started by ecoli,

    Obviously, the more information a USB key can hold, the more expensive it is. But, I was wondering if it really costs that much more to manufacture larger keys. Physically, they seem to be the same size to me.

    • 0

      Reputation Points

    • 11 replies
    • 2.6k views
  20. Started by herme3,

    The company I work for has all of their customer accounts in a SQL database on a server. They need me to create a program that can display certain information from the database, and then organize it so the employees can find customers who haven't paid their bills and other things like that. I'm not really sure what the best way is to create the program. Can I use PHP or does SQL require a separate programming language?

    • 0

      Reputation Points

    • 29 replies
    • 4.1k views
  21. Started by Cloud,

    Is windows defender(beta 2) any good? I'm on normal XP home edtion. I have norton 06 installed. Will it clash with this software or support it?

    • 0

      Reputation Points

    • 9 replies
    • 2.2k views
  22. Started by kenshin,

    How basic arithmatic operations are performed by a computer at hardware level.Putting it in another way,what kind of assembly,in what manner takes a binary strings as input (say 10(for 2) and 11(for 3)) and produces an output (like say in case of addition 101(5)).By "what kind of assembly",I mean the combinations of gates and other electronic components. Thanks in advance.

    • 0

      Reputation Points

    • 4 replies
    • 1.6k views
  23. Started by Gaz,

    A Singapore researcher has found a way to make malware 100% undetectable under vista 64 bit using AMD's SVM/Pacifica virtualization technology. It basically creates an ultra-thin hypervisor that takes over control of the base operating system and there is no performance penalty - gfx and other devices are fully usable by the os which is now executing inside virtual machine. This all happens on-the-fly without rebooting. A lot of the article sounds like marketing (matrix references et al) but the virtualisation technology is here..xen etc. oh and it doesn't just affect windows: "I see no reasons why it should not be possible to port it to other operating systems, lik…

    • 0

      Reputation Points

    • 2 replies
    • 1.3k views
  24. Started by H2SO4,

    I have from one and a half laptop batteries eleven 3.8 volt Li-Ion Cells. the battery had a 8 pin power conencter and without a shcematic i had only one choice, rip the protection circuitry out. Now i know that was stupid, on account their Li-Ions. So now i have 11 great cells which i need to charge. But how, and how safely.

    • 0

      Reputation Points

    • 17 replies
    • 2.6k views
  25. Started by 1veedo,

    I just checked out an OS called Minix3 and I'm actually quite impressed. It sounds like what they're working on is a pretty good idea. I'll be it, user space possesses normally run a little slower (l4Linux for example runs slower than the the Linux macrokernel), and codding a microkernel is a lot harder to do, but I think a fully functional microkernel might prove to be superior to a macrokernel. My bets are on GNU/Hurd, but people have been "betting on it" for more than 15 years now and I doubt there will be any great releases running the GNU/Linux API any time soon. Tanenbaum (main developer for Minix) is the guy that had a flamewar with Linus in 1992. I don't…

    • 0

      Reputation Points

    • 5 replies
    • 7.2k views

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.