00:06:34 -!- shikhout has joined. 00:09:28 -!- shikhin has quit (Ping timeout: 258 seconds). 00:22:07 @tell ais523 fizzie: and because of that, "was being" is typically only used to construct passives <-- i think you are being disingenious hth 00:22:07 Consider it noted. 00:22:53 @tell ais523 *u 00:22:53 Consider it noted. 00:34:07 nice xkcd 00:42:58 it's the bee's knees 00:43:16 also, not loading 00:48:07 -!- Phantom__Hoover has quit (Ping timeout: 256 seconds). 01:13:10 copumpkin: Did you ever end up reading that thing? 01:21:12 Recommended Windows IRC client? 01:22:20 coppro: PuTTY into a Linux server 01:22:42 i can second that! 01:22:52 not an option for this individual 01:24:55 coppro: Raspberry Pis are cheap. but if Windows is a must, see http://www.makeuseof.com/tag/top-7-free-irc-clients-windows-7/ 01:34:13 just use hexchat. 01:34:20 that list looks completely awful. 01:34:29 Well, I wrote a IRC client that can be used in Windows, although it requires PuTTY, so you will still require PuTTY. Also it is difference from other IRC client and some people might hate it. 01:35:19 like, recommending the shareware windows xchat? and that thrashirc thing that I seriously doubt anyone uses? 01:36:02 "These are 7 of the best IRC clients ..." 01:36:23 SO logically that means *any* 7 IRC clients. 01:36:30 good point 01:37:00 zzo38: so if it requires PuTTY, is it running on some server somewhere? 01:37:13 3 of the best IRC clients: netcat, DelphiExampleIRCClient.exe, ZMODEM 01:37:40 elliott: how do you use zmodem for that? 01:37:52 int-e: VERY CAREFULLY. 01:38:10 do you get to whistle tones 01:38:10 I'm sure you could work out *something*. 01:38:20 netcat wouldn't be so bad if not for all the pings from the server. 01:38:44 paul2520: You can run the server on your own computer. 01:39:18 idea: netdog, like netcat except it will fetch pings for you. 01:39:57 int-e: If that is what you want, you can try my IRC client which adds autopong, not interfering input text with output, and syntax highlighting. (Also, it allows you to turn off autopong, and supports password masking and macros and a few other things.) 01:40:00 hm apparently that name is taken by something sinister 01:40:39 There is no DCC files and stuff like that though 01:40:52 zzo38: I'm interested. Is your client online somewhere? 01:41:42 zzo38: it's not really what I want. but the few times I've used netcat (I guess I used telnet instead), the pong thing was the most annoying. 01:42:10 int-e: Ah, OK. 01:42:33 paul2520: Yes; it is http://zzo38computer.org/prog/PHIRC/phirc.zip 01:42:35 I don't care about DCC. 01:42:47 * int-e cares about a fragment of CTCP though. 01:43:43 cool, I will check it out; thanks! zzo38 01:43:48 int-e: Which ones? PHIRC does implement some CTCP stuff, such as VERSION, PING, and TIME. 01:44:08 The one that I just demonstrated. ACTION. 01:45:04 Ah. Well, it can display and send ACTION but has no special support for it. 01:45:20 no /me? 01:45:28 (The program is also open-source so you can change it if you like to.) 01:45:46 int-e: That is correct; it doesn't have any such command. 01:45:50 But perhaps the whole idea of using / is not applicable. 01:45:57 (You can create macros for it though.) 01:47:10 For example you can assign one of the function keys to automatically type for you CTRL+A and ACTION and a space. You can also make it so that it adds a space in front automatically too if you want to (typing a space at the beginning of a command-line will automatically type PRIVMSG and the channel name and a colon). 01:48:57 hehe, I can't even run phirc... (no php installed. a solvable problem, of course.) 01:49:59 Of course, it might not be what you want, but nevertheless it is there in case anyone like it; at least I use it myself because I do not like the other IRC clients much. 01:50:23 I'm quite happy with irssi right now. 01:50:56 That's OK, then. 01:55:28 Does Iceland have Subways 01:55:40 http://www.subway.is/ 01:55:51 I have not the faintest idea what any of that says 01:59:02 http://en.subway.is/ might help 01:59:29 (alas, the contents is not the same) 02:00:26 I... 02:00:31 I must know why you're curious about this. 02:00:34 Have you ever tried to play chess in which it is allowed to promote a white pawn into a black pawn? 02:01:05 wow, Iceland has 24 subways? 02:01:18 that's kind of a lot for how few people there are / how few places they're concentrated in 02:01:55 zzo38: no. why would you want to do that? 02:02:37 and how does that interact with the two-square advance and en passant rules? 02:03:22 int-e: Of course then you would need to add rules to know how to do that; my own idea would be that two-square advance is allowed on its own second rank. (So, from there it can be moved one space, and then two spaces from there.) 02:04:02 How can I find the information about implementing Diehard test? I found a list of the tests, but not implementation details of how exactly these tests work. 02:04:07 The only point would be that it's a piece that the opponent can't capture 02:04:43 So it'll allow a few strange extra mating techniques. Other than that I see no incentive for ever using that option. 02:05:12 int-e: Yes, that is a point of it; it blocks other opponent's pieces. It might also possibly avoid opponent being stalemated? 02:05:27 ah. 02:05:34 yes it could 02:08:51 hard to imagine that it wouldn't be possible to win in a different way, unless you're running against the 50 moves rule, and you won't because you've just advanced a pawn 02:09:24 unless that was the 50th move... hmm. 02:10:27 Another thing would be to make up retro puzzles that specify that this is permitted 02:29:10 this has an example with promoting to a black knight https://en.wikipedia.org/wiki/Joke_chess_problem#Offbeat_interpretations_of_the_rules_of_chess 02:29:25 i think we've mentioned it before 02:35:31 Yes I have seen that 02:35:43 But I am talking about retro puzzles 02:40:18 zzo38: For a non-retro puzzle maybe one can build something around 4K2r/3PRP2/7b/8/8/8/8/8 02:41:50 -!- yurichev has quit. 03:01:58 It's not just my imagination that Scala lazy arguments can mess with refactoring, is it? 03:02:20 You don't know whether or not you can safely pull out the g() in f(g()) without looking at f's type 03:05:02 Reminds me of Clojure a bit, in that methods are not first class. But in Scala, methods are given all the cool stuff 03:34:10 How do I do in MinGW with SDL 1.x to call another program and read from what it sends to the stdout and you can write that it can receive by stdin? 04:16:39 -!- shikhout has quit (Ping timeout: 256 seconds). 05:02:36 shachaf: nope :( 05:03:49 zzo38: fix SDLmain. 05:07:03 How to do that? 05:08:22 I want something like the proc_open in PHP, but with C 05:13:31 I want a terminal emulator that does this: http://zzo38computer.org/zmachine/doc/zterm.txt 05:14:23 wait a min---I thought the called program uses SDL (which makes the redirection very hard) 05:14:37 zzo38: use popen then. 05:15:33 No I mean the calling program should use SDL and the program it calls is using stdio 05:15:39 ah well 05:15:49 But, I think popen is not good enough? 05:16:03 in that case, you are out of luck. any program linking with SDLmain redirects its stdout and stderr to somewhere else. 05:16:50 I don't need the SDL program's stdio, only to access the stdin and stdout of another program it can call 05:17:32 eh, then you just need popen, was that a question? 05:17:55 (maybe the "called" program and the "calling" program is a confusing terminology) 05:19:15 zzo38: have you tried a plain popen then? 05:20:10 But doesn't popen only go one way? 05:21:13 then you'd use fork, exec and dup2? 05:21:48 SO seems to have a good answer to that: http://stackoverflow.com/questions/6171552/popen-simultaneous-read-and-write 05:26:17 -!- qwertyo has joined. 05:38:36 sdlmain is dead in sdl 2, right? 05:40:58 lifthrasiir: OK thank you 05:41:10 elliott: yes. fortunately. 06:00:06 -!- de_aarde has joined. 06:04:20 -!- MDude has changed nick to MDream. 06:07:49 -!- de_aarde has left. 06:08:03 Do you think this ZTERM is OK now? 06:23:57 -!- qwertyo has quit (Ping timeout: 272 seconds). 06:28:35 It is a kind of alternative to Glk 07:02:00 is there really no simple way to do what I'd expect "git clone --depth=1 --branch=some-sha1-commit-hash https://..." to do? :/ 07:05:27 elliott: what do you expect and what does it do? 07:06:47 coppro: to give me a checkout at some-sha1-commit-hash, preferably without downloading more of the history than it has to (as in, comparable behaviour to --depth=1 on a branch). complain because some-sha1-commit-hash isn't a ref. 07:07:11 (I also tried git init; git remote add origin https://...; git fetch origin sha1, which has the same issue.) 07:07:23 or maybe it isn't looking for a ref exactly. that's what git-fetch's complaint was, anyway. 07:10:10 http://git.661346.n2.nabble.com/Fetch-by-SHA-missing-td5604552.html 08:29:11 -!- drdanmaku has quit (Quit: Connection closed for inactivity). 09:29:07 -!- shikhin has joined. 09:48:07 -!- oerjan has quit (Quit: leaving). 10:37:08 -!- boily has joined. 10:44:32 fizzie: All factors 2 is tough 10:44:55 !blsq {1 2 3 4}":,,,"XX**\[ 10:44:55 {ERROR: Burlesque: (_+) Invalid arguments!} 10:44:57 !blsq {1 2 3 4}":,,,"XX** 10:44:57 {1 ': 2 ', 3 ', 4 ',} 10:49:38 I'm using m]',IC to go from {1 2 3 4 5} to "1,2,3,4,5", FWIW. 10:54:38 !blsq 6rom]',IC 10:54:38 "1,2,3,4,5,6" 10:55:16 !blsq 6ro1SH~- 10:55:17 "1,2,3,4,5,6" 10:55:24 fizzie: Then use 1SH~- instead 10:55:29 i'ts shorter than m]',IC 10:55:32 *it's 10:56:38 (I'm using 1SH~- myself already) 10:56:41 but still 28B 10:57:42 I have another 28B without 1SH~- 10:59:55 (It uses f~) 11:00:15 !blsq "~:~"{10 1 2 5 10}f~ 11:00:15 "10:12510" 11:00:20 !blsq "~:~"{10 1 2 5 10}',[]f~ 11:00:20 "10:,1,2,5,10" 11:00:29 sorta like that 11:02:05 Oh, I didn't know anything about this format stuff. 11:12:22 Jfc1SH~-Cl"~:~"jf~ Jfc1SH~-Cl':[]m]\[ Jfc1SH~-jSh':_+j_+ 11:12:25 all the same length 11:13:31 Jfc',[]j+]"~:~"jf~ Jfc1SH~-':+]jShj.+ 11:13:50 all 5 approaches the same freaking length 11:16:49 http://codepad.org/JNCAxTPT <- my log 11:17:09 maybe Jfc isn't the way to go :( 11:29:09 -!- boily has quit (Quit: APPROACHED CHICKEN). 11:51:24 -!- kline has joined. 12:03:18 My 24B does go via Jfc. 12:05:17 Actually, it's identical to the last line of your paste, except ?+ can do the work of the jShj.+ there. 12:07:30 -!- shikhout has joined. 12:08:23 Yeah 12:08:30 I just noticed that ?+ works that way 12:09:09 ok. then it's not really tough 12:09:19 I just forgot ?+ 12:10:58 !blsq 10{1 2 3 4 5}?+ 12:10:58 {11 12 13 14 15} 12:11:01 -!- shikhin has quit (Ping timeout: 272 seconds). 12:11:06 !blsq 10{1 2 3 4 5}[+ 12:11:06 ERROR: Burlesque: ([+) Invalid arguments! 12:12:19 ~- was actually introduced to get from {1 2 3} to "1, 2, 3" 12:12:29 !blsq 3roSh 12:12:29 "[1, 2, 3]" 12:12:32 !blsq 3roSh~- 12:12:32 "1, 2, 3" 12:13:25 !blsq "abc""def"+] 12:13:25 ERROR: Burlesque: (+]) Invalid arguments! 12:13:43 prepend/append could benefit from some more stuff 12:13:49 !blsq "abc"5+] 12:13:49 ERROR: Burlesque: (+]) Invalid arguments! 12:13:52 stuff like that 12:14:07 String, Any b could actually just call Sh+] 12:14:30 and then add String a, String b which prepends b to a 12:16:35 !blsq "2 5"pe 12:16:35 5 12:16:39 !blsq "2 5"pe#s 12:16:39 {5 2} 12:17:16 !blsq "2 5"ps^p#s 12:17:16 {5 2} 12:17:20 !blsq "2 5"psp^ 12:17:20 2 12:17:23 !blsq "2 5"psp^#s 12:17:23 {2 5} 12:17:46 !blsq "2 5"pejbx#s 12:17:46 {{2} 5} 12:18:11 !blsq "2 5"pejbxjE!#s 12:18:11 {2 2 2 2 2} 12:18:20 hm 12:19:24 -!- Wooble has left ("ERC Version 5.3 (IRC client for Emacs)"). 12:19:38 !blsq "2 5"pejbx.*\[ 12:19:38 ERROR: Burlesque: (\[) Invalid arguments! 12:19:40 !blsq "2 5"pejbx.* 12:19:40 ERROR: Burlesque: (.*) Invalid arguments! 12:19:42 !blsq "2 5"pejbx 12:19:42 {2} 12:19:45 !blsq "2 5"pejbxj.* 12:19:45 {{2} {2} {2} {2} {2}} 12:19:50 !blsq "2 5"pejbxj.*\[ 12:19:50 {2 2 2 2 2} 12:20:04 !blsq "2 5"pejbxj.*\[q?^r[ 12:20:04 65536 12:20:38 hu 12:20:41 weird 12:20:44 !blsq 2 2?^ 12:20:44 4 12:20:47 !blsq 2 2?^2?^ 12:20:47 16 12:21:12 !blsq 2 2?^2?^2?^ 12:21:12 256 12:21:28 !blsq 2 2?^2?^2?^2?^ 12:21:28 65536 12:21:32 !blsq 2 2?^2?^2?^2?^2?^ 12:21:33 4294967296 12:21:36 wth 12:21:43 > 2**2**2 12:21:45 16.0 12:21:47 -!- sebbu2 has joined. 12:21:52 > 2**2**2**2 12:21:54 65536.0 12:21:56 > 2**2**2**2**2 12:21:58 Infinity 12:22:16 > 2^2^2^2^2 12:22:18 2003529930406846464979072351560255750447825475569751419265016973710894059556... 12:22:24 -!- sebbu2 has quit (Changing host). 12:22:24 -!- sebbu2 has joined. 12:22:41 ok 12:22:54 !blsq 2.0 2?^2?^2?^2?^2?^ 12:22:55 Ain't nobody got time fo' dat! 12:23:26 -!- sebbu has quit (Ping timeout: 256 seconds). 12:23:31 [ 2^2^2^2 12:23:41 -!- j-bot has joined. 12:23:52 [ 2^2^2^2 12:23:52 b_jonas: 65536 12:23:52 is this right associative? 12:24:07 > 2^65536 12:24:08 sure, but I can add parenthesis 12:24:08 2003529930406846464979072351560255750447825475569751419265016973710894059556... 12:24:13 [ 2^(2^(2^2)) 12:24:14 b_jonas: 65536 12:25:29 !blsq "2 5"pejbxj.*\[ 12:25:30 {2 2 2 2 2} 12:25:46 !blsq "2 5"pejbxj.*\[ 12:25:47 {2 2 2 2 2} 12:25:49 !blsq "2 5"pejbxj.*\[sa 12:25:49 5 12:26:04 !blsq "2 5"pejbxj.*\[sa{?^}.*\[ 12:26:04 ERROR: Burlesque: (\[) Invalid arguments! 12:26:07 !blsq "2 5"pejbxj.*\[sa{?^}.* 12:26:07 ERROR: Burlesque: (.*) Invalid arguments! 12:26:16 !blsq "2 5"pejbxj.*\[sa#s 12:26:16 {5 {2 2 2 2 2}} 12:26:23 !blsq "2 5"pejbxj.*\[sa{?^}j 12:26:23 5 12:26:26 !blsq "2 5"pejbxj.*\[sa{?^}j.* 12:26:26 {{?^} {?^} {?^} {?^} {?^}} 12:26:28 !blsq "2 5"pejbxj.*\[sa{?^}j.*\[ 12:26:28 {?^ ?^ ?^ ?^ ?^} 12:26:30 !blsq "2 5"pejbxj.*\[sa{?^}j.*\[_+ 12:26:30 {2 2 2 2 2 ?^ ?^ ?^ ?^ ?^} 12:26:34 !blsq "2 5"pejbxj.*\[sa{?^}j.*\[_+e! 12:26:34 ERROR: Burlesque: (**) Invalid arguments! 12:26:41 wth 12:26:52 !blsq "2 5"pejbxj.*\[sa{?^}j?d.*\[_+e! 12:26:52 20035299304068464649790723515602557504478254755697514192650169737108940595563114 12:26:54 ah 12:27:09 that's truncated 12:27:18 yep 12:27:25 and it's only twice as long as fizzies solution 12:27:33 [ ^/4$2 12:27:33 b_jonas: 65536 12:27:48 [ 2^16 12:27:48 b_jonas: 65536 12:27:56 [ 2^2^4 12:27:57 b_jonas: 65536 12:28:12 hm 12:28:22 > 2^(2^5) 12:28:23 4294967296 12:28:39 > 2^(2*5) 12:28:41 1024 12:29:08 [ 16(32)b.1 12:29:09 b_jonas: 65536 12:29:14 > 2^4 12:29:16 16 12:29:43 !blsq {2 2 2 2 2}q?^r[ 12:29:43 65536 12:29:48 !blsq {2 2 2 2 2}q?^r[2j?^ 12:29:48 20035299304068464649790723515602557504478254755697514192650169737108940595563114 12:29:59 !blsq {3 3 3}q?^r[2j?^ 12:29:59 14907494374831386027492982111718907719449320022227325901415431501076384308276971 12:30:07 !blsq {3 3 3}q?^r[3j?^ 12:30:07 15054164145220926243143298033398654543076143473537427823628361588037621543571301 12:30:32 -!- sebbu2 has changed nick to sebbu. 12:30:40 hm 12:30:50 !blsq {3 3 3}3CO 12:30:50 {{3 3 3}} 12:30:53 !blsq {3 3 3}3co 12:30:53 {{3 3 3}} 12:31:01 !blsq {3 3 3}r@ 12:31:01 {{3 3 3} {3 3 3} {3 3 3} {3 3 3} {3 3 3} {3 3 3}} 12:31:04 !blsq {3 3 3}R 12:31:04 ERROR: (line 1, column 9): 12:31:05 !blsq {3 3 3}R@ 12:31:05 {{} {3} {3} {3 3} {3} {3 3} {3 3} {3 3 3}} 12:31:08 !blsq {3 3 3}R@NB 12:31:08 {{} {3} {3 3} {3 3 3}} 12:31:15 !blsq {3 3 3}R@NB{q?^r[} 12:31:15 {{?^} r[} 12:31:25 !blsq {3 3 3}R@NB{q?^r[}m[ 12:31:25 {ERROR: Burlesque: (r[) Empty list! 3 27 19683} 12:31:33 !blsq {3 3 3}R@NB{q?^r[}m[[- 12:31:33 {3 27 19683} 12:31:41 !blsq {3 3 3}R@NB{q?^r[}m[[-q?^l[ 12:31:41 ERROR: Unknown command: (l[)! 12:31:43 !blsq {3 3 3}R@NB{q?^r[}m[[-q?^r[ 12:31:43 Ain't nobody got time fo' dat! 12:39:18 -!- shikhout has changed nick to shikhin. 12:39:30 [ 3^3^3 12:39:30 b_jonas: 7.6256e12 12:53:18 -!- MDream has changed nick to MDude. 13:23:33 Heh, some LaTeX mishap has turned all the 'fi' ligatures in this PDF to £s. 13:24:34 "The £rst step in the algorithm --" "The £nal step --" "-- in the audio £le --" "-- until we £nd an optimal --" 13:25:06 "We de£ne --" 13:41:16 -!- Sprocklem has quit (Ping timeout: 265 seconds). 14:25:14 -!- S1 has joined. 14:25:32 -!- S1 has quit (Client Quit). 14:28:03 -!- S1 has joined. 14:28:36 -!- S1 has quit (Client Quit). 14:29:02 -!- S1 has joined. 14:29:37 fizzie: that's the origin of the pound sign, from the latin "fiscus" 14:29:58 obviously it no longer looks much like a fi ligature 14:30:02 like & is no longer et 14:55:08 -!- S1 has quit (Quit: S1). 15:17:50 -!- Sprocklem has joined. 15:19:22 [ >:^:_1.0 15:19:23 b_jonas: >:^:_1 15:19:34 [ >:^:_]1.0 15:19:50 b_jonas: |timeout 15:20:02 [ >:^:_]2.0 15:20:18 b_jonas: |timeout 15:20:32 timeout around 15 seconds? ok 15:29:03 -!- mihow has joined. 15:29:11 that's a lot of seconds 15:29:52 blsqbot has 42100 micro-seconds 15:30:57 (i.e. 0.0421s) 15:31:36 !blsq 1R@fC 15:31:36 Ain't nobody got time fo' dat! 15:32:05 !blsq 1000000fC 15:32:05 {2 2 2 2 2 2 5 5 5 5 5 5} 15:32:11 !blsq 10000000fC 15:32:12 {2 2 2 2 2 2 2 5 5 5 5 5 5 5} 15:32:14 !blsq 100000000fC 15:32:15 {2 2 2 2 2 2 2 2 5 5 5 5 5 5 5 5} 15:32:22 !blsq 123456789fC 15:32:22 {3 3 3607 3803} 15:32:26 !blsq 12345678912fC 15:32:26 {2 2 2 2 2 2 3 7 9185773} 15:32:29 !blsq 123456789123456789fC 15:32:29 {3 3 7 11 13 19 3607 3803 52579} 15:32:32 -!- drdanmaku has joined. 15:32:33 !blsq 123456789123456789123456789fC 15:32:33 Ain't nobody got time fo' dat! 15:32:37 !blsq 1234567891234567891234567fC 15:32:37 Ain't nobody got time fo' dat! 15:32:39 !blsq 12345678912345678912345fC 15:32:39 Ain't nobody got time fo' dat! 15:32:42 !blsq 123456789123456789123fC 15:32:42 Ain't nobody got time fo' dat! 15:32:45 !blsq 1234567891234567891fC 15:32:45 Ain't nobody got time fo' dat! 15:32:47 come on 15:32:49 [ `: 123456789123456789123456789x 15:32:49 !blsq 123456789123456789fC 15:32:50 {3 3 7 11 13 19 3607 3803 52579} 15:32:50 b_jonas: `:123456789123456789123456789x 15:32:52 [ q: 123456789123456789123456789x 15:32:52 b_jonas: 3 3 3 757 3607 3803 440334654777631 15:32:59 wat 15:33:24 !blsq 757fC 15:33:24 {757} 15:33:28 hm 15:33:30 interesting 15:33:44 !blsq 757fc 15:33:44 {1 757} 15:34:20 !blsq 123456789123456789fC 15:34:20 {3 3 7 11 13 19 3607 3803 52579} 15:34:27 !blsq 123456789123456789 757 ./ 15:34:27 163086907692809 15:34:34 !blsq 1fC 15:34:34 {} 15:34:37 !blsq 123fC 15:34:37 {3 41} 15:35:40 757 isn't a primefactor of 123456789123456789 15:35:44 !blsq 123456789123456789 757.0 ./ 15:35:44 163086907692809.5 15:36:04 [ q: 123456789123456789x 15:36:04 mroman: 3 3 7 11 13 19 3607 3803 52579 15:39:55 [ `: 123456789123456789x 15:39:56 mroman: `:123456789123456789x 15:40:20 !blsq 123456789123456789123456789fC 15:40:20 Ain't nobody got time fo' dat! 15:40:30 [ q: 123456789123456789123456789x 15:40:30 mroman: 3 3 3 757 3607 3803 440334654777631 15:41:01 for what it's worth fc and fC are incredibly slow in burlesque 15:41:23 123456789123456789123456789fC takes about 5 seconds 15:42:06 or 2 seconds if compiled with -O3 15:50:15 !blsq {118510834 139026927 21900876 263490528 54952227 28989415 185234088 119320923}{JfC{}j+]j+]}m[ 15:50:15 {{118510834 {2 13 4558109}} {139026927 {3 13 23 154991}} {21900876 {2 2 3 23 73 15:50:43 !blsq <@q: 118510834 139026927 21900876 263490528 54952227 28989415 185234088 119320923 15:50:43 119320923 15:50:50 [ <@q: 118510834 139026927 21900876 263490528 54952227 28989415 185234088 119320923 15:50:51 b_jonas: +------------+--------------+----------------+--------------------+-------------+------------------+--------------------+----------+ 15:50:51 b_jonas: |2 13 4558109|3 13 23 154991|2 2 3 23 73 1087|2 2 2 2 2 3 7 392099|3 3 11 555073|5 7 13 13 13 13 29|2 2 2 3 13 23 83 311|3 39773641| 15:50:51 b_jonas: +------------+--------------+----------------+--------------------+-------------+------------------+--------------------+----------+ 15:52:03 !blsq {118510834 139026927 21900876 263490528 54952227 28989415 185234088 119320923}JfCz[ 15:52:03 {{118510834 {2 13 4558109}} {139026927 {3 13 23 154991}} {21900876 {2 2 3 23 73 15:52:36 ah! 15:52:48 !blsq {118510834 139026927 21900876 263490528 54952227 28989415 185234088 119320923}JfCz[sp 15:52:49 118510834 [2, 13, 4558109] 15:52:58 mroman: is there a command to create a block from the top two stack elements, or from the top one stack element? 15:53:07 there's bx 15:53:09 !blsq 5bx 15:53:09 {5} 15:53:18 ah, good 15:53:26 otherwise, no. 15:53:35 !blsq 1 2bx_+ 15:53:35 ERROR: Burlesque: (_+) Invalid arguments! 15:53:36 !blsq 118510834JfCbXj+] 15:53:37 ERROR: Burlesque: (+]) Invalid arguments! 15:53:41 !blsq 1 2bx+] 15:53:41 ERROR: Burlesque: (+]) Invalid arguments! 15:53:43 !blsq 1 2bxj+] 15:53:43 {1 2} 15:53:44 !blsq 118510834JfCbxj+] 15:53:44 {118510834 {2 13 4558109}} 15:55:11 theres CL/Cl though 15:55:16 which in some circumstances might work for you 15:55:20 !blsq 1 2CL 15:55:21 {2 1} 15:55:22 !blsq 1 2Cl 15:55:23 {1 2} 15:55:53 !blsq 1 2#s 15:55:53 {2 1} 15:56:11 !blsq 5{JCl}GO 15:56:11 {{1 1} {2 2} {3 3} {4 4} {5 5}} 15:57:01 !blsq 5{JfcCl}GO 15:57:01 {{1 {1}} {2 {1 2}} {3 {1 3}} {4 {1 2 4}} {5 {1 5}}} 15:58:42 !blsq 5{JfcCl}GOtp 15:58:42 {{1 2 3 4 5} {{1} {1 2} {1 3} {1 2 4} {1 5}}} 15:59:21 !blsq 10qfcGO 15:59:21 {{1} {1 2} {1 3} {1 2 4} {1 5} {1 2 3 6} {1 7} {1 2 4 8} {1 3 9} {1 2 5 10}} 15:59:33 !blsq 10qfcGO)++ 15:59:33 {1 3 4 7 6 12 8 15 13 18} 16:00:25 !blsq 50qfcGO)++ 16:00:26 {1 3 4 7 6 12 8 15 13 18 12 28 14 24 24 31 18 39 20 42 32 36 24 60 31 42 40 56 3 16:00:39 hm 16:01:14 Is there a term for a pair of numbers (a,a+1) where the sum of all factors for both numbers is the same? 16:01:36 !blsq 14fc++15fc++ 16:01:36 24 16:01:39 !blsq 14fc++15fc++#S 16:01:39 24 16:01:40 !blsq 14fc++15fc++#s 16:01:40 {24 24} 16:01:46 !blsq 14fc15fc#s 16:01:46 {{1 3 5 15} {1 2 7 14}} 16:01:52 mroman: compute the first few and look it up in OEIS? 16:02:01 puh 16:02:03 alright 16:02:11 !blsq 50qfcGO)++2co 16:02:11 {{1 3} {4 7} {6 12} {8 15} {13 18} {12 28} {14 24} {24 31} {18 39} {20 42} {32 3 16:02:14 factors or proper factors? 16:02:19 !blsq 50qfcGO)++2CO 16:02:19 {{1 3} {3 4} {4 7} {7 6} {6 12} {12 8} {8 15} {15 13} {13 18} {18 12} {12 28} {2 16:02:21 factors 16:02:26 wait, are there even such numbers? 16:02:30 yes 16:02:32 14 and 15 16:02:45 ok, are there at least 4 such numbers? 16:02:51 one isn't enough for oeis 16:02:58 I don't know :) 16:05:16 @oeis 14 15 206 207 957 958 16:05:16 Table of consecutive numbers with the same sum of divisors.[14,15,206,207,95... 16:06:31 um, that doesn't give an A-number 16:08:20 I was going to say "consecutive amicable numbers", but that's the sum of all proper divisors, not all factors. 16:11:18 There seems to be no pair of amicable numbers that are consecutive. ("In every known case, the numbers of a pair are either both even or both odd. It is not known whether an even-odd pair of amicable numbers exists, but if it does, the even number must either be a square number or twice one, and the odd number must be a square number.") 16:11:51 Oh, right, it's also sum-equals-the-other-number, not same-sum. 16:15:19 [wiki] [[Talk:BytePusher]] M http://esolangs.org/w/index.php?diff=40700&oldid=39781 * Nucular * (+0) The JsBP repo was renamed 16:15:44 [wiki] [[BytePusher]] M http://esolangs.org/w/index.php?diff=40701&oldid=40268 * Nucular * (+0) The JsBP repo was renamed 16:16:23 -!- myndzi\ has joined. 16:18:47 -!- weissschloss has quit (Max SendQ exceeded). 16:21:05 -!- weissschloss has joined. 16:29:19 wtf keeps javac complaining about duplicate class 16:29:21 is it insane? 16:31:04 wth is going on 16:31:31 -!- nyuszika7h has quit (Quit: WeeChat 1.1-dev). 16:32:08 -!- nyuszika7h has joined. 16:33:23 something is broken here o_O 16:34:04 mroman: wait, do you mean javac keeps complaining about it, or something keeps javac from complaining about it when it shouldn't? 16:44:16 it says my class is a duplicate 16:44:24 but even if I rename it to HTunsauhntaeouhn it will still be a duplicate class 16:44:35 no matter what the class is called it will complain about it being a duplicate 16:46:07 mroman: are you sure you only have one class per source file, and that class has a name matching the filename? I think java is a bit moronic about that (even more than haskell) 16:48:12 hm 16:48:33 turns out I specified a package not matching the folder structure on the file system 16:48:49 instead of foo.bar.baz i wrote foo.baz.bar 16:49:13 why the fuck this will produce duplicate class error still remains a mystery 16:49:18 there are no classes in foo.baz.bar 16:49:23 it doesn't even exist 16:49:50 *gotta catch train now* 17:06:15 -!- myndzi\ has quit. 17:13:53 I had a dream last night where someone told me I need to drink more alcohol 17:13:58 Like,as a general thing 17:16:29 -!- shikhin has quit (Ping timeout: 245 seconds). 17:33:32 -!- Frooxius has quit (Quit: *bubbles away*). 17:35:17 -!- Sprocklem has quit (Ping timeout: 245 seconds). 17:49:24 -!- nyuszika7h has quit (Quit: WeeChat 1.1-dev). 17:49:54 -!- nyuszika7h has joined. 17:51:52 -!- nyuszika7h has quit (Client Quit). 17:52:17 -!- nyuszika7h has joined. 18:10:55 Anyone know any code golf friendly tricks for text obfuscation? 18:13:04 Problem with my dream is, I look quite young, and I don't have any ID currently 18:13:33 So I can't get more alcohol 18:14:35 J_Arcane: python list comprehensions can be compact and well obfuscated 18:15:25 Was trying to think if I could hide a 'punchline' in a bit of tweet-sized code that when run would then spit out the intended message, without it being obvious at a glancy. 18:16:44 Isn't that kind of like the typical http://en.wikipedia.org/wiki/Just_another_Perl_hacker program. 18:17:14 exactly, there's lots of perl obfus doing that 18:17:20 and some in other languages too 18:17:38 Possibly not so often about compactness, but still. 18:17:44 `perl -e sub h($){($_=$_[0]=pack b208,0 .unpack b362,$_[0])=~tr/\0-\c?/\0/;tr/\0/\377/c;$_}do{$y=$r;$v=join$r='',a..z;$r^=h$r&"\217"x26^h$v&$y for 0..6;$r^=$_ x26}for"k6sNP2B}({ambrusLB%Ox)Z]n0*zf\0I3"=~/./g;print$r 18:17:45 Just another Perl hacker, 18:17:47 I like the "keywords only" code in that article. 18:17:52 Heh heh. 18:18:00 I think that one doesn't fit in a tweet 18:18:11 but I have shorter ones that do 18:19:31 The http://golf.shinh.org/p.rb?Helloworldless+Hello+world solutions might also give some ideas. 18:19:38 And those are designed for compactness. 18:20:01 depending on how obfuscated you want, juts a simple transliteration (caesar cipher) can work. that's only a few characters 18:22:28 The Perl ones in that competition are a bit overly "binary", though. 18:36:04 -!- Sprocklem has joined. 18:57:34 -!- kcm1700 has joined. 18:58:46 -!- Sprocklem has quit (Ping timeout: 244 seconds). 19:00:23 -!- kcm1700_ has quit (Ping timeout: 240 seconds). 19:00:42 -!- Sprocklem has joined. 19:03:31 b_jonas: yeah, I was thinking of using Racket again for the challenge and just doing a quickie lambda to iterate over a rot47 string of the intended message. 19:04:58 -!- Sprocklem has quit (Ping timeout: 244 seconds). 19:15:37 Well. That was easier than expected. 1) Racket can do for loops over strings. 2) Racket is Unicode. 3) Because of 2 I was able to compress my message down to half the visible chars by using a ROT offset that bumped them into a ligature range. 19:35:27 -!- perrier has quit (Remote host closed the connection). 19:36:41 -!- perrier has joined. 19:44:57 https://dl.dropboxusercontent.com/u/113389132/Misc/20141028-esoteric-2014.ogg 19:46:51 -!- nycs has quit (Ping timeout: 255 seconds). 19:49:39 What is the safest way to measure electrical resistance of your body? 19:50:00 -!- `^_^v has joined. 19:51:40 http://www.darwinawards.com/darwin/darwin1999-50.html is a data point of sorts 19:54:12 That is people misusing the device... 19:56:45 I refer to this like this http://www.lermanet.com/shock1.htm where some people believe it might be dangerous due to electricity passing through a body. (This is describing the "e-meter", a ridiculously overpriced ohmmeter with continuously variable range and sensitivity, and a built-in digital clock. However, there are also other similar devices, can be used as biofeedback.) 20:06:11 I can't extract information from that page, beyond the carneval story. 20:08:41 In particular this: "My calculations equate 2 shocks of a 200Volt 2 second AC treatment with 2.5 hours spent on an emeter" ... fine, but this says nothing about the effects. 20:11:40 Well, I have read stuff about possible effects, in other articles too. 20:12:24 There is stuff about electroplating and pain killing: http://www.lermanet.com/e-metershort.htm 20:12:44 I always assumed that the main effects were psychological, but perhaps that was wrong. 20:13:08 I don't really care either way, Scientology doesn't deserve that attention :P 20:14:36 I have also read of other things where the device may not be as accurate as it could be, as well as in one page, someone said it might possibly catch fire because it isn't built in best way. 20:14:44 (As well as problems with the fuse.) 20:15:15 who cares about the accuracy?! 20:15:16 But it isn't about Scientology that I am talking about here, but rather simply a device which they use, as well as a class of similar devices. 20:15:33 anyway, I'm out. 20:16:39 And how to improve the safety and accuracy of such classes of biofeedback ohmmeters. 21:00:24 -!- nycs has joined. 21:02:47 -!- `^_^v has quit (Ping timeout: 245 seconds). 21:50:04 zzo38: it's not really constant even across parts of your body. i'd just use a multimeter and a harmlessly small power source, i guess 21:50:21 human bodies aren't ohmic. imo, woe. 22:03:25 -!- nycs has quit (Quit: This computer has gone to sleep). 22:03:52 With a normal multimeter, you won't feel it if it's across normal skin, but blood is conductive enough, that if you stick the pins into your thumbs, the current across your heart will stop it 22:05:35 I remember wanting ... some weird scoping in Clojure. Now that I understand Scala implict arguments, I think that that's exactly what I wanted 22:13:48 -!- boily has joined. 22:17:27 -!- oerjan has joined. 22:27:44 FreeFull: right, avoid that 22:29:02 Sgello. still discovering Scala? 22:30:18 Does anyone have a convinient BF Joust Hill Manager I can plug into an IRC bot written in Haskell? 22:31:19 boily: My nick is Sgeo, not Sgello, hth 22:31:24 I do not ping on Sgello 22:32:29 beuh :/ 22:32:38 -!- mihow has quit (Quit: mihow). 22:33:04 And yes, still learning about Scala 22:33:19 !help bfjoust 22:33:24 I think I like the whole PartialFunction thing... or at least almost like it 22:33:29 hm 22:33:43 !bfjoust 22:33:43 oerjan: "!bfjoust progname code". See http://zem.fi/bfjoust/ for documentation. 22:33:55 (You can define a function with pattern matching and if you don't define it for all domains, you can actually ask the function 22:34:03 'are you defined on this value') 22:34:32 something something halting problem !!!!! 22:35:07 oerjan, thanks 22:35:16 Any idea how to call Ruby from Haskell? 22:35:23 nope 22:35:25 .isDefinedAt not guaranteed to be accurate 22:35:55 But it's correct enough when definine functions via pattern matching, I think 22:36:02 it sounds a lot like some kind of multiple dispatch thingie... 22:36:06 Taneb: you might want to discuss this with fizzie since he wrote most of it. also he presumably has it on github. 22:36:09 http://www.scala-lang.org/api/current/index.html#scala.PartialFunction 22:36:22 oh. partial. no polymorphic. 22:37:03 https://github.com/fis/chainlance/ I think 22:37:47 right 22:37:50 Scala has polymorphic methods but not functions :( 22:38:58 -!- idris-bot has quit (Quit: Terminated). 22:39:16 Oh, it's mostly C 22:40:03 yeah the bfjoust interpreter itself is the same as was used in old EgoBot, i think 22:40:27 (fizzie wrote that one, too) 22:40:29 def implicitly[T](implicit e: T) = e // for summoning implicit values from the nether world 22:42:35 Is that scala? 22:42:45 o wait you said so up there 22:44:44 nothing like a good summoning to liven up your code. 22:45:08 < fizzie> https://dl.dropboxusercontent.com/u/113389132/Misc/20141028-esoteric-2014.ogg – What is that? 22:47:47 I don't know what that is supposed to mean either. 22:48:39 Taneb: note that i don't think fizzie has yet managed to fix the bug in the matrix-based scoring 22:49:20 in the beginning things occasionally crashed, but lately i think results got completely out of whack? 22:49:36 -!- idris-bot has joined. 22:52:09 I wrote this API file for ZTERM: http://sprunge.us/JQHI Do you think it is OK, what other comment/complaint please? 22:54:26 oerjan: Yes to all: I haven't fixed anything, and there were some very suspicious results. 22:54:30 The actual definitions are almost all very short 22:54:59 Also, zterm_init() does nothing at all except on Windows (in which it changes stdin and stdout to binary) 22:56:55 Melvar: I've had this habit of every now and then converting some #esoteric-related statistic to an audio signal, that's just one more of those. The details probably aren't all too interesting. (It's based on channel activity again.) 22:57:33 fizzie: What is the methods of the data? 22:57:53 fizzie: Ah. Neat. 23:01:09 zzo38: Well. It was done by taking the 257 nicks with most messages in my logs for 2014, sorting them, and then building a message count matrix where rows correspond to nicks and columns to hours in 2014, taking the square root of that and considering it as a (non-redundant half of a) magnitude spectrum, and synthesizing a signal to have a spectrum like that. More or less. 23:03:19 fizzie, in theory, how hard would it be to call chainlance from Haskell? 23:04:05 Taneb: I don't know much about Haskell's IO/process bits, but I wouldn't think it'd be that hard. For hill use, you might want to be using the 'chainlanced' binary. 23:06:26 Taneb: Er, sorry, I mean "gearlanced". 23:08:07 it seems like the ruby version just calls it as an executable capturing stdin/stdout, so the haskell equivalent would be using System.Process and a couple threads, i think. 23:10:04 Lovely 23:10:22 The "protocol" it speaks to stdin/stdout is documented in the comments of gearlanced.c. It basically just keeps a set of N precompiled programs, and lets you run a challenger against the set efficiently, plus commands to set those "slots". 23:11:02 you might or might not need the threads, dependent on deadlock possibilities 23:12:41 It's designed to be somewhat friendly for pipe-based use, in the sense that if you write a full command to (its) stdin, and then read the correct amount of lines from (its) stdout, nothing should hang up due to unfilled pipe buffers. 23:13:34 Er, s/unfilled/filled-up/ 23:15:49 sounds like threads are optional, then. 23:16:10 (could still be nice to use them in an irc bot) 23:17:01 handling PINGs if nothing else 23:17:16 The Ruby stuff doesn't involve threads in the "Gear" class, but there's one in the actual hill-manager, since it gets jobs from both the web-submission system and the IRC bot. 23:17:28 ah 23:19:22 I really should spend some time figuring out what's up with the crazy results, but I've spent all free-programming time fiddling with golf lately. 23:20:22 -!- heroux_ has quit (Ping timeout: 265 seconds). 23:20:43 i am not golfing anywhere near as much as you but _still_ my usual website browsing gets backlogged 23:21:03 -!- heroux has quit (Ping timeout: 255 seconds). 23:21:59 i suppose it might also be increased activity 23:27:25 I wonder about the security implications of, say, custom string interpolation. Of course, it's /safe/ from, say, SQL injection (assuming an appropriate interpolation), but forcing a reader of the code to take their time to confirm that a line that looks unsafeish is actually safe is probably a bad idea. Also, someone could get used to it then see something simiilar in another language, then ignore it 23:28:08 Although I guess sql"select * from foo where user=$user" the sql indication is obvious, and no one would be dumb enough to, say, have sql mean an unsafe interpolator 23:28:23 -!- Sprocklem has joined. 23:29:39 @list oeis 23:29:39 oeis provides: oeis sequence 23:30:03 @sequence 14 15 206 207 957 958 23:30:03 Table of consecutive numbers with the same sum of divisors.[14,15,206,207,95... 23:30:15 hmph still no A number 23:30:51 :t oeis 23:30:52 Not in scope: ‘oeis’ 23:31:54 Of /course/ Scala && etc are just methods that take the second argument by-name 23:32:00 That's... really kind of neat 23:32:55 -!- heroux has joined. 23:33:12 Sgeo: any sentence beginning with "no one would be dumb enough to" is false hth 23:34:27 Sgeo: besides, dependent on language, the sql function may not see the contents of the string until after the interpolation is already done. 23:34:30 -!- heroux_ has joined. 23:34:58 perl and bash both come to mind 23:35:07 "no-one would be dumb enough to prepend this sentence with its own quotation" no-one would be dumb enough to prepend this sentence with its own quotation 23:36:03 oerjan: referring to Scala specifically, custom String interpolators get to see the literal parts of the string and the values the user intends to insert into the string, although the API for making a custom interpolator is really weird. What do Perl/Bash do? 23:36:23 Taneb: that's not starting with it, although admittedly neither did Sgeo's instance 23:36:50 Taneb: but if the no-one-dumb-postulate is true, therefore this is false, therefore is dumb, therefore is true. 23:38:33 Sgeo: in those languages, it wouldn't be a custom string interpolation, just a function/command applied to an argument that happens to come from a string 23:38:57 Ah 23:39:33 How can I fit geolocation data into a version 1 UUID? 23:40:03 sql queries aren't strings anyway. 23:40:05 There is MAC address and the timestamp, which is good but then geolocation data should be added too in order to ensure better uniqueness. 23:40:09 i suppose haskell's quasiquotes would be similar to what scala does, so [sql|...|] in haskell would probably be assumed to take care of safety. 23:40:45 https://gist.github.com/seratch/3436229 23:40:50 If you want to do executing SQL function you should use host parameters anyways for the parameter values, rather than putting them into the string, usually. 23:41:13 zzo38: Scala lets you do that while making it look like you're making a string 23:41:38 zzo38: how many bits do you need for significant and useful geolocation data? or at least enough to avoid collisions? 23:42:39 boily: I don't know, but I only need enough to avoid collisions. But it needs to be good enough that the specified MAC address is guaranteed not to be in use elsewhere within the area it covers. 23:43:44 zzo38: why do you want to encode geolocation data in a UUID? 23:44:25 modulo spoofing, aren't MACs guaranteed by themselves to always be unique? 23:44:25 FireFly: In order to cause less interference in case the same MAC address is somehow duplicated 23:44:43 ah. spoofing. 23:44:56 (I know it isn't supposed to be duplicated, but I don't know what happens, in case a mistake it made or something) 23:45:12 boily: does "spoofing" include "nasty manufacturers not caring to follow MAC address registration procedures"? 23:46:45 it didn't, but now I think it does. I guess off-off-brand cheap manufacturers cloning existing hardware? 23:47:46 I think you could set the "locally administered" bit in the MAC address to indicate that, at least, if you are unable to register a unique MAC address for some reason. 23:48:06 (In such a case, you should also always allow the user to change it to a different locally administered address.) 23:48:53 [wiki] [[Talk:Checkout]] http://esolangs.org/w/index.php?diff=40702&oldid=34651 * 24.19.237.231 * (+757) /* Impossible to checkout to level 6? */ new section 23:49:40 elliott: the result of interpolation in Scala isn't necessarily a string 23:53:12 it's runtime, though, right? 23:53:19 i.e. sql")" is a runtime error 23:53:33 yes 23:53:42 I think 23:53:54 boily: something like that. I've heard of the situation happening