View previous topic :: View next topic |
Author |
Message |
GesterX
Joined: 24 Dec 2007 Posts: 1242 Location: Birmingham, UK
|
Posted: Sun May 02, 2010 9:45 am Post subject: |
|
|
Eastwinn wrote: | Just want to chime in and say that learning from a book is superior than learning form the internet. By far. Books have a structure to the way they teach you things that you lose inherently in Google searches.
|
Yes. This. Most books teach you a concept. The get you to apply that concept. Then expand the concept. Always get a book rather than using the Internet. Although the internet is great for when you get stuck on something or once you've grasped the fundamentals.
As for me, I'm studying Computer Science at Aston University, UK. I'm currently on placement year, which means I have a real job at the package company TNT, where I do many code-based things. Then in October back to Uni for final year. If you ever get chance to do a placement year I STRONGLY RECCOMMEND IT. The amount of motivation going 40 hours per week gives you is immense. When I go back to Uni next year, a 20 hour timetable si going to seem like nothing.
The languages we cover at Uni are:
Java (by far my strongest), C++, OpenGL, Lisp, Haskal, Python, SQL, PHP, Javascript, and Ada. |
|
Back to top |
|
|
Urisma
Joined: 04 Aug 2007 Posts: 220 Location: The Woodlands, Texas
|
Posted: Sun May 02, 2010 5:39 pm Post subject: |
|
|
OpenGl isn't a language, it's an API Well, it does have a shader language though, so I guess it technically is.
Anyway, GesterX, what sort of things do you do on the job? I have to intern a fair amount for the magnet school I attend, so what sorts of things should I expect, in general? What's the daily routine like? |
|
Back to top |
|
|
pyrobob
Joined: 09 Apr 2008 Posts: 880 Location: In a tree in Katy, Tx.
|
Posted: Mon May 03, 2010 7:25 am Post subject: |
|
|
I need to pick up some form of programming aside from PHP and the abomination that is Flash. However, going into the Networking field I'm not sure I'd need it unless I start working with databases. Then that would be more SQL or Oracle over anything else, really. _________________
|
|
Back to top |
|
|
GesterX
Joined: 24 Dec 2007 Posts: 1242 Location: Birmingham, UK
|
Posted: Mon May 03, 2010 11:00 am Post subject: |
|
|
Urisma wrote: | OpenGl isn't a language, it's an API Well, it does have a shader language though, so I guess it technically is.
Anyway, GesterX, what sort of things do you do on the job? I have to intern a fair amount for the magnet school I attend, so what sorts of things should I expect, in general? What's the daily routine like? |
I'd still count it as a seperate skill as you have to learn so much to use it!!!
Urm well my job is a wierd one. It's about 50% Support (a.k.a install stuff, sort out errors, apply patches, design processes for use of software. And then 50% project work. Because my manager has a lot of responsibilities he was able to give me a java project to do.
Basically it extracts data from several XML APIs and almagamates that data into a single view which is useful for management to look at. About 6,000 lines of code and one on one tutoring from a very able programmer who works there.
In terms of what to expect... well it depends. I have friends who HATE there placement. They do the same thing every day. Luckily I like mine just because it's so varied. The support stuff breaks up the project stuff and I get to talk to loads of different people all around the world. I would just go there with an open mind and after aq few months look for opportunities to mmake the most of the year.
For me, I was getting lazy in 2nd year of uni. But getting up at 6AM every day and getting home 12 hours later has done wonders for my motivation. |
|
Back to top |
|
|
OpenYourEyes
Joined: 18 Jul 2007 Posts: 4086 Location: I'm not sure. It's dark and I hear laughing.
|
Posted: Wed May 05, 2010 4:35 am Post subject: |
|
|
Eastwinn wrote: | Oh, and OpenYourEyes, don't plan on making games just yet. Games are just about the hardest thing you can try to program. Simple games aren't bad, but the amount of extremely complex mathematics that go into a game like COD is unfathomable. If you really want to program games, you need to be knowledgeable of trigonometry first and foremost. |
I meant making a game like Pong or something. Nothing complex at all. I've made 10-15 games already using Game Maker, but that's not programming, it's just.... I don't even know. _________________
blingdomepiece wrote: | Eastwinn wrote: | As a kid I wasted my time cheating in SimCity or the Sims, and now that I'm discovering how much fun it is to not cheat, I'm also discovering how stupidly hard it is | Set all the tax rates to 9. |
|
|
Back to top |
|
|
KrakenEater
Joined: 21 Jan 2008 Posts: 1053 Location: Seattle, WA
|
Posted: Wed May 05, 2010 1:33 pm Post subject: |
|
|
Might as well ask this here. I have a web page that pretty much looks like this:
Code: | Text text text
php include("navigation.php") /php
text text text
| Does this have any glaring security flaws? I'm afraid I know very little about php (I'm learning, just not very fast). I know that most cracking is done through input boxes (which I don't have), but I figured I might as well check here.
[edit] It won't let me display the stuff properly, but the start and close tags are normal. _________________
|
|
Back to top |
|
|
Urisma
Joined: 04 Aug 2007 Posts: 220 Location: The Woodlands, Texas
|
Posted: Thu May 06, 2010 2:40 am Post subject: |
|
|
KrakenEater: I don't know any PHP, but I would assume no. The reason input boxes are used for cracking is because of buffer overflow (well. In general, I'm not sure about that specific to PHP, but I'd assume that input is very similar, and buffer overflow can occur). For example, say that your variable to hold the input was 50 bytes big. If someone entered in something above 50 bytes, this would overflow into the next item on the stack/heap. What sort of affect this has depends on the code. Ill give this example: String whatever is at 0x1000, and has been allocated 16 bytes of storage. Say that at 0x0ff0 is the variable granting access. If access = true, or a non zero value, then the user gains access. If I entered in "AAAAAAAAAAAAAAAA1" into the input box, the string would be 16 As, and access would be true, so I'd have access to your website Granted, I'm sure something like this would be taken care of by PHP automatically (maybe?), but that's the general gist of how you can be hacked. Obviously, in you didn't want to be hacked, it would be a pretty good idea to make sure overflows aren't possible. |
|
Back to top |
|
|
Sarg338
Joined: 07 Feb 2008 Posts: 5143
|
Posted: Thu May 06, 2010 7:39 am Post subject: |
|
|
Since I'm done with my finals, and my teacher didn't teach us even a little C++, anyone know of any online books or online resources (Books > Online, I know) that I could learn it over the summer so I can be prepared for Data Structures next semester? The only thing related to C++ we learns were arrays and loops. Every command we used was part of the DarkGDK. |
|
Back to top |
|
|
ajanata
Joined: 07 Jul 2007 Posts: 1167 Location: South Bay Area, CA
|
Posted: Thu May 06, 2010 12:44 pm Post subject: |
|
|
Urisma wrote: | KrakenEater: I don't know any PHP, but I would assume no. The reason input boxes are used for cracking is because of buffer overflow (well. In general, I'm not sure about that specific to PHP, but I'd assume that input is very similar, and buffer overflow can occur). For example, say that your variable to hold the input was 50 bytes big. If someone entered in something above 50 bytes, this would overflow into the next item on the stack/heap. What sort of affect this has depends on the code. Ill give this example: String whatever is at 0x1000, and has been allocated 16 bytes of storage. Say that at 0x0ff0 is the variable granting access. If access = true, or a non zero value, then the user gains access. If I entered in "AAAAAAAAAAAAAAAA1" into the input box, the string would be 16 As, and access would be true, so I'd have access to your website Granted, I'm sure something like this would be taken care of by PHP automatically (maybe?), but that's the general gist of how you can be hacked. Obviously, in you didn't want to be hacked, it would be a pretty good idea to make sure overflows aren't possible. |
It doesn't really work that way in PHP (you don't deal with raw memory addresses). You run into problems by not properly escaping input before you pass it along to the database more than anything else. _________________
|
|
Back to top |
|
|
Robbert
Joined: 21 Mar 2007 Posts: 373 Location: Netherlands
|
Posted: Wed May 19, 2010 8:25 am Post subject: |
|
|
Personally, I'm interested in the theoretical application of programming and computer problems, such as optimization problems. Doesn't change the fact that I'm sitting here coding website stuff for a living, coding against weird Chinese APIs which work on 32-bit machines but not on 64-bit machines.
KrakenEater wrote: | Might as well ask this here. I have a web page that pretty much looks like this:
Code: | Text text text
php include("navigation.php") /php
text text text
| Does this have any glaring security flaws? I'm afraid I know very little about php (I'm learning, just not very fast). I know that most cracking is done through input boxes (which I don't have), but I figured I might as well check here.
[edit] It won't let me display the stuff properly, but the start and close tags are normal. |
As long as you don't perform dynamic includes or loading of pages, such as pages requested via a GET parameter, there's nothing really wrong with includes. If you do decide to use dynamic includes, be sure to seal off access to .. and any root folders in which the site runs.
Your biggest threat in PHP is, like ajanata pointed out, SQL Injection. Never, ever trust anything that you receive from the outside. We have certificates for that sort of thing. _________________
|
|
Back to top |
|
|
Sarg338
Joined: 07 Feb 2008 Posts: 5143
|
Posted: Tue Aug 31, 2010 7:06 pm Post subject: |
|
|
Well, after one week in the class, the main thing we will be going over is Abstract Data Types (ADTs) and Recursion. Anyone have any insight into these 2 topics? |
|
Back to top |
|
|
GuitarGeek08
Joined: 19 Jan 2008 Posts: 3213
|
Posted: Tue Aug 31, 2010 7:18 pm Post subject: |
|
|
So I am taking a programming this quarter at my college. Its Programming for Info Tech I and the book I have seems to be about programming in Java. Will this be difficult for someone like me w only basic HTML experience to learn? _________________
I Don't Suck at GH
Xpertlefty13 quoting me in his Acc Thread wrote: | Honestly, thank you
This is the first real, well thought-out explanation I've seen |
|
|
Back to top |
|
|
Eastwinn
Joined: 12 Jul 2007 Posts: 2853 Location: Anne Arundel County, Maryland
|
Posted: Tue Aug 31, 2010 9:38 pm Post subject: |
|
|
GuitarGeek08 wrote: | So I am taking a programming this quarter at my college. Its Programming for Info Tech I and the book I have seems to be about programming in Java. Will this be difficult for someone like me w only basic HTML experience to learn? |
Java should be just fine if you're getting a formal education. It's not super simple and it's nothing like HTML but I wouldn't fret. _________________
As Ellie Draws - surreal sketches and characters.
John Cage wrote: | The first question I ask myself when something doesn't seem to be beautiful is why do I think it's not beautiful. And very shortly you discover that there is no reason. |
|
|
Back to top |
|
|
blackwidowcd
Joined: 17 Nov 2007 Posts: 1717 Location: Bucketheadland
|
Posted: Tue Aug 31, 2010 11:38 pm Post subject: Re: The Programming Thread |
|
|
I have a little python and java experience. Currently taking a game programming class. I'm learning Unity with javascript. I need work at coding. _________________
|
|
Back to top |
|
|
FBMrider86
Joined: 23 Jan 2007 Posts: 1679 Location: Lawrenceburg, KY <- And I ain't havin' no fun
|
Posted: Wed Sep 01, 2010 12:20 am Post subject: |
|
|
Sarg338 wrote: | Well, after one week in the class, the main thing we will be going over is Abstract Data Types (ADTs) and Recursion. Anyone have any insight into these 2 topics? |
Recursion can be fun once you understand how to get it to work. It's essentially calling a function repeatedly to achieve a desired effect (rather than using a loop).
Abstract data types are all about storage (stacks, queues, linked lists, etc.). These can be tough. Don't skimp on any and all material you're given on this particular subject. Because different abstract data types work differently they don't all operate the same way. Linked lists were the most troublesome for me. I still have to go at them a few times before getting them to work right (depending on the situation). _________________
Quote: | I think my neighbors have figured out my address. Should I move or kill them? |
Custom Guitar Paint Jobs (Submit Yours!)
Proud supporter of EWiggen's Grilled Cheese and GH Combo
socrstopr wrote: | This thread is very disturburbing. Also terrible. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Copyright © 2006-2024 ScoreHero, LLC
|
Powered by phpBB
|