| Mesaj |
Info autor |
Postat la 16 Jul 2008 16:46:27 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Umm.. nu :-P Trebuia scris fara branch de la inceput. Ideea era sa vada si alti shader noobs (like me) ce diferenta poate sa faca... Ma asteptam la o diferenta vizibila; dar m-am crucit cand am vazut ca a sarit de pe la 70 pe la 80 fps...
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 17 Jul 2008 17:24:17 Subiect: Re:
|
|
|
boboS info:
|
boboS:
raicuandi a scris: Ideea era sa vada si alti shader noobs (like me) ce diferenta poate sa faca... Pai arata shaderul sa vedem si alti shader n00bs. Ca sunt cazuri in care e folositor sa ai branching alte cazuri in care nu e bine.
"Noi ne facem ca muncim , ei se fac ca ne platesc"
|
Status:
Înregistrat pe: 03 Oct 2006 15:53:21
Vârsta: 25 ani
Mesaje: 949
Locatie: Galați
Programator
|
| |
Postat la 06 Aug 2008 15:03:54 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Am vazut bucata asta de cod de curand: Cod sursă: class MS3DExporter : virtual protected GPBase Acum, "virtual protected" arata putin ciudat, dar daca dai google, ajungi aici, care numai "putin" nu e... " protected abstract virtual base pure virtual private destructor" ... Goddamn OOP freaks...
Ultima editare efectuată de raicuandi pe 06 Aug 2008 15:04:37; 1 editări în total
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 06 Aug 2008 15:26:10 Subiect: < fara subiect >
|
|
|
Dark info:
|
Dark:
Virtual inheritance inseamna in 99% din cazuri ca ai dat de un programator foarte bolnav la cap.
"Am crezut ca esti ceva mai avansat" - Nekitu, 2008 A.D. Autobaza
|
Status:
Înregistrat pe: 12 May 2007 20:12:30
Vârsta: ? ani
Mesaje: 729
Locatie:
Programator
|
| |
Postat la 06 Aug 2008 15:39:19 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
:-)
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 07 Aug 2008 04:58:53 Subiect: Re:
|
|
|
eugen info:
|
eugen:
Dark a scris: Virtual inheritance inseamna in 99% din cazuri ca ai dat de un programator foarte bolnav la cap.  sau ai nevoie sa folosesti multiple inheritance din clase care au aceeasi clasa de baza
|
Status:
Înregistrat pe: 14 Apr 2007 09:25:00
Vârsta: ? ani
Mesaje: 27
Locatie:
Programator
|
| |
Postat la 07 Aug 2008 08:55:39 Subiect: Re: Re:
|
|
|
Dark info:
|
Dark:
eugen a scris:  sau ai nevoie sa folosesti multiple inheritance din clase care au aceeasi clasa de baza Nevoia asta ar trebui sa aiba un cod in capitolul 5 din ICD-10. 
"Am crezut ca esti ceva mai avansat" - Nekitu, 2008 A.D. Autobaza
|
Status:
Înregistrat pe: 12 May 2007 20:12:30
Vârsta: ? ani
Mesaje: 729
Locatie:
Programator
|
| |
Postat la 23 Aug 2008 23:13:42 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 25 Sep 2008 16:40:39 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Sa lansat http://stackoverflow.com/, de la Joel on Software.
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 07 Nov 2008 09:13:11 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Acum cateva zile sa lansat versiunea 1.6 de Ogre3D, care are un feature now: "Antialiasing on render textures as well as windows." Eu am avut nevoie de asta acum vre-o jumate de an cand lucram la acel demo. Astea sunt genul de feature-uri la care nu m-am gandit de dinainte, si m-am trezit in mijlocul proiectului cu nevoia, dar tot codul blocat in Ogre3D. Despre asta vorbeam cand am spus ca Ogre si engine-uri si framework-uri din astea nu sunt bune decat pt chestii simple si quickie.
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 10 Nov 2008 06:16:53 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Acum cateva luni am scris un program in ASM pt ca nu credeam ca poti sa jump-uiesti la un label dintr-un array. Eh, cel putin am invatat sa scriu un pic de ASM...  Cod sursă: #include
#include
int main(int argc, char** argv)
{
void* ptr[2];
ptr[0] = &&L1;
ptr[1] = &&L2;
goto *ptr[1];
L1:
printf("L1n");
return 0;
L2:
printf("L2n");
return 0;
}
Arata cam ciudat. ( *ptr[1] ar returna ceva de tipul.. void?) Dar ca sa vezi, merge!  (e o optimizare mai rara) Programul de mai sus e scris in GCC/ TCC, sper ca merge si pe VC++.
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 02 Dec 2008 04:10:10 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Microsoft si Direct3D 10/11 in software/pe CPU: WARP/PS: am citit ceva acum 1-2 saptamani despre care e treaba cu &&, dar nu-mi aduc aminte nimic precis... stie cineva ceva aici?
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 16 Dec 2008 14:01:29 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Please Mister hacker go away !!! Your IP address has been tagged. We're watching you.
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 19 Dec 2008 02:32:34 Subiect: < fara subiect >
|
|
|
raicuandi info:
|
raicuandi:
Fuck yes.Reading this was pure joy! http://lwn.net/Articles/249460/ "C++ leads to really really bad design choices. You invariably start using the "nice" library features of the language like STL and Boost and other total and utter crap, that may "help" you program, but causes: - infinite amounts of pain when they don't work (and anybody who tells me that STL and especially Boost are stable and portable is just so full of BS that it's not even funny) - inefficient abstracted programming models where two years down the road you notice that some abstraction wasn't very efficient, but now all your code depends on all the nice object models around it, and you cannot fix it without rewriting your app." Yes... Yes. Yes!!! Finally. Somebody said it. Linus is now my hero! Seriously, if you use C++ to its full extent - and look at inane amount of crap they put in C++0x (http://en.wikipedia.org/wiki/C%2B%2B0x) - lambdas! concepts! alternative function syntax (yes, check THAT one out!), built-in iterators! - why not use C# or Java instead? Equally slow (*), at least they are well designed. What used to be a very much WYSIWYG language with a very well defined purpose (speed and closeness to hardware) is now becoming a random subset of everything from JavaScript to Haskell, whether it makes sense to pack it in one place or not. (*) STL semantics encourages runaway number of memory allocations which is very similar to C# and Java. The difference is that both Java and C# have memory systems that are designed for this purpose - the cost of object creation is very, very low - whereas in C++ it is anything but. (http://1-800-magic.blogspot.com/2007/11/guerilla-guide-to-native-memory.html) Era si timpul sa am de la cine da quote pt asta!
Method 2: Move Your Mouse Pointer If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
|
Status:
Înregistrat pe: 24 Mar 2007 21:02:40
Vârsta: 22 ani
Mesaje: 514
Locatie: Adelaide, Australia
Programator
|
| |
Postat la 23 Dec 2008 11:25:49 Subiect: < fara subiect >
|
|
|
Dark info:
|
Dark:
Din textul ala nu putem decit sa ajungem la concluzia ca cine l-a scris nu intelege C++. Focusul limbajului in ultimii multi ani a fost programarea generica, un lucru foarte important (in mod surprinzator) daca vrei sa ai "speed and closeness to hardware" cum zice ala acolo.
Cind C++ capata feature-uri noi tot sar diversi in sus ca vai ce urit fara sa priceapa ca un principiu de baza in designul limbajului este "zero overhead rule", sau "what you don't use, you don't pay for". Singura exceptie ar fi garbage collection-ul, dar se pare ca (din fericire) ala nu va ajunge in C++0x. In rest, nu-ti convine, nu folosesti, nu suferi.
De altfel poti sa intrerupi lectura unui astfel de "articol" in momentul in care autorul se sperie de concepts alea din C++0x, ca e clar ca autorul nu prea a folosi C++ in mod serios si nici nu intelege ce se petrece acolo.
In concluzie, nu te bucura ca ai din cine sa dai quote, ca singurul lucru cit de cit OK de acolo e ca in C++ e foarte usor sa te "shoot yourself in the foot", dar asta se stia deja si e oricum irelevant pentru programatorii care stiu sa programeze.
Ultima editare efectuată de Dark pe 23 Dec 2008 11:26:42; 1 editări în total
"Am crezut ca esti ceva mai avansat" - Nekitu, 2008 A.D. Autobaza
|
Status:
Înregistrat pe: 12 May 2007 20:12:30
Vârsta: ? ani
Mesaje: 729
Locatie:
Programator
|
| |