2015-05-10T00:05:58Z jeapostrophe quit (Ping timeout: 272 seconds) 2015-05-10T00:18:59Z aretecode quit (Ping timeout: 256 seconds) 2015-05-10T00:34:58Z tsumetai quit (Ping timeout: 272 seconds) 2015-05-10T00:38:25Z tsumetai joined #scheme 2015-05-10T00:45:12Z someircname quit (Quit: Leaving.) 2015-05-10T01:03:34Z lritter__ quit (Ping timeout: 245 seconds) 2015-05-10T01:09:10Z rtra quit (Ping timeout: 272 seconds) 2015-05-10T01:10:04Z rtra joined #scheme 2015-05-10T01:16:07Z ozzloy joined #scheme 2015-05-10T01:20:39Z zacts quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-05-10T01:27:30Z aap_ joined #scheme 2015-05-10T01:30:48Z aap quit (Ping timeout: 256 seconds) 2015-05-10T01:34:49Z adu joined #scheme 2015-05-10T01:47:29Z davexunit quit (Quit: Later) 2015-05-10T02:14:32Z ArneBab_ joined #scheme 2015-05-10T02:17:48Z ArneBab quit (Ping timeout: 265 seconds) 2015-05-10T02:17:56Z vraid quit (Ping timeout: 240 seconds) 2015-05-10T02:30:23Z AkashicLegend quit (Ping timeout: 244 seconds) 2015-05-10T02:34:41Z tsumetai` joined #scheme 2015-05-10T02:34:49Z tsumetai quit (Ping timeout: 245 seconds) 2015-05-10T02:41:54Z leppie quit (Ping timeout: 245 seconds) 2015-05-10T02:43:40Z yosafbridge quit (Ping timeout: 272 seconds) 2015-05-10T02:43:47Z excelsior joined #scheme 2015-05-10T02:43:55Z kephra: http://o3db.com/proto/repl.html#let-even-odd.scm <- take a look at the HTML source code to explain how I fill that form for the repl 2015-05-10T02:44:52Z kephra: the HTML source explains both how to extend my toy scheme with a native function (e.g. to access the hash fragment) 2015-05-10T02:45:52Z kephra: and how to read and write from and into DOM elements that have an id tag (try console:output, and console:debug also) 2015-05-10T02:47:37Z leppie joined #scheme 2015-05-10T02:48:10Z saul joined #scheme 2015-05-10T02:48:48Z yosafbridge joined #scheme 2015-05-10T02:53:36Z AkashicLegend joined #scheme 2015-05-10T03:00:03Z Sizur left #scheme 2015-05-10T03:04:52Z amgarching quit (Ping timeout: 256 seconds) 2015-05-10T03:34:29Z pnpuff quit (Quit: Page closed) 2015-05-10T03:35:07Z pnpuff joined #scheme 2015-05-10T03:45:45Z annodomini joined #scheme 2015-05-10T03:46:05Z Jaood joined #scheme 2015-05-10T04:01:23Z adu quit (Quit: adu) 2015-05-10T04:07:09Z aksatac joined #scheme 2015-05-10T04:11:46Z Jaood left #scheme 2015-05-10T04:15:34Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-05-10T04:18:08Z lolisa joined #scheme 2015-05-10T04:28:24Z pnpuff quit (Quit: Page closed) 2015-05-10T04:46:10Z annodomini quit (Quit: annodomini) 2015-05-10T04:53:06Z AkashicLegend quit (Quit: stronger) 2015-05-10T04:53:17Z lolisa quit (Read error: Connection timed out) 2015-05-10T04:54:25Z lolisa joined #scheme 2015-05-10T05:00:30Z tsumetai` quit (Quit: Leaving) 2015-05-10T05:24:41Z tsumetai joined #scheme 2015-05-10T05:48:25Z jwd quit (Ping timeout: 264 seconds) 2015-05-10T06:15:34Z adu joined #scheme 2015-05-10T06:15:47Z adu quit (Client Quit) 2015-05-10T06:20:29Z Ryan_Burnside joined #scheme 2015-05-10T06:31:59Z aksatac quit (Quit: Connection closed for inactivity) 2015-05-10T06:45:44Z karswell` joined #scheme 2015-05-10T06:50:09Z karswell quit (Ping timeout: 276 seconds) 2015-05-10T06:54:55Z Ryan_Burnside quit (Quit: Leaving) 2015-05-10T06:55:22Z Pixel_Outlaw quit (Remote host closed the connection) 2015-05-10T07:28:55Z aap_ is now known as aap 2015-05-10T07:30:26Z bb010g quit (Quit: Connection closed for inactivity) 2015-05-10T07:47:35Z someircname joined #scheme 2015-05-10T08:00:46Z thor-daedalus joined #scheme 2015-05-10T08:04:59Z msgodf joined #scheme 2015-05-10T08:20:19Z oleo_ joined #scheme 2015-05-10T08:23:00Z oleo quit (Ping timeout: 272 seconds) 2015-05-10T09:06:21Z peterhil quit (Read error: Connection reset by peer) 2015-05-10T09:10:50Z ineiros quit (Ping timeout: 252 seconds) 2015-05-10T09:11:46Z ziocroc joined #scheme 2015-05-10T09:23:18Z r0kc4t quit (Quit: leaving) 2015-05-10T09:24:55Z peterhil joined #scheme 2015-05-10T09:29:38Z mark_weaver quit (Ping timeout: 256 seconds) 2015-05-10T09:38:32Z zadock joined #scheme 2015-05-10T09:38:57Z mark_weaver joined #scheme 2015-05-10T09:39:07Z mtakkman joined #scheme 2015-05-10T09:40:18Z ineiros joined #scheme 2015-05-10T09:43:45Z r0kc4t joined #scheme 2015-05-10T10:04:47Z jeapostrophe joined #scheme 2015-05-10T10:05:24Z oleo_ quit (Quit: Leaving) 2015-05-10T10:06:16Z sdothum joined #scheme 2015-05-10T10:06:44Z oleo joined #scheme 2015-05-10T10:07:37Z mtakkman quit (Ping timeout: 255 seconds) 2015-05-10T10:13:34Z vraid joined #scheme 2015-05-10T10:15:22Z zeroish quit (Ping timeout: 252 seconds) 2015-05-10T10:16:04Z stepnem joined #scheme 2015-05-10T10:29:55Z pjdelport joined #scheme 2015-05-10T10:32:16Z ziocroc quit (Quit: ziocroc) 2015-05-10T10:46:46Z ziocroc joined #scheme 2015-05-10T11:13:20Z jeapostrophe quit (Ping timeout: 256 seconds) 2015-05-10T11:14:08Z leppie quit (Ping timeout: 272 seconds) 2015-05-10T11:16:20Z lritter__ joined #scheme 2015-05-10T11:17:56Z leppie joined #scheme 2015-05-10T11:38:01Z alezost joined #scheme 2015-05-10T11:39:20Z thor-daedalus quit (Ping timeout: 272 seconds) 2015-05-10T11:42:11Z zadock quit (Quit: Leaving) 2015-05-10T11:44:26Z jeapostrophe joined #scheme 2015-05-10T11:45:40Z zeroish joined #scheme 2015-05-10T11:46:42Z thor-daedalus joined #scheme 2015-05-10T11:49:40Z amgarching joined #scheme 2015-05-10T11:53:44Z mrowe_away is now known as mrowe 2015-05-10T12:05:23Z PinealGlandOptic joined #scheme 2015-05-10T12:15:25Z leppie quit (Ping timeout: 264 seconds) 2015-05-10T12:19:30Z leppie joined #scheme 2015-05-10T12:23:51Z taylanub joined #scheme 2015-05-10T12:27:17Z mrowe is now known as mrowe_away 2015-05-10T12:29:59Z iKlsR joined #scheme 2015-05-10T12:30:32Z annodomini joined #scheme 2015-05-10T12:40:16Z ziocroc quit (Ping timeout: 272 seconds) 2015-05-10T12:43:51Z iKlsR quit (Quit: Leaving) 2015-05-10T12:46:33Z grublet joined #scheme 2015-05-10T12:56:06Z yasha9 quit (Ping timeout: 276 seconds) 2015-05-10T12:59:36Z jeapostrophe quit (Ping timeout: 240 seconds) 2015-05-10T13:05:08Z annodomini quit (Quit: annodomini) 2015-05-10T13:08:30Z yasha9 joined #scheme 2015-05-10T13:09:53Z vraid quit (Quit: Konversation terminated!) 2015-05-10T13:14:03Z vraid joined #scheme 2015-05-10T13:15:18Z zadock joined #scheme 2015-05-10T13:20:47Z vraid quit (Quit: Konversation terminated!) 2015-05-10T13:22:32Z vraid joined #scheme 2015-05-10T13:27:04Z lolisa quit (Quit: Leaving) 2015-05-10T13:29:44Z pnpuff joined #scheme 2015-05-10T13:30:45Z annodomini joined #scheme 2015-05-10T13:30:45Z annodomini quit (Changing host) 2015-05-10T13:30:45Z annodomini joined #scheme 2015-05-10T13:31:37Z jwd joined #scheme 2015-05-10T13:39:41Z grublet quit (Quit: Lost terminal) 2015-05-10T13:40:48Z kephra: any of the style gurus, and language lawyers up? 2015-05-10T13:43:08Z kephra: do you prefer (define foo (lambda (p) ...) or (define (foo p) ...)? 2015-05-10T13:43:22Z wasamasa: clearly (define (foo p)) 2015-05-10T13:43:35Z mumptai joined #scheme 2015-05-10T13:43:43Z wasamasa: unless there's something special where the alternative would make more sense 2015-05-10T13:43:54Z wasamasa: like, playing around with closures 2015-05-10T13:44:07Z daviid joined #scheme 2015-05-10T13:44:21Z kephra: or (define bar (lambda p ...)) 2015-05-10T13:44:33Z taylanub: what wasamasa said. the feature is there for a purpose. 2015-05-10T13:44:39Z taylanub: kephra: (define (bar . p) ...) 2015-05-10T13:45:23Z kephra: taylanub, this even works - even without cons cells in my scheme ;-) 2015-05-10T13:54:57Z pnpuff quit (Quit: Page closed) 2015-05-10T13:58:32Z contrapunctus joined #scheme 2015-05-10T13:59:32Z annodomini quit (Quit: annodomini) 2015-05-10T14:07:39Z jeapostrophe joined #scheme 2015-05-10T14:12:35Z vraid quit (Quit: Konversation terminated!) 2015-05-10T14:14:41Z pnpuff joined #scheme 2015-05-10T14:18:35Z pnpuff quit (Client Quit) 2015-05-10T14:22:36Z amgarching quit (Ping timeout: 240 seconds) 2015-05-10T14:30:31Z cdidd_ joined #scheme 2015-05-10T14:33:31Z cdidd quit (Ping timeout: 256 seconds) 2015-05-10T14:36:44Z jwd quit (Quit: Leaving) 2015-05-10T14:51:04Z cdidd_ is now known as cdidd 2015-05-10T15:04:03Z leppie quit (Ping timeout: 250 seconds) 2015-05-10T15:06:52Z pjdelport quit (Quit: Connection closed for inactivity) 2015-05-10T15:08:36Z leppie joined #scheme 2015-05-10T15:31:54Z GGMethos quit (Quit: WeeChat 1.0.1) 2015-05-10T15:35:08Z GGMethos joined #scheme 2015-05-10T15:53:40Z jeapostrophe quit (Ping timeout: 265 seconds) 2015-05-10T15:55:06Z amgarching joined #scheme 2015-05-10T15:57:58Z jeapostrophe joined #scheme 2015-05-10T16:00:14Z araujo quit (Ping timeout: 245 seconds) 2015-05-10T16:12:44Z araujo joined #scheme 2015-05-10T16:12:56Z amgarching quit (Ping timeout: 246 seconds) 2015-05-10T16:14:46Z sheilong joined #scheme 2015-05-10T16:18:54Z jeapostrophe quit (Ping timeout: 276 seconds) 2015-05-10T16:20:04Z amgarching joined #scheme 2015-05-10T16:42:02Z zacts joined #scheme 2015-05-10T17:00:14Z aretecode joined #scheme 2015-05-10T17:04:12Z alezost quit (Quit: I use GNU Guix ) 2015-05-10T17:11:00Z agumonkey quit (Ping timeout: 265 seconds) 2015-05-10T17:12:30Z alezost joined #scheme 2015-05-10T17:18:50Z amgarching quit (Ping timeout: 256 seconds) 2015-05-10T17:19:26Z Pixel_Outlaw joined #scheme 2015-05-10T17:22:42Z zacts quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-05-10T17:23:21Z mtakkman joined #scheme 2015-05-10T17:31:52Z pjb quit (Ping timeout: 256 seconds) 2015-05-10T17:35:22Z BW^- joined #scheme 2015-05-10T17:35:40Z BW^-: i have a funny fractional-to-integer rounding problem! 2015-05-10T17:36:14Z BW^-: i'm in a place where I have a set of fractional values, A ... L (L as in Last :) ) 2015-05-10T17:36:25Z BW^-: so say, A B L 2015-05-10T17:36:38Z BW^-: I sum them up to the value S, i.e. (define S (+ A B L)) 2015-05-10T17:37:02Z BW^-: and then round it (floor or ceiling, let's say ceiling in this example), and show it to the user: 2015-05-10T17:37:15Z BW^-: (define S-show (floor S)) 2015-05-10T17:37:23Z BW^-: (print "For you: " S-show "\n") 2015-05-10T17:38:41Z BW^-: now, I need a mathemathical algorithm that is such that it makes me be able to present ALL of the values A ... L , *ROUNDED*, AND if you sum up all the rounded values together, they MUST together EQUAL the rounded sum i.e. S-show ! 2015-05-10T17:38:52Z BW^-: how do I implement such an algorithm? 2015-05-10T17:39:37Z scoofy left #scheme 2015-05-10T17:39:54Z BW^-: so say that A is #e12.33 = 1233/100 , B is #e15.82 = 791/50 and L is #e62.55 = 1251/20 2015-05-10T17:40:32Z BW^-: (+ 1233/100 791/50 1251/20) = 907/10 = #e90.7 2015-05-10T17:40:45Z BW^-: so here S-show would be 90 . 2015-05-10T17:41:11Z BW^-: how do I round to integers all of A, B and L in such a way that their sum will be 90? 2015-05-10T17:43:24Z BW^-: i think.. if possible the neatest thing would be a fixed result i.e. FLOOR A, CEILING B and FLOOR C always to get it.. but I recognize that may be impossible.. hmhm 2015-05-10T17:43:24Z BW^-: Riastradh,ijp,cky,stamourv,aking: any thought? =) 2015-05-10T17:44:49Z BW^-: perhaps.. hmm.. perhaps I could floor all of the values, i.e. A = 12, B = 15, C = 62 2015-05-10T17:44:58Z BW^-: ..sum them up, so that's 89 2015-05-10T17:45:43Z BW^-: and then see what the [floored] total [of the fractionals] is, so that's 90 2015-05-10T17:46:10Z BW^-: (ah sorry, L = 62) 2015-05-10T17:46:32Z BW^-: and that way, I know that ONE of the rounded variant of A, B or L needs 1 added to it 2015-05-10T17:46:46Z BW^-: for it to equal out 2015-05-10T17:47:35Z BW^-: (and of course, the result could be that either zero, one or two of the rounded A B L:s would need one added to it) 2015-05-10T17:47:50Z BW^-: and then i just figure out a way to prioritize which of them i want toa dd that to.. 2015-05-10T17:48:45Z BW^-: ok i guess that's it. :)) 2015-05-10T17:54:14Z BW^-: gtg. 2015-05-10T17:54:19Z BW^- quit (Quit: BW^-) 2015-05-10T17:59:36Z daviid quit (Ping timeout: 240 seconds) 2015-05-10T18:03:38Z hiroakip joined #scheme 2015-05-10T18:04:01Z mtakkman quit (Ping timeout: 264 seconds) 2015-05-10T18:04:25Z Pixel_Outlaw: Hello folks. 2015-05-10T18:09:35Z kuribas joined #scheme 2015-05-10T18:12:43Z zacts joined #scheme 2015-05-10T18:17:26Z pjdelport joined #scheme 2015-05-10T18:21:48Z askatasuna joined #scheme 2015-05-10T18:35:05Z agumonkey joined #scheme 2015-05-10T18:49:11Z amgarching joined #scheme 2015-05-10T18:49:54Z bb010g joined #scheme 2015-05-10T18:55:28Z amgarching quit (Ping timeout: 255 seconds) 2015-05-10T18:56:00Z amgarching joined #scheme 2015-05-10T18:59:03Z araujo quit (Quit: Leaving) 2015-05-10T19:04:00Z amgarching quit (Ping timeout: 276 seconds) 2015-05-10T19:09:20Z saul quit (Ping timeout: 256 seconds) 2015-05-10T19:10:45Z agumonkey quit (Read error: Connection reset by peer) 2015-05-10T19:11:05Z agumonkey joined #scheme 2015-05-10T19:11:12Z CaptainRant joined #scheme 2015-05-10T19:19:03Z zacts quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-05-10T19:20:47Z alezost quit (Quit: I use GNU Guix ) 2015-05-10T19:27:09Z Uber-Ich joined #scheme 2015-05-10T19:32:15Z larion joined #scheme 2015-05-10T19:33:12Z saul joined #scheme 2015-05-10T19:33:53Z Uber-Ich left #scheme 2015-05-10T19:34:07Z CaptainRant quit (Quit: Page closed) 2015-05-10T19:35:23Z civodul joined #scheme 2015-05-10T19:37:28Z askatasuna quit (Ping timeout: 252 seconds) 2015-05-10T19:37:30Z thor-daedalus quit (Ping timeout: 272 seconds) 2015-05-10T19:42:53Z amgarching joined #scheme 2015-05-10T19:42:57Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-05-10T19:51:22Z excelsior quit (Quit: Lost terminal) 2015-05-10T19:52:28Z HisaoNakai joined #scheme 2015-05-10T19:53:09Z annodomini joined #scheme 2015-05-10T19:53:09Z annodomini quit (Changing host) 2015-05-10T19:53:09Z annodomini joined #scheme 2015-05-10T19:54:22Z contrapunctus quit (Ping timeout: 265 seconds) 2015-05-10T19:55:16Z HisaoNakai is now known as contrapunctus 2015-05-10T19:56:21Z agumonkey quit (Read error: No route to host) 2015-05-10T19:56:37Z agumonkey joined #scheme 2015-05-10T20:06:27Z zacts joined #scheme 2015-05-10T20:14:12Z wingo quit (Ping timeout: 244 seconds) 2015-05-10T20:16:49Z zadock quit (Quit: Leaving) 2015-05-10T20:16:50Z lritter_ joined #scheme 2015-05-10T20:18:47Z rudybot quit (Remote host closed the connection) 2015-05-10T20:19:12Z rudybot joined #scheme 2015-05-10T20:21:12Z lritter__ quit (Ping timeout: 272 seconds) 2015-05-10T20:41:27Z sheilong quit (Quit: fucking morens of ##c channel) 2015-05-10T20:57:23Z civodul quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-05-10T21:03:32Z zacts quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-05-10T21:15:18Z msgodf quit (Ping timeout: 276 seconds) 2015-05-10T21:16:51Z oleo_ joined #scheme 2015-05-10T21:19:06Z oleo quit (Ping timeout: 256 seconds) 2015-05-10T21:22:12Z oleo_ quit (Quit: Leaving) 2015-05-10T21:24:25Z oleo joined #scheme 2015-05-10T21:24:25Z oleo quit (Changing host) 2015-05-10T21:24:25Z oleo joined #scheme 2015-05-10T21:32:31Z thor-daedalus joined #scheme 2015-05-10T21:51:27Z contrapunctus quit (Remote host closed the connection) 2015-05-10T21:59:13Z pnpuff joined #scheme 2015-05-10T22:03:31Z PinealGlandOptic quit (Ping timeout: 250 seconds) 2015-05-10T22:05:27Z thor-daedalus quit (Quit: Leaving) 2015-05-10T22:06:21Z askatasuna joined #scheme 2015-05-10T22:09:36Z stepnem quit (Ping timeout: 240 seconds) 2015-05-10T22:13:33Z larion quit (Ping timeout: 244 seconds) 2015-05-10T22:19:32Z pnpuff quit (Quit: Page closed) 2015-05-10T22:25:55Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-05-10T22:32:55Z hiroakip quit (Ping timeout: 256 seconds) 2015-05-10T22:42:45Z someircname left #scheme 2015-05-10T22:46:11Z daviid joined #scheme 2015-05-10T22:46:52Z pjdelport quit (Quit: Connection closed for inactivity) 2015-05-10T22:53:20Z mrowe_away is now known as mrowe 2015-05-10T22:57:35Z davexunit joined #scheme 2015-05-10T23:00:09Z DrDuck joined #scheme 2015-05-10T23:00:54Z someircname joined #scheme 2015-05-10T23:05:42Z mumptai quit (Quit: Verlassend) 2015-05-10T23:05:57Z someircname quit (Quit: Leaving.) 2015-05-10T23:06:26Z strayptr joined #scheme 2015-05-10T23:07:25Z doljee joined #scheme 2015-05-10T23:08:10Z larion joined #scheme 2015-05-10T23:08:51Z jeapostrophe joined #scheme 2015-05-10T23:08:51Z jeapostrophe quit (Changing host) 2015-05-10T23:08:51Z jeapostrophe joined #scheme 2015-05-10T23:09:51Z strayptr quit (Client Quit) 2015-05-10T23:10:08Z strayptr joined #scheme 2015-05-10T23:10:37Z strayptr is now known as strayptr_formerl 2015-05-10T23:11:12Z strayptr_formerl is now known as strayptr_someirc 2015-05-10T23:11:57Z strayptr_someirc is now known as strayptr 2015-05-10T23:12:04Z strayptr is now known as strayptr_someirc 2015-05-10T23:14:07Z mrowe is now known as mrowe_away 2015-05-10T23:15:00Z someircname joined #scheme 2015-05-10T23:19:34Z someircname quit (Client Quit) 2015-05-10T23:19:51Z someircname joined #scheme 2015-05-10T23:20:06Z m1dnight_ quit (Ping timeout: 276 seconds) 2015-05-10T23:20:12Z someircname quit (Client Quit) 2015-05-10T23:20:30Z someircname joined #scheme 2015-05-10T23:20:48Z annodomini quit (Quit: annodomini) 2015-05-10T23:21:45Z someircname quit (Client Quit) 2015-05-10T23:22:06Z strayptr_someirc quit (Quit: strayptr_someirc) 2015-05-10T23:22:26Z strayptr_someirc joined #scheme 2015-05-10T23:23:31Z strayptr_someirc is now known as someircname 2015-05-10T23:24:06Z someircname quit (Client Quit) 2015-05-10T23:24:10Z zacts joined #scheme 2015-05-10T23:25:38Z someircname joined #scheme 2015-05-10T23:26:23Z m1dnight_ joined #scheme 2015-05-10T23:26:37Z someircname quit (Client Quit) 2015-05-10T23:26:56Z someircname joined #scheme 2015-05-10T23:29:14Z taylanub quit (Disconnected by services) 2015-05-10T23:29:21Z Pixel_Outlaw quit (Remote host closed the connection) 2015-05-10T23:29:33Z taylanub joined #scheme 2015-05-10T23:32:25Z someircname quit (Quit: ) 2015-05-10T23:32:44Z someircname joined #scheme 2015-05-10T23:33:39Z Pixel_Outlaw joined #scheme 2015-05-10T23:35:03Z taylanub quit (Ping timeout: 276 seconds) 2015-05-10T23:36:47Z someircname quit (Client Quit) 2015-05-10T23:37:05Z someircname joined #scheme 2015-05-10T23:45:53Z someircname quit (Quit: ) 2015-05-10T23:46:10Z someircname joined #scheme 2015-05-10T23:59:11Z cmatei quit (Read error: No route to host)