I've got a new form of code for you, erm, coders!

actually coding the little snippet itself wouldn't be much of a problem at all, though finding out how to execute that little snippet so that it comes up every time the button was pressed would be the hardest part.

If you are interested in learning to code, I would recommend learning Java. If only because its one of the easier ones to learn that people love seeing on a resume.

Though I might be biased because as of right now that's the only language I can claim any amount of knowledge in. (scripting languages not counted).

java is crap, it is sloooow and is one of the most annoying languages to write. Perl is very nice, especially how well it handles strings, C is pretty easy but turns into mashed potatoes when the code base gets large. Python is very easy to learn, and has a rich feature set and plenty of libraries (usually via wrapper).

Programming in windows is rather dour, especially if you need to install a library. In unix based systems you have tons of command line utilities to play around with, you can do a lot of nifty things (like making your own wireless monitor and network chooser just because you can). The most useless of things are usually the most fun.
 
I plan on learning Perl as soon as I can find the time, though next semester I'll be into SQL, COBOL, a little C++, and some wonderful little course called Architecture and Assembler, topped with Calculus 1.

I think it'll be well into next summer before I can truly get into Perl...
 
I plan on learning Perl as soon as I can find the time, though next semester I'll be into SQL, COBOL, a little C++, and some wonderful little course called Architecture and Assembler, topped with Calculus 1.

I think it'll be well into next summer before I can truly get into Perl...

Dude, take a weekend, it is so easy you could probably get the gist of it before you can finish a pie without throwing up.

Once you learn the basics of programming you can pretty much switch languages at will as long as you are able to dig up a good reference and be willing to learn. Usually the concepts are the same across most languages, some just apply them differently.
 
Last edited:
Dude, take a weekend, it is so easy you could probably get the gist of it before you can finish a pie without throwing up.

Once you learn the basics of programming you can pretty much switch languages at will as long as you are able to dig up a good reference and be willing to learn. Usually the concepts are the same across most languages, some just apply them differently.

i dont think i would ever throw up after finishing a pie.....
 
I plan on learning Perl as soon as I can find the time, though next semester I'll be into SQL, COBOL, a little C++, and some wonderful little course called Architecture and Assembler, topped with Calculus 1.

I think it'll be well into next summer before I can truly get into Perl...

Thats why i don't spend much time learning Programming.
 
Awww, but it's so fun to do that kind of thing!
After all, what else is a personal computer for than a sandbox to play in?

And it will still be a good while before I find the time to teach myself anything at all. After all, I've gotta know and understand everything profs are cramming down my throat just to stay at a decent gpa. and I know I wouldn't actually be able to build anything worthwhile until I got to sit down and actually devote some serious time to it... which is a commodity that I am rapidly running out of as the semester winds down (and the classes pick up).
 
I got bored and wrote up a small program using bash and perl to find "dictionary" domain names and fetch their pagerank.

Code:
Checking for Dump.txt: Removing
Checking for PoolDeletingDomainsList.txt: Removing
Checking for PoolDeletingDomainsList.zip: Removing
--23:54:18--  http://www.pool.com/Downloads/PoolDeletingDomainsList.zip
           => `PoolDeletingDomainsList.zip'
Resolving www.pool.com... 66.6.53.2
Connecting to www.pool.com|66.6.53.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,345,102 (1.3M) [application/x-zip-compressed]

100%[====================================>] 1,345,102    495.04K/s             

23:54:21 (493.60 KB/s) - `PoolDeletingDomainsList.zip' saved [1345102/1345102]

Archive:  PoolDeletingDomainsList.zip
  inflating: PoolDeletingDomainsList.txt  
conciliate.biz:0
envious.biz:0
erysipelas.biz:0
revolutionize.biz:0
rivalry.biz:0
sukkot.biz:0
assort.biz:0
fayer.biz:0
zeroed.ca:0
upstaging.ca:0
triathlete.ca:0
toxin.ca:0
speedboats.ca:0
radiance.ca:0
proclaim.ca:0
orig.ca:0
obliquity.ca:0
kinna.ca:0
katrine.ca:0
karla.on.ca:0
kandace.ca:0
insults.ca:0
informal.ca:0
inescapable.ca:0
incite.ca:0
heehaw.ca:0
dusty.ca:0
dared.ca:0
clerks.ca:0
chancey.ca:0
biotechnologist.ca:0
battery.ca:0
aggie.ca:0
workman.ca:0
teaming.ca:0
tawny.ca:0
shameful.ca:0
regulation.ca:0
presage.ca:0
phaedra.ca:0
perverts.ca:0
nighthawks.ca:0
mexicans.ca:0
lyre.qc.ca:0
lome.ca:0
liberate.ca:0
leia.ca:0
janey.ca:0
granada.ca:0
gargantuan.ca:0
dominique.ca:0
districts.ca:0
dishware.ca:0
dickson.ca:0
conviction.ca:0
bossy.ca:0
boatman.ca:0
armpit.ca:0
thous.com:0
telecasting.eu:0
interlines.eu:0
contrail.eu:0
architrave.info:0
poesy.info:4
releases.info:0
shevat.info:0
walkies.info:0
champions.info:0
stardom.info:0
telephoning.info:0
rumba.net:0
octahedral.net:0
flaunting.net:0
chorales.net:0
swigs.net:0
shirred.net:0
lockable.net:0
grungy.net:0
cosset.org:0
fusiliers.org:0
linnea.org:0
retch.org:0
baxy.org:0
clari.org:0
cultists.org:0
fermat.org:0
lacerated.org:0
prowess.us:0
obsess.us:0
nonsurgical.us:0
morrows.us:0
journeymen.us:0
sukkot.us:0
resolvers.us:0
pinions.us:0
hullo.us:0
gearing.us:0
differentials.us:0
conciliate.us:0
peerages.biz:0
recently.biz:0
reticule.biz:0
bounces.biz:0
heracles.biz:0
mucky.biz:0
pupae.biz:0
quintet.biz:0

I am gonna convert the entire thing over to perl eventually and make it load the stuff into a mysql database then run a cron job to update stuff like pagerank, backlinks, etc. Right now it is slower then a sloth under amnesia because the loop is in bash, yuk.

Lamez, no worthwhile names :\
 
Last edited:
The first language I learned was C++. It seems now that companies that use Microso$t have kind of shifted their focus to C# though. It doesn't matter much to me because other than writing batch files to database administration tasks, programming is little more than a hobby to me. It is fun to write a little program when I'm bored though. The latest thing I started to work on (and haven't quite finished) is to write a C++ program that reads in a crossword puzzle, searches the puzzle for the words, and then displays the puzzle only showing the locations of the found words.

Python might be fun to play with though. That might be something to research on Books24x7 later...
 
The first language I learned was C++. It seems now that companies that use Microso$t have kind of shifted their focus to C# though. It doesn't matter much to me because other than writing batch files to database administration tasks, programming is little more than a hobby to me. It is fun to write a little program when I'm bored though. The latest thing I started to work on (and haven't quite finished) is to write a C++ program that reads in a crossword puzzle, searches the puzzle for the words, and then displays the puzzle only showing the locations of the found words.

Python might be fun to play with though. That might be something to research on Books24x7 later...

Anything dealing with strings, use perl, it is amazing. The regex system is probably the best I have seen and it is easy to use. Try parsing a certain portion of an html output from a website in C++, in perl it was only 20 lines of code (most of that was to grab the html, that actual regex is 1 line lol). I wont even bother trying that in C++, yuk.

C and C++ are pretty much standard fair because of their widespread libraries. The less stuff you have to reinvent, the less work you end up doing.

C# is an interpreted language like java, except it doesn't suffer as much from horrible resource usage. One of the better moves in the language is to force booleans in the if statements, no more anything besides 0 by default. My main complaint with C# is that the case statements suck, you have to break on every phrase, you can't overflow into other statements (useful for shortening code in some applications)

Code:
switch x
case 1:
do crap that needs to be done to 1;
case 2:
do crap that needs to be done to 1 and 2;
break;

It is very useful when dealing with stuff like commands and other things that tend to be either redundant or easily portable. In C# you might as well use nothing but if statements because case statements are broke.
 
Awww, but it's so fun to do that kind of thing!
After all, what else is a personal computer for than a sandbox to play in?

And it will still be a good while before I find the time to teach myself anything at all. After all, I've gotta know and understand everything profs are cramming down my throat just to stay at a decent gpa. and I know I wouldn't actually be able to build anything worthwhile until I got to sit down and actually devote some serious time to it... which is a commodity that I am rapidly running out of as the semester winds down (and the classes pick up).

Lol, actually i plan on learning to design source maps and maybe Crysis MP maps.
 
Anything dealing with strings, use perl, it is amazing. The regex system is probably the best I have seen and it is easy to use. Try parsing a certain portion of an html output from a website in C++, in perl it was only 20 lines of code (most of that was to grab the html, that actual regex is 1 line lol). I wont even bother trying that in C++, yuk.

C and C++ are pretty much standard fair because of their widespread libraries. The less stuff you have to reinvent, the less work you end up doing.

C# is an interpreted language like java, except it doesn't suffer as much from horrible resource usage. One of the better moves in the language is to force booleans in the if statements, no more anything besides 0 by default. My main complaint with C# is that the case statements suck, you have to break on every phrase, you can't overflow into other statements (useful for shortening code in some applications)

Code:
switch x
case 1:
do crap that needs to be done to 1;
case 2:
do crap that needs to be done to 1 and 2;
break;

It is very useful when dealing with stuff like commands and other things that tend to be either redundant or easily portable. In C# you might as well use nothing but if statements because case statements are broke.

well, i've got free access to books on pretty much any certification or programming language that I want to look at, so maybe I'll look at Pearl when I have time. First it's probably best if I learn Cold Fusion though. It's the language that is used by the developers that I support.
 
well, i've got free access to books on pretty much any certification or programming language that I want to look at, so maybe I'll look at Pearl when I have time. First it's probably best if I learn Cold Fusion though. It's the language that is used by the developers that I support.

CF is one of the easiest languages to learn.

Code:
<cfquery name="blahquery" datasource="preconfiguredsqlthingy">
select blah, blah2, blah3 from blahtable;
</cfquery>

<table>
<cfoutput query="balhquery">
<tr><td>#blah#</td><td>#blah2#</td><td>#blah3#</td></tr>
</cfoutput>
</table>

The language is extremely nice for reports and small web apps, it gets rather annoying when you have to do more advanced things. Also the output system by default leaves a space where the <cf*> tags are, resulting in pretty ugly output.

CF is nice but IMO the license price isn't worth it, plus it is rather limited in some capabilities outside of its intended application.
 
CF is one of the easiest languages to learn.

Code:
<cfquery name="blahquery" datasource="preconfiguredsqlthingy">
select blah, blah2, blah3 from blahtable;
</cfquery>

<table>
<cfoutput query="balhquery">
<tr><td>#blah#</td><td>#blah2#</td><td>#blah3#</td></tr>
</cfoutput>
</table>

The language is extremely nice for reports and small web apps, it gets rather annoying when you have to do more advanced things. Also the output system by default leaves a space where the <cf*> tags are, resulting in pretty ugly output.

CF is nice but IMO the license price isn't worth it, plus it is rather limited in some capabilities outside of its intended application.

The white space output was designed that way as a security feature. Basically to keep the people that know just a enough to be dangerous out of the code. Originally you had to scroll WAY down to get to the code.

Pricing isn't a big deal to me because I don't have to pay for it. Fortunately I'm not in a position where I have to worry about purchasing stuff. :) It's what they're using for whatever reason. Since it's there, I figure that i might as well use it. From what I've seen of it so far, it looks a lot like it was ripped off of ASP. Or more likely, ASP was ripped off from it. lol
 
asp is so much easier to work with IMO, even being a microsoft product it has more features then CF. The only thing I have yet to see anything on par is CFs integration with javascript, there are functions that dumps arrays of data into javascript variables, so you can create dynamic javascript files. Once you try to get into the logic system it is a pain in the arse for some applications. The built in form tags are very nice, it automatically generates javascript to do client side checking (you still need to enforce server side checking tho).

I plan on switching everything we have over to asp using class templates for search, report, etc. Basically to make a new report you just Specify the datasource, class and geometry, fill in 2 hybrid dictionaries containing the key (the column) and the value (the display name) for the search form and the report. And it renders everything and automatically generates the sql like statements used in the FDO layer on top of SQL.

So far I have the procedural search template done, I need to convert it over to a class hierarchy and figure out how I am going to do the report system, should be as easy as pie and may end up using the same class file with an argument.

I just hate to think what that would involve in CF...I tried using a template system before and they all were horrible, the logic system just wasn't up to par and it was ugly...
 
The white space output was designed that way as a security feature. Basically to keep the people that know just a enough to be dangerous out of the code. Originally you had to scroll WAY down to get to the code.

Moot point, extra spaces means more to download and more bandwidth waisted. Plus it makes debugging pain in the arse and reveals where you are doing logic and queries. Not a good security model :\

IMO everything should be run through stuff like the tidy module in PHP, it reorders, condenses and corrects XHTML so that it is beautiful and clean. Good formatted XML is so nice to look at in comparison to the rats nest infesting most sites.
 
Back
Top