Go Back  
Reply
 
Thread Tools
Old 03-15-2012   #51
japsander
 
japsander's Avatar
 
Join Date: Jun 2009
Location: up sh*t creek without a paddle
Posts: 7,674
Likes: 2,771
Liked 5,292 Times in 2,530 Posts
Mentioned: 360 Post(s)
Tagged: 1 Thread(s)
Mallrats - Sailboat Scene compilation - YouTube
japsander is offline   Reply With Quote
Likes: (1)
Old 03-15-2012   #52
Ubefuct
Member
 
Ubefuct's Avatar
 
Join Date: Aug 2011
Location: at my computer
Posts: 461
Likes: 186
Liked 246 Times in 137 Posts
Mentioned: 26 Post(s)
Tagged: 0 Thread(s)
off topic

Originally Posted by ohhwun View Post
It's a schooner
Chocolate covered pretzel anyone? Mall rats good movie.
Edit... damn @japsander that was fast, well maybe not but I just read it

Last edited by Ubefuct; 03-15-2012 at 05:22 PM.
Ubefuct is offline   Reply With Quote
Old 03-15-2012   #53
stuck?
 
stuck?'s Avatar
 
Join Date: Sep 2010
Location: Canada
Posts: 1,393
Likes: 4,053
Liked 850 Times in 486 Posts
Mentioned: 127 Post(s)
Tagged: 0 Thread(s)
Not to hijack but, Mallrats.. great movie!
__________________
Help, im stuck!

stuck? is offline   Reply With Quote
Old 03-15-2012   #54
bcklzz
Apprentice
 
Join Date: Feb 2012
Posts: 13
Likes: 10
Liked 6 Times in 3 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Mastahg View Post
Went and compiled that paste, "24/100.00%" is the output, HES ALMOST 1/4 DONE!
https://twitter.com/#!/naehrwert/sta...18355629162497



http://pastie.org/3601788
Code:
//You've got the number 7_3_6_4_48 where the blanks are filled with the 
//digits in {4,5,6,7} (every digit only used once). What is the chance 
//for all the possible numbers to be divisible by 36? Solution in C:

#include <stdio.h>
#define H 100LL
int main(){long long int t,c[]={4,5,6,7};int i,j,k,l,z=0,a=0;
for(i=0;i<4;i++)for(j=0;j<4;j++)for(k=0;k<4;k++)
for(l=0;l<4;l++)if(i!=j&&i!=k&&i!=l&&j!=k&&j!=l&&k!=l)
{t=7030604048+c[i]*H*H*H*H+c[j]*H*H*H+c[k]*H*H+c[l]*H;
if(t%36==0)a++;z++;}printf("%d/%.2f%%",a,100*(float)z/a);}

//I mean you could solve it with simple math too, 
//but where is the fun in that?

Checkout the new one, is pretty cool :D

http://pastie.org/3602474
Code:
#include <stdio.h>
#include <string.h>
#define UC unsigned char
#define US unsigned short
#define UI unsigned int
#define D 128
#define S (18+D*D*3)
void p(UC *t,US x,US y, UI c){t+=D*y*3+x*3;*t++=c&0xFF;*t++=(c&0xFF00)>>8;*t=(c&0xFF0000)
>>16;}int main(){int x,y,i;UC d[S],*t=d+18;memset(d,0,18);memset(t,0xFF,S-18);*(d+2)=2;*(
US*)(d+12)=D;*(US*)(d+14)=D;*(d+16)=24;for(y=0;y<D;y++)for(x=0;x+y<D;x++)(!(x&y))?p(t,x,y
,0xE16F00):p(t,D-x,D-y,0x1E90FF);FILE*fp=fopen("s.tga","wb");fwrite(d,1,S,fp);fclose(fp);}

Last edited by bcklzz; 03-15-2012 at 05:56 PM.
bcklzz is offline   Reply With Quote
Old 03-15-2012   #55
mirkie
Member
 
Join Date: Feb 2012
Posts: 337
Likes: 52
Liked 170 Times in 97 Posts
Mentioned: 20 Post(s)
Tagged: 0 Thread(s)
Originally Posted by bcklzz View Post
https://twitter.com/#!/naehrwert/sta...18355629162497



http://pastie.org/3601788
Code:
//You've got the number 7_3_6_4_48 where the blanks are filled with the 
//digits in {4,5,6,7} (every digit only used once). What is the chance 
//for all the possible numbers to be divisible by 36? Solution in C:

#include <stdio.h>
#define H 100LL
int main(){long long int t,c[]={4,5,6,7};int i,j,k,l,z=0,a=0;
for(i=0;i<4;i++)for(j=0;j<4;j++)for(k=0;k<4;k++)
for(l=0;l<4;l++)if(i!=j&&i!=k&&i!=l&&j!=k&&j!=l&&k!=l)
{t=7030604048+c[i]*H*H*H*H+c[j]*H*H*H+c[k]*H*H+c[l]*H;
if(t%36==0)a++;z++;}printf("%d/%.2f%%",a,100*(float)z/a);}

//I mean you could solve it with simple math too, 
//but where is the fun in that?

Checkout the new one, is pretty cool :D

http://pastie.org/3602474
Code:
#include <stdio.h>
#include <string.h>
#define UC unsigned char
#define US unsigned short
#define UI unsigned int
#define D 128
#define S (18+D*D*3)
void p(UC *t,US x,US y, UI c){t+=D*y*3+x*3;*t++=c&0xFF;*t++=(c&0xFF00)>>8;*t=(c&0xFF0000)
>>16;}int main(){int x,y,i;UC d[S],*t=d+18;memset(d,0,18);memset(t,0xFF,S-18);*(d+2)=2;*(
US*)(d+12)=D;*(US*)(d+14)=D;*(d+16)=24;for(y=0;y<D;y++)for(x=0;x+y<D;x++)(!(x&y))?p(t,x,y
,0xE16F00):p(t,D-x,D-y,0x1E90FF);FILE*fp=fopen("s.tga","wb");fwrite(d,1,S,fp);fclose(fp);}
Pretty impressive. That guy knows what he is talking about. You must be a mathematical genious to think like this.
mirkie is offline   Reply With Quote
Old 03-15-2012   #56
zecoxao
Member
 
zecoxao's Avatar
 
Join Date: Oct 2011
Posts: 741
Likes: 425
Liked 744 Times in 290 Posts
Mentioned: 118 Post(s)
Tagged: 0 Thread(s)
I like the way he shows us hints. Reminds me of a french dude i used to see on #ps3dev who started giving hints aswell. That reminds me, they seem to share that they both "know" what they're talking about :P
__________________
"Whoever has ears, let them hear."
zecoxao is offline   Reply With Quote
Likes: (1)
Old 03-15-2012   #57
wtfTroll
Member
 
wtfTroll's Avatar
 
Join Date: Feb 2011
Posts: 343
Likes: 98
Liked 149 Times in 87 Posts
Mentioned: 25 Post(s)
Tagged: 0 Thread(s)
Originally Posted by mirkie View Post
You must be a mathematical genious to think like this.
Or a person with a little programming experience??
__________________

If you're reading this then you have a (BAD WORD) life i guess :P
wtfTroll is offline   Reply With Quote
Old 03-15-2012   #58
oPolo
Member
 
oPolo's Avatar
 
Join Date: Feb 2011
Posts: 915
Likes: 311
Liked 453 Times in 299 Posts
Mentioned: 79 Post(s)
Tagged: 0 Thread(s)
Originally Posted by wtfTroll View Post
Or a person with a little programming experience??
I would dare say, a good programmer cannot avoid going hand in hand with some degree of mathematical ability.
oPolo is offline   Reply With Quote
Likes: (1)
Old 03-15-2012   #59
wtfTroll
Member
 
wtfTroll's Avatar
 
Join Date: Feb 2011
Posts: 343
Likes: 98
Liked 149 Times in 87 Posts
Mentioned: 25 Post(s)
Tagged: 0 Thread(s)
Originally Posted by oPolo View Post
I would dare say, a good programmer cannot avoid going hand in hand with some degree of mathematical ability.
And i would dare say, this have noting *Noting at all to do with the PS3! i don't get why it's posted here, plus why are we still making threads about tweets? didn't we learn from the past mistakes *fakes?
__________________

If you're reading this then you have a (BAD WORD) life i guess :P
wtfTroll is offline   Reply With Quote
Likes: (1)
Old 03-15-2012   #60
depblkman
Member
 
depblkman's Avatar
 
Join Date: Jan 2011
Posts: 479
Likes: 288
Liked 175 Times in 112 Posts
Mentioned: 17 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to depblkman
this is one of those things where you can see the light at the end of the tunnel, however to get to the end, all of the boulders has to be cleared in order to get through safely. Speaking for myself, If the PS3 is cracked again, happy days. If not, i can wait. Let those in the know work it out without pressure so that we can have happy days again.
__________________
Alucard: Bet your a skank!
Hellsing: Bet your an arsehole!
Alucard: B**CH I EAT PEOPLE!!!
depblkman is offline   Reply With Quote
Likes: (1)
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 02:31 AM.