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.
 
  • Locked thread
Moo Cowabunga
Jun 15, 2009

[Office Worker.




Adbot
ADBOT LOVES YOU

Mr SuperAwesome
Apr 6, 2011

im from the bad post police, and i'm afraid i have bad news

Fuzzy Mammal posted:

we can all become better shitcoders with a coding lesson!

came across a fun little fuckup today. what are the two bugs in this code??
code:
uint32 jerkiness = diff_sec ? 
    (listener.frame_count() / static_cast<uint32>(diff_sec)) : 0;

dont use inline if statements, gross

BANME.sh
Jan 23, 2008

What is this??
Are you some kind of hypnotist??
Grimey Drawer
inline conditionals and loops own if they fit on one line, sorry

prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

BANME.sh posted:

inline conditionals and loops own if they fit on one line, sorry

gently caress that; i've had to untangle the stupid things that go on for four hundred characters with no newlines

echinopsis
Apr 13, 2004

by Fluffdaddy
ironic that the more efficient you make the code the less efficient it is to ever do anything to it ever again

echinopsis
Apr 13, 2004

by Fluffdaddy
would it be hard to make a python that got bitcoin/usd rate? and then use it to make a "hypothetical" buy low sell high script to see how much dollars I could make "in theory"

echinopsis
Apr 13, 2004

by Fluffdaddy
I "really liked" making some python code but as soon as u needed to do something outside the basics it was a pain in the rear end. external libraries ruin languages

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

echinopsis posted:

external libraries ruin languages

sorry, how!!!! this thread is for inexperienced programmers only, please leave

MononcQc
May 29, 2007

Martytoof posted:

how do i make a webpage with it

with a form and ecommerce and a sweet flash intro

quit baitin' me I would legit help you martytoof :argh:

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
here's a cool tip i figured out:

you're an idiot if you make your webpage in rails/django/something else equally easy to work with. you're even more of an idiot if you try to do it in perl/php when you don't have a reason to (supporting legacy poo poo).

as long as you dont have a twitter account, you can use rails without shame.

BONGHITZ
Jan 1, 1970

A Sloth posted:



And so it begins...

umm

this is the wrong python

BONGHITZ
Jan 1, 1970

also, mod, you can go to https://www.flashkit.com for all your flash related needs

Shaggar
Apr 26, 2006
don't use orms and double don't design ur db code first.

echinopsis
Apr 13, 2004

by Fluffdaddy
I want to code in python again gently caress YEAH holla

Fuzzy Mammal
Aug 15, 2001

Lipstick Apathy
python rules because it uses the best sort, timsort.

some kinda jackal
Feb 25, 2003

 
 
every language that isn't c-style looks weird as gently caress

i got over it for objective-c because it's mostly c-style with a bunch of brackets, but i'm having a hard time with python and stuff

and then i tried to learn ruby on rails because i wanted to make a quick website and everything about it was weird as gently caress. i am a little depressed that i can't pick this stuff up easily anymore :(

Doc Block
Apr 15, 2003
Fun Shoe

Martytoof posted:

every language that isn't c-style looks weird as gently caress

i got over it for objective-c because it's mostly c-style with a bunch of brackets, but i'm having a hard time with python and stuff

and then i tried to learn ruby on rails because i wanted to make a quick website and everything about it was weird as gently caress. i am a little depressed that i can't pick this stuff up easily anymore :(

this x 1 million

CISADMIN PRIVILEGE
Aug 15, 2004

optimized multichannel
campaigns to drive
demand and increase
brand engagement
across web, mobile,
and social touchpoints,
bitch!
:yaycloud::smithcloud:
i'm always amazed at how bad most people are at programming and software design. then i remember that it's a horrible thankless job that no one should ever do and they're probably bored, it gets in the way of their internet posting job, and they want to kill themselves but it pays the bills.

Moo Cowabunga
Jun 15, 2009

[Office Worker.




^ sex worker logic

CISADMIN PRIVILEGE
Aug 15, 2004

optimized multichannel
campaigns to drive
demand and increase
brand engagement
across web, mobile,
and social touchpoints,
bitch!
:yaycloud::smithcloud:
this guy with comp sci degree once spent a year writing a relatively simple time and billing system for the company i worked for. he was supposed to be being supervised by his former employer a very expensive consultant, who had all kinds of high end clients. dude quit a few days before his project was due to be completed, so my boss asked me to tidy it up so we could have it ready to run the next day.

i sat down and within an hour of reading his code i figured it was unsalvageable for a whole bunch of reasons. after playing it all night i was sure it was useless. i told my boss and he talked to the consultant. the consultant said we could fix it, and him being far more experienced i figured i would just take direction from him. i wrote all the classes and functions to do the poo poo, he wanted to do from scratch, he umm tried to do something till 6 weeks later he told my boss we had to start again. fortunately the poo poo i'd written was generic enough as to fit in anywhere.

The consultant billed us an obscene amount for a pretty lovely system and rehired the idiot to work for his firm, albeit doing something where he could do less damage.

I don't even want to start on the project I'm on now.

CISADMIN PRIVILEGE
Aug 15, 2004

optimized multichannel
campaigns to drive
demand and increase
brand engagement
across web, mobile,
and social touchpoints,
bitch!
:yaycloud::smithcloud:
don't get me wrong i kind of like my life most of the time, and having done some really hard and horrible manual labour jobs i'd take my job any day, but if i could go back in time i would have studied harder and become a cult leader or something.

CISADMIN PRIVILEGE
Aug 15, 2004

optimized multichannel
campaigns to drive
demand and increase
brand engagement
across web, mobile,
and social touchpoints,
bitch!
:yaycloud::smithcloud:
like you know how they talk about people graduating from highschool and not being able to read. that programmer was the programming equivalent. i'm a pretty poo poo programmer but give me access to google and i'll figure out how to make something work, and spend a bit of time figuring out which is not the most horrible way to do what i want to do.

FamDav
Mar 29, 2008
we encounter so much mediocrity in our day to day lives that it infuriates and depresses us that people who do not put in a sincere effort can be rewarded as well or even better than us. we have to accept that our reward for hard work and persistence is the knowledge that we took the more difficult path and succeeded.

only then will you find happiness and comfort.

Armourking
Dec 16, 2004

Step off!
Step off!


im **Between Jobs** at the moment, so ive been doing some programming on my own to fill in some time.
i havent done any programming since uni, but im actually have fun mucking around making a game of sorts.
beginning to wonder if i should have done this in objc for my ipad instead of java for my phone.

anyway, thats my story.

Knuc U Kinte
Aug 17, 2004

Martytoof posted:

idgi should i be using a perl instead

How do I get a big tall av like this?

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

keygen and kel posted:

don't get me wrong i kind of like my life most of the time, and having done some really hard and horrible manual labour jobs i'd take my job any day, but if i could go back in time i would have studied harder and become a cult leader or something.

i dunno when i was doing manual labor i was so tired all the time the only thing i could stress about was my job. now i have tons of surpluss energy but no surplus motivation and my job isn't that stressful so instead i stress about how generally unhappy + unhealthy + terrible my life is.

Juul-Whip
Mar 10, 2008

chumpchous posted:

i dunno when i was doing manual labor i was so tired all the time the only thing i could stress about was my job. now i have tons of surpluss energy but no surplus motivation and my job isn't that stressful so instead i stress about how generally unhappy + unhealthy + terrible my life is.

smoke weed

tef
May 30, 2004

-> some l-system crap ->

Martytoof posted:

every language that isn't c-style looks weird as gently caress

i got over it for objective-c because it's mostly c-style with a bunch of brackets, but i'm having a hard time with python and stuff

and then i tried to learn ruby on rails because i wanted to make a quick website and everything about it was weird as gently caress. i am a little depressed that i can't pick this stuff up easily anymore :(

python and ruby are quite different underneath, ruby is more like smalltalk, python is like a broken scheme. it's ok to be a little frustrated you can't move from one to the other

tef
May 30, 2004

-> some l-system crap ->

THC posted:

smoke weed

every day, https://www.youtube.com/watch?v=kHXaMJ-ED6g


smoke weed everyday, smoke smoke weed weed weed, smoke smoke weed smoke weed weed

https://www.youtube.com/watch?v=IIIpExVf-5I

A Sloth
Aug 4, 2010
EVERY TIME I POST I AM REQUIRED TO DISCLOSE THAT I AM A SHITHEAD.

ASK ME MY EXPERT OPINION ON GENDER BASED INSULTS & "ENGLISH ETHNIC GROUPS".


:banme:
MiDAS

Multiplication, Division, Addition, Subtraction

Hope this helps

tef
May 30, 2004

-> some l-system crap ->

chumpchous posted:

i dunno when i was doing manual labor i was so tired all the time the only thing i could stress about was my job. now i have tons of surpluss energy but no surplus motivation and my job isn't that stressful so instead i stress about how generally unhappy + unhealthy + terrible my life is.

hedonistic treadmill. woo

tef
May 30, 2004

-> some l-system crap ->

FamDav posted:

we encounter so much mediocrity in our day to day lives that it infuriates and depresses us that people who do not put in a sincere effort can be rewarded as well or even better than us. we have to accept that our reward for hard work and persistence is the knowledge that we took the more difficult path and succeeded.

only then will you find happiness and comfort.

haha no gently caress that: slack off, get paid

MORE CURLY FRIES
Apr 8, 2004

i am a terrible programmer but i still get paid to code so idk i guess ill keep doing this until someone discoves i am a massive fraud

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

FamDav posted:

we encounter so much mediocrity in our day to day lives that it infuriates and depresses us that people who do not put in a sincere effort can be rewarded as well or even better than us. we have to accept that our reward for hard work and persistence is the knowledge that we took the more difficult path and succeeded.

only then will you find happiness and comfort.

you have to accept that your life is not your job

only then will you find happiness and comfort

X-BUM-RAIDER-X
May 7, 2008

keygen and kel posted:

The consultant rehired the idiot to work for his firm, albeit doing something where he could do less damage.

On this day, a manager was born.

Moist von Lipwig
Oct 28, 2006

by FactsAreUseless
Tortured By Flan

Knuc If U Buck posted:

How do I get a big tall av like this?

drink your milk and eat your veggies

Moist von Lipwig
Oct 28, 2006

by FactsAreUseless
Tortured By Flan

chumpchous posted:

i dunno when i was doing manual labor i was so tired all the time the only thing i could stress about was my job. now i have tons of surpluss energy but no surplus motivation and my job isn't that stressful so instead i stress about how generally unhappy + unhealthy + terrible my life is.

lift weights

some kinda jackal
Feb 25, 2003

 
 

Knuc If U Buck posted:

How do I get a big tall av like this?

Be an adult babysitter.

Pittsburgh Fentanyl Cloud
Apr 7, 2003


Moist von Lipwig posted:

drink your milk and eat your veggies

Adbot
ADBOT LOVES YOU

Nehacoo
Sep 9, 2011

i am right now leraning javascript.

comments and opinions?

  • Locked thread