←2014-08-28 2014-08-29 2014-08-30→ ↑2014 ↑all
01:35:57 -!- esowiki has joined.
01:35:59 -!- glogbot has joined.
01:36:01 -!- esowiki has joined.
01:36:02 -!- esowiki has joined.
01:36:21 <oerjan> huzzah!
01:37:48 -!- oerjan has set topic: All glogged up again | brainfuck survey: https://www.surveymonkey.com/s/L82SNZV | https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf http://codu.org/logs/_esoteric/ http://tunes.org/~nef/logs/esoteric/ | If something is possible, then it's possible that nothing is possible. | 987659473857929758374956789.
01:39:48 <Gregor> I genuinely have no clue why it wasn't on...
01:40:10 <oerjan> out taking over the world maybe?
01:40:16 <Gregor> Probably.
01:42:05 -!- Bicyclidine has quit (Ping timeout: 260 seconds).
01:47:50 -!- Hjulle has quit (Ping timeout: 260 seconds).
01:48:55 <oerjan> @check \f g x -> ((maybeToList . ((f :: Bool -> [()]) <=< g)) (x::())) == ((maybeToList . f) <=< (maybeToList . g)) x
01:48:56 <lambdabot> Couldn't match type ‘[]’ with ‘Data.Maybe.Maybe’
01:48:56 <lambdabot> Expected type: GHC.Types.Bool -> Data.Maybe.Maybe () Actual type: GHC.Types....
01:49:05 <oerjan> oops
01:49:12 <oerjan> oh the other way
01:49:56 <oerjan> fine tekmo you win this one
01:55:25 <oerjan> @check \f g x -> ((listToMaybe . ((f :: Bool -> [()]) <=< g)) (x::())) == ((listToMaybe . f) <=< (listToMaybe . g)) x
01:55:27 <lambdabot> *** Failed! Falsifiable (after 3 tests):
01:55:28 <lambdabot> <Bool -> [()]> <() -> [Bool]> ()
01:55:43 <oerjan> that's the one i misread it as initially
01:56:37 <oerjan> hm quickcheck could do with some better printing of function counterexamples :P
01:58:39 <Jafet> > (\True -> [()])
01:58:41 <lambdabot> <Bool -> [()]>
02:00:15 <oerjan> > let x = (); g _ = [False,True]; f = flip when [] in ((listToMaybe . ((f :: Bool -> [()]) <=< g)) (x::())) == ((listToMaybe . f) <=< (listToMaybe . g)) x
02:00:17 <lambdabot> True
02:00:20 <oerjan> oops
02:00:24 <oerjan> oh
02:01:51 <oerjan> > let x = (); g _ = [True,False]; f = flip when [] in ((listToMaybe . ((f :: Bool -> [()]) <=< g)) (x::())) == ((listToMaybe . f) <=< (listToMaybe . g)) x
02:01:53 <lambdabot> False
02:01:57 <oerjan> there you go
02:03:58 <Jafet> @type (<=<)
02:04:00 <lambdabot> Monad m => (b -> m c) -> (a -> m b) -> a -> m c
02:04:48 <oerjan> it's like compose, except in a monad (kleisli) category.
02:05:10 <shachaf> it is compose in that category
02:05:40 <shachaf> oerjan: remind me what the thing about the kleisli category being the category of free algebras was?
02:06:38 <oerjan> long since forgotten, although istr all monads essentially coming from varieties of universal algebras
02:07:41 <oerjan> basically you get a monad by combining the adjunctions of the free and underlying functions of such a variety...
02:07:57 <oerjan> um
02:08:11 <oerjan> *combining the adjoint free
02:08:14 <shachaf> oh, variety is a technical word
02:08:21 <oerjan> yes
02:08:45 <oerjan> basically "defined by equations", like monoids, groups or rings
02:09:59 <oerjan> if you can also have implications between equations, you have a quasi-variety
02:10:08 <oerjan> iirc
02:10:38 <oerjan> and fields don't count because you need to be able to have an implication from an _in_equality (x /= 0 => x has inverse)
02:11:00 <shachaf> that sounds more complicated than the thing about free algebras
02:11:30 <oerjan> well one of the things about varieties is that they _have_ free algebras.
02:11:58 <oerjan> i'm not quite sure on the spot if quasi-varieties do too, but e.g. fields don't.
02:13:11 <oerjan> well hm
02:13:31 <oerjan> a -> m b means of course a function from a to the free algebra on b, in this picture
02:13:45 <shachaf> why?
02:14:07 <oerjan> or well, to the underlying set of the free algebra
02:14:07 <shachaf> wait, what's an algebra here
02:14:22 <oerjan> well for [] the algebras are monoids
02:14:29 <shachaf> i'm thinking of https://en.wikipedia.org/wiki/Monad_(category_theory)#Algebras_for_a_monad
02:14:59 <shachaf> oh, maybe that page answers my question
02:15:27 <oerjan> let's hope so
02:16:10 <shachaf> i'm not sure it does, it just claims it's true
02:16:52 <oerjan> i am not about to try and understand that again
02:18:05 -!- MoALTz_ has joined.
02:21:17 -!- MoALTz has quit (Ping timeout: 260 seconds).
02:21:20 <Jafet> "Quickcheck found a counterexample: f = (\<lambda>x. [])(False := [()]) g = \<lambda>x. [True, False] x = ()"
02:22:19 <Jafet> (This took longer than it should have, because HOL doesn't have proper monads)
02:23:03 <oerjan> that's exactly the same example, isn't it :P
02:23:24 <oerjan> except that f syntax is weird
02:25:00 <Jafet> It uses function update syntax
02:25:36 <oerjan> i still _think_ it's equivalent to the f = flip when [] that i wrote.
02:26:22 <Jafet> It looks like that's the only counterexample, up to permutations
02:26:48 <oerjan> well i think you could have more elements in the [()] list
02:26:53 <Jafet> (flip unless [] would also work, for example)
02:27:39 <oerjan> and more elements in the [True,False] list as well
02:29:54 <oerjan> f needs to return [] for the first element in the list g returns, and non-[] for some other element
03:00:31 -!- Lymia has joined.
03:00:31 -!- Lymia has quit (Changing host).
03:00:31 -!- Lymia has joined.
03:31:16 -!- FreeFull has quit (Read error: Connection reset by peer).
03:32:24 -!- FreeFull has joined.
03:49:15 -!- mauris has quit (Ping timeout: 240 seconds).
03:59:42 -!- conehead has quit (Quit: Textual IRC Client: www.textualapp.com).
05:03:14 <fizzie> The wiki-to-IRC pipe should also be back up now.
05:03:19 <fizzie> (It's not automagicalized.)
05:04:00 <coppro> :O
05:04:09 <coppro> am I insane for wanting to do math in agda?
05:04:21 <coppro> I think I've lost track of what sane is these days
05:04:51 <Bike> have you been prescribed psychoactive drugs by a health maintenance institution
05:06:59 <coppro> no
05:07:10 <coppro> but that's because I've been avoiding the shrinks
05:07:18 <coppro> also the grows, but that's less urgent
05:11:10 <elliott_> did you know some of us are actually mentally ill
05:12:36 <quintopia> lies
05:18:45 -!- Vorpal has quit (Quit: ZNC - http://znc.sourceforge.net).
05:19:43 <oerjan> elliott_: hey stop scaring away the normals. both of them.
05:20:15 <elliott_> heh
05:20:17 <quintopia> oerjan: we're all normal here. i'm normal. you're normal.
05:20:26 <quintopia> the weirds are *out there*
05:20:30 * quintopia shudders
05:20:31 <oerjan> how do you know i'm normal.
05:20:42 <quintopia> you're here aren't you?
05:20:55 <oerjan> fiendish
05:45:41 <FreeFull> coppro: Why not do math in brainfuck?
05:48:32 <coppro> :D
05:55:29 -!- oerjan has quit (Ping timeout: 260 seconds).
05:55:36 -!- oerjan has joined.
06:09:53 -!- oerjan has quit (Quit: leaving).
06:12:48 -!- nisstyre has quit (Ping timeout: 260 seconds).
06:14:50 -!- nisstyre has joined.
06:28:35 -!- MoALTz_ has quit (Quit: Leaving).
06:49:57 -!- ion has quit (Excess Flood).
06:50:00 -!- ion has joined.
07:16:39 -!- AnotherTest has joined.
08:20:02 -!- attumm has joined.
08:23:13 -!- attumm has left ("Leaving").
08:29:29 -!- Mikescher has joined.
08:29:38 -!- Patashu has joined.
08:32:49 <Mikescher> !bfjoust mikescher_so_multivac_v1 http://maximum-sonata.codio.io/myBot.bfjoust
08:33:31 -!- Patashu_ has joined.
08:33:31 -!- Patashu has quit (Disconnected by services).
08:40:52 -!- Mikescher has quit (Quit: Page closed).
08:47:55 <fizzie> Did Gregor just miss EgoBot too, or was that intentional?
08:54:51 -!- Patashu_ has changed nick to Patashu.
08:54:54 -!- Patashu has quit (Quit: Soundcloud (Famitracker Chiptunes): http://www.soundcloud.com/patashu MSN: Patashu@hotmail.com , AIM: Patashu0 , YIM: patashu2 , Skype: patashu0 .).
08:55:25 -!- Patashu has joined.
08:59:08 -!- Patashu has quit (Client Quit).
08:59:14 -!- Patashu has joined.
08:59:31 <impomatic_> Gregor: thanks for fixing the logging.
09:01:00 <impomatic_> Would it be possible for me to have the #corewars glogbackup logs check? (I generally follow up on any questions, comments etc from when I'm offline)
09:17:25 -!- olsner has quit (*.net *.split).
09:17:33 -!- Gracenotes_ has quit (*.net *.split).
09:17:48 -!- olsner has joined.
09:17:48 -!- Gracenotes_ has joined.
09:18:09 -!- elliott_ has quit (*.net *.split).
09:18:09 -!- FireFly has quit (*.net *.split).
09:18:16 -!- skarn has quit (*.net *.split).
09:18:19 -!- diginet has quit (*.net *.split).
09:18:38 -!- rodgort has quit (*.net *.split).
09:18:39 -!- myndzi has quit (*.net *.split).
09:18:41 -!- mroman has quit (*.net *.split).
09:19:12 -!- impomatic_ has quit (*.net *.split).
09:19:19 -!- ion has quit (*.net *.split).
09:19:22 -!- sebbu has quit (*.net *.split).
09:19:22 -!- idris-bot has quit (*.net *.split).
09:19:41 -!- FreeFull has quit (*.net *.split).
09:19:46 -!- jj2baile has quit (*.net *.split).
09:19:57 -!- variable has quit (*.net *.split).
09:19:57 -!- Guest2171 has quit (*.net *.split).
09:20:08 -!- jix has quit (*.net *.split).
09:20:28 -!- olsner has quit (*.net *.split).
09:20:37 -!- Gracenotes_ has quit (*.net *.split).
09:20:54 -!- DootBot has quit (*.net *.split).
09:20:58 -!- clog has quit (*.net *.split).
09:21:00 -!- TieSoul has quit (*.net *.split).
09:21:07 -!- copumpkin has quit (*.net *.split).
09:21:16 -!- lambdabot has quit (*.net *.split).
09:21:16 -!- heroux has quit (*.net *.split).
09:21:30 -!- qlkzy has quit (*.net *.split).
09:21:31 -!- hogeyui__ has quit (*.net *.split).
09:21:35 -!- shachaf has quit (*.net *.split).
09:21:52 -!- J_Arcane has quit (*.net *.split).
09:21:58 -!- esowiki has joined.
09:21:59 -!- glogbot has joined.
09:22:02 -!- esowiki has joined.
09:22:03 -!- esowiki has joined.
09:22:41 -!- maurer has joined.
09:22:58 -!- b_jonas has joined.
09:27:27 -!- Frooxius has joined.
09:30:13 -!- tromp has joined.
09:30:14 -!- Sgeo has joined.
09:30:14 -!- nycs has joined.
09:30:14 -!- Taneb has joined.
09:46:03 -!- AnotherTest has quit (Read error: Connection reset by peer).
09:46:06 -!- AnotherTest_ has joined.
09:46:14 -!- AnotherTest_ has changed nick to AnotherTest.
09:47:26 -!- quintopi1 has joined.
09:50:55 -!- quintopia has quit (Ping timeout: 272 seconds).
09:51:06 -!- coppro has quit (Ping timeout: 272 seconds).
09:51:12 -!- coppro has joined.
09:56:30 -!- elliott has joined.
09:59:27 -!- mroman_ has joined.
09:59:45 -!- diginet_ has joined.
10:00:51 -!- myndzl has joined.
10:02:16 -!- skarn_ has joined.
10:04:20 -!- skarn_ has quit (Changing host).
10:04:21 -!- skarn_ has joined.
10:04:25 -!- skarn has quit (Killed (sendak.freenode.net (Nickname regained by services))).
10:04:25 -!- skarn_ has changed nick to skarn.
10:09:26 -!- elliott_ has quit (*.net *.split).
10:09:26 -!- FireFly has quit (*.net *.split).
10:09:26 -!- diginet has quit (*.net *.split).
10:09:27 -!- rodgort has quit (*.net *.split).
10:09:27 -!- myndzi has quit (*.net *.split).
10:09:27 -!- mroman has quit (*.net *.split).
10:10:57 -!- rodgort has joined.
10:12:17 -!- lifthrasiir has joined.
10:12:45 -!- boily has joined.
10:12:58 -!- FireFly has joined.
10:19:34 <boily> I can breathe!
10:26:25 -!- yiyus has quit (Ping timeout: 244 seconds).
10:32:05 -!- zzo38 has quit (Ping timeout: 244 seconds).
10:32:05 -!- jameseb has quit (Ping timeout: 244 seconds).
10:32:05 -!- KingOfKarlsruhe has quit (Ping timeout: 244 seconds).
10:32:05 -!- maurer has quit (Ping timeout: 244 seconds).
10:32:05 -!- glogbot has quit (Ping timeout: 244 seconds).
10:32:11 -!- esowiki has joined.
10:32:15 -!- esowiki has joined.
10:32:15 -!- esowiki has joined.
10:32:58 -!- esowiki has joined.
10:33:03 -!- esowiki has joined.
10:33:03 -!- esowiki has joined.
10:33:58 -!- esowiki has joined.
10:34:03 -!- esowiki has joined.
10:34:03 -!- esowiki has joined.
10:35:03 -!- esowiki has joined.
10:35:04 -!- glogbot has joined.
10:35:07 -!- esowiki has joined.
10:35:07 -!- esowiki has joined.
10:35:46 <boily> glogbot: <boily> dextromethorphan hydrobromide, pseudoephedrine hydrochloride, guaifenesin, and acetaminophen.
10:35:57 <fizzie> boily: Are you TRYING to get us on some sort of a watch list?
10:39:08 <impomatic_> Aha, you have flu :-(
10:39:26 <boily> fizzie: me? nah. nothing surprising at all in here. it's only cough syrup with some paracetamol in it.
10:39:53 <boily> impomatic_: yup.
10:40:21 <fizzie> boily: People do drink DXM for fun, you know.
10:43:39 <boily> people make purple drank for fun too. that's their problem, not mine.
10:44:08 <boily> (like that time my stupid cousin went to a bar one time, and downed a whole bottle of syrup during the night. I wonder how he's still alive.)
10:52:48 <fizzie> I guess it's a moot point, since a quick log-grep reveals (2011-07-02) someone conversing about how they "just cant seem to stop doing -- dissociative hallucinogens -- whether it be Ketamine or dextromethorphan". (In a discussion which I'm sure was very on-topic.)
10:53:11 <fizzie> Oh, it's on-topic, it's just the wrong topic, since it goes into "crowleyan magick" and "charging sigils" immediately after.
10:53:40 <fizzie> I don't think we've seen many "wrong kind of esoteric" visitors as of late.
10:55:05 -!- Gregor` has joined.
10:55:29 -!- Gregor` has changed nick to Guest26100.
10:55:52 -!- nisstyre has quit (Ping timeout: 240 seconds).
10:55:53 -!- monotone has quit (Ping timeout: 240 seconds).
10:55:54 -!- Gregor has quit (Ping timeout: 240 seconds).
10:55:54 -!- int-e has quit (Ping timeout: 240 seconds).
10:55:55 -!- weissschloss has quit (Ping timeout: 240 seconds).
10:56:10 -!- monotone has joined.
10:56:17 <boily> of the multiple wrong kinds, I don't think I have seen any hispanophones here lately.
10:56:38 -!- int-e has joined.
10:56:49 <b_jonas> huh? what's the problem with hispanophones? spanish isn't esoteric a language enough?
10:56:58 <b_jonas> yeah, I guess English is more esoteric
10:57:23 <Jafet> Judging from their channel topic, I believe #selinux has a related problem.
10:57:58 <fizzie> Heh, I parsed that as "Swedish Linux" before even thinking of SELinux.
10:58:40 <boily> b_jonas: same thing with us here. “spanish oteric”. we've got people from Colombia and Venezuela, mainly.
10:58:53 <boily> `? oteric
10:59:01 <HackEgo> oteric? ¯\(°​_o)/¯
10:59:08 -!- weissschloss has joined.
11:03:38 -!- nisstyre has joined.
11:03:43 <b_jonas> oh...
11:04:11 -!- Sgeo_ has joined.
11:04:30 <b_jonas> I thought most channels that are language-specific versions of other channels have a language code at the end of the name following either a "-" or a "." separator
11:04:36 <b_jonas> but of course the confusion can make sense
11:04:43 -!- tromp_ has joined.
11:05:31 -!- weissschloss has quit (Excess Flood).
11:06:46 -!- FireFly has quit (Excess Flood).
11:06:49 <Jafet> The english-speaking channel for all emacs distributions, #emacsenen.
11:06:55 -!- `^_^ has joined.
11:07:15 -!- tromp has quit (Ping timeout: 244 seconds).
11:07:16 -!- nycs has quit (Ping timeout: 244 seconds).
11:07:47 -!- Sgeo has quit (Ping timeout: 261 seconds).
11:07:48 -!- weissschloss has joined.
11:08:22 -!- FireFly has joined.
11:09:48 -!- jameseb- has changed nick to jameseb.
11:11:21 -!- boily has quit (Quit: ENENENENEN CHICKEN).
11:18:14 <b_jonas> OOH!
11:19:18 -!- TieSoul_ has joined.
11:20:06 -!- DootBot has quit (Read error: Connection reset by peer).
11:20:36 -!- TieSoul has quit (Read error: Connection reset by peer).
11:22:21 -!- heroux has quit (Ping timeout: 255 seconds).
11:22:22 -!- jameseb has quit (Ping timeout: 255 seconds).
11:22:22 -!- qlkzy has quit (Ping timeout: 255 seconds).
11:23:08 -!- heroux has joined.
11:23:10 -!- jameseb has joined.
11:24:37 -!- qlkzy has joined.
11:27:05 -!- hogeyui___ has joined.
11:27:26 -!- hogeyui__ has quit (Ping timeout: 255 seconds).
11:29:41 -!- shachaf_ has joined.
11:29:42 -!- quintopia has joined.
11:29:58 -!- heroux_ has joined.
11:30:08 <quintopia> oh weird
11:30:20 -!- quintopi1 has quit (Ping timeout: 255 seconds).
11:30:21 -!- lambdabot has quit (Ping timeout: 255 seconds).
11:30:21 -!- shachaf has quit (Ping timeout: 255 seconds).
11:30:21 -!- heroux has quit (Ping timeout: 255 seconds).
11:30:45 -!- heroux_ has changed nick to heroux.
11:33:04 <quintopia> what's going on with this server
11:36:04 -!- lambdabot has joined.
11:38:09 <Melvar> quintopia: There appears to be a ddos attack going on again.
11:38:33 <quintopia> Melvar: same story, different attackers
11:43:48 -!- clog has quit (Ping timeout: 255 seconds).
11:44:15 -!- copumpkin has quit (Ping timeout: 255 seconds).
11:44:42 -!- maurer_ has quit (Ping timeout: 255 seconds).
11:46:16 -!- maurer has joined.
11:48:43 -!- TieSoul_ has changed nick to TieSoul.
11:49:29 -!- copumpkin has joined.
11:51:29 -!- DootBot has joined.
11:51:41 <TieSoul> Hey
11:53:15 <quintopia> hi hello whats up
11:56:20 <Melvar> dooot
12:01:35 -!- Lorenzo64 has joined.
12:02:49 <TieSoul> doot :P
12:02:50 <DootBot> TieSoul: PogChamp seems everybody's roll say. pew three? essentially be bot get? ヽ༼ຈل͜ຈ༽ノ ##bottesting OR?
12:04:00 <quintopia> fungot seems to make slightly more sense
12:04:00 <fungot> quintopia: indeed you do, replace those square brackets make plt code hard to read
12:06:08 <quintopia> TieSoul: whatcha working on now
12:06:42 <TieSoul> Not really anything at the moment
12:06:56 <TieSoul> doot
12:06:56 <DootBot> TieSoul: lotid, anyways cole over seen? I've because of the 3 shit that reason have!
12:12:22 -!- Tritonio has joined.
12:14:36 -!- lifthrasiir has quit (Ping timeout: 246 seconds).
12:15:32 -!- lifthrasiir has joined.
12:22:58 -!- Phantom_Hoover has joined.
12:26:52 -!- sebbu has quit (Ping timeout: 245 seconds).
12:26:56 -!- clog has joined.
12:27:56 -!- heroux has quit (Ping timeout: 250 seconds).
12:29:50 -!- heroux has joined.
12:39:02 -!- sebbu has joined.
12:39:42 -!- sebbu has quit (Changing host).
12:39:42 -!- sebbu has joined.
12:47:44 -!- DootBot has quit (Remote host closed the connection).
12:49:20 -!- DootBot has joined.
12:52:35 -!- augur has joined.
13:07:04 -!- Hjulle has joined.
13:09:36 -!- nys has joined.
13:24:09 <Hjulle> doot
13:24:10 * DootBot it'd TPP talked is could! KILL curve why on be. anyway. were is certain.
13:24:29 <Hjulle> ^bots
13:24:35 <Hjulle> !bots
13:34:46 <Melvar> ^prefixes
13:34:46 <fungot> Bot prefixes: fungot ^, HackEgo `, EgoBot !, lambdabot @ or ?, thutubot +, metasepia ~, idris-bot ( , jconn ) , blsqbot !
13:34:53 <Melvar> !prefixes
13:34:56 <Melvar> `prefixes
13:34:57 <HackEgo> Bot prefixes: fungot ^, HackEgo `, EgoBot !, lambdabot @ or ?, thutubot +, metasepia ~, idris-bot ( , jconn ) , blsqbot !
13:36:10 <myname> some time in the future we won't be able to write anything without triggering a bot
13:38:54 <Melvar> Given that several of the listed ones seem to be missing, I am not worried.
13:38:54 -!- DootBot has quit (Remote host closed the connection).
13:43:10 <fizzie> EgoBot is (hopefully) only temporarily gone; there's the whole bfjoust community to take care of, after all.
13:43:31 <fizzie> And metasepia's intermittently here.
13:44:24 -!- Tritonio has quit (Quit: Tritonio).
13:49:21 <Melvar> Far as I can tell, jconn has been disappeared since May. I was going to say I don’t know I’ve seen blsqbot, but it’s been around.
13:56:56 <b_jonas> Melvar: I don't run jconn continuously, only start it occasionally from my home computer. The alternative is j-bot which fftw runs, and was in on #jsoftware about five hours ago, it just isn't set up to join this channel.
13:57:05 <b_jonas> Wait, jconn?
13:57:09 <b_jonas> That's not my instance.
13:57:25 <b_jonas> The instance I run at home occasionally is evalj, with the prefix ]
13:57:30 <b_jonas> the prefix for j-bot is [
13:57:32 -!- Patashu has quit (Ping timeout: 250 seconds).
13:57:36 <b_jonas> and for jconn it's ) , yes
13:57:41 <b_jonas> but all of them listen to their name too
13:58:17 <b_jonas> I don't recall whose jconn is
13:58:25 <b_jonas> maybe it's jconn that's fftw's?
13:59:46 -!- DootBot has joined.
14:16:16 -!- Phantom_Hoover has quit (Ping timeout: 250 seconds).
14:33:48 -!- Lorenzo64 has quit (Read error: Connection reset by peer).
14:45:17 -!- Phantom_Hoover has joined.
15:16:29 <Bike> http://blog.openworm.org/post/96090226275/any-advanced-math-wizards-out-there
15:39:44 -!- oerjan has joined.
15:39:47 -!- mihow has joined.
15:40:32 -!- conehead has joined.
15:47:46 -!- V4N13 has joined.
15:53:14 -!- Lorenzo64 has joined.
15:59:38 <fizzie> b_jonas: Does "fftw" have anything to do with FFTW?
16:02:39 <b_jonas> fizzie: yes, I believe that's where he's got his nick
16:03:32 -!- AnotherTest has quit (Ping timeout: 245 seconds).
16:25:29 -!- V4N13 has quit (Quit: Leaving).
16:26:02 -!- V4N13 has joined.
16:28:32 -!- V4N13 has left.
16:50:17 -!- oerjan has quit (Quit: leaving).
16:59:39 -!- zzo38 has joined.
17:00:53 -!- DootBot has quit (Remote host closed the connection).
17:05:36 -!- TieSoul has changed nick to TieSoul_.
17:05:55 -!- TieSoul_ has changed nick to TieSoul.
17:21:23 -!- TieSoul has changed nick to TieSoul_.
17:21:27 -!- MoALTz has joined.
17:21:29 -!- TieSoul_ has changed nick to TieSoul.
17:21:36 -!- TieSoul has changed nick to TieSoul_.
17:21:42 -!- TieSoul_ has changed nick to TieSoul.
17:22:19 <Sgeo_> Is there a function (a -> Bool) -> Traversal' a a such that the traversal it makes traverses only when its argument gives back true?
17:23:02 <Sgeo_> I have a feeling a function of that type might be a bit.. essential in a dynamically typed setting
17:24:13 <elliott> no, because you can pass back in an a that would fail the predicate, breaking the laws
17:25:07 <Sgeo_> Didn't there used to be a function that could break the laws?
17:25:21 <elliott> I think it exists, yes.
17:29:23 -!- TieSoul has changed nick to TieSoul_.
17:29:29 -!- TieSoul_ has changed nick to TieSoul.
17:32:30 <Sgeo_> :t uncurry id
17:32:31 <lambdabot> (b -> c, b) -> c
17:42:33 <Jafet> iceweasel (31.0-1) unstable; urgency=medium
17:42:34 <Jafet> * Since version 30.0, NTLMv1 authentication has been disabled because it's known as insecure. Companies and organizations still deploying the older protocol should upgrade to NTMLv2, unfortunately, it's not supported by iceweasel.
17:50:37 -!- myndzl has changed nick to myndzi.
17:52:52 -!- TieSoul has changed nick to TieSoul_.
17:52:55 -!- TieSoul_ has changed nick to TieSoul.
17:57:37 -!- TieSoul has changed nick to TieSoul_.
17:57:42 -!- TieSoul_ has changed nick to Tiesoul.
18:00:20 -!- Froox has joined.
18:00:51 -!- Frooxius has quit (Read error: Connection reset by peer).
18:02:25 -!- shachaf_ has quit (Changing host).
18:02:25 -!- shachaf_ has joined.
18:02:32 -!- shachaf_ has changed nick to shachaf.
18:18:56 -!- Phantom__Hoover has joined.
18:21:22 -!- Phantom_Hoover has quit (Ping timeout: 260 seconds).
18:23:42 -!- Phantom__Hoover has quit (Ping timeout: 260 seconds).
18:24:23 -!- DootBot has joined.
18:29:28 -!- Guest26100 has changed nick to Gregor.
18:35:16 -!- Phantom__Hoover has joined.
18:54:02 -!- aretecode has joined.
19:00:06 -!- jj2baile has quit (Ping timeout: 260 seconds).
19:10:47 <fizzie> http://sprunge.us/jeLQ -- this (picked up from ##c) was quite amusing. (Undefined, of course.)
19:12:26 <olsner> (of course)
19:13:15 -!- pillow_ has joined.
19:13:35 -!- `^_^ has changed nick to `^_^v.
19:18:21 <fizzie> http://sprunge.us/aHQj is kind of analogous except relying on non-finite math rather than undefined stuff.
19:20:10 <`^_^v> what's the UB in the first one?
19:20:32 <fizzie> If you wonder about scanf(...) == 1, well, you know how GCC can be, all "warning: ignoring return value of 'scanf', declared with attribute warn_unused_result", so I just wrote an ion. (That's an assertion without the assert.)
19:21:13 <fizzie> I'm guessing it's generating a trap representation -- an object representation that does not represent a value of the type.
19:21:37 <fizzie> Well, not the generating, the act of reading it.
19:21:42 <olsner> representation of _Bool, I assume.. e.g. it might be a byte and might require that the byte be either 1 or 0
19:21:54 <fizzie> Yes, that's very conventional.
19:22:24 -!- Bicyclidine has joined.
19:22:28 <olsner> and if (v.c) could perhaps generate something like if (v.c == true), which would then fail
19:22:30 <fizzie> "Certain object representations need not represent a value of the object type. If the stored value of an object has such a representation and is read by an lvalue expression that does not have character type, the behavior is undefined." (C11 6.2.6.1p5)
19:23:50 -!- pillow_ has left ("Leaving").
19:26:05 -!- Lorenzo64 has quit (Ping timeout: 260 seconds).
19:26:24 <fizzie> That's quite close. Actually, with optimizations off, it does "xorl $1, %eax; testb %al, %al; je skip_over_the_true_branch" to perform the !v.c test.
19:27:03 <fizzie> With optimizations on, it might generate something else, but it also assumes (quite rightly) a boolean and only tests once.
19:27:06 -!- lollo64it has joined.
19:27:26 <fizzie> (In fact, my test case of if (x) f(); if (!x) f(); got turned into f(); alone.)
19:28:08 <olsner> the xor thing is odd though, if it does the test anyway, why not just do jne instead?
19:28:32 <fizzie> Well, I mean, it's a straight-forward translation.
19:28:44 <olsner> ah, it was optimization off
19:28:59 <fizzie> Yes. The "!" is the "xorl $1, %eax" part, and then comes the if (...) part.
19:33:03 <fizzie> Curiously enough, this clang (with optimizations off) ands the _Bool value by 1 before doing any testing. With them on, it assumes, but also just tests once for nonzeroness. So both "work".
19:35:35 <zzo38> In LLVM there is the i1 type for booleans
19:40:15 <zzo38> But I think it would also be better the way Pascal does it; the type specifies the range of possible values.
19:45:02 <zzo38> So you can write it is 0 to 255, or whatever
19:54:04 -!- DootBot has quit (Remote host closed the connection).
19:54:30 -!- DootBot has joined.
19:55:26 <Tiesoul> !befunge98 "CEXE"4(5R#@6.@
19:55:27 <DootBot> Tiesoul: 6
19:55:37 <Tiesoul> is that supposed to happen?
19:56:28 <Tiesoul> !befunge98 "CEXE"4(5K#@6. @
19:56:32 <DootBot> Tiesoul: (Execution timed out.)
19:56:36 <Tiesoul> !befunge98 "CEXE"4(5K#@6. @
19:56:40 <DootBot> Tiesoul: (Execution timed out.)
19:56:42 <Tiesoul> huh
20:01:46 -!- DootBot has quit (Remote host closed the connection).
20:02:07 -!- DootBot has joined.
20:02:15 <Tiesoul> !befunge98 "CEXE"4(5R#@6.@
20:02:15 <DootBot> Tiesoul: No output.
20:02:39 <Tiesoul> ???
20:02:45 <Tiesoul> this should output 6 I think
20:03:03 <Tiesoul> !befunge98 "CEXE"4(5K#@6.@
20:03:07 <DootBot> Tiesoul: (Execution timed out.)
20:03:18 <Tiesoul> !befunge98 "CEXE"4(4K#@6.@
20:03:18 <DootBot> Tiesoul: No output.
20:03:24 <Tiesoul> !befunge98 "CEXE"4(1K#@6.@
20:03:24 <DootBot> Tiesoul: No output.
20:03:27 <Tiesoul> !befunge98 "CEXE"4(2K#@6.@
20:03:28 <DootBot> Tiesoul: 6
20:03:43 <Tiesoul> "CEXE"4(2R#@6.@
20:03:53 <Tiesoul> !befunge98 "CEXE"4(2R#@6.@
20:03:54 <DootBot> Tiesoul: No output.
20:04:37 <Tiesoul> !befunge98 "CEXE"4('#1X@5.@
20:04:37 <DootBot> Tiesoul: 5
20:04:44 <Tiesoul> !befunge98 "CEXE"4('#2X@5.@
20:04:44 <DootBot> Tiesoul: 1
20:06:02 <Tiesoul> !befunge98 "CEXE"4(cA#@5.@
20:06:02 <DootBot> Tiesoul: 5
20:06:21 <Tiesoul> !befunge98 "CEXE"4(d0A#@5.@
20:06:21 <DootBot> Tiesoul: 5
20:06:25 <Tiesoul> ...
20:06:30 <Tiesoul> this shouldn't happen I think
20:06:47 <Tiesoul> oh wait
20:06:49 <Tiesoul> nevermind
20:06:57 <Tiesoul> !befunge98 "CEXE"4(e01A#@5.@
20:06:57 <DootBot> Tiesoul: 5
20:07:00 <Tiesoul> wat
20:07:20 <Tiesoul> !befunge98 "CEXE"4(d01A#@5.@
20:07:20 <DootBot> Tiesoul: No output.
20:07:21 <Tiesoul> there
20:07:23 <Tiesoul> :P
20:09:17 -!- conehead has quit (Quit: Computer has gone to sleep).
20:14:21 <Taneb> *yawn*
20:15:16 <Taneb> Today I saw Guardians of the Galaxy, for the third time
20:15:37 <Taneb> Which I think makes it the movie I have seen the most number of times in a cimema
20:23:38 -!- Phantom__Hoover has quit (Ping timeout: 260 seconds).
20:26:40 -!- diginet_ has quit (Quit: diginet has quit!).
20:27:10 -!- diginet has joined.
20:27:57 -!- KingOfKarlsruhe_ has changed nick to KingOfKarlsruhe.
20:28:07 -!- KingOfKarlsruhe has quit (Changing host).
20:28:07 -!- KingOfKarlsruhe has joined.
20:45:14 -!- J_Arcane has quit (Quit: WeeChat 0.4.4-dev).
20:46:59 -!- J_Arcane has joined.
20:56:13 <quintopia> hi Taneb
20:56:14 <quintopia> why
20:56:23 <quintopia> i haven't seen it
20:56:35 <Taneb> It's a fun, light-hearted sci-fi movie
20:56:51 <Taneb> I recommend it
20:58:37 <quintopia> ok
20:58:50 <quintopia> what about snowpiercer
21:00:33 <Taneb> Haven't seen it
21:02:03 -!- Bicyclidine has quit (Ping timeout: 246 seconds).
21:10:22 -!- not^v has joined.
21:12:21 -!- Bicyclidine has joined.
21:14:24 -!- drdanmaku has joined.
21:17:26 <Taneb> DootBot: !help
21:17:26 <DootBot> Taneb: !guess can you change shit Kappa yourself!
21:17:35 <Taneb> :(
21:17:57 <zzo38> What does that mean?
21:20:05 <Taneb> I don't know
21:32:16 -!- mihow has quit (Quit: mihow).
21:35:55 <quintopia> Cillian Murphy!
21:43:53 -!- MoALTz_ has joined.
21:46:20 -!- jameseb has quit (Ping timeout: 244 seconds).
21:47:12 -!- nycs has joined.
21:48:24 -!- diginet has quit (Ping timeout: 244 seconds).
21:48:29 -!- jameseb has joined.
21:49:10 -!- diginet has joined.
21:49:45 -!- jarcane has joined.
21:51:50 -!- KingOfKarlsruhe_ has joined.
21:51:56 -!- Taneb has quit (Disconnected by services).
21:52:01 -!- atriq has joined.
21:52:48 -!- KingOfKarlsruhe has quit (Disconnected by services).
21:52:53 -!- J_Arcane has quit (*.net *.split).
21:52:53 -!- MoALTz has quit (*.net *.split).
21:52:54 -!- lifthrasiir has quit (*.net *.split).
21:52:56 -!- FireFly has quit (*.net *.split).
21:52:56 -!- `^_^v has quit (*.net *.split).
21:53:14 -!- KingOfKarlsruhe_ has changed nick to KingOfKarlsruhe.
21:53:46 -!- mauris has joined.
21:53:47 -!- KingOfKarlsruhe has quit (Changing host).
21:53:47 -!- KingOfKarlsruhe has joined.
21:56:13 -!- lifthrasiir has joined.
21:58:14 -!- jj2baile has joined.
22:01:42 -!- mauris has quit (Quit: Leaving).
22:01:50 -!- Bicyclidine has quit (Ping timeout: 244 seconds).
22:01:52 <quintopia> HALP HOW TO EXORCISE LAPTOP
22:05:48 -!- Bicyclidine has joined.
22:11:13 -!- FireFly has joined.
22:11:27 -!- MoALTz has joined.
22:11:27 -!- `^_^v has joined.
22:12:43 -!- MoALTz has quit (Max SendQ exceeded).
22:12:52 -!- `^_^v has quit (Ping timeout: 305 seconds).
22:13:54 <quintopia> no seriously there is a demon in this computer
22:16:18 -!- Bicyclidine has quit (Ping timeout: 244 seconds).
22:17:54 <Sgeo_> quintopia: I suggest dunking it in holy water.
22:18:51 <quintopia> Sgeo_: i don't have enough money to buy a replacement :/
22:24:32 -!- skarn has quit (Ping timeout: 250 seconds).
22:25:41 -!- skarn has joined.
22:26:03 -!- skarn has changed nick to Guest21595.
22:26:11 <b_jonas> evening
22:26:41 <b_jonas> so I'm reading the classic textbook Aho, Ullman, "The Theory of Parsing, Translation, and Compiling", (1972),
22:27:02 <b_jonas> and it seems like a really good book that tells what I wanted to learn about context-free languages in a style I like
22:27:28 <b_jonas> but there's a sentence in it that seems as if it's written to address the community of this channel specifically
22:28:54 <b_jonas> after stating that there are context-free languages that have no unambiguous context-free grammars, and that these are called inherently ambiguous, it states “no inherently ambiguous programming languages have been devised yet”
22:32:55 -!- TieSoul-mobile has joined.
22:32:58 <TieSoul-mobile> Hi
22:33:20 -!- oerjan has joined.
22:33:43 <TieSoul-mobile> Hey œrjan
22:34:57 <b_jonas> `hello TieSoul
22:34:58 <HackEgo> Hello
22:35:15 <oerjan> hijsel (your nick is a pun on your real name, right?)
22:35:21 -!- evalj has joined.
22:36:08 <b_jonas> what?
22:36:16 <oerjan> that was to TieSoul-mobile
22:37:30 <oerjan> i saw his windows username in something he pasted
22:41:09 <oerjan> am i being creepy
22:42:16 -!- Guest21595 has quit (Changing host).
22:42:16 -!- Guest21595 has joined.
22:42:34 <HackEgo> [wiki] [[List of ideas]] http://esolangs.org/w/index.php?diff=40358&oldid=40351 * B jonas * (+487) /* Mathematics */ inherently ambiguous context-free language
22:42:41 -!- Guest21595 has changed nick to skarn.
22:42:52 -!- Bicyclidine has joined.
22:46:02 <fizzie> oerjan: Not at all, Mr. Johansen.
22:47:35 <oerjan> okeikki
22:48:01 <oerjan> although i'm not sure it counts when we put it openly in the real name field
22:48:15 <oerjan> *ircname
22:48:37 -!- Bicyclidine has quit (Ping timeout: 260 seconds).
22:49:40 <b_jonas> does such a language already exist?
22:50:32 <oerjan> i recall oklopol had a language that guessed the meaning from the types
22:50:39 <oerjan> or something like that
22:54:01 <shachaf> coppro: asking "is anyone around?" when you have a specific question isn't very nice
22:58:32 <oerjan> :t \p -> prism' id (mfilter p)
22:58:34 <lambdabot> (Choice p, Applicative f) => (a -> Bool) -> p a (f (Maybe a)) -> p (Maybe a) (f (Maybe a))
22:59:44 <oerjan> > [1,2,3,4] & traverse.prism' id (mfilter odd) %~ (+2)
22:59:45 <lambdabot> Occurs check: cannot construct the infinite type:
22:59:45 <lambdabot> a ~ Data.Maybe.Maybe a
22:59:45 <lambdabot> Expected type: a -> Data.Maybe.Maybe a
22:59:45 <lambdabot> Actual type: a -> a
22:59:49 <oerjan> eep
23:00:09 <oerjan> :t mfilter
23:00:11 <lambdabot> MonadPlus m => (a -> Bool) -> m a -> m a
23:00:22 <oerjan> oh right hm
23:00:47 <oerjan> > [1,2,3,4] & traverse.prism' id (mfilter odd.return) %~ (+2)
23:00:49 <lambdabot> [3,2,5,4]
23:01:04 <oerjan> Sgeo_: ^ *MWAHAHAHAHA*
23:01:35 <shachaf> > [1,2,3,4] & traverse . filtered odd %~ (+2)
23:01:37 <lambdabot> [3,2,5,4]
23:01:53 <shachaf> prism??
23:01:53 <oerjan> oh i didn't find that where i looked
23:02:03 <oerjan> why not?
23:02:19 -!- nys has quit (Quit: quit).
23:02:22 <oerjan> it can only traverse one item after all >:)
23:02:29 <Sgeo_> > [1,2,3,4] & traverse . filtered odd %~ (+1)
23:02:31 <lambdabot> [2,2,4,4]
23:02:50 <oerjan> i suppose making it not a prism discourages using it in even more evil ways
23:03:58 <shachaf> it's even more law-violating as a prism
23:04:14 <shachaf> since there's no guarantee that the predicate applies to the thing you're constructing
23:04:45 <b_jonas> wot is this?
23:04:50 * Sgeo_ ponders a Detect profunctor, that just contains a hashmap of symbols to bools, starting them all at true, and as various capabilities are used, setting them false as needed
23:04:56 <oerjan> right, but it breaks for the same reason - not treating the selected subset as a closed type
23:05:02 <oerjan> i think.
23:05:17 <shachaf> closed?
23:05:37 <shachaf> i guess "closed under whatever arbitrary operation/value you provide"
23:05:39 <Sgeo_> e.g. using dimap sets 'id to #f, using strong/etc. sets 'iso to #f
23:06:25 <Sgeo_> So effectively determining the 'type' of optic even though they're all functions in a dynamically typed language
23:06:47 <shachaf> that sounds horrible
23:07:27 <Sgeo_> ?
23:07:59 <Sgeo_> Hmm, actually, dimap id id would fail to be id, hmm
23:08:32 -!- Phantom__Hoover has joined.
23:09:18 <Sgeo_> But still, it reveals what will and will not throw an exception
23:09:42 <Sgeo_> Even if dimap blah id id should be morally equivalent to blah, it isn't because blah might not be a profunctor
23:09:53 <Sgeo_> (Ok, so I'm changing order of arguments a bit)
23:16:51 <oerjan> oh hm filtered is in Control.Lens.Fold because that's the only use that's definitely safe
23:17:03 <oerjan> but it's defined such that it allows cheating
23:17:20 -!- Bicyclidine has joined.
23:32:20 <oerjan> b_jonas: oh inherently ambiguous is a technical term
23:32:37 <b_jonas> oerjan: yes, I tried to explain what it means
23:32:42 <oerjan> in that case i _really_ doubt any have been made
23:32:52 <b_jonas> why doubt?
23:33:11 <oerjan> ok maybe by accident
23:33:20 <b_jonas> I mean, there's so many esolangs, and this fact isn't something secret, it's in many other books about formal languages too, even if not formulated as a call for challenge
23:33:30 <oerjan> well it's a more advanced concept than most esolangs use, frankly
23:34:45 <oerjan> also i haven't read the wiki article yet, i need to catch up on the wiki later
23:34:53 -!- Patashu has joined.
23:36:52 <b_jonas> oerjan: you don't have to read what I wrote on the wiki, I just said the same thing on this channel 70 minutes ago
23:36:59 <b_jonas> I think even a very simple construction might work,
23:37:52 <b_jonas> such as a brainfuck variant where if the program doesn't have balanced brackets then it's considered a brainfuck program with an alternate symbol set where <> are the loop delimiters and [] are the head move operators
23:38:56 <b_jonas> but it would be nicer if the language wasn't a brainfuck variant of course
23:41:08 <oerjan> hm i take it the language of unbalanced brackets isn't context-free then?
23:43:31 <b_jonas> the language of unbalanced brackets is context-free
23:43:32 <oerjan> hm actually i doubt that
23:43:50 <oerjan> because i recall defining a monoid of bracket matching state
23:44:09 <oerjan> in that case i doubt your language actually is inherently ambiguous
23:44:19 <b_jonas> the book proves that the complement of any language recognized by a deterministic push-down automaton can also be recognized by a deterministic push-down automaton, which proves it's context-free
23:44:39 <oerjan> hm right
23:44:47 <oerjan> that's obvious
23:44:48 <b_jonas> but the point here is that if the brackets are balanced, then the program is still valid, with the original brainfuck semantics
23:45:10 <oerjan> yes, but that doesn't mean it's intrinsically ambiguous
23:45:34 <b_jonas> so the set of valid programs is the language of strings with balanced brackets unioned with the language of strings with balanced angle brackets,
23:45:38 <oerjan> you might be able to separate the two legal sublanguages into disjoint context-free languages
23:46:12 <b_jonas> well, I'm not completely sure it's intrinsically ambiguous yet, so you might need a somewhat different construction, yes
23:46:29 <b_jonas> but I think it is
23:47:05 <oerjan> hm well the latter is an intersection language, so not necessarily context-free
23:48:24 <oerjan> although that doesn't prove you cannot split in a different way
23:48:36 <oerjan> well you go ahead finding a proof :P
23:49:15 <b_jonas> that, but more importantly define a similar language that isn't a brainfuck derivative, because we don't need another brainfuck derivative
23:49:38 <oerjan> good, good
23:50:55 <Sgeo_> Is there something like at or ix (not sure which) that allows for a default if the key isn't found? I assume that's only safe if the user promises to treat "no value present" as "this value is the default" consistently
23:51:22 <b_jonas> Sgeo_: for what data structure?
23:51:32 <Sgeo_> Map
23:51:39 <Sgeo_> Is the thing I most have in mind
23:52:07 <b_jonas> guessing yes, let me look it up
23:52:53 <oerjan> Sgeo_: you use those together with non
23:53:22 <oerjan> :t non
23:53:24 <lambdabot> (Profunctor p, Functor f, Eq a) => a -> p a (f a) -> p (Maybe a) (f (Maybe a))
23:53:49 <b_jonas> Sgeo_: http://www.haskell.org/ghc/docs/7.6.3/html/libraries/containers-0.5.0.0/Data-Map-Lazy.html#v:findWithDefault
23:54:05 <oerjan> b_jonas: he's talking about lens
23:54:26 <Sgeo_> hmm
23:54:30 <b_jonas> oh, so that's why those names "ix" and "at" are so strange
23:54:46 <Sgeo_> But this always forcibly deletes the entry if you try to set to the value given to the non
23:54:48 <b_jonas> ("at" would make sense in C++)
23:55:02 <oerjan> Sgeo_: yes that's considered a feature?
23:55:12 <Sgeo_> ok
23:56:00 <Sgeo_> I love simple :: Iso' a a.
23:56:34 <oerjan> that _is_ pretty simple
23:56:54 <shachaf> Why not Equality'?
23:57:18 <shachaf> Oh, it is Equality'.
23:57:45 <Sgeo_> Is Equality' what I called 'id, or something else?
23:57:51 <shachaf> I don't know.
←2014-08-28 2014-08-29 2014-08-30→ ↑2014 ↑all