Random line of code thread
category: code [glöplog]
jsr (160*10*512+5*512+LoaderSize1)-((160*10*512+5*512+LoaderSize1)/512)*512(a0)
\o/
\o/
Thats great, but wouldn't:
jsr LoaderSize1-(LoaderSize1/512)*512(a0)
do the same, since 160*10*512+5*512 is a multiple of 512?
jsr LoaderSize1-(LoaderSize1/512)*512(a0)
do the same, since 160*10*512+5*512 is a multiple of 512?
case 0xd8: // 11011xxx
vertex(rho * sin(phi) * cos(theta), rho * sin(phi) * sin(theta + segWidth), rho * cos(phi + segHeight));
In fact, wouldn't:
jsr LoaderSize1&511(a0)
do the same?
jsr LoaderSize1&511(a0)
do the same?
send = inner_node_d['<' >> infix_node_d[list_p(term, ',')] >> '>'] >> no_node_d[ch_p('.')] >> proc;
this is the random line of code thread, not the "could that random line of code be done in a different way" thread :D
NB: it sure would. :) but looks less 1337 in comparison. :)
NB: it sure would. :) but looks less 1337 in comparison. :)
:)
ok, well in that case, that is a brilliant way to express "&511" ;-)
for(int dx=0;dx<32;dx++)for(int dy=0;dy<32;dy++)if(dx+x>=0&&dy+y>=0&&dx+x<width&&dy+y<height&&tiles.pixels[tiles.width*dy+dx+(tileNumber<<5)]!=color(255,0,255))pixels[width*(dy+y)+x+dx]=tiles.pixels[tiles.width*dy+dx+(tileNumber<<5)];
string shoppinglist;
using System;
/********************************************
WDR
case 32: PIXEL
const float PI = 0.25 * 3.141592654;
MOV R1,#256:.y MOV R2,#320:.x AND R3,R1,R2:STRB R3,[R0],#1:SUBS R2,R2,#1:BNE x:SUBS R1,R1,#1:BNE y
SELECT s.MatrNr, s.Name, SUM(v.SWS) as SWS FROM Student s, Vorlesung v, hoert h WHERE s.MatrNr = h.MatrNr AND v.Nr = h.VorlNr GROUP BY s.Name;
SELECT * from StudentSWS s WHERE s.SWS > (SELECT AVG(SWS) FROM StudentSWS) AND s.MatrNr NOT IN (SELECT MatrNr FROM prueft where note = 5 GROUP BY MatrNr);
SELECT * from StudentSWS s WHERE s.SWS > (SELECT AVG(SWS) FROM StudentSWS) AND s.MatrNr NOT IN (SELECT MatrNr FROM prueft where note = 5 GROUP BY MatrNr);
i meant:
CREATE VIEW StudentSWS AS SELECT s.MatrNr, s.Name, SUM(v.SWS) as SWS FROM Student s, Vorlesung v, hoert h WHERE s.MatrNr = h.MatrNr AND v.Nr = h.VorlNr GROUP BY s.Name;
SELECT * from StudentSWS s WHERE s.SWS > (SELECT AVG(SWS) FROM StudentSWS) AND s.MatrNr NOT IN (SELECT MatrNr FROM prueft where note = 5 GROUP BY MatrNr);
CREATE VIEW StudentSWS AS SELECT s.MatrNr, s.Name, SUM(v.SWS) as SWS FROM Student s, Vorlesung v, hoert h WHERE s.MatrNr = h.MatrNr AND v.Nr = h.VorlNr GROUP BY s.Name;
SELECT * from StudentSWS s WHERE s.SWS > (SELECT AVG(SWS) FROM StudentSWS) AND s.MatrNr NOT IN (SELECT MatrNr FROM prueft where note = 5 GROUP BY MatrNr);
run :)
GM_xmlhttpRequest({
method: "POST",
url: "http://pouet.net/?"+(new Date().getTime()),
data: "",
headers: {
"User-agent": "Mozilla/4.0 (compatible) Greasemonkey",
"Content-type": "application/x-www-form-urlencoded",
"Accept": "application/atom+xml,application/xml,text/xml,text/html",
"Referer": "http://pouet.net"
},
onload: function(responseDetails)
{
showComments(responseDetails);
}
});
method: "POST",
url: "http://pouet.net/?"+(new Date().getTime()),
data: "",
headers: {
"User-agent": "Mozilla/4.0 (compatible) Greasemonkey",
"Content-type": "application/x-www-form-urlencoded",
"Accept": "application/atom+xml,application/xml,text/xml,text/html",
"Referer": "http://pouet.net"
},
onload: function(responseDetails)
{
showComments(responseDetails);
}
});
return 1;
Code:
main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}
printf("und dann kam das waldmänchen und überreichte das produkt!");
;