Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
When I went to university, we were not allowed to learn c because it was not yet officially recognized as a computer language by the British computer society. C++ was invented about a year later I think. We were taught pascal. I've never ever used pascal for real or ever seen it outside of academia. I'm sure I've told this story before so thanks for reading. Cheers. Also I am typing this on a blackberry PlayBook and it's very baf

Adbot
ADBOT LOVES YOU

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

The Management posted:

I think we can all agree that the death of c++ cannot come too soon.

I have been programming professionally for 24 years and I agree with this so ducking hard

What the fucki is this plan book doing jesus

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Ronald Raiden posted:

whoa you are hella old. congrats on not being dead yet.

Thanks I eat vegetables and take brisk walks, it seems to work so far

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

graph posted:

dr honked youre p cool and tbqh i wouldnt mind spending an afternoon with you if i was in the area

Hit me up on pm's if you're ever in god's own country (prince Edward Island canada)

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Anal Tributary posted:

nope, parents + lack of money did. also poor high school gpa, that's obviously on me.

what defines something decent in a github, anyways? i've been asked for portfolios and never know what to say because none of the dev stuff i've done ever ends up launching, but i have some github repos with decent code in them.


hey remember when this thread was about programming languages

Code doesn't need to launch, it just needs to be good. If you are embarrassed by your code then it's not good enough. Your portfolio needs to contain code that you are proud of. That you can talk enthusiastically about. Thanks playbook for fucing with my sentence structure cheers

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
To expand onthis - again thanks play poker - playbook -??what. If you have submitted code as part of a job application then you will need to talk about it
. Make sure you can. Do not submit code that was written by anyone else. You will need to tell the interviewer which part you enjoyed coding and which you didn't. Where were the problems and how did you overcome them. The interviewer will be looking for the moment when you light up and become enthusiastic because you overcame a hard problem with an elegant solution, and you enjoy talking about it. Be proud of your code and make sure the interviewer knows why you are proud of your work.

This is not hard for a good coder. This is just normal. If you can't do this then just go and make Web pages. Cheers

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Sulk posted:

is there a book on algorithms/data structures which is actually comprehensible without needing to know a shitload of math

Learn math

Dot product. Cross product. Quaternions. What is the identity matrix and what does it do.

How to make a transform matrix

Learn or ducking kill your ducking self

LOL playnook
HAHA IT AUTOCORRECT IN LAYNOOK FUCM
WTF

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
I'm dying h re this thing is off da railz

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
What McCain said if you don't want to get into games or you want to get into algorithms without math

Correction markov Cain chomp
gently caress this I'm out

Autocorrect put gently caress in all caps instead of duck, maybe we are getting somewhere

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
"mm-hmm i love thick clients" *mental image of a fat guy in a burger bun* - a cannibal

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Sulk posted:

my problem is figuring out what to work on and how to contribute. do people just a) read every line of code looking for issues, or b) use/try to break the programs intentionally? also another issue is a lot of projects on github are uninteresting plugins/extensions for X program/Y language :\

personally when i look at code samples i'm looking at their coding style. you can learn a lot about a person by looking at their code.

for example, here is some code from a real candidate:

code:
    public Player(bool humanPlayer, bool isHost, int compPlayerNum, int numCards, int environment, Gamer gamerProfile, bool mp)
        {
            Random rand = new Random();
            PublicEnums.CompPlayerNames playerNameNum;

            nextUsedIndex = 0;
            playerCards = new int[numCards];
            oldBars = 3;
            this.humanPlayer = humanPlayer;
            this.environment = environment;
            this.isHost = isHost;

            if (humanPlayer)
            {
                if (!Gamer.SignedInGamers[0].IsGuest)
                {
                    gamerTag = gamerProfile.Gamertag;
                }
                else
                {
                    gamerTag = "Guest";
                }
            }
            else
            {
                if (compPlayerNum == 0)
                {
                    if (mp)
                    {
                        gamerTag = "Computer 1";
                    }
                }
                else if (compPlayerNum == 1)
                {
                    if (mp)
                    {
                        gamerTag = "Computer 2";
                    }
                    else
                    {
                        gamerTag = "Computer 1";
                    }
                }
                else if (compPlayerNum == 2)
                {
                    if (mp)
                    {
                        gamerTag = "Computer 3";
                    }
                    else
                    {
                        gamerTag = "Computer 2";
                    }
                }
                else if (compPlayerNum == 3)
                {
                    if (mp)
                    {
                        gamerTag = "Computer 4";
                    }
                    else
                    {
                        gamerTag = "Computer 3";
                    }
                }
            }
        }

in the same file, not far away, there's this:

code:
  if (humanPlayer)
            {
                this.playerIndex = playerIndex;

                if (Gamer.SignedInGamers[playerIndex] != null)
// && Gamer.SignedInGamers[playerIndex].IsSignedInToLive && !Gamer.SignedInGamers[playerIndex].IsGuest)
                {
                    gamerTag = gamerProfile.Gamertag;
                }
                else
                {
                    gamerTag = "Guest";
                }
            }
            else
            {
                if (compPlayerNum == 1)
                {
                    gamerTag = "Computer 1";
                }
                else if (compPlayerNum == 2)
                {
                    gamerTag = "Computer 2";
                }
                else if (compPlayerNum == 3)
                {
                    gamerTag = "Computer 3";
                }
            }
        }

and this:

code:

           if (humanPlayer)
            {
                this.gamerTag = gamerTag;
                //Gamer.SignedInGamers[0].IsSignedInToLive &&
                //if (!Gamer.SignedInGamers[0].IsGuest)
                //{
                 //   gamerTag = gamerProfile.Gamertag;
                //}
                //else
                //{
                //    gamerTag = "Guest";
                //}
            }
            else
            {
                //REQUIRES CUSTOM GAMERPICS FOR NON-HUMAN PLAYERS
                if (compPlayerNum == 0)
                {
                    gamerTag = "Computer 1";
                }
                else if (compPlayerNum == 1)
                {
                    gamerTag = "Computer 2";
                }
                else if (compPlayerNum == 2)
                {
                    gamerTag = "Computer 3";
                }
                else if (compPlayerNum == 3)
                {
                    gamerTag = "Computer 4";
                }
            }
        }
this was sent by the candidate in response to my request for code that the candidate was particularly proud of, that showed their skills. would you give this person a job? i wouldn't.

Code samples are also a way for candidates to show their enthusiasm - you can tell if a person likes to code, by the code that they write.

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
DSMCSSLT - Don't Send Me Clown School poo poo Like This

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

trex eaterofcadrs posted:

i had one place ask me during an interview to determine if a string is a rotation of another, so i go and write a hacky longest common substring algo and get 'er done as they say

apparently it's one of those trick ones where you just concat the string and to a strstr. shame on me for not reading the "tricks of the trade: ace the programming interview!!!!" book

that's not a helpful question to determine the ability of a dude, it's just jerkery. gah

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Anal Tributary posted:

code:
var string = "abcaddaaaaa";
var counts = {};
for (var i=0; i<string.length-1; i++) {
  counts[string.charAt(i)] = counts[string.charAt(i)]+1 || 1;
}
console.log(counts);
:3:

seriously i can't imagine any case where this would take > 2-3 minutes at most, drat

well done captain obvious

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

text editor posted:

here's where you are wrong: the person who likes to code intentionally write it in the longest way possible because he loves typing in code so much :3:

code code code tap tap tap

drat i never thought about it that way.. all those great programmers who have slipped through my fingers....

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
html is the best programming language. whenever i get a resume with "Programming languages known: HTML" written on it i just get my cock out then and there and jizz all over the place and hire the person

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Gentle Autist posted:

Programmers > 40 how much has your job changed over the course of your career

Did you ever consciously have to go learn something off the clock to make a career move or did you just change jobs/roles as they came up

Do you think you'll keep programming until you retire


- a lot, for the better, there are so many nice tools, technologies, and methodologies around now, computers don't suck as much, and the games industry is slowly maturing and becoming a much better place to work

- the only time i ever learned something off the clock for non-fun purposes was when i got my first job programming in C in 1988 or some poo poo. the interview was like this: "can you program in C?" "<lie> yes" "can you start monday?" so i ran straight out and bought a copy of K&R, read it over the weekend and welp that is my story cheers

- yes, and beyond, if i ever stop programming i will probably just drop dead

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
if you like hilarious computer jokes you will love this http://mbebenita.github.com/LLJS/

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

dang that looks p.kewl

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
:staredog:

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
coders who can't do math should all be loving killed

i had some guy on my project yesterday come up to me all sad because his minigame didn't work. you have to jump over some boxes as they slide across the screen and the guy jumps too slowly. so i said "well just make him jump faster then"

*big stupid puzzled face* "how do i do that?"

seriously

Dr. Honked fucked around with this message at 15:31 on May 16, 2012

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
i used to know a guy who was trying to write a 3d renderer in sql "just to piss everyone off"

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
he didn't realise that everyone was pissed off with him already

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
also stupid clownshoe fuckboat jizz gargling fagtards

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Pollyanna posted:

python it is hope you are proud of yourselves

nothing wrong with python, enjoy your journey into code

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
also i am told - i don't know cos i haven't tried it - that processing is a good language for learn2code: http://processing.org/ looks a bit gay? dunno?

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

ppp posted:

Looking for a Daily Driver language. Any recs. Basically I want something that does stuff.

i have been a c++ programmer for many many years and i do not recommend it. when i have a choice, my daily drivers are:

c#
ruby
python

python is easy. c# is best. i use ruby when i don't need to write an app that has a gui, like making command line tools for converting excel spreadsheets into nintendo ds friendly binary files.

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
there has been a disturbance in the spergosphere lately because micro$$hatf refuse to support c99 in visual studio

if you really want c99 why don't you just grow a beard and get a linux

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

BonzoESC posted:

unironically this

microsoft writing bad software that doesn't keep up to standards shouldn't be a surprise to anyone

Ignore standards, gently caress bitches, get money - bill gates

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

HORATIO HORNBLOWER posted:

It is a little frustrating that VS doesn't support C99 but they say their customers aren't demanding it and in all honesty who can argue with that logic? As Raymond Chen says all features start out with -100 points and why waste time implementing something your customers don't want?

Anyone seriously doing a lot of C coding these says is probably not using VS anyway.

who the loving gently caress seriously gives a single actual real gently caress about c99

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
computer programming owns. i'm not sure how i would survive if i couldn't do it. chew twigs or something? i'll program anything in any language idgaf

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
gently caress off sulk

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

tinselt0wn posted:

python's standard library is poo poo.
Ruby has like a dozen of creepily named libraries for any single task you may want to do

roo is very good for parsing spreadsheets

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
gem install nihondo_piss_gargle

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
..\GameCode\Game\FuckPiss.h:38: warning: dr. honked is about to bust a chair over your head because you are a lovely coder

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
if that can cause a race condition in python, i'll just stop using python, that's wack as hell

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
surely you buffer poo poo like that?

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

tef posted:

go read a book, go outside, go have fun. stop trying to make something fun and do something fun. who gives a poo poo if it is programming related.

this

writing code for fun etc. is pretty much like actual writing. people ask, "how do i become a writer? how can i get motivated to write?" and the truth is that writers write because they are driven to. they write because they can't not write. time works the same way

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

tef posted:

passionate people make a difference, I just write glib things on twitter

this they do, big tymes.

Adbot
ADBOT LOVES YOU

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

abraham linksys posted:

dumbest question, but what kind of projects could this be used for?

ian mclean's statpedia dot com

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply