I am trying to use C++ (eclipse in Ubuntu OS) to read USB connection. Usually, on the terminal window, I can use command "lsusb" to see the list. Now, I want to do the same way with C++.
can anyone help?
Thank you very much.
Greetings,
Other fields are curved around particles and objects. The Higgs field permeates all of space. What is the shape of the Higgs field lines? Is it parallel lines? Or a grid of perpendicular lines? Is it curved? What is the orientation? What determined the orientation?
Thanks
Reading
http://www.aei.mpg.de/~rezzolla/lnotes/mondragone/collapse.pdf
The reasonning looks like it should generalize from pressureless dust to a matter-radiation mix, and presumably also works with a (small) cosmological constant thrown in, as in a Schwarzschild-de Sitter solution - is that a...
I am curious as to which OS and its siblings (e.g Linux={Fedora, Mint,...}) consume the least memory and HD space but sure are still perfectly functional after installed.
Thanks a lot.
So I am going to be making some keys; and I want to make them more random... So I made this:
#I know that the code is pretty crude, but it works.
#P.S. it is an infinite loop, run at your own risk
import random
from random import randint
import string
import time
x=1
n=randint(5,90)...
I've got this vague idea for a kernel-free OS that consists of an interrupt handler, a memory manager, a hardware prober and some other utilities. The hardware prober would be used to modify application source code upon install in order to configure the applications to access that specific...
Hello community,
I am doing research on building a computer for my son who is devoted to physics and math and wants to put together a desktop system that will last into grad school. Do we need to make allowances for using more than one operating system to allow for software compatibility...
A friend i know is taking a course on IOS/OS X programming with objective-c, and i thought i might want to learn it too. I already know the very basics of programming, a bit of python and javascript, so i know what things like lists, strings, integers,booleans, floats, loops, functions and...
Hi all,
Do the changes/updates that Microsoft does periodically lower the odds of a virus successfully
hurting the system? My knowledge of programming and of computers is limited, but it would seem viruses would have to be designed around the way the OS is setup. Then it would seem that a virus...
Hi all,
I am currently a electrical engineering PhD student, and I spend a huge amount of my time on a computer and I plan to do so in the future as well. So, I thought it is wise to look around for another OS to use besides Windows 8, which is tolerable and works but I can't help but think...
I would like to buy a USB HDD, e.g http://www.bestbuy.com/site/Transcend---StoreJet-Rugged-Series-25H3P-1TB-External-USB-3.0/2.0-Portable-Hard-Drive---Purple/Black/3930191.p?id=1218443230635&skuId=3930191
but my experience with USB HDD is limited after one USB HDD (LogicGate) of mine failed to...
The DDR3 1333 is relatively cheap, so I'm thinking about buying a server mobo that can stock up to 64 GB of RAM (2^64 enables that many address lines, I suppose?) Then I can pre-load the entire windows into the RAM, so :
Advantages:
super-groovy and sweet just to think about
lightning fast...
I'm putting together a new high-performance gaming rig and wanted to ask someone here if they could recommend a fast SATA III low-capacity solid state drive to install Windows 8 on.
Boot times should be dramatically faster compared to an HDD.
I am Currently using Dell Inspiron(i5 & 4GB RAM) with dual Windows 7 and Windows 8. This time I got comfortable with Windows 8 so I want to install Mac OS X on it. How can do that.
I want to start with assembly language programming after some years with C, cause I think it's a good way to learn how a computer actually works.
But how I can compile assembly code under Mac OS X?
I went to a library, and I had found out that many books are outdated, and no book covers...
I am afraid this is going to be a very stupid question but nonetheless i am asking: -
I have been programming for 6 months now and i always program on a text editor. I learned that an OS is also a program which is first loaded onto the computer. Also the text editors are also computer...
Is there an open source math software for Mac OS X which is equivalent to Mathematica?
I intend to use it for vector geometry problems (drawing planes, lines in 3-D space).
Hello, I mistook downloding xcode 4.5.1 that is incompatible with my lion 10.7.3, which version of xcode should work with my mac os anyway ? should xcode 4.32 be the right choice ? Thank you.
I've been having difficulty in successfully compiling the MCNP executable with the MPI/MPICH libraries on Scientific Linux 6.x (whatever the latest version is). I'm currently using MCNP5, and the latest distribution DVD. The compiler is GCC, and the MPI is MPICH 1.4.x (the version immediately...
Hi All
I have some old programs that can only run on XP. It is impossible to buy a new XP laptop anymore. I am thinking about buying a new Windows 7 laptop and load the XP into it so it can run the old programs. What do I have to look out when buying a laptop and also When is the XP OS I should...
The points P, Q and R have position vectors 2i + 5j -3k, i + 4j - 2k and 3i + 3j - 2k, respectively. Given that the angle between PQ and PR is theta, find the value of cos of theta:
So, the first thing I did was to find PQ and PR. I got:
PQ = -i -j + k
PR = i + 2j + k
Then what I did...
I want to basically have a dedicated machine for running scientific computation programs and be able to access it remotely anywhere using a laptop/netbook. That means I don’t care much about GUIs. I’m used to using Unix and am perfectly fine with doing everything through a command window. At the...
Hello,
I need to install a code on my computer that runs on ROOT and the guy that sent it to me told me that I may have to change some pathnames that are specific to his computer in order for it to work. Now, I do not know how to do that and whenever I cd to the location where I put the...
I have a 2006 macbook which I put rEFIT on to. So I could install OS's like ubuntu and windows, but when I was installing windows on the separate partition. For some dumb reason I told it NTFS instead of fat and now my computer boots straight into Windows. Skipping over the rEFIT, now I need...
When I open a C source file in vim in Mac OS X, syntax is no longer colour-coded. I think that this happened after I tinkered around with ~/.bash_profile. I did the latter because I was trying to get ls to use colours, and I found an article online that told me what lines to add to .bash_profile...
Hello,
EureKalc 3 is an environment for numeric and symbolic calculation, dedicated to solving problems in the field of physics and engineering... It's a free and opensource MathCad like application running on Mac OSX. I developed it primarily for solving physics problems at the level of...
Wondering why games written for consoles and ported to PC's often seem to be system senstive where the entire game is affected by system peformance instead of just the graphics, which should be an independent thread / task in a game. In older multi-threaded games written for PC's, the graphics...
i have Mac OS 10.4.11 2.16 GHz Intel Core 2 Duo and 1.5 GB 667 MHz DDR2 SDRAM Mac is there
know i want upgrade 10.4 .11 to 10.5 or 10.6 something any could help me in this
how upgrade
Thanks.
jagadish A.V
hello nice people,
it was read by me that both ms windows and apple os has been made using basicaly c++. some days in past on a some antivirus article it came to my attention apple os is safe from virus than windows. if both use same kind of bricks they why bricks are easy to break in...
Hi, I was trying to solve inequalities on my regular TI-89 today and discovered I couldn't!
I did solve((x+6)(x-2)>8,x) and pressed enter. Instead of the answer it just spit me back the question. I tried on 2 different TI-89 Titaniums and it worked fine. I called TI tech support and they...
http://www.nytimes.com/2010/05/09/business/09ping.html
If someone could give me the technical details as to how this kid got the chromium source code compiled and created this project?
Its things like these that make me sometimes regret starting college too early.
Dear all,
can you point me to a book reference where the hybridization states of the 8 orbitals (*) of Xe and Os in these 2 compounds \mbox{XeF_{8}} and \mbox{OsF_{8}} are justified in agreement with the quantum theory?
Do these 16 bonds involve the "f" orbitals or not ?
Thank you...
How to show the ground state is orthagnol with the first in a quantum harmonic os...
Homework Statement
This is a revision question for an upcoming quantum mechanics exam, that i am stuck on. Any help or idea at how to approach the question would be greatly appreciated, i get the feeling...
Im an Electric Engineers student and I am trying to decide to use Windows XP or Ubuntu.. Most of the programs i need will run in both if not wine will do...
What do you guys think?
System has a quadcore CPU, 2TB HD and 16gb of ram.. (I know kinda overkill but i got it for free)
I know its not impossible, since us humans are cable of self healing to diseases and viruses why not operating systems? I know if there's a good AI program embedded in windows maybe can be used to search for abnormalities in its everyday operation and when found it will develop or create a file...
In a windows (98,XP,VISTA) OS, is there a simple procedure to create a macro to rename files by adding a string of character(s) at the beginning (or end) of each existing filename within a folder?
I often run into repetitive tasks on my computer(s), for example; renaming files within
a folder...
I did a quick experiment. First I compiled a simple hello world program in C++ , using a gcc compiler. The source code is 100 bytes, but the executable file it 9.6 kb.
Then I dumbed the executable into hex using xxd, to check up on the 0s and 1s. It turns out there is a huge gap, almost a...
Well, I couldn't find an "Introduce Yourself" thread anywhere and I've made two posts on here out of the blue now so I figure some sort of introduction is in order. Hello, nice forum you have going on here.
So which OS (Operating system) do you use? I'm currently using Windows XP and plan on...
I don't know how this one got under my radar. A Boston College student's computers, drives, storage devices, etc were seized so that investigators could examine them for evidence linking him to an email. The "probable cause"? The student was proficient in the use of an OS without resorting to...
Hello,
please help with this question
What of the following is difficult to manage if there are user-space threads and what
will be easier when there are kernel-level threads?
1)code segment
2)data segment
3)stack
4)registers
I don't understand the logic of that question, I think...
I was thinking if I have to buy new cd for getting 10.5 version or I can update to 10.5 from 10.4.11?
Eventually, I am installing iPhone dev SDK and was thinking if I need 10.5 for that ...
Thanks.
LaTeX and Mac OS X's "Grapher" (advice)
Hello everyone.
I recently stumbled upon something that I consider incredibly useful (and poor practice, I realize). I figured I'd post it here in the hopes of helping someone to discover this themselves.
Using Grapher to create LaTeX expressions for PF...
Homework Statement
To determine the pseudoinverse of this matrix.
1 1
2 2
Homework Equations
I find it difficult writing out the equation properly so i have attached it as a doc file.
The Attempt at a Solution
I have taken the limit as \delta tends to zero, but getting the...