00:00:00 --- log: started forth/13.01.10 00:23:16 --- quit: kulp (Ping timeout: 264 seconds) 00:24:15 --- join: kulp (~kulp@unaffiliated/kulp) joined #forth 00:24:15 --- mode: ChanServ set +v kulp 00:29:38 --- quit: impomatic (Quit: http://corewar.co.uk) 00:38:07 --- join: epicmonkey (~epicmonke@188.134.41.174) joined #forth 00:38:07 --- mode: ChanServ set +v epicmonkey 02:03:58 --- quit: I440r (Remote host closed the connection) 03:19:51 --- quit: Nisstyre (Ping timeout: 240 seconds) 03:34:32 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 03:34:32 --- mode: ChanServ set +v Nisstyre 03:41:19 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 03:41:19 --- mode: ChanServ set +v MayDaniel 03:42:47 --- quit: Nisstyre (Ping timeout: 276 seconds) 03:57:38 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 03:57:38 --- mode: ChanServ set +v Nisstyre 04:05:51 --- quit: Nisstyre (Ping timeout: 260 seconds) 04:07:24 --- join: regreg (~regreg@77.81.148.213) joined #forth 04:07:24 --- mode: ChanServ set +v regreg 04:19:23 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 04:19:23 --- mode: ChanServ set +v Nisstyre 04:36:11 Can you use Forth as a general purpose interface shell and scripting language on another OS, a la bash? I'm sure the answer is yes, but has it ever been done competently? 04:45:54 --- quit: Nisstyre (Ping timeout: 265 seconds) 04:53:49 --- join: tgunr_ (~davec@cust-66-249-166-11.static.o1.com) joined #forth 04:53:49 --- mode: ChanServ set +v tgunr_ 04:57:55 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 04:57:55 --- mode: ChanServ set +v Nisstyre 05:22:04 --- quit: proteusguy (Ping timeout: 264 seconds) 05:46:13 --- join: proteusguy (~proteusgu@ppp-58-8-99-24.revip2.asianet.co.th) joined #forth 05:46:13 --- mode: ChanServ set +v proteusguy 06:14:53 --- quit: proteusguy (Ping timeout: 276 seconds) 06:37:18 --- join: proteusguy (~proteusgu@ppp-58-8-99-24.revip2.asianet.co.th) joined #forth 06:37:18 --- mode: ChanServ set +v proteusguy 06:42:28 --- quit: proteusguy (Ping timeout: 264 seconds) 06:45:39 --- part: msmith1 left #forth 06:50:33 --- join: beretta (~yaaic@cpe-107-8-120-84.columbus.res.rr.com) joined #forth 06:50:33 --- mode: ChanServ set +v beretta 06:58:39 dTal: that's a bit like asking "what's a good editor?" 06:58:52 oh yeah that was my other question 06:58:56 haha 06:59:07 "what's a good distribution?" 06:59:15 that's easy 06:59:17 debian 06:59:18 next 06:59:20 lol 06:59:31 I'm sure for the forth die-hards the Jupiter Ace was the epitome of Forth-as-shell 06:59:38 s/the/some/ 07:02:23 I'm sure it's easy if the entire system is in Forth. The trouble is interfaces. 07:02:59 If I wanted to stop using bash and start using Forth for all the same tasks, what would have to be done? 07:04:56 at the very least some sort of system that made system binaries look like Forth words that played nicely with the stack, in a predictable fashion 07:08:23 dTal: so, here's a thought: fire up a virtual environment (Xen, KVM, VirtualBox, lxc) and load a minimal Debian install in there using debootstrap (or just copy over a working system). 07:08:27 or just use exec() when a word isnt found 07:08:44 Then, make sure a forth is installed (gforth, yforth, and pforth are all in the repos). 07:09:09 Then, create an account with a login shell set to one of those forths, and see what happens? 07:09:48 and have fun with c string conversion 07:10:10 I'd imagine you'd get a forth as a login shell. Which is all dandy until you want to type 'ls'. 07:10:42 I guess the trouble is that being a login shell isn't very Forthy to begin with. 07:11:07 It's more like writing a shell in Forth. 07:12:26 just interface to the kernel and dont try to "bashify" forth 07:13:49 I guess you'd just have to learn to use eg read-dir open-dir etc instead of 'ls' 07:14:20 yup.. 07:15:10 those things are pretty simple to use 07:16:28 --- join: proteusguy (~proteusgu@ppp-58-10-137-209.revip2.asianet.co.th) joined #forth 07:16:28 --- mode: ChanServ set +v proteusguy 07:17:45 i think there is forth code to iface to .so libs anyway so parameter conv shouldnt be too hard 07:18:48 yeah I've been looking at that 07:19:01 don't quite grok it yet but it looks very elegant and neat 07:20:16 --- join: impomatic (~digital_w@46.208.50.63) joined #forth 07:20:16 --- mode: ChanServ set +v impomatic 07:20:20 it's part of what inspired me to ask the question - I never liked that humans were second class citizens when it came to binary libraries 07:20:58 but there's still an issue with running applications 07:21:07 * dzho sees that there are none of the *-dir commands in [yp]forth, but one of them does have a 'system' command that will run 'ls' 07:21:43 i guess you could make pretend that a lib was just another forth vocab 07:22:14 They all expect GNU-style command switches, which you'd have to construct using strings 07:22:17 uber-pain 07:22:33 yeah: s" ls " system 07:22:56 but the whole point of using forth would be for its extensibility, no? 07:23:09 so, you'd just start by writing 'ls' and work out from there? 07:23:45 It's a pain writing a Forth wrapper for every application you install. 07:24:01 well, see, then maybe 'ls' is not where you'd start 07:24:03 yup id stay away from text params..thats not forrh 07:24:35 ls shouldnt be too horrible 07:24:46 well, there are different ways to do this, and yes I think it'd be fun to have at hand a forth atop just the linux kernel with nothing else 07:25:15 but if one is starting with a Debian system and whittling downward, I think you'd have to accomodate text params for a while 07:25:44 so, maybe the second thing you'd make would be something more like a way of passing arguments down 07:25:48 ARGV or something 07:26:03 accessing the dirent structure will be the fun part 07:26:30 I've sometimes wondered if it's possible to automatically parse manpages to get syntax 07:26:52 They usually have that line in them that's supposed to tell you rigorously what the allowed syntax is 07:27:09 the semantic man-db! 07:27:10 some basic forth to c and c to forth words are in order 07:27:13 of course they're all hugely inconsistant 07:27:31 yeah 07:27:39 like everything else that "just grew" 07:27:51 but on the opposite end you have info pages 07:28:30 when what we're really looking for is something like BNF 07:28:50 i would make your own cp mv ls etc... 07:30:03 most of that stuff is built into bash, you might as well build it into forth 07:30:12 good point 07:30:46 and learn a bunch in the process 07:30:54 (actually they're all system binaries, but I still agree) 07:32:54 then you wouldnt have to worry about crappy text parsing args 07:40:41 --- quit: Nisstyre (Ping timeout: 276 seconds) 07:55:20 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 07:55:21 --- mode: ChanServ set +v Nisstyre 07:59:52 --- quit: proteusguy (Ping timeout: 264 seconds) 08:58:00 --- quit: impomatic (Quit: impomatic) 08:58:26 --- join: kumul (~kumul@173.215.194.228) joined #forth 08:58:26 --- mode: ChanServ set +v kumul 09:03:31 --- quit: beretta (Ping timeout: 276 seconds) 09:04:15 I thought someone had written a forth "shell", but I would bet you could use FICL and create what you are looking for 09:16:33 goodness this channel has become the most active of the ones i've been in 09:17:06 there was something called fth, it wanted to be for the shell and derived from ficl 09:17:18 *its purpose was* 09:17:48 it would be quite strange doing shellscript programs in forth, although possible 09:17:59 --- join: anannie (~chatzilla@unaffiliated/anannie) joined #forth 09:17:59 --- mode: ChanServ set +v anannie 09:18:35 weird how many forths have pwd and ls and it works, i dont know the purpose of doing ls on forth 09:19:09 Folks decided loading & running a program was too slow. 09:19:13 hello anannie 09:19:25 hello kumul 09:22:05 that doesnt make sense to me PoppaVic, running a program? what do you mean? 09:22:29 you mean forking? 09:22:35 it is quite slow actually 09:23:12 what do you mean it makes no sense?? In earlier systems, you simply loaded a new .com file and ran it, reloading the prior program on completion. Fork/spawn remains viable. 09:23:37 running expr n + 5 in a while loop on a shell is extremely slow 09:23:45 Only a complete dumbass would try to build a "shell" - any application - replicating every damned program already available on a system. 09:27:40 by shell i mean unix shell, bourne shell. you cant load a .com file, was talking about unix specifically 09:29:03 Yes. I was aware of that. I mentioned .com from the historical cp/m - which would still apply in assorted places. meanwhile, any unix has so many available support programs that replicating their functionality into one massive "shell" is just plain stupid. 09:31:30 who was suggesting that? 09:32:06 Thus, I'd fork for ls, and a number of other things. 09:32:58 although, I always felt forth had issues with string-handling. 09:34:21 you mean that there arent any? 09:47:58 Any Macintosh programmers online to help me test a Forth mdimporter 09:48:29 --- join: proteusguy (~proteusgu@ppp-58-8-99-24.revip2.asianet.co.th) joined #forth 09:48:29 --- mode: ChanServ set +v proteusguy 10:01:55 --- quit: karswell_ (Remote host closed the connection) 10:02:15 --- quit: kulp (*.net *.split) 10:03:14 --- join: kulp (~kulp@unaffiliated/kulp) joined #forth 10:03:14 --- mode: ChanServ set +v kulp 10:06:00 --- join: ASau (~user@176.0.64.166) joined #forth 10:06:00 --- mode: ChanServ set +v ASau 10:11:50 --- join: beretta (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #forth 10:11:50 --- mode: ChanServ set +v beretta 10:12:14 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 10:12:14 --- mode: ChanServ set +v karswell_ 10:40:27 --- quit: karswell_ (Remote host closed the connection) 10:50:45 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 10:50:45 --- mode: ChanServ set +v karswell_ 11:21:49 kulp: did you get a chance to diddle that file? 11:22:22 --- join: MayDaniel_ (~MayDaniel@unaffiliated/maydaniel) joined #forth 11:22:22 --- mode: ChanServ set +v MayDaniel_ 11:22:30 PoppaVic: no i cleaned my room instead :P 11:22:33 now it is very clean 11:22:37 and i am no smarter 11:22:43 hahaha 11:22:48 i heard you fixed it, did you update it too ? 11:23:14 I did paste an updated link or three, yeah 11:23:39 oh ok i see http://ideone.com/kVQqdt now 11:24:03 yah 11:24:33 --- quit: MayDaniel (Ping timeout: 248 seconds) 11:25:04 --- join: I440r (~zhiming@203.sub-70-194-130.myvzw.com) joined #forth 11:25:04 --- mode: ChanServ set +o I440r 11:26:57 --- quit: karswell_ (Read error: Connection reset by peer) 11:37:14 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 11:37:14 --- mode: ChanServ set +v karswell_ 11:59:59 --- quit: beretta (Ping timeout: 240 seconds) 12:13:19 --- join: RodgerTheGreat (~rodger@71-13-215-242.dhcp.mrqt.mi.charter.com) joined #forth 12:13:19 --- mode: ChanServ set +v RodgerTheGreat 12:13:26 howdy folks 12:13:30 howdy 12:13:33 anannie: hey 12:13:42 did you get E12 working? 12:13:42 how ya doing RodgerTheGreat? 12:13:56 not great, but surviving 12:13:59 Haven't had the chance to look at it, but I'll do it right now 12:14:03 I'm sorry to hear that 12:14:09 --- quit: I440r (Ping timeout: 248 seconds) 12:15:03 Would you like to talk about it? 12:15:17 --- join: I440r (~zhiming@203.sub-70-194-130.myvzw.com) joined #forth 12:15:17 --- mode: ChanServ set +o I440r 12:15:26 um 12:16:20 you could always try sticking to the topic - just to be different, of course ;-) 12:16:58 * kulp puts a damper on PoppaVic 12:29:44 meh, dont do that, or else no one will speak 12:31:31 lol 12:31:56 the topic of #forth is similar to the forth programming language in general... "User Defined" 12:33:14 It's better to talk about something and let the community evolve than just let it whither in silence 12:34:29 --- quit: karswell_ (Read error: Connection reset by peer) 12:35:26 plus im sick of going into #whatever-cannel and being pounced on by the topic ghestapo 12:35:36 so i refused to implement that policy in here :P~ 12:37:54 --- part: PoppaVic left #forth 12:44:43 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 12:44:44 --- mode: ChanServ set +v karswell_ 12:49:00 anannie: if you're still having trouble with E12, one suggestion I'd give is that finding the prime factorization of the triangle numbers is a fair bit more work than is actually necessary 12:49:20 it isn't an *incorrect* approach, but there are efficient solutions which are much simpler 12:49:24 Actually I'm figuring out how to short circuit things 12:49:29 and well I haven't found a way yet 12:50:16 I solved it earlier today and my approach was to start with the dead-simple brute force approach, strip it down to the bones and then think about ways to shave off unnecessary work 12:50:45 there are some obvious optimizations which aren't sufficient but which lead in the right direction 12:51:52 try thinking about it starting from the basis of knowing that it is not necessary to use primality to solve the problem efficiently 12:52:08 --- quit: regreg (Remote host closed the connection) 12:52:22 anannie: um, is that helpful at all? 12:54:13 --- join: rabenauge_ (~rabenauge@88.130.160.127) joined #forth 12:54:13 --- mode: ChanServ set +v rabenauge_ 12:54:25 --- quit: rabenauge_ (Remote host closed the connection) 12:54:41 --- quit: anannie (Ping timeout: 248 seconds) 12:54:45 d'aw 12:54:59 well shucks 12:55:47 --- quit: karswell_ (Remote host closed the connection) 12:56:29 I440r: so what are you up to 12:56:45 --- join: rabenauge (~sag@88.130.160.127) joined #forth 12:56:45 --- mode: ChanServ set +v rabenauge 12:57:00 well im adding pulldown menus to isforths text user interface. 12:57:10 i have the menu creation done, am working on the menu display code now 12:57:13 still working along on that 12:57:15 then i write the menu control stuff 12:57:19 i never rush code 12:57:27 have you found any more bugs in people's terminal emulation? 12:57:49 oh no man, I understand- code is as much about the process as the result 12:57:53 i stopped looking for them beause there are so many of them its too difficult to keep up with them all 12:58:23 RodgerTheGreat, mostly its the result thats important, most coders FORGET but its "the end users" that are THE point to code 12:59:11 yeah but if you want it to come out right and you don't have someone screaming at you to get it done faster you should take your time and start over when the time is right 12:59:45 an argument can also be made for code-as-art, in which code CAN be the point of code 13:00:00 screaming to "git-r-dun" doesnt work with me 13:00:05 you want it right? or "right now" 13:00:07 pick one 13:00:13 good, cheap, fast. pick 2 13:00:15 you'd make a terrible PHP programmer. :) 13:00:33 php makes php coders terrible php programmers 13:06:05 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 13:06:05 --- mode: ChanServ set +v karswell_ 13:08:23 RodgerTheGreat, code IS art. but its not art in the same way as "rent a jet for the day. pay pilot to sit in aircraft and rev the jets so i can throw paint into the jetwash and spalsh it all over the canvas and sell the 3 paintings i did for 6 million each" 13:08:56 not Hirst. Check. 13:08:59 which is what an "artits" did at the airport my father worked in when i was a kid 13:09:30 and then you get an artist that doesnt want to paint at all. so he takes an empty canvas and hangs it on the wall 13:09:34 --- dire straits -- 13:10:34 probably not a Rothko fan either, hunh? 13:14:03 who? 13:14:22 http://en.wikipedia.org/wiki/Mark_Rothko 13:22:15 --- join: aesping|work (~rixard@host-95-199-222-139.mobileonline.telia.com) joined #forth 13:22:19 --- mode: ChanServ set +v aesping|work 13:46:28 --- quit: kumul (Read error: Connection reset by peer) 13:48:57 --- quit: tgunr_ (Read error: No route to host) 13:50:03 --- join: tgunr_ (~davec@cust-66-249-166-11.static.o1.com) joined #forth 13:50:03 --- mode: ChanServ set +v tgunr_ 14:20:47 --- quit: aesping|work (Quit: Colloquy for iPhone - http://colloquy.mobi) 14:32:11 --- join: anannie (~chatzilla@unaffiliated/anannie) joined #forth 14:32:11 --- mode: ChanServ set +v anannie 14:32:22 RodgerTheGreat: I solved it :D 14:32:30 rockin'! 14:32:49 share your solution! 14:33:06 It runs in .5s!!! 14:33:37 it's probably actually faster than that 14:33:58 half a second is within the jitter offered by many system clocks depending on how you timed it 14:34:03 yeah but ruby is quite slow, so you'll have to forgive me 14:37:30 I wish to see your code 14:37:39 --- quit: MayDaniel_ (Read error: Connection reset by peer) 14:39:39 https://gist.github.com/4506430 14:39:42 It's horrible RodgerTheGreat 14:39:49 I haven't worked on it 14:39:53 it's just functional 14:39:56 yow 14:40:00 that is fairly complicated 14:40:36 here is what I was saying before you lost your connection: http://hastebin.com/raw/sofegacenu.txt 14:42:21 I just ported my implementation to logo and I am figuring out how many aeons it will take to run 14:42:32 for 50 factors it takes about 30 seconds 14:42:47 this is a logo written in forth running on a vm written in java 14:43:20 anannie: still with us? 14:43:23 Yup 14:43:53 You don't need primality to solve this? 14:43:57 O.o 14:44:29 At the end of the day you will have to run a check whether it's up to root(num) to find the factor pairs and so on 14:44:48 yes 14:45:41 I want to tell you the simple way to do this so badly but I know you'll have more fun figuring it out 14:45:52 you're super close 14:46:21 These words will probably come back to haunt me, but prod me in the right direction... What am I looking for? 14:46:51 well, remember that you just care about *factors* 14:47:10 you're doing extra work to get a prime factorization and then work back again to factors 14:47:11 so recursive decomposition? 14:47:20 mmno 14:47:30 think dumb search 14:47:46 first, what is the brute force way? 14:48:04 and why does the work to do it that way grow too fast? 14:48:22 okay so for each number that's divisible by it up to root(num) add two? 14:48:30 yeah 14:48:35 exactly 14:48:46 that's actually more inefficient 14:49:06 it's still very fast and has dramatically fewer moving parts 14:49:26 if you think about it, for larger numbers you have to process *every* number all over again until that point 14:49:39 Whereas in my situation the prime list grows side by side 14:49:51 and the number carries forward 14:49:56 the number of factors you must search grows logarithmically instead of geometrically due to the square root upper limit 14:50:09 so you only have a limited number of numbers per number to search through 14:50:33 so it has a O(logn) runtime? 14:50:41 also don't ignore the overhead of having data structures in your approach whereas if the only state is a couple ints in a loop everything is in registers 14:51:16 I may be wrong but I think it is something like nlgn 14:51:49 yes, but it's the classic memoization versus run-time calculation question 14:51:56 absolutely 14:52:05 I don't know much about comp sci 14:52:23 you know what the word "memoization" means, which makes you better than some CS majors I know 14:52:26 I never went to college, but I would like to learn how to predict whether the algo is nlogn or so on 14:52:43 meh reading up crap on the internet doesn't mean jack shit 14:53:51 a quick and dirty approach to algorithmic analysis is to plot runtime versus n. If the line is straight, linear. If the line is straight on a log plot, exponential 14:54:41 I think there are actually some test frameworks in ruby which allow you to assert performance for a procedure is, say, roughly linear 14:55:48 lies damned lies and statistics ;) 14:56:14 anannie: if you want to read crap on a dead tree instead of the internet, the Cormen text is the gold standard: http://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844/ref=sr_1_2?ie=UTF8&qid=1357858518&sr=8-2&keywords=Algorithms 14:56:19 :) 14:56:47 i trust dead tree format more... but not entirely :) 14:56:53 I prefer dead tree as well 14:57:05 plus trees ARE a renewable resource 14:57:09 yep 14:57:18 there are more trees in the USA today than there were the day the pilgrims landed 14:57:32 nice thing about digital docs are they're easier to search 14:57:44 nice thing about paper is you can have a bunch open on your desk at once 14:57:57 you just need MORE MONITORS!!!!! 14:57:58 lol 14:58:01 here is my quick-and-dirty logo solution to E12: http://hastebin.com/hoqacanawe.logo 14:58:08 Why isn't protist around when you need him? He nerd sniped me and then disappeared, I'm so totally gonna rub my solution in his face (after I get it working within .09s( 14:58:10 I440r: I'm a graduate student. :'( 14:58:13 :p 14:58:30 and im an unemployed broke guy 14:58:43 I440r: That can change rather quickly 14:58:50 by our powers combined... uh... 14:59:45 Okay, so let's whittle this down to something that runs within .1s 15:00:11 you have used the range for searching a prime up to sqrt(n), but isn't it just (sqrt(n)-1) the maximum range to test? 15:00:42 anannie, if it doesnt ill still be ok :) 15:01:11 well something can still be composite if it is n*n so you have to check sqrt(n), right ? 15:01:11 I440r: You're the heir to a great fortune or something? 15:01:15 * kulp says, not having looked at any code 15:01:43 anannie, isforth compiles 228831 bytes of source code in .3 of a second ! 15:01:57 Whoa that's awesome I440r 15:02:12 anannie, no... im a christian. "who soever cannot give up everything they own cannot be my deciple" plus... i have friends i can rely on heh 15:02:26 kulp: Eh? 15:02:35 anannie: i was responding to rabenauge 15:02:44 probably foolishly, since i lack context 15:02:46 kulp: The problem statement is for triangular numbers, so that doesn't quite parse 15:02:49 but finding work not not finding work... thers a highre authority deciding and controling that :) 15:02:52 kulp: Ah. 15:03:05 anyway it parses fine, it just doesn't make sense ;) 15:03:12 lol 15:03:27 no syntax error? it just doesnt run as expected? 15:03:28 * kulp EXCUSES HIMSELF EXCUSILY 15:05:42 I440r: let's just hope it isn't undefined behavior 15:06:29 there was a joke about some programming language where each day the users would come in and type their name and try to figure out what atiaon their name performed on that day... i forget what language it was in reference to tho 15:06:42 what action 15:06:47 man i need to L2 type 15:06:54 I thought that was TECO 15:07:08 or vi I guess 15:07:23 no it was in reference to an actual programming language. 15:07:40 well even perl isn't that goofy 15:08:00 I guess you could try it in K or similar but most letters are just used for variables 15:08:24 algol or something... some ancient thing 15:08:51 could you give an example for a composite of n² where n is greater 3 that had to be testet for when testing for a prime? 15:09:43 I440r: algol doesn't look that different from pascal really 15:10:04 i wasnt sayint it was in reference to algol... just something OLD like algol lol 15:10:38 SNOBOL man, now there was a horror 15:11:00 one of my professors gave me a manual to read and I think it took years off my life 15:11:23 it's basically tcl from hell 15:13:42 rabenauge: Not a single one if you do the 6k +/- 1 15:17:00 I am not sure, but I am curious if there is any n² (n>3) that is an odd n² product (2 factors composite) that one had to test for when looking for primes. so perhaps it is already enough to look up to sqrt(n)-1 ? but that's just an idea... 15:18:40 I440r: following my previous analogy maybe I should make a language which is somewhere between tcl and snobol 15:18:46 call it "grope" or something 15:18:49 maybe all remaining odd non-primes fail long time before getting close to sqrt(n)? 15:18:51 --- quit: karswell_ (Remote host closed the connection) 15:22:08 :) 15:22:22 as retribution for them ever creating either of those 2? 15:22:33 RodgerTheGreat: I'm thinking about cheating a bit. 15:22:44 do tell 15:22:59 RodgerTheGreat: I think that I can get the run time down to .09s if I store the prime list to disc for later retrieval 15:23:09 erm 15:23:14 how big is that list? 15:23:31 hrm lemme tell you in a bit 15:23:51 I strongly suspect that it will take longer to load it from disk than compute 15:24:04 but I do invite you to try it, profile it and prove me wrong 15:24:49 maybe not if she has an SSD.. but mayte that died with the mbp :( 15:25:29 even an SSD has a lot more latency than ram and in turn cache 15:25:52 if the prime list is a couple dozen kilobytes it should all fit easily in cache 15:26:25 anannie: also you're storing the primes as an actual list of numbers rather than a bitmap, right? 15:27:05 as a bitmap you would turn a pixle on only for pixles whose x*y position was prime? 15:27:20 I mean bitmap as in bit vector 15:27:22 that would be a HUGE image 15:27:30 not like a png or something 15:27:35 lol kk 15:28:05 and you can get some savings by remembering that EVERY multiple of 2 except for 2 is composite 15:28:13 so halve your indices 15:28:28 I don't know if you're at all familiar with farbrausch and the demoscene, but I remember reading them talk about how their procedural texture generators were expected to be quite slow as they are computationally intensive, but in practice they could unfold them into ram faster than they could have loaded from disk 15:28:50 Wow 15:29:05 those are the guys who wrote KKrieger 15:29:08 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 15:29:08 --- mode: ChanServ set +v karswell_ 15:29:15 http://en.wikipedia.org/wiki/.kkrieger 15:29:22 any of 5 as well, RodgerTheGreat. 15:29:28 You're probably right, I weighed that against my head and I'm generating just 1476 primes... I can generate 10k primes within .3s so this isn't the bottle neck 15:29:37 --- join: ncv (~quassel@89.35.216.197) joined #forth 15:29:37 --- quit: ncv (Changing host) 15:29:37 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 15:29:37 --- mode: ChanServ set +v ncv 15:29:57 I wanted to try doing it though, but opening the file and then doing it is probably going to take longer 15:30:03 anannie: it was a good idea, but you're not computing on a sufficiently large n for it to be helpful 15:30:45 RodgerTheGreat: I wanted to implement Gosper's Hash life btw, but I don't know enough and I don't think I'm smart enough to implement it 15:30:59 if you really want to know how much it speeds up your program to do that you could print out an array literal for the 1476 primes and paste that into your program 15:31:06 oh pshaw 15:31:10 can't be that bad 15:31:28 what is the range of numbers anyways, anannie? for a small range you could really fill a bitmap with the multiples of numbers and your gaps are primes afterwards. that can be very fast as well... 15:31:55 rabenauge: No range, it's an open ended search for a solution 15:32:13 RodgerTheGreat: That algorithm is pretty damn complex 15:32:14 sees 15:32:32 anannie: wasn't there just an HN article about that? 15:32:46 RodgerTheGreat: Oh? 15:33:04 yes, it linked to this: http://www.drdobbs.com/jvm/an-algorithm-for-compressing-space-and-t/184406478 15:33:29 if a number cannot be evenly divided by any known prime number lower than itself... is that number a prime? 15:33:32 http://www.drdobbs.com/jvm/an-algorithm-for-compressing-space-and-t/184406478 15:33:35 Ah yes that one 15:33:58 I haven't read it in detail but it doesn't *look* that bad 15:34:14 I'll read it tomorrow when I wake up 15:34:23 I hadn't come across that before 15:34:26 what time zone are you in? 15:34:32 /me tucks anannie in.. repeatedly! 15:34:37 I can't tell you that! 15:34:49 * RodgerTheGreat sighs 15:34:57 she is in cambridge england... we have been over this! 15:34:58 lol 15:35:04 it's not like I'm trying to squeeze information out of you or something 15:35:53 RodgerTheGreat: I know you aren't, but I'm worried that daddy dearest might have intelligence contacts in which case I'm screwed 15:36:09 they tapped my friend's phones and monitored their emails 15:36:21 it was some pretty heavy crazy shit 15:36:30 how about you tell us when you're safe? 15:36:36 I shall. 15:36:43 :) 15:37:18 did you try statistics about number of composites in non-primes so far? a statistical approach might tighten search space perhaps? 15:39:07 rabenauge: I'm afraid that my approach doesn't work that way.... What I do is I basically calculate the factors of each number to quickly figure out the factorisation of the triangular number 15:39:09 I think that it is really worth trying a data structure-free approach- allocation/reallocation/garbage collection and multiple layers of dynamic dispatch can really add up over using ints 15:40:14 in my experience with java, using longs as bit-vectors passed through recursive procedures is *dramatically* faster than doing the same thing with hashsets 15:40:22 Oh I just had a thought, over here multiple arrays are probably being generated in different memory locations... I wonder if there was a way to make the test in place and if it would make it faster 15:40:40 could give better locality maybe 15:41:07 I wish I'd gone to college as I want to learn all of these beautiful things that you're talking about RodgerTheGreat, 15:41:24 anannie, your only 20. its not too late! 15:41:37 well I'd love to teach you anything I can 15:41:40 my uncle went to uni at 50 for a degree in something or other i forget 15:42:10 hehe..."for a degree of something"...nice phrase! 15:42:24 RodgerTheGreat: I'd love to learn everything I can. 15:42:31 well he was airforce inteligence prior to that and then a DEA agent... 15:42:41 I440r: Oh I intend to get an education, but I'll have to do it on my own I'm afraid 15:42:42 anannie: I like you. :) 15:42:42 i think he wanted a career change :) 15:43:11 thats what i did but sometimes i see the weakness in my education 15:43:12 I would love to get a degree in something :) But I just did computing science -.- 15:43:13 or lack thereof 15:43:41 I440r: I intend to be more rigorous 15:43:49 i could never suffer getting a degree in computer science. my mind would outright reject 99% of what they tried to cram into it 15:44:22 it is good to temper academia with real-world experience 15:44:38 is that even possible :) 15:44:44 brb, gotta cook something :) 15:44:54 It is 15:44:56 it is indeed 15:45:03 lots of people go into CS thinking they're going to learn to make videogames or websites or something and are shocked to discover it's essentially applied mathematics 15:45:12 well, almost the same for me, but I took the easy way of studies in operating systems architecure and go away with it :) 15:45:30 but at the same time I am often shocked at how many CS majors don't learn to program very well 15:45:41 coding is your superpower, dudes! 15:45:54 computer scientists are mathematicians with power tools 15:45:57 RodgerTheGreat: Exactly and there isn't a degree for what I want to do 15:46:06 well what do you want to do? 15:46:45 I'm going to build the first great robotics company 15:46:58 I'm going to help make that revolution happen. 15:47:02 that's ambitious 15:47:10 maybe you want a degree in mechatronics 15:47:14 well no one said that I lacked ambition 15:47:21 which is one of the most awesome sounding degree names btw 15:47:22 Meh I've checked them out 15:47:29 there's a reason why MIT doesn't offer one 15:48:28 Here's what I'm going to do instead; 15:48:31 * Mathematics; An understanding of multi-variable calculus, vector calculus, differential equations, partial differential equations, linear algebra, higher probability and statistics, linear algebra, undergrad level discrete mathematics mixed with some grad level stuff, Basic to intermediate level Analysis, Applied Mathematics - Principles and helpful techniques 15:48:33 * Computing; I'm going to acquire a functional understanding of algorithms and analysis of algorithms, Control theory, and Signal processing. I really want to focus on how to create feedback loops with encoded logic that can respond to dynamic environments with ease. 15:48:34 * Electronics; An understanding of micro-controllers and circuits - enough to build a micromouse on my own by combining everything together, analysis of circuits, MIT's signals course. 15:48:36 * Business : At least 1 nano-"startup" that solves a hard problem by applying what I have learnt and brings in non-trivial revenue greater than $5000/month. 15:48:37 * Mechanical Engineering; Brushing up on essential physics within Giancoli along with modern physics at the end, 20 hardware robots that do something interesting. 15:49:22 did you read valentin braitenberg "cybernetic vehicles"? he did some very basic research about autonomous robotics in the 80th/90th. nice stuff! 15:49:41 I haven't rabenauge Thanks for the pointer though! 15:49:42 on the computing side I recommend learning about automata and formal models of computation 15:50:16 Well RodgerTheGreat I planned to understand Rivest's algorithms and a lot of the good stuff in there has automata and it follows from there 15:50:26 ok cool 15:50:26 http://en.wikipedia.org/wiki/Valentino_Braitenberg 15:50:55 --- join: kumul (~kumul@173.215.194.228) joined #forth 15:50:55 --- mode: ChanServ set +v kumul 15:50:57 I have to read this, thank you rabenauge! 15:51:15 rabenauge: ah, Vehicles is great 15:51:23 you're welcome 15:51:27 It's all in the air right now, RodgerTheGreat. I have to first improve my problem solving techniques and get into coding, hence the entire project euler thing 15:51:27 reminds me of a lot of Mark Tilden's work 15:51:34 BEAM? 15:51:37 yeah 15:51:43 tilden is one of my heroes 15:51:47 That flashed through my mind as well 15:53:09 I remember seeing "Walkman Daggerwrist" on a PBS special as a kid and it was enchanting 15:53:48 the idea of making simple robots out of essentially junk but having them capable of adapting to damage and changing environments was wonderful 15:58:31 RodgerTheGreat: I had a similar moment as a child and it's what prompted me to pick up robotics 16:01:58 heh RodgerTheGreat my implementation is actually slower than what I had before! 16:02:14 It's probably because I'm modifying the array in place 16:02:42 are you changing the size? 16:03:15 --- join: ncv_ (~quassel@89.35.216.197) joined #forth 16:03:15 --- mode: ChanServ set +v ncv_ 16:03:17 Yes I'm appending it to the array 16:03:39 This is weird, but this code actually takes longer to execute 16:03:45 I wonder what I'm doing wrong 16:04:21 if you're changing the size of the array, that means that somewhere under the hood you are allocating new arrays and copying the data from one to another 16:04:55 Ah 16:05:03 scripting languages like ruby often hide this fact but the performance impact shows through 16:05:07 Can I simply not add the number to the next memory location directly 16:05:26 can you create an array of the appropriate size up front? 16:05:31 I believe, robotics suffer the most from their weight (resulting in energy consumption). So a good aproach might be also research in "printable ceramics" (3d-laser-printing/prototyping). ceramics are light weight and combined with alloy/titanium molecules very sturdy (metall-ceramics). 16:05:38 This could also be an interesting field of research along with robotics, anannie. 16:05:47 if you just write to cells in the array rather than append to the array there is no reallocation necessary 16:06:47 rabenauge: The problem is that they are also quite expensive 16:06:54 nope RodgerTheGreat 16:07:11 Wait, I definitely can, hrm. 16:07:30 if I was more familiar with ruby I could be of more help 16:07:43 well depending on their components. some are not too expensive. but might need research and love to besome valuable 16:07:46 * rabenauge goes to bed for now. getting very late over here in europe ... already past midnight 16:08:00 sees people! 16:08:36 rabenauge: I'll make sure that I look into it 16:08:42 RodgerTheGreat: That's alright 16:08:49 I'll implement what you said right now 16:09:07 --- quit: rabenauge (Quit: Ex-Chat) 16:13:05 I did something horribly wrong 16:13:12 the code is just going around like crazy 16:16:31 hmmmmm fried diced potatos smothered in cyan pepper sause! 16:20:36 anannie: that isn't very descriptive 16:20:51 or rather it is descriptive but not in an illuminating manner 16:20:52 RodgerTheGreat: I'm re-writing it... 16:23:30 For some reason whenever I change the function to do it in place it winds up taking dramatically longer 16:24:03 well then perhaps "in place" or the semantics of doing so in your language are not what they seem 16:24:44 I figured out what was wrong! 16:24:49 oh? 16:25:05 I was setting a flag and doing a clever trick for it 16:25:24 except I got too clever and in some cases the flag wasn't being hit because of another optimisation I had made 16:25:37 so it was assuming normal numbers were prime and stuff 16:26:09 Okay this worked, but the code is actually slower by .01s 16:26:15 Instead of being faster 16:26:17 if prime numbers aren't actually prime, you're gonna have a bad time 16:26:28 are you just running this once to test? 16:26:36 you might want to average several runs 16:26:43 Okay did it multiple times 16:26:50 It comes out to be slightly lower 16:27:11 in general if the benchmark takes less than a second or so there's a lot of confounding factors that could be adding noise 16:27:42 for example, as frequently used sections of code "warm up" and the JIT starts optimizing them 16:27:43 Ah 16:27:50 erm. Does ruby have a jit? 16:28:22 but there's still cache warming and other stuff 16:28:25 Yes 16:28:30 yeah ok 16:28:39 in Java, the magic number is 30,000 16:28:51 if a loop executes 30,000 times it gets jitted 16:29:31 * anannie nods 16:29:35 so if you do a microbenchmark in java you'll see a really weird performance curve 16:30:14 Okay I'm going to hunt down optimisations over here 16:30:32 perhaps there's a test I can add which approximates a threshold at which point it does the calculation? 16:30:36 conventional wisdom dictates to do many runs, throw out early ones and average them for a result 16:30:53 hmm 16:30:59 I'm not sure what you mean 16:32:18 Look right now I'm running a lot of items which should be executed only as the final check each time... 16:33:13 I'll put in a bunch of Time.now s and I'll see which parts of my code are actually slow and so on 16:33:32 there is sort of a diminishing return 16:35:09 Yeah I've already optimised this down from a run time of several hours 16:36:54 I'm a bit obsessed with making code go fast 16:37:56 The problem is that there's some guy out there who ran this in .1s and I really really want to beat that guys record 16:38:46 when you eventually try forth I'm not sure if the fine-grained control will bring you joy or drive you insane 16:40:06 Someone did it in 76ms 16:40:10 now I'm depressed 16:40:19 He apparently ran it in Java on a core i7 16:40:41 Meh I need to buy a grid and show these idiots how fast, fast is 16:41:12 I could write distributed code running sharing data directly on fibre across a few hundred nodes 16:41:18 That would be blistering fast 16:41:29 I'm not even sure if you could time it 16:44:58 anannie, depress him... do it faster on a slower machine :) 16:45:42 anannie, i thought these knuckle dragging troglodytes had chased you permanently out. 16:45:47 my desktop is a lga2011 (i7) with 12 cores overclocked to 4.7ghz and 64 gigs of ram. we could run yoour code on that machine out of a ram disk 16:45:55 bjorkintosh: Never! 16:46:07 anannie, do it a million times. time the compete time it takes to do 1 million 16:46:31 I440r: Oooh awesome, do you have ruby on your desktop? 16:46:42 RodgerTheGreat: Are you still around? 16:46:44 she would slice-n-dice em like a fruit ninja :P 16:46:50 anannie, its running gentoo linux :P 16:47:01 Ah so it comes pre-packaged? 16:47:28 if its not there i can emerge it in no time flat. specially with my having a mirror of the entire gentoo ftp repository on that machine :P 16:47:49 anannie: yeah I just stepped away for a moment 16:47:54 if i had a real interwebz connection i would create a shell account for you 16:48:00 Can you please run this on your machine and tell me how fast it is? 16:48:12 erm gimme a min or 2 to go boot it up and get in here 16:48:21 anannie: uh ok 16:48:23 Okay I440r :D 16:48:44 RodgerTheGreat: I'm a bit nuts, I really want to simulate a universe on a raspberry pi grid 16:48:59 have you ever heard of the GA144? 16:49:16 nope 16:49:23 well you have now 16:49:47 how does a 144-core cpu the size of your thumbnail that runs on a pair of AAs sound? 16:50:26 --- join: mark4 (~mark4@203.sub-70-194-130.myvzw.com) joined #forth 16:50:26 --- mode: ChanServ set +o mark4 16:50:29 the only catch is that the assembly language it runs is forth 16:50:36 ok gimme a link for what i need to run :) 16:50:45 ill run it out of my /var/tmp which is a 32 gig ram drive 16:51:20 OMG 16:51:38 lol i told u i have 64 gigs of ram lol 16:51:54 faster than ANY ssd 16:52:14 #Forth: pimp my ruby runtime 16:52:21 :) 16:52:28 mark4: just give me a minute :) 16:52:33 kk lol 16:52:39 DB is giving me problems 16:53:31 mark4: https://gist.github.com/4507091 16:54:07 --- quit: ncv_ (Ping timeout: 276 seconds) 16:54:56 erm lol how do i download that? 16:54:59 i dont know git lol 16:55:02 what is the par time for this? 16:55:14 I got 0.836025 on my machine 16:55:24 at risk of embarrassing myself 16:55:31 I got .4 16:55:35 welp 16:55:50 anannie, how do i get that? 16:55:51 and I'm running a Core2Duo 16:55:56 also I appear to be running ruby 1.8 16:55:59 is that old? 16:56:01 will used wget? 16:56:03 Yup 16:56:18 Nope mark4 , just click and it'll open up in the browser and download the file from there 16:56:20 that just gives me html 16:56:22 https://www.dropbox.com/s/1p8bzjqj9rjfn2r/pe7.rb 16:56:24 kk 16:56:33 look to the left 16:56:40 mark4: there's a download file option 16:57:16 anannie, does ruby REQUIRE the indentations to delineate blocks like python does? 16:57:31 it doesn't have significant whitespace 16:57:36 k 16:57:36 no mark4 16:57:39 if you're copy pasting then to the top left there's a raw 16:57:42 option 16:58:04 seems i dont have ruby. emerting it 16:58:13 tho i cant believe i dont have it already 16:58:16 how do i run that code 16:58:19 * anannie sits with bated breath 16:58:20 ruby filename ? 16:58:26 yup 16:58:54 checking whether the C compiler works... no 16:58:55 wtf 16:58:56 lol 16:59:06 RodgerTheGreat: The latest and greatest comes with several performance optimisations and it's ruby 1.9.3 16:59:38 ok lib yaml wont emerge im going to have to get support from #gentoo 16:59:42 ah well there you go 17:00:08 mark4: and that's why you should buy a mac 17:00:12 it just works 17:00:21 thats what they say about ubuntu too 17:00:35 Ubuntu is far from just works 17:00:36 works on ubuntu just fine. 17:00:40 please. 17:00:44 it does. 17:00:47 lemme figure out how to coax macports to install the latest version of ruby 17:01:02 RodgerTheGreat: rvm... 17:01:36 bjorkintosh: I just shifted from a mac to ruby and well several things are broken. The wifi doesn't work properly, the update system crashed 17:02:04 you mean from a mac to ubuntu? 17:02:07 bjorkintosh: I'm not saying that one is better than the other, heck I haven't had this much fun in a while 17:02:12 yes bjorkintosh 17:02:20 Sorry ruby just came out 17:02:29 well, i have a new laptop. the touchpad simply does not work. 17:02:40 on ubuntu, i e. 17:02:44 Precisely... 17:02:47 but i like it all the same. 17:02:49 seems my active GCC got replaced 17:02:51 Ubuntu is far from "just works" 17:02:59 Yeah 17:03:01 and the new one was not flagged as being active should be fixed momentarilly 17:03:09 you have to get a slightly older computer. but yeah. 17:03:19 mark4: You seriously should get a Mac Pro when and if it updates 17:03:38 I have a current-gen mac pro 17:03:39 I'm running a slightly older computer bjorkintosh, and it still sucks 17:04:02 It's great for dipping my toes into this and learning things, but it's terrible to just get work done 17:04:12 LibreOffice leaves much to be desire 17:04:18 * desired 17:04:19 yeah don't use that. 17:04:29 What should I use for my excel files? 17:04:41 libreoffice :D 17:04:59 it sucks... 17:05:01 anannie, i wont purchase any microsoft products 17:05:13 mark4: thepiratebay.se ;) 17:05:24 lol 17:05:30 ruby now emerging 17:05:32 nope 17:05:35 barfed again wtf 17:05:53 gentoo: your embarrasing me! 17:05:54 * RodgerTheGreat twiddles his thumbs as openssl builds 17:06:32 builds? 17:06:37 eek. 17:06:54 yeah macports is rather fond of compiling from source 17:07:05 keeps my apartment warm 17:07:57 RodgerTheGreat: I miss my Mac 17:08:14 76576500 17:08:14 0.508125 17:08:26 change your code. make it loop for 1 million times 17:08:31 then we can get a more accurate benchmark 17:08:59 anannie: I feel your pain 17:09:27 One million times? 17:09:44 do your best doctor evil impression 17:09:45 So I loop everything including the timer itself? 17:09:51 no 17:09:56 in fact remove the timer 17:10:00 i can do time ruby blah 17:10:15 mark4: the unix time utility has somewhat limited granularity 17:10:20 Okay I'll make everything repeat a million times... 17:10:43 RodgerTheGreat, yes but after 1 million itterations thats kind of "in the noise" 17:10:55 yeah good point 17:13:18 https://gist.github.com/4507160 17:13:22 There we go mark4 17:14:28 ok its running 17:14:42 oh gosh darnit macports only has 1.8.7 17:14:47 to rvm I guess 17:15:23 as a fudgstimate... how long do you expect this to take based on previous results? 17:15:48 and wow. its pegged ONE of my cores. its not using all 12 lol 17:16:30 why is that a wow thing mark4 ? 17:16:45 because i would have expected it to use all 12 of my cores 17:18:07 so about that fudgestimate... 17:18:08 mark4: scripting language 17:18:24 also this isn't really code that will parallelize 17:18:39 12 cores aren't like a magic go 12 times faster button pal 17:19:22 Okay, it should take about 4 to 5 seconds 17:19:31 it hasnt finished yet 17:20:01 but i got me a new batch of fresh roasted coffee now... just need to wait for it to cool! 17:20:28 i pressed ^c after 5 minutes of running 17:20:34 is there a bug in the way the looping is done? 17:20:40 Hrm I think so 17:20:47 what are you attempting to run 1 million times? 17:20:56 I just threw a loop around all of this 17:21:14 so it can be more accurately benchmarked 17:21:36 convert time taken in to seconds. divide seconds by 1 million. 17:21:39 bjorkintosh: I wrote a solution to Project Euler's problem 12... It's a nice problem and most naive implementations are very slow and don't run at all 17:21:50 ok, I now have ruby 1.9.3 17:21:53 if they dont run they are not a solution 17:22:12 i have 1.8.7 here 17:22:26 how does it run in forth? 17:22:42 that would depend on the forth used 17:22:45 I now get 0.209199 on the original test program 17:22:53 anannie: how's that 17:23:01 RodgerTheGreat: That's awesome! 17:23:08 I do try 17:23:16 Your machine is twice as fast as mine... Wow. 17:23:18 im get a consistent 0.5 here 17:23:21 for the initial one 17:23:42 mark4: That's even more interesting as I'm getting a consistent .4 17:23:43 anannie: probably a lot heavier too 17:23:56 I think that I've hit the limits of how much it can be optimised 17:24:03 and im at 4.7ghz evn if this is only using a single core 17:24:05 The ruby runtime is now the real performance drag 17:24:18 the ruby *language* is the real performance drag 17:24:36 I need to learn Forth and do the euler problems in that 17:24:47 yessss 17:24:47 upgrading ruby now 17:25:07 *then* I'll write code that runs in a few ms 17:25:15 some of them would not be possible in isforth unless you solved them in pure integer math :) 17:25:33 mark4: I can make pure integer math work 17:25:49 I scrape away floating point anyway 17:26:03 sounds like sanity to me 17:26:13 integer math is WAY faster than FP 17:26:23 yes and way more accurate 17:26:48 or rather you have better control over the granularity of said accuracy 17:26:56 using fp your at the mercy of the fp engine 17:26:59 fortunately the range of numbers in this problem fits easily in 32 bit ints so you don't have to worry about bignums and such 17:27:24 tho... it is nice to be able to divide 100 thousand values by .123353 at the same time :) 17:27:43 what people forget about floats is that there are EXACTLY as many distinct floats as there are ints, they're just spread out less evenly 17:27:58 what does that mean RodgerTheGreat ? 17:28:01 actually fewer distinct floats when I think about it 17:28:20 an IEE-754 floating point number is encoded into either 32 or 64 bits 17:28:33 part of that is the significand and part is the mantissa 17:28:46 so there is an integer part and an exponent 17:28:46 im doing 100, modified your loop. its still taking an inordinate length of time 17:28:50 i think thers a bug in here 17:29:21 in an int, all 32 bits are available so you have 2^32 distinct integers which can be expressed 17:29:33 this is a range of about 4 billion 17:29:45 floats can represent much larger and smaller numbers 17:29:47 yea 17:29:52 but they're encoded in the same number of bits 17:30:04 (actually there's a sign bit and some patterns are invalid floats) 17:30:09 no reason why a number has to be restricted to a single cell 17:30:20 d+ <-- nice example :P 17:30:24 I wish I knew as much as you did RodgerTheGreat 17:30:30 mark4: well yes but that isn't really talking about the same thing 17:30:56 anannie: this is basically just the pigeonhole principle. :) 17:32:58 Hrm why isn't protist online yet? 17:33:03 lol 17:33:18 You know it took me 16 hours of my life to solve this 17:33:18 you scared him off anannie 17:33:33 and for some reason the looping version isnt running here 17:33:38 does it work for you anannie 17:33:46 for further reading I recommend "what every programmer should know about floating point" 17:33:54 It isn't running over here either... 17:34:01 Try the original version mark4 17:34:08 It's just taking too long 17:34:13 and it freezes up 17:34:16 yea but it shouldnt 17:34:24 and be aware that IEEE-754 is what literally everyone used for everything 17:34:36 any bash people here? 17:34:47 how would i do a bash script to run ruby blahblah 1 million times 17:35:47 http://www.cyberciti.biz/faq/bsd-appleosx-linux-bash-shell-run-command-n-times/ 17:36:03 the power of google is strong with this one 17:36:21 * anannie bows 17:36:33 google has dumbed down now 17:36:43 it works better with the actual question than the pruned keywords 17:36:50 I was upset when they took out quoted phrases 17:37:05 google, you are not ask jeeves 17:37:09 ok this is taking .5 of a second per itteration 17:37:09 they're trying to capture the natural lang searches rather than the expert search engine people 17:37:11 Yes 17:37:13 we do not want you to become ask jeeves 17:37:19 Yes! 17:37:21 so 1 million times is going to take a while 17:37:33 lol 17:37:41 ask toolbar DONT DO IT! 17:37:59 500k seconds 17:38:02 wow 17:38:07 That's a long time 17:38:11 dayum 17:38:17 maybe a million times is a bit much 17:38:35 yea something isnt working right here. the fastest machine money can buy and... im getting the slowest results! 17:38:37 wtf over lol 17:39:06 that's 138 hours mark4 17:39:13 * RodgerTheGreat pats his mac pro proudly 17:39:21 I'm not sure I'm that desperate for a benchmark 17:39:27 RodgerTheGreat: :D 17:39:44 heh 17:39:58 mark4: if I beat your time on my Air are you going to break down in tears? 17:40:17 no. ill run it on my p3/650 17:40:18 RodgerTheGreat: You're armed to the teeth with Macs 17:40:20 eh 17:40:31 I have two 17:40:46 that's two more than me :p 17:40:58 I have two because one of them is like 65 pounds 17:41:11 and on that note we shall observe a minute of silence for my fallen Macbook Pro 17:41:13 Amen. 17:41:39 --- quit: epicmonkey (Ping timeout: 265 seconds) 17:42:41 the airs really are quite spiffy and remarkably affordable 17:43:08 y'know for an apple product 17:44:20 anannie: I'm probably just making the mourning worse hunh 17:44:34 Yup 17:45:11 well on a lighter note, have a hilariously bad program from the internet: http://www.daniweb.com/software-development/cpp/threads/440954/cant-fix-error-in-my-program 17:46:19 I feel like killing myself 17:46:26 that. code. 17:46:39 that must have been coded by a FIG forther 17:46:48 anannie, nooooo dont do eet! 17:47:06 In a fit of passion I refactored that into 25 lines 17:47:16 was that your code? 17:47:23 good lord no 17:47:28 or did you just do someone elses work 17:47:37 I was morbidly curious 17:47:40 and I had a free afternoon 17:47:44 one thing led to another 17:47:58 do the same thing with the glib memory manager! 17:48:05 thats almost as long a source file 17:48:09 eugh 17:48:22 horrendously badly presented. VERY highly regarded 17:48:44 its a very GOOD memory manager. its soruces are horrendous 17:50:09 I now feel good about myself 17:50:16 I wrote a Game of Life and I thought that was horrible 17:50:29 lol 17:50:49 (to be honest I then sat down and optimised the hell out of it) 17:50:55 but my starting code was horrendous 17:51:20 It prompted Daniel, my boss, to comment that I'd learned how to code in the depths of hell 17:51:27 get it to work first. then get it to work good. then get it to LOOK good 17:51:49 spoken like a true friend lol 17:52:22 https://www.dropbox.com/s/iurhq1g8iot3f0d/gameoflife.rb 17:52:24 show him the sources to isforth when i post my update.. then ask him if your code is hellish still :) 17:52:25 here it is 17:52:54 yes i think you posted that before, i commented on "presentation" something almost NO coders give a damn about 17:52:57 Daniel doesn't do Forth, he's one of the cool kids 17:53:10 for shame 17:53:21 At least I don't think he does 17:53:32 he should come to the dark side 17:53:34 we have cookies 17:54:05 and awesome IRC channels 17:54:41 I got the weirdest proposition today 17:54:50 oh? 17:55:02 lol was that when i asked you to marry me }:))) 17:55:04 lol 17:55:24 Nah, I had a weirder one. I'm still mulling over this, but a male model insisted that I should become a model 17:55:44 I'm beginning to doubt your earlier claims of being ugly 17:55:47 well i think you have VERY good looks! 17:56:00 RodgerTheGreat, doubt it. doubt it! 17:56:30 if i knew where she was i would have to hunt her down and tickle her into submision :) 17:56:50 * anannie coughs and raises an eyebrow 17:56:54 * anannie goes into frosty lady mdoe 17:56:56 lol 17:56:57 * mode 17:57:05 speaking about you behind your back in front of your face ;P~ 17:58:02 --- join: beretta (~yaaic@cpe-107-8-120-84.columbus.res.rr.com) joined #forth 17:58:02 --- mode: ChanServ set +v beretta 17:58:15 new person? 17:58:17 Sigh. Protist where art thou? 17:58:53 brb, shutting down and switching back to laptop 17:58:58 Okay mark4 17:59:02 shutdown -h now.... brb :) 17:59:12 --- quit: mark4 (Remote host closed the connection) 18:00:29 is beretta another bot or something? :) 18:00:45 its getting hard to tell in here sometimes 18:00:46 I think it is a kind of gun actually 18:00:58 not a very nice looking one either 18:01:02 i dont like their designs 18:01:02 lol 18:01:17 Americah 18:01:22 they look even worse than Glock tuppaware.. if taht were possible 18:01:22 yes im a forth bot! 18:01:25 * anannie doubles over laughing... 18:01:29 aha lol 18:01:37 the best kind 18:02:27 actually a forth irc bot might be fun 18:02:37 i have one in isforth 18:02:40 but it doesnt DO much 18:02:44 actually it doesnt do anything 18:02:44 we have talked about this idea before 18:03:31 oh sorry... im new to this chan 18:03:45 beretta: That's okay. 18:03:53 beretta: well there's nothing wrong with bringing it up again, since it never happened 18:04:57 Okay so how about hooking up a server that runs a forth compiler and then hooking up the bot to that, so that you can query it from within IRC and it gives you the results to commands 18:05:10 that way you can experiment and show results during the conversation 18:05:11 well you'd have to sandbox it 18:05:16 and my bot shoudl join any second maybe 18:05:17 that would be a cool thing to build 18:05:19 Yes. 18:05:24 tho maybe not any more 18:05:27 hrm 18:05:37 and you'd want to make it so that it can't lock up if fed a bad/slow program 18:05:48 It's temperamental, eh? 18:05:54 beretta, we LIKE it when we get new people! 18:05:58 specially when they know forth 18:06:15 and freenode wont allow my bot to connect any more 18:06:22 something to do with sasl probably 18:06:52 --- join: beretta_ (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #forth 18:06:52 --- mode: ChanServ set +v beretta_ 18:07:13 you seem to have grown a tail 18:07:17 maybe a forth in a VM with a watch dog timer of sorts. 18:07:18 ought to get that looked at 18:08:04 anannie, freenode now insists people have sasl to connect here 18:08:08 its stupid. 18:09:34 --- quit: ncv (Remote host closed the connection) 18:10:06 huh.. I didn't know my irc clients had sasl 18:10:27 egg drop forth bot 18:10:53 Okay another idea 18:11:11 how about a NLP parser that logs and does threading of conversations? 18:11:24 sounds trivially easy 18:11:38 it isn't. 18:11:41 no, wait, wrong word 18:11:42 how do you thread a conversation? 18:11:44 fiendishly hard 18:11:49 lol 18:11:50 there we go 18:12:19 Identifying context and so on and then colouring the conversation accordingly to track who replied to whome 18:12:21 * whom 18:12:27 it's a great NLP problem 18:12:30 beretta_: presumably in the manner that email clients thread messages together 18:12:58 Damn I wish I knew enough to implement something like this 18:13:04 ouch... sounds like a great AI mythical creature. 18:13:38 anannie, that would be a horrensously difficult thing to do lol.. colorize my replies based on who i was replying to... it would work if i prepended all my replies with the targets name like in this post :) 18:14:04 i think the AI they had playing jeopardy might be able to do it :) 18:14:15 well actually, let's assume that each query is a search function 18:14:24 i.e. each statement is a search query 18:14:24 somebody call Big Blue 18:14:45 if they stem and return results in approximately the same place then you could assume that they are talking about a similar thing 18:14:54 that's an interesting approach 18:14:55 we could use the internet as our playground for this 18:15:23 thank you RodgerTheGreat, it just popped into my head 18:15:36 I think I could make a career out of this if I managed to build this 18:16:12 you could also gather everything a particular user says and turn it into a statistical model so that for a given topic you can estimate how likely it is that the user is involved with a conversation 18:16:28 combine that with the explicit hinting you get when people mention one another 18:16:43 yes and combine that with this 18:16:51 you get something damn accurate 18:17:01 let's build it 18:17:03 hmm 18:17:57 guess i have to port sasl to forth lol 18:18:06 ill put it in my todo list 18:18:52 damn so no easy irc anymore! 18:19:34 thats allright, i still got my guitar 18:19:39 -- jimi -- 18:19:48 anannie: ok, well to implement your idea you would first need to establish a metric for "how close" sets of search results are 18:20:26 i think the first part of this would be efficient data collection and storage 18:20:37 how about the number of links they share? 18:20:42 and retrieval 18:21:01 anannie: so how many links do you consider? 18:21:06 the first hundred? 18:21:46 Well that might turn out to be too much, but yes let's do that, or what we could do is we could just see if the similar wikipedia articles pop up 18:22:06 we could index and crawl wikipedia on our own 18:22:15 I think you will tend to get very sparse results. Things that are very close will match up a lot, things that are semi-related might only match a handful of links. 18:22:29 woah nelly 18:22:34 that would be a lot of crawling 18:22:45 you can just download the wikipedia dataset y'know 18:22:51 not much compared to the entire internet 18:22:54 they offer database snapshots 18:22:55 Yes 18:23:08 but you still have to process it... 18:23:15 not to mention using the snapshot would waste less of their bandwidth 18:25:44 anannie: maybe a good first step would be to write code to take a line of text from IRC, normalize it and isolate good keywords 18:26:17 find the nouns 18:26:25 but exclude common nounds 18:26:27 *nouns 18:26:45 I don't think I know enough to build something like this, but yes it would be a good first step 18:26:54 I don't know the formal math theory 18:26:58 or any of that stuff 18:27:07 I think the keyword isolation part is something you could dig into pretty easily 18:27:15 it would be walking into a trap blind 18:27:17 using APIs 18:27:23 which would do stemming and stuff 18:27:32 or if they are smart use probablistic parsing 18:27:52 you could make use of some of the cryptography corpuses of english words with various properties 18:28:06 http://www-nlp.stanford.edu/fsnlp/probparse/ 18:29:43 like any program, I would recommend beginning by trying the simplest approach possible 18:30:07 if that doesn't work, increase sophistication 18:30:59 true true 18:31:06 I'm tempted to make this RodgerTheGreat, but I'm not sure if I should. 18:31:29 You see the trouble is that I know too little and the learn it side by side approach won't work as the pre-requisites involve math 18:31:36 that I don't know yet 18:31:49 well what's wrong with giving it a shot? Tinker with it a bit and if you aren't getting traction there's no shame in setting it aside. 18:31:50 so the obvious thing is learn the math 18:31:59 and well doing that properly is a long term thing 18:32:19 RodgerTheGreat: But I won't be able to create something defining and original 18:32:20 math was never my strong suit :) 18:32:45 originality is built on the backs of derivative works 18:33:38 Okay I'll try to build it 18:33:57 I start 10 times as many things as I finish, and it's OK 18:34:16 I try to be someone who gets stuff done no matter what 18:34:46 well that's a lot of pressure 18:35:07 and if it makes you nervous about trying things I'm not sure it's a good tack 18:35:12 but it's who I have to be if I ever want to get anywhere 18:35:37 successful people don't have to succeed at everything no matter what 18:35:39 its a good thing to know your limitations and to push them 18:35:43 just not too far at once 18:35:52 they have the resolve to keep trying until something works well and then run with it 18:37:20 http://en.wikipedia.org/wiki/Sunk_cost_fallacy#Loss_aversion_and_the_sunk_cost_fallacy 18:39:29 How about this, I'll try to build something that parses a line of input from the user in natural language and then retrieves stuff from IMDB accordingly? 18:39:38 fun 18:39:43 a nice small scope 18:39:48 yup 18:45:12 it 18:45:18 is a bit scary though 18:45:29 it's a problem I don't have any purchase over and it's out of my control 18:45:35 I'm not sure I'll win this one 18:46:01 I'm a bit ashamed with myself as this never mattered in the past... I'll just focus on the code 18:46:21 well as I said earlier one approach to picking projects is to take what you know and tackle something that requires one more thing 18:46:44 and you don't have to go it alone 18:52:58 thanks RodgerTheGreat 18:53:08 I've fired up the editor and I'm coding it 18:53:17 you can do it! 18:59:46 Thanks RodgerTheGreat! 19:00:01 i can almost taste the sunshine and rainbows \o/ 19:04:59 I built something that works :D 19:05:11 I just queries IMDB and got back a list of movies 19:05:25 I'll now make the query system smarter by adding NLP 19:05:52 and I'll make the search system smarter and stuff 19:05:56 I'll try to extend this 19:06:16 and remember you can do filtering on the post end too 19:07:21 This is so cool. 19:08:40 I can see how web developers make applications 19:08:49 there's a gem for that and so on 19:08:59 lego bricks 19:09:02 it's much easier to glue stuff together than write out algos on your own 19:09:06 Yup. 19:09:09 It's lego 19:09:24 Writing algos is more fun because that's technic level lego 19:09:35 glueing together APIs is like duplo 19:09:45 common people... legos are so last century! its *minecraft* now ! 19:09:48 unfortunately many web developers never bother to learn anything about algorithms 19:10:02 ;) 19:10:06 they just learn glue and consider that programming 19:10:07 A close friend of mine is like that 19:10:09 Yes 19:10:33 He thinks that doing project euler is a waste of time and so on as it would just teach me theroetical CS muppety stuff 19:10:51 he thinks CS is basically useless and so on 19:10:55 "theoretical CS muppety stuff" 19:10:57 and it's the real world that counts 19:11:03 those are his words 19:11:11 "CS muppets" 19:11:37 I think I would probably pose a health risk to this person if I was within arm's reach of his neck 19:11:38 muppets? 19:11:40 lol 19:11:56 I want to be Gonzo, if I'm a muppet. 19:12:05 * RodgerTheGreat hands beretta_ a chicken 19:12:21 *grin* 19:14:15 I find it infuriating when someone insists that the outcome of startups is essentially some sort of gigantic lottery 19:15:27 the main thing I've noticed is that every startup participant I've talked to says "oh yeah, only about 10% of startups are successful", and yet 100% of those people are certain their idea WILL be successful 19:15:28 I won't waste my energy giving an exegesis of my views, but let's just say I think there's a lot to be said about the determinism of events and that life isn't a malcolm gladwell-esque lottery 19:16:03 What no one wants to admit is that they might not be cut out for entrepreneurship in the first place 19:16:13 shipping code != entrepreneurship 19:16:24 there's a lot of very bizarre and insular thinking surrounding "startup culture" 19:16:29 Yes 19:17:33 people who talk about how they don't need programming techniques or methodology, just "getting things done" are a fixture of HN 19:18:10 or the other side with people who insist that tools and methodology form an ideal religion around which software must be architected 19:18:20 a startup is the **intersection** of the following; solving a hard technical problem + entrepreneurship + sales (yes sales and yes its distinct from entrepreneurship) 19:18:40 if we use scrum and pivot our mvps we'll be millionaires 19:19:00 I usually laugh my head off at that 19:19:05 their ideas are useless 19:19:18 their execution is even worse 19:19:23 their sales is non-existent 19:19:25 some people define sales as "getting someone to buy our startup" rather than selling a product to customers 19:20:13 and there was that HN article recently about how "your minimum viable product is processing credit cards" and all you have to do is convince people to give you money, the whatever it is they're paying you for can come later 19:20:21 and they wouldn't know what business is if they met it in broad daylight with augmented reality based pointers 19:20:39 RodgerTheGreat: That's also known as a scam 19:20:51 anannie: that's an odd way to spell HUSTLE 19:21:19 I have had friends working in startups that tell me all kinds of horror stories about how everyone in their startup is playing angles and trying to jockey for power 19:21:34 I was about to say if it was a big burly dude out to rape them, but that wouldn't sound nice. 19:22:06 RodgerTheGreat: I'm thinking about starting a micro-startup and I swear to you that I'll sell this one for more than a million within the next 3 years. 19:22:09 and my response is "you're working with a bunch of people whose primary motivation is a small chance of making a lot of money, and damn the rest of their lives, and you're SURPRISED that your coworkers are a bunch of predatory shitheads?" 19:22:48 well I wish you luck with that 19:22:54 RodgerTheGreat: Actually those predators are just attracted by the scent of dumb money. 19:23:31 the term "fuck you money" is deeply illuminating to the character of these people 19:23:33 RodgerTheGreat: It's basically my college degree... If I fail, I'll still succeed. If I succeed then well I'll have money and experience for what I really want to do 19:24:00 that sounds like a good attitude 19:24:05 I think that the Bubble 2.0 is going to come when the JOBS act gets passed. 19:24:46 The final revisions are occurring and they will look back at this and PG making it rain as the moment they jumped the shark 19:25:03 Me? I don't care, I'm going to define an entirely new sector and I'm not going to play their games. 19:25:36 what's JOBS ? 19:25:39 Rather I'm going to game their system and do the smart thing, push something out and get out without dreams of buying islands my building a frikkin' web app that consists of a game of monkeys 19:25:54 Google is your friend beretta_ :p 19:25:59 wait lemme dig it up 19:26:35 http://en.wikipedia.org/wiki/Jumpstart_Our_Business_Startups_Act 19:27:24 s/my/by 19:27:43 i need a replacement email so i can dump gmail 19:27:58 so far ive tried about 6 different ones and they all SUCK worse than gmail 19:30:55 write one in FORTH? 19:31:04 and host it where? 19:31:35 your desktop and SSH in there to access it? Temporary holding server on EC2? 19:32:02 the only way i get any computer in this apartment onto the internet at all is via a wifi tether through my android phone 19:32:23 oh 19:32:28 i dont have cable. also... if i host and then get sent to east podunk idaho then i have to migrate my server to a new location 19:32:54 EC2 should solve that problem 19:32:55 if i could afford to cohost a box i would do so and yes. run my OWN email server with nobody but me as a client 19:33:03 ec2? 19:33:47 http://aws.amazon.com/ec2/instance-types/ 19:34:28 basically i need a web based email thats not SLOW. can pull in my gmail inbox via pop, does not expire the account EVER unless i delete it and does not auto log me out. specialy not 2 seconds after i log in like GMX does 19:34:29 http://aws.amazon.com/ec2/pricing/ 19:35:11 yea. i kinda need it to be free and unlimited storage too lol 19:35:30 * anannie shakes her head 19:35:38 hmm 19:35:40 a hard bargain 19:35:43 Well you have to pay to get what you want 19:35:45 yea well a reasonable storage size will do 19:35:48 unicorns... that's what my mail needs... unicorns 19:36:02 im certainly not going to be using up 50TB of emails 19:36:10 5G would work 19:36:22 Well then get a microinstance and use that 19:36:37 750 hours of EC2 running Linux/Unix Micro instance usage 19:36:39 750 hours of EC2 running Microsoft Windows Server Micro instance usage 19:36:40 750 hours of Elastic Load Balancing plus 15 GB data processing 19:36:42 30 GB of Amazon EBS Standard volume storage plus 2 million IOs and 1 GB snapshot storage 19:36:43 15 GB of bandwidth out aggregated across all AWS services 19:36:45 1 GB of Regional Data Transfer 19:38:09 You can easily fit in an email server over here 19:39:05 not for free 19:39:23 --- quit: karswell_ (Remote host closed the connection) 19:40:19 for free 19:40:23 that's their free tier 19:40:28 errr 19:40:42 and what does this give me ? a server online thats mine? 19:41:02 i dont even know what a microinstance is ill have to go check it out 19:41:08 any restrictions on what i can use it for? 19:41:19 Nope no restrictions 19:41:23 blargh i would still have to buy a domain name for the server and right now i cant even do that 19:41:35 Well just use SSH 19:41:49 and link it to GMail 19:41:50 ok so... where do i get this? 19:41:54 use it as a data dump 19:41:57 lol 19:42:12 erm im not LINKING it to gmail 19:42:16 i have it pull gmail in 19:42:17 http://aws.amazon.com/ec2/pricing/ 19:42:27 read that... 19:42:41 bah this still doesnt help. i would not be able to set up a web based private service that didnt suck lol 19:43:42 its 0.02 per hour not free 19:44:15 oh. i see the free tier 19:44:47 what does 750 hours mean.. the instance lasts 750 hours then disappears? 19:45:46 750 hours is more than the hours in a month 19:46:11 i dont understand what it means to. iget 750 hours? what happens after 750 hours... the tier gets delted? 19:46:16 jeez amazon should hire me... 19:46:20 or is that "750 hours of connected time" 19:46:32 It's 750 hours of accessibility 19:46:43 i.e. when you're running it and keeping it on 19:47:35 I wish I could work for the NSA 19:47:58 if your good you probably could :) 19:48:21 I don't think I'm that smart for them to go out of their way to hire me 19:48:32 so... this is a VM out there in space that they provide for FREE ? 19:48:46 yep 19:49:03 do i have any control over what this VM runs? or do they install ubuntu and say "use that" 19:49:40 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 19:49:40 --- mode: ChanServ set +v karswell_ 19:50:21 http://cryptome.org/jya/nsa-mathjob.htm 19:50:32 I440r: Not at the free tier 19:51:00 if i didnt have control over the distribution running inside the vm it would be useless to me 19:51:17 thers NO FREEKING WAY i would be able to set up ANY kind of a net service on any distribution other than gentoo 19:51:22 not in a million years 19:51:33 nor would i want one not running gentoo 19:52:12 * beretta_ scratches head on how one would put forth on a remote VM. 19:52:37 write a bootstrap compiler in PHP 19:53:20 or vb 19:53:27 c# !!! 19:54:04 PHP would be funniest 19:54:09 I guess it would depend on what the cloud server would allow. 19:55:42 I don't ever plan on being attached to a language, tool or operating system 19:56:04 if you can only do something with a specific tool, you can't actually do it 19:56:13 the tool does 19:56:18 RodgerTheGreat++ 19:56:26 I wish I could say that to the LISP guys 19:56:27 gentoo is the only linux distribution i trust. 19:56:39 but I'm too polite 19:56:44 lol 19:56:45 anannie: not many lisp guys write their own lisp 19:57:20 although they'll fall all over themselves to tell you about their metacircular compilers which only express the trivial surface parts of a lisp implementation 19:57:21 and the pythonistas and the rubyists and all of those ispers out there 19:57:28 not many c++ coders do either. drag and the ingredients into the easy bake compiler and out pops an application 19:57:31 yay im a coder 19:57:47 forth programmers are capable of building their tools from scratch and frequently do 19:57:51 oooooh i could go bakes a cake.. er no i cant i dont have any eggs left dammit 19:58:31 give me any halfway decent programming tool and I can use it to construct enough of a forth to escape 19:58:50 thats why chuck moore left forth inc. chuck moore refused to REUSE code because he felt that any new application no matter how similar would be second rate at best if it used old code and writing anything from scratch in forth is trivial 19:59:05 ER of forht inc felt it a waste of time and bad business to not reuse code 19:59:43 RodgerTheGreat: http://jackealtman.com/2013/01/10/startup-knowledge-decays-quickly/ <--- Grrrr 19:59:44 huh... I've never heard the CM vs. ER thing 20:00:48 anannie: that article has a very elaborate buildup to essentially saying "follow fads" 20:01:15 I stopped reading after he asserted that there was a body of some magical startup knowledge 20:02:05 "wisdom" 20:02:12 ed wine is bad for you. I mean good for you. I mean bad for you LOL 20:02:49 Sorry, "startup wisdom" the sort best dispensed by the great gurus 20:03:17 like bill gates? 20:03:40 640k aughta be enough for anyone !!! <-- the only thing he never said that i agree with :) 20:03:57 I think the phrasing in that is important 20:04:04 --- quit: proteusguy (Ping timeout: 264 seconds) 20:04:04 he didn't say it IS enough for everyone 20:04:08 he said ought to 20:04:21 I interpret it as saying something about efficiency and austerity in software 20:04:41 you can do some pretty amazing things in 640k when you use it properly 20:05:22 okay I should go to bed 20:05:26 see you people later 20:05:27 he never actually said it i think 20:05:29 'night 20:05:35 see you later 20:05:36 'night 20:05:39 nite anannie !! 20:05:44 let me come tuck you in! 20:05:45 repeatedly! 20:05:50 Ew 20:05:51 <3 20:05:53 :p 20:05:57 :S 20:06:07 Ew. Ew. :-p 20:06:13 lol 20:06:16 nini :P~ 20:06:26 Oooh finally someone else who uses nini 20:06:36 lol 20:09:19 You know once I have the money I'll do a HN post or put it across forums etc. and offer $100k per pop for crazy ideas for 25% or less equity 20:09:25 Maybe even 10% 20:09:46 forth as a webservice 20:09:51 :) 20:10:00 multiplayer competitive sudoku 20:10:01 I would invest in 20 companies like this, and if I'm any good at picking then I should get somewhere 20:10:08 Nah, crazier 20:10:11 um 20:10:23 subscription-based tropical fish 20:10:39 --- quit: karswell_ (Remote host closed the connection) 20:10:45 That could actually be something, imagine if you could gigantically scale fish farming. 20:10:51 And do it inland. 20:11:00 Cheaper. Better. Faster. 20:11:02 a social network for exterminators 20:11:33 Heck imagine if you could do multi-storey farming 20:11:41 I would pour money into stuff like that 20:11:47 non-trivial stuff 20:11:55 and I would back up my money with more 20:11:59 um 20:12:37 If someone came to me and told me how they would build an AI and they had the credentials then I would give them the money 20:12:41 an app for scanning books with cell phone cameras and a bartering-based social site for sharing obscure texts 20:12:51 Nah. 20:13:01 scanning books could be something though 20:13:17 what if you applied that tech to scanning product labels 20:13:26 what if you build a robot to take snapshots of stores 20:13:30 RodgerTheGreat, i used to work for the guy that USED to run motorolas entire image sensor division before they got out of that multi billion dollar a year profit business 20:13:34 an app for scanning print that would produce truetype fonts from a sample 20:13:35 what if you then inventories stores for cheap 20:13:55 * inventory 20:14:05 or even recognize a typeface given a sample 20:14:08 you could build a search engine for the real world! 20:14:09 he owns a company in phoenix az now. he designed a camera system for intel to do text to speach for the sight impared 20:14:11 godsent for graphic designers 20:14:19 That would be awesome. 20:14:25 You're thinking too small RodgerTheGreat 20:14:34 think in billions and trillions not millions 20:14:56 an app for converting milk into apple juice 20:14:57 billions? thats a HUGE number. 20:14:57 I dunno 20:15:11 trillions 20:15:13 a planetary sky-net of thinking robots (like billions of them) ? 20:15:15 some watchdog just complained that the tax filing burden costs americans 50 billion hours a year 20:15:23 50 billion HOURS. 20:15:26 I'm thinking "plausible with a little new glue for existing tech" 20:15:30 1 billion seconds is 35 years 20:15:55 if you aren't aiming to be a trillionaire; you aren't aiming high enough :p :p 20:16:05 Okay I sound money minded and crap 20:16:10 the love of money is the root of all evil :P 20:16:13 lol 20:16:21 the typeface thing could seriously work if you partnered with type foundries 20:16:39 it's a bad business RodgerTheGreat 20:16:43 "oh, I see that's garamond bold. Want a license for $200?" 20:17:42 presumably the issue is that your market is niche professionals 20:17:50 yes. 20:17:56 but it's niche professionals who spend a lot of money on something with thick margins 20:18:19 right 20:18:28 and then with any luck adobe buys you 20:18:32 how many foundries are there? 20:18:42 Again you're doing the typical startup argument 20:18:44 how many trillionaires are in existance? 20:18:53 adobe needs to die a death 20:18:56 Crassus 20:19:00 I'm applying startup logic to the startup game 20:19:34 I'd much rather make interesting things than things I think someone wants to buy 20:19:44 like adafruit 20:20:02 I'm an artist and that's my weakness 20:20:12 lol so is lady ada 20:20:16 she is hawt too :)) 20:21:19 Actually here's another way to take something niche and flip it into a real business 20:21:23 let's say you have a chat app 20:21:33 How would you sell it? 20:21:43 everyone is doing chat right? 20:21:46 It's boring, no? 20:21:51 embed subtle advertising in the form of fake users 20:22:06 that's creepy and it would lose you people 20:22:09 I'm serious 20:22:10 lol 20:22:18 how would you turn it into a business? 20:22:23 but they compliment you and stuff or send you funny pictures so they seem real, just dumb 20:22:45 any business model that entails marketing or advertisements i will never use 20:22:50 i.e. ad supported 20:22:58 as far as I am aware it is not possible to make money through chat 20:23:03 case in point, we are using IRC 20:23:07 it costs zero dollars 20:23:08 i have a game im developing for android that i think i have an awesome marketing model for 20:23:10 it has no marketing 20:23:31 the value of the freenode network exceeds what many startups strive to produce artificially to no avail 20:23:46 Pause now. 20:23:47 split the game up into 6 installments. first installment is FREE. it would take 6 months to complete the first installment of the game. by then your hooked... get second installment for $x with x being the unknown factor 20:23:55 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 20:23:55 --- mode: ChanServ set +v karswell_ 20:24:03 anannie: ok 20:24:43 I can make money from it, by creating something that developers can hook into their applications to provide a real-time communication protocol around their applications. Think about stuff like CRMs it's useful to have an embedded chat that can directly interface with the application. 20:25:12 I'm going to make that and I'm going to licence it out. 20:25:21 but there are already tons of open standards which don't cost money and are easy to integrate 20:25:32 Oh? 20:25:41 XMPP is just a standard about how servers operate 20:25:43 IRC is crufty but it's an option 20:25:50 they don't do the work of integrating in 20:25:58 and remember getting a developer to build it is a cost 20:26:01 maintaining it is a cost 20:26:09 a smart business owner will try to reduce cost 20:26:14 I'll do it cheaper and better 20:26:32 I'll make it smarter as well 20:26:50 so that it has baked in intelligence about selectively quoting things and so on from the linked database 20:27:09 Then I'm going to expand it so that businesses can have common profiles across applications 20:27:25 Then I'm going to add more features in it to make things richer 20:27:49 and viola, we have a communication medium that's integrated into enterprise that's used properly 20:27:57 *and* that people are paying for 20:28:30 of course you might go out and build this, but this is just half the story 20:28:54 hm 20:31:32 well if you've studied the market and you have identified people who want that, you're the expert 20:32:28 again it isn't as easy as waiting for them to come to me RodgerTheGreat 20:32:38 I'll have to actively push this to make this work 20:32:42 --- join: proteusguy (~proteusgu@ppp-58-8-125-150.revip2.asianet.co.th) joined #forth 20:32:42 --- mode: ChanServ set +v proteusguy 20:33:14 and this is where the actual value lies 20:34:01 convincing people they need something? 20:34:29 yes 20:34:34 and that I can solve their problem 20:34:39 hm 20:34:39 it's going to be hard at the start 20:34:53 but that's the way it works 20:36:04 --- quit: karswell_ (Remote host closed the connection) 20:36:32 There's this guy called Mark Cuban that I find to be pretty damn interesting 20:37:47 One of the things that fascinate me is how open he is about how hard it was to get where he is. Sure if you follow the entire hard work gig there's no guarranttee you will get anywhere in particular, but you will get somewhere. 20:43:03 anannie: I seem to remember you making pretensions of sleep. :) 20:45:47 I have chronic insomnia... 20:46:00 welcome to programming 20:46:27 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 20:46:27 --- mode: ChanServ set +v karswell_ 20:48:19 http://blogmaverick.com/2013/01/10/the-stock-market-2/ 20:48:26 ^ RodgerTheGreat 20:49:07 my sleep schedule is all screwed up 20:49:14 i stay awake till 4am. sleep till past noon 20:49:44 I haven't slept in 72+ hours other than turning in for a few hours each time 20:50:25 it is a compelling narrative 20:51:08 that's why I like this guy, he doesn't BS 20:51:25 He's a cynic and he has his own bent viewpoint, but he lays it as it is 20:51:49 no one else is going to tell you that the market is this except for a guy like that 20:51:54 he also sells books 20:52:03 He's a billionaire RodgerTheGreat 20:52:10 I think he's doing it for fun not for money. 20:52:20 then why does he charge for his books? 20:53:11 I'm not attacking your perspective here, but it is an interesting question, no? 20:53:23 As the joker would say, "If you're good at something, never do it for free" 20:53:39 truly a life model 20:53:54 I'm willing to bet my entire future that this guy looks at money like I do 20:54:00 As a number in a game. 20:54:18 I see money as a tool 20:54:26 it's that too 20:54:52 but once your basic needs are met, it becomes a tool to change things and that's when you realise the higher levels of abstractions are rigged like a gam 20:54:55 * a gem 20:54:57 * game 20:55:00 gah 20:55:09 sleep deprivation... 20:55:23 I see having some money as a way to be able to say "no" to more money 20:55:27 it's really great 20:55:39 because many people work from the perspective that you are for sale 20:55:41 in some form 20:55:45 I see money as a tool. I can use to change the destiny of our species 20:55:54 --- quit: karswell_ () 20:55:59 if you have enough money and you don't fetishize it, you can just say "no thanks" when you want to 20:56:03 I see getting that money as a game you can learn how to play 20:56:03 that's power 20:56:09 True RodgerTheGreat 20:56:17 but there are different ways through life 20:56:46 I want to leave my mark, that's what I'm truly concerned about... 20:56:53 it's really interesting when someone who thinks of money as a universal cureall realizes they can't buy you 20:57:03 it makes them really uncomfortable 20:57:16 lol 20:58:03 hrm I hope that I don't end up like one of those people 20:58:10 but seriously, people have families to feed, bills to pay 20:58:38 if you can afford to pay them well then you can fund long term research in areas that lack that attention and care 20:59:08 yeah, that's true 20:59:26 you can do a lot of good with responsible investment 21:00:42 Yep 21:00:56 You can shape the destiny of the human race with just $5 Billion 21:01:39 give me a million dollars and ill put starbucks out of business within 5 years... except i couldnt beause i could never run a company 21:01:41 If you find smart people then all it takes to start building rockets that are cheaper and safer than ever before is $150MM. 21:02:01 but if i could run a company i could educate the united stats on just how BAD starbucks crap is 21:02:05 3rd crack coffee 21:02:07 and rockets are supposed to be, well, rocket science. 21:02:28 John Carmack is another one of my heroes 21:02:35 a consummate engineer 21:03:55 Yes 21:06:53 oh hel yes 21:07:01 "give it up son, you will never make a games programmer" 21:07:20 proceeds to invent 99% of all 3d rendering techniques used by the gaming industry for the next 30 years :P 21:07:36 doom engine == TWO D engine. very very clever 21:08:03 the best thing is, he's still in his forties. He still has decades of his best work ahead of him. 21:08:09 ooooh shit. i should do a ray casting 3d engine for console lol 21:08:24 I440r: that could be fun 21:08:27 doesnt opengl kind of replace software engines ? 21:08:48 create a clone of the old wizardry game in CONSOLE lol 21:09:11 --- join: karswell (~user@93-97-29-243.zone5.bethere.co.uk) joined #forth 21:09:11 --- mode: ChanServ set +v karswell 21:09:41 --- join: rabenauge (~sag@88.130.160.127) joined #forth 21:09:41 --- mode: ChanServ set +v rabenauge 21:10:19 opengl is just an api 21:10:27 i know. to the hardware 21:10:36 its more of a protocol 21:10:37 you could write an opengl implementation that was a software renderer for the console 21:11:09 does id software sill prduce games? 21:11:16 or even gfx engines 21:11:17 yes 21:11:20 both yes 21:11:36 does m abrash still work for them? 21:11:38 Rage was their most recent release 21:11:42 I do not know 21:11:58 i was doing mode X code when mod X code was the in thing 21:12:14 also. back then just about every single commercial game would ask "do you have a vga or an ega card" 21:12:22 because they could not test for what you had 21:12:42 i developed a guaranteed test that would discover exactly which kind of video card you had. 21:13:11 nice 21:13:27 it was also about 5 lines of code lol 21:14:17 read vga register X. write new value to E/VGA register X. if the value you read back was the same as the one you wrote you have a VGA. otherwise its an ega 21:14:24 rewrite original value 21:15:07 i also devised a compression method that compressed 32k down to 90 bytes :) 21:15:09 LOSSLESS lol 21:15:21 but for use on very specific data formats 21:18:44 such as? 21:19:33 I just realised that I probably sound like a nut. >.< Gah I hate sleep deprivation. Sorry guys 21:19:48 ah, you're ok 21:19:54 just a little manic 21:20:00 anannie, nutcases fit in GOOD here 21:20:05 specially good looking ones :) 21:20:27 I'm seriously considering doing modelling oncer or twice 21:20:30 she does type in a nice font 21:20:43 * once 21:20:47 anannie, trust me you fit the bill but DONT let it fuck you up 21:21:02 no sex with good looking weirdo male models and no drugs and you will be fine! 21:21:54 Again as I told that investor, all that matters right now is my prime directive, my mission. Everything else is secondary 21:22:27 I need money to start and invest in companies. 21:22:55 I have to get that somehow, so it might as well be this. 21:23:30 of course the chances of success are minuscule and I'm not interested in learning this particular game 21:23:42 but as they say life is short and so on 21:24:11 I say spend your time on something you find meaningful 21:24:32 I already know what I have to do 21:24:47 I write little games and draw pictures and tell stories 21:24:51 and I know how ambitious my goals sound, but I have some grasp over how I'm going to get there 21:25:25 RodgerTheGreat: ever since I was a little girl I've wanted to do two things; run companies (being a female entrepreneur was the forbidden fruit) and build robots 21:29:33 i develop development systems because the ones im forced to use profesionally SUCK 21:29:43 and im being nice 21:31:28 I'm going to sleep now 21:31:35 good night everyone 21:31:57 nite RTG 21:32:09 --- quit: RodgerTheGreat (Quit: RodgerTheGreat) 21:36:22 nini everyone 21:36:28 nini 21:36:30 <3 21:36:32 --- quit: anannie (Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121010223843]) 21:38:04 --- quit: beretta (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 21:42:28 --- quit: proteusguy (Ping timeout: 264 seconds) 21:45:52 --- join: proteusguy (~proteusgu@ppp-58-8-125-150.revip2.asianet.co.th) joined #forth 21:45:52 --- mode: ChanServ set +v proteusguy 21:51:28 --- quit: proteusguy (Ping timeout: 264 seconds) 22:03:14 --- join: proteusguy (~proteusgu@ppp-58-8-114-160.revip2.asianet.co.th) joined #forth 22:03:14 --- mode: ChanServ set +v proteusguy 22:04:46 --- quit: proteusguy (Read error: Connection reset by peer) 22:20:59 --- join: proteusguy (~proteusgu@ppp-58-8-114-160.revip2.asianet.co.th) joined #forth 22:20:59 --- mode: ChanServ set +v proteusguy 23:55:45 --- quit: kumul (Read error: Connection reset by peer) 23:59:59 --- log: ended forth/13.01.10