Search results

  1. Ladforce

    Paint - Farrow & Ball

    When we re-decorated we used: Little Greene on walls - Get the intelligent matt as its very durable and has really good non-artificial looking colours, washable and you cant notice touch ups. Would highly recommend even though it is pretty pricey (~£70 for 5 litres). We bought 6 cans from Cane...
  2. Ladforce

    Python Gurus : an easy question from a noob

    Change print line to:- print "FILE %s YEAR %s" % tuple([eval(line)[i] for i in (1,7)]) In answer to your question, eval is the function which will take the string and convert it to a python expression.
  3. Ladforce

    Dissertation Survey!

    done, gl!
  4. Ladforce

    iPhone 5, drops signal, No Service...

    Ah right that's good to know, will update tonight in case the problem comes back.
  5. Ladforce

    iPhone 5, drops signal, No Service...

    I had this issue on my iPhone 5 on three since release day. Every day it would drop to no signal and not be able to reconnect without me putting it in and out airplane mode. However, over the last week or so it has been able to automatically reconnect after losing signal, has anyone else...
  6. Ladforce

    **The iPhone 5 accessory thread**

    Yep I ordered mine last week and got it within 2 days using 1st class postage from amazon. Its a good fit and very thin but I'm not sure how much extra protection it will give apart from stopping scratches.
  7. Ladforce

    Curiosity Inspired Long Range Remote Vehicle - a project I want to get OCUK started on.

    We will have to design the command messages carefully to allow extensibility, but also to make sure we transmit commands using the least possible amount of data. I dont think we can use string based commands as they have the potential to be very wasteful in terms of data transferred and...
  8. Ladforce

    Curiosity Inspired Long Range Remote Vehicle - a project I want to get OCUK started on.

    This looks like an interesting project. I am a fairly experienced c programmer and would be happy to help out on the coding side of the project when I have time.
  9. Ladforce

    Review my flyer?

    1) Change the chav car put something more prestigious there instead. 2) Prob need a lighter blue background as the orange on blue is hard to read. 3) Vehicle is not spelt properly in the second paragraph. Also, stop your text editor splitting words with - 4) Your email address should match the...
  10. Ladforce

    Review my flyer?

    Id put a nicer car at the bottom as that one looks pretty chavvy and you probably want to give the impression that your used to cleaning expensive cars.
  11. Ladforce

    Java Past Paper Question!

    youve got the class name and variable name the wrong way round...should be Date todaysDate = new Date(8,5,2010) etc....
  12. Ladforce

    Javascript: Not reading XML correctly.

    edit - ignore, I was testing passing the dom document rather than the documentElement :) I would rather use childNodes.length though unless a check is added to make sure any object passed to traverse is an element object and has the hasChildNodes method.
  13. Ladforce

    Javascript: Not reading XML correctly.

    That still has problems. childNodes is an array not a function therefore () cant be used. Also, hasChildNodes is not valid for all the objects we will come across in traverse, you have to use childNodes.length.
  14. Ladforce

    Javascript: Not reading XML correctly.

    Had a few free mins so rewrote the parser. Seems to work ok on my system using an xml string. Your document should parse ok. Code can prob be neatened up a bit if your worried about it :) function traverse(tree) { txt = ""; attrs = tree.attributes if(attrs != null) {...
  15. Ladforce

    Javascript: Not reading XML correctly.

    Did you check the error console for problems when running this? Also, what does "pop-up" mean? Can you post a screenshot or something so we know what the problem is.
  16. Ladforce

    Javascript: Not reading XML correctly.

    From the guide this was taken from I notice theres a line var xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); do you have this at the top of your script? Also, this is a Microsoft only function call so will only work in IE. What does "pop up" mean? Any errors/warnings in the debugging...
  17. Ladforce

    Simple+Easy C++ Serial code (linux)

    So your code, with the buffer change, just waits at the read() line and never progresses? Are you certain something on the other end is writing at least 5 bytes of data down the line?
  18. Ladforce

    Simple+Easy C++ Serial code (linux)

    Your buffer ptr does not point to a buffer which has had memory allocated for it. Buffer should be something like "char buffer[255]"
  19. Ladforce

    Segmentation Faults in C

    I dont see why your while loop is there checking currentline is not null. Currentline will never be null based on whats inside that loop so it will spin. for this line:- name = strtok_r(line," ",&save2); where does line come from?
  20. Ladforce

    C Programming

    This is what you need for doing it in c. http://irc.essex.ac.uk/www.iota-six.co.uk/c/f7_dynamic_memory_allocation.asp
Back
Top Bottom