- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 11
- Posts with Upvotes
- 8
- Upvoting Members
- 10
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- Programming Python C++ MMA / UFC
- PC Specs
- Dell Dimension E510 Debian 'Lenny'
75 Posted Topics
Re: Their study guides are coma inducing bricks of text. -- E-5 | |
Re: 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 … | |
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) … | |
Re: 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. | |
Re: 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(); … | |
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 … | |
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 * … | |
Re: 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> | |
![]() | Re: 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 ![]() |
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 … | |
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 … | |
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. | |
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 … | |
Re: 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 … | |
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 … | |
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 … | |
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 … | |
Re: 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 … | |
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 … | |
Re: 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] | |
Re: 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 … | |
Re: 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. | |
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 … | |
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"; … ![]() | |
Re: [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. ![]() | |
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 … | |
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 … | |
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, … | |
Re: 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> | |
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. … | |
Re: [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 … | |
Re: What I think he is trying to say is, opening the page == clicking link. | |
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 … | |
Re: 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. | |
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 … | |
![]() | Re: Check out the following links. [URL="http://tinyurl.com/ybk47rv"]Google[/URL] [URL="http://www.voidspace.org.uk/python/articles/urllib2.shtml"]Voidspace[/URL] |
Re: I am not really sure, but what type of image are you trying? jpg, gif, etc... | |
Re: I use wxPython + wxGlade. It lets me first focus on the design then I can worry about the code. Great for RAD! | |
Re: 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] | |
Re: python 3.x uses the print() function not the print keyword. [CODE] print('Usage: celsius temp1 temp2 ...') [/CODE] | |
Re: [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 += … | |
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 … | |
![]() | Re: Well you could check out [URL="http://code.google.com/hosting/"]Google Code[/URL] or [URL="http://sourceforge.net/"]Source Forge.[/URL] ![]() |
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), … | |
Re: 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 … | |
Re: 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? | |
Re: [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" … | |
The End.