Administration > General Site Discussion
Introducing our Developer: The SlyDev Thread!
Orson:
--- Quote from: Slydev on February 05, 2016, 02:15:19 pm ---Okay so latex should be working for fancy math equations! We are using a new system for this which renders the equation in the page instead of trying to create and load an image. You can right click on these for more info (and to get the code). This should be backwards compatible with all older tex code however there might be some small issues so if you find any let me know.
It will all be inline so equations will appear on their own line centered in posts, this might mess with some formatting on old posts but I think this makes for a cleaner and easier to understand format.
I braught back the 'latests posts' on the homepage but it is super slow so I will have to rethink of how I will approach loading it (will probably be an ajax call), still got a big list of things to do so will just keep at it!
--- End quote ---
Hey there Sly! Welcome! I've been messing around with some programming (VB.Net, but I've also been doing some web design with simple HTML/CSS), and I was wondering how people actually learn to apply code. Sure codeacademy teaches me what a loop in PHP is, but I have no idea what it actually does, where to use it, and why it exists. Any tips on learning techniques? Anything at all that could help? How did you begin?
Thanks so much mate!
Slydev:
--- Quote from: Orson on February 05, 2016, 02:24:21 pm ---Hey there Sly! Welcome! I've been messing around with some programming (VB.Net, but I've also been doing some web design with simple HTML/CSS), and I was wondering how people actually learn to apply code. Sure codeacademy teaches me what a loop in PHP is, but I have no idea what it actually does, where to use it, and why it exists. Any tips on learning techniques? Anything at all that could help? How did you begin?
Thanks so much mate!
--- End quote ---
Hmm that is a tricky one to answer. I would say when it comes to learn WHERE to use certain code is in looking at other peoples code (though helps if the code you are looking at is not terrible).
The syntax is kind of like lego bricks, you are told what they can and cant do and have to work out where you want them to be used depending on what you are building. It is about experiencing the scenarios of where you might need to use different things and getting used to that.
I am sure any university/online course would cover good examples of this, but as where to find online I am not as sure. The best thing is to come up with a small project and see if there is a tutorial on how to do that, this would help with the idea on how to approach things.
To answer the question more specifically a loop is used when iterating through something (generally an array). So say we queried the database for all forum users, we would then need to use a loop to go through them all, some psudocode would be like this:
[users] = [query all users]
foreach([users] as [user]) {
[print out user]
}
This code would iterate through each user and print them out one at a time. That is what you will mostly use loops for but there are other contexts.
Slydev:
Small update!
Added in 'Show unread VCE' and 'Show unread HSC' links so that your unread feed isn't cluttered up with HSC/VCE forums that don't really have any bearing on your existence! SACE and WACE peeps have got to up their presence if they want the same special privileges though :P
As always if something isn't working as intended let me know here or at our 'AN problems' thread Here
heids:
The links to the blog under VCE and HSC don't work - but the blog hasn't worked for me except on very odd occasions for a month or two anyway.
http://atarnotes.com/free-hsc-tutoring also returns the same, and sometimes the homepage (atarnotes.com), but at least it sometimes goes through.
brenden:
--- Quote from: bangali on February 12, 2016, 04:23:39 pm ---The links to the blog under VCE and HSC don't work - but the blog hasn't worked for me except on very odd occasions for a month or two anyway.
(Image removed from quote.)
http://atarnotes.com/free-hsc-tutoring also returns the same, and sometimes the homepage (atarnotes.com), but at least it sometimes goes through.
--- End quote ---
Clear your cache and go again? I've never had problems with any of the three pages :S
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version