Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
64% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #607
~44.8K People Reached
Interests
Punk rock, Ska, Music, skateboarding, Programming, Networking, Computers in General, anything UNIX/Linux
PC Specs
Intel dual core 2.4GHz, 2GB memory, 500GB Harddrive, ATi Radeon HD 2600xt, running Debian Linux with…
Favorite Tags

67 Posted Topics

Member Avatar for A_Dubbs

The way i see most fit is having it take input(intergers only) until the user enters a blank line, like so: [CODE] numbers=[] print "Enter your numbers and enter a blank line when done \n\n" while True: n=raw_input('#') if n==None: break numbers.append() [/CODE] also it's best to use the raw_input …

Member Avatar for B dawg
0
941
Member Avatar for template

In my opinion if you optimize the code enough it will make it pointless to decompile because the decompiled code will be just as confusing as the bytecode. If you are really desprite you could take a packing approach, compile your swf encrypt it, make a small flash app that …

Member Avatar for çadır
0
212
Member Avatar for aripaka

I've been using Linux for a long time and noticed that it is a lot harder to exploit loop holes in it, to run an executable it must be Chmoded, to access gain write access to anything out side of your home folder you must be root, and security holes …

Member Avatar for itexamstube
0
3K
Member Avatar for Tech B

I did something similar except I made 2 versions, one put the logs on a FTP server, one emailed the log. You could also try your hands at a linux keylogger, jut use xorg's xlib.

Member Avatar for Tech B
0
4K
Member Avatar for newsguy
Member Avatar for sinisterduke

Pygame and py2exe don't get along well, you have to do a few things to get it working. Take a look: [url]http://www.moviepartners.com/blog/2009/03/20/making-py2exe-play-nice-with-pygame/[/url] A great idea is to make a list of the modules you need.

Member Avatar for tendragons
0
596
Member Avatar for camthalion95

[QUOTE=camthalion95;647418]Ok, Where can i dwnld it? And why is your name linux and you have XP?[/QUOTE] Many people run Linux for programming boxes, servers, gateways, yet they still use XP as there recreational OS. I however go all out *NIX. Just a matter of preference.

Member Avatar for laima
0
206
Member Avatar for Shadow-Illusion

Well it looks like you may be opening the file wrong, i don't know why is raising that error, you're not even using a list object. Try this: [CODE] import MySQLdb, csv, sys conn = MySQLdb.connect (host = "localhost",user = "a", passwd = "b",db = "c") c = conn.cursor() csv_data …

Member Avatar for djmagba
0
3K
Member Avatar for gunbuster363

Recoding never hurts, usually the first things I do to optimize codes is replace all range() funstions with xrange(), then I look for loops that can be replaced with lambda, then I look for if statments that can be changed to elif so it doesn't have to go over unnecessary …

Member Avatar for amrutraj
0
6K
Member Avatar for khess

Like I said in former comments on your articles. If we keep making Linux more and more user friendly its not going to suit the needs of the original tech saavy users. And this has already started to take effect, I mean look at Gnome, its tries to integrate as …

Member Avatar for khakilang
1
591
Member Avatar for veledrom

[QUOTE=necrolin;1081642]sudo apt-get remove "packageName" or you could easily use of of the GUI tools to do it as well. If you want to know more about the options available in apt-get try: man apt-get and you'll get the manual page which lists the options for the package manager.[/QUOTE] Don't encourage …

Member Avatar for hughv
0
155
Member Avatar for kevintse

Using a standard library may allow your software to be cross-platform or easier to port to another platform. I'd say stick with the standard library, it'll be much easier and keep everything OO.

Member Avatar for Frederick2
0
232
Member Avatar for hondros

[QUOTE=jice;1084331]You should use modules like pickle or marshal to serialize and load your datas...[/QUOTE] I really agree with jice, but keep in mind the Pickle module shouldn't be used for anything that would requires good security, theres a good amount of exploitable loop holes that will most likely never be …

Member Avatar for hondros
0
174
Member Avatar for coffeebox

Maybe instead of using rsync, you can implement your own crossplatform version of rsync. You could also multithread is and/or use the multiprocessing module to provide multiple CPU support so copying can go much faster. Another good idea is to make a daemon out of it, and have it backup …

Member Avatar for ov3rcl0ck
0
208
Member Avatar for EvaDo
Member Avatar for Gribouillis
0
182
Member Avatar for kaydub123

Hot damn, why such and odd Variable name? Just name it weight or something simple, I'm pretty sure you can't use "{" or "}" in a variable name.

Member Avatar for masterofpuppets
0
136
Member Avatar for rajeshwari_ib

You can use the PIL(python image library) to convert an image to a string and store the string in your database.

Member Avatar for ov3rcl0ck
0
163
Member Avatar for Japus

You can call APIs in your OS to display images, or you can link up to some C libraries, maybe just link to some OpenGL libraries.

Member Avatar for ov3rcl0ck
0
246
Member Avatar for suki_boy
Member Avatar for ov3rcl0ck

I'm trying to strip HTML tags and replace certain tags with newlines and tabs. I just can't figure out a function to do this, any ideas? I'd prefer to use regex instead of a library.

Member Avatar for jlm699
0
109
Member Avatar for functionalCode

lets say we want to use the C library "stdio.h", we need to use the extern and call instructions. Like so: [CODE] extern _printf ;allows you to access the printf functions from stdio.h; ... mov ecx,5 push ecx ;push ecx on the stack for stdio; push YOURTEXT ;replace YOURTEXT respectively, …

Member Avatar for ov3rcl0ck
0
97
Member Avatar for coolbuddy059

I recommend starting out with packet capturing on TCP/IP and UDP protocols.

Member Avatar for rahul8590
0
168
Member Avatar for mps727

Proprietary drivers may be the only solution, wireless drivers are a well kept secret. I'd recommend installing the proprietary driver but if that fails you look into Ndiswrapper.

Member Avatar for mikeP32
0
269
Member Avatar for sanchitgarg

[QUOTE=vishesh;1036765]Well there are several algorithms to generate random number, simplest to my knowledge being [URL="http://en.wikipedia.org/wiki/Linear_congruential_generator"]Linear congruential generator(LCG)[/URL]. The general formula for LCG is [TEX] X_{n+1} = \left( a X_n + c \right)~~\bmod~~m [/TEX]. The recommended value for a, m, c are given in Wikipedia page. It is recommended use those …

Member Avatar for sanchitgarg
0
9K
Member Avatar for leegeorg07
Member Avatar for P00dle

open it in binary mode. In unix however binary mode isn't needed but using 'wb' or 'rb' instead of 'w' or 'r' doesn't hurt. This should copy the file contents of a file to another no matter the content: [CODE] fi=open("filein", 'rb').read() fo=open("fileout",'wb') fo.write(fi) fo.close() [/CODE] In windows you just …

Member Avatar for P00dle
0
163
Member Avatar for PixelHead777

Buddy you are not using enough functions, if you need everything in one function(sometimes teachers require this) you can declare functions within a function but it gets pretty messy.

Member Avatar for woooee
0
229
Member Avatar for nerdagent

Its going to be platform dependant, for windows you're going to have to use the win32 library and for Linux(and some unix flavors) you're going to have to use xlib, unfortunatly xlib for python is horribly documented.

Member Avatar for ov3rcl0ck
0
80
Member Avatar for kiel19

WEP is very unsecure, it can be cracked in minutes, sometimes seconds. You should really go with WPA/2.

Member Avatar for ov3rcl0ck
0
187
Member Avatar for mohankumar554
Member Avatar for fferrandini

This seems more like a POP sever error than a python error. I don't think this is the right forum, but if you tell me what server you're using to host POP I might be able to help.

Member Avatar for Gribouillis
0
191
Member Avatar for Stefano Mtangoo

Pygame is rather simple, but only supports 2D unless you use opengl with it. Panda3D(if we are talking the same engine) is a robust 3D engine designed by disney. If you want 3D go panda, 2D go pygame.

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for djames101010

There are modules for python that allow you to execute javascript, but this might be messy. You could fetch the Jscript with urllib, run the javascript and fetch whatever is returned. Browser macros would be easier, but if you want to distribute this program then i wouldn't recommend macros.

Member Avatar for ov3rcl0ck
0
78
Member Avatar for tomtetlaw

Facebook has its own API, googles appengine wouldn't be the right way to go in my opinion. You're gonna need a program running on the users computer that will submit the status, because browser scripts cannot do this without exploiting some sort of flaw(which isn't good). I think you should …

Member Avatar for ov3rcl0ck
0
111
Member Avatar for PixelHead777

Wow thats a mess of code, try sorting some stuff into functions to make a little more clear first off, I can take a look at it later. Also I'd move the portion where you select your player name out before the loop so you don't have to set it …

Member Avatar for PixelHead777
0
207
Member Avatar for Brent_Ritterbec

You must know lower level C, and I'd recommend a little knowledge in assembly. Also another good book is "Professional Linux Kernel Architecture". Linux Kernel programming isn't easy to buckle down your sanity, and try not to turn into Richard Stallman.

Member Avatar for 50701735
0
179
Member Avatar for persianprez

[QUOTE=jlm699;998482]In order to read the contents of [icode]code.txt[/icode], you'll need to read the [URL="http://docs.python.org/library/sys.html#sys.stdin"]stdin pipe[/URL]. To access it, use the [icode]sys.stdin[/icode] handle, which you can read from just like an open file handle. You'll need to use the sys module, obviously. The rest is just coding the cypher. HTH[/QUOTE] alternatively …

Member Avatar for ov3rcl0ck
-1
291
Member Avatar for masterofpuppets

Either you can learn to photoshop it out, or you can see if your game engine supports transparency of white backgrounds(like pygames does).

Member Avatar for ov3rcl0ck
0
137
Member Avatar for Dixtosa

you're not making much sense... Do you want to have that processes running on another thread so you can continue doing something else? Do you just want to execute that little script then after it finishes it moves on? What are you trying to do EXACTLY?

Member Avatar for ov3rcl0ck
-2
264
Member Avatar for wasiflaeeq

If theres a firewall its going to be on the network gateway which means any device connected to that network must go through the firewall. It makes no sense that the cell phone is able to do this, but it is possible that you have a firewall set up on …

Member Avatar for ov3rcl0ck
1
132
Member Avatar for sci-kode
Member Avatar for jto
Member Avatar for ov3rcl0ck
0
129
Member Avatar for jto

I say make a centralized server with an antivirus; for sake of example lets say the AV is ClamAV, you make a small python script that allows users to send files to that server to be scanned(over a LAN), the server returns a boolean value(true or false) true meaning there …

Member Avatar for ov3rcl0ck
0
175
Member Avatar for LiBOC

Hardware firewalls are still software based, and yes there still can be bugs. Hardware firewalls are used to provide a single firewall for a whole network instead of having one on each computer, it may also save you a bit of resources, but for Linux the firewalls built into the …

Member Avatar for ov3rcl0ck
0
249
Member Avatar for latin
Member Avatar for ov3rcl0ck
0
136
Member Avatar for awn

You can always use "clr"(windozes) or "clear"(*NIX) to clear like so, [CODE] import os os.system("clear") [/CODE] Or you can take a look into curse UIs.

Member Avatar for ov3rcl0ck
0
75
Member Avatar for saikeraku

First off you're generating the discounts wrong, and secondly you're not printing the right variable, thirdly you need to start the if statment with the highest value($1000) otherwise it will be caught by the "if purchased >= 200:" if statement be cause it IS larger than 200. Try this: [CODE] …

Member Avatar for masterofpuppets
-1
152
Member Avatar for jingo1126

A project i had in mind for learning a few things in assembly is redoing some UNIX commands in assembly.

Member Avatar for jingo1126
-1
160
Member Avatar for fma_circuit

First off no ones gonna do your work for you. And you've only posted once, to ask this question, so most likely you were looking for someone to do your work and once that's done you were just going to leave; Taking and not giving.

Member Avatar for NotNull
-1
122
Member Avatar for x3277789

Looks like you're gonna have to program a HTML parser, not the funest but I've done something similar. You're gonna have to loop through and take every thing that starts with < and copy that and everything between the closing including the > into a object in a list, everything …

Member Avatar for ov3rcl0ck
-1
256

The End.