Members in Shoutbox
None.

Shoutbox Search
Search for:


Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper
/me > Marks as action

Shoutbox Information
Moderators may delete any and all shouts at will.
Global Shoutbox
Please log in to shout.
Pages: < 1 « 1973 1974 1975 1976 19773572 >

[2016-1-20. : 5:11 am]
jjf28 -- either surround the code using the IScriptEntry with "if ( iscriptBin.get<IScriptEntry>(search, offset) ) { ... }" or use a junk entry; assuming we expect some not-founds
[2016-1-20. : 5:09 am]
O)FaRTy1billion[MM] -- Oh, also where are GRPs loaded so I can load LO?s
[2016-1-20. : 5:05 am]
O)FaRTy1billion[MM] -- Also I don't know how to handle a script not found. SC does FatalError and doesn't really return :P
[2016-1-20. : 5:03 am]
O)FaRTy1billion[MM] -- dunno, I just did it with IScriptEntry search = iscriptBin.get<IScriptEntry>(offset);
[2016-1-20. : 5:01 am]
jjf28 -- just calc the offset from file start rather than memory start :)
[2016-1-20. : 4:59 am]
O)FaRTy1billion[MM] -- Also I don't know how to do that with buffer class
[2016-1-20. : 4:58 am]
O)FaRTy1billion[MM] -- SC does a lot more pointer-arithmetic-y stuff, but I'll spare this that :P
[2016-1-20. : 4:56 am]
O)FaRTy1billion[MM] -- I was just reading through the source at work and thinking about it
[2016-1-20. : 4:56 am]
O)FaRTy1billion[MM] -- I dunno what all I need other than buffer's get other than finding iscript header offset, but I haven't gotten that far :P
[2016-1-20. : 4:55 am]
O)FaRTy1billion[MM] -- I'm going to use the buffer class, just having an iscript class is useful for helper functions
[2016-1-20. : 4:51 am]
jjf28 -- I just abuse the buffer class for the easy "ensure data is found and don't crash if it isn't" behavior :P
[2016-1-20. : 4:50 am]
jjf28 -- if you wanna make a struct/class and use it like that you're welcome to
[2016-1-20. : 4:50 am]
O)FaRTy1billion[MM] -- really iscript could be fully used as just a buffer, but like functions for finding iscript headers are useful
[2016-1-20. : 4:49 am]
O)FaRTy1billion[MM] -- AiScripts does a lot more that isn't necessary for iscripts, and then some things not enough
[2016-1-20. : 4:49 am]
O)FaRTy1billion[MM] -- I just copied AiScripts, but not entirely. I need access to the buffer to read the iscript data so I just made that public
[2016-1-20. : 4:48 am]
jjf28 -- do the functions in the AiScripts class exhaust everything it would be used for?
[2016-1-20. : 4:42 am]
O)FaRTy1billion[MM] -- I don't know if I should use it, or make my own iscript class/whatever ;o
[2016-1-20. : 4:42 am]
O)FaRTy1billion[MM] -- I found an iscriptBin buffer thing, but nothing references it anywhere
[2016-1-20. : 4:42 am]
dumbducky -- That's silly. He lost it at the airport.
[2016-1-20. : 4:40 am]
O)FaRTy1billion[MM] -- that's funny, I was driving home and I just happened to come across some depleted uranium!
[2016-1-20. : 4:38 am]
dumbducky -- So this guy just lost 130 lbs of depleted uranium, and he decides to go to my alumni facebook group to ask for advice
[2016-1-20. : 4:36 am]
Generalpie -- >Not using ==D
[2016-1-20. : 4:36 am]
O)FaRTy1billion[MM] -- Moose uses D
[2016-1-20. : 4:35 am]
dumbducky -- What are you using now instead of C++?
[2016-1-20. : 4:35 am]
O)FaRTy1billion[MM] -- Should I play with chkd? I learned today it doesn't load iscript.bin ;o
[2016-1-20. : 4:26 am]
RIVE -- awww. fml
[2016-1-20. : 4:26 am]
RIVE -- :wob;
[2016-1-20. : 4:12 am]
O)FaRTy1billion[MM] -- :wob: :wob: :wob: :moose: :wob: :wob: :wob:
[2016-1-20. : 4:12 am]
O)FaRTy1billion[MM] -- Rage :wob: !
[2016-1-20. : 4:12 am]
Moose -- :farty:
[2016-1-20. : 4:12 am]
Moose -- Anyway, rage. :wob:
[2016-1-20. : 4:11 am]
Moose -- Only checked 11,996,000 fractions instead of 143,988,000, which helps it be that fast XD
[2016-1-20. : 4:11 am]
O)FaRTy1billion[MM] -- :wob:
[2016-1-20. : 4:08 am]
Moose -- My code for #73 wasn't totally naive, though, I used a way to generate better guesses for fractions in the bounds
[2016-1-20. : 4:07 am]
Moose -- Yes, it can, it's supposed to be that counting all of them takes forever (I counted them but with a faster algorithm)
[2016-1-20. : 4:07 am]
Dem0n -- math sux
[2016-1-20. : 4:07 am]
jjf28 -- o I think 72 can just be pure math'd, neat :)
[2016-1-20. : 4:07 am]
Moose -- Using a script to run it 100 times: real 1m35.955s, so figure 936ms on average
[2016-1-20. : 4:04 am]
Moose -- This is on a faster machine than the one I wrote the code on the first time
[2016-1-20. : 4:04 am]
Moose -- real 0m0.959s
[2016-1-20. : 4:02 am]
Moose -- I did it back in October 2013, in C++, too, lel
[2016-1-20. : 4:02 am]
Moose -- I found it
[2016-1-20. : 4:01 am]
dumbducky -- Why do you delete your solutions? Seems silly to me
[2016-1-20. : 4:00 am]
dumbducky -- That's a good point
[2016-1-20. : 3:58 am]
Moose -- You would just need to run a GCD algorithm and check if fractions are between 1/3 and 1/2 12000*11999 = 143,988,000 times
[2016-1-20. : 3:57 am]
Moose -- I don't have my solution to #73 anymore, but it wasn't terribly long due to the max denominator only being 12000
[2016-1-20. : 3:57 am]
dumbducky -- How long did 73 take to run? I was thinking about solving it naively just to see
[2016-1-20. : 3:56 am]
jjf28 -- #nextLevelStrats
[2016-1-20. : 3:56 am]
Moose -- And #73 I solved naively :P
[2016-1-20. : 3:55 am]
Moose -- To be honest, I solved #73 first, learned algorithms from other people, and then adapted them to #72
[2016-1-20. : 3:54 am]
dumbducky -- How do you go about solving that? I'm guessing the naive implementation would complete somewhere around the heat death of the universe
[2016-1-20. : 3:50 am]
jjf28 -- solve some math problem with programming before the heat death of the universe
[2016-1-20. : 3:50 am]
Moose -- dumbducky
dumbducky shouted: what is problem 72
https://projecteuler.net/problem=72
[2016-1-20. : 3:49 am]
dumbducky -- what is problem 72
[2016-1-20. : 3:46 am]
Moose -- jjf28
jjf28 shouted: not sure whether to invoke Godwin's Law
I'm surprised I haven't yet. I mean, strong leader who is going to act tough, racial scapegoats, and restoring the nation to its former glory... I think they tried that in Europe.
[2016-1-20. : 3:46 am]
Moose -- Congratulations, the answer you gave to problem 72 is correct. You are the 14318th person to have solved this problem.
[2016-1-20. : 3:45 am]
*jjf28 not sure whether to invoke Godwin's Law*
[2016-1-20. : 3:38 am]
Moose -- Unity through getting rid of undesirables, let's Make America Great Again™!
[2016-1-20. : 3:38 am]
Moose -- Silly jjf, there can't be racism if we get rid of all the non-whites and put up walls so they can't get back in. Once that's done, ez unity for those remaining!
[2016-1-20. : 3:36 am]
jjf28 -- leaders unite, not divide :wob:
[2016-1-20. : 3:36 am]
jjf28 -- I do, he's certainly not the man to do it
[2016-1-20. : 3:33 am]
Moose -- He just wants to Make America Great Again™, don't you want to Make America Great Again™, jjf?
[2016-1-20. : 3:33 am]
jjf28 -- etc.
[2016-1-20. : 3:33 am]
jjf28 -- add to no-fly list
[2016-1-20. : 3:33 am]
jjf28 -- toxic af, pls ban, IP ban, name ban, key ban, face ban
[2016-1-20. : 3:30 am]
Moose -- trump = fountain of dank memes
[2016-1-20. : 3:29 am]
jjf28 -- trump = cancer
[2016-1-20. : 3:27 am]
dumbducky -- Ironically, they're discussing whether to ban him from England because he discussed banning people from America.
[2016-1-20. : 3:23 am]
Moose -- Is he Berning up? Lmao
[2016-1-20. : 3:23 am]
KrayZee -- The British Parliament roasts Donald Trump. :)

Pages: < 1 « 1973 1974 1975 1976 19773572 >


Members Online: dydwk474, RIVE, ZOVBOT, O)FaRTy1billion[MM], JamaL, Moose