iccaros

Linux Experts
  • Content Count

    1292
  • Joined

  • Last visited

Everything posted by iccaros

  1. iccaros

    Dsl

    can't you from DSL open a terminal type sudo su (no password that I remember) then type cfdisk /dev/hd? (insert your harddrive, most likely a) then create a boot partition and a swap partition make sure to mark the boot partition as bootable use the write command to save then: mkfs.ext2 /dev/hda0 mkswap /dev/hda1 swapon /dev/hda1
  2. iccaros

    Dsl

    Marty remember, each Linux distribution has its reason Slackware is easy once you know it, see the wording, once you know it. but its not for everyone and not meant to be. ubuntu is meant to be for people who do not understand Linux they were created with two different users in mind.. one for tech people other for users. here is a whole list of live cd http://www.frozentech.com/content/livecd.php by the way to format a drive you can use cfdisk to create partitions then mkfs.ext2 /dev/hd? for the formatting.. or try http://qtparted.sourceforge.net/
  3. I think you must specify gl playback in your video player. mplayer seams to work with mine while VLC does not.. it is beta though
  4. sounds like it is working 100% to me, there is no such thing as 100% OCR and all OCR software produces errors. you should be able to fix the errors, or better yet some software will save as PDF
  5. I am confused, it was not until version 3.0 that they supported booting from a boot camp partition, also since there is no traditional BIOS on a Mac Book, boot camp replaces the traditional boot.ini and parallels just adds lines to it, so why could you not use a text editor, booting from a xp cd to edit the boot.ini? and why is it paralles falut that 2.0 did not do something it was not meant to do? also the errors you are reporting look a lot like the error people get on vmware when they try to boot windows that was installed on a real partition, and then try to boot in a VM. Windows self des
  6. one word Parallels, unless they are playing high end games on windows, Parallels will let them run Windows and OS X at the same time, and if they use boot camp and need more windows power, they can fully boot the windows partition they use in parallels http://www.parallels.com/en/products/deskt...CFRTpYAodjDnv-w plus you get a windows virus.. no problem just start a saved session.. easy
  7. thanks, stringbuild does infact shorten the string to the actual length when the ToString() method is used.. I did it this way string FixedLength(string value) { if (string.lenght > 31) { string = string.substring(0,31); string += "\zero"; } else ( string = value; string += value.PadRight(31) + "\zero"; } return string } EDIt: Replace the word zero with the number 0, the BB keeps removing my 0 ..
  8. ok I need to create a fixed length string that is 31 char and a null this is what I am trying StringBuilder sb = new StringBuilder(name,31); this.Name = sb.ToString(); Ideals or suiggestions.. how is this done in c++
  9. Ah. That's annoying. Indeed it does. If you know that code works, you can just use it in C# in an unsafe block (with one extra cast). If you'd rather use BitConverter (it does seem more .NETy), you want the last two bytes of the array returned by GetBytes(). Perhaps BitConverter.ToInt16(BitConverter.GetBytes(f), 2); are the last two bytes the most significant, I thought they were the lest, or does that return the first two bytes.
  10. for SAMBA you have to configure your SMB.conf file to create shares, this site gives basics http://www.samba.org/samba/docs/man/Samba-...l.html#id318178 tools needed a text editor root password. this may help For this example, we'll say you are using /home/shares. As root: mkdir -m 751 /home/shares mkdir -m 2770 /home/shares/accounting chgrp accounting /home/shares/accounting And now add your share to /etc/samba/smb.conf: ~[Accounting] comment = for the accouting group path = /home/shares/accouting browseable = yes guest ok = yes valid users = @accou
  11. Convert.ToSByte() returns a signed byte based on the value of the argument, so no. Do you really need 16-bit floats? Would, say, a 16-bit fixed-point (e.g., eight bit whole part, eight bit fraction, no exponent) type be adequate? And if you do need floats, do you really want want truncated IEEE singles? And is there any reason to roll your own compression instead of using one of the bazillion free audio codecs? I am not really trying to create my own, the Navy does this with Time series data (Sonar), and I was given the C code above as an example , but I do not under stand it, it looks like i
  12. I am processing audio, and sending it over TCP/IP and the people reciving teh package would like to do it this way to make packets smaller. in c (or C++ ) I found an example of short float32to16(float f) { short s_val; short *s=&s_val; *s = (* ((int *)&f) >> 16); return *s; } so would I create a byte array of a fixed size, convert the float to a byte array and then put them in the first array and then put it out as short? or would this do the same short truncate(float f) { short output = Convert.ToSByte(f); return output; }
  13. just save it, the second option, Archive Manager should have opened it, but if if fails you have to start over.
  14. which version of red hat? but in most cases the command lshal will get you all the informaiton you may need on your devices, you will have to look through it lshal -s (gives the short name only.. look for something like storage_serial_SATA_WDC_WD1600BEVS__WD_WXE207407016 mine is a western digital WD1600BEVS drive with serial number WD_WXE207407016 or you can use gparted and go to view check show device information. if gparted is not installed its in yum so the command yum install gparted wil install it, you need to be root to run these commands.
  15. its nice that it is there, but its not so useful unless they add options like makeing backups of HDDVD or something, the only other ting this is good for are people who coem from windows and lies nero, they can have the same tool until they learn K3B or something else.
  16. Wow Dell is expensive, while the base line model looks good I priced out at $1,858 for the following # 1505N Date 5/25/2007 10:29:03 AM Central Standard Time Catalog Number 29 Retail 19 Catalog Number / Description Product Code SKU Id Inspiron E1505: Intel® Core™ 2 Duo processor T7200 (4MB Cache/2.00GHz/667MHz FSB) KLM2HN [223-0455] 1 Operating System: Ubuntu Edition version 7.04 LINXUX [420-7153] 11 LCD Panel: 15.4 inch UltraSharp™ Wide Screen SXGA+ Display with TrueLife™ 15SXGAS [320-4652] 2 Memory: 2GB DDR2 SDRAM at 667MHZ, 2 DIMM 2G2D6 [311-
  17. Marketing Crap, Linux already has standards that the Major Distributions hold to, the LSB http://en.wikipedia.org/wiki/Linux_Standard_Base, fails because it says all Distribution will be able to use RPM's, but being able to use RPM's and being able to install complex applications with RPM's is totally different. take Gentoo, Slackware and Debian. None are Commercial releases and none can truly meet this standard with out destroying what makes these distributions great. While Alien will let you install RPM's on Debian and you can install RPM's on Gentoo and Slackware, they use different init
  18. who make it more standardized? or do you standard across distributions.. which will never happen, too many opinions. Windows its own standard(they even rebelled against ISO standards), Linux in most cases follows the RFC's and other international standards. The biggest Issue is hardware, in that case it with hardware that does not follow the standards. or there is no standard. I know people do not care when its the Hardware and not the OS, but we can vote with our money. I only buy hardware if they support Open Source or at least have a driver. This is hurting me in my recording studio as
  19. dmesg is teh command to show you deamon messaging (or your error log) you could post the output of the command lspci and then post the file under /etc/X11/xorg.config to run commands like lspci and dmesg open a terminal and type sudo dmesg >> /home/<yourusername>/Desktop/dmesgOutputFile.txt or sudo lspci >> /home/<yourusername>/Desktop/LSPCIOutputFile.txt both should ask for a password as you will be running them as root, I am not sure if root is needed on ubuntu to run those commands fully, it is on my boxes.
  20. iccaros

    Wine?

    read this on Viruses in WINE on Linux.. http://os.newsforge.com/article.pl?sid=05/01/25/1430222
  21. 6 gigs, while it should be ok, I would think with the new ubuntu, it may not be enough. anything running on windows would have no effect on your Linux install, but may affect your download. try ordering ubuntu cd's. they are free and you don't have to worry about bad downloads. then give us a post of demsg after you get it installed sudo demsg
  22. iccaros

    Wine?

    WINE or Windows os not Emulated is a runtime wrapper around an executable. a wrapper is another program that executes a program and intercepts its calls to the OS. As you can tell this is not perfect by any means as the wrapper must keep up with calls to Memory and other hardware, and supply native responses in the way the programs wants them to be seen. With Windows Programs this is compounded by the fact that Microsoft does such a great job of Documentation . Rosetta does the same things on Mac OS X for Intel to allow you to run PPC OS X programs. In the end WINE uses mostly the POSIX co
  23. I am wondering if anyone has a method that will allow my server application to capture the ipaddress of the connecting client. the application is in C# and will run on Windows and Linux with Mono. This is not a general Web application so there is no worry of spoofing, as it will be run in a lab, but will not be run in my lab when done. the application needs the ipaddress and will setup ports for async reconnect to pass back data. thanks
  24. hay SFU that seams to work(not Blue Screen my Box as the old versions did on 2003) , This is the first useful thing I have found they added. Thanks, I really needed the NFS and this also showed me how to turn on Telnet. I don't know what version of Vista you have but on Vista Ultra its Control Panel -> Programs -> Programs and Features Good find..
  25. its why is the windows version different? its to match IE, but on the Mac and BSD and Solaris is the same as the linux