00:01:08 Is there any FPGA/CPLD where the software to program it is built-in to the device itself instead of requiring a PC? 00:03:52 (still it does sound like "oh btw, did I mention the bridge you've been walking on for the last few years has never been tested? It could potentially collapse at any moment.") 00:04:27 http://en.wikipedia.org/wiki/False_vacuum hth >:) 00:05:13 In http://en.wikipedia.org/wiki/Quantum_field_theory, a false vacuum is a http://en.wikipedia.org/wiki/Metastability sector of http://en.wikipedia.org/wiki/Space that appears to be a http://en.wikipedia.org/wiki/Vacuum_state, but is unstable due to http://en.wikipedia.org/wiki/Instanton effects that may http://en.wikipedia.org/wiki/Quantum_tunnelling to a lower energy state. 00:05:19 thanks wikipedia, that explains a lot 00:05:32 ...what kind of copy/paste is that. 00:06:11 uhm I've been using colloquy for a couple weeks and its behaviour is often... unexpected 00:06:13 the introduction is not very helpful. 00:08:03 I'm trying very hard to believe that what follow is 00:08:14 ...i guess not. 00:08:37 try the http://en.wikipedia.org/wiki/Schild%27s_Ladder link in there instead. 00:16:15 i think the part about it being in quantum field theory may be a red herring to understanding what a false vacuum is 00:20:18 that _does_ tend to hide the sheer horror of it under incomprehensible math, yes. 00:21:46 ok well see you 00:21:53 bye 00:22:03 and thanks for all the interesting new stuff 00:22:11 it all sounds so fun all these big words 00:22:31 http://www.sheldoncomics.com/archive/120914.html :P 00:22:31 -!- Arc_Koen has quit (Quit: that's dr. turing to you, punk). 00:24:48 thats a pretty good comic 00:26:03 Can this be used to make a program on microcontrollers (and on the FPGA itself) to do dynamic programming on FPGA? http://dfusion.com.au/wiki/tiki-index.php?page=AT40K+Bitstream+Format 00:26:50 oerjan: well this is the problem with the universe http://www.sheldoncomics.com/archive/120907.html 00:27:58 dora is the healthy one 00:32:00 and heres what the comic points to 00:32:24 i just happened to have open http://en.wikipedia.org/wiki/Sorites_paradox 00:33:42 so the thing of it is, if one package can be unique, with a special recipient and a magical journey 00:34:19 if you add more packages, at what point do they cease to be unique, and on magical journeys 00:36:06 i imagine that talkshow hosts feel the same way about celebrities 00:40:55 or, help me my brain starts learning every time i attend lectures.. but they have hooked me up to youtube lecture streams as in a clockwork orange (i admit i dont want to learn) 00:56:17 ...thank you for making me regret pasting that link. 00:56:32 it's just what iti does 00:56:40 yeah, i react like this to everything 00:58:34 on the micro scale i am typing... on the macro scale i am dying 00:59:35 but, can i really treat dying as a verb i am doing? 01:05:18 oerjan: well.. if i bite into a cooke am i doing hysteresis? 01:05:35 ^cookie 01:07:33 haha.. 01:09:24 http://www.amazon.com/Noras-Hair-Salon-Shear-Disaster/product-reviews/B004FK5E8E 01:13:19 that explains a lot 01:21:46 -!- madbr has joined. 01:21:51 http://www.sumotorrent.com/en/details/6113662/Noras Hair Salon 3 Shear Disaster 2011 DVDRip XviD-ph2.html 01:25:07 watch this movie for us itidus21 01:28:36 in another universe i did... all that is needed now is to find this other me 01:29:48 and so began the quest to find another universe 01:43:14 shachaf: in context "everything" meant "everything in the real world" 01:43:27 we did discuss the arithmetic hierarchy later, though 01:43:51 also, how goes? 01:46:13 * shachaf is back in the bay area. 01:47:00 the bay of biscay? 01:47:14 Is there any other? 01:51:26 bagel area 01:52:30 * shachaf probably ought to figure out what to do next. 01:53:00 -!- quintopia has quit (Ping timeout: 244 seconds). 02:07:21 what would a 32 bit version of the 6502 look like 02:10:56 dogs playing poker 02:11:36 a 32-bit processor with only 3 registers would be amusing 02:12:11 That's basically x86, isn't it? 02:12:18 c.c 02:12:32 ahah :D 02:12:41 So that's why it's called 386 02:12:55 86 is kinda half way between a z80 and an ARM 02:13:50 > 86*2-80 -- ARM? 02:13:51 92 02:15:03 IPv4 is running out. 02:15:16 i am a strong believer in path dependance in PC hardware..(was just reading about the word path dependance) and i have tried to rant about it in some places i think 02:15:53 Is itidus21 a bot? 02:16:25 fungot, what do you think about path dependence? 02:16:26 Jafet: http://www.scheme.com/ tspl2d/ fnord the hopes of fixing the font problem, is what i'm saying is it's trivial to write 02:16:50 no 02:17:35 fungot should have a mode like sourbot_ where you can seed it with a word. 02:17:35 shachaf: if i want. 02:17:42 fungot: you want. 02:17:42 shachaf: it's time to poof. it's like fnord 02:17:51 ^style 02:17:52 Available: agora alice c64 ct darwin discworld europarl ff7 fisher fungot homestuck ic irc* iwcs jargon lovecraft nethack pa qwantz sms speeches ss wp youtube 02:17:54 fungot 02:17:54 itidus21: hyphens or not. listening ( reading) feels uncomfortable because i suppose i could 02:17:56 fungot 02:17:56 itidus21: ( that's cl, though, if i let it loose in e.g. his fnord book " combinatory logic" is stupid? try using poc. 02:17:57 fungot 02:17:58 itidus21: but stuff like fnord. and here, " i", a book on my head as something i can never remember which argument i'm allowed to do ' korsossa' a module system, 02:18:00 I think fungot wants to talk about fnord. 02:18:01 Jafet: you're probably part of a type does not exist in your paste is an example line of code that is either working or very close 02:18:09 Jafet: Are you an op in here? 02:18:19 Uhh, am I, fungot? 02:18:20 Jafet: and check with xev what keys are bound to a procedure in the procedure's scope. if you 02:18:29 I think he says no. 02:19:38 shachaf: i think for example PC's don't need to be based on circuit boards. 02:20:23 then again that may be because i don't realize what all that stuff on circuit boards does 02:21:21 -!- nortti has quit (Read error: Operation timed out). 02:25:18 basically i think pc's are too upgrade focused.. i think that the machines could possibly be more efficient if you just ordered one efficient mass of electrical components which didn't care about space or extensability 02:25:36 ^extensibility 02:27:56 They don't *have* to be based on circuitboards, and indeed the bulk of the circuitry isn't actually on a board (it's in the chips), but boards are easy to manufacture and design. 02:29:26 right, circuit boards are still used even on computers not meant to be upgradeable 02:29:33 like the macbook air and "ultrabooks" 02:29:35 also cell phones, etc 02:29:53 humm.. ok ill skip onto my next point then. 02:29:57 there's a tremendous fixed cost to engineering a bunch of stuff together onto one chip 02:29:59 -!- nortti has joined. 02:30:03 you only do it if you're selling a bajillion of something 02:30:16 you try to buy standard parts and integrate them at board level 02:30:18 itidus21, look up 'system on a chip' though, it's basically what you were talking about. 02:30:30 Apple sells a bajillion iphones and cares very much about making them thin, light, poer-efficient, etc. 02:30:33 so they design some custom chips 02:30:40 They should release a new dip called "system on a chip". 02:31:14 that would sell well among people who were on a good salary 02:31:35 Even then you'll still need a board to solder USB ports etc. onto. 02:31:55 itidus21: you can make an AVR microprocessor blink prime numbers to an LED with only the chip, a battery, a resistor, and the LED 02:31:58 no circuit board 02:33:53 like if they sat down (as they always do before working) and decided to do a design which incorporated all the parts of a pc in one dependant design 02:34:05 sometimes they have standing desks 02:35:25 kmc, how often do you think Clojure people copy Haskell stuff without realizing that Clojure functions can do things that Haskell functions can't? 02:35:27 i imagine they could cut down on bus latency if they had enough design freedom 02:35:49 kmc: You'd only do that if you were really board. 02:37:34 itidus21 are you an electrical engineer now 02:38:38 i'm a cosmology professor 02:40:06 kmc: no.. >.< 02:41:49 itidus21: it is pretty common these days to combine multiple semiconductor dies into a single package that a circuit board designer would call "a chip" 02:42:05 e.g. processor and ram stacked together into a single package with a single set of legs (well, more likely, balls) to talk to the outside world 02:43:02 that is a level of integration between die-level and board-level 02:43:16 AMD makes this 12-core CPU which is basically just two of their 6-core CPUs stuck together in one package which fits in one socket 02:43:28 we had a box with 4 of those at my last job... it was pretty sick 02:43:47 the other day i heard someone argue that cpu is a bottleneck and gpu is not... that sparked this train of thought that they are mad 02:44:00 it depends on what you're doing... 02:44:06 yeah @_@ 02:44:11 it does.. 02:44:16 for bitcoin mining the GPU is the only important component 02:44:28 people build boxes with four $500 graphics cards, $20 CPU, $20 of RAM 02:44:46 you don't even need the IO bandwidth to/from the graphics cards 02:44:46 $20 can get you a lot of RAM these days. 02:44:53 * shachaf 's laptop has $40 worth of RAM. 02:45:03 people will cut pins off of the graphics cards so they fit in the slower PCIe x1 slots 02:45:17 that's one extreme 02:48:39 i guess that the form of productivity they are doing with those graphics cards is that they are changing the world by accumulating money 02:49:41 i am not sure of the right wording for this 02:51:05 i'm not sure that kind of bitcoin mining is profitable anymore 02:51:35 Are any other kinds of bitcoin mining profitable? 02:51:41 also even if you accumulate a bunch of bitcoins, the exchange you use to turn them into real money will probably get hacked and you'll lose everything 02:51:55 Not if you turn them into real money first. 02:52:05 -!- madbr has left. 02:53:40 i mean, on some level it is productive to transfer or create money 03:14:26 kmc: hmm.. could it be that some software is best written for gpus then? 03:14:36 uh, yes 03:14:44 some algorithms execute much much faster on GPUs 03:15:00 GPUs have what's called a SIMD architecture: single instruction, multiple data 03:15:03 my understanding is that most software runs exclusively on cpus 03:15:13 meaning that you can operate on a lot of data at once, if you're doing the same thing to each piece of data 03:15:44 humm 03:16:03 they could call them something fancy like gpu-apps 03:16:08 in the case of bitcoin mining, you are applying the same hash function (double SHA256) to a lot of different inputs 03:16:30 trying to find an input such that the output has a certain unusual property 03:16:59 regardless of the viability of the currency, the core bitcoin idea of using hash chaining as a distributed timestamp service is really fucking clever 03:17:15 one of the coolest new ideas i've heard in computer science in the past few years 03:18:07 Isn't that what hashcash does? 03:18:27 At least in the "searching for input where output has X propert" thing 03:18:57 Ugh, GitHub for Windows has an ugly metro-ish UI 03:20:09 maybe some compilers should have a -gpu parameter 03:21:09 Sgeo: hmm, it does use hashing for proof of work 03:21:19 but it doesn't provide a distributed timestamp service or anything so fancy 03:21:47 the bitcoin protocol lets you establish cryptographically that you had a specific piece of data at a specific time 03:21:54 without anyone trusting a central entity 03:22:02 which seems useful beyond cryptocurrency 03:22:18 there's an application to naming (namecoin) and there would seem to be applications to intellectual property, etc 03:22:24 ok i see its called gpgpu 03:36:27 -!- FreeFull has quit (Ping timeout: 246 seconds). 03:38:45 -!- FreeFull has joined. 03:39:12 -!- copumpkin has quit (Quit: Computer has gone to sleep.). 03:41:43 -!- DHeadshot has quit (Ping timeout: 272 seconds). 03:41:48 -!- Phantom_Hoover has quit (Remote host closed the connection). 03:42:33 -!- DHeadshot has joined. 03:46:56 For algorithms which execute much faster on GPUs, is that what Checkout esolang is for? 03:52:29 -!- DHeadshot has quit (Ping timeout: 272 seconds). 03:53:07 zzo38: i think so 03:57:15 -!- augur has joined. 03:57:32 APPLY LAMBDA foo APPLY itidus21 03:57:44 something like that.. 03:58:55 what i mean is 03:59:06 you can apply itidus to foo 03:59:25 but i think i said it wrong 04:00:13 -!- invariable has changed nick to variable. 04:00:34 eg, applying itidus21 to ESME results in a country practice 04:01:06 http://www.iwt.net.au/sideprojects/esme-groove.jpg 04:02:03 -!- copumpkin has joined. 04:03:41 -!- augur has quit (Remote host closed the connection). 04:11:29 -!- augur has joined. 04:15:56 -!- augur has quit (Remote host closed the connection). 04:39:09 -!- augur has joined. 04:39:20 -!- augur has quit (Remote host closed the connection). 05:17:21 There exists a language called Smarty. 05:18:06 It's a template language. How boring 05:23:52 -!- augur has joined. 05:31:10 -!- augur has quit (Remote host closed the connection). 05:36:38 hmm, compiler feature idea: if the user supplies code that's incorrectly indented, it just reindents the source as it compiles it 05:37:05 * ais523 is continuing on their crusade to annoy both Python fans and non-Python fans equally with programming language style 05:37:35 I guess if the source is read-only, it'd refuse to compile it unless it were correctly indented already 05:38:00 hehe 05:38:13 well Go has a One True Style which is enforced by some tool 05:38:18 but i don't think it's part of the compiler per se 05:38:41 the idea is that this lets me do other things too 05:38:52 If the user supplies bad code, delete it 05:38:59 like, there'd be an "unreachable" keyword that you can use to mark code that should be unreachable 05:39:10 and if it actually /is/ unreachable, then the compiler comments it out for you with special reversible comments 05:39:31 (and comments it back in again if it turns out to be not unreachable, so your editor's syntax highlighter can warn you) 05:39:50 ais523: you might see zzo38's Checkout question a page or so above 05:45:46 -!- impomatic has joined. 05:46:44 Off-topic, but what's controversial about ais523's UTM? 05:47:25 it uses an infinite tape that's initiated with a complicated pattern 05:48:05 So, the question is whether it's legal to have a pre-initialized tape? 05:48:08 and the question becomes how much of the universality is in the setup and how much is in the actual TM 05:48:16 Wolfram thinks so. 05:48:58 well his rule 110 automaton also used infinite setup, although iiuc that was at least periodic on each side 05:49:57 ("his" in the sense he maybe invented the automaton, not the proof of universality, which he only paid for.) 05:50:31 and then sued the prover when he tried to publish it independently 05:51:11 but i'm personally much more confident on TC-ness when input and output are finite. 05:51:12 I mean the 2,3 machine 05:51:28 mathematicians and their sillyness 05:51:33 Jafet: i'm saying they have the same issue, although the 2,3 machine more so 05:52:06 oerjan: clearly he is so bored in his work that he has time to go around suing people 05:52:31 itidus21: ... you know nothing about wolfram, i take. 05:52:50 he has an ego about 10 sizes bigger than the solar system. 05:53:25 he sued so that it would be first published in his own book, which is full of hype. 05:53:36 ahh that book 05:53:51 or maybe not that book 05:53:58 "a new kind of science" 05:54:17 A kind of nuisance 05:54:55 "Wolfram published an article on particle physics[6] but claimed to be bored and left Eton prematurely in 1976" 05:55:01 ok so he really does get bored.... 05:55:39 Jafet: sorry but you aren't original :P http://www.amazon.com/review/R31DLUYNKIUR0C 05:56:44 11 of 16 people found the following review helpful. but just 1 star. 05:57:59 this one is also interesting http://www.amazon.com/review/B004FK5E8E 05:58:20 Perhaps it is a universal principle that everyone of sufficient complexity tends to make fun of Wolfram. 05:58:45 oh wait it's the reviewer that gives the star. 05:59:16 It occurs to me that Isaac Newton was also a jackass 05:59:47 (Which doesn't make Wolfram comparable to Newton except in that regard) 06:03:34 Wolfram thinks so. ← I used to think this, but I changed my mind; the mathematicians at Wolfram Science who actually /read/ the proof think so 06:03:44 as far as I can tell, Wolfram actually doesn't know and isn't interested 06:04:21 http://shell.cas.usf.edu/~wclark/ANKOS_humor.html 06:05:14 Eh? I thought he did all the actual math at WR. 06:05:32 whatever would make you think that? 06:05:49 -!- drocta has joined. 06:06:08 fwiw, what did you think all the other people at Wolfram Science (or is it Wolfram Research?) actually /do/? 06:08:07 They run around picking up after his brilliant discoveries 06:08:14 heheh 06:08:48 so I made https://github.com/drocta/TILDE-ATH 06:08:51 Sgeo: anyway, the main controversy is whether the initialization is /too/ complex to be considered TC 06:09:18 Hmm....? 06:09:37 Sgeo: a system has two parts, an inference rule and an initial condition, right? 06:09:45 the 2,3 machine has a very very simple inference rule 06:10:05 but in order to get it to emulate an arbitrary Turing machine, you need a very very complex initial condition 06:10:20 and the debate's about whether initial conditions that complex should be "allowed" 06:10:42 IMO, it's obvious that that one should be from an engineering point of view, but mathematicians need precise definitions and they didn't formulate one in advance that applies to this 06:10:55 well it's still a computable initial condition, presumably 06:11:09 and so you still get an initial condition even for a machine which ends up not halting 06:11:14 which is kind of a significant point 06:11:27 kmc: the problem is it's infinitely long 06:11:39 and there are some obvious ways of cheating if you're allowed an infinitely long infinite condition 06:11:49 which? 06:11:49 like "simulate the program, keep printing 0s while you're simulating and 1 if it happens to halt" 06:12:05 that's entirely computable, in that you can compute the first n bits of the initial condition no problem, likewise the nth 06:12:18 and yet it encodes haltingness into the initial condition rather than the actual program 06:12:32 messing with infinities tends to lead to problems in maths 06:12:42 so the approach I'm trying to go down is to generate a finite description of the infinite condition 06:12:49 together with an expansion program that's obviously sub-TC 06:13:00 the last few years have been trying to define "obviously sub-TC" :) 06:13:17 Ideally the condition should be independent of the program. 06:13:28 If you need to mess with infinites then you need to do it properly 06:13:52 or at least, I came up with a definition, http://esolangs.org/wiki/1cnis - but have not been able to prove that that definition fits the initial condition I actually came up with… 06:13:58 So, the MtG UTM manages to encode the infinitely long initial condition somehow? 06:14:00 s/-/–/ 06:14:08 drocta: what is TILDE-ATH? 06:14:13 Sgeo: it doesn't, it just initialises it with blue 06:14:19 I contacted the author about it to explain 06:14:19 And wouldn't MtG's ability to encode the initial condition + ... oh, uh 06:14:21 ~ATH 06:14:22 is 06:14:27 The Magic machine is a straight-up turing machine 06:14:31 With a blank tape (spooler) 06:14:37 infinite both ways 06:14:58 ~ATH is a fictional programming language, in Homestuck (in Homestuck it's real) 06:15:04 spooler alert 06:15:12 yeah, that. 06:15:26 based on loops that continue so long as an object is "alive" 06:15:28 +++ATZ 06:15:37 -!- pikhq has quit (Ping timeout: 272 seconds). 06:15:48 I thought it was more triggering on when something's not "alive" 06:15:55 it does both 06:15:59 by the way, #esoteric: #acehack told me about the Magic 2,3 machine before #esoteric did 06:16:02 you must be slipping ;) 06:16:21 ~ATH(VARNAME){loop this while alive}EXECUTE(executethisondeath); 06:16:37 btw, there is actually a mistake in ANKOS that is Wolfram making the same mistake as the Magic machine person made 06:16:40 I told him about it over the phone 06:16:56 ais523: if this was today, then i think #esoteric in fact was a bit earlier 06:16:58 luckily, I'd managed to fix it in my head in a few seconds, so the theorem is correct, just not the proof 06:17:02 oklopol: it was yesterady 06:17:05 *yesterday 06:17:12 okay then i don't know 06:17:13 around midday 06:17:34 And somehow or other there is a valid(?) program with two colors and weird nesting 06:17:38 I had an idea of Magic: the Gathering cards of programming language, once; now, this Magic 2,3 machine can even work without requiring any choices. However, what if you want to make input/output? 06:17:40 my best guess is 4 years ago but possibly also yesterday 06:17:44 -!- pikhq has joined. 06:17:51 also i was eating pizza and then i woke up 06:17:57 yeah, common idea is that the colors were different threads. 06:18:06 `addquote my best guess is 4 years ago but possibly also yesterday 06:18:10 Actually Magic 2,3 machine still require cards to played in a certain way to start, and then it works without any choices. 06:18:15 861) my best guess is 4 years ago but possibly also yesterday 06:18:21 it still has choices of whether to play "may" actions or not 06:18:36 oh 06:18:37 but moving away from that probably means you can't phase the Teysas… 06:18:40 Magic 2,3 machine. 06:18:47 i thought you meant the 2,3 challenge :D 06:19:02 ais523, but the same person proved it with another machine, right? 06:19:14 Sgeo: no, but he said he was working on a 2,18 06:19:17 which I'll be interested in 06:19:19 Oh 06:19:25 I wonder if, something can be made using that, including both input and output? 06:19:30 But as it stands, MtG is NOT proven TC? 06:19:45 (I assume the 2,18 in question is uncontroversial: I haven't seen it, but that seems about the right number of colors for an uncontroversially TC 2-state Turing machine) 06:19:54 but yes, the proof as it stands is flawed 06:20:03 Someone should post that to Reddit 06:21:50 only when it's fixed 06:22:00 so, am i to understand that someone implemented the 2,3 machine in mtg? 06:22:03 oklopol: yes 06:22:08 As in, the fact that the current proof is flawed 06:22:13 Not the 2,18 version 06:22:20 and in what sense was it implemented? 06:22:22 http://www.toothycat.net/~hologram/Turing/HowItWorks.html 06:22:38 oklopol: in the sense that if four players have specially constructed decks and are cooperating with each other 06:22:42 404 06:22:47 ais523: As specified the assumption is the players always take choices offered to them. 06:22:55 then they can set up a gamestate with an infinite series of triggered actions 06:23:05 and if they always take optional choices, it emulates the 2,3 machines 06:23:06 okay now it works dunno what happened 06:23:11 Yeah. 06:23:21 It's an edge case. 06:23:27 Assumping the machine counts. 06:23:48 -!- augur has joined. 06:24:02 clearly we just need to partition Mark Rosewater to make a card that makes all optional abilities compulsory ;) 06:24:26 ais523: Actually I had a similar idea of exactly the same effect, even without reading about the Magic 2,3 machine. 06:24:33 ais523: Surely this'd be *easy*. 06:24:39 I mean, he is a mathematician. 06:25:02 zzo38: somehow I'm not surprised :) 06:26:04 how many cards does it need? 06:26:22 not all /that/ many 06:26:39 although it needs six copies of the same legendary in play at once, which is slightly nontrivial but not impossible to arrange 06:27:01 (you can steal them from other players or copy them, and use a separate card to make having multiple identically-named legendaries in play at once legal) 06:27:02 Is that why the card was made legendary? 06:27:06 If you make the assumption all players are trying to set it up, it's not that much work. 06:27:08 zzo38: I doubt it 06:27:11 pikhq: indeed 06:27:26 we once made this board game which was awesome, you put pieces on the board and a chain reaction was triggered, so you could get multiple points on one turn. 06:27:41 and our record was like 20 or something 06:27:57 then i implemented it on the computer and it inflooped after 5 turns and got infinity points. 06:28:23 In a Limited game, if you manage to draft (or open, or collect, etc) six same card then you are not limited by the rule 4 of same card; you can use 6. Otherwise you have to use only however many you have 06:28:49 zzo38: it can't be done in limited because it uses cards from more than one block 06:29:08 ais523: I have once played in a Limited game that involved two blocks. 06:29:24 oklopol: What if you make up the rule, that you are disqualified if the game doesn't end? 06:30:33 (Usually a Limited game is only one block, but occasionally it is two blocks, or possibly even three or more. Constructed games are usually always two blocks, but may be unlimited to the number of blocks, or some other rule.) 06:30:39 it's nondeterministic. but i guess you could require that there are no infinite plays or you lose. 06:30:46 what fun to check.... :D 06:31:00 Disqualified if you cannot prove that your move ends 06:31:35 :D 06:31:59 > 2*pi / 0.01720209895 06:32:00 365.2568983263281 06:32:14 Is the game TC? If so, the no infinite plays thing might be difficult 06:32:29 i wonder when wolfram's 1000 page book called "krhm actually it's MY 2,3 machine not alex's" comes out 06:32:41 oerjan: What are you calculating? 06:32:56 > "A " ++ fix ("new kind of " ++) 06:32:58 "A new kind of new kind of new kind of new kind of new kind of new kind of ... 06:33:13 zzo38: http://www.nature.com/news/the-astronomical-unit-gets-fixed-1.11416 had this number 06:33:14 my supervisor told me he was once invited to be invited speaker in one of wolfram's seminars 06:33:34 Is the astronomical unit broken? 06:33:49 it's something like the average number of radians earth traces out per day 06:33:59 Sgeo: can't be tc due to memory being limited to the number of pieces on board. 06:34:08 zzo38: well it was complicated to calculate 06:34:18 I love SMBC! 06:34:25 There was a paper that contrived a TC game with finite pieces 06:34:30 I thought astronomical units is the distance from here to the sun. 06:35:29 zzo38: yes, but earth's orbit is elliptical so you need to choose one of the distances 06:35:37 I think JPL ephemerides are not in astronomical units anyways so at least those ones are unaffected but are some ephemerides in astronomical units? 06:36:02 oerjan: Yes, I thought you have to choose the average? (Do you have to know what kind of average?) 06:37:40 zzo38: well it's like with the meter, it was originally defined as 1/10000000'th of the meridian from the pole to equator through paris - but that's awkward to measure all the time so they redefined it, although in that case they even calculated it wrong the first time 06:38:29 O yes I heard of that; they did it wrong the first time even by their definition. Better definitions anyways would be by something such as speed of light, I think it is now 06:38:37 yes it is 06:40:32 zzo38: oh there were other problems fixed by the recent fixing of au to meters 06:41:02 the old definition didn't mesh with relativity and depended on the changing mass of the sun 06:41:02 the global economy 06:41:36 Ephemerides need a unit of distance and of time. I think they use kilometres per day, although you could use lightseconds per second, or metres per second, or whatever (I happen to like using the speed of light as the ephemeris units, although this may cause problems in floating point precision I don't know for sure) 06:41:49 yeah the meter now is defined in terms of the oscillation period of a cesium atom 06:41:55 oerjan: O, so they fix that too now, is good 06:42:48 -!- drocta has quit (Quit: Page closed). 06:43:18 you could say it's also defined in terms of the speed of light, but the speed of light is an arbitrary unit conversion and not a fundamental physical constant 06:43:38 kmc: i'm not sure that it's the atom itself which oscillates, just one of its kinds of emitted radiation 06:43:41 a much better definition would be "the distance from the mass center of earth to the mass center of the sun, in the reference frame of the mass center of the definition user's right eye" 06:44:27 oklopol: sounds usable. 06:44:47 oerjan: you're right 06:46:19 Can you say it is defined in terms of the speed of light if you then define seconds in terms of the cesium atom? Therefore something must relate the distance and time, so you can have the units. 06:46:43 hmm 06:46:53 heegan 06:47:21 I don't like humanistic units; you must define them in terms of physics instead, is much better. 06:47:39 applying myself as a function to the topic... i almost forgot what i was about to say 06:47:41 That way you always know what they are even if you removed your right eye or whatever 06:47:44 What's a humanistic unit? 06:47:53 sure, i'm just saying that "speed of light" is like "number of inches in a meter" 06:48:57 i wonder if sci fi has been written wherein many aspects of the universe are constant, like a chessboard or a video game 06:48:58 kmc: No I don't think so! The speed of light is an actual speed, not a unitless number. Isn't it? 06:49:41 zzo38: in traditional unit systems it is so, but in studying relativity it is convenient to use a unitless 1 as the speed of light 06:49:47 and you can do that 06:49:59 kmc: Well, yes; I agree with that. That isn't what I meant, though. 06:50:01 zzo38: sorry, i meant to say "rightmost eye" 06:50:08 How can speed be unitless? 06:50:12 this fixes the issue you mentioned. 06:50:13 like in a video game, the size of a planet tends to remain constant indefinitely.. for as long as there are people to play the game 06:50:19 Sgeo: because distance and time are actually the same kind of thing 06:50:28 I meant that the speed of the light is the same speed no matter what number you use to represent it. 06:50:54 i imagine this is true of things like dwarf fortress, minecraft, terraria, chess, secondlife, etc 06:50:56 it's as if all along we had one unit for north-south distance, and a different unit for east-west distance, and then one day someone figured out that you can relate these 06:51:41 I do agree it is useful to use a unitless 1 since space and time just different dimensions (although the sign is opposite) 06:51:46 itidus21, Second Life's size isn't constant 06:51:54 Space keeps getting added to it 06:52:08 They need room for all the penises 06:52:10 Although I guess "amount of possible space" might be constant 06:52:12 Sgeo: i suppose that my statement doesn't stand. 06:52:29 .. i didnt quite get at the essence of the question 06:52:39 * Sgeo is unsure if they use ints or uints or something to specify regions 06:52:59 If they do, then yeah, Second Life has a finite size, but it's MUCH larger than currently accessible size 06:53:14 also you can create and lose blocks in minecraft and minesweeper 06:53:48 ok ok i know what i mean 06:53:58 you should always know what you mean 06:54:01 in minecraft, a block is a perfect unit 06:54:02 And then invent "mine card" game. 06:54:25 There exist half-blocks. 06:54:41 Although I don't know if those conceptually count as blocks to the engine 06:54:45 yeah but that's blasphemy 06:54:48 hmm and i suppose tat the actual objects are not always aligned to the blocks exactly 06:54:59 like you can stand on several blocks at once 06:55:00 if you use half-blocks usually people destroy your house 06:55:31 also they conceptually count as blocks to the engine, you can't place stuff on them for instance 06:55:43 or at least you can't place a half-block and put a full block on top. 06:57:56 although it seems that notch hasn't quite grasped that you can reuse parts of your code so almost all items have some bugs and features unique to them. 06:58:01 but, as we see in games like rogue, the block as a ruler becomes a problem on non axis aligned lines 06:58:04 so it's hard to state anything definitive. 06:59:00 ok lets ignore my last statement 06:59:34 Would using the speed of light as ephemeris units (you still need distance and time units; I mean the speed of light is 1 in these units) make calculation of apparent positions simpler in some ways? 06:59:49 itidus21, it's only problematic in visual terms 07:00:01 In the world of the game itself, there is no problem 07:00:07 kmc: Did you know that foreign import wrapper allocates a new executable+writable page and copies some machine code into it at runtime? 07:00:25 apparently it's special cased that you can put two half-blocks of the same kind on top of each other 07:00:26 Sgeo: i guess in minecraft you can use blocks as rulers in any direction... but in a game like chess, not so easy 07:00:33 you can't mix two of different kinds though 07:01:07 oklopol: I think once I have made a game that has a similar rule 07:01:34 Where if you push two half blocks of the same kind together you get a full block of that kind; if they are different then they block each other 07:02:56 you don't get a full block in minecraft, you get something that looks like a full block but is much harder to break 07:04:23 shachaf: i think i did know that, yes 07:04:26 it doesn't work on iPhone 07:04:37 are they careful to remap the page read-only after they're done writing to it? 07:04:49 Not as far as I see. 07:04:52 great 07:06:05 Can you make self-modifying codes to improve the speed and possible save memory? 07:10:11 yes but i don't want them to fall into the wrong hands 07:10:40 Don't want what to fall into the wrong hands? 07:11:20 kmc: Do you think there are any serious security implications? 07:11:42 I mean, it's presumably called from C, but the page is randomized and the code in it is GHC-generated. 07:12:58 well, if you have a memory corruption bug somewhere else, the existence of a writeable executable page can help you exploit that bug 07:13:26 As far as I know LLVM has no commands for self-modifying codes and it is something I wanted it to have, for example one thing you could have is if some RAM variable is actually the operand to another instructions, and another possibility is something like INTERCAL's ABSTAIN and REINSTATE commands 07:13:28 True. 07:13:57 you might have some control over what GHC writes there, or you might be able to write there yourself 07:14:40 although if you can write to anywhere you like in the address space, you can doubtless do many other things 07:15:12 GHC code has many indirect jumps 07:15:45 it should be possible to do something like ROP where you build fake thunks or something 07:16:06 That could make for a fun CTF thing! 07:16:16 yes 07:16:24 a CTF that only 3 people would complete or care about ;) 07:17:03 well if instead of the GHC RTS you were working with a toy lazy language 07:17:08 then i could see it as one of the later levels in io 07:17:18 I don't know. Half the fun of a CTF is learning about new things that work differently from the things you know. 07:17:22 back 07:17:27 yeah 07:17:31 What does CTF mean? 07:17:31 shachaf: do you know about Supervisor Mode Execution Protection? 07:17:43 zzo38: i dont want self modifying codes which improve speed and save memory to fall into the wrong hands 07:18:13 itidus21: OK. 07:18:16 Crashing... 07:18:18 haha 07:18:21 but... 07:18:33 kmc: I think I've heard of it. 07:18:33 i guess its safe enough here 07:18:36 new in Ivy Bridge chips, when enabled an attempt to execute in kernel mode a page accessible by user code will fault 07:18:44 A "user/kernel bit" such that the kernel can't execute code in user pages? 07:18:59 i dont have any such codes.. but i think i could at least think about what it means 07:18:59 Makes some sense. 07:19:08 yeah, it is just a single control register bit 07:19:32 which interprets the existing "user" bit on pages this way 07:19:37 in addition to its old meaning 07:19:42 What's the old meaning? 07:19:57 the old meaning is that pages without the user bit set can't be accessed by user-mode code 07:20:04 zzo38: ok to hell with it 07:20:27 Ah. 07:20:28 now the pages *with* the user bit set can't be executed by kernel mode code 07:20:37 zzo38: when i applied my brain to the question, the answer seems to be to have conditionals with feedback.. 07:20:58 so that the condition which is selected the most often is optimized 07:21:04 All the effort and CPU time "wasted" on security is kind of annoying. 07:21:07 (of course, if the kernel really wanted to execute such a page, it could disable the feature or unset the user bit, but the idea is to prevent an attacker from tricking the kernel into executing such a page) 07:21:22 i am not sure how that might go exactly 07:21:37 itidus21: Yes you could do that too; some CPU instruction set might include commands for branch prediction, is one way, but that is other things too. 07:21:57 so now you can't just put kernel mode shellcode in your exploit program and get the kernel to call it 07:21:59 i guess thats called branch prediction 07:22:05 hmm 07:22:35 -!- impomatic has quit (Ping timeout: 255 seconds). 07:22:38 which means some of the techniques from userspace NX exploitation will be useful 07:22:52 ROP, JIT spraying, etc. 07:23:38 shachaf: it may be wasted effort but I prefer to live in a world where people dream up things like ROP and JIT spraying, it's just more interesting 07:24:22 it's like esoteric programming except that it's useful, e.g. for getting rich or sabotaging the iranian nuclear program 07:24:23 But my idea was rather to make like INTERCAL's ABSTAIN but to directly modify the machine code instructions 07:25:32 in fact the idea behind ROP is basically that every compiled executable gives rise to an esolang, whose primitive instructions are every sequence of code bytes ending in an (intended or unintended) return instruction 07:25:40 What else I like other than self-modifying codes, is also self-modifying microcodes! 07:25:52 zzo38: to improve i think that .. ok ok .. uhm uhm.. 07:26:11 perhaps it could plan for changing environment... 07:26:21 kmc: It's really one big class of very-similar esolangs. 07:26:46 I think for sufficiently-large executables they tend to be TC, too. 07:27:00 yeah 07:27:08 i don't know how exactly 07:27:22 i think the bigger issue is not computational completeness but completeness in terms of the system calls you need for successful exploitation 07:27:36 Well, yes. 07:27:43 but you don't need very much there, either 07:28:39 zzo38: well i think self modification implies somehow that something in the program's context is changing... either the platform, or the input 07:28:56 Isn't itidus21 great? 07:28:56 Most of the wasted effort is on bad security 07:29:07 I don't have a problem with wasting effort on good security 07:29:24 laughs aloud 07:29:34 I think they used something similar to dump the Nintendo DS BIOS, by finding some data used as code which pushes some things to the stack and can be made to copy the BIOS codes; normally if the instruction pointer is not in the BIOS area it will never read the BIOS so they changed it 07:29:44 Jafet: Do you consider the things discussed here good or bad security? 07:30:24 itidus21: What do you mean, such as, an example? 07:30:24 I don't know, but I don't have a problem with them! 07:31:33 zzo38: i think that on an unchanging platform, with unchanging input, all optimization can be done at compile time 07:32:07 Yes in that case probably you can just make the answer directly 07:32:42 but if there is input.. there can be different versions of the program adapted to different inputs 07:33:51 Yes, and you may not know at compile time; is a reason to do self-modifications. I have thought of such things for making some emulator which you can specify the hardware in input file, can modify itself to skip whatever is not used 07:34:04 gotta sleep, ttyl all 07:34:30 like, as an example, if you know how long a file is you don't really need to check for end of file 07:35:16 and if you know how long a string is, you can read all symbols as data 07:35:44 Yes; but would it be more efficient maybe not necessarily, depending what you are doing. Also possible, if you know the multiple of length, unroll the loops 07:40:07 the trouble to me with self modifying code is the question of when this self modification happens 07:40:29 it makes sense to keep it modifying nonstop 07:41:05 but then maybe its not really self modifying 07:46:35 i once thought of a storyline or video game idea where the source code is self modifiable, and so, whoever has access to the source has power 08:07:33 -!- augur has changed nick to Guest46903. 08:31:39 -!- MoALTz has joined. 08:34:18 -!- nooga has joined. 08:39:06 -!- nooga has quit (Ping timeout: 264 seconds). 08:39:17 -!- nooga has joined. 08:46:55 -!- ogrom has joined. 08:47:44 -!- epicmonkey_ has joined. 08:57:04 -!- Jafet has left. 08:57:30 -!- epicmonkey has joined. 08:57:56 -!- Jafet has joined. 08:58:46 -!- epicmonkey_ has quit (Ping timeout: 246 seconds). 09:00:25 -!- epicmonkey has quit (Remote host closed the connection). 09:02:11 -!- epicmonkey has joined. 09:15:52 -!- kinoSi has quit (Read error: Connection reset by peer). 09:16:12 -!- oerjan has quit (Quit: leaving). 09:16:19 -!- kinoSi has joined. 09:55:53 what's a good way to combine shell and python in one source file? 09:56:20 python < Or by "good" do you mean "esoteric"? 09:57:02 I was looking for a good way actually, but wouldn't object if it ended up esoteric either 10:03:47 oh, the python code can't access stdin if you do it like that... python /dev/fd/3 3< Alternatively you can embed the sh in the py. 10:06:43 yes, most of it is python, so that might be better 10:14:51 -!- ais523 has quit. 10:29:02 -!- zzo38 has quit (Remote host closed the connection). 10:31:47 -!- MoALTz_ has joined. 10:34:21 -!- MoALTz has quit (Ping timeout: 240 seconds). 10:50:56 What the flying flipping fuck, I am going to hurt the author of clojure.algo.monads 10:51:38 His macro that provides an equivalent to "do"? It puts the last item in an implicit return 10:54:48 user=> (domonad sequence-m [] '(1 2 3)) 10:54:48 ((1 2 3)) 10:54:55 I'm sorry, but that is absolutely fucked up 10:55:08 -!- MoALTz__ has joined. 10:55:16 -!- MoALTz__ has quit (Read error: Connection reset by peer). 10:57:54 -!- MoALTz_ has quit (Ping timeout: 252 seconds). 11:05:20 Sgeo: what does that even mean? 11:10:10 It means that domonad does not in fact emulate do 11:10:26 But a version of do that is only useful in subsets of all situations that do is useful in. 11:14:33 -!- yorick has quit (Ping timeout: 272 seconds). 11:15:45 -!- yorick has joined. 11:24:42 Sgeo: What would domonad even be good for 11:31:05 -!- Arc_Koen has joined. 11:32:23 -!- nooga has quit (Ping timeout: 246 seconds). 11:41:14 -!- nooga has joined. 11:44:20 -!- MoALTz has joined. 11:45:25 -!- Vorpal has joined. 11:48:23 hi 11:52:41 -!- nooga has quit (Ping timeout: 246 seconds). 12:07:16 -!- MoALTz has quit (Quit: not a good coding day for me, sorry). 12:07:49 domonad is still usable in those situations, it's just uglier 12:09:05 -!- Phantom_Hoover has joined. 12:09:37 Phantom_Hoover, I was ranting about a Clojure library earlier 12:09:39 You missed it 12:09:52 oh 12:15:49 I'm beginning to think Clojure developers like the idea of various functional idioms, but don't actually understand them. 12:22:01 shurely some mistake? 12:43:32 So, anyone have any laptop recommendations? 12:44:19 Yes. Tops are usually not worn on laps. 12:44:37 Har har har. 12:48:58 -!- ogrom has quit (Ping timeout: 255 seconds). 12:49:07 -!- ogrom has joined. 12:53:11 -!- nys has joined. 12:55:35 -!- lifthras1ir has changed nick to lifthrasiir. 13:47:45 -!- impomatic has joined. 14:10:35 -!- ogrom has quit (Quit: Left). 14:34:18 -!- oklopol has quit (Ping timeout: 255 seconds). 14:48:32 -!- Arc_Koen has quit (Quit: that's dr. turing to you, punk). 15:26:18 -!- copumpkin has quit (Ping timeout: 252 seconds). 15:26:53 -!- copumpkin has joined. 15:28:59 -!- ogrom has joined. 15:56:28 -!- oerjan has joined. 15:58:43 11:10:10: It means that domonad does not in fact emulate do 15:58:43 11:10:26: But a version of do that is only useful in subsets of all situations that do is useful in. 15:59:10 you can easily convert do ...; whatever into do ...; x <- whatever; return x 16:00:08 in fact an implicit return is essentially what you get for monad comprehensions 16:08:00 olsner, shachaf: you can also pass a whole python program to python -c 16:11:14 -!- nooga has joined. 16:19:03 -!- elliott has joined. 16:19:04 http://esolangs.org/w/index.php?title=Ook!&diff=33796&oldid=32048 16:22:08 SO IT BEGINS 16:22:19 WHY AM I OUT OF POPCORN 16:22:35 (probably because i never buy it) 16:25:02 Ohhhhh what did he just do. 16:25:42 elliott, what has begun? 16:26:38 I mean it looks like an isolated outbreak. 16:27:38 -!- epicmonkey has quit (Remote host closed the connection). 16:34:04 -!- epicmonkey has joined. 16:44:08 -!- Gregor` has changed nick to Gregor. 17:10:18 -!- oerjan has quit (Quit: leaving). 17:12:47 -!- carado has joined. 17:13:09 hi 17:33:22 `welcome carado 17:33:33 carado: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: http://esolangs.org/wiki/Main_Page. (For the other kind of esoterica, try #esoteric on irc.dal.net.) 17:36:55 -!- ogrom has quit (Quit: Left). 17:39:01 -!- nooga has quit (Ping timeout: 244 seconds). 18:18:42 -!- ogrom has joined. 18:32:27 -!- copumpkin has quit (Ping timeout: 255 seconds). 18:33:01 -!- copumpkin has joined. 19:05:20 Thoughts from the sauna: I've been thinking (and it's been categorized like that) that the Finnish 'd' (which occurs natively only in consonant gradation) is just the voiced version of 't', i.e. voiced dental plosive, but now that I thought of it, the place of articulation is more like alveolar, and according to some Wikipediaing that's actually a real thing. 19:05:25 "/d/ is the equivalent of /t/ under weakening consonant gradation, and thus occurs only medially, in the infinitives of the verbs nähdä (to see) and tehdä (to do), or in non-native words; it is actually more of an alveolar tap rather than a true voiced plosive, and the dialectal realization varies widely; see main article." 19:05:42 (Main article is a bit long to quote unless you happen to be surprisingly interested in Finnish phonology.) 19:06:54 Also I can't really distinguish too well between t̪/t or d̪/d when I manage to make the non-"natural" ones. 19:08:14 Finnology 19:10:55 Speaking of which, why is the "Received Pronunciation" called that? Who/what is it received from? God? Aliens? Xenu? 19:10:58 (Nth in our popular series of "questions better suited for Wikipedia".) 19:12:22 @wn received 19:12:22 *** "received" wn "WordNet (r) 3.0 (2006)" 19:12:23 received 19:12:23 adj 1: conforming to the established language usage of educated 19:12:24 native speakers; "standard English" (American); "received 19:12:26 standard English is sometimes called the King's English" 19:12:28 [5 @more lines] 19:12:38 @more 19:12:38 (British) [syn: {standard}, {received}] [ant: 19:12:38 {nonstandard}] 19:12:38 2: widely accepted as true or worthy; "a received moral idea"; 19:12:38 "Received political wisdom says not; surveys show otherwise"- 19:12:38 Economist 19:15:23 That pretty much just makes me wonder why "received (adj)" means that. 19:18:02 It's official. No one in the Clojure world actually has a clue about Maybe. 19:18:13 I just re-read the definition that I thought I liked 19:18:26 Apparently just from the "6. (8) receive -- (accept as true or valid; "He received Christ")" kind of sense of receive (verb). 19:18:46 It's as if Nothing were defined as "Just Nothingval" 19:20:54 hi 19:21:42 I guess it doesn't help that this person doesn't know Haskell. But I should educate him 19:22:06 I should try to work out whether this thing is even a monad 19:24:00 -!- atriq has joined. 19:24:21 Sgeo: Why are you complaining about Clojure in #haskell? 19:24:27 Because no one responded to your bait in here? 19:24:44 Is clojure the java-lisp thing 19:24:44 atriq: You have 1 new message. '/msg lambdabot @messages' to read it. 19:24:48 @messages 19:24:48 Arc_Koen said 20h 17m 23s ago: so your church incrementation excerpt translates to λxyzt.x z (y z t), right? 19:24:51 atriq, yes. 19:25:29 @tell Arc_Koen That looks like Church addition... hmm 19:25:29 Consider it noted. 19:25:56 @tell Arc_Koen Oh, that's because it is 19:25:56 Consider it noted. 19:29:31 Can I submit Fueue to the 2006 essies? 19:29:38 yes 19:30:12 Under the category Turing-Equivalent language 19:30:32 Actually, wait 19:30:37 That's the 2004 contest 19:32:08 Can I submit it to that? 19:33:16 -!- ogrom has quit (Quit: Left). 20:02:45 -!- epicmonkey has quit (Ping timeout: 272 seconds). 20:03:00 * Sgeo files a bug report http://dev.clojure.org/jira/browse/ALGOM-7 20:04:04 -!- nooga has joined. 20:16:25 You are the Monad Police. 20:18:38 Does clojure even have a type system 20:19:15 It's strongly but dynamically typed 20:22:43 Oh fuck 20:22:55 My demonstration doesn't actually count as a demonstration of breaking the monad laws 20:23:59 you'll note that no actual type theorists ever talk about "strong" typing 20:24:21 it's mostly mainstream programmers trying to make up bullshit distinctions 20:24:29 between strong and static typing 20:25:41 strong typing is just too mainstream 20:28:37 * pikhq invents the keyboard where you need to apply 50 lbs-force to press a key 20:28:40 Tada, strong typing. 20:29:18 How much force does it actually take to press a key? 20:29:23 * atriq invents the keyboard that has motorized wheels which move whenever you press a key 20:29:29 Tada, dynamic typing 20:29:55 Nonono, the keybindings rearrange themselves whenever you press a key. 20:30:26 If everyone had that OLED keyboard, that might be useful for some games 20:30:38 Put everyone on a level playing field when it comes to typing speed 20:30:41 Duck typing is when the keyboard's at the bottom of a pond and you have to dive every time you press a key. 20:30:50 How much force does it actually take to press a key? 20:30:52 depends on the keyboard 20:30:55 scissor switches take a lot 20:32:05 Phantom_Hoover: Apparently they're normally cited in grams-force. 20:32:10 Stupidest unit ever. 20:32:53 our keyboard standardisation will break down as soon as we colonise mars! 20:33:29 Isn't a gram-force a ten-thousandth of a newton? 20:33:58 I'd've thought it'd be a hundredth of a Newton. 20:34:10 I'm not great at these unitmobobs 20:34:19 atriq: No, a gram-force is the force of gravity on an object weighing one gram. 20:34:42 pikhq, does that account for regional gravitational differences? 20:35:10 Phantom_Hoover: No, it's based on a hypothetical ideal earth gravity... 20:35:33 i.e. 10ms^-2? 20:36:03 Seems 1 gram-force is 9.807 mN. 20:36:48 And 1 kg-force is 9.807 N. 20:37:06 Earth is insufficiently metric. 20:37:09 western-centric!!! 20:43:05 remind me, is surface gravity higher at the poles or equator 20:44:16 at the poles, id say 20:44:54 Yes, it is. 20:44:54 since they are closer to the center of the earth than the equator 20:45:29 Yeah but like shell theorem and shit 20:46:07 monad police arrest this man / he talks in maths / he buzzes like a fridge 20:46:27 did anyone here ever play Typing of the Dead? 21:03:30 -!- ogrom has joined. 21:11:48 Goodnight 21:11:49 -!- atriq has quit (Quit: Leaving). 21:16:38 -!- kinoSi has quit (Read error: Connection reset by peer). 21:17:06 -!- kinoSi has joined. 21:42:15 Do they pump hair gel into the water supply in San Francisco? 21:42:21 All evidence suggests that they do. 21:44:01 -!- Guest46903 has quit (Remote host closed the connection). 21:55:08 -!- nooga_ has joined. 21:55:48 I am actually scared of failing Intro to Drawing 21:55:50 -!- Arc_Koen has joined. 21:56:10 My hand-eye coordination can best be described as "non-existent" 21:56:13 Each class is painful 21:56:55 shmertz! 21:56:56 Arc_Koen: You have 2 new messages. '/msg lambdabot @messages' to read them. 21:57:00 @messages 21:57:01 atriq said 2h 31m 31s ago: That looks like Church addition... hmm 21:57:01 atriq said 2h 31m 4s ago: Oh, that's because it is 21:57:16 thank you atriq 21:57:22 -!- nooga has quit (Ping timeout: 244 seconds). 21:57:26 so I just watched iron sky 21:57:53 it was very fun, yet not as good as it was supposed to be 21:59:10 I think the fact that (partial +) doesn't work is annoying 22:02:14 http://www.seafloorexplorer.org/ is kind of fun 22:06:58 Oh, apparently the behavior in partial is changing in 1.5 :) 22:07:49 -!- impomatic has left. 22:08:44 -!- augur has joined. 22:11:02 -!- zzo38 has joined. 22:11:44 -!- Vorpal has quit (Ping timeout: 268 seconds). 22:15:34 so, a machine consisting of two "registers" (actually variables A and B holding an unbounded non-negative integer), and a finite list of instructions taken from the set {"A++", "B++", "A--", "B--", "A<-0", "B<-0", "A<-B", "B<-A", "if A=0 goto x", "if B=0 goto x", "if A=B goto x", "halt"} 22:15:42 the set of all those machines have been proven to be turing-complete? 22:19:46 -!- augur has quit (Read error: Connection reset by peer). 22:20:14 -!- augur has joined. 22:23:15 RIPE depleted. 22:27:25 -!- augur has quit (Remote host closed the connection). 22:31:32 In #clojure 22:31:33 thanks to sgeo, I've learned more about haskell in here than in #haskell ;) 22:31:42 half-joking :) 22:33:55 so in #haskell you talk about clojure stuff and in #clojure you talk about haskell stuff 22:34:03 hmm 22:35:52 pikhq: we should adjust the mass of the earth until it's exactly 10 22:36:31 Seems reasonable, and I see nothing wrong with the idea. 22:38:16 sadly the moon is only about 62% of the mass we'll need 22:41:44 kmc, i think it's more complicated than that 22:42:10 kmc: What about Venus? 22:42:27 Or Mercury. 22:42:37 Mercury works better. 22:42:44 this reminds me of a great paper on arXiv (which i can't find :/) which was an engineering feasibility study of some alternatives for surviving the explosion of the sun in a few billion years 22:42:54 (well not exactly "explosion" but you know what i mean) 22:43:05 specifically, how Earth could survive such an event 22:43:40 -!- oerjan has joined. 22:43:54 `frink (10/9.81)*5.972e24 22:44:08 6.0876656472986748214e+24 22:44:16 wait 22:44:19 flink frink 22:44:33 `frink (0.19/9.81)*5.972e24 22:44:41 I assume installing the JVM on HackEgo would be a royal pain? 22:44:43 1.1566564729867482161e+23 22:45:36 i.e. 116000Yg 22:46:09 wait no, 116 22:46:24 so... mars 22:46:50 mercury would fall far short, venus would be overkill 22:47:32 `cat bin/frink 22:47:35 ​#!/bin/sh \ exec /hackenv/lib/frink -e "$@" \ 22:47:42 `cat /hackenv/lib/frink 22:47:44 goddamn housemates are both having long phone conversations after midnight. 22:47:45 ​ELF... 22:48:00 lol 22:48:10 Hmm, for some reason, I thought Frink was a Java thing 22:49:08 `paste cat /hackenv/lib/frink 22:49:11 http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/paste/paste.1521 \ cat: cat /hackenv/lib/frink: No such file or directory 22:49:27 Speaking of which, why is the "Received Pronunciation" called that? Who/what is it received from? God? Aliens? Xenu? 22:49:34 The Queen, obviously. 22:49:36 `paste /hackenv/lib/frink 22:49:39 http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/paste/paste.25872 22:53:12 "The word received conveys its original meaning of accepted or approved – as in "received wisdom"." 22:53:44 -!- augur has joined. 22:57:23 -!- ogrom has quit (Quit: Left). 22:57:33 ah the joy of datasheets http://i.imgur.com/SaeT1.png 22:57:34 -!- augur has quit (Remote host closed the connection). 22:59:40 How does frink operate? 22:59:44 `run java 22:59:50 Usage: java [-options] class [args...] \. (to execute a class) \ or java [-options] -jar jarfile [args...] \. (to execute a jar file) \ where options include: \ -d32. use a 32-bit data model if available \ -d64. use a 64-bit data model if available \ -server. to select the "server" VM \...The default VM is server. \ \. -cp Oh huh 23:00:37 `fetch http://repo1.maven.org/maven2/org/clojure/clojure/1.4.0/clojure-1.4.0.zip 23:00:40 2012-09-15 23:00:40 URL:http://repo1.maven.org/maven2/org/clojure/clojure/1.4.0/clojure-1.4.0.zip [4553941/4553941] -> "clojure-1.4.0.zip" [1] 23:00:50 `unzip clojure-1.4.0.zip 23:00:53 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: unzip: not found 23:00:57 `gunzip clojure-1.4.0.zip 23:01:01 gzip: clojure-1.4.0.zip: unknown suffix -- ignored 23:01:28 zip != gzip 23:01:56 So, I need to unzip 23:02:02 There's no unzip 23:05:05 Does it have a different program that unzips, such as 7-Zip or whatever else? 23:05:25 `7zip 23:05:28 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: 7zip: not found 23:05:38 `7z 23:05:41 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: 7z: not found 23:06:33 `run echo $PATH 23:06:36 ​/hackenv/bin:/opt/python27/bin:/opt/ghc/bin:/usr/bin:/bin 23:06:50 `run ls /usr/bin/*zip* 23:06:53 ​/usr/bin/gpg-zip 23:07:01 `run ls /bin/*zip* 23:07:05 ​/bin/bunzip2 \ /bin/bzip2 \ /bin/bzip2recover \ /bin/gunzip \ /bin/gzip 23:07:20 `bunzip clojure-1.4.0.zip 23:07:24 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: bunzip: not found 23:07:28 `bunzip2 clojure-1.4.0.zip 23:07:31 bunzip2: Can't guess original name for clojure-1.4.0.zip -- using clojure-1.4.0.zip.out \ bunzip2: clojure-1.4.0.zip is not a bzip2 file. 23:07:42 *sigh* 23:08:46 Does tar have something? 23:09:01 I think it tends to have decompression stuff, but can that be used on its own? 23:09:26 Can you use jar to unzip stuff, or does that not work? 23:09:42 Good question 23:09:45 `jar 23:09:52 Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ... \ Options: \ -c create new archive \ -t list table of contents for archive \ -x extract named (or all) files from archive \ -u update existing archive \ -v generate verbose output on standard output \ -f specify archive file name \ -m include manifest information from specified manifest file 23:10:21 `jar -x clojure-1.4.0.zip 23:10:25 Illegal option: \ Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ... \ Options: \ -c create new archive \ -t list table of contents for archive \ -x extract named (or all) files from archive \ -u update existing archive \ -v generate verbose output on standard output \ -f specify archive file name \ -m include manifest information from specified 23:10:40 `jar x clojure-1.4.0.zip 23:10:44 Illegal option: \ Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ... \ Options: \ -c create new archive \ -t list table of contents for archive \ -x extract named (or all) files from archive \ -u update existing archive \ -v generate verbose output on standard output \ -f specify archive file name \ -m include manifest information from specified 23:10:51 @google can jar open zip files 23:10:52 http://ostermiller.org/opening_jar_files.html 23:10:52 Title: Opening .jar Files 23:11:00 sorry >:) 23:11:18 Sgeo: `run 23:11:28 `run jar -x clojure-1.4.0.zip 23:11:37 `man jar 23:11:39 ahh 23:11:41 man: can't open the manpath configuration file /etc/manpath.config 23:11:44 rename the zip file to .jar 23:11:46 manpath 23:11:46 ....? 23:11:51 or copy it 23:11:52 `ls 23:11:56 bin \ canary \ clojure-1.4.0.zip \ foo \ karma \ lib \ paste \ quotes \ share \ wisdom \ zalgo.hs 23:12:00 No output. 23:12:03 `ls 23:12:07 bin \ canary \ clojure-1.4.0.zip \ foo \ karma \ lib \ paste \ quotes \ share \ wisdom \ zalgo.hs 23:12:29 " In fact, any program that can open zip files can open jar files. The jar format is identical to the zip file format." 23:12:53 `mv clojure-1.4.0.zip clojure-1.4.0.jar 23:12:56 mv: missing destination file operand after `clojure-1.4.0.zip clojure-1.4.0.jar' \ Try `mv --help' for more information. 23:13:06 `run mv clojure-1.4.0.zip clojure-1.4.0.jar 23:13:09 No output. 23:13:11 `run jar -x clojure-1.4.0.jar 23:13:39 `ls 23:13:42 bin \ canary \ clojure-1.4.0.jar \ foo \ karma \ lib \ paste \ quotes \ share \ wisdom \ zalgo.hs 23:13:51 It didn't No output yet. 23:14:01 No output. 23:14:06 neither did the first one 23:14:14 `ls 23:14:14 oh well it was worth a shot 23:14:17 bin \ canary \ clojure-1.4.0.jar \ foo \ karma \ lib \ paste \ quotes \ share \ wisdom \ zalgo.hs 23:14:28 oh wait it did 23:15:08 Maybe we can just grap unzip? 23:15:53 Or 7zip 23:15:53 What mapper should be use with this? http://forums.nesdev.com/viewtopic.php?f=22&t=9312 23:16:51 http://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_x86_linux_bin.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fp7zip%2Ffiles%2Fp7zip%2F9.20.1%2F&ts=1347751002&use_mirror=softlayer 23:16:59 `fetch http://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_x86_linux_bin.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fp7zip%2Ffiles%2Fp7zip%2F9.20.1%2F&ts=1347751002&use_mirror=softlayer 23:17:03 2012-09-15 23:17:03 URL:http://softlayer.dl.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_x86_linux_bin.tar.bz2 [2152153/2152153] -> "p7zip_9.20.1_x86_linux_bin.tar.bz2?r=http:%2F%2Fsourceforge.net%2Fprojects%2Fp7zip%2Ffiles%2Fp7zip%2F9.20.1%2F&ts=1347751002&use_mirror=softlayer" [1] 23:17:08 seriously 23:17:31 I blame sourceforge 23:17:59 `run mv "p7zip_9.20.1_x86_linux_bin.tar.bz2?r=http:%2F%2Fsourceforge.net%2Fprojects%2Fp7zip%2Ffiles%2Fp7zip%2F9.20.1%2F&ts=1347751002&use_mirror=softlayer" p7zip.tar.bz2 23:18:02 No output. 23:18:49 `run tar -xjf p7zip.tar.bz2 23:18:54 No output. 23:19:01 `ls p7zip 23:19:05 ls: cannot access p7zip: No such file or directory 23:19:08 `ls 23:19:12 bin \ canary \ clojure-1.4.0.jar \ foo \ karma \ lib \ p7zip.tar.bz2 \ p7zip_9.20.1 \ paste \ quotes \ share \ wisdom \ zalgo.hs 23:19:50 what is this 23:19:50 `run p7zip_9.20.1/bin/7z 23:19:53 bash: p7zip_9.20.1/bin/7z: cannot execute binary file 23:20:06 A failing attempt to extract a .zip file 23:20:50 `run file p7zip_9.20.1/bin/7z 23:20:54 p7zip_9.20.1/bin/7z: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.30, stripped 23:25:48 halp 23:26:52 22:15:34: so, a machine consisting of two "registers" (actually variables A and B holding an unbounded non-negative integer), and a finite list of instructions taken from the set {"A++", "B++", "A--", "B--", "A<-0", "B<-0", "A<-B", "B<-A", "if A=0 goto x", "if B=0 goto x", "if A=B goto x", "halt"} 23:26:57 22:15:42: the set of all those machines have been proven to be turing-complete? 23:27:14 that sounds like an equivalent formulation of a 2-register minsky machine, so yes 23:27:18 yup I'm writing a TC proof for Maze under that assumption 23:27:56 you don't need "if A=B goto x", or any assignments 23:28:10 it uses two cars, one for each register; all instructions are very easy to translate, except for the if .. goto which need to solve a wire-crossing problem 23:28:17 oh 23:28:30 so I can just get rid of the if and not bother with the wire crossing? 23:28:35 only increment/decrement and branch 23:28:52 * Arc_Koen was gonna set up a system with a third car holding a value to indicate which direction the car was going 23:28:55 erm you definitely need the =0 ifs 23:29:03 ah, ok 23:29:16 I can only get rid of the if A=B goto x then? 23:29:27 and all the <- ones 23:29:48 even A<-B and B<-A ? 23:29:53 especially those 23:29:57 oh 23:30:05 waow, it's very easy to be turing complete 23:30:10 yes, it is. 23:30:28 you need to initialize A and B at the start, of course 23:31:42 yes I'm assuming the car is holding 0 at the beginning 23:31:53 you can also try 3-cell brainfuck, which has less wirecrossing i believe :) 23:31:55 well there are a lot of things which are not really precise in Maze specifications 23:32:24 for instance for the truth-machine I was gonna write the loop as a 2x2 square 23:32:43 but I thought maybe it was safer to write it as a 3x3 square with a wall in the central cell 23:33:12 well 3-cell brainfuck has while loops 23:33:23 ooooh 23:33:31 right, they cannot be crossed 23:33:31 nice 23:33:56 well I'm gonna use that then 23:34:08 urhh, I have to write everything again with three cars, in that case 23:35:03 hmmm but then I need a way to decide which car is the "current" car 23:36:31 -!- kwertii has joined. 23:36:52 -!- quintopia has joined. 23:37:50 note that the 3-cell brainfuck tc-proof only uses balanced loops, so it's always known at a program position which cell is the current one 23:38:04 so you don't _have_ to implement dynamic <> 23:38:18 actually I think it can be quite easy to implement 23:38:53 and that'd give an explicit proof 23:39:01 or whatever is the correct english word for that 23:39:25 (that is, a proof that not only proves it's possible, but gives an explicit way to do it) 23:39:41 construction? 23:41:28 i think you could do general gotos if you had a car keep the current statement number as its value, and used a giant tree of IF THEN ELSEs 23:42:13 it would then be possible to keep the maze part fixed and have all the program data in the functions 23:42:24 my idea was to actually allow to cross wires, with the crossing being ruled by a third car, which value indicate in which wire the car is going 23:42:33 ah 23:42:43 (but that may be overcomplciated) 23:42:57 I'm not sure what you mean by the giant tree of if then elses though 23:43:32 kmc: e.g. "python -c '" followed by the whole thing and then a ' on a line of its own? 23:43:44 IF ** THEN IF ==1 THEN =5 ELSE IF ==2 THEN =1 ELSE ... ELSE IF ==1 THEN ... 23:43:51 I think that'll cause difficulty with single-quoted strings in the python code 23:44:05 So, should I take my attempts to get Clojure working into an msg with HackEgo? 23:44:10 basically a single function which does all the branching line number calculation 23:44:26 Sgeo: Clojure? 23:45:07 olsner, a functional Lisp on the JVM 23:45:16 and other functions which guide the line number car to the right **'s to tell the other cars what the actual instruction is 23:45:39 (fwiw, I ended up replacing my shell needs with os.popen ... if anyone needs to use my program on pathes with spaces or other special characters in them, they'll simply be screwed) 23:45:54 don't use os.popen, use subprocess module 23:46:03 putting the control flow in the maze is nicely visual, though :) 23:46:13 I'm not sure I'm following 23:46:13 and you can pass a list of args rather than a single string to be interpreted by the shell 23:46:17 subprocess.OHMYGODALLTHECHARACTERSIMWASTING 23:46:30 os.popen is shorter :) 23:46:36 Arc_Koen: you have a car whose value is the current program line number 23:46:44 that's a great justification for choosing one piece of software over another 23:46:57 in python you can just do "import subprocess; p = subprocess" 23:47:04 or of course "from subprocess import foo, bar" 23:47:05 the whole python stdlib is filled with "oh, btw we did it all wrong, now use " 23:47:09 that's true 23:47:10 "so it's always known at a program position which cell is the current one" you mean I really don't need to implement > and <, but only +-., applied to each of the three cells? 23:47:15 but is true of most languages as well 23:47:18 Arc_Koen: yep 23:47:39 Arc_Koen: well the proof doesn't actually use ., since it does just computation 23:47:47 Clojure is still in the stage of learning what they did wrong 23:47:58 yeah 23:48:00 I suppose python users should be happy that the python maintainers admit they did it all wrong, and should also be happy that various future versions have fixes for some of the bugs 23:48:19 in fact i never got a good way of getting arbitrary length output out it 23:48:20 as opposed to php where it's derples all the way :) 23:48:33 *out of it 23:48:48 so I have a line-number car, and what does it do in case of a goto? 23:49:33 Oh awesome 23:49:47 oh, wait, now I'm starting of implementing "come from" instead of "go to" 23:49:56 s/starting/thinking 23:50:21 I found just the jar on Maven 23:50:50 hmm no that didn't make sense 23:50:53 `fetch http://search.maven.org/remotecontent?filepath=org/clojure/clojure/1.4.0/clojure-1.4.0.jar 23:51:01 2012-09-15 23:51:00 URL:http://search.maven.org/remotecontent?filepath=org/clojure/clojure/1.4.0/clojure-1.4.0.jar [3421683/3421683] -> "remotecontent?filepath=org%2Fclojure%2Fclojure%2F1.4.0%2Fclojure-1.4.0.jar" [1] 23:51:10 * Sgeo facepalms 23:51:24 `run mv "remotecontent?filepath=org%2Fclojure%2Fclojure%2F1.4.0%2Fclojure-1.4.0.jar" clojure-1.4.0.jar 23:51:26 No output. 23:52:21 I think one of the funnier examples is options parsing, where it seems every major python release has come with a new incompatible library for options parsing, deprecating whatever was there before 23:53:29 so I have a line-number car, and what does it do in case of a goto? <-- it runs a function which calculates the new line number. hm i guess you might need some cleverness since you need to test different registers in different statements 23:53:45 `run java -cp clojure-1.4.0.jar clojure.main -e "(+ 1 1)" 23:53:57 2 23:54:00 Yay! 23:54:17 note that if you use gotos you only need 2 registers, as previously stated 23:55:42 Oh this is easier to type 23:55:42 `run java -jar clojure-1.4.0.jar -e "(+ 1 1)" 23:55:54 2 23:56:57 i distinctly remember sgeo going on about clojure sucking some months back 23:57:01 what happened 23:57:22 there need to be signals the line number car can go to for signaling A++, A--, B++ and B--. and functions to decide based on line number to decide whether it hits each of them 23:57:25 he might still be going 23:57:42 -!- nooga_ has quit (Ping timeout: 264 seconds). 23:57:49 Hmm, I don't remember. It's at least partially possible that some of the ranting was about the JVM, and I decided just to hold my nose 23:58:09 then there are signals for the A and B cars to go to for signalling whether or not they are 0, at different times, at which the line number car does branching calculations. 23:59:53 elliott, do you remember what any of the ranting was about, specifically?