I'm attempting to learn 'processing', the language used on the Arduino but I am having a bad time finding resource because of the poorly chosen name. What I am trying to do is open a pipe to another process/program to use as input to the processing plot program I am writing. I found processing.org but that site is not very helpful. There is plenty of examples of reading from an Arduino from the serial port but I want to read from a program running on my laptop. Both the plot and data accumulator program in the same PC.
I am trying to extract a web page via Google for processing. I am able to create a proper query and test it using cut/paste into the address bar of my firefox browser.
When I attempt to extract the page with wget: wget -O - -q "$query" I do not see the information that is present when I used the browser.
I am looking for some suggestions if possible, regarding processing the files using perl script. Scenario is I have a location where new files will be added always. I need to process these files for some validation. I wrote a perl script to do this and I thought I can rename the files once they are processed in that way I dont process the same files again. But now I can't rename the files due to some restrictions. Second thought, to process them based on date stamp but as my perlscript is being automated and runs every one hour to process the files I can't go by date stamp.
New to Fedora (from Windows), I am up and running ok with packages from the repository but only half ok with Processing, the Java graphics programming front end from processing.org.Their download gave me a .tgz file which Package Manager extracted for me into a location of my choice and where there is now a "processing" shell script.This works ok and I have managed to create a launcher on the desktop. That starts ok but always with processing's default action of giving you a new and automatically named work file.In Windows an existing Processing file (.pde file) could be "opened-with" Processing. Trying to do similar in Fedora I find that I am expected to nominate an Application to open with but Processing has not installed as an application.I guess the question is how do I promote Processing to be an Application?Or is there a different approach?
I use the below loop to process each file (listed in a text file) with a software. During processing the software asks me to enter a value and continues processing of that file after I enter the value. I have those values stored in a text file "myfile". What I want is to get the values directly from myfile when the software asks "please enter the title:". I dont want to enter them all manually. But i could not figure out how to code this in Bash script.
Code: for ((i=1,i<=$NR,i++)); do --command of the software comes here-- done
I'm working on a simple data processing script.My script uses a loop with getline to check for the value on the next line to decide if it's time to terminate the loop.This works dandy, but the problem is that getline eats that line, which then isn't processed by the rules in the remainder of the script (even though I want it to be). To illustrate what I mean, consider this simple gawk script:
I am attempting to "export" the progress bar from wget display using sed. Basically, we have an app that starts wget to download a large file and we want to show a progress bar. Our application has a dbus interface to receive the download progress.
So we were think of a command like: wget [] | sed [] | dbus-send[] The problem at the moment is, how do you get the matched string out of sed and into dbus-send? I can get the progress string by: sed -u 's/[0-9]*%/&/'
This populated '&' with the correct percentage, but I cannot seem to get this out of sed.
Does anyone know a method of being able to process the complete and literal command line passed to a shell script ? I want to have the command line parameters with ALL characters (including meta characters e.g. $ literally).
So as if there was no shell to substitute or expand parameters nor applying it quoting rules.
I would like to read unix file permissions into a bash array for processing but tbh I have no idea how to do this. Then I will check for each individual access right l, d, x etc.
I have a Python script that copies a couple of DLL's and EXE to a directory before running the EXE. It can be a fresh copy or the files can already be in the target directory and are then overwritten. The script uses shutil.copy() to copy the files and that works but as the files are copying processing continues and the script tries to run the files mid copy, causing an error.
I need a way to wait for the files to finish copying before the script continues. Putting the thread to sleep isn't good enough, calling os.system("copy ...") also doesn't work, using os.path.exist() won't work because the file will exist during the copy.
I've noticed that some users post here and that the forums put the little fedora icon on their post so it recognizes what distro they are running. I have a default install of Fedora 15 and all I get is a penguin for generic linux. I know in the grand scheme of things this is not important at all, however it's the little things that add up sometimes so I'd like to know how did you do it.
I just installed 11.4 x86_64. Using FF beta 4, I can get to the Main Page - openSUSE and log in there, but when going to the forums, it doesn't recongnize my login and I cannot log in through the link.
I wonder why FF4 Beta is the default install for 11.4.
These forums won't let me post using an iPad. I can visit this page, no problem, but when I try to add or edit a post, it just doesn't work. The edit page appears, but when I tap in the main textarea field, nothing happens. I expect the virtual keyboard to slide into view and a cursor to appear. This does not happen. In fact, if the keyboard is visible prior to tapping in the text area, then the keyboard slides out of view when the textarea is tapped. It's kind of awkward, having to wait until I get near a desktop machine before I post anything.
MacBook Pro 5.2 running OSX 10.5 Snow Leopard Disk /dev/sda - 500 GB / 465 GiB - ATA FUJITSU MJA2500B. I formatted my existing partitions with boot camp in OSX to delegate 32 Gig to a space where I intended to install Ubuntu 10.1 along side OSX. I installed Ubuntu 10.1 and now my dual boot option has vanished and the following is what I'm getting from test disk:
[code]...
I can recover my old partition configuration and not loose any data, as the lines are blurring on the related forums for this exact situation and my desire is to not make things worse with "trial and error".
I need to know what commands we have people run in the terminal in order to help them troubleshoot their issue. The reason being, is I was reading a thread where someone was stating about how they had to do all this and all that from a terminal and what not and that there should be a GUI Tool.
Well I'm going to make a GUI tool that allows them to obtain all the necessary information (and fixes are possible too) to help with their issue that they're currently having. For example: I know we run lsmod for sound issues, but what other commands do you have them run to check sound, video, network, etc. It will be made in wxPython so that it can be easily sent to others. If it becomes quite useful, then maybe we could get it in the repos.
I setup my evolution to get this forums news. (eg. threads and posts). However, I can't get them because it give me this: I keep entering my forum password over and over again but I can't authenticate :S And you might also need to check these: [URL]
I am having problems making wireless work on my pc. I have searched the forums and tried several things (b43-fwcutter, among others) and I cannot get anything to work. My computer is an HP ze4900, broadcom wireless Quote:
I wander how these can be read. Seems a real headache because the quicktime reader in Ubuntu synaptic says that it is not valid and updates would be available in forums?
One thing that really bothers me about Slackware is the lack of unified, well maintained, and up-to-date documentation, but what keeps me coming back is the outstanding community. I see a lot of community contributions floating around on these forums, but they often get buried in all the questions and other posts people create. I know there's a search feature, but sometimes it's fun to browse an organized list of the community's work and see if I find anything fun or interesting.
Back when I used Arch Linux, one of my favorite stops at the forums was the Community Contributions section. The FreeBSD forums also have a section for user-contributed HOWTOse should have a section like this. Call it "Contributions" and place it by the "Installation" section at the top of this forum. It would provide a great place for users to check out what the other slackers have come up with without making a thread of their own to ask (which will probably result in many duplicate threads) or digging up an ancient thread.The only new threads allowed there could be a HOWTO, a new process or method a user discovered, or a user-made script/program/etc. Of course, other users should be able to comment with their replies for suggestions and/or improvements.
I'm running Ubuntu 10.10 on an old small form factor PC with an AMD Sempron 2400, 1GB RAM, and an nVidia 5200 graphics card 128MB. OK, so a low-spec machine (but that's the great thing about Linux right? Don't need high-end h/w) but it works just fine, except that it can't play full HD (1920x1080) MPEG-4 video. Very jerky and lots of dropped frames. Same in both Movie Player and VLC.
I can't afford to increase the RAM and as it's a SFF I can't just swap the mobo and CPU for something faster so I'm wondering whether getting a higher spec graphics card would make any difference?I'm using the nVidia proprietary binary driver (latest version) and searching the forums I found a post where someone said that the nVidia driver needs at least a 512MB card for HD video.A colleague has a higher spec nVidia card (7600 IIRC) that he'll sell me, but before I spend any money, is this likely to improve things? How much does the graphics card affect performance, or is it simply a case of the machine overall just isn't high enough spec?
We've been using CentOS on our servers for many years, and remain happy customers. Been considering also using CentOS for desktops, since there's some advantages in standardisation. Also wondering whether CentOS really does belong on desktop. Perhaps its instructive that there's no "Desktop" section in these CentOS forums. Maybe a message buried there.
I'm finding that CentOS 5.6 desktop can do most things we need, except support Ipod connection for podcasts. FLOSS weekly and SecurityNow are part of regular entertainment. gpodder is good in other 'nixes, but seems difficult to install in CentOS. Should I pursue this, or keep using another distro for daily desktops?
I start a program from terminal, say gedit. The terminal will be recognized as processing, and I cannot use the same terminal for other tasks until I close the gedit.
So without opening another terminal, how can I use the terminal while processing the program?
If I set my Ubuntu 10.10 to sleep after an hour of inactivity, I can't leave Blender to render overnight. The processing that Blender is doing seems to be ignored, and the computer goes to sleep after an hour. How can I prevent this from happening? I don't want to set Sleep to Never, I would like the computer to sleep after Blender is done.
while start following some tutorials, i face lot of problems only with nvidia-driver.for example, if i try to apt-get install chkconfig, the result will be as below:
Reading package lists... Done Building dependency tree Reading state information... Done
Mails are not going out of the queue. Removed all frozen mails and tried to flush queue using exim -qf command. Also checked queue after restarting exim. Still messages are not going out of the queue.