Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
90% Quality Score
Upvotes Received
11
Posts with Upvotes
8
Upvoting Members
10
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
~65.0K People Reached
Interests
Programming Python C++ MMA / UFC
PC Specs
Dell Dimension E510 Debian 'Lenny'
Favorite Tags

75 Posted Topics

Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for codewar

Well for one when you initialize Product product = new Product("200.00", 0); there the second argument should be the price. In this case it is 0 the first argument should be the product name. Then instead of hard coding the string "HP ENVY x360 TouchSmart" you can use the objects …

Member Avatar for codewar
0
220
Member Avatar for ShadyTyrant

I know this is kind of a noob question but I have been given a project where I am not allowed to use scaffolding. I didnt auto generate this code but the form is being auto generated by this code. <div class="row"> @Html.LabelFor(model => model.FirstName, "First Name") @Html.TextBoxFor(model => model.FirstName) …

Member Avatar for PoorRogue
0
118
Member Avatar for vuyiswamb

I am not too fimilar with asp.net but with mvc I know that shared assets like this should be in the Content directory. Sorry if this doesnt help much.

Member Avatar for JorgeM
0
961
Member Avatar for behemothdave

There are a few errors here. First instead of using: [CODE] Form1.DefaultBackColor(Color.Red); [/CODE] Try [CODE] this.BackColor = Color.Red; [/CODE] for each time you were using that method. Also every time you click the button a new random number is generated. You should put : [CODE] Random num = new Random(); …

Member Avatar for TalhaMoazSarwar
0
2K
Member Avatar for ShadyTyrant

So basicly I am just looking for opinions on Computer Science degrees. I am currently a full time web developer for an ad agency. I am looking to increase my value, and create new opportunities outside web development. Should I go for a degree in Computer Science, or are there …

Member Avatar for jwenting
0
330
Member Avatar for ShadyTyrant

I am trying to refactor some code that selects a category from a database and then displays the listing on a website. Basicly it looks like this: if($_GET['category'] == 'All') { $results = mysql_query("SELECT * FROM members ORDER BY company ASC"); } elseif($_GET['category'] == 'Alterations') { $results = mysql_query('SELECT * …

Member Avatar for ShadyTyrant
0
216
Member Avatar for thak123

Look into the form action attribute. http://www.w3schools.com/tags/att_form_action.asp <form id="test" name="myForm" method="post" action="pageToPostBackTo.html"> </form>

Member Avatar for ShadyTyrant
0
99
Member Avatar for LastMitch

Should be an easy fix. Look into mysql_select_db mysql_select_db("my_db", $con); http://php.net/manual/en/function.mysql-select-db.php http://www.w3schools.com/php/php_mysql_select.asp

Member Avatar for LastMitch
0
159
Member Avatar for ShadyTyrant

I am working on a redirect script for a fancybox that loads a video, and then redirects the user to a new webpage when the fancybox is closed. I have the loader, and the redirect working. However every video that is loaded redirects to the same page. I believe this …

0
99
Member Avatar for ShadyTyrant

I have recently been hired by a local video production company to design, and develop websites for them and there clients. I am confident in my ability to write the website, however being my first job ever in this industry I want to do well and secure my position. Does …

Member Avatar for EvolutionFallen
0
110
Member Avatar for ShadyTyrant

If you could change one thing about C# or the .Net framework what would it be? If I could change one thing about C#, using would be imports.

Member Avatar for thines01
0
134
Member Avatar for ShadyTyrant

Ok first off when I use VisualStudio2010 and I try to add a TextBlock or other control from the toolbox I get an error like this: System.InvalidOperationException Layout measurement override of element 'Microsoft.Windows.Design.Platform.SilverlightViewProducer+SilverlightContentHost' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size. at …

0
65
Member Avatar for aj9393

I have not ran the code above, but I believe this is because the 'else' is only connected to the 'go east' choice not the if statements above it. Try making 'west' and 'east' elif statements. Also you could make them all if statements, remove the else and push in …

Member Avatar for woooee
0
212
Member Avatar for ShadyTyrant

I came across a problem that I hope you guys can help me with. On register I generate a random salt, hash the password with it and a system salt, and place it in the database. On login I generate a hash from the input password the salt that is …

Member Avatar for ShadyTyrant
0
120
Member Avatar for ShadyTyrant

I am developing a website that will host lots of user information. Things like avatar images, personal information, information about the users skills, etc. I will also be implementing a forum at some point. I am using a MySql db just to be clear. Ok now, I need some ideas …

Member Avatar for seslie
0
153
Member Avatar for ShadyTyrant

I am creating a library database application. I created a custom Book class to hold data from the database. My library class lets me access the data and some methods return Book objects. The problem is when I need to return more then one Book. I want the method to …

Member Avatar for ShadyTyrant
0
169
Member Avatar for bigsand

You could check the browser type and redirect smart phone's to a mobile version of the site. Using only technology's that are currently supported by most smart phones (eg. html, css, javascript, etc...). You could replace the entire site and remove the flash. You could also wait until more smart …

Member Avatar for ShadyTyrant
0
137
Member Avatar for Mirfath
Member Avatar for ShadyTyrant

I have a theory about the design of a new site I am working on. If a user accounts table is in one database, and the site content tables in another database, then it would be impossible for a hacker to use SQL injections in a form unrelated to the …

Member Avatar for joehms22
0
141
Member Avatar for skydivekrazy

Why is windows forms out? I think learning windows forms sounds perfect for what you want to do. If you need something more powerful I would suggest WPF. [URL="http://windowsclient.net/"]http://windowsclient.net/[/URL] [URL="http://www.java2s.com/Tutorial/CSharp/0460__GUI-Windows-Forms/Catalog0460__GUI-Windows-Forms.htm"]http://www.java2s.com/Tutorial/CSharp/0460__GUI-Windows-Forms/Catalog0460__GUI-Windows-Forms.htm[/URL] [URL="http://www.java2s.com/Tutorial/CSharp/0470__Windows-Presentation-Foundation/Catalog0470__Windows-Presentation-Foundation.htm"]http://www.java2s.com/Tutorial/CSharp/0470__Windows-Presentation-Foundation/Catalog0470__Windows-Presentation-Foundation.htm[/URL]

Member Avatar for skatamatic
0
197
Member Avatar for Manorly

Next you should be thinking about the car class. What are the similarity's between all of the objects that inherit from it. What type of property's and/or field's do all these cars share. Also you can then think about what methods will all the cars have in common. Now you …

Member Avatar for ShadyTyrant
0
138
Member Avatar for vatwindad

Your CheckRange method works just fine. How ever I don't think your printing the results of that to the console. You are not doing anything with the information that CheckRange is providing.

Member Avatar for vatwindad
0
308
Member Avatar for ShadyTyrant

I am trying to install sql server 2005 express edition from the visual studio 2008 CD. This is the error I get. [CODE] [04/19/11,00:56:13] Microsoft Visual Studio 2008 Professional Edition - ENU: [2] CMSIDirectory::SetDirectory - Invalid argument ***EndOfSession***[04/19/11,00:56:13] Microsoft Visual Studio 2008 Professional Edition - ENU: [2] CMSIDirectory::SetDirectory - Invalid …

Member Avatar for ShadyTyrant
0
362
Member Avatar for ShadyTyrant

I need a little help connecting to an oracle database. I keep getting this error: Data provider internal error(-3000) [System.String]. [CODE=C#] using System; using System.Collections.Generic; using System.Linq; using System.Text; using Oracle.DataAccess.Client; using Oracle.DataAccess.Types; namespace OrcaleTest { class Program { static void Main(string[] args) { string connectionString = "user id=travus;password=password;data source=127.0.0.1"; …

Member Avatar for stbuchok
0
611
Member Avatar for duliduli556

[CODE] <html> <head> </head> <body> <div class="border"> <?php include 'external_file.php'; ?> </div> </body> </html> [/CODE] For an external file you can do this as well.

Member Avatar for diafol
0
114
Member Avatar for ShadyTyrant

Hello I have a web site called shadygames. I want to make sure that all the information is filled out in a contact form I have set up. I am using ajax to update the page if more information is required by the user. I have the email validation working …

Member Avatar for McLaren
0
170
Member Avatar for ShadyTyrant

I am trying to optimize some code I have written. I do not wish to add 0 to my list if it is already set to zero. So it only needs to be changed if the letters or words do not match. Here is the working code (You will also …

Member Avatar for ShadyTyrant
0
585
Member Avatar for ShadyTyrant

How can I get my editor to expand both horizontal and vertical? I have a simple test application that uses a subclass of a StyledTextCtrl. I create my editor object in a subclass of wx.Frame. [CODE=python] def CreateEditor(self): myEditor = editor.SyntaxControl(self) # subclass of StyledTextCtrl sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(myEditor, 0, …

Member Avatar for ShadyTyrant
0
472
Member Avatar for Techwriter10

Hey thanks for your overview of the current state of wave. I have been wondering about the progress of this application for some time now. Also if anyone would like to send me an invite that would be fantastic! <EMAIL SNIPPED>

Member Avatar for flashfango
3
1K
Member Avatar for ShadyTyrant

Recently I have been writing my own Python editor for fun. I have came pretty far but now I have some issues. My editor object is in my notebook but wont go to the bottom of my window. I can get it to expand across the screen but not down. …

Member Avatar for ShadyTyrant
0
105
Member Avatar for khess

[QUOTE=swiftnet;1224199]I may be paranoid but isn't MS working closely with Yahoo now?[/QUOTE] Microsoft doesn't play nice with other company's. If MS is getting close to Yahoo it is most likely planing a takeover. Anyways if we all just used igoogle instead of yahoo you could get all the linux news …

Member Avatar for khess
0
1K
Member Avatar for dbphydb
Member Avatar for TrustyTony
0
983
Member Avatar for ShadyTyrant

Well I have reflected on why my first proposal for a open source project failed. We had no base to build on, and there was to much administrivia that made us loose interest in the project. Since then I have come up with a new project idea. I started simple …

0
101
Member Avatar for pythonNerd159

You need to bind each button to an event handler and then append the Entry box's text in each handler according to what button was pressed.

Member Avatar for pythonNerd159
0
127
Member Avatar for ShadyTyrant

I just reinstalled windows XP, and then installed ubuntu next to it. XP can't find my modem at all (version DSL). I created a new connection with my user name and pass. When it trys to connect to the WAN (PPPOE) it just gives me a connection error. When I …

Member Avatar for donkey_pasta
0
175
Member Avatar for yoni0505

Check out the following links. [URL="http://tinyurl.com/ybk47rv"]Google[/URL] [URL="http://www.voidspace.org.uk/python/articles/urllib2.shtml"]Voidspace[/URL]

Member Avatar for snippsat
0
139
Member Avatar for A_Dubbs

I am not really sure, but what type of image are you trying? jpg, gif, etc...

Member Avatar for Ene Uran
0
1K
Member Avatar for cascade3891

I use wxPython + wxGlade. It lets me first focus on the design then I can worry about the code. Great for RAD!

Member Avatar for vegaseat
1
525
Member Avatar for joehms22

You could edit a port scanner for your needs. [URL="http://www.coderprofile.com/networks/source-codes/659/python-port-scanner"]http://www.coderprofile.com/networks/source-codes/659/python-port-scanner[/URL]

Member Avatar for SoulMazer
0
442
Member Avatar for RandV80

python 3.x uses the print() function not the print keyword. [CODE] print('Usage: celsius temp1 temp2 ...') [/CODE]

Member Avatar for RandV80
0
7K
Member Avatar for gangster88

[CODE] import random def main(): times = getInputs() heads, tails = simulateFlips(times) displayResults(heads, tails) def getInputs(): times = int(raw_input("please enter the number of times the coin should be flipped: ")) return times def simulateFlips(times): heads = 0 tails = 0 for i in range(times): if random.randint(1,2) == 1: heads += …

Member Avatar for charlottetemp
0
1K
Member Avatar for ShadyTyrant

Hello, I am thinking about creating a portfolio. I would like your ideas and opinions on what types of things I should place in my portfolio. I know I will place my resume on the first or second page. I am mostly a programmer so I will be showing off …

0
45
Member Avatar for leegeorg07

Well you could check out [URL="http://code.google.com/hosting/"]Google Code[/URL] or [URL="http://sourceforge.net/"]Source Forge.[/URL]

Member Avatar for leegeorg07
0
116
Member Avatar for ShadyTyrant

Well I am not really new here but I never posted a formal intro. I am an Information Technology student and i simply love programming and most things tech. I frequent the python forum since it happens to be my favorite language, however I do know others (C++(gross I know), …

Member Avatar for ShadyTyrant
0
167
Member Avatar for Faiyaz Ahmed.S
Member Avatar for ShadyTyrant
0
20
Member Avatar for Stefano Mtangoo

I use Geany when I need a lightweight IDE. It is fantastic once you get it configured to your needs. I use it all the time. I also use Netbeans with python / jython plugins. When you need an integrated debugger, intelli-sence, and other features of industrial strength IDE I …

Member Avatar for Stefano Mtangoo
0
125
Member Avatar for dominique7

Welcome and enjoy your stay! I was a bit confused by this line you wrote "I am french, from Germany and currently live in London ". So an easy way to clear it up is to ask, what is your native language?

Member Avatar for dominique7
0
44
Member Avatar for ffs82defxp

[CODE] def range_display(integer): # range_display(parameters) set = [] for num in range(0, integer): range_list = set.append(num) return range_list range_display(10) # range_display(arguments) [/CODE] You seem to have it correct. When you define a function you set the "parameters" inside the "()". And when you call the function you supply the "arguments" …

Member Avatar for snippsat
0
93
Member Avatar for lafigueroa
Member Avatar for ShadyTyrant
0
87

The End.