2015-04-14T00:00:18Z bb010g quit (Quit: Connection closed for inactivity) 2015-04-14T00:02:03Z Riastradh quit (Ping timeout: 245 seconds) 2015-04-14T00:03:35Z hiyosi joined #scheme 2015-04-14T00:05:35Z sethalves quit (Quit: Leaving.) 2015-04-14T00:06:10Z annodomini quit (Quit: annodomini) 2015-04-14T00:07:29Z work_op is now known as work 2015-04-14T00:08:08Z ohama quit (Ping timeout: 246 seconds) 2015-04-14T00:09:32Z _leb joined #scheme 2015-04-14T00:10:37Z LeoNerd quit (Remote host closed the connection) 2015-04-14T00:20:27Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-04-14T00:21:43Z sdothum joined #scheme 2015-04-14T00:23:51Z jao joined #scheme 2015-04-14T00:24:22Z joneshf-laptop joined #scheme 2015-04-14T00:30:31Z daviid`` joined #scheme 2015-04-14T00:32:21Z daviid` quit (Ping timeout: 248 seconds) 2015-04-14T00:33:17Z ohama joined #scheme 2015-04-14T00:38:49Z vdamewood joined #scheme 2015-04-14T00:39:03Z daviid`` quit (Ping timeout: 244 seconds) 2015-04-14T00:42:37Z _sjs quit (Ping timeout: 265 seconds) 2015-04-14T00:52:43Z githogori quit (Remote host closed the connection) 2015-04-14T00:55:18Z wingo joined #scheme 2015-04-14T00:56:24Z BWV988 quit (Quit: Page closed) 2015-04-14T00:56:55Z kvda joined #scheme 2015-04-14T01:11:16Z bb010g joined #scheme 2015-04-14T01:12:49Z aap_ joined #scheme 2015-04-14T01:15:57Z aap quit (Ping timeout: 250 seconds) 2015-04-14T01:18:33Z kongtomorrow quit 2015-04-14T01:27:10Z pecg quit (Ping timeout: 256 seconds) 2015-04-14T01:34:17Z psy_ joined #scheme 2015-04-14T01:40:34Z _sjs joined #scheme 2015-04-14T01:49:45Z xfz quit (Ping timeout: 250 seconds) 2015-04-14T01:50:11Z oleo_ quit (Ping timeout: 250 seconds) 2015-04-14T01:50:26Z xfz joined #scheme 2015-04-14T01:52:39Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-04-14T01:52:40Z oleo_ joined #scheme 2015-04-14T01:53:30Z pecg joined #scheme 2015-04-14T01:55:07Z kongtomorrow joined #scheme 2015-04-14T01:55:31Z excelsior joined #scheme 2015-04-14T02:01:56Z davexunit quit (Quit: Later) 2015-04-14T02:09:31Z ASau` joined #scheme 2015-04-14T02:12:32Z ASau quit (Ping timeout: 250 seconds) 2015-04-14T02:16:01Z rszeno joined #scheme 2015-04-14T02:19:32Z vraid quit (Read error: Connection reset by peer) 2015-04-14T02:20:18Z vraid joined #scheme 2015-04-14T02:21:00Z Natch quit (Read error: Connection reset by peer) 2015-04-14T02:23:01Z Shadox quit (Read error: Connection reset by peer) 2015-04-14T02:25:12Z echo-area joined #scheme 2015-04-14T02:26:05Z frkout joined #scheme 2015-04-14T02:26:14Z Natch joined #scheme 2015-04-14T02:27:03Z cdidd quit (Ping timeout: 245 seconds) 2015-04-14T02:27:28Z cdidd joined #scheme 2015-04-14T02:40:01Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-04-14T02:41:47Z adu joined #scheme 2015-04-14T02:42:38Z mdln quit (Remote host closed the connection) 2015-04-14T02:44:16Z ArneBab_ joined #scheme 2015-04-14T02:47:19Z ArneBab quit (Ping timeout: 245 seconds) 2015-04-14T02:48:20Z cmpitg quit (Ping timeout: 419 seconds) 2015-04-14T02:49:37Z cmpitg joined #scheme 2015-04-14T02:49:37Z cmpitg quit (Changing host) 2015-04-14T02:49:37Z cmpitg joined #scheme 2015-04-14T02:57:58Z jao quit (Ping timeout: 252 seconds) 2015-04-14T02:59:37Z taylanub quit (Disconnected by services) 2015-04-14T02:59:50Z taylanub joined #scheme 2015-04-14T03:00:40Z nowhereman joined #scheme 2015-04-14T03:06:49Z echo-area quit (*.net *.split) 2015-04-14T03:06:49Z ASau` quit (*.net *.split) 2015-04-14T03:06:49Z excelsior quit (*.net *.split) 2015-04-14T03:06:49Z wingo quit (*.net *.split) 2015-04-14T03:06:49Z nowhere_man quit (*.net *.split) 2015-04-14T03:06:49Z FracV quit (*.net *.split) 2015-04-14T03:06:49Z c74d quit (*.net *.split) 2015-04-14T03:06:49Z edgar-rft quit (*.net *.split) 2015-04-14T03:06:49Z SirDayBat quit (*.net *.split) 2015-04-14T03:06:49Z C-Keen quit (*.net *.split) 2015-04-14T03:06:49Z jrslepak quit (*.net *.split) 2015-04-14T03:09:13Z ASau` joined #scheme 2015-04-14T03:12:57Z C-Keen joined #scheme 2015-04-14T03:13:08Z echo-area joined #scheme 2015-04-14T03:13:08Z excelsior joined #scheme 2015-04-14T03:13:08Z wingo joined #scheme 2015-04-14T03:13:08Z FracV joined #scheme 2015-04-14T03:13:08Z c74d joined #scheme 2015-04-14T03:13:08Z edgar-rft joined #scheme 2015-04-14T03:13:08Z SirDayBat joined #scheme 2015-04-14T03:13:08Z jrslepak joined #scheme 2015-04-14T03:34:44Z saul quit (Remote host closed the connection) 2015-04-14T03:35:35Z jawny joined #scheme 2015-04-14T03:49:29Z badkins quit 2015-04-14T03:50:01Z jawny quit (Ping timeout: 264 seconds) 2015-04-14T03:53:06Z theseb joined #scheme 2015-04-14T04:00:38Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-04-14T04:07:22Z frkout quit (Remote host closed the connection) 2015-04-14T04:07:48Z frkout joined #scheme 2015-04-14T04:09:16Z ecthiender joined #scheme 2015-04-14T04:10:39Z adu quit (Quit: adu) 2015-04-14T04:14:31Z adu joined #scheme 2015-04-14T04:21:06Z _leb quit (Quit: Textual IRC Client: www.textualapp.com) 2015-04-14T04:33:50Z adu quit (Quit: adu) 2015-04-14T04:39:05Z ByronJohnson quit (Quit: Restarting client.) 2015-04-14T04:39:33Z kongtomorrow quit 2015-04-14T04:40:15Z aap_ is now known as aap 2015-04-14T04:42:21Z daviid joined #scheme 2015-04-14T04:42:49Z ByronJohnson joined #scheme 2015-04-14T05:01:40Z ASau` is now known as ASau 2015-04-14T05:08:12Z oleo_ quit (Quit: Leaving) 2015-04-14T05:10:26Z zadock joined #scheme 2015-04-14T05:19:24Z ASau quit (Ping timeout: 245 seconds) 2015-04-14T05:19:48Z uber_hulk joined #scheme 2015-04-14T05:21:23Z rszeno quit (Quit: Leaving.) 2015-04-14T05:23:56Z okraOkra_ joined #scheme 2015-04-14T05:25:51Z okraOkra_ left #scheme 2015-04-14T05:46:37Z cmhobbs quit (Ping timeout: 255 seconds) 2015-04-14T05:47:16Z Vutral quit (Ping timeout: 256 seconds) 2015-04-14T05:53:10Z stepnem joined #scheme 2015-04-14T05:53:15Z cmhobbs joined #scheme 2015-04-14T05:59:06Z adu joined #scheme 2015-04-14T06:00:45Z wingo quit (Ping timeout: 276 seconds) 2015-04-14T06:02:53Z adu quit (Client Quit) 2015-04-14T06:06:17Z Vutral joined #scheme 2015-04-14T06:12:44Z maxigas quit (Ping timeout: 264 seconds) 2015-04-14T06:12:58Z maxigas joined #scheme 2015-04-14T06:14:48Z wingo joined #scheme 2015-04-14T06:16:30Z pecg quit (Ping timeout: 250 seconds) 2015-04-14T06:35:02Z theseb quit (Quit: Leaving) 2015-04-14T06:43:59Z mrowe is now known as mrowe_away 2015-04-14T06:57:22Z alexei joined #scheme 2015-04-14T06:58:29Z nee joined #scheme 2015-04-14T07:03:02Z alezost joined #scheme 2015-04-14T07:08:59Z jumblerg joined #scheme 2015-04-14T07:09:09Z b4283 quit (Ping timeout: 248 seconds) 2015-04-14T07:09:47Z b4283 joined #scheme 2015-04-14T07:17:41Z Vutral quit (Ping timeout: 248 seconds) 2015-04-14T07:21:35Z uber_hulk quit (Quit: Connection closed for inactivity) 2015-04-14T07:30:58Z pnkfelix joined #scheme 2015-04-14T07:39:55Z civodul joined #scheme 2015-04-14T07:42:40Z bjz joined #scheme 2015-04-14T07:55:20Z pygospa quit (Ping timeout: 256 seconds) 2015-04-14T07:55:29Z bjz quit (Ping timeout: 250 seconds) 2015-04-14T07:57:24Z pygospa joined #scheme 2015-04-14T08:00:35Z frkout_ joined #scheme 2015-04-14T08:03:08Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-04-14T08:03:56Z frkout quit (Ping timeout: 240 seconds) 2015-04-14T08:05:41Z jumblerg joined #scheme 2015-04-14T08:10:50Z pecg joined #scheme 2015-04-14T08:17:51Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-04-14T08:29:01Z zadock quit (Ping timeout: 264 seconds) 2015-04-14T08:34:03Z bjz joined #scheme 2015-04-14T08:39:55Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-04-14T08:43:16Z vraid quit (Ping timeout: 240 seconds) 2015-04-14T08:56:29Z gravicappa joined #scheme 2015-04-14T09:01:45Z frkout_ quit (Remote host closed the connection) 2015-04-14T09:02:13Z frkout joined #scheme 2015-04-14T09:05:50Z Isp-sec joined #scheme 2015-04-14T09:16:04Z BWV988 joined #scheme 2015-04-14T09:16:35Z BWV988 left #scheme 2015-04-14T09:23:18Z vraid joined #scheme 2015-04-14T09:23:31Z pecg quit (Ping timeout: 255 seconds) 2015-04-14T09:29:03Z tos-1 joined #scheme 2015-04-14T09:45:07Z pnkfelix quit (Ping timeout: 255 seconds) 2015-04-14T09:46:22Z kuribas joined #scheme 2015-04-14T09:52:42Z bjz joined #scheme 2015-04-14T09:53:10Z Isp-sec quit (Ping timeout: 250 seconds) 2015-04-14T09:54:13Z zbigniew_ joined #scheme 2015-04-14T09:54:28Z teiresia1 joined #scheme 2015-04-14T09:54:36Z certaint1 joined #scheme 2015-04-14T10:00:04Z frkout_ joined #scheme 2015-04-14T10:00:10Z teiresia1 quit (Changing host) 2015-04-14T10:00:10Z teiresia1 joined #scheme 2015-04-14T10:01:00Z teiresias quit (Disconnected by services) 2015-04-14T10:01:12Z teiresia1 is now known as teiresias 2015-04-14T10:01:45Z yosafbridge joined #scheme 2015-04-14T10:01:47Z vikraman_ joined #scheme 2015-04-14T10:02:39Z gravicappa quit (*.net *.split) 2015-04-14T10:02:40Z yosafbridge` quit (*.net *.split) 2015-04-14T10:02:40Z zbigniew quit (*.net *.split) 2015-04-14T10:02:40Z acarrico quit (*.net *.split) 2015-04-14T10:02:40Z vikraman quit (*.net *.split) 2015-04-14T10:02:40Z certainty quit (*.net *.split) 2015-04-14T10:02:45Z vikraman_ is now known as vikraman 2015-04-14T10:03:51Z frkout quit (Ping timeout: 276 seconds) 2015-04-14T10:04:37Z tos-1 quit (Ping timeout: 248 seconds) 2015-04-14T10:06:37Z n3vtelen quit (Quit: Reconnecting) 2015-04-14T10:06:58Z n3vtelen joined #scheme 2015-04-14T10:08:13Z alezost quit (Quit: I use GNU Guix ) 2015-04-14T10:14:29Z pnkfelix joined #scheme 2015-04-14T10:15:22Z frkout_ quit (Remote host closed the connection) 2015-04-14T10:15:49Z frkout joined #scheme 2015-04-14T10:18:25Z n3vtelen quit (Quit: Lost terminal) 2015-04-14T10:38:32Z karswell` quit (Ping timeout: 256 seconds) 2015-04-14T11:09:09Z echo-area quit (Remote host closed the connection) 2015-04-14T11:31:09Z lolisa joined #scheme 2015-04-14T11:40:28Z s1n4 quit (Ping timeout: 252 seconds) 2015-04-14T11:43:59Z Riastradh joined #scheme 2015-04-14T11:47:20Z sdothum joined #scheme 2015-04-14T11:52:05Z zadock joined #scheme 2015-04-14T12:07:35Z kephra: http://kephra.de/o3proto/visitors.html <- back on IO ... take a look at the HTML source, and the o3lib.scm ... read/write are slow, because the service at port 8080 is my desktop on a VPN, not a real server 2015-04-14T12:08:48Z ziocroc joined #scheme 2015-04-14T12:12:49Z turtleman_ joined #scheme 2015-04-14T12:13:23Z zadock quit (Quit: Leaving) 2015-04-14T12:13:50Z kephra: I wonder, if adding set-current-output-port! and set-current-input-port! primitive forms is a good way to implement with-input/output-to/from-file 2015-04-14T12:15:44Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-04-14T12:22:26Z kephra: and for those who read the code - a small change to with-output-to-file, its usage and one more question 2015-04-14T12:22:59Z kephra: " With-input-from-file and with-output-to-file return the value yielded by thunk. " <- r4rs 2015-04-14T12:24:58Z kephra: now write returns an unspecified value - so the lambda that is using write, can not do it as tail, but I added a #t there. 2015-04-14T12:25:07Z kephra: Is this a common/right way? 2015-04-14T12:25:19Z Riastradh: Nothing's wrong with returning whatever WRITE returns. 2015-04-14T12:25:45Z LeoNerd joined #scheme 2015-04-14T12:28:14Z kephra: that the question if my implementation is wrong here - write currently returns nothing - so let fails its binding 2015-04-14T12:28:59Z Riastradh: If you have a notion of multiple return values, WITH-INPUT-FROM-FILE should return whatever values the thunk returns. 2015-04-14T12:29:46Z kephra: it might be that I just interpreted the "write returns an unspecified value." and related totally wrong, in returning nothing to the return stack 2015-04-14T12:30:15Z Riastradh: If you don't have a notion of multiple return values, then WRITE needs to return something, and WITH-INPUT-FROM-FILE should return that something too without difficulty. 2015-04-14T12:31:43Z taylanub: isn't returning zero values standard-nonconformant if the standard says "an unspecified value is returned," since that implies one value being returned? (as much as I'd like such things to all return zero values...) 2015-04-14T12:32:39Z kephra: yes, thats the question - whats an unspecified value? 2015-04-14T12:32:54Z Riastradh: Any value you like. The standard doesn't specify it. It's up to you to choose. 2015-04-14T12:33:10Z mario-goulart: If you could specify it, it wouldn't be unspecified! 2015-04-14T12:33:16Z Riastradh: You can return 3, or #f, or the string "I want to perform cranial activities with Tuesday Weld!!". 2015-04-14T12:33:29Z spew joined #scheme 2015-04-14T12:33:29Z kephra: Riastradh, ++ 2015-04-14T12:33:56Z kephra: well - this small demo showed a deeper problem in my implemenation ... back to coding 2015-04-14T12:39:50Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T12:41:10Z kuribas joined #scheme 2015-04-14T12:42:28Z turtleman_ quit (Ping timeout: 245 seconds) 2015-04-14T12:44:37Z alexei quit (Ping timeout: 264 seconds) 2015-04-14T12:48:42Z vanila joined #scheme 2015-04-14T12:49:02Z ziocroc quit (Ping timeout: 252 seconds) 2015-04-14T12:50:17Z ziocroc joined #scheme 2015-04-14T12:51:39Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T12:52:59Z kuribas joined #scheme 2015-04-14T12:56:14Z ziocroc quit (Ping timeout: 256 seconds) 2015-04-14T12:59:06Z davexunit joined #scheme 2015-04-14T13:02:10Z joneshf-laptop quit (Ping timeout: 272 seconds) 2015-04-14T13:02:40Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T13:03:39Z kuribas joined #scheme 2015-04-14T13:09:00Z ziocroc joined #scheme 2015-04-14T13:12:51Z kephra: *ok* all functions now return something 2015-04-14T13:13:08Z kephra: some special forms delegate returning to later 2015-04-14T13:13:17Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T13:15:05Z ziocroc quit (Ping timeout: 256 seconds) 2015-04-14T13:15:33Z kuribas joined #scheme 2015-04-14T13:27:41Z frkout_ joined #scheme 2015-04-14T13:27:43Z oleo joined #scheme 2015-04-14T13:28:47Z hiyosi joined #scheme 2015-04-14T13:29:46Z technomancy: cranial activities: great activities or greatest activities? 2015-04-14T13:31:18Z frkout quit (Ping timeout: 272 seconds) 2015-04-14T13:32:03Z frkout_ quit (Ping timeout: 245 seconds) 2015-04-14T13:34:13Z acarrico joined #scheme 2015-04-14T13:42:15Z bjz joined #scheme 2015-04-14T13:46:21Z ijp joined #scheme 2015-04-14T14:16:12Z acarrico quit (Ping timeout: 250 seconds) 2015-04-14T14:16:41Z duggiefresh joined #scheme 2015-04-14T14:21:29Z tos-1 joined #scheme 2015-04-14T14:22:52Z oleo quit (Quit: Leaving) 2015-04-14T14:23:06Z jlongster joined #scheme 2015-04-14T14:24:15Z oleo joined #scheme 2015-04-14T14:30:12Z Riastradh quit (Ping timeout: 272 seconds) 2015-04-14T14:37:20Z rtra quit (Ping timeout: 265 seconds) 2015-04-14T14:38:20Z frkout joined #scheme 2015-04-14T14:42:23Z rtra joined #scheme 2015-04-14T14:42:46Z frkout quit (Ping timeout: 244 seconds) 2015-04-14T14:43:19Z jumblerg joined #scheme 2015-04-14T15:04:56Z badkins joined #scheme 2015-04-14T15:05:01Z lolisa quit (Quit: Leaving) 2015-04-14T15:05:26Z pnkfelix quit (Ping timeout: 256 seconds) 2015-04-14T15:15:25Z _sjs quit (Ping timeout: 255 seconds) 2015-04-14T15:20:58Z saul joined #scheme 2015-04-14T15:27:52Z nee quit (Remote host closed the connection) 2015-04-14T15:30:29Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-04-14T15:35:43Z turtleman_ joined #scheme 2015-04-14T15:41:55Z jumblerg joined #scheme 2015-04-14T15:45:08Z jumblerg quit (Client Quit) 2015-04-14T15:49:23Z uris77 joined #scheme 2015-04-14T15:54:13Z sethalves joined #scheme 2015-04-14T15:57:00Z vraid quit (Ping timeout: 256 seconds) 2015-04-14T15:57:38Z mumptai_ joined #scheme 2015-04-14T15:57:50Z mumptai_ quit (Remote host closed the connection) 2015-04-14T15:57:54Z _sjs joined #scheme 2015-04-14T16:07:25Z civodul quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-04-14T16:10:18Z bb010g quit (Quit: Connection closed for inactivity) 2015-04-14T16:18:52Z pnkfelix joined #scheme 2015-04-14T16:20:38Z dnolen joined #scheme 2015-04-14T16:21:05Z dnolen quit (Remote host closed the connection) 2015-04-14T16:23:33Z sheilong joined #scheme 2015-04-14T16:28:00Z turtleman_ quit (Ping timeout: 276 seconds) 2015-04-14T16:28:55Z sheilong left #scheme 2015-04-14T16:31:05Z jao joined #scheme 2015-04-14T16:40:08Z arrubin quit (Disconnected by services) 2015-04-14T16:43:19Z vraid joined #scheme 2015-04-14T16:45:56Z s1n4 joined #scheme 2015-04-14T17:03:45Z pnkfelix quit (Ping timeout: 276 seconds) 2015-04-14T17:04:34Z zacts quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T17:06:17Z aretecode joined #scheme 2015-04-14T17:06:59Z pjb quit (Remote host closed the connection) 2015-04-14T17:07:20Z pjb joined #scheme 2015-04-14T17:07:42Z zacts joined #scheme 2015-04-14T17:07:44Z d1gital joined #scheme 2015-04-14T17:11:28Z theseb joined #scheme 2015-04-14T17:21:29Z bb010g joined #scheme 2015-04-14T17:21:45Z alezost joined #scheme 2015-04-14T17:22:50Z zacts quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T17:25:21Z narendraj9_ joined #scheme 2015-04-14T17:26:10Z acarrico joined #scheme 2015-04-14T17:31:29Z alexei joined #scheme 2015-04-14T17:31:32Z ilammy joined #scheme 2015-04-14T17:34:25Z narendraj9_ quit (Read error: Connection reset by peer) 2015-04-14T17:39:14Z alexei quit (Ping timeout: 264 seconds) 2015-04-14T17:45:38Z ASau joined #scheme 2015-04-14T17:46:04Z vanila quit (Quit: Leaving) 2015-04-14T17:47:56Z jawny joined #scheme 2015-04-14T17:49:58Z jlongster quit (Ping timeout: 245 seconds) 2015-04-14T17:52:54Z bipt quit (Remote host closed the connection) 2015-04-14T17:53:11Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-04-14T17:55:47Z leppie quit 2015-04-14T18:04:21Z pnkfelix joined #scheme 2015-04-14T18:04:33Z kongtomorrow joined #scheme 2015-04-14T18:05:00Z spew quit (Quit: Lost terminal) 2015-04-14T18:05:20Z spew joined #scheme 2015-04-14T18:10:05Z ecthiender quit (Quit: gotta go) 2015-04-14T18:12:10Z jlongster joined #scheme 2015-04-14T18:17:19Z s1n4 quit (Ping timeout: 250 seconds) 2015-04-14T18:23:04Z turtleman_ joined #scheme 2015-04-14T18:24:18Z alexei joined #scheme 2015-04-14T18:26:56Z rszeno joined #scheme 2015-04-14T18:28:59Z rszeno quit (Client Quit) 2015-04-14T18:35:26Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T18:36:42Z excelsior quit (Ping timeout: 276 seconds) 2015-04-14T18:40:53Z jawny quit (Ping timeout: 248 seconds) 2015-04-14T18:43:44Z zeroish quit (Remote host closed the connection) 2015-04-14T18:47:11Z zeroish joined #scheme 2015-04-14T18:50:00Z BW^- joined #scheme 2015-04-14T18:50:00Z BW^- quit (Changing host) 2015-04-14T18:50:00Z BW^- joined #scheme 2015-04-14T18:50:27Z BW^-: ok here's the evening's math problem: i need to implemement a CEILING function |myceiling|. 2015-04-14T18:50:39Z BW^-: |myceiling| takes one input argument, let's call it |i|. 2015-04-14T18:51:12Z BW^-: |i| is an arbitrary fractional e.g. 1, #e0.0005 , #e1.25 , #e7000.25 etc. 2015-04-14T18:51:55Z BW^-: i.e. those examples correspond to 1 1/2000 5/4 28001/4 2015-04-14T18:52:41Z BW^-: i want |myceiling| to be such, that its return value, let's call it |o|, is |i| mangled to FIVE significant decimals, and ceilinged at that level. 2015-04-14T18:53:05Z BW^-: so, examples would be: 2015-04-14T18:53:15Z BW^-: (myceiling #e0.0123456) => #e0.012345 2015-04-14T18:53:55Z BW^-: (myceiling #e0.8888888888) => #e0.88889 2015-04-14T18:54:13Z BW^-: (myceiling 12345678) => 12346000 2015-04-14T18:54:42Z BW^-: how would you implement this? 2015-04-14T18:55:52Z Qudit314159 quit (Remote host closed the connection) 2015-04-14T18:57:43Z ijp: what have you tried so far? 2015-04-14T18:58:10Z BW^-: ijp: nothing 2015-04-14T18:58:15Z BW^-: ! 2015-04-14T18:58:27Z excelsior joined #scheme 2015-04-14T18:58:28Z excelsior quit (Client Quit) 2015-04-14T18:58:28Z BW^-: ijp: hmm.. this is pretty close I guess http://stackoverflow.com/questions/202302/rounding-to-an-arbitrary-number-of-significant-digits 2015-04-14T18:58:29Z rudybot: http://tinyurl.com/k2euo5f 2015-04-14T18:58:35Z BW^-: ijp: thoughts? 2015-04-14T18:59:05Z ijp: sounds homeworky 2015-04-14T18:59:27Z BW^-: ijp: this is not homework 2015-04-14T18:59:40Z s1n4 joined #scheme 2015-04-14T18:59:51Z BW^-: and ig uess you should know 2015-04-14T18:59:56Z BW^-: anyhow 2015-04-14T19:00:07Z vraaid joined #scheme 2015-04-14T19:00:08Z BW^-: perhaps the stackoverflow article answers it all... lessee! 2015-04-14T19:01:35Z ijp: suppose you the procedure only needed to work for six digit numbers e.g. 123456, how would you solve it? 2015-04-14T19:02:14Z ijp: is there a way you can use the existing ceiling function to handle it? 2015-04-14T19:02:47Z pjb: yes, make it harder before making it easy. 2015-04-14T19:03:07Z BW^-: ijp,pjb: wait, is there a log10 function in Scheme? 2015-04-14T19:03:22Z ijp: no / kind of 2015-04-14T19:03:25Z vraid quit (Ping timeout: 264 seconds) 2015-04-14T19:03:29Z BW^-: ijp: how? 2015-04-14T19:03:43Z agumonkey joined #scheme 2015-04-14T19:04:05Z ijp: in r6rs, you can do (log foo 10), but in r5rs, you need to do the change of base 2015-04-14T19:04:31Z BW^-: ijp: ouha.. how? 2015-04-14T19:04:40Z ijp: the same way you were taught in highschool 2015-04-14T19:05:15Z BW^-: (define (log10 n) (/ (log n) (log 10))) 2015-04-14T19:05:16Z BW^-: aha 2015-04-14T19:05:37Z BW^-: ijp,pjb: back to if "is there a way you can use the existing ceiling function to handle it" - yes! 2015-04-14T19:05:47Z pjb: Great! Of course, there is. 2015-04-14T19:05:50Z BW^-: when the number is normalized to integer, then ceiling works 2015-04-14T19:06:10Z BW^-: normalized as in.. the five significant digits are located before the decimal dot, and the rest after it 2015-04-14T19:06:31Z BW^-: then just ordinary |ceiling| is fine 2015-04-14T19:06:59Z pjb: So how do you write (ceiling5 x)? 2015-04-14T19:07:30Z civodul joined #scheme 2015-04-14T19:07:42Z BW^-: pjb: right, so i guess first i "normalize" the input value to having the five significant digits to the left of the decimal dot.. 2015-04-14T19:07:52Z spew quit (Quit: leaving) 2015-04-14T19:07:53Z BW^-: pjb: then I do the ordinary Scheme |ceiling| on it.. 2015-04-14T19:07:59Z BW^-: pjb: and then I denormalize it 2015-04-14T19:08:01Z BW^-: sounds like a plan? 2015-04-14T19:08:03Z pjb: Yes. 2015-04-14T19:08:50Z BW^-: pjb,ijp: great!! ok thanks to the log10 and stackoverflow article, i believe i can probably solve it now. 2015-04-14T19:08:52Z BW^-: lessee. :) 2015-04-14T19:09:52Z spew joined #scheme 2015-04-14T19:11:45Z ziocroc joined #scheme 2015-04-14T19:15:03Z adu joined #scheme 2015-04-14T19:20:09Z gnuian joined #scheme 2015-04-14T19:21:44Z kongtomorrow quit 2015-04-14T19:25:33Z kuribas joined #scheme 2015-04-14T19:25:37Z vraaid quit (Ping timeout: 264 seconds) 2015-04-14T19:26:44Z vraaid joined #scheme 2015-04-14T19:26:53Z vraaid is now known as vraid 2015-04-14T19:28:30Z kuribas quit (Client Quit) 2015-04-14T19:28:49Z spew quit (Quit: leaving) 2015-04-14T19:28:57Z jawny joined #scheme 2015-04-14T19:29:10Z adu quit (Quit: adu) 2015-04-14T19:29:19Z theseb quit (Quit: Leaving) 2015-04-14T19:29:33Z wingo quit (Ping timeout: 245 seconds) 2015-04-14T19:33:14Z wingo joined #scheme 2015-04-14T19:33:57Z BW^-: pjb,ijp: solved :D 2015-04-14T19:34:20Z spew joined #scheme 2015-04-14T19:35:04Z jawny quit (Ping timeout: 265 seconds) 2015-04-14T19:35:58Z zacts joined #scheme 2015-04-14T19:38:00Z BW^-: pjb,ijp: I don't like that Scheme's |log| returns a flonum instead of an exact.. couldn't that possibly give rise to bugs? 2015-04-14T19:39:01Z BW^-: pjb,ijp: compare rows 29-32 here: https://pastebin.mozilla.org/8830057 2015-04-14T19:39:07Z zacts` joined #scheme 2015-04-14T19:41:56Z zacts quit (Ping timeout: 240 seconds) 2015-04-14T19:42:14Z BW^-: ok audited the particular interval used and it looks solid I think 2015-04-14T19:48:50Z adu joined #scheme 2015-04-14T19:49:08Z BW^-: pjb,ijp: so all resolved, thank you very much for your help and sharing your thoughts! 2015-04-14T19:49:16Z hiroakip joined #scheme 2015-04-14T19:49:55Z BW^- quit (Quit: BW^-) 2015-04-14T19:50:47Z lritter joined #scheme 2015-04-14T19:52:48Z jawny joined #scheme 2015-04-14T19:53:21Z jawny quit (Read error: Connection reset by peer) 2015-04-14T19:55:09Z turtleman_ quit (Ping timeout: 256 seconds) 2015-04-14T19:55:56Z alexei quit (Ping timeout: 240 seconds) 2015-04-14T19:56:48Z alexei joined #scheme 2015-04-14T20:00:21Z work is now known as fxck 2015-04-14T20:05:32Z mtakkman joined #scheme 2015-04-14T20:25:53Z kongtomorrow joined #scheme 2015-04-14T20:30:15Z Riastradh joined #scheme 2015-04-14T20:31:36Z leppie joined #scheme 2015-04-14T20:34:02Z Tbone139 joined #scheme 2015-04-14T20:35:04Z ziocroc quit (Quit: ziocroc) 2015-04-14T20:45:14Z jlongster quit (Ping timeout: 264 seconds) 2015-04-14T20:51:25Z wingo quit (Ping timeout: 264 seconds) 2015-04-14T20:54:47Z alezost quit (Quit: I use GNU Guix ) 2015-04-14T21:00:26Z pnkfelix quit (Ping timeout: 246 seconds) 2015-04-14T21:03:42Z duggiefresh quit 2015-04-14T21:09:15Z taylanub quit (Remote host closed the connection) 2015-04-14T21:13:31Z taylanub joined #scheme 2015-04-14T21:17:05Z bipt joined #scheme 2015-04-14T21:21:08Z {[]}grant quit (Ping timeout: 256 seconds) 2015-04-14T21:23:43Z kongtomorrow quit 2015-04-14T21:24:31Z mtakkman quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-04-14T21:28:48Z karswell` joined #scheme 2015-04-14T21:34:51Z civodul quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-04-14T21:37:31Z pecg joined #scheme 2015-04-14T21:39:29Z mumptai quit (Quit: Verlassend) 2015-04-14T21:42:03Z spew quit (Quit: leaving) 2015-04-14T21:48:38Z pnkfelix joined #scheme 2015-04-14T21:49:00Z gnuian quit (Quit: Leaving) 2015-04-14T21:52:37Z jao quit (Ping timeout: 264 seconds) 2015-04-14T22:05:07Z zacts``` joined #scheme 2015-04-14T22:07:19Z zacts` quit (Ping timeout: 265 seconds) 2015-04-14T22:08:10Z daviid quit (Ping timeout: 256 seconds) 2015-04-14T22:13:10Z acarrico quit (Ping timeout: 272 seconds) 2015-04-14T22:13:54Z mrowe_away is now known as mrowe 2015-04-14T22:18:14Z zacts``` quit (Ping timeout: 264 seconds) 2015-04-14T22:20:15Z acarrico joined #scheme 2015-04-14T22:22:33Z {[]}grant joined #scheme 2015-04-14T22:23:56Z stepnem quit (Ping timeout: 272 seconds) 2015-04-14T22:25:29Z []}grant{ joined #scheme 2015-04-14T22:26:13Z kuribas joined #scheme 2015-04-14T22:26:56Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-04-14T22:27:38Z {[]}grant quit (Ping timeout: 252 seconds) 2015-04-14T22:28:32Z oleo_ joined #scheme 2015-04-14T22:28:39Z hiroakip quit (Ping timeout: 250 seconds) 2015-04-14T22:29:51Z adu quit (Ping timeout: 256 seconds) 2015-04-14T22:30:25Z oleo quit (Ping timeout: 256 seconds) 2015-04-14T22:32:38Z pecg quit (Ping timeout: 264 seconds) 2015-04-14T22:33:15Z Riastradh quit (Ping timeout: 256 seconds) 2015-04-14T22:36:53Z tos-1 quit (Ping timeout: 250 seconds) 2015-04-14T22:38:01Z []}grant{ is now known as {}grant 2015-04-14T22:41:42Z uris77 quit (Quit: leaving) 2015-04-14T23:05:06Z {}grant quit (Ping timeout: 272 seconds) 2015-04-14T23:05:53Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-14T23:05:59Z kvda quit (Ping timeout: 272 seconds) 2015-04-14T23:18:27Z hiyosi joined #scheme 2015-04-14T23:28:44Z fadein quit (Ping timeout: 244 seconds) 2015-04-14T23:30:02Z joneshf-laptop joined #scheme 2015-04-14T23:40:19Z bb010g quit (Quit: Connection closed for inactivity) 2015-04-14T23:46:06Z _sjs quit (Ping timeout: 276 seconds) 2015-04-14T23:49:26Z rszeno joined #scheme 2015-04-14T23:49:56Z cmhobbs: does anyone know if an acm membership will be required to attend the 2015 scheme workshop and does anyone know what registration cost might be? 2015-04-14T23:55:25Z vdamewood joined #scheme