NationStates Jolt Archive


Programming

Posi
27-07-2006, 05:22
Who here on NS can program? Why did you learn to program? Do you get anymore ladies due to your programming skillz?

EDIT:Crap, I forgot to make the poll multiple choice. O well, I guess pick the kind you do the most/like the most.
Posi
27-07-2006, 05:27
I am currently doing a rather lousey job of teaching my self C++ (read: I forget to practuce every day). I can also throw together some pretty crappy Bash Scripts, but they are good enough to serve my purposes so w/e.
Slaughterhouse five
27-07-2006, 05:30
im not a guru at it, but i am able to get by.

c++ is the one i have done the most in, and almost everyone and their cousins room mate have done some type of html coding.
Posi
27-07-2006, 05:41
im not a guru at it, but i am able to get by.

c++ is the one i have done the most in, and almost everyone and their cousins room mate have done some type of html coding.
Well, who wasn't done any HTML. I woken up programming in HTML.:D
Disclaimer:The previous statement is technically false.

So, get any more ladies?
Slaughterhouse five
27-07-2006, 05:49
Well, who wasn't done any HTML. I woken up programming in HTML.:D
Disclaimer:The previous statement is technically false.

So, get any more ladies?

no, not really. my lady count is still at 0:(

oh well, that is easily fixed with a little something al gore invented:D
IL Ruffino
27-07-2006, 05:51
C++ for life!!!
Posi
27-07-2006, 05:56
no, not really. my lady count is still at 0:(

oh well, that is easily fixed with a little something al gore invented:D
OR

#include <iostream>
using namespace std;

int main(){
int SHF_ladiecount
if (SHF_ladiecount==0){
int Ladie;
int Chloroform;
Ladie+Chloroform=SHF_ladiecount++;
}
if (SHF_ladiecount!=0){
int lawsuit;
int SHF_funds;
SHF_funds=0
cout << "All your pants are belong to her!\n"
}
return 0;
}
IL Ruffino
27-07-2006, 06:00
OR

#include <iostream>
using namespace std;

int main(){
int SHF_ladiecount
if (SHF_ladiecount==0){
int Ladie;
int Chloroform;
Ladie+Chloroform=SHF_ladiecount++;
}
if (SHF_ladiecount!=0){
int lawsuit;
int SHF_funds;
SHF_funds=0
}
return 0;
}
I can't wait to go back to school..
Posi
27-07-2006, 06:01
I can't wait to go back to school..
So you can chloroform bitches?
IL Ruffino
27-07-2006, 06:10
So you can chloroform bitches?
Teach them some.. um.. skillz!
Posi
27-07-2006, 06:11
Teach them some.. um.. skillz!
Chloroform resistance isn't a real skillz.;)
The Black Forrest
27-07-2006, 06:13
I have been rumored to have used:

Assembler, C, C++, Pascal, Fortran, Basic
Perl, Python, CSH, KSH, Bourne
HTML and just starting to play with PHP

And a few you never heard of.....
IL Ruffino
27-07-2006, 06:14
Chloroform resistance isn't a real skillz.;)
Yes, but they will be learning a new language--"j00 R teh mine!!"--;)
Posi
27-07-2006, 06:15
I have been rumored to have used:

Assembler, C, C++, Pascal, Fortran, Basic
Perl, Python, CSH, KSH, Bourne
HTML and just starting to play with PHP

And a few you never heard of.....
Wow! What a loser!:)
New Xero Seven
27-07-2006, 06:16
General HTML and CSS, though I'm resorting to Macromedia Dreamweaver to put together webpages...
Posi
27-07-2006, 06:43
General HTML and CSS, though I'm resorting to Macromedia Dreamweaver to put together webpages...
Dreamweaver is kinda akward, but so is Nvu in some ways....
Greater Alemannia
27-07-2006, 07:30
Yes, I know HTML and some VB. I'm the next fucking John Carmack.
Thuace
27-07-2006, 07:34
I know rudimentary Java (learned from book borrowed from friend), rudimentary JavaScript (from W3schools) , good at True BASIC (learn(ed/ing) in middle school), and know HTML and CSS; neither of which are actual programming languages.
Dissonant Cognition
27-07-2006, 07:45
I have used Turbo Pascal, Delphi, C, C++, Java. I would immediately implement a new version of Conway's Game of Life (http://en.wikipedia.org/wiki/Conway's_Game_of_Life) in each language once sufficiently educated (on my TI-89, in the case of C). :D Normally, (Quick)BASIC isn't worth mentioning, but I had worked on a pacman-like game for a while with bitmap graphics, sound effects, and everything. The code I wrote to make the ghosts chase the player around the maze via the shortest route, however, was the textbook definition of spaghetti. The lack of object-orientedness didn't help. (edit: oh, in Turbo Pascal I attempted an AI that was supposed to start with a blank slate and learn how to play tic-tac-toe via a particular kind of neural network. I seem to work, but only to a point; I could defeat it with minimal effort, but it did manage to force me into a trap, similar to step five in this image: http://upload.wikimedia.org/wikipedia/en/e/e1/Tic-tac-toe-game-1.png )

Alas, I gave up computer science for political science, and I'll I've coded in the past few years is some Perl scripts for encoding and burning MP3 to CD. I've also attempted a backup/archiving script, which sort of works, but doesn't.
Dinaverg
27-07-2006, 07:47
No one is answering the ladies question...
The Black Forrest
27-07-2006, 08:23
Wow! What a loser!:)

Did I mention I have a Sicilian wife? :D
Damor
27-07-2006, 09:22
The first three, and pancakes. And a dozen other programming languages too.

Where's prolog, and lisp? Or at least some logical and functional language.
The White Hats
27-07-2006, 09:30
I can programme in SAS (badly). That doesn't seem to be an option.
Compulsive Depression
27-07-2006, 10:17
Prolog for the win! (Or not) and Haskell.

Also C, C++, VB and Java. A few others, but nothing exciting got done in them.

I first learned to program because there was a snake game on the BBC BASIC interpreter/emulator on the Macs at school, and I wanted to know how it worked. Wound up writing dozens of little games to run on it (if only I had that motivation now!), and eventually the interpreter was removed 'cos people were playing them too much :(

Edit: Nope, my uber-skills haven't increased my opportunities with the ladies. Ho, hum.
Lerkistan
27-07-2006, 10:36
OR

#include <iostream>
using namespace std;

int main(){
int SHF_ladiecount
if (SHF_ladiecount==0){
int Ladie;
int Chloroform;
Ladie+Chloroform=SHF_ladiecount++; // wtf?
}
if (SHF_ladiecount!=0){
int lawsuit;
int SHF_funds;
SHF_funds=0
cout << "All your pants are belong to her!\n"
}
return 0;
}

Java, C++. Did some HTML, PHP and JavaScript when I thought I needed a website, and a bit of Perl, too. Can't say I could code anything in Perl today, though.
Safalra
27-07-2006, 10:55
Who here on NS can program? Why did you learn to program?
My fist computer was a Vic20. If you couldn't program then you couldn't do anything with it.

Do you get anymore ladies due to your programming skillz?
Only if morethan(0,0) is true.

By the way, HTML isn't a programming language - it's a markup language.
Pure Metal
27-07-2006, 11:10
OR

#include <iostream>
using namespace std;

int main(){
int SHF_ladiecount
if (SHF_ladiecount==0){
int Ladie;
int Chloroform;
Ladie+Chloroform=SHF_ladiecount++;
}
if (SHF_ladiecount!=0){
int lawsuit;
int SHF_funds;
SHF_funds=0
cout << "All your pants are belong to her!\n"
}
return 0;
}

:p


i would love to learn to code proper languages. i do a TEENY bit of html (as in i understand it for the most part and can work with it and stuff, but writing from scratch is still scary)

don't know where to begin with things though as most tutorials and whatnot "for the beginner" generally assume a higher level of knowledge than i have :( (recent example being a linux/apache/mysql/php database project i started on before realising i knew fuck all about PHP even when the tutorial thing said it was 'beginner-friendly' and all that toss... grr...)
Damor
27-07-2006, 11:37
don't know where to begin with things though as most tutorials and whatnot "for the beginner" generally assume a higher level of knowledge than i have :( (recent example being a linux/apache/mysql/php database project i started on before realising i knew fuck all about PHP even when the tutorial thing said it was 'beginner-friendly' and all that toss... grr...)Well, where to begin is pretty much the same in all languages. To take php as example

<?php
echo "Hello world!";
?>

There. Now you know how to print a string.
I always find giving output the single most important thing of a program. Nothing as dreadfull as having a program (not php) run for days, only to finish without returning its result.
Divine Imaginary Fluff
27-07-2006, 12:08
I program mostly in C and (more often) C++. (when using C++, I prefer to basically program using C and a bit of OO abstraction. but then, I'm mainly working on things where performance matters, in particular my set of DSP plugins)

I learned the basics of C++ working on my first "serious" project, a text based RPG. As I got better, I eventually rewrote it all (as it was originally horrible) when I found a suitable graphics library to use. I mastered much of C++ working on that game, which has recently separated into a game engine and a (currently incomplete) compiler made in C for the (also incomplete) scripting language it uses.

My main project (which working on has gradually made me a far better programmer) is currently a set of DSP plugins. (in VST as well as Winamp2 DSP format; the DLLs are compatible with both kinds of hosts)

Recently I have begun learning basic coding in x86 asm as well. (hoping to eventually be able to speed up the most time-critical parts of the realtime DSP code used in my plugin set)

Apart from those, I once programmed a bit in BASIC, and not too long ago some in Java. (which I find just as clumsy and annoying as BASIC, but for different reasons) I have also, while working on my home page, learned (X)HTML and PHP-coding.


As for so-called ladies, I have yet to get involved into any kind of sexual or romantic relationship, and that's the way I want it. I'm perfectly fine with the power of my mind combined with a bit of hentai, once in a while.:)
Jeruselem
27-07-2006, 13:13
Let's see ...

LotusScript
MS VB.NET
MS VBA (mainly Access)
MS Excel formulas
C/C++
SQL

A bit of HTML

Oh, I'm a Sys Admin too.
PasturePastry
27-07-2006, 13:34
Well, I've played with a little bit of everything over the years:
assembly language (6502)
BASIC
FORTRAN (formal education)
DBASE (That was fun. Wrote a whole data management system for a clinical laboratory)
HTML (notepad is the editor of choice)
javascript (not just rollover buttons. Standalone video poker)
VB/VBA (Mostly for interoperability between different systems. It's amazing what can be done with SENDKEYS)

I don't know if excel formulas and SQL can really count as programming, but that's another discussion.
Jeruselem
27-07-2006, 13:40
Well, I've played with a little bit of everything over the years:
assembly language (6502)
BASIC
FORTRAN (formal education)
DBASE (That was fun. Wrote a whole data management system for a clinical laboratory)
HTML (notepad is the editor of choice)
javascript (not just rollover buttons. Standalone video poker)
VB/VBA (Mostly for interoperability between different systems. It's amazing what can be done with SENDKEYS)

I don't know if excel formulas and SQL can really count as programming, but that's another discussion.

SQL is programming! The art of data manipulation is not as easy as it sounds.

Excel formulas is still programming to me.
AB Again
27-07-2006, 13:50
Well, I've played with a little bit of everything over the years:
assembly language (6502)
BASIC
FORTRAN (formal education)
DBASE (That was fun. Wrote a whole data management system for a clinical laboratory)
HTML (notepad is the editor of choice)
javascript (not just rollover buttons. Standalone video poker)
VB/VBA (Mostly for interoperability between different systems. It's amazing what can be done with SENDKEYS)

I don't know if excel formulas and SQL can really count as programming, but that's another discussion.

How can you question if SQL is programming while you include HTML in your list?

I have programmed in C, C++, Fortran, cobol, algol, asp, lisp. prolog, basic, java, pascal, turbo pascal (it is different). I have scripted in python, perl, javascript, sql.
UpwardThrust
27-07-2006, 14:02
I am currently doing a rather lousey job of teaching my self C++ (read: I forget to practuce every day). I can also throw together some pretty crappy Bash Scripts, but they are good enough to serve my purposes so w/e.
May want to take a look at the differences between bash and bourne shell scripting.

Bash is alright in the linux world but bourne is more universal so that’s why its usually used for any program installation and such
UpwardThrust
27-07-2006, 14:07
Alright my list

C
C++
C#
J#
Java
JS
PHP
ASP.NET(more familiar with 05 then the 03 IDE)
CScript
Basic
QBasic
Python
VB.net
VBS

Bourne and bash are my main shell scripting but also alright at
TSch
Csch
Ksch

Awk scripting is also one of my newer passions ... the art of regular expressions lol

Oh yeah html and SQL (lots of SQL latly)
Jeruselem
27-07-2006, 14:09
<chop suey>

Oh yeah html and SQL (lots of SQL latly)

SQL is what I most of time (embedded inside MS Access and SQL Server)
UpwardThrust
27-07-2006, 14:21
SQL is what I most of time (embedded inside MS Access and SQL Server)
Latly it is geting a new reporting software setup for our univ (stupid altiris helpdesk)

ASP but a lot of it is genaric query entry where I dont actualy have to do the programming except for the actual search statements
Iztatepopotla
27-07-2006, 14:23
I know a few flavors of BASIC, Fortran, and a bit of C and C++; although I haven't had much use for them in years.

More often I use PHP, VB, VB.net, and SQL, as well as HTML with Javascript and the whole lot.

As for the ladies, all they want you to do is get on with finishing that Resource Room for the website, but without giving you any idea of what Resources are supposed to be there, how they should be retrieved, who is going to be using them, what kind of maintenance it's going to require, etc. Pffft! Users...
Safalra
27-07-2006, 14:26
Alright my list

C
C++
C#
J#
Java
JS
PHP
ASP.NET(more familiar with 05 then the 03 IDE)
CScript
Basic
QBasic
Python
VB.net
VBS

Bourne and bash are my main shell scripting but also alright at
TSch
Csch
Ksch

Awk scripting is also one of my newer passions ... the art of regular expressions lol

Oh yeah html and SQL (lots of SQL latly)
Well, if we're going to start boasting:

Proper programming languages: AMOS, Blitz, C, C#, Cambridge ML, Java, Javascript, Pascal, PHP, TI Basic, Vic 20 Bsaic

Shells: Bash, AmigaDOS

Esoteric programming languages: Brainf***, Thue, Smurf (best language ever), many more to a lesser degree

Not programming langauges, but people have been including them anyway: SQL, (X)HTML, CSS, AmigaGuide, mod_rewrite (mod_rewrite is actually Turing complete, but few would call it a programming language)

Soon to learn: Perl, Python
Jimusopolis
27-07-2006, 14:37
I'm an actual software engineer! Yay for me!

See sig.
Damor
27-07-2006, 14:53
Well, since all the popular kids are doing it, I suppose I might as well..

Ones I use occasionally or regularly:
-C/C++
-MOO
-PHP
-Prolog
-javascript

not really programming, but I know them well enough:
-(x)html
-CSS
-LaTex
-SQL

mostly just used in a course or two:
-Java
-Lisp
-gopher/haskell
-Fortran
-Pascal
-Delphi
-Modula3
-Spin
-PVS
-Aion
-assembly (sort of, for a virtual integer machine)

others that I used just once or twice
-python
-perl
-bash
-sh
-lego-mindstorm

Ones I haven't used in ten years:
-batch(msdos)
-turbo pascal

I think that's most of it. But really, once you know one, you're close to knowing them all. (The only major difference is between imperative, object oriented, functional and logical programming styles)
Safalra
27-07-2006, 15:10
But really, once you know one, you're close to knowing them all. (The only major difference is between imperative, object oriented, functional and logical programming styles)
There's also string rewriting (like mod_rewrite), and cellular automata, which are occasionally practicle.
Kazus
27-07-2006, 15:24
If I was able to code everything in Assembly I would, but for now I will have to settle with the slighty-less-godly language of C. I like having control of my resources.
Kazus
27-07-2006, 15:26
I'm an actual software engineer! Yay for me!

See sig.

when ()? Dont you mean while()?
The White Hats
27-07-2006, 15:26
How can you question if SQL is programming while you include HTML in your list?

......
My thoughts entirely.

Oh, and just to start a bit of controversy: SAS = SQL + grown up thought processes.
Safalra
27-07-2006, 15:28
when ()? Dont you mean while()?
But that wouldn't follow the lyrics as closely. Besides, what's wrong with 'when'? It's just as good as 'comefrom (http://en.wikipedia.org/wiki/COMEFROM)'.
Kazus
27-07-2006, 15:29
Domain/tuple relational calculus = fun.
Kazus
27-07-2006, 15:29
But that wouldn't follow the lyrics as closely. Besides, what's wrong with 'when'? It's just as good as 'comefrom (http://en.wikipedia.org/wiki/COMEFROM)'.

This is the ultimate blasphemy.
Safalra
27-07-2006, 15:35
Domain/tuple relational calculus = fun.
That remark will one day come back to haunt you.
Jenrak
27-07-2006, 15:39
OR

#include <iostream>
using namespace std;

int main(){
int SHF_ladiecount
if (SHF_ladiecount==0){
int Ladie;
int Chloroform;
Ladie+Chloroform=SHF_ladiecount++;
}
if (SHF_ladiecount!=0){
int lawsuit;
int SHF_funds;
SHF_funds=0
cout << "All your pants are belong to her!\n"
}
return 0;
}

Haha, what a hack, man. So true.
Damor
27-07-2006, 15:44
There's also string rewriting (like mod_rewrite), and cellular automata, which are occasionally practicle.Hmm.. Maybe I should look into that once.
Never hurts to taste another paradigm.. (at least not untill you run into that fatefull one that finally drives you mad)
Lerkistan
27-07-2006, 15:53
Users...

Don't get me started on users!

Whoever wrote it is right: if I add HTML on my list, I should have put SQL, too. And I forgot I did some Basic on my 386. I was able to move an object with the keyboard. Somehow the fun of this game was, uhm, not really great, though :)
UpwardThrust
27-07-2006, 16:33
Well, if we're going to start boasting:

Proper programming languages: AMOS, Blitz, C, C#, Cambridge ML, Java, Javascript, Pascal, PHP, TI Basic, Vic 20 Bsaic

Shells: Bash, AmigaDOS

Esoteric programming languages: Brainf***, Thue, Smurf (best language ever), many more to a lesser degree

Not programming langauges, but people have been including them anyway: SQL, (X)HTML, CSS, AmigaGuide, mod_rewrite (mod_rewrite is actually Turing complete, but few would call it a programming language)

Soon to learn: Perl, Python


I suppose we are counting markup languages … I see a few in ur list I forgot … got to update mine lol
UpwardThrust
27-07-2006, 16:38
Alright my list

C
C++
C#
J#
Java
JS
PHP
ASP.NET(more familiar with 05 then the 03 IDE)
CScript
Basic
QBasic
Python
VB.net
VBS

Bourne and bash are my main shell scripting but also alright at
TSch
Csch
Ksch

Awk scripting is also one of my newer passions ... the art of regular expressions lol

Oh yeah html and SQL (lots of SQL latly)


Forgot
SAS
Pascal
CSS
and asembly
Posi
28-07-2006, 02:21
Four pages, and the general concenous is that being able to program does not increase one's skill with the ladies.
Posi
28-07-2006, 02:25
May want to take a look at the differences between bash and bourne shell scripting.

Bash is alright in the linux world but bourne is more universal so that’s why its usually used for any program installation and such
Meh. My most important scripts a)install a bunch of deb packages and b)setup and confiure XGL. The former could be usefull to others who want exactly the same programs I do, while the other would only work on my compy.
Free Mercantile States
28-07-2006, 02:26
This should be "pick all that apply", not "pick one". I know Java, C++, and Basic, but I also know some HTML.
UpwardThrust
28-07-2006, 02:28
Meh. My most important scripts a)install a bunch of deb packages and b)setup and confiure XGL. The former could be usefull to others who want exactly the same programs I do, while the other would only work on my compy.
Yeah you see a lot of that in freebsd where there is a lot more to install

After the first few installs in Free I set up the scripts cause it is even more of a pain in the ass
Posi
28-07-2006, 02:32
Yeah you see a lot of that in freebsd where there is a lot more to install

After the first few installs in Free I set up the scripts cause it is even more of a pain in the ass
I just made them because I got lazy one day. The XGL one works fine too. It set up the XGL I am currently using: however Ubuntu keeps fucking freezing on me:mad:.

I also did the scripts because I usually forget about what I was installing/configuring (stupid NS) and it takes me several hours to do what used to take a single hour.
Posi
28-07-2006, 02:33
This should be "pick all that apply", not "pick one".
Yah, about that....*throws glitter*

I forgot to tick that option off.:(
UpwardThrust
28-07-2006, 02:36
I just made them because I got lazy one day. The XGL one works fine too. It set up the XGL I am currently using: however Ubuntu keeps fucking freezing on me:mad:.

I also did the scripts because I usually forget about what I was installing/configuring (stupid NS) and it takes me several hours to do what used to take a single hour.
Yeah one of these days I am going to get XGL working lol … hmmz maybe that will be a project this weekend

Easier doing it on dapper or breezy? Or not make a difference?
Posi
28-07-2006, 02:46
Yeah one of these days I am going to get XGL working lol … hmmz maybe that will be a project this weekend

Easier doing it on dapper or breezy? Or not make a difference?
Dapper. Has their been a backport of X.org 7 for Breezy yet? It's kinda important...

I think you still need to install some packages by hand (read:dpkg not apt) on Breezy. Dapper is much easier to do. You got an ATI card right? Search Ubuntu forums for "XGL fglrx". On page 5/6 there is a thread that will have a date (in the dd/mm/yy format). I use that guide.

After you have it for a few weeks, you will never want to go back. Everything will seem so stiff and lifeless. Even Vista.

If that still doesn't work, I might mod my script for you.
UpwardThrust
28-07-2006, 02:48
Dapper. Has their been a backport of X.org 7 for Breezy yet? It's kinda important...

I think you still need to install some packages by hand (read:dpkg not apt) on Breezy. Dapper is much easier to do. You got an ATI card right? Search Ubuntu forums for "XGL fglrx". On page 5/6 there is a thread that will have a date (in the dd/mm/yy format). I use that guide.

After you have it for a few weeks, you will never want to go back. Everything will seem so stiff and lifeless. Even Vista.

If that still doesn't work, I might mod my script for you.
Ill take a look thanks … I actually have to check the hardware in the machine I will be using … I gave my old dell with the Sahpire 9600xt to my gf now I got a 2.5 ghz dell but not sure of card manufacture yet
Ginnoria
28-07-2006, 02:49
OR

#include <iostream>
using namespace std;

int main(){
int SHF_ladiecount
if (SHF_ladiecount==0){
int Ladie;
int Chloroform;
Ladie+Chloroform=SHF_ladiecount++;
}
if (SHF_ladiecount!=0){
int lawsuit;
int SHF_funds;
SHF_funds=0
cout << "All your pants are belong to her!\n"
}
return 0;
}
Looks like you have a few syntax errors there, mon ami ... your lady trouble might be alleviated if you could compile that.

As for myself, I have experience in C++, Java, PHP, Javascript, and HTML, Flash Actionscript, and SQL, if you count those.
Posi
28-07-2006, 02:52
Looks like you have a few syntax errors there, mon ami ... your lady trouble might be alleviated if you could compile that.

As for myself, I have experience in C++, Java, PHP, Javascript, and HTML, Flash Actionscript, and SQL, if you count those.
That source was intend for people, not for compilers. If you did get it to compile, it wouldn't do anything either.
Ginnoria
28-07-2006, 03:00
That source was intend for people, not for compilers. If you did get it to compile, it wouldn't do anything either.
I know, I'm just being an obnoxious pedant.
Posi
28-07-2006, 03:08
I know, I'm just being an obnoxious pedant.
I'll assume that means you are coming onto me.
Smunkeeville
28-07-2006, 04:01
I know just enough html to really annoy myself. I can get my webpage "almost there" and have the one thing that pisses me off.

I have been reading up on visual basic because I hope to start working with that for a side project, but I am not really hoping to be any better at it than I am my self taught html.
UpwardThrust
28-07-2006, 04:03
I know just enough html to really annoy myself. I can get my webpage "almost there" and have the one thing that pisses me off.

I have been reading up on visual basic because I hope to start working with that for a side project, but I am not really hoping to be any better at it than I am my self taught html.
Corner me if you have issues I can recomend some basic entry VB.NET books and some info on it if you want