• Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in declaration syntax error? no idea what could be wrong. New at C

    @sa_2, on line 282 you mixed single quotes with double quotes. The syntax highlighting shows it right here: cout<<' \t\t¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥\n\n\n"; Next time start a new question, so more people can …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching declaration syntax error? no idea what could be wrong. New at C

    My compiler says the Declaration syntax error is at (88,2) which is one of the brackets? I don't really know what could be wrong. Help please. I'm really new at …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Arithmetic operation resulted in an overflow error

    It's been a while since I messed with VB, but I can't find anything that sticks out as far as the overflow situation. It's hard to read anything the way …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Arithmetic operation resulted in an overflow error

    Hello, I have this error "Arithmetic operation resulted in an overflow." I have no mathematical operations in my code. Why would that error come up? This is code: Public Sub …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in I want to save the capture fingerprint into database.

    @jayamkoko, you may have better luck posting a new question that describes your problem. This question was already marked as 'solved'. I think I may be the only one receiving …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Object is not callable

    This will never end because you are appending to `lista_cosas` while iterating over it. I'm not really sure what you were trying to figure out, but this code will run …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Object is not callable

    I have the following code: lista_cosas=[] class cosa(): global lista_cosas def __init__(self,color): self.color=color def operacion(self): if self.color=="verde": lista_cosas.append(cosa("azul")) else: lista_cosas.append(cosa("verde")) c=cosa("verde") lista_cosas.append(c) n=0 while n<10: n+=1 for cosa in lista_cosas: …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Object is not callable

    I think it would help if you weren't shadowing the `cosa` name in your `for` loop. Classes should use CamelCase, to distinguish them from function names and other stuff. Instantiating …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Python Mechanize Page Source Error.

    This would probably fail miserably if you landed on a page like: example.com/zippedapplication.tar.gz It assumes the response is encoded plain text with possible gzip compression, not gzipped binary data.
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Python Mechanize Page Source Error.

    Hi, I am trying to build a scrapper and for that I am using mechanize to get the page source then beautiful soup to parse it. But yesterday I faced …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Python Mechanize Page Source Error.

    The data is compressed with gzip. I tested it with: $ curl http://stores.ebay.com/honesty-seller-ly9999 > bad_data $ file bad_data bad_data: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT) The site …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching How to make counting numbers ?

    Hi, how to make counting numbers ? For example, I send command to HyperTerminal, then it will reply (print) counted values. Here the first example, send command: UI1-UI10 reply command: …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in How to make counting numbers ?

    It looks like you are hard coding each possible answer. It would take pages to exhaust every possibility. Maybe try splitting the input on `-`, and parsing the two values …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching how to print system Date & time on screen? in c++

    how to print system Date & time on screen? in c++
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in how to print system Date & time on screen? in c++

    ..Commenting to move from 'Unanswered.' In the future, you may want to provide more information (such as a small example of what you have tried so far). For now, this …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching input 5 numbers and print in ascending order in c++

    input 5 numbers and print in ascending order in c++
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in input 5 numbers and print in ascending order in c++

    ..Commenting to move from 'Unanswered.' In the future, you may want to provide more information (such as a small example of what you have tried so far). For now, this …
  • Member Avatar for chriswelborn
    chriswelborn

    Gave Reputation to mrismich in input 5 numbers and print in ascending order in c++

    input 5 numbers and print in ascending order in c++
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching how to make buttons in c++

    how to make buttons in c++
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in how to make buttons in c++

    ..Commenting to move from 'Unanswered.' In the future, you may want to provide more information (such as a small example of what you have tried so far). For now, this …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching how to reboot system using c++ commands

    how to reboot system using c++ commands
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in how to reboot system using c++ commands

    ..Commenting to move from 'Unanswered.' In the future, you may want to provide more information (such as a small example of what you have tried so far). For now, this …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching how to lock a file with c++ any idea?

    how to reboot system using c++ commands
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in how to lock a file with c++ any idea?

    ..Commenting to move from 'Unanswered.' In the future,you may want to provide more information (such as a small example of what you have tried so far). For now, this article …
  • Member Avatar for chriswelborn
    chriswelborn

    Gave Reputation to mrismich in how to reboot system using c++ commands

    how to reboot system using c++ commands
  • Member Avatar for chriswelborn
    chriswelborn

    Gave Reputation to mrismich in how to make buttons in c++

    how to make buttons in c++
  • Member Avatar for chriswelborn
    chriswelborn

    Gave Reputation to mrismich in how to print system Date & time on screen? in c++

    how to print system Date & time on screen? in c++
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Community Center Chat window

    The Community Center Chat window keeps appearing (opening) after I close it which is rather annoying.
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Community Center Chat window

    I was about to post this same message. It opens automatically when I load a page, and that's neat, but closing it only lasts for thirty seconds or so. I …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching headphone detection

    how to detect headset connection using java code .
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in headphone detection

    This was posted in the wrong forum (looking for [Software Development -> Java](https://www.daniweb.com/software-development/java/9)). I'm posting to remove from 'Unanswered'.
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching launch a modal conatct form directly

    I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/)
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in launch a modal conatct form directly

    Put the form on your page with an id (let's say `'contactForm'`) and css set to `'display: none'`, so it's easily accessible with javascript but initially hidden. Make your "show …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching python doubt

    There are totally 6 bam files. In that: 1,2,3 are one group 4,5,6 are in other group do.call([cfg.tool_cmd("cuffdiff"), "-p", str(cfg.project["analysis"]["threads"]), "-b", str(cfg.project["genome"]["fasta"]), "-u", cfg.project["experiment"]["merged"], "-L", "%s,%s" % (str(cfg.project["phenotype"][0])[2:8],str(cfg.project["phenotype"][1])[2:7]), "-o", output_folder] …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in python doubt

    What is the content and type of `cfg.project["samples"][0]["files"]["bam"]`? A Tuple/List/Set/Dict? Maybe stepping through a debugger, or even a simple debug-print would help you see what you are getting, or why …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Why is this code creating duplicate keys?

    I have a program that creates a unique key for a database. However I get an error that I am trying to write duplicate data to the database. How can …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Why is this code creating duplicate keys?

    This ID generator depends on enough time elapsing between calls. I can see that running this kind of code in a fast loop could make duplicates: for (int i = …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching python doubt

    analysis: clip_adapters: false differential_expression: comparisons: - condition1: embryo condition2: larva metadata: phenotype metadata: phenotype: embryo: - SAMN00990702-1 - SAMN00990702-2 - SAMN00990702-3 larva: - SAMN00990703-1 - SAMN00990703-2 - SAMN00990703-3 samples: - …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in python doubt

    This question is difficult to understand. I don't think the wall of output text helps. Maybe you could word it differently, or provide a little pseudo-code to help us understand …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Multiple lines with variables in bash script

    I have (roughly) the following code: read -p "What is your variable: " WHATIS cat > ./test.txt <<EOF This should be a bunch of lines I want this "variable" to …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Multiple lines with variables in bash script

    All three of these options are working for me: Plain `echo "string" > file`: read -p "What is your variable: " WHATIS echo "This should be a bunch of lines …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching Loops and list and string help

    Hi, so I want to say, while p is less than the length of the list for everything in my list (punctuation and characters) if the letter or punctuation is …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in Loops and list and string help

    What is the actual problem? Is there a traceback when you run it? You say: >while p is less than the length of the list... ..which is basically describing what …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching text steganography

    But i want steganographic plugin in python language.This link http://registry.gimp.org/node/25988 shows the steganography plugin in c language. please help me to find a steganographic plugin in python
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in text steganography

    I can only find python-based "watermark" plugins at the moment. You may have to make one. The `PIL` or `pillow` libraries can help you work with images. Outside of GIMP, …
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching 'hello world ' revisited

    well , I just realised that we forgot about our " turtle " so here it is printing " hello world " from turtle import * title("hello world") shape("turtle") speed(2) …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in 'hello world ' revisited

    Small typo in that example, the font name. Should be `'Times New Roman'`
  • Member Avatar for chriswelborn
    chriswelborn

    Began Watching How to set tkinter button command to call a function from a class

    Hello. I have a Class in my python file. That Class contains some functions. How can i set the command of a Tkinter butten so that call a function of …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in How to set tkinter button command to call a function from a class

    I see that your `__init__` method is misspelled, but you're gonna want an instance to work with. You have a `calculating` class, but no object. Instantiate the class: mycalc = …
  • Member Avatar for chriswelborn
    chriswelborn

    Replied To a Post in getting a line position

    @Gribouillis: yeh, I don't use tell() a lot, but I can image len() being faster. I'm on my phone so I can't check, but I know yours will return the …

The End.