[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Define Most Annoying Task?

Define Most Annoying Task?

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Define Most Annoying Task?

Postby Baker » Fri Apr 24, 2015 6:08 am

Around July of last year seeing all the different software renderer stuffs, I started mess with software renderers.

And it made me nostalgic for WinQuake and I started playing with it. And then I came up with a rather tedious idea of trying to merge my modified FitzQuake with a software renderer.

It was an astronomical amount of work. And tedium.

But it is WAY easier than parsing text. I swear. :evil: :evil: :evil: :evil: :evil:

Why does parsing text always have to be a category 5 nightmare? Even when you have a plan.

I saw my auto-complete code and after thinking about it works great, but was piles of spaghetti --- I decided to fix it once and for all, but scientifically dissecting it into about 8 components with each being blissfully agnostic about its purpose (no globals, purpose agnostic), and writing some new buffer size safe functions to handle it.

I wish I had that time back. :( Seems like text + C + buffer sizes + moderate text manipulation is always a license to get burnt. The end result ended up being exactly what I wanted (but no really worth it), but it takes a stupid length of time to handle every edge case and you always discover more of them as you go along.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Define Most Annoying Task?

Postby mankrip » Fri Apr 24, 2015 1:35 pm

Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
/ /
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Re: Define Most Annoying Task?

Postby frag.machine » Fri Apr 24, 2015 6:13 pm

I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: Define Most Annoying Task?

Postby Spike » Fri Apr 24, 2015 7:13 pm

the real problem with text is that it means something to the user rather than to software. its not logical, its not straight forward, you can't redefine what it means. to make matters worse, its inherantly variable length.

regarding unicode, this about sums up my feelings on the matter:

regarding AI, we won't have artificial inteligence until we stop defining inteligence as something that is as illogical as hunams.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Define Most Annoying Task?

Postby Baker » Fri Apr 24, 2015 7:43 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Define Most Annoying Task?

Postby mankrip » Sat Apr 25, 2015 12:06 am

Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
/ /
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Re: Define Most Annoying Task?

Postby Baker » Sat Apr 25, 2015 3:05 am

Endianness is basically dead AFAIK. The consoles, mobile and PCs, Macs all are little endian now or effectively support little Endian (i.e. Intel)

(Of course, other endians live on in, say, networking stuff. )
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Define Most Annoying Task?

Postby gnounc » Mon Apr 27, 2015 12:20 pm

my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: Define Most Annoying Task?

Postby jitspoe » Mon Jul 27, 2015 2:42 am

Setting stuff up is often a pain. I might have to go with that one, but I think the most annoying task is trying to fix some bug that only happens 1/100 times and makes no sense...

jitspoe
 
Posts: 217
Joined: Mon Jan 17, 2005 5:27 am

Re: Define Most Annoying Task?

Postby revelator » Mon Jul 27, 2015 5:12 am

And then find out its caused by an api change :) god one of those allmost drove me nuts when i tried to compile doom3 with msvc 2013, found out it was caused by ms changing the x87 floating point math to SSE instructions, the fix was silly easy (turn of optimization on certain function and it worked as it should) but still ergh.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Define Most Annoying Task?

Postby frag.machine » Mon Jul 27, 2015 11:07 am

Indeed. Just for fun I tried to compile Quake 2 source and surprise, VS2008 failed to open the old MSVC6 solution. I managed to scrap the original project and recreate it following some tut on youtube, but definitely it's far from what I would call "fun". Parsing text looks like a breeze in comparison.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: Define Most Annoying Task?

Postby mh » Tue Jul 28, 2015 7:49 am

What's mildly funny is that - if you downloaded the Q2 sources from github - it's probably just a text-parsing problem. Because the files on github have Unix line-endings, which VS 2008 is generally OK with, with the exception of the project files, which it will choke on.
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Re: Define Most Annoying Task?

Postby revelator » Tue Jul 28, 2015 8:54 am

Thought they did away with that ages ago ??? cr/lf endings, msysgit even asks you if you want windows line endings when checking out.
User error can ofc newer be counted out :) havent had those kind of problems in some while, but i do remember having to run unix2dos on project files in the past.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Define Most Annoying Task?

Postby mh » Tue Jul 28, 2015 11:23 am

On github if you use the "Download Zip" link:

Image

You'll get Unix line-endings, at least from the id software stuff.
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Re: Define Most Annoying Task?

Postby frag.machine » Tue Jul 28, 2015 11:45 am

Oh well... :confused: If the problem is actually related to text encoding, I'd expect some message related, but the error I got didn't give any clue. I'll make some experiments later to check this theory.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Next

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests