- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 17
- Posts with Upvotes
- 12
- Upvoting Members
- 12
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm a software developer currently completing my final year of Software Design in university. I'm most experienced with Java, JavaScript (Node.js, jQuery, CoffeeScript), PHP and Python. I'm your typical early 20's technology fanatic.
- Interests
- Programming, Music, Sports
- PC Specs
- Building a new one after I graduate. Currently using Samsung laptop, Intel Core i3, 6GB RAM, 1TB Hard…
26 Posted Topics
Re: I'm only new around here, but it seems like a good community where something like the current IRC channel could be put to good use. In my experience with other websites and forums, something like that comes in handy when people in a specific thread want to have a more … | |
Re: The best game I've played would have to be Red Dead Redemption (that game was a masterpiece). The game I've had the most fun with was Portal 2 though. Also, I'll throw in a quick shout out for Super Mario, because, lets be honest, everyone loves a bit of Mario … | |
Re: Linux is open-source and most of it's distributions (Ubuntu, Fedora, etc) are available to download online. Also, you didn't actually provide any address? | |
![]() | Re: Would it be possible for you to post the code for one of the pageofposts files (since you said they're both pretty much the same anyway)? Also, could you just confirm that there are two categories created and all posts are the same (were created using Posts > Add New) … ![]() |
Re: Side projects, side projects and more side projects. That's what I would do anyway. I don't get my winter break from college until he 21st. Even then, I have a massive project I've to get done which makes up a large portion of the marks I receive for my degree. … | |
Re: Start a session and store the selected option in a session object. session_start(); $_SESSION['cake'] = $_POST['cakes']; Then check if the current radiobutton is equal to the session variable, if it is set it to "selected". <input type="radio" name="cakes" value="blackforest" <?php if ($_SESSION['cake'] == "blackforest") echo "selected=\"selected\""; ?> /> ![]() | |
Re: If you've ever done any Node.js, there's an abundance of open-source modules out there that need to be tested, have features added and get bug fixes. Just pull one off GitHub and look through the readme for any noted issues/bugs. If you haven't got any experience with Node, as AleMonteiro … | |
Re: I personally think Java is one of the easiest languages to learn to use. That's not to say it hasn't got any difficult parts, or that it's easy to master. It just has a lot of things going for it. 1. The Java API - This is like a bible … | |
Re: It probably has something to do with accessing the row[field1] value using single quotes, which may be being read as the closing quotation mark to the original. Try this: $dirPath = $row['field1'] . '-' . $row['field2'] . '-info'; | |
Re: On lines 107 and 127, you are trying to check which radio button was selected. However, you used the `choice` object. You set this object to be assigned the source of the event (submit or clear button). To check which radio button (pickUp or delivery) was selected, simply replace those … | |
Re: That's a problem on the server-side of that website. Only the website administrators can fix that. You could try and access cached versions of some of the sites pages using [archive.org.](http://archive.org/index.php) ![]() | |
Re: That seems to be compiling in my IDE anyway. Just ensure that both .java files are in the same package (directory) and run the project. Creating a project with multiple classes isn't any different from creating a project with one class. Once the classes are public and in the same … | |
Re: They switched to a responsive layout, which makes it easier for them to cater for users with any screen size. I think it looks great, definitely a big improvement. | |
Re: WordPress does this a lot when you switch between visual and html views. If you stick with the visual editor, it will have to add it's own elements and classes where it deems them necessary. If it's generating an unwanted class on your site that is causing a styling issue, … | |
Re: I really don't want to sound rude, or like I don't want to help people understant the basics of programming (which I do), but you should probably make an attempt at it before expecting people to just hand you the answers. You haven't even mentioned what part is troubling you. | |
Re: As far as I'm aware, it is possible to include files from another server. There is a common security setting PHP sets to avoid this called `allow_url_fopen` which has to be changed. It is not good practice to do so though, because urls can change. The following is the best … | |
Re: To print only the "white" furniture, use an `if` statement inside your `for` loop to check if the color of `f[i]` is equal to "white". If it is, print out what you need to print. To print the total cost, create a variable of type `int` before you start your … | |
Re: Honestly, I opened it up in Eclipse but the sheer amount of errors means it would take me a lot of chopping and changing to get it to compile. Here's a list of things you should do to get rid of some of those errors: 1. Wherever you reference a … | |
Re: You'll need to elaborate on what `ie` is. I'm going to assume this is inside of an event listener of some sort. If that is the case, you shouldn't be casting both `JComboBox` objects to the source of the event. | |
Re: The problem is that :first-child is a pseudo-class that is not supported by anything less than IE8. The first solution you gave is an attribute selector, which should be supported by IE7, you have to ensure you specify a doctype at the top your html file though. If that doesn't … | |
Re: If you want to sort an array of Strings, you can do the following: // An example array of Strings String[] myArray = new String[] {"orange", "banana", "apple", "melon", "grape"} java.util.Arrays.sort(myArray); | |
Re: If you're just looking to add a plus sign at the beginning of a sequence of numbers, then it's as simple as the following: $number = 1234567890; $complete_number = "+" . $number; Just ensure the + sign is inside the quotation marks. Sorry if that's not what you're looking for, … ![]() | |
Re: $('#main_nav_fixed').stop().fadeIn(500); } else { $('#main_nav_fixed').stop().fadeOut(500); That's where it will have to be put. It also takes two arguments which can be added in if you want to remove the queued animation or if you want to complete the current animation immediately (both default to false). See [here](http://api.jquery.com/stop/) for more information … | |
Re: function isTruthy(a,b) { if (a) setTrue(b); else setFalse(b); }; This is not checking whether the array is empty, it's simply checking if that object/variable exists. function isTrue(a,b) { if (a === true) setTrue(b); else setFalse(b); }; This outputs false because you're comparing the array object to the primitive value `true`. … | |
Re: Take joshmac's advice and include `session_start()` at the top of your pages. Also, you are not outputting the line: $str = "document.getElementById(\"".$var."\")" .(($var=="descr")?".value=\"":".innerHTML=\"") .$_SESSION[$var]."\";\n"; You never use the variable `$str` as far as I can see. The line should be: echo "document.getElementById(\"".$var."\")" .(($var=="descr")?".value=\"":".innerHTML=\"") .$_SESSION[$var]."\";\n"; | |
Re: To get to the theme editor, you have to go to Appearance > Editor in the administration menu on the left of WP-Admin. In here: * If you want to edit the content/html, you'll be editing the php files in the menu on the right. * If you want to … |
The End.