Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411488 Posts in 69371 Topics- by 58427 Members - Latest Member: shelton786

April 24, 2024, 01:56:04 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)The grumpy old programmer room
Pages: 1 ... 234 235 [236] 237 238 ... 295
Print
Author Topic: The grumpy old programmer room  (Read 738656 times)
Sik
Level 10
*****


View Profile WWW
« Reply #4700 on: December 14, 2014, 09:41:05 AM »

Well, that explains it =| But absolutely not a single place documenting git pull seems to mention that it doesn't overwrite the files that weren't updated, so of course somebody who doesn't know that sees the message and thinks that it'll undo every change that was made after the last update. Ugh.

Probably better terminology would have cleared up the confusion, but still.
Logged
Geti
Level 10
*****



View Profile WWW
« Reply #4701 on: December 14, 2014, 05:16:48 PM »

Some reading about how DCVS in general work (even just reading the wikipedia page on git) could probably have cleared that up though Shrug The whole idea is that there's no forced, central state, and that operations are generally non-destructive. Revisions are explicitly kept separate until brought together manually.
Logged

Udderdude
Level 10
*****


View Profile WWW
« Reply #4702 on: December 30, 2014, 11:21:57 AM »

http://tgceec.tumblr.com/post/106626335863/introducing-the-grand-c-error-explosion WTF
Logged
gimymblert
Level 10
*****


The archivest master, leader of all documents


View Profile
« Reply #4703 on: January 01, 2015, 01:21:29 PM »

10 years after learning them I met back with integral with shader stuff, I was so confused where all those dtheta/domega variable come from Huh? well it's a notation to bound the integral it mean "nothing" (yeah I KNOW what it mean really), I wasted my time being confused over F*****ing nothing... and now thing are back to simple, I feel stupid now  Concerned

Logged

standardcombo
Level 8
***


><)))°>


View Profile
« Reply #4704 on: January 09, 2015, 11:15:42 PM »


Crazy. As a thought exercise, I try to imagine explaining this competition to a scifi enthusiast from the 60s or something.
Logged

EdFarage
Level 2
**


I can upload avatars


View Profile
« Reply #4705 on: January 10, 2015, 10:48:18 AM »

Wake up with solution in brang.
Sit down to code...
..um. Droop
story of my life
 Concerned
Logged
tjcbs
Level 1
*


View Profile WWW
« Reply #4706 on: January 11, 2015, 02:52:45 PM »

Ugh. This took way too long to figure out. Who can spot the error?

Code:
   int near =  (filter == TEX_FILTER_LINEAR)   ? GL_NEAREST : 
               (filter == TEX_FILTER_BILINEAR) ? GL_LINEAR  : GL_LINEAR_MIPMAP_LINEAR;

1>.\tgl\texture.cpp(452) : error C2513: 'int' : no variable declared before '='
Logged

gimymblert
Level 10
*****


The archivest master, leader of all documents


View Profile
« Reply #4707 on: January 11, 2015, 03:26:24 PM »

look at the line before
Logged

Quarry
Level 10
*****


View Profile
« Reply #4708 on: January 11, 2015, 04:32:34 PM »

I've been dabbling around in my collision resolution code for more than an hour now, everything except one tiny detail is working now and I really am out of ideas except this single thing...
Logged
Sik
Level 10
*****


View Profile WWW
« Reply #4709 on: January 11, 2015, 04:34:01 PM »

Ugh. This took way too long to figure out. Who can spot the error?

Code:
   int near =  (filter == TEX_FILTER_LINEAR)   ? GL_NEAREST : 
               (filter == TEX_FILTER_BILINEAR) ? GL_LINEAR  : GL_LINEAR_MIPMAP_LINEAR;

1>.\tgl\texture.cpp(452) : error C2513: 'int' : no variable declared before '='

...are there any compilers left that still treat 'near' and 'far' as keywords?

Also what kind of naming scheme is that? Nearest filtering definitely isn't linear (linear would mean filtered in one axis but not the other). That's why you hear about bilinear and trilinear but not just linear.
Logged
tjcbs
Level 1
*


View Profile WWW
« Reply #4710 on: January 11, 2015, 06:29:50 PM »

...are there any compilers left that still treat 'near' and 'far' as keywords?

Also what kind of naming scheme is that? Nearest filtering definitely isn't linear (linear would mean filtered in one axis but not the other). That's why you hear about bilinear and trilinear but not just linear.

I'm still using VS2008.

You are right, the naming is wrong, I knew something was off when I was typing that. OpenGl does call bilinear GL_LINEAR, as in linear interpolation.
Logged

Sik
Level 10
*****


View Profile WWW
« Reply #4711 on: January 11, 2015, 09:08:27 PM »

I thought it didn't take them as keywords when not building for 16-bit Windows (and I'm not even sure if VS2008 still supports that). Oh well. But yeah, unless you've seen programming for 16-bit x86 in the past, you're likely to have trouble figuring out that one.
Logged
Boreal
Level 6
*


Reinventing the wheel


View Profile
« Reply #4712 on: January 12, 2015, 06:06:55 PM »

Trying to implement deferred rendering and OpenGL only wants to render to the first color attachment and the depth-stencil attachment.  No indication as to why.
Logged

"In software, the only numbers of significance are 0, 1, and N." - Josh Barczak

magma - Reconstructed Mantle API
surt
Level 7
**


Meat by-product.


View Profile
« Reply #4713 on: February 22, 2015, 02:34:19 AM »

Spent the whole day trying to figure why my events weren't firing.
Basically rewrote code from scratch twice.
Was attaching to event "changed" rather than "change".
Facepalm
Logged

Real life would be so much better with permadeath.
PJ Gallery - OGA Gallery - CC0 Scraps
oahda
Level 10
*****



View Profile
« Reply #4714 on: February 23, 2015, 02:22:45 AM »

why are 90 % of programmers so bad at reading

i've seen people look for a missing semicolon for minutes
and i'm too polite to point it out and make them feel stupid Sad
Logged

ProgramGamer
Administrator
Level 10
******


aka Mireille


View Profile
« Reply #4715 on: February 23, 2015, 09:59:15 AM »

I'll answer that for you. They're so absorbed with looking for something at a specific place that they ignore everything else in all other places, including what they might actually be looking for. Gentleman
Logged

Sik
Level 10
*****


View Profile WWW
« Reply #4716 on: February 23, 2015, 09:25:26 PM »

Not even that, they keep reading what they thought they wrote, not what they actually wrote. Same deal with buggy algorithms, they try to analyze it like how they think it should work, not like how it actually works. This is also why auditing by all programmers is a good thing, others may have it easier to spot the issue.

i've seen people look for a missing semicolon for minutes
and i'm too polite to point it out and make them feel stupid Sad
They'll feel stupid when they find out the issue anyway, may as well save them the time.
Logged
Schrompf
Level 9
****

C++ professional, game dev sparetime


View Profile WWW
« Reply #4717 on: February 24, 2015, 03:34:29 AM »

Porting my C++ game to Linux. 10+ static libs, another 10+ prebuilt dependencies. GCC unearthes some errors that have been there for 10 years. And it also annoys the heck out of me when insisting on some stupid old C++ specification details that everyone else silently ditched 10 years ago. The two phenomena are probably linked.  Huh?
Logged

Snake World, multiplayer worm eats stuff and grows DevLog
ProgramGamer
Administrator
Level 10
******


aka Mireille


View Profile
« Reply #4718 on: February 24, 2015, 05:53:47 AM »

Not 100% game/programming related, but my parents are insisting on limiting my computer time because, well, they believe that I should find a job in which I can learn buisiness skills such as communication, responsibilities and dealing with unreasonable people. I'm 17. Are they right to do this or just way too worried? I can't think straight because of frustration right now.  Mock Anger
Logged

oahda
Level 10
*****



View Profile
« Reply #4719 on: February 24, 2015, 09:26:31 AM »

Since when is programming not an employment (why limit it to business?) skill? Get a programming job!
Logged

Pages: 1 ... 234 235 [236] 237 238 ... 295
Print
Jump to:  

Theme orange-lt created by panic