00:09:14 -!- Sprocklem has joined. 00:13:17 -!- turiya has left ("L.V.X."). 00:31:40 I think that Lambda Nomic will allow the following strange syntax: {f, g, h}(x) 00:31:54 Basically, call a set of functions with the variable `x` 00:34:10 Equivalent to {f(x), g(x), h(x)} 00:35:14 Also, f!({x, y, z}) or something along those lines, which is equivalent to {f(x), f(y), f(z)}, and by extension, {f, g}!({x, y}), which is of course equivalent to {f(x), f(y), g(x), g(y)} 00:37:23 > ($ 10) <$> [(+1), (*2), \x -> 3*x+7] 00:37:25 [11,20,37] 00:49:12 -!- jaboja has quit (Remote host closed the connection). 01:03:54 -!- dcentral has quit (Ping timeout: 250 seconds). 01:05:14 I'm still trying to think of something for the Bracket Calculus 01:11:34 -!- jaboja has joined. 01:15:52 -!- mauris has quit (Read error: Connection reset by peer). 01:16:06 -!- dcentral has joined. 01:16:23 -!- mauris has joined. 01:31:25 -!- jaboja has quit (Remote host closed the connection). 01:57:26 -!- Patashu has quit (Ping timeout: 240 seconds). 01:58:57 -!- Patashu has joined. 02:19:16 -!- Patashu has quit (Quit: Soundcloud (Famitracker Chiptunes): http://www.soundcloud.com/patashu MSN: Patashu@hotmail.com , AIM: Patashu0 , YIM: patashu2 , Skype: patashu0 .). 02:20:22 -!- Patashu has joined. 02:20:23 -!- andrew has joined. 02:24:08 -!- Patashu has quit (Client Quit). 02:24:35 -!- Patashu has joined. 02:26:35 -!- hppavilion[1] has quit (Ping timeout: 246 seconds). 02:32:50 -!- ^v^v has joined. 02:37:39 -!- Patashu has quit (Ping timeout: 245 seconds). 02:38:38 -!- vodkode has quit (Ping timeout: 260 seconds). 02:39:52 `wisdom 02:40:02 sparse matrix algorithm/Sparse matrix algorithms are a trivial special case of non-sparse matrix algorithms, by conjugating with the sparsification operation. 02:40:27 is there any sparsification operation, and is it a Tanebvention? 02:51:02 `wisdom 02:51:04 welcome.fr/Bienvenue au centre international pour le design et le déploiement des langages de programmation ésotériques! Pour plus d’informations, visitez le wiki: http://esolangs.org/wiki/Main_Page. (Pour l’autre type d'ésotérisme, essayez #esoteric sur EFnet ou DALnet.) 02:51:21 `wisdom 02:51:22 pdf/PDF stands for Pretty Depressing Format. 02:51:42 that I can get behind. PDFs are evil. 02:51:45 `wisdom 02:51:46 torus/Topologically, a torus is just a torus. Taneb invented it. 02:52:01 certified tanebvention®. 02:53:14 I don't get the tanebventions meme 02:55:26 -!- jaboja has joined. 03:07:25 https://github.com/HexHive/printbf 03:07:56 -!- vodkode has joined. 03:16:21 -!- andrew has quit (Remote host closed the connection). 03:18:06 -!- andrew has joined. 03:28:18 -!- andrew has quit (Remote host closed the connection). 03:32:11 -!- andrew has joined. 03:34:33 -!- hppavilion[1] has joined. 03:36:31 was posted 6 hours ago 03:38:25 Wikipedia wants a citation as to the fact that *4)x+,/y is not a well-formed expression, but instead just a meaningless jumble 03:45:48 hppavilion[1]: *one Wikipedia editor 03:45:55 also I'm sure we have languages where it's valid 03:46:12 ais523: True 03:46:25 ais523: We do, but it's just discussing the commonly-used ones 03:46:59 -!- jaboja has quit (Read error: Connection reset by peer). 03:47:00 -!- jaboja64 has joined. 03:47:05 well it's valid even in brainfuck! 03:51:37 Few things aren't. 03:54:10 I would think by expression, it would mean algebraic expression. 03:56:21 fun fact: in golfscript, it's "a = pop() * pop(); push(a / length(5 + x)); push(y)"! 03:56:45 Algebra of Brainfuck expressions 03:56:58 [wiki] [[Special:Log/newusers]] create * MCS-Kaijin * New user account 04:02:21 -!- jaboja64 has quit (Quit: Leaving). 04:06:03 -!- mauris has quit (Quit: Leaving). 04:23:12 pikhq: The only things which aren't are unmatched brackets, and a naive brainfuck interpreter ("[" = push the current location, "]" = pop a location and go to it) will even allow left-heavy brackets 04:23:37 And if your BF interpreter works on a default-to-zero stack, there is literally NO invalid brainfuck code! 04:23:58 pikhq: Can one truly consider a brainfuck program to be an "expression"> 04:24:00 *? 04:25:59 Hmm, I like the default-to-zero stack idea. 04:26:03 -!- boily has quit (Quit: TELOMERASE CHICKEN). 04:26:18 pikhq: Good 04:26:34 Makes no Brainfuck program illegal. Spiffy. 04:26:57 pikhq: Ooh, or perhaps for a more eso- factor, a stack that, when pop() is called, injects the value to the back before returning it 04:27:11 So 04:27:16 Um. 04:27:21 I can't come up with an example 04:27:38 >>> s = MyStack([1, 2, 3, 4, 5]) 04:27:46 >>> s.pop() 04:28:02 <<< 5 04:28:05 >>> s 04:28:18 <<< MyStack([5, 1, 2, 3, 4]) 04:28:36 pikhq: So pop() is really just roll() that returns the value rolled 04:29:26 pikhq: What do you think of my idea for a "Bracket Calculus"? 04:29:58 -!- Patashu has joined. 04:55:01 [wiki] [[WhoScript]] N http://esolangs.org/w/index.php?oldid=46008 * MCS-Kaijin * (+4136) Created page with "'''WhoScript''' is a Doctor Who-themed [[Esoteric_programming_language|esoteric programming language]] created by Daniel Gentry (MCS-Kaijin). ==Commands== The language can be..." 05:02:42 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46009&oldid=46008 * MCS-Kaijin * (+123) 05:30:56 -!- MDude has changed nick to MDream. 06:27:20 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46010&oldid=46009 * MCS-Kaijin * (+197) 07:19:56 -!- ^v^v has quit (Read error: Connection reset by peer). 07:40:14 -!- Sprocklem has quit (Ping timeout: 265 seconds). 07:43:10 -!- Lymia has quit (Ping timeout: 260 seconds). 07:44:02 -!- trn has quit (Ping timeout: 276 seconds). 08:00:59 -!- Lymia has joined. 08:01:44 [wiki] [[Kangaroo]] M http://esolangs.org/w/index.php?diff=46011&oldid=45825 * Ais523 * (+5) pipe category link 08:01:55 -!- trn has joined. 08:05:16 Is there such thing as fourth-party software? xD 08:07:51 I don't know 08:18:40 Software written by aliens? 08:43:51 zzo38: According to someone from #law, the fourth party is the agent 08:43:58 Thought I sent that earlier xD 09:00:25 -!- singingboyo has joined. 09:00:57 -!- singingboyo has quit (Client Quit). 09:01:10 -!- singingboyo has joined. 09:22:38 -!- tester567345 has joined. 09:25:24 -!- tester567345 has quit (Read error: Connection reset by peer). 09:32:52 I'm looking at large lens compact camera models of the last few years, and I'm trying to set up a mental list of my priorities of what properties I want to look for. 09:33:08 I think I've identified two important properties. 09:34:15 I want an interface that, although might not necessarily be easy to learn (since it's my camera, I have time to learn it), lets me quickly change the options I often want to change on the field. 09:34:43 And I would like wide angle field of view at the widest setting (luckily this latter is easy to tell from the specs). 09:39:34 -!- b_jonas has quit (Ping timeout: 260 seconds). 09:39:42 -!- b_jonas has joined. 09:48:22 Now I made the webpage you can post the user comment for my custom Magic: the Gathering cards; you can still download the plain text file too (and it will remain the primary source), and you can also download the SQLite database. You need account to send comment. You can use curl to post the comments too if you prefer, but you still need an account whether using the web-browser or command-line. 09:49:56 It is: http://zzo38computer.org/mtg/cardfile.php It also links to the plain text and SQL codes. 09:50:13 If you need an account, please do the following: Decide username. Put a colon afterward and then CustomMTG_zzo38 and then another colon and then the password. Tell me by private message the MD5 hash of this, and also tell me your username too, and then I will add it to my computer. 09:51:36 There are lots of other properties that would be nice to have but aren't priorities; properties that would be important but I can't predict (like whether the mechanical components of the lens will break within three years); properties that are uniform within the category; and properites that I barely care about. 09:51:57 zzo38: oh nice! 09:57:58 -!- Sprocklem has joined. 10:15:23 -!- Patashu has quit (Ping timeout: 265 seconds). 10:50:31 -!- Welo has joined. 10:58:09 wait, is http://joethecircle.com/ webcomic active now? it was stalled for quite a while. 11:37:46 -!- ais523 has quit. 11:59:32 -!- hppavilion[1] has quit (Ping timeout: 246 seconds). 12:09:05 -!- singingboyo has quit (Quit: Lost terminal). 12:17:02 -!- jaboja has joined. 12:51:45 -!- andrew has quit (Read error: Connection reset by peer). 13:24:47 -!- Welo has quit (Quit: Leaving). 13:24:51 -!- oerjan has joined. 13:34:41 -!- mauris has joined. 13:35:58 [wiki] [[Talk:Three Star Programmer]] N http://esolangs.org/w/index.php?oldid=46012 * SuperJedi224 * (+118) Created page with "If the cells are unbounded, it may still be turing complete even with only two cells depending on the instruction set." 13:39:20 [wiki] [[Talk:Three Star Programmer]] http://esolangs.org/w/index.php?diff=46013&oldid=46012 * SuperJedi224 * (+99) 13:58:30 fungot, please open the window, then close it again after five minutes. 13:58:30 b_jonas: good for you.) emacs uses a doubly linked list, i can't 14:03:10 fungot: so that is how emacs manages to open windows 14:03:10 oerjan: " ok." at http://paste.lisp.org/ display/ fnord?), fnord) 14:03:42 @messages- 14:03:43 boily said 22h 11m 46s ago: qc:tsé is about en:y'know. 14:04:30 @tell boily which sounds about like trøndersk:sjø 14:04:31 Consider it noted. 14:05:06 @ask boily is canadian english:eh in the same category? 14:05:07 Consider it noted. 14:33:11 -!- jaboja has quit (Ping timeout: 246 seconds). 14:56:33 `wisdom 14:56:37 `quote 14:56:44 cls/cls is a command to clear the screen. 14:56:44 605) elliott: well how will you represent "The dog jumped over the lazy dog" then? 14:59:32 `wisdom 14:59:33 mothology/Mothology is the study of moths, myths and mirths. 14:59:37 `wisdom 14:59:38 lorem ipsum/Business Internet the it China Product Product NATO 14:59:41 `wisdom 14:59:42 zygohistomorphic prepromorphism/A zygohistomorphic prepromorphism is used when you really need both semi-mutual recursion and history and to repeatedly apply a natural transformation as you get deeper into the functor. 15:04:47 `wisdom 15:04:48 morphism/A morphism is just a natural transformation between two functors on 1. 15:05:12 `wisdom 15:05:15 unicide/Unicide is when people can't read your suicide note because they lack the proper font. 15:05:21 `wisdom 15:05:23 california/California is pronounced "Caliphate-ornery-I-A" 15:09:02 * oerjan runs frantically through the logs trying to escape the trains 15:09:20 like a frogger? 15:09:22 `? frogger 15:09:23 frogger? ¯\(°​_o)/¯ 15:09:26 `? mario 15:09:27 mario? ¯\(°​_o)/¯ 15:09:45 i don't know 15:11:00 Frogger ♥ 15:12:34 `learn Mario is a classic NP-complete problem invented by Nintendo. 15:12:38 Learned 'mario': Mario is a classic NP-complete problem invented by Nintendo. 15:13:18 -!- J_Arcane has quit (Ping timeout: 256 seconds). 15:27:10 -!- boily has joined. 15:32:37 -!- J_Arcane has joined. 15:39:10 -!- dcentral has quit (Ping timeout: 260 seconds). 15:40:01 oerjan: i would say "eh" is closer to "right?" or something 15:40:35 also hi boily (pronounces it rhyming with "oily") 15:40:37 hellørjan, maurhis. 15:40:56 @massages-loud 15:40:56 oerjan said 1h 36m 25s ago: which sounds about like trøndersk:sjø 15:40:56 oerjan asked 1h 35m 49s ago: is canadian english:eh in the same category? 15:41:09 oerjan: yes. 15:41:55 mauris: /bwali/, not /bɔjli/. 15:42:19 i'm well aware! 15:42:30 it's still funny, though, how much "boily" looks like an english word 15:42:39 belloily. mauris: sorry you've been overruled by a genuine canadian. 15:43:38 ;_; 15:44:13 * boily pat pat pats mauris 15:44:14 "eh" has wider use though, right?! like tag questions. "that movie sucked, eh?" 15:44:32 i don't know if that use is strictly canadian though 15:48:15 it's recognized as canadian. 15:48:33 -!- Welo has joined. 15:50:43 -!- dcentral has joined. 15:50:58 `` ls bin/paste* 15:51:00 bin/paste \ bin/pastefortunes \ bin/pastekarma \ bin/pastelog \ bin/pastelogs \ bin/pastenquotes \ bin/pastequotes \ bin/pastewisdom 15:51:12 `pastewisdom 15:51:14 http://codu.org/projects/hackbot/fshg/index.cgi/file/tip/wisdom 15:56:32 mauris: /bwali/, not /bɔjli/. ← oh no 16:00:24 wait. they are doing an actual [censored] in the next M:tG set? They tried to do that once and figured they couldn't, but the argument looked suspicious to me, because it referred to interacting badly with a very small number of specific cards. 16:01:12 next M:tG set = Oath of the Gatewatch, second set of the Battle for Zendikar block, to be released in 2016-01 16:01:45 That was back in the Time Spiral block. 16:01:58 Probably Planar Chaos, but I'm not sure, it's hard to get the sets right. 16:20:34 zzo38: ^ 16:27:16 also, this comes with a rules change that requires non-functionally errataing the template on about three hundred cards. 16:36:12 -!- Frooxius has quit (Read error: Connection reset by peer). 16:36:27 -!- Frooxius has joined. 16:46:32 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46014&oldid=46010 * MCS-Kaijin * (+61) 16:49:23 -!- J_Arcane_ has joined. 16:50:16 -!- J_Arcane has quit (Ping timeout: 265 seconds). 16:50:24 -!- J_Arcane_ has changed nick to J_Arcane. 16:58:19 -!- oerjan has quit (Quit: Later). 17:54:49 -!- boily has quit (Quit: HAIRLESS CHICKEN). 18:16:07 -!- dcentral has quit (Ping timeout: 250 seconds). 18:22:05 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46015&oldid=46014 * MCS-Kaijin * (+279) 18:28:13 -!- dcentral has joined. 18:35:00 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46016&oldid=46015 * MCS-Kaijin * (+84) 18:47:40 How will this change affect Mox Lotus? 18:49:37 -!- bb010g has joined. 18:52:09 b_jonas: Unfortunately I do not know any of that stuff. 18:56:44 -!- MDream has changed nick to MDude. 18:57:51 Are you going to describe in more details how you mean? 19:10:12 zzo38: it's a spoiler, so look at http://magic.wizards.com/en/articles/archive/making-magic/solemn-oath-part-1-2015-12-28 and http://magic.wizards.com/en/articles/archive/feature/oath-gatewatch-mechanics-2015-12-28 19:10:20 and then ask again if what I said still doesn't make any sense 19:10:34 -!- Elronnd has changed nick to earenndil. 19:20:34 -!- mihow has joined. 19:26:10 Do you mean the colorless mana symbol and Wastes card? To me it seem you could delete rule 107.4c and add rule 106.12 (to go with 106.8 and 106.9) in order to have the correct effect? 19:28:04 -!- hppavilion[1] has joined. 19:41:48 zzo38: yes, the colorless mana symbol, the Wastes card, and errataing all cards that directly mention adding colorless mana to your mana pool, which actually makes more than a percent of all M:tG cards. 19:46:09 zzo38: and I think it takes a bit more rules changes than that. you need a rule like 106.8 to define the effect of Elemental Resonance, plus multiple rules about the {C} mana symbol itself, possibly a rule that clarifies that Wastes has an activated ability despite that it's not printed on it, and probably some reminder rules about old cards. 19:47:15 Just put the ability in the Oracle text. 19:47:43 zzo38: yes, but that would be a precedent, because so far the _first_ printing of any tournament-legal card always had the abilities printed on it 19:48:21 OK 19:48:38 Only special printings with a low number of copies, like http://magiccards.info/mprp/en/25.html , omit the ability entirely. 19:50:34 117.7 also needs a new arm 19:53:00 In my opinion no tournament-legal cards should ever omit the text. If it were up to me, such cards would not be allowed in tournaments, and foreign cards would also be prohibited, but proxies would be allowed as long as they contained the current text, do not contain artwork to be confused with other card, are in card sleeves, have equal physical properties to official cards, and are not offered for sale. 19:55:35 zzo38: whoa. that latter would be very strange, allowing proxies all the time. 19:55:57 unless you define "equal physical properties" in such a way that it's basically impossible to create such a proxy. 19:56:48 I don't see a big problem with foreign cards or cards omitting text though, as many cards already have inaccurate text that has been errataed since in significant ways. 19:58:06 I am refering to such things as mass and size, and tolerances would be defined. 19:58:37 -!- Welo has quit (Quit: Leaving). 19:59:35 But changing Magic: the Gathering like that is too much changed, but I would do what I describe if making my own card game. 20:01:36 Obviously the most important part about physical properties is that when hidden, the cards should not be distinguishable, so you can't know what you'll draw. 20:01:58 b_jonas: Yes, that is the point of such a rule. 20:05:38 But there are other things I would do too in designing my own game, such as the rules would include mathematical formulas and computer codes too (possibly written as a literate program), and also each card will have computer codes associated with it, which are freely available to download. The game is meant both for with the computer and for without the computer. 20:05:59 Well sure, for a different game that could make sense. 20:06:17 M:tG is in a difficult position because it has so much historical cruft. 20:06:53 Yes, I know that is why I say. 20:07:10 (Also because it's a commercial game.) 20:10:38 -!- mauris has quit (Ping timeout: 255 seconds). 20:16:14 Do you need account for my custom Magic: the Gathering cards? 20:16:35 dunno, probably not right now 20:16:49 `? zzo38mtg 20:16:50 http://zzo38computer.org/textfile/miscellaneous/magic_card/cards.txt 20:16:59 Maybe that URL should be changed? 20:17:27 shachaf: no, more like that text file should contain a link to the other page 20:17:31 It is the correct URL, however there is also another one for HTML with user comments, and there is also the SQLite database and schema file. 20:17:58 b_jonas: OK I will add that, thank you for the suggestion; I will do that in a few minutes 20:18:03 The text file is discoverable because the directory is listed on gopher/http. 20:37:30 OK I added the link into that text file too now 20:44:03 -!- mauris has joined. 20:52:34 -!- atslash has joined. 21:03:35 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46017&oldid=46016 * MCS-Kaijin * (+227) 21:05:04 -!- idris-bot has joined. 21:13:45 [wiki] [[Subskin]] http://esolangs.org/w/index.php?diff=46018&oldid=45999 * 78.52.173.163 * (+10) /* Examples */ 21:17:38 [wiki] [[Subskin]] http://esolangs.org/w/index.php?diff=46019&oldid=46018 * 78.52.173.163 * (-1) 21:18:23 There should be a direct link. 21:19:14 zzo38: I was talking to someone who knows you from somewhere. 21:19:15 Some MUD? 21:19:21 You could add it if you want both link? 21:19:28 shachaf: Possibly ifMUD? 21:19:43 That's the one. 21:19:49 I am #20071 on ifMUD 21:19:52 `le/rn zzo38mtg.php/http://zzo38computer.org/mtg/cardfile.php 21:19:59 Learned «zzo38mtg.php» 21:20:18 Apartment number 11011 21:20:51 oerjan: oh man, le/rn should look at its argv[0] and figure out whether it was called with one slash or two and use that separator on the text 21:24:28 shachaf: Do you know who it was that you talk to? 21:25:05 A Google employee. I don't know their username or number on ifMUD. 21:26:07 Ah, OK 21:27:41 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46020&oldid=46017 * MCS-Kaijin * (+184) 21:31:07 "Island offering" ? wow 21:31:14 that is a very strange ability 21:32:14 You can write more comments directly on the database if you have account. I explained before, how to request an account 21:32:37 I wonder if there's a way to create an Island with a mana cost 21:33:44 Using various combinations of other effects it may be possible. 21:34:04 Can you turn a non-land into a land without overwriting it completely? 21:35:31 I don't think you can change the mana cost of an object without overwriting its other characteristics. 21:36:19 zzo38: have you written any IF? 21:37:49 I have worked on some before but never quite did it. I have started on some stuff though I may continue, and I have written a Z-machine interpreter called ZORKMID. 21:39:31 zzo38: the card file seems to contain a lot of new cards I hadn't seen before. 21:41:41 Yes there are new ones. Request account and then you can post comments into the database too. 21:42:28 Ok, let me read back for the instructions 21:42:51 (Maybe I should add a section for general-purpose comments which are not applicable to any particular card, too. I do not want to add it into the "CARDS" table though, as that would confuse any kind of SQL query you may use to look up statistics and other stuff about the card.) 21:43:16 "If you need an account, please do the following: Decide username. Put a colon afterward and then CustomMTG_zzo38 and then another colon and then the password. Tell me by private message the MD5 hash of this, and also tell me your username too, and then I will add it to my computer." 21:45:19 It may be possible to use the "htdigest" program (if you have it installed) to make this computation. 21:48:31 zzo38: I'm requesting a user then. my username is b_jonas and the hex MD5 sum computed above is 512bb4804b927c34a58a9d0657084c5b 21:48:46 hmm wait, I have to tell in private message 21:49:30 You'll have to explain my how to log in. 21:50:09 It doesn't seem obvious from the webpage. 21:50:48 It will ask you as soon as you try to send a comment. After that, you don't have to type the username/password again during the same session. 21:50:54 ah 21:50:55 I added it now. 21:53:16 Ok. 21:53:41 -!- uberuno has joined. 21:54:05 -!- uberuno has quit (Client Quit). 22:02:04 -!- jaboja has joined. 22:03:20 -!- hppavilion[1] has quit (Ping timeout: 276 seconds). 22:06:00 -!- ^v^v has joined. 22:09:52 -!- hppavilion[1] has joined. 22:24:33 In case you are trying to post a comment then please tell me if you have a difficulty to do so. 22:38:28 Are there any number systems that do /not/ include the Reflexive Property? 22:39:14 Or the transitive property? 22:41:52 <\oren\> FINALY 22:42:08 <\oren\> I HAVE INTARNAT 22:42:47 <\oren\> @messages 22:44:20 <\oren\> stupid storm knocked down the telephone lines up north, I couldn't get internet until i got home 22:46:37 [wiki] [[WhoScript]] http://esolangs.org/w/index.php?diff=46021&oldid=46020 * MCS-Kaijin * (+810) 22:48:28 -!- oerjan has joined. 22:49:48 How about fuzzy sets where the membership is any real number? Fuzzy bags, basically 22:49:57 Even better, fuzzy set where membership is a Complex Number 22:50:56 Between 0 and 1, or in R 22:53:29 The coefficients, that is 22:53:48 Or whatever a and b are called 22:55:13 you could go for |z| <= 1 (i.e. a^2 + b^2 <= 1), like in quantum mechanics. 22:56:18 oerjan: You means sqrt(a^2 + b^2) <= 1? 22:56:59 that's the same 22:57:59 however, actually no, because in quantum mechanics you don't take the square root to find the "real" probability. 23:01:28 -!- jaboja64 has joined. 23:05:44 -!- jaboja has quit (Ping timeout: 276 seconds). 23:11:38 oerjan: Oh 23:12:24 -!- TieSoul has quit (Read error: Connection reset by peer). 23:15:57 [wiki] [[Jelly]] N http://esolangs.org/w/index.php?oldid=46022 * 64.58.7.42 * (+39) Created page with "https://github.com/DennisMitchell/jelly" 23:18:06 [wiki] [[Jelly]] http://esolangs.org/w/index.php?diff=46023&oldid=46022 * 64.58.7.42 * (+184) 23:18:59 `` echo $0 23:19:00 bash 23:19:22 `cat le/rn 23:19:23 ​#!/bin/bash \ [[ "$1" = */* ]] || exit \ topic=$(echo "$1" | lowercase | cut -d / -f 1) \ [ -z "$topic" ] && exit 1 \ value=$(echo "$1" | cut -d / -f 2-) \ echo "$value" > wisdom/"$topic" && echo "Learned «$topic»" 23:20:35 `` /bin//bash -c 'echo $0' 23:20:37 ​/bin//bash 23:20:51 shachaf: looks plausible 23:21:01 but beyond my bash skills 23:21:10 oh 23:21:15 i was hoping you'd do it twh 23:22:33 hm 23:23:17 but you shouldn't use cut 23:23:25 instead you can do it the mk way 23:23:33 `cat bin/mk 23:23:33 ​[[ "$1" == ?*//* ]] || exit 1; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$key" && echo "$key" 23:23:50 hmm, i wonder whether that works when the separator is a variable 23:25:47 could also be time to abashndon 23:27:09 why doesn't mk support newlines, or does it 23:27:21 how would it 23:27:53 i dunno, but it's awkward to make a larger script without it 23:28:32 what do you mean by newlines 23:28:54 making a file that contains more than line hth 23:29:46 `` mk $'/tmp/test//a\nb'; xxd /tmp/test 23:29:47 ​/tmp/test \ 0000000: 610a 620a a.b. 23:34:41 Whoo! I got collision in my TDG semi-working! 23:35:34 It's a little derpy on the West and South walls, but it works! 23:35:37 Mostly! 23:37:44 The pattern in bash's ${var#pattern} expansion (and ditto for ##, %, %%) can contain variables that get expanded, yes. 23:38:23 `` t="abc"; u="b"; echo ${t#*$u} 23:38:24 c 23:39:33 boom 23:39:58 `` t="ab cd"; u="b c"; echo ${t#*$u} 23:39:59 d 23:40:05 No need to quote it, even? 23:45:49 Here's a programming project 23:45:50 caaaaaaaaaaaaaat 23:46:10 Like cat, but duplicate every vowel an arbitrary (preferably random) number of times 23:52:17 -!- atslash has quit (Quit: This computer has gone to sleep). 23:56:01 hppavilion[1]: What if someone is using a language in which the set of vowels is different? 23:56:36 hppavilion[1]: Maybe pseudorandom, so the same input always yields the same output 23:57:25 FreeFull: Of course 23:57:57 You get bonus points for every additional language allowed, which one is used being asked for at startup 23:58:14 I'm thinking the random number generation would be seeded by the input 23:58:28 So changing a byte at the start will change all the subsequent output