Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / What is the most useful?

Author
Message
aluseus GOD
17
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 30th Sep 2007 05:34
What is the most useful non essential slash main feature things from dbpro that you think is?

I think its memblocks.

Your signature has been deleted by a moderator because this joke is getting old.
Megaton Cat
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: Toronto, Canada
Posted: 30th Sep 2007 05:43
Statistics have shown that ice-cream and red bull are actually the most useful. Sorry.

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 30th Sep 2007 05:53
I'd have to disagree with both of you, sorry.

The most useful has to be the coconuts.

Meh. Signatures. Lame :p
tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 30th Sep 2007 05:54
No, Aikicat. It's the computer itself.


A mod has been erased by your signature because it was larger than 600x120
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 30th Sep 2007 06:43
I agree with coconuts.

Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 30th Sep 2007 06:44
Don't forget about the pingiuns!!!!!

Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 30th Sep 2007 06:46
Rum , a lot of it...


Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 30th Sep 2007 06:48
I thought it was coffee.... Each project usually consumes around 1024 cups of coffee, and 42 trips to the hospital due to banging head against wall at highly caffinated levels...

DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums
Megaton Cat
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: Toronto, Canada
Posted: 30th Sep 2007 06:53
Everyone's entitled to an opinion...but your opinions are wrong.

Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 30th Sep 2007 06:55
Pingiuns are what makes it complete!

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 30th Sep 2007 07:22
Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

If I didn't like my sig more, I would quote you in that sig.

How about this one:

"There's no such thing as a stupid question, just stupid people." - Mr. Garison

lol.


@Maindric
Penguins... AND Pie. You can't eat penguins unless they're in pie! Otherwise they taste like salty fish!


@Aluseus GOD
The ability to make plugins through DBP itself. Oh, wait... Nevermind...

lol, seriously though, the ability to make plugins (In C/C++ of course).



Cheers,

-naota

DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 30th Sep 2007 10:55
I agree wiv the cwofee. Cwofee make phrogramming a chhallenge.

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

Grandma
18
Years of Service
User Offline
Joined: 26th Dec 2005
Location: Norway, Guiding the New World Order
Posted: 30th Sep 2007 11:00
I personally believe the ability to compile your code has proven quite usefull when using DBP.

This message was brought to you by Grandma industries.

Making yesterdays games, today!
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 30th Sep 2007 11:22
haha! I think Grandma spotted the most useful feature...

DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 30th Sep 2007 15:11
Dare I say it, I agree with Aikicat, though personally I prefer Relentless to Red Bull, but same difference - also, you cannot forget the bananas, I mean coffee and coconuts are so overrated.

However, I think the guy wanted a serious answer, so I'll try...

I've never used a memblock, so aside from the compiler I'd say the most useful feature is the loop.

I shot the sheriff
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 30th Sep 2007 18:18
You're all so young an naive. Everyone knows the most important thing is Jolt!


Memblocks are nice, and I've done a lot of things with them. However, I haven't really used them much for any games. So I'll have to say UDTs are the most useful.


Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 30th Sep 2007 20:01
Quote: "I thought it was coffee.... Each project usually consumes around 1024 cups of coffee, and 42 trips to the hospital due to banging head against wall at highly caffinated levels..."

Must be one of them high budget projects.

Uhhhhhhh.... I forgot
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 30th Sep 2007 20:12
Actually, probably the most important thing to programming is a keyboard or form of input device... what good is a compiler if you can't even write the code

UDTs rock for big projects

AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 1st Oct 2007 04:00
Yuck. Why does everyone here like coffee so much?? There are many other ways of obtaining caffeine; personally, I enjoy a painful injection in my neck.

aluseus GOD
17
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 1st Oct 2007 04:36
You guys... I said Non-Necessary thing.

Your signature has been deleted by a moderator because this joke is getting old.
Lucifer
18
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Oct 2007 04:39
Quote: " I enjoy a painful injection in my neck."


really? you to? oh, i thought i was the only one..


Silly!
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 1st Oct 2007 06:46
I don't see what the thing for caffeine is. It does absolutely nothing for me. I could drink liters of caffeinated pop and never feel any different, same with coffees.

Anyhow, I prefer to get a fill of caffeine through something tasty and refreshing. Anyone who thinks straight coffee tastes good or thinks its refreshing has issues. Cold carbonated drinks are the way to go all the time. Nothing more refreshing aside from water itself.

Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Oct 2007 22:07
I have discovered the most non-essential useful part of programming!
The goto command.

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 1st Oct 2007 22:28
lol @ INH

But seriously, Agent Dinks right; caffeine really doesn't do much for me, and coffee's gross.

Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Oct 2007 22:30
Quote: "But seriously, Agent Dinks right; caffeine really doesn't do much for me, and coffee's gross."

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."


Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 1st Oct 2007 22:32
Possibly, or gosub or 'function' In my engine I've not yet used GOTO...those I will use one or two when the time comes, but it reads the game data with gosubs and functions from the scripts. So I think with 'goto' I can do several levels/maps, with no goto, I can only do 1. 'Gosub' and 'function' I can't live with out. Of course 'endfunction' and 'return' as well, otherwise the other two won't work.

I shot the sheriff
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 1st Oct 2007 23:14
Coffee is good, mmkay. I'm addicted-- almost 2 pots a day.

bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 1st Oct 2007 23:19
Quote: "Possibly, or gosub or 'function' In my engine I've not yet used GOTO...those I will use one or two when the time comes, but it reads the game data with gosubs and functions from the scripts. So I think with 'goto' I can do several levels/maps, with no goto, I can only do 1. 'Gosub' and 'function' I can't live with out. Of course 'endfunction' and 'return' as well, otherwise the other two won't work."


GOSUBs are as bad as GOTOs... you should learn to use functions (or other algorithms) in their place.


The greatest multiplayer text adventure ever...
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 1st Oct 2007 23:32
There are actually a few places where GOTO is a good thing to use in C++. Doesn't seem natural, but in some instances it makes the code slightly more efficient, and I've seen some examples of this.

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 1st Oct 2007 23:36
I dunno, some instances I found goto and gosub more convenient than functions.

I shot the sheriff
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 3rd Oct 2007 12:42
Quote: "Coffee is good, mmkay. I'm addicted-- almost 2 pots a day."


Amen

Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 3rd Oct 2007 14:15
Quote: "I dunno, some instances I found goto and gosub more convenient than functions"
Heh, they used to drum it into us in college that you should never need a GOTO if you program correctly. No problems. My first job had a system in an old Unix language and the coding standards documentation they had *insisted* on a GOTO in a certain condition. Mainly because in that language, at the time, GOTO was much much faster than anything else (when they processed millions of records), plus the system was evolving so fast at the time that it was the quickest way to frig things to work. Hehe. Well, when jobs are on the line I suppose...

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 3rd Oct 2007 17:20
You'll find that alot of the Linux kernel code is written with goto's

Linus's argument was that it increased code readability and in certain cases, speed

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 3rd Oct 2007 23:35
Yes, there are instances when using a GOTO statement will speed up an algorithm.

bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 5th Oct 2007 19:19 Edited at: 5th Oct 2007 19:21
Quote: "Yes, there are instances when using a GOTO statement will speed up an algorithm."


That doesn't help if the code is all spaghettified. I can see a GOTO being used for error detection, but really much else I don't see. Perhaps for being used in conjunction with DATA statements or something, but why use data statements when you can use a data file?

It might be useful in some algorithms maybe (like sorting), but at the same time it would then be localized to a specific function, which in my mind would be an acceptable usage.

My point is if you can't figure out how to do something without using GOTO or GOSUB, you shouldn't be using GOTO or GOSUB.

You should only use them if you feel it will be a benefit rather than a hindrance and in a case where you know it can be done without resorting to GOTO/GOSUB but it's neater and/or faster.


The greatest multiplayer text adventure ever...
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 5th Oct 2007 20:44
The instance where I am using goto is to repeat my main code for each level load, as the levels are being scripted, so...it could be (as the general of my engine is working at the moment):


Theoretically I could use functions for the whole lot, but I felt happier with a goto and gosubs, the functions I used are within the gosubs to act as set up commands, either for scripting, collision or general things, for example I'd have the function - load_object() with parameters for file directory, object number, scale, image number, normal map number, greyscale bumpmap number, shader number, collision type.

I shot the sheriff
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 5th Oct 2007 21:17 Edited at: 5th Oct 2007 21:18
Your load level options should be functions. You can do some cool stuff with functions that are just unwieldy with gosubs.




The greatest multiplayer text adventure ever...
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 6th Oct 2007 01:31
I am not referring to using GOTO to send the interpreter halfway across the code. I'm referring to using it to within a function to shave cycles.

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 6th Oct 2007 04:39
Jerico, the gosubs just collect a set of functions like that, I mean that was only an example off of the top of my head as I am not with my programming computer to show you exactly what I've done. Load level would contain a set of commands of reading and interpreting the level scripts...well I can't remember exactly my system, but it's roughly something like that. In my mind what I'm doing is just relocating parts of the code for convenience.

Jeku, Fairplay.

I shot the sheriff
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 6th Oct 2007 08:50
Quote: "That doesn't help if the code is all spaghettified."

Only improper use of GOTO will spaghettify code.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 6th Oct 2007 11:13
Quote: "I can see a GOTO being used for error detection, but really much else I don't see"
When an overnight build of millions of records and gigabytes of data takes 9 hours rather than 11, just because of a GOTO, then thats why (plus lots of other speed enhancements are tested out to get things quicker. Best example I've seen is an overnight report going from 2 hours to complete to 23 seconds. Nice). Plus in a lot of cases further development of old code is a lot quicker using GOTO rather than rewriting it using nicer coding practices. When thousands of pounds per day are paid to get modifications written then the faster the better. I'm not saying GOTO is always the answer, just that it's not as evil as a lot of people seem to make out. Remembering my old insane lecturer there. She used to say "GOTO hell!!!!" and have an eppy about it. She also said within 2 years (1989) programmers would be very rare because systems would develop that would allow no programming and monkeys could do it.

Quote: "That doesn't help if the code is all spaghettified"
Not if you know what you are doing and follow properly set out procedures.

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
DB PROgrammer
17
Years of Service
User Offline
Joined: 9th Feb 2007
Location: Nowhere But Everywhere
Posted: 7th Oct 2007 10:21
How about the index in the help I have never used it.

I keep runing nowhere fast!

Login to post a reply

Server time is: 2024-11-19 09:36:21
Your offset time is: 2024-11-19 09:36:21