You should get a very good idea of how the programmer ticks by first looking at their design practices. If they're a good object oriented programmer, their objects should make sense and the relationships should be easy to understand, (keeping it simple and stupid). Nothing should be hard-coded, it should be easy for another programmer to take over and change things as needed. They should probably be able to use almost any OOP language. If a database is involved, the objects should carry through into the table design using about the same number of fields/variables as the object for each table. My experience using stored procedures is use only as necessary; it gets messy quick in my opinion when you have stored procedures scattered around the database. Security should be covered almost 100%. They should be up to date on current malicious techniques. It's hard to get even close to 99% when you're trying to be rapid, such as most webapps. Personally I consider myself to be a very 'neat' programmer. One thing that drives me crazy is when people don't follow a naming scheme in the database, and with the object classes. Doing a table join is much cleaner when there's a strict naming scheme in place. Just take a glance at the design and structure of wordpress and tell me you don't wanna just re-write it from scratch. I have an organized set of tools that I use on a regualar basis, such as my php class creator that accepts an insert query as input. Also, my ajax script I wrote from scratch along with all my javascript form utilities. A lot of things make a good programmer. It's funny how I'll always be able to look at the code I did 3 months ago and laugh to/at myself at all the things I could do better.
we are comparing a microkernel (with certain parts of which are closed source,by Apple, and which also costs a fair dollar amount) to a monokernel which is moreless owned by the world and which we are able to view/inspect/compile all source code as freely as we wish.
Assuming you're experienced with html forms, basically you're generating http requests from javascript and 'inserting' the results into a html tag that supports innerHTML . div tags seem to be the most commonly used tags. div tags are very powerful, when combined with css (commonly the display attribute) they can be used for many of the various ajax effects you're already familiar with as well. The main point of ajax is saving pixels and that the page should never have to refresh/reload. So if you're already an experienced web developer it's really just a matter of making the switch to submitting forms in javascript, a lot of other stuff goes with that being said tho. Also, if you think about it in it's rawest form, think about an http request; it has stages, which means it needs a handler function. There are 4 stages to a http request. The handler function is basically a callback. So as the http request progress, it is progressing stages (or changing state). Here's some code: do ajax(url,elementId);
function GetXmlHttpObject(handler) {
var objXmlHttp=null;
if (navigator.userAgent.indexOf("MSIE")>=0) {
var strName="Msxml2.XMLHTTP";
if (navigator.appVersion.indexOf("MSIE 5.5")>=0) {
strName="Microsoft.XMLHTTP";
}
try {
objXmlHttp=new ActiveXObject(strName);
objXmlHttp.onreadystatechange=handler;
return objXmlHttp;
} catch(e) {
alert("Error. Scripting for ActiveX might be disabled");
return;
}
}
if (navigator.userAgent.indexOf("Mozilla")>=0) {
objXmlHttp=new XMLHttpRequest();
objXmlHttp.onload=handler;
objXmlHttp.onerror=handler;
return objXmlHttp;
}
}
var lastDIV="";
function ajax(nurl,ndiv) {
lastDIV = ndiv;
var url="" + nurl + "";
xmlHttp=GetXmlHttpObject(stateChanged);
xmlHttp.open("GET", url , true);
xmlHttp.send(null);
}
function stateChanged() {
var divname=""+lastDIV;
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {
document.getElementById(divname).innerHTML=xmlHttp.responseText;
}
}
It's a unique place filled with geeks alike, who find statements like "dude, i pimped my program", "it has cascading style sheets and it's RSS compliant" while writing a 3rd grade looking Java applet to run in a web browser is just plain funny.
Forbes sucks.Maybe M$ wrote that article to cause a conservative wave of ethics, like GWBush tries to do once in a while. who cares, I'm exercising my right to free speech.
I appreciate *nix because it's built from the bottom up with science in mind. M$ builds their windows from the top down with business in mind. Also, I like the Open Source Ideology in terms of Philosophy, it's comparable to organizing everything into a standard and putting the methods used straight into a science book for all to see. It encourages collaboration and standards. I doubt M$ could ever open up enough of their code (without being embarrassed) to actually get some real programmers excited about contributing their time towards some sort of betterment for them.
Man, Visual Studio has HONESTLY saved me so much time. I'm a CS student.
For all the cout or cerr statements I would've stuck into my program and then taken out, I would've lost many hours.
The debugging feature of Visual Studio is definitely something for Micro$oft to brag about.
I thought I heard there was something similar for *nix like BloodShedDEV or something.
So blue hats are hackers that actually admire Microsoft?
Am I the only one who sees a contradictory here?
Not a single architect appreciates a building that is built built from the top-down. Just like no true hacker appreciates M$ or their design and data structures.
Adults are to good for "hats" or anything material of the sort anyways.
if it's a matter of whether it skips or tracks, i'll take the tracking any day. there's much improvement to be done on current dvd pla¥ers. i'd rather take a tracked out scene rather than a scratched out scene. not that i'd switch to win95 before osx
Yeah, and many Microsoft employees are actually former Unix/Linux advocates. Maybe someday if you profess your love for Windows you could be a Microsoft employee, and your soul will be saved a place in digital heaven.
I think what this fellow is implying by USEFUL, is that there are more imporant things going on in this world than application development.
Like decoding DNA structures, designing more efficient engines, finding a cure for a cancer, etc...
But that's just like, my opinion man.
Hi,
I just thought I'd briefly share my experience concerning Math and CS majors.
Most CS/IST Majors here are Math minors, as the Engineering branch requires a minor, and it cannot be IST if you're a CS, which sux.
Here, you're required to complete 2 levels of Calculus, just for the Associates Degree. Then for the Bachelors, they require Discrete Mathematics, which is VERY difficult. They should rename this class to "geniuses of the 20th and 19th century", because you essentially learn how to do everything the pioneers did. Also, when doing intensive sort, retrieve functions in programming, you have to take into account how many elements you're working with, and the efficiency/order of your algorithm. This is usually something like 2^n, 3^n, log n, n!, etc..Look up the definition of BigO or BigOh. Anyways, in a nutshell I'd say if you're going to do CS/IST, you'll more than likely be expected to become a Math Master/Genius. After going through most of the courses, I can easily say there's a good reason for making those classes required.
You should get a very good idea of how the programmer ticks by first looking at their design practices. If they're a good object oriented programmer, their objects should make sense and the relationships should be easy to understand, (keeping it simple and stupid). Nothing should be hard-coded, it should be easy for another programmer to take over and change things as needed. They should probably be able to use almost any OOP language. If a database is involved, the objects should carry through into the table design using about the same number of fields/variables as the object for each table. My experience using stored procedures is use only as necessary; it gets messy quick in my opinion when you have stored procedures scattered around the database. Security should be covered almost 100%. They should be up to date on current malicious techniques. It's hard to get even close to 99% when you're trying to be rapid, such as most webapps. Personally I consider myself to be a very 'neat' programmer. One thing that drives me crazy is when people don't follow a naming scheme in the database, and with the object classes. Doing a table join is much cleaner when there's a strict naming scheme in place. Just take a glance at the design and structure of wordpress and tell me you don't wanna just re-write it from scratch. I have an organized set of tools that I use on a regualar basis, such as my php class creator that accepts an insert query as input. Also, my ajax script I wrote from scratch along with all my javascript form utilities. A lot of things make a good programmer. It's funny how I'll always be able to look at the code I did 3 months ago and laugh to/at myself at all the things I could do better.
we are comparing a microkernel (with certain parts of which are closed source,by Apple, and which also costs a fair dollar amount) to a monokernel which is moreless owned by the world and which we are able to view/inspect/compile all source code as freely as we wish.
Assuming you're experienced with html forms, basically you're generating http requests from javascript and 'inserting' the results into a html tag that supports innerHTML . div tags seem to be the most commonly used tags. div tags are very powerful, when combined with css (commonly the display attribute) they can be used for many of the various ajax effects you're already familiar with as well. The main point of ajax is saving pixels and that the page should never have to refresh/reload. So if you're already an experienced web developer it's really just a matter of making the switch to submitting forms in javascript, a lot of other stuff goes with that being said tho. Also, if you think about it in it's rawest form, think about an http request; it has stages, which means it needs a handler function. There are 4 stages to a http request. The handler function is basically a callback. So as the http request progress, it is progressing stages (or changing state).
Here's some code:
do ajax(url,elementId);
function GetXmlHttpObject(handler) {
var objXmlHttp=null;
if (navigator.userAgent.indexOf("MSIE")>=0) {
var strName="Msxml2.XMLHTTP";
if (navigator.appVersion.indexOf("MSIE 5.5")>=0) {
strName="Microsoft.XMLHTTP";
}
try {
objXmlHttp=new ActiveXObject(strName);
objXmlHttp.onreadystatechange=handler;
return objXmlHttp;
} catch(e) {
alert("Error. Scripting for ActiveX might be disabled");
return;
}
}
if (navigator.userAgent.indexOf("Mozilla")>=0) {
objXmlHttp=new XMLHttpRequest();
objXmlHttp.onload=handler;
objXmlHttp.onerror=handler;
return objXmlHttp;
}
}
var lastDIV="";
function ajax(nurl,ndiv) {
lastDIV = ndiv;
var url="" + nurl + "";
xmlHttp=GetXmlHttpObject(stateChanged);
xmlHttp.open("GET", url , true);
xmlHttp.send(null);
}
function stateChanged() {
var divname=""+lastDIV;
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {
document.getElementById(divname).innerHTML=xmlHttp.responseText;
}
}
It's a unique place filled with geeks alike, who find statements like "dude, i pimped my program", "it has cascading style sheets and it's RSS compliant" while writing a 3rd grade looking Java applet to run in a web browser is just plain funny.
Whoever wrote that there dumb article/question should be hanged Texas style. yee-haw.
Forbes sucks.Maybe M$ wrote that article to cause a conservative wave of ethics, like GWBush tries to do once in a while. who cares, I'm exercising my right to free speech.
I appreciate *nix because it's built from the bottom up with science in mind. M$ builds their windows from the top down with business in mind. Also, I like the Open Source Ideology in terms of Philosophy, it's comparable to organizing everything into a standard and putting the methods used straight into a science book for all to see. It encourages collaboration and standards. I doubt M$ could ever open up enough of their code (without being embarrassed) to actually get some real programmers excited about contributing their time towards some sort of betterment for them.
bill gates bill gates bill gates bill gates bill gates.... Bill Gates (anybody else sick of hearing that name?) heheh.
Man, Visual Studio has HONESTLY saved me so much time. I'm a CS student. For all the cout or cerr statements I would've stuck into my program and then taken out, I would've lost many hours. The debugging feature of Visual Studio is definitely something for Micro$oft to brag about. I thought I heard there was something similar for *nix like BloodShedDEV or something.
So blue hats are hackers that actually admire Microsoft? Am I the only one who sees a contradictory here? Not a single architect appreciates a building that is built built from the top-down. Just like no true hacker appreciates M$ or their design and data structures. Adults are to good for "hats" or anything material of the sort anyways.
if it's a matter of whether it skips or tracks, i'll take the tracking any day. there's much improvement to be done on current dvd pla¥ers. i'd rather take a tracked out scene rather than a scratched out scene. not that i'd switch to win95 before osx
Yeah, and many Microsoft employees are actually former Unix/Linux advocates. Maybe someday if you profess your love for Windows you could be a Microsoft employee, and your soul will be saved a place in digital heaven.
I think what this fellow is implying by USEFUL, is that there are more imporant things going on in this world than application development. Like decoding DNA structures, designing more efficient engines, finding a cure for a cancer, etc... But that's just like, my opinion man.
Hi, I just thought I'd briefly share my experience concerning Math and CS majors. Most CS/IST Majors here are Math minors, as the Engineering branch requires a minor, and it cannot be IST if you're a CS, which sux. Here, you're required to complete 2 levels of Calculus, just for the Associates Degree. Then for the Bachelors, they require Discrete Mathematics, which is VERY difficult. They should rename this class to "geniuses of the 20th and 19th century", because you essentially learn how to do everything the pioneers did. Also, when doing intensive sort, retrieve functions in programming, you have to take into account how many elements you're working with, and the efficiency/order of your algorithm. This is usually something like 2^n, 3^n, log n, n!, etc..Look up the definition of BigO or BigOh. Anyways, in a nutshell I'd say if you're going to do CS/IST, you'll more than likely be expected to become a Math Master/Genius. After going through most of the courses, I can easily say there's a good reason for making those classes required.