User Profile

Collapse

Profile Sidebar

Collapse
linksterman
linksterman
Last Activity: Aug 11 '08, 04:51 PM
Joined: Jul 2 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Is there a way to overlay text on youtube videos?

    I want to make a simple app to overlay subtitles on youtube videos. Is there a way to do this and keep the files hosted on youtubes servers (eg just overlay the text with another flash app)?


    I have researched simple FLV players as a way to overlay text, but so far it seems youtube is being very hard at making the direct URL to the FLV very hard to obtain.
    See more | Go to post

  • linksterman
    replied to pure python based XML parsing
    ok, so i think i got this down...


    input:
    Code:
    >>> XMLParsers('<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0"><channel><title>RSS Example</title><description>This is an example of an RSS feed</description><link>http://www.domain.com/link.htm</link><lastBuildDate>Mon, 28 Aug 2006 11:12:55 -0400 </lastBuildDate><pubDate>Tue,
    ...
    See more | Go to post

    Leave a comment:


  • linksterman
    replied to pure python based XML parsing
    EDIT:
    nvr mind, that was easy:
    Code:
    class XMLParsers:
        def __init__(self, inputString):
            self.xml = inputString
            self.returne = []
            self.toplevel = 0
        def output(self, inputl):
            wow = []
            returnme = {}
            while inputl.find("</") > -1:
                key = inputl.split("</")[len(inputl.split("</"))-1].split(">")[0]
    ...
    See more | Go to post

    Leave a comment:


  • linksterman
    started a topic pure python based XML parsing

    pure python based XML parsing

    I am developing a program for the PSP, and so far the methods for processing XML's depend on dll's, so i cannot use them as they are not compiled for use with the PlayStation Portable, bout everything i see depends on expat which needs window dll's to work

    so is there a "pure" python library? one where EVERYTHING needed for processing XML is contained in a .py file?
    See more | Go to post

  • linksterman
    replied to chatroom encryption
    in Java
    i meant by today's current usable computers....
    See more | Go to post

    Leave a comment:


  • linksterman
    replied to chatroom encryption
    in Java
    not being able to be cracked in the lifetime of the sun...
    See more | Go to post

    Leave a comment:


  • linksterman
    started a topic chatroom encryption
    in Java

    chatroom encryption

    for my first quarter introduction to java class, i made a chat server + gui client, but for Q2, i want to make the messages encrypted....

    so I thought of this:
    have an RSA encryption work on a symmetrical key...

    then use the key to encrypt messages w/ symmetric encryption...

    change keys often.


    I dont know how secure this is. my teacher worked for a certain government institution,...
    See more | Go to post

  • linksterman
    started a topic autoscroll in jtextpane
    in Java

    autoscroll in jtextpane

    i have searched and searched to find the answer to this problem, but alas, it eluded me and i had to turn in my project without autoscrolling (which sucks since it is a chat client)

    i had to use jtextpane since it uses color but everything i have found says how to autoscroll in jtextarea

    for quarter 2 i would like to add autoscolling, so if someone could please help me.

    also how do you write the contents...
    See more | Go to post

  • linksterman
    replied to How to avoid non-static method?
    in Java
    It i do that then it says "non-static variable out cannot be referenced from a static context"

    in both ways that you mentioned....
    See more | Go to post

    Leave a comment:


  • linksterman
    started a topic How to avoid non-static method?
    in Java

    How to avoid non-static method?

    Sorry for making another thread ( I actually solved my other one).

    but this section of code I really need help on:

    Code:
        public void shutDown()
        {
            out.println("close"); 
            out.flush();
            System.exit(0);
        }
        public static void main(String[] args) 
        {
            ClientGUI mainWindow = new ClientGUI();
            mainWindow.pack();
    ...
    See more | Go to post

  • I found out what is causing all my problems but I dont know how to fix it... it is in the ClientServiceTh read Class of my code, where the while loop scans the global message continuously to see if it has changed.

    Any ideas?
    See more | Go to post

    Leave a comment:


  • Java Chat Server takes up 100% of CPU w/ 2 cnxns? Please help me find whats wrong

    I am making this pretty basic chat project, and I found this echo server on the internet and decided to modify it my needs (much of the methods and fields are the same).

    Basically what my program does is acts like a chat room. One computer runs the server which other java programs connect to and can communicate with one another. The problem is that this server I run is horribly inefficient.

    I had to use 2 threads for...
    See more | Go to post

  • linksterman
    started a topic Terminal, blocking text input... a way around?
    in Java

    Terminal, blocking text input... a way around?

    I am currently writing a server based IM type of a program for my java class. The problem is that the client (which runs in a terminal) blocks all incoming traffic as it waits for you to type a message. My question is how do I get around this? I tried creating a tread whose only purpose was to listen on the incoming port and print the message to the screen. But that didnt work. So I am kind of running out of ideas here. Any ideas on how to make...
    See more | Go to post

  • linksterman
    started a topic Python Window Navigator?

    Python Window Navigator?

    I was wondering if it would be possible to control windows through python. for example (just basic), just bring up a simple list of windows and then select which ones i want to close.

    the closest I have found was PyWM, but that is an entire window manager, and I just want something that sits on top of gnome.
    See more | Go to post

  • linksterman
    replied to python... pyglet... opengl... scaling
    Oops, embarrassing... I put down the wrong code :p

    Code:
    kitten = image.load('kitten.jpg')
    texture=kitten.texture
    
    def draw_scene():
        global kitten, texture
    
        # Draw the scene, assuming the fixed resolution viewport and projection
    
        # have been set up.
    
        glClearColor(0, 0, 0, 0)
    
        glClear(GL_COLOR_BUFFER_BIT)
        f=kitten.width
    ...
    See more | Go to post

    Leave a comment:


  • linksterman
    started a topic python... pyglet... opengl... scaling

    python... pyglet... opengl... scaling

    hey, I was experimenting with pyglet, and was trying out their opengl, but cant figure out how to scale images...

    Code:
    #!/usr/bin/python
    
    # $Id:$
    
    
    
    '''Demonstrates one way of fixing the display resolution to a certain
    
    size, but rendering to the full screen.
    
    
    
    The method used in this example is:
    
    
    
    1. Set the OpenGL viewport
    ...
    See more | Go to post

  • upgrade from xp to vista, use hp recovery disc to get back?

    title pretty much explains it self.
    i want to know if I upgrade my xp system to vista, if i can ever get back to XP by either using the recovery disc i created, or the recovery partition on the HDD
    See more | Go to post

  • linksterman
    replied to dual core threading
    wow, that is just what i needed, networked and multiple core support... thanks. this will provide me with some enjoyment and experimentation the next few days....
    See more | Go to post

    Leave a comment:


  • linksterman
    started a topic dual core threading

    dual core threading

    Ive done several searches, but i still cant find anything about how to do dual core threading w/ python. currently my program will use 100% of only one core.
    See more | Go to post

  • linksterman
    replied to HTML entities replacement
    well like &apos is an apostrophe. there are dozens and dozens of these.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...