If you can read this, either the style sheet didn't load or you have an older browser that doesn't support style sheets. Try clearing your browser cache and refreshing the page.

(Telegraph)   How to code, step one; learn to ^c^v   (telegraph.co.uk) divider line 175
    More: Advice, algebra, baking sodas, maths, digitizations, calculus  
•       •       •

6529 clicks; posted to Geek » on 09 Dec 2012 at 5:25 PM (1 year ago)   |  Favorite    |   share:  Share on Twitter share via Email Share on Facebook   more»



175 Comments   (+0 »)
   
View Voting Results: Smartest and Funniest

Archived thread

First | « | 1 | 2 | 3 | 4 | » | Last | Show all
 
2012-12-10 04:39:17 PM

MrEricSir: Back in my day we learned to code by adding cheats to nibbles.bas. And we liked it.


Oh some of the mods we came up with. I added bonus levels, versus mode (not just multiplayer, but you could kill the opponent), and teleports, among other things. And I came up with a crudely networked version of gorilla.bas using polled message passing through the filesystem Very, very poor practice but that was all we had to work with.

I did have a friend who came up with his own 'casino games' type of software he was passing off as solely his own. Funny thing was I caught him using my code for a craps game because I never finished my game and his version was just as incomplete as mine (and displayed the same messages).
 
2012-12-10 04:43:01 PM
There are 10 types of people in this world.....
 
2012-12-10 04:44:25 PM

EngineerAtWork: redmid17: what if I'm copying and pasting my function?

The entire function, or the function call? If you are copying the entire function, I would stop and ask why. Maybe that should be encapsulated within another method.

If it is just the function call, I would still type it out. That way you could catch any errors (or not propagate errors) in the parameter list. If you are copying it because only one parameter is changing, why not determine the parameter ahead of time and call the function. Either way, copying and paste should be a warning flag. Granted, there may be time when it is appropriate. But you should always stop, take a breath, and ask yourself if there isn't a more efficient, less error prone way.

Taking a few extra minutes to code can save a few hours of debugging.


function call. I'm really lazy. Hell I set up my IDE to autocomplete the most common stuff I do.
 
2012-12-10 04:45:57 PM
Half Man Half Biscuit
There are 10 types of people in this world.....



i.imgur.com
 
2012-12-10 04:47:29 PM

vossiewulf: DeaH: My job is also to reign in the customer

As noted, poor bastards. Can't think of anything more fun to do in a day than tell an important customer something they don't want to hear.


You get used to saying things like, "It is possible. Just not in our current schedule or budget. Is this a priority?" That's usually the truth, too. If the customer is willing to throw unlimited money and time, they can get just about anything. They are never willing to throw unlimited time and money at things. They usually want an existing solution with a few tweaks.

It's fun when they want something totally new. That's actually the best, but the client has to understand that progress has to be in stages. And it is really important to set expectations. That's where dev. comes in. I need to know what is likely. And when the customer wants enterprise solutions when they've never had them before, it's time to be really careful. Often, they want to provide little or no control to anyone who is not at the corporate level. and they don't understand how that can kill productivity. My job is also to walk them through their end user's process.
 
2012-12-10 04:48:56 PM

Fark_Guy_Rob: True story....


I've seen similar situations. One of which spit out a report that used Lotus 1-2-3. My reaction was fairly predictable. Hey, the guys in our Utah office are still using Lotus 1-2-3. Uh, what's Lotus 1-2-3? It's what they used as a spreadsheet when wearing onions on your belt was still the fashion of the time. But it works! They get a report every week and they depend on it.

So I ask my boss if we can upgrade them. Nah - they're fine he said. Let them have their Lotus. In one sense he was right. It worked most of the time even though they were logging into an account of someone who hadn't worked for the company in years to generate this report every week, but in another sense he was dead wrong because I found out about it because people would call me up when it didn't work and I'd have to spend time figuring out WTF was going on with an ancient spreadsheet that was generated by some horribly hacked together scripts.

Who does this account even belong to? Oh, some guy who retired in 1995. I think he's dead now, but he was awesome at spreadsheets. What's this? The file gets saved to a floppy disk?

Seriously, they'd log in to an account on a plant system (AIX) that belonged to someone who hadn't worked for the company in years, save it to a floppy disk and put it in their desktop and run Lotus 1-2-3. And this was just a couple of years ago, and it wasn't a small company either.

I'm so glad I don't work for them anymore.
 
2012-12-10 04:49:16 PM

Half Man Half Biscuit: There are 10 types of people in this world.....


Those who understand binary, those who don't, and those who paid attention during their digital logic class lectures on Gray Code.
 
2012-12-10 04:52:41 PM

DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.


Is that what you'd say... you do here?
 
2012-12-10 05:44:31 PM

Mad Canadian: jimmiejaz: 10 REM "Another green for me"
20 PRINT "Green"
30 for t=1 to 300
40 CLS
50 next t
60 goto 20
1000 END

So the "program" is going to flash the word "Green", clear the screen 300 times, and then do that forever?


Yup, because I did a copypasta but copied things wrong :D
 
2012-12-10 06:14:34 PM

Dinjiin: farkeruk: Sure, it means you are basically stuck on Microsoft kit, but for me, that's a small price to pay for all the goodies I get.

As long as you don't call Windows specific DLLs, you can supposedly get a lot of C♯/dotNet programs to work with Mono under BSD and Linux.


Kinda. You just have to make sure to use Environment.Newline and Environment.PathSeparator instead of string constants. I've always said "If it won't run in Mono, you shouldn't be writing it", but encryption and Microsoft-specific libraries were beastly. And you're always 2 years behind the state of the art.
 
2012-12-10 06:27:06 PM

treesloth: DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.

Is that what you'd say... you do here?


Okay, maybe not YOUR specs. Although, maybe....
 
2012-12-10 07:32:20 PM

DeaH: treesloth: DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.

Is that what you'd say... you do here?

Okay, maybe not YOUR specs. Although, maybe....


So you physically take the specs...and bring them to the engineers?
 
2012-12-10 07:38:35 PM

BumpInTheNight: DeaH: treesloth: DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.

Is that what you'd say... you do here?

Okay, maybe not YOUR specs. Although, maybe....

So you physically take the specs...and bring them to the engineers?


Sometimes - but it's easier to put them on SharePoint, don't you think?
 
2012-12-10 08:09:31 PM

Happy Hours: So I ask my boss if we can upgrade them. Nah - they're fine he said. Let them have their Lotus. In one sense he was right. It worked most of the time even though they were logging into an account of someone who hadn't worked for the company in years to generate this report every week, but in another sense he was dead wrong because I found out about it because people would call me up when it didn't work and I'd have to spend time figuring out WTF was going on with an ancient spreadsheet that was generated by some horribly hacked together scripts.

Who does this account even belong to? Oh, some guy who retired in 1995. I think he's dead now, but he was awesome at spreadsheets. What's this? The file gets saved to a floppy disk?

Seriously, they'd log in to an account on a plant system (AIX) that belonged to someone who hadn't worked for the company in years, save it to a floppy disk and put it in their desktop and run Lotus 1-2-3. And this was just a couple of years ago, and it wasn't a small company either.


This is why I'm really, REALLY intolerant of VBA. I'm not in favour of total bans, but often, VBA is simply a reflection of bad processes in a company and people working around the processes rather than changing them. You have managers pressurising their staff to provide information or processes, and at the same time, tie up the IT department in procedures.

This should be dealt with by people going up the line and saying "look, which do you really want? Control, or speed", but most middle managers instead just tell their staff to find a way to solve it, and the answer is lashing together something with VBA, because it bypasses the process (the process that their senior management signed-off on). This isn't good. You have staff who don't know programming often learning a bit of it (time wasted, no real control or discipline). They're then using some of the least efficient development tools around.

It would be far better to just give those people's time (or the monetary value) to a development team to build it. And to then have different processes based on the risk of the system (one of the more serious problems with a development process is that you often have the same process for managing the development of the mission-critical stock control system as the development of the corporate website, when losing the corporate website for an hour ain't going to mean shiat).
 
2012-12-10 08:12:58 PM
cretinbob: How ya doin'?

If that's an attempt to get a piece of my allocation, then I'm flattered but I'll have to say no.

WxGuy1: WRF? I'm currently using ARPS, but that's primarily because the available microphysics and some supporting packages weren't available for WRF yet. I've thought about CM1 and COMMAS, but I'd really like something that includes a spectral bin microphysics package since it'd make my life easier...

Yes, I'm in the wonderful wonderful world of WRF. As far as your microphysics problem is concerned, did you consider making the scheme you wanted a new option for the microphysics namelist? I'm lucky enough (so far) that my tinkering with namelist options is restricted to one existing .F file rather than having to write a whole new .F file. Of course, it would take me at least a month to write a new physics option from scratch and implement it into the registry/whatever structure of WRF.
/WRF documentation is in dire need of an update
 
2012-12-10 08:46:01 PM

Half Man Half Biscuit: There are 10 types of people in this world.....


Those who understand binary, those who don't, and those who FileNotFound.
 
2012-12-10 09:12:28 PM

traylor: Half Man Half Biscuit: There are 10 types of people in this world.....

Those who understand binary, those who don't, and those who FileNotFound.


I don't get that last part
 
2012-12-10 09:45:29 PM

hershy799: traylor: Half Man Half Biscuit: There are 10 types of people in this world.....

Those who understand binary, those who don't, and those who FileNotFound.

I don't get that last part


It's a classic WTF, but forget it. Really, forget it. Just go outside, get drunk and meet some girl, live your life to the fullest, because you are a lucky noob who haven't had a slight glimpse yet into the deep Abyss that is the software industry.
 
2012-12-10 09:58:58 PM

hershy799: traylor: Half Man Half Biscuit: There are 10 types of people in this world.....

Those who understand binary, those who don't, and those who FileNotFound.

I don't get that last part


http://us.thedailywtf.com/Articles/What_Is_Truth_0x3f_.aspx
 
2012-12-11 12:09:16 AM
Meyerkev
Interesting stuff - thanks for the info. It definitely shows that, while I've come a long way since I've started scripting, it's just the tip of the iceberg in terms of what I still have yet to learn.
 
2012-12-11 06:18:01 AM

DeaH: BumpInTheNight: DeaH: treesloth: DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.

Is that what you'd say... you do here?

Okay, maybe not YOUR specs. Although, maybe....

So you physically take the specs...and bring them to the engineers?

Sometimes - but it's easier to put them on SharePoint, don't you think?


That's not in the script! You're supposed to say "I sometimes give them to my secretary", damn it go rewatch office space :P
 
2012-12-11 11:14:14 AM

BumpInTheNight: DeaH: BumpInTheNight: DeaH: treesloth: DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.

Is that what you'd say... you do here?

Okay, maybe not YOUR specs. Although, maybe....

So you physically take the specs...and bring them to the engineers?

Sometimes - but it's easier to put them on SharePoint, don't you think?

That's not in the script! You're supposed to say "I sometimes give them to my secretary", damn it go rewatch office space :P


Always good advice to rewatch Office Space, but I haven't had a secretary since the late '80s.
 
2012-12-11 11:57:56 AM

DeaH: BumpInTheNight: DeaH: BumpInTheNight: DeaH: treesloth: DeaH: treesloth: DeaH: As a person who writes those requirements...

Well, then I gotta ask, then why can't the customers just take the specifications directly to the software people, huh?

I use the requirements to write your specs.

Is that what you'd say... you do here?

Okay, maybe not YOUR specs. Although, maybe....

So you physically take the specs...and bring them to the engineers?

Sometimes - but it's easier to put them on SharePoint, don't you think?

That's not in the script! You're supposed to say "I sometimes give them to my secretary", damn it go rewatch office space :P

Always good advice to rewatch Office Space, but I haven't had a secretary since the late '80s.


WHAT THE HELL IS WRONG WITH YOU PEOPLE!?!?! 
ts3.mm.bing.net
 
2012-12-11 10:09:53 PM
Well, today I told my manager I was tired of doing Business Analysis and wanted to write code. So now Ill be learning COBOL to tide me over until I can get the training required to put me on a re-engineering team to do the same stuff Ill be doing in COBOL, in Java which is what I really want to do.

Oh well, writing COBOL still beats writing requirements documents and test plans. Fark test plans.
 
2012-12-12 10:26:13 AM

BumpInTheNight: That's not in the script! You're supposed to say "I sometimes give them to my secretary", damn it go rewatch office space :P


Phwew... thought I was remembering it all wrong!
 
Displayed 25 of 175 comments

First | « | 1 | 2 | 3 | 4 | » | Last | Show all

View Voting Results: Smartest and Funniest


This thread is archived, and closed to new comments.

Continue Farking
Submit a Link »






Report