User Profile

Collapse

Profile Sidebar

Collapse
amskape
amskape
Last Activity: Jan 19 '23, 12:56 PM
Joined: Apr 3 '10
Location: Kerala,India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to get the second joining table data which is not come in combined condition of first and second table ?

    Dear Friends,

    I have 2 tables in Postgresql. Table1 and Table2 .... There is a common field Table1.ARN and Table2.RN . My need is get all the data of second table which is not in the common data get by Table1.ARN=Tabl e2.RN.

    Waiting your fast reply

    Thanks

    Anes P A
    See more | Go to post

  • Which is the better Document Management System on PHP-MySQL?

    Dear Friends,
    I am looking for a document management system (DMS) which have some basic properties like :

    1. Accessibility for Blind people

    2. Can upload scan documents with lot of tags for later search purpose of document.

    I saw 2 DMS namely seedDMS and OpenDocMan(ODM) . But don't have much idea. Suggest is this system done from scratch (without using any lib) is beneficial.

    Waiting...
    See more | Go to post

  • amskape
    started a topic How to add preseed file in Ubuntu ISO?

    How to add preseed file in Ubuntu ISO?

    Dear Friends,

    I am creating an .iso for Ubuntu 15.10 . I virtually mount it and placed the preseed file to the right
    path. Rebuild the ISO successfully, but it's not bootable. Used the command below to rebuild the
    iso:

    Code:
    # mkisofs -D -r -V "auto install" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /home/hattori/ubuntu1404_auto.iso
    ...
    See more | Go to post

  • amskape
    replied to How to quit a dialog within a function ?
    Dear dwlabs and friends,
    I try your code , but still have no solution :(
    my code is:

    Code:
     def mostrar_combobox(self, titulo, texto_etiqueta, lista):
        """
        MÃ © All to show a combobox on screen and get the option chosen
        """
        #print texto_etiqueta
        #dialogo = gtk.Dialog(titulo, None, 0, (gtk.STOCK_OK, gtk.RESPONSE_OK, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
    ...
    See more | Go to post
    Last edited by amskape; Mar 3 '16, 11:18 AM. Reason: Image not came

    Leave a comment:


  • amskape
    replied to How to quit a dialog within a function ?
    dear dwlabs,
    When I give that option in 'changed_cb' as below:
    Code:
      def mostrar_combobox(self, titulo, texto_etiqueta, lista):
        """
        MÃ © All to show a combobox on screen and get the option chosen
        """
        #print texto_etiqueta
        #dialogo = gtk.Dialog(titulo, None, 0, (gtk.STOCK_OK, gtk.RESPONSE_OK, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
        dialogo =
    ...
    See more | Go to post

    Leave a comment:


  • amskape
    started a topic How to quit a dialog within a function ?

    How to quit a dialog within a function ?

    Dear Friends,
    I am working in a python based application. I need an option to go
    a page with Dialog >> combobox option. But I could not close the dialog box on the onchange event of combobox. My current function is:

    Code:
      def mostrar_combobox(self, titulo, texto_etiqueta, lista):
        """
        MÃ © All to show a combobox on screen and get the option chosen
        """
    ...
    See more | Go to post

  • Dear Luk3r,
    I used following code for purpose and feel works fine 90% !!

    Code:
        if(direction == "backword"):
    	rev_counter = 0
    	for j in range(self.pos_indice,-1,-1):
    	    
    	    if(self.indice[j-1].tagName == "h1"):
    	       break
    	    else:
    	       rev_counter = rev_counter + 1
    	return rev_counter+1
    Please advise any further modifications.. .....
    See more | Go to post

    Leave a comment:


  • How to reverse a list for the purpose of finding the previous item with a condition ?

    Dear friends,
    I try to find the forward and backward content of a play list . The main item is identified using <h1> tag ...
    I wrote a code for forward item which works fine as below:

    Code:
        if(direction == "forward"):
    	counter = 0
    	for i in range(self.pos_indice,len(self.indice)):
    	    if(self.indice[i+1].tagName == "h1"):
    	       break
    	    else:
    ...
    See more | Go to post

  • How to make HTML contnent with same tag in each line using Sed

    I am looking in a an HTML file to modify for the purpose of easy parsing . I need to put each item of HTML after body to separate line.

    eg : my current HTML file is

    Code:
    <?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang="en" xml:lang="en"
    ...
    See more | Go to post

  • Dear dwblas,
    Thanks for your fantastic answer . It works fine with small indentation changes.
    Code:
    #!/bin/python  
    def process_group(group_in):
        print " ".join(group_in)
    with open("problem_html.txt", "r") as fp_in:
        starters = ["<h1", "<h2", "<span", "</body"]
        this_group = []
        for rec in fp_in:
    ...
    See more | Go to post

    Leave a comment:


  • How to modify the xml structure internally to work the program?

    Dear Friends,

    I have an application in Python which take input as an XML document. The XML document is supplied externally and cannot change it structure . But there is problem in alignment of XML. I am using xml minidom for parsing purpose.

    There is simple position change is enough. But I have no idea how to change the element of DOM i.e self.tree = MD.parse(ficher o) Please advise a good way ...

    Please...
    See more | Go to post

  • Dear donbock,
    I am using Ubuntu 15.10. The application is a C written program running in ubuntu...
    advise me

    Thanks
    Anes
    See more | Go to post

    Leave a comment:


  • amskape
    started a topic How does the file descriptor work on given C code
    in C

    How does the file descriptor work on given C code

    I am new to C programming file descriptor concept , working in an already developed code base. I have no idea regarding the following file descriptor concept .

    Code:
    if (misc->playing == -1 || misc->cd_type != CDIO_DISC_MODE_CD_DA)
          {
             fd_set rfds;
             struct timeval tv;
    
             FD_ZERO (&rfds);
             FD_SET (0, &rfds);
             tv.tv_sec = 0;
    ...
    See more | Go to post

  • How to create file in Google cloud storage using java

    Dear Friends,

    I am Using NetBeans to develop a Desktop application in Java. I am strong some project related data files in text
    format in my local folder(eg: E:\securestorag e) . I plan to store the same in google cloud . How it can done ..

    Please provide a sample java code for same purpose...

    Thanks
    Anes
    See more | Go to post

  • amskape
    started a topic C Program for AES Encryption/decryption of text
    in C

    C Program for AES Encryption/decryption of text

    Dear pals,

    We need an AES Encryption/Decryption program in C for college lab (Educational) purpose . So we cannot use any "aes.h" file for
    this . We need a C program which simulate the purpose of AES

    Input : Text (e.g: Anes P.A)
    key (e.g:123op)

    Output : Cipher Text using AES

    I look this funtionality done in a website : aes.online-domain-tools(dot)com

    ...
    See more | Go to post

  • amskape
    replied to RSA algorithm C program bug
    in C
    Yes donbock you are right.

    e must be an integer , 1<e<phi such that gcd(e,phi) = 1
    Thanks,
    Anes
    See more | Go to post

    Leave a comment:


  • amskape
    replied to How to ask a valid input in C
    in C
    Ok don I will look it ,

    @Weaknessfor : Yes I just remove that comment from my code , don't feel it as bad ...

    Waiting for your advise

    Thanks,
    Anes
    See more | Go to post

    Leave a comment:


  • amskape
    replied to RSA algorithm C program bug
    in C
    Dear @Don,

    you are absolutely right .

    IN RSA ALGORITHM IT(e - public key) MUST BE USE PRIME NUMBER WHICH IS NOT THE CONFACTOR OF 'PHI'
    Here we input (or randomly insert) two prime numbers p and q
    n = pq
    phi = (p-1)(q-1)
    e = must be a prime number - which we chcek now in this thread - but not cofactor of phi

    eg : if we give p = 11 & q = 3

    then phi = 10*2 = 20
    ...
    See more | Go to post

    Leave a comment:


  • amskape
    replied to How to ask a valid input in C
    in C
    Dear @Don,@weaknessf orcats,

    That line is deleted it's a commented code , just test it and comment .

    @ Don - Do you can provide that 2 functions which suite my need if possible , else I will look it and inform you soon.

    Thanks,
    Anes
    See more | Go to post

    Leave a comment:


  • amskape
    replied to How to ask a valid input in C
    in C
    Dear weaknessforcats ,

    I don't get your answer , do you can explain , I don't use i+2
    as you mention in code . Please advise me.

    Thanks,
    Anes
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...