8800+ entries in 0.013s
mod6: and, suprisingly it worked.
mod6: so, as a trial, i set it up on my eulora box.
mod6: <+mircea_popescu> mod6 possibly not aptgetting a binary but instead building source may fix it for you ? << yeah, this is always a bad idea. only reason i did it, was to get an ada env stood up quickly. i had a super weird problem on the first environment that I tried on. the gnat version didn't match the gcc version and was getting like non-determinstic errors.
mod6: im not sure what it doesn't like about 142, 146 -- they look like a lot of otherlines in ffa. so not sure what it thinks isn't kosher.
mod6: np, thank you for the help!
mod6: yup. totally unchanged. am posting...
mod6: <+asciilifeform> mod6: plz repaste your barf << ok, shall I rerun your make, included with the fact.tar.gz ?
mod6: i can, i guess, bundle all those deb packages and send 'em.
mod6: not even sure if that's possible... will look
mod6: I'd be happy to try anything on my environment for you if it were to help sus out what might be wrong with it. I truly have no idea where to begin on this thing.
mod6: My thinking is that, if i need to be able to use all the switches ad denoted in your makefile (since my mine doesn't seem to allow for that), I may need the adacore configuration.
mod6: <+asciilifeform> mod6: not the problem. my thing builds on both adacore's and trad gnu gnat. << yeah not sure what the problem is. it's a binary installation of gnat via apt-get, so that, i'm sure is part of the issue. however, it works better than the first ada configuration that I had, which, didn't work at all.
mod6: perhaps if i can get that working, then I can use the -cflags -O2 thing alright without issues.
mod6: I'll be spending some time this week to try to get adacore's stuff built into gentoo with gcc. not sure now how this will go, but will let you guys know.
mod6: <+asciilifeform> results of torture test: << thanks for posting your results.
mod6: im gonna try to see if I can resolve the issues. probably just my environment or whateve.r
mod6: im probably condemmed to going through all the hoops to get gnat setup on gentoo. i just haven't ventured into it yes as it seems like a pretty timely, process.
mod6: I'll check into wtf is going on. I'm running gnat on 4.9.2 on deb.
mod6: <+asciilifeform> !~later tell mod6
http://nosuchlabs.com/pub/fact.tar.gz << complete kit for above. sha512==26198604bff50d3411e343a30b97f4babe3a6b291fca267435cecd6a5438a08862b550198a49dd5549dda00c841d95afc1443f597587710b83c7fa65effa9c73 << alright thanks!
mod6: ok, yeah, i guess it doesn't work.
mod6: $(GNATMAKE) -c $(PROGRAM) $(ARGS)
mod6: yah, gotta be the version of my make is different than yours, plus, i'm not using adacore's gnat
☟︎ mod6: now i get: make: *** No rule to make target 'gnatmake', needed by 'ffa'. Stop.
mod6: then add '\' following those.
mod6: to resolve those, i had to yank target instructions to the same line as the target var.
mod6: Makefile:33: *** missing separator. Stop.
mod6: also, makefile doesnt seem to work, i seem to recall this from before.
mod6: barfs spitting out flag usage, neither of which are available.
mod6: ok, it doesnt recognize `gnatmake -cflags -02 ffa ffa_fact`
mod6: it's still running. should i recompile & re-run?
mod6: no, didn't build with -cargs -O2, just did `gnatmake ffa ffa_fact`
mod6: nice, i do have one, but it was from a while ago.
mod6: asciilifeform: ah, ok.
mod6: fact(65536) still running btw...
mod6: But alf's seems to compile just fine. So i dunno wtf.
mod6: anyway, a couple days ago, i was messing around trying to go from 1 .. Word. And I thought that I got a compile error saying "Expected Standard.Integer, found "Word"" or something of the kind.
mod6: i felt like had been silly not even considering going 1...N as opposed to N...1
mod6: BingoBoingo: that is pretty cool
mod6: ok factorial of 65536 with's alf's changes is running.
mod6: but ofc, computers don't care.
☟︎ mod6: when I do the factorials in my head, i seem to start with the bigger end for some reason.
mod6: one thing, that i never really thought about is going the other direction; 1 * 2 * 3 ...
mod6: <+asciilifeform> also you forgot, in the original, to divide the length of ffa by 64 (bits), yours will blow up instead of run, gcc by default does not give infinite stack << ah thanks for making the changes asciilifeform. bak now. will try this out...
mod6: anyway, got some chores to do, will have to come back to this later.
mod6: ah, that was used for some debugging
mod6: ah, ok. duh. lemme see here...
mod6: i dunno, just the strict types thing.
mod6: ooh. for some reason, i didn't think that it could?
mod6: you want me to post my code before I run this again?
mod6: <+asciilifeform> which, btw, imho is intrinsically unsuitable for a fits-in-head rsatron, it is extremely gnarly and uses float approximations that get magically unfudged back to int, etc << ugh. right.
mod6: ok ima kill this off then throw in some 1mb FZ
mod6: asciilifeform: entrenching tool, aha.
mod6: sure, but perhaps, getting one close is good enough in this case.
mod6: does that have a name? ^
mod6: 1.326 + log(65536)/2*log(2) + (log(65536)/log(2) - 1.443)*65536 << during this exercise, i started, very quickly to see this expansion pattern. was thinking there must be some square law to predict the probable size of the outcome.
mod6: asciilifeform: werd.
mod6: i'd rather have something sane to read at the end of the journey.
mod6: ah no. lol, it is still going.
mod6: alright, i better catch some zzzs. i'll check in on the factorial here when I wake up.
mod6: heheh, "such readership"
mod6: pretty ave. i'd hit it.
mod6: this seems to be the analogue of the modern-day soccer-mom 3/4 boob selfie. in the text, she criticizes her friends for being "suburban" and "dowdyish"; but to me, she seems like one of the same.
mod6: i must have missed somethin
mod6: i agree about how Laura was written, pretty plain and dull.
mod6: as you denoted. it kept me reading, which, counts for something.
mod6: there was some warts in the prose.
mod6: ya. heard many times, just never gave it a turn.
mod6: I liked your comments about byron. That was the first i've read of him.
mod6: yeah mine is still going.
mod6: i bumped it up to 32768
mod6: alright, i restarted mine.
mod6: ah, Ada was Lord Byron's daughter
mod6: it could be perhaps that FZ(16384) isn't long enough ... might need like 32k
☟︎ mod6: this 65536 one is gonna run for a while i think...
☟︎ mod6: but 65536, still running
mod6: now, 2048 was ~5000ms
mod6: lol, im doing 65536 too
mod6: it seems to be be pretty quick, ya