Posts

Showing posts from February, 2010

Dreamweaver CS3 and WebDAV

i have problem connecting remote server webdav using dreamweaver cs3. when try connect error message: "cannot display remote folder: http webdav error occurred. dreamweaver cannot listing folder specified. make sure have proper authorization on server, , server configured. make sure remote folder avaliable or select different 1 clicking manage sites." i have used frontpage without problems, know remote folder available. have authorisation, , have dublechecked username , password. leads me belive server sot configured. need know to configure server properly*, adobe support has not been able tell me do, i'm hoping 1 can me that. if don't think serverconfigurationproblem please let me know. additional information: when "test" username , password under remote info in manage site section, error message: "an http error occurred. dreamweaver cannot make connection host. loginor password incorrect. please check connection information." but correct, i...

Thread: what can i do to get my ubuntu7.10 back

Image
i have win xp on 1st partition , ubuntu7.10 on partition on acer laptop. problem reinstall windows, after boot options disapeared. can boot windows now. how can ubuntu back? https://help.ubuntu.com/community/re...tallingwindows btw, search topic in forum , on google return in excess of 100k hits. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] what can i do to get my ubuntu7.10 back Ubuntu

control the Build Order

to make project more structured try divide parts multiple tabs inside arduino ide. current decision use multi file sketch no extension (so files have .pde extension). according http://www.arduino.cc/en/hacking/buildprocess these sketches concatenated together. i have problems variable declarations needed in earlier parts merged later parts (making compiler unhappy). i don't want switch .h/.c stuff. have chance control order of merge process? quote i have problems variable declarations needed in earlier parts merged later parts (making compiler unhappy). there no one-size-fits-all answer. posting code , error messages necessary solve your issue. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > control the Build Order arduino

Thread: iBook G3 (Dual USB) won't boot from CD?

Image
okay, start off- have no linux experience. remember 4 years ago, tried generic distribution through virtualpc, , ok. i'm wanting install ubuntu on oldd ibook g3 dual usb (it's not clamshell.) downloaded ubuntu (desktop) , burnt iso. when try install (i tried pressing 'c' , 'option+c') goes apple logo, , starts os x panther. help! posted patricc okay, start off- have no linux experience. remember 4 years ago, tried generic distribution through virtualpc, , ok. i'm wanting install ubuntu on oldd ibook g3 dual usb (it's not clamshell.) downloaded ubuntu (desktop) , burnt iso. when try install (i tried pressing 'c' , 'option+c') goes apple logo, , starts os x panther. help! i think problem iso cd. old apple machine have problem reading cd on modern cd burners. must burn cd on very low speed, x...

Aanpassen van mijn layout - Joomla! Forum - community, help and support

hoi allen, ik ben in de begin fase van mijn layout. deze in photoshop gemaakt en nu ben ik bezig met hem naar joomla om te zetten. nu loop ik tegen 2 problemen aan die ik niet goed krijg. hiervoor heb ik een screenshot online geplaasts. http://www.esorone.nl/cms/webpix/tattoo_layout.jpg ik zie namelijk altijd joomla templates waar de kolommen wel gelijk lopen (zwart gat) en de kollommen ook netjes tegenelkaar zitten. hoe kan ik dat voor elkaar krijgen? ik heb nu namelijk gewoon een border gebruikt en dat vindt ik niet mooi. dus eigenelijk 3 vragen in 1 post..... alvast en wederom bedankt. css: code: select all #content    { /*   background: url(file://///webserver/c_webserver/www-data/cms/templates/tattoo/images/main_content_03.jpg) repeat-y; */    padding-left: 1px;    padding-top: 38px;    padding-right: 1px;           } /* 3 kolommen van joomla */ #sidebar_left { width:20%; padding-top: 30px; padding-left...

laptop to arduino over serial

Image
this second attempt @ this. want send colour data computer arduino on serial i've tried twice not luck serial working i'm not getting right data arduino here code. int colourdata;// use on rainbowduino direct buffer rendering int dataarray[8];// hold bits serial void setup() { serial.begin(9600); //set serial 9600 baud rate } void loop(){  if (serial.available() > {    getcolourdata();  }   } void getcolourdata(){  for (int i=0; <=8; i++) {    dataarray = serial.read();  }  colourdata = dataarray[0],dataarray[1],dataarray[2],dataarray[3],dataarray[4],dataarray[5],dataarray[6],dataarray[7]; } as can see i'm putting serial data array i'm sure there better way need colourdata contain hex value i'm hoping use function on rainbowduino direct buffer rendering please can show best way go this. quote i want send colour data computer arduino on serial...

Thread: Planing for New Printer

hai friends, new ubuntu forums. first post. looking new printer home office use . buy ink jet printer. budget maximum rs.2500 . interested in black , white only. these requirements. black prints. color occasionally. separate ink cartridges. cartridges should cheap. able print on envelopes. almost 10 pages week. os linux mint , derivative of ubuntu. 1 of candidate epson t11 . kerala, india. printer should available there. in advance this web can you. i'm confused, t11 in both perfetly , paperweight columns :s Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware Planing for New Printer Ubuntu

calculating with analog input values

hello, i've tried create thermometer using arduino temperature sensor. however, reason can arduino send me value read analog port, using analogread() store in value, , using serial.println() print in serial monitor. however moment start trying calculate value, sends 0. here's code used; code: [select] // thermometer: gets voltage sensor connected analog pin 5, calculates temperature this, , sends serial port every second #define sensor 5 int val = 0; float voltage = 0; int temperature = 0; void setup() {  serial.begin(9600);    //open serial port } void loop () {  val = analogread(sensor);  serial.println(val);  voltage = ((val/1023)*5);  serial.println(voltage);  temperature = ((voltage - 0.5) * 100);  serial.println(temperature);  delay(1000); } the arduino returns; 142 (that's analog read value) 0.00 (obviously did wrong calculation) -50 ((0 - 0.5) *100 -50 of course) please help! i suspect calculations running problems becau...

How to check if a string is on the serial port ??

ok ive got modem outputing data arduino . example want turn led on if "led_on" sent on serial port. need buffer clear on every cr , ignore incorrect strings , reset. because messenger method works if type incorrect string in seems stop working untill reset . im guessing buffer needs reset after each cr. ive found 2 way of doing both problems , can me have working 1 ? code 1 ,  i found example of reading data serial buffer , cant check if string in buffer . code: [select] #define strlen 16 char buffer[strlen]; int  bufferindex = 0; void setup() {  serial.begin(9600); } void loop() {  if( serial.available())  {    char ch = serial.read();    if( ch == '\r')  // terminating carriage return    {      buffer[ bufferindex ] = 0; // terminate string 0      bufferindex = 0;  // reset index ready string      // string if (buffer =="led_on"){               // put in  it doesnt work!  ...

Error burning bootloader

i have atmega168 , atmega328 trying burn bootloader onto using parallel programmer (homemade) , arduino board power it. i built using schematic: (its not letting me post link in first message, ill post later) and recieve error on 328 after long pause avrdude: verification error, first mismatch @ byte 0x7800         0x0c != 0xff avrdude: verification error; content mismatch i have searched forum , read how user fixed it, alas no luck me. seem different error 168 avrdude: expected signature atmega168 1e 94 06 (its 168p, not sure if matters.) any appreciated... Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Error burning bootloader arduino

Reading "beats" in and playing them back

any can offer me great! have far. it's supposed read in presses on analog touch sensor threshold of 50, store time between presses in array, play sequence flashing led in pin 13. code: [select] int beatarray[10]; //array storing beats const int analogpin = 0;   //pin sensor on it const int ledpin = 13;   //led output const int threshold = 50;  //threshold int timer = 100; int count = 0; void setup() { //initialize led pin output pinmode(ledpin, output); //serial communication serial.begin(9600); } void loop() { //read value of sensor int analogvalue = analogread(analogpin); //is button pressed? if (analogvalue > threshold){  //yes = function }else{ //no = nothing } delay(50); } function{ if(count=10){ //playback }else{ beatarray[count] = time since last reset timer count ++; } } the problem i'm having first off i'm not sure how timer works, , can't seem find in reference library. sec...

Two virtual looping instances.

hey, in program, want 2 sets of code run @ different time instances. basically, want external lcd refreshing information every 333ms, , want arduino send data serially visual basic program every second (3 x 333ms). however, i'm having problems implementing this. code: [select] int serialcount = 0; void setup(){} void loop(){ serialcount++; if (serialcount=3){ ... insert serial.print code here ... serialcount=0} delay(333) } the code inside if statement should working every third loop, running every loop instance. what missing? in c++ comparison operator ==, not = try code: [select] if (serialcount == 3) Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Two virtual looping instances. arduino

Incoming string from serial to arrays?

sorry might seem newb question, here's i'm trying do. i'm sending string via serial linux console ie: "wget -qo- "http://192.168.1.2/myscript.php" and returns like: "aaa:b ccc:d root@dd-wrt:~#" i need strip off shell line, break split string on space, split 2 arrays via ":". one thing return "aaa:b ccccccc:d eeee:f gg:h" or "aaa:b", has dynamic. after split, need loop thru each of final array groupings can take element[1] , switch statement on that, use element[0] printing else out console. like said, sorry noob question. i'm php developer , it's been years since i've played c. quote like said, sorry noob question two things... 1. i've read post twice , cannot find question. 2. question have arduino? Arduino Forum > Forum 2005-2010 (read only) > Software ...

Can I use the "new" C++ memory features?

sometimes compiler seems c++, , other times c. knows "class" , doesn't seem care variables declared (like c++), when try allocate memory dynamically:   char *stuff = new char[10] ; it gives me compiler error seems suggest isn't compiling c++, though file extension cpp. is there way turn on 'new', or need allocate memory old fashioned way? thanks! mark arduino use c++ avr-gcc compiler used has restrictions related use on embedded platform. new , delete not supported last time looked @ compiler spec, malloc , free can make own if want, see thread: http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1230935955 with few k of ram careful allocating dynamic memory - easy run out. have fun! Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Can I u...

timing problem with the arduino.

hello arduino friends. i got strange problems arduino, i want task every second. (this should near precisely) so, wrote time function: [font=courier]    aktuellezeit = millis();    if(aktuellezeit > naechstezeit){      standby();      naechstezeit = millis() + closingtime;    }[/font] but problem now, doesnt rhythmic. value changes strangely. times, leasts 2 secs until starts task. has idea how this? thank you!!! what standby() do? since you're checking millis() above call standby, again after it, you'll 2 different results millis() depending on how long standby takes complete. replace first call millis() assignment temporary variable, , in second use variable instead of calling millis() again. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > timi...

Re: function is not being called

quote code: [select] pinmode(a1, input); i suspect problem.  i don't think supposed use pinmode() analog pins.  this function call takes arduino pin 1, serial transmit data line, , makes input, won't output serial port afterwards. take out function call , see if works better. -j "if(calcount = 0)" doesn't mean checking if calcount , 0 same number. apply number 0 calcount. , far know makes statement false because calcount 0 , false. what should this: if(calcount == 0) this check if calcount zero, want do. /have great day, fredrik andersson Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Re: function is not being called arduino

Float to Int conversion problem

i trying use slider potentiometer control master volume on pc. have autoit program written , needs volume in percentage. trying convert value slider pot percentage using formula of (value/maxvalue)*100. doing calculation in float , converting int , sending on serial. please me figure out. -tim the code marked //////////// ///here/// //////////// is calculation. here code: code: [select] /* *  serialvolumeslider *   *  reads analog input input pin , sends value *  as percentage followed line break on serial port. * */ // variables input pin , control led  int analoginput = 4;  int ledpin = 13;  int incomingbyte = 0;      // incoming serial data  int maxvalue = 1023;   // variable store value  float fvalue = 0.00;  int value = 0;   // threshold decide when led turns on  int threshold = 512;   void setup(){ // declaration of pin modes  pinmode(analoginput, input);  pinmode(l...

Raspberry Pi Model B erkennt nur 256 von 512 MB RAM. - Raspberry Pi Forums

hallo, ich habe heute meinen raspberrypi (model b, 512 mb) bekommen. als image habe ich mir "raspian" von der offiziellen download seite heruntergeladen und installiert. nun steht dort als memorysplit nur bis zu 256 mb zur verfügung. gpu memory + memory. wie kann ich jetzt das problem lösen? ich ja schließlich den gesamten arbeitsspeicher benutzen. gruß, alex heute wurde ein raspbian update veröffentlicht, welches auch die pi's mit 512mb ram unterstützt! raspberrypi

Uploading Arduino data without Internet

Image
hello everyone: i have begun arduino , have made first arduino project ever: small circuit measure temperature , humidity of room arduino, , create kind of graphs see evolution of temperature/humidity (with javascript or php library) , use more services (tweeting data, uploading data pachube, etc). the thing xport not working (or can't working) need without xport, connecting arduino laptop (which connect internet wifi). would possible? thanks lot in advance very possible. arduino can send serial data. pc can read serial data. look @ processing application: http://processing.org the processing application , arduino ide share many similarities. programming language similar, too. both c based. processing can draw graphs want. php has capabilities read serial port, too, , ideally suited uploading data web server. Arduino Forum > Forum 2005-2010 (read only) > ...

How do I code for a Movie Clip with a button in it embedded in the Main Scene?

Image
this should easy 1 designs websites in flash. i have movie clip embedded in main timeline appears after animation sequence happens. in movie clip button changes color when rollover , links email address. pretty simple. i not sure how correctly code actionscript this. far, when rollover movie clip , try click button, whole movie clip flashes. how tell flash point button embedded in movie clip? you can see god awful mess i've created online at: http://www.espavoproductions.com/flash_site.swf look @ contact button see talking about. please help. grateful. -stephanie when rollover button, you're rolling out of movieclip , that's causing movieclip disappear, mouse detected on contact , causes movieclip re-appear. to remedy, either use (looping) hittest movieclip or code mouse handlers on button's generation. ie, remove mouse handler attached button's parent can code on same timeline on button coded. More discussions in ActionScript 1 and 2 adob...

Wireshark on RPi ? - Raspberry Pi Forums

has had experience using rpi packet capture appliance? configure rpi run wireshark, or tshark , tcpdump, apache2 server. able call capture commands web interface , store packet captures directly sd card. has tried similar? project idea raise red flags? project allow me use platform light weight packet capture device -- need. have rpi b model , 32gb sd card input! i'd interested too. battery powered rpi gpio driven led screen capturing data sd card might powerful network admin tool. raspberrypi

Dynamic runtime shared libraries in Flash

runtime shared libraries in flash seem work if there direct import link file wishes use shared library item. why can't main swf dynamically load shared.swf containing shared library items , therefore allow child swf's loaded after event access items? or why can't load shared.swf containing shared library items requesting file on fly , grant access items requesting file way? creating direct import links shared libraries in child flash documents annoying in larger applications! ideally should work this... all cross domain security issues have been dealt with. i have main container.swf. the main container loads remote shared library swf contains shared library items. after load, main container loads swf files need access shared library items. one of loaded child swf's contains textfield style sheet attached. need have access shared font shared.swf library enable set embedfonts true , have textfield render correctly. unless import link shared library created manu...

Thread: Ubuntu and Windows printers

Image
hello there have been using ubuntu few years @ home without issues. kicked out vista on work laptop (running virtual machine) , decided go x64 bit version of ubuntu jaunty. part, works well. well. dual screen setup worked (nearly) out of box. done. of work done through vista virtual server though, find myself doing more , more ubuntu. here issue; printing on windows network. don't me started on one. granted, not linux savvy person out there and, there thousands of hacks available, why cant browse windows printers on our win2003 file server? can mac , vista computer. on domain, can access shares, printers? why ubuntu printing application default start scanning network , die? says "searching printers" , after 10 minutes rolls on , die... why cant choose ip/server name/printer name add directly? not driver issue since haven't gotten actual printers yet (yes, looking forward too...) causing this? can add local printer without problems....

what could this error message be telling me?

code: [select] in file included /applications/arduino.app/contents/resources/java/hardware/arduino/cores/arduino/wiring_digital.c:27: /applications/arduino.app/contents/resources/java/hardware/arduino/cores/arduino/digital_write.h:137: error: redefinition of 'atomicwrite' /applications/arduino.app/contents/resources/java/hardware/arduino/cores/arduino/digital_write.h:137: error: previous definition of 'atomicwrite' here so saying redefined function on same line ?!? code: [select] #ifndef atomicwrite  //i surrounded definition after first saw error static inline void atomicwrite( uint8_t* address, uint8_t p, uint8_t v) {      if ((int)address < 0x20)     bitwrite(*address, __digitalpintobit(p),v);      else  {            uint8_t register savesreg = sreg;                cli();                                              bitwrite(*address, __d...

Serial Commands

hi trying touchscreen control machine repetitive task. trying set can type in number of cycles want machine run , have machine run many times. i doing using serial commands touchscreen side have serial.print(number); number int set when number hit on touch screen. set can type in number 1000 n - 0:999. my problem when serial send sends value in ascii if hit 3 on touch screen , cycles = serial.read(); value of cycles 51. can work subtracting 48 incomming number, work values 0-9, cant send 12 or something. how can this? have attached sample code shows how using serial command on arduino side. thanks! int ledpin =  3;    // led connected digital pin 13 int n=0; // setup() method runs once, when sketch starts void setup()   {                  // initialize digital pin output:  pinmode(ledpin, output);      serial.begin(9600); } void loop()             ...

Analog temperature reader

i found code here: http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1260490119 code: [select] double thermister(int rawadc) { double temp; temp = log(((10240000/rawadc) - 10000)); temp = 1 / (0.001129148 + (0.000234125 * temp) + (0.0000000876741 * temp * temp * temp)); temp = temp - 273.15;            // convert kelvin celcius return temp; } and using temperature brick ( http://www.seeedstudio.com/depot/electronic-brick-temperature-sensoranalog-p-478.html ) right formular using it? hi thats cool. way im strugaling arduino type key on computer. new @ using arduinos , hear there multaple steps involved dont have slightest idea how go doing this. code, info, tips helpfull. thanks. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Analog temperature reader ...

Loading WEB page

hi, i want know if possible load webpage in flex application. mean ask if there component such "htmltext" component can used load webpage. navigatetourl opens webpage , closing flex application if open in same window. if have information this, please let me know. shall thankful you. regards, ..::dw there isn't html component flex yet (although there in apollo....:-d) 1 becomes available we'll grabbing use in our apps... i've spent quite while looking way show html within flex app , there way of doing it. here's link topic answered subject: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1264148 More discussions in Flex (Read Only) adobe

Yaromat Calendar Extension

i working on final year university application , trying incorporate yaromat calendar 1 of forms used user adding in dates. i have downloaded , installed required extension yaromat.com when try access (windows -> behaviours -> yaromat -> calendar) calendar sub section greyed out. do know how solve problem can start using extension? many thanks, martin_bhoy2486. although *love* yaromat´s extensions, doesn´t seem update them them longer -- , calendar extension has been last updated in 2001, there *might* compatibiliy issue dw versions released in 2002 , later -- , javascript code generated extensions might have issues related browser compatibility, means: extension released in 2001 can´t guaranteed work on browsers/versions didn´t exist @ time . i´m not aware of free calendar extensions, i´d suggest having @ kaosweaver´s expert calendar extension seems pretty good, updated , has existing support More discussions in Dreamweaver ex...

Traverse struct with pointer

hi all, if have struct following... code: [select] struct config_t {  byte mac[6];  byte ip[4];  byte subnet[4];  byte gateway[4];  byte server[4];  char path[128]; }; can set pointer struct can take serial input , put each input byte struct in 1 shot out having refer each of struct's members individually. i can't seem work. below doing, seems kinda clunky. code: [select] void checkserial(){  if (serial.available() > 0){    switch (serial.read()){    case 'w':      {        delay(1000);        int i=0;        while ((serial.available()>0) && i<6) configuration.mac[i++] = serial.read();        serial.println(i);        i=0;        while ((serial.available()>0) && i<4) configuration.ip[i++] = serial.read();   ...

progress bar question

i loading .jpg holder movie clip. easy enough. want progress bar show progress go away when complete. im trying use if statement disappear, dont know should put in if part. here code... one.addeventlistener(mouseevent.mouse_down, mousedownhandler); function mousedownhandler(event:mouseevent):void { var pictldr:loader = new loader(); var picturl:string = "images/1.jpg" var picturlreq:urlrequest = new urlrequest(picturl); pictldr.load(picturlreq); holder.addchild(pictldr); //loading bar var datapath:string = "images/1.jpg"; var loader:urlloader = new urlloader(); loader.load(new urlrequest(datapath)); var pb:progressbar = new progressbar(); pb.source = loader; addchild(pb); pb.x = 100 pb.y = 200 if (??????? == ????) { removechild(pb); } } any suggestions???? well figured out....so ill answer own question in case can else. didnt use if statement...i used function statement instead. heres looks like... one.addeventlistener(mouseevent.mouse_dow...

Read Serial --> Send SMS --Ideas--

Image
hi, i'm starting implement aplication arduino. description: i have system, has serial port. connect laptop , hyperterminal read output. i want use arduino permanently read serial output, 'look' @ data , store important pieces ( xx.x%, alarms, errors, etc). in event of error being detected, or @ predetermined intervals use gsm modem send sms. i'm thinking using siemens mc35  to manage gsm comunication. so basicly arduino continuously reading output of serial port, store 'important' values, , react specific strings in serial data or calls mc35. what problems forsee in setup? if can devices talk each other (should not real problem), issue see "permanently store data" requirement. arduino not have lot of storage capability. add sd card, , store data there. Arduino Forum > Forum 2005-2010 (read only) > Software ...

Bit shifting, again!

hey guys, still learning here, , not great @ these bitwise operations. have protocol specifies data sent 2 bytes, 2 significant bits of byte reserved. is, 2 first bits must zero. 00111111 valid, 11111111 not. that said, they're still 2-byte values. how spit out value given int? 4095, presume (12 bits total). want send 1000 example, 00000111 00101000. how do programmatically in code? thanks! would this? int = 1000; int msb = a&0x0fc0 >> 6; int lsb = a&0x003f; or that? thanks! Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Bit shifting, again! arduino

Babuino Project new feature - MODBUS communication

hello guys, now possible program babuino, configure modbus master logo language, , have working in modbus network. can use babuino read data from/write data modbus rtu slave devices. next release of babuino software feature full capability set babuino work either modbus master or modbus slave. take in our blog: http://babuinoproject.blogspot.com/ see you Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Babuino Project new feature - MODBUS communication arduino

make box that changes color depending on button pressed

i need able press 1 of 6 buttons change graphics page on single-frame site i'm building. first time i've built single frame site (calling swf's) , seems easy having green button fade whatever color exists down while fading green , isn't easy thought. in order "smart" , know color there can fade (probably easier way being color specific - don't know it). just getting as2 part of flash , trying meet deadlines while learning hard do, help! More discussions in ActionScript 1 and 2 adobe

Edit Users - Joomla! Forum - community, help and support

i running stange problem when trying edit users adminstrator account.  using joomla 1.0.4 community builder.  if go components -> community builder -> user management, select user account.  when edit screen opens password enter in "new password" box designated "******".  if want update permissions on user administrator, , press apply, error password not match! i same result if use standard user manager in joomla. has seen this?  btw happened in 1.0.3 before upgraded. strange ... but maybe can help. have looked @ cb configuration user profile tab? there option allows administrator fill out user information like. still, shouldn't affect joomla core, maybe give try? Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Thread: user specific hosts file

Image
is there way specify user-specific hosts file? if i'm on box can't add stuff /etc/hosts i'd still have names resolve ips user. thanks. posted anonmars is there way specify user-specific hosts file? if i'm on box can't add stuff /etc/hosts i'd still have names resolve ips user. thanks. note: i'm not able setup dns server in scenario, suggested in: http://ubuntuforums.org/showthread.php?t=891788 Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [all variants] user specific hosts file Ubuntu

Memory leak in LoadVars?

hi, in 1 of our apps, we've need continuously load new data (using loadvars) every x seconds server. however, seem having memory leak issue when doing same. consider following skeletal code: var myvars:loadvars = new loadvars(); myvars.onhttpstatus = function(httpstatus) { this.httpstatus = httpstatus; }; myvars.onload = function(success:boolean){ //trace("data loaded: " + success); } var int:number = setinterval(loaddata,2000); function loaddata(){ myvars.load(" http://server/realtime/isv3.asp?upperlimit=100&lowerlimit=0"); } stop(); here, i'm loading data asp page every 2 seconds in same loadvars object. now, when run movie continuosly few hours, there's huge increase in memory usage of movie. using profiler, i've made sure memory increasing flash movie , not inetinfo or other process/thread. now, here not have else in movie (no visuals, no calculations etc.) , more on we're re-using same loadvars object reload data. pointers doing...

can someone please tell me how to upgrade from 1.0.2 to 1.0.4? - Joomla! Forum - community, help and support

hello, using ws ftp pro , cpanel wish upgrade 1.0.2 1.0.4 - ive had problems in past half files uploaded due permissions , site broke, im bit nervous! any advice or directions appreciated.  as feared, process of upgrading stuffed site , have delete hosting account, email accounts, everything, copy content of site , set new one.  has happened multiple times before .  so im trying figure out bloody problem else seems have ok time upgrading!! this process, perhaps see error... so when install joomla, upload tar file , extract in cpanel file manager area.  avoid hours takes upload files individually via ftp (ws ftp pro).  however when applying upgrades suggested upload files via ftp.  when ws ftp pro fails on half files due permission problems.  , breaks site.  if try , upload tar upgrade , extract through cpanel, site doesnt work properly.  sooo, u think possible cpanel extraction created different ownerships ftp uploading (even though using s...

Strangeness with Serial and pololu

hi - i'm using pololu servo controller via serial - have pin #1 (tx) on arduino connected "logic-level serial input" pin #3 on pololu. power , gnd wired okay, i'm using 3 servos - works. sort of. if power arduino, , connect terminal (can see text equivalent of commands sent pololu) works great. can quit terminal app, unplug usb cable, , servos continue work fine. but if don't hook terminal app, doesn't work. in other words, if power board no usb or terminal app, servos don't move - there polulo doesn't (?). terminal app connected, servos start turning (and app can killed , usb unplugged). i can't figure out heck going on. can shed light? seems act of connecting terminal somehow "makes work". cheers, , thanks. b... how powering setup when not connected usb port? Arduino Forum > Forum 2005-2010 (read only) > Soft...

Flex 2.0.1 Hotfix 2 available, but...

from alistair mcleod on flexcoders forum: flex hotfix 2 , cairngorm 2.2 quote: hi, hotfix 2 flex has been released, , part of release, classes have moved main sdk fds (eg, consumer). because of this, applications use servicelocator class, contains soft reference consumer class, give compile error since consumer class no longer exists in sdk. we're looking @ present. thanks, alistair alistair mcleod technical practice leader (rich internet applications , livecycle) adobe consulting westpoint, 4 redheughs rigg, south gyle, edinburgh, eh12 9dq, uk p: +44 (0) 131 338 6108 amcleod@..., http://weblogs.macromedia.com/amcleod registered office: 151 st. vincent street, glasgow g2 5nj company no. sc101089 More discussions in Flex (Read Only) adobe

making a sensor with arduino board

and wanted know how interface software in windows xp pro most of time make dll using c++ , use api calls,thinking of using i2c usb converter,program using robot lispworks,i have processing software you'll need write sketch code run on arduino , communicate using serial port (the usb arduinos have usb-to-serial chip on them).  that mean defining serial data protocol agreed between pc side , arduino side of code.  the arduino can deal low-level hardware interface tasks , pc can high-level tasks. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > making a sensor with arduino board arduino

HTML Email that contains Flash Video

does know of way send video (or flash video) embedded within html email not trigger active x security warning? sending file attachment not option. main objective have video ( of flash video) start playing when email opened. any inside on matter appreciated. thanks. i highly, highly recommend against this. email message going large people , lock email client. instead, put link video on site. More discussions in Dreamweaver support forum adobe

What is wrong with this code? - Joomla! Forum - community, help and support

the following code indeed display users within flashchat once no 1 within chatroom, blank instead of saying " chatroom empty" code: select all $database->setquery("select #__users.username #__users," . "\n #__fc_connections #__fc_connections.userid = #__users.id" . "\n order updated desc"); $userlist = $database->loadobjectlist(); $content = ""; if (count($userlist > 0)) { $content .= "<table cellpadding=0 cellspacing=0 border=0>\n"; foreach ($userlist $chatter){ $content .= "<b>$chatter->username</b>\n"; } $content .= "</table>\n"; } else { $content .= "chatroom empty\n"; } ?> thanks help. -efrain are sure query correct? could change upper part see if there errors in query: code: select all <?php $database->setquery("select #__users.username #__users," . "\n #__fc_connections #__fc_connections.userid = #__users.id" . "\n orde...

How to generate colored noise?

i'm trying reproduce sound effect, , spectrum analysis of effect shows long vertical bars @ regular intervals.  said vertical bars indicate many fequencies being played simultaneously. at first suspected might able reproduce effect using square wave, triangle wave, or sawtooth wave, knew these had sorts of harmonics in them.  however, when tested hypothesis in sound forge geerating said waves , analyzing them, found results weren't @ similar had in sound effect. so i'm thinking need way generate colored noise, perhaps altering white noise using kind of graphic equalizer , retaining frequencies in specific range. anyone have suggestions in regards this?  i guess next step test method involving graphic equalizer, occured me now.   but if works, still either need way perform operation in arduino, or store sample of length play back.  i think rather calculate data in code when program starts. after research graphic equalization came up...

How does joomla compare to enterprise CMS like.... - Joomla! Forum - community, help and support

just wondering how guys think joomla stacks against enterprise level cms like, particularly first 1 continuity, there doesnt appear in joomla doesnt do. except few enterprise need haves ldap. continuity www.continuitycms.com interwoven http://www.interwoven.com/ vignette http://www.vignette.com/ documentum http://www.documentum.com/ i've taken @ few enterprise cmses (primarily vignette , interwoven, , opensource enterprise cms, opencms), , both kind of go in different direction joomla.  enterprise cmses in general more scalable joomla.  can (usually) , reliably host multiple sites spanning across multiple servers utilizing multiple oracle databases , handle loads of traffic.  1 of interesting features vignette design workflows in ms visio upload them right vignette.  believe vignette has sort of revision control, ticketing system, multiple content types (and content type modeler.)  pay support.  while joomla have excellent community, there questions go u...

Thread: Log in problems

hi, novice linux user. please advise me on following problem while attempting permission place files in /usr directory, changed user directory home root , added user limited privileges. did not change password first user , dis not set password second user. after that, not able log-in after restart. @ first, there error messages indicating desktop directory cannot created. next, asked enter user name , password. not accept user name , password. in order solve problem, tried several things changed kernel adding "single". changed password through "recovery mode" password accepted in recovery mode "root password" , able bash prompt. typing cat / etc / passwd can see user name , root (rather home) user directory. perhaps, problem user directory has changed "home" how do it? code: usermod -d /home/username username ...

Two dimensional array question

Image
hello, i'm prototyping program cycle through series of rgb values , assign them rgb led. got stuck trying setup 2 dimensional array. saw few previous posts on multi-dimensional arrays on board still wasn't able things working. here's have far... int color1[] = {140, 40, 00}; // orange int color2[] = {200, 20, 00}; // red int color3[] = {100, 255, 100}; // green int color4[] = {10, 120, 30}; // greener int color5[] = {6, 1, 34}; // dark int color_set[] = {color1, color2, color3, color4, color5}; i "error: invalid conversion 'int*' 'int'" on compile. thanks can give! code: [select] int* color_set[] = {color1, color2, color3, color4, color5}; the error message had hidden clue in   Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Progr...

help needed: functions!

i need control motorized slide  that goes , forth along track, inverting direction switching high or low (operated slide itself) switches @ each end of track.  since between each travel (left right , right left) other things happen on others outputs, thougt manage sketch function. did 2 opposite functions this: void leftoright() { swsxstat=digitalread(swsx);  // checks switch state  at right  end  digitalwrite(trackdir,low); // set left-to-right direction of motor   analogwrite(motorspeed,200); // gives power motor  while (fcsxstat==0)  {    analogwrite(trackspeed,0); // off motor  }} ... , rightoleft function, whit opposite parameters. now, it's quite difficult me put these simple functions in void loop: thought enough, doesn't work... void loop() { leftoright(); //.... other tasks, delay, ecc./// rightoleft(); } where i'm wrong? hello there. this simple option, assuming system can start ca...

How to calculate differntial equation in arduino?

how diffential equation in arduino? i have calculate pd controler don't know how do? yeahyoo, i can not answer question, not mean me. perhaps if supplied more details question might have more detailed answer. for example know answers questions like... where problem in calculating differential lie?   - know how program?   - know differential is? what sort of pd controller using?   - pid controller?      - if in software?         - if software? and more details problem... below questions me might relevant .... how need calculate differential? differential of quantity? against change? dave Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > How to calculate differntial equation in arduino? arduino