←2018-04-08 2018-04-09 2018-04-10→ ↑2018 ↑all
00:00:00 <oerjan> that may be a different way to fix it.
00:00:56 <oerjan> `` grep -l -r 'shuf -z' bin
00:00:56 <HackEso> bin/randbin
00:01:39 <oerjan> `` grep -l -r ' -z' bin
00:01:40 <HackEso> bin/wisdom \ bin/f \ bin/trueif \ bin/randbin \ bin/whoops \ bin/tomfoolery \ bin/hello-world-in-any-language
00:01:47 <oerjan> `cat bin/f
00:01:47 <HackEso> ​#! /bin/bash \ cmd="$1" \ shift \ f="$*" \ if [[ -z "$f" && "$cmd" == *\ * ]]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi \ if [[ -z "$f" ]]; then echo try: \`f command filename; elif [[ -e "$f" ]]; then "$cmd" "$(< "$f")"; else echo no such file: "$f"; fi
00:02:04 <oerjan> `cat bin/whoops
00:02:04 <HackEso> OLD="wisdom/$1"; [ -z "$1" ] && OLD="$(lastfiles)"; NEW="${OLD}s"; if [ -f "$NEW" ]; then echo "«${NEW}» already exists"; exit 1; fi; mv "$OLD" "$NEW" && echo "«${OLD}» -> «${NEW}»"
00:02:25 <oerjan> hm hard to grep for everything that uses NUL separation.
00:03:21 <oerjan> fizzie: anyway, if that's the only problem it's rare enough that we can fix the commands individually (and maybe there aren't any more)
00:07:44 -!- tromp has quit (Remote host closed the connection).
00:20:24 -!- Naergon has joined.
00:31:32 <oerjan> . o O ( Is there a Mediawiki script to suggest Preview to people who edit the same article several times in a span of 5 minutes? )
00:34:33 <MoonyTheDwarf> oerjan, yup. it's called "the users of the wiki"
00:34:56 <esowiki> [[Special:Log/delete]] delete * Oerjan * deleted "[[Computerfuck]]": content was: "Sorry, the creator of this language decided to change its name Feel free to use this...", and the only contributor was "[[Special:Contributions/Is this the Krusty Krab|Is this the Krusty Krab]]" ([[User talk:Is this the Krusty Krab|talk]])
00:38:16 -!- tromp has joined.
00:39:40 <oerjan> MoonyTheDwarf: scripts are so much less scary
00:40:08 <MoonyTheDwarf> be scary. *makes HackEso noises*
00:41:37 <oerjan> no, no, i'm the one who _gets_ scared.
00:41:50 <MoonyTheDwarf> ok
00:43:02 -!- tromp has quit (Ping timeout: 260 seconds).
00:44:09 -!- Naergon has quit (Ping timeout: 264 seconds).
00:44:13 <oerjan> `cat bin/hurl
00:44:14 <HackEso> ​#!/usr/bin/env python \ import sys, os.path, re, urllib \ if len(sys.argv) <= 1: \ print "https://hack.esolangs.org/repo/" \ else: \ f = os.path.abspath(sys.argv[1]) \ f = re.sub(r"^/+hackenv/", "", f) \ if re.match(r"/|(?:\.hg|tmp)(?:/|$)",f): \ sys.exit("File is outside web-viewable filesystem repository.") \ else:
00:47:02 <oerjan> `url
00:47:02 <HackEso> https://hack.esolangs.org/repo/
00:47:34 -!- tromp has joined.
00:52:28 -!- tromp has quit (Ping timeout: 260 seconds).
00:56:05 -!- MDude has quit (Ping timeout: 240 seconds).
01:01:10 <oerjan> `le/rn actor model//The actor model is a model of computation based on actors (duh). Its major implementation is the Shakespeare Programming Language.
01:01:12 <HackEso> Learned 'actor model': The actor model is a model of computation based on actors (duh). Its major implementation is the Shakespeare Programming Language.
01:04:50 -!- MDude has joined.
01:21:51 -!- tromp has joined.
01:26:53 -!- tromp has quit (Ping timeout: 260 seconds).
02:30:41 -!- tromp has joined.
02:35:45 <izabera> fizzie: pragma- is ignoring me
02:35:46 -!- tromp has quit (Ping timeout: 264 seconds).
02:35:48 <izabera> unmute me
02:36:03 <shachaf> writing some c++ template things
02:36:18 <shachaf> I feel like some bad decisions brought me to this point.
02:41:48 -!- Naergon has joined.
02:58:45 <oerjan> . o O ( * bans izabera for bringing in conflicts from other channels )
02:59:09 <oerjan> shachaf: sounds like a given.
03:00:58 -!- Naergon has quit (Ping timeout: 264 seconds).
03:04:18 -!- imode has quit (Ping timeout: 260 seconds).
03:23:28 <zzo38> Is there a command in Linux to add a timestamp on each line?
03:24:36 <izabera> there's a command named ts in moreutils
03:25:31 <zzo38> O, OK, thanks
03:29:47 <zzo38> I already have moreutils installed, and now I looked at it again, yes it is useful
03:45:39 <zzo38> I think moreutils is good, especially the "sponge" command
04:02:19 -!- tromp has joined.
04:07:36 -!- tromp has quit (Ping timeout: 268 seconds).
04:14:11 -!- imode has joined.
04:22:46 <zzo38> Now I have made the loading key bindings in Free Hero Mesh much faster. I also added testing for the key bindings as well as for pictures and a few other things; drawing the pictures seems to work now.
04:29:02 <zzo38> The SQLITE_PREPARE_PERSISTENT option is useful, because if a key binding contains a SQL statement (most bindings don't, but it can be useful if you want to assign a key to do something other than a built-in command; even statements such as VACUUM can be used) then it keeps it prepared all the time, and SQLITE_PREPARE_PERSISTENT is a hint in case it can work better due to that.
04:33:23 -!- tromp has joined.
04:38:09 -!- tromp has quit (Ping timeout: 264 seconds).
05:10:47 -!- tromp has joined.
05:12:51 -!- sprocklem has quit (Ping timeout: 256 seconds).
05:15:11 -!- tromp has quit (Ping timeout: 245 seconds).
05:16:04 -!- Guest6451 has joined.
05:17:57 -!- Slereah has quit (Ping timeout: 256 seconds).
05:22:26 <imode> why is brainfuck so popular.
05:23:47 <zzo38> I don't know?
05:38:12 <oerjan> irresistible branding
05:38:49 <shachaf> it's the lobbyists from Big Brick
05:42:55 <imode> what does Big Brick invest in brainfuck.
05:44:26 -!- tromp has joined.
05:46:20 <oerjan> `? brick
05:46:21 <HackEso> Brick goes in brain. The statutory punishment for perpetrators of brainfuck derivatives.
05:46:32 <zzo38> Because Small Brick cannot invest in brainfuck.
05:48:35 -!- tromp has quit (Ping timeout: 240 seconds).
05:49:29 <imode> aw. but isn't brainfuck just turing machine derivative.
05:51:17 <izabera> isn't python just turing machine derivative
05:52:28 <imode> no it has lambdas. that's cheating.
05:53:20 <izabera> i thought we settled on lambda calculus == turing machines
05:53:54 <imode> if lambda calculus == turing machines then why do we have instruction sets and not processors based on the lambda calculus.
05:53:57 <imode> checkmate lispers.
05:54:23 <izabera> am confused
05:57:47 <zzo38> Well, brainfuck is similar to P'' although there is a difference (such as P'' has no I/O)
06:07:51 <pikhq> imode: Didn't we though?
06:08:04 <imode> we did not.
06:08:16 <zzo38> Lambda calculus is a different model than Turing machines though
06:08:33 <imode> lisp machines were just stack machines.
06:08:37 <pikhq> zzo38: And the fact that they're equivalent in power is a non-obvious result.
06:09:08 <zzo38> OK
06:09:47 -!- sprocklem has joined.
06:16:48 -!- sleffy has quit (Ping timeout: 260 seconds).
06:39:06 -!- xkapastel has quit (Quit: Connection closed for inactivity).
06:44:51 -!- augur has quit (Remote host closed the connection).
06:45:24 -!- augur has joined.
06:59:33 -!- tromp has joined.
07:00:52 -!- variable has joined.
07:04:38 -!- tromp has quit (Ping timeout: 260 seconds).
07:22:16 -!- oerjan has quit (Quit: Nite).
07:37:51 -!- Aearnus has quit (Quit: Aearnus).
07:37:52 <zzo38> Why doesn't the ARRL Numbered Radiograms include any questions? Also, why are some numbers unused (such as, ARL FORTY SEVEN seems to be unassigned)?
07:39:39 -!- tromp has joined.
07:45:37 <esowiki> [[Morsefuck]] https://esolangs.org/w/index.php?diff=54772&oldid=50560 * Zzo38 * (+160) List of commands
08:35:36 -!- Phantom_Hoover has joined.
08:35:37 -!- Phantom_Hoover has quit (Changing host).
08:35:37 -!- Phantom_Hoover has joined.
08:42:01 -!- AnotherTest has joined.
08:51:35 -!- imode has quit (Ping timeout: 256 seconds).
09:50:10 -!- augur has quit (Ping timeout: 264 seconds).
10:13:06 -!- ^v has quit (Ping timeout: 246 seconds).
10:24:16 -!- ^v has joined.
11:23:21 -!- Guest6451 has quit (Remote host closed the connection).
11:24:19 -!- Guest6451 has joined.
11:31:47 -!- Phantom_Hoover has quit (Ping timeout: 255 seconds).
12:23:03 -!- wob_jonas has joined.
12:24:20 <wob_jonas> zzo38: because that's the diagnostic side. a medicine of a different specialization asks the questions, sends you to the radiologist with them, then the radiologists makes the radiogram with x-ray photographic machine, and answers the questions.
13:13:55 -!- prooftechnique_ has changed nick to prooftechnique.
13:39:16 -!- ais523_ has joined.
13:39:28 -!- ais523_ has changed nick to ais523.
13:39:31 -!- ais523 has changed nick to ais523_.
13:48:47 <wob_jonas> ais523: there's something that bothers me a bit about But is it art. if I read the rules right, if a program accepts an input and prints an output, then it also accepts the same input repeated twice and prints the same output repeated twice.
13:49:29 <ais523_> wob_jonas: yes, that's mentioned on the talk page
13:49:42 <wob_jonas> that's an ugly restriction on IO for the language to have, and it doesn't seem like it's necessary for the language. It doesn't look like it's too hard to have changed the definition of the language slightly to avoid it.
13:49:43 <ais523_> you can fix it easily by adding an explicit EOF character, but I thought it might be more interesting this way
13:49:52 <wob_jonas> oh, I didn't check the talk page
13:50:16 <ais523_> (the simplest solution is to use DOS text file encoding, in which case a file ends at the first codepoint 26 / 0x1A)
13:50:20 <wob_jonas> I wasn't thinking of an EOF character, more like sawing off a corner of the rectangle (but restrict the remaining shape to non-empty).
13:50:30 <ais523_> ugh, that's much less artistic
13:50:48 <wob_jonas> Is it really? I've done it once to remove symmetry from a problem
13:53:22 <wob_jonas> You could also use some sort of a triangle frame instead of a rectangle with one cell cut off, but that would make programs a bit bigger.
13:57:18 -!- ais523_ has quit (Quit: meeting).
14:30:30 -!- sleffy has joined.
14:48:37 -!- SopaXorzTaker has joined.
15:17:13 -!- variable has quit (Quit: /dev/null is full).
15:35:27 -!- LKoen has joined.
15:56:22 -!- xkapastel has joined.
16:00:53 -!- AnotherTest has quit (Ping timeout: 255 seconds).
16:06:22 -!- sleffy has quit (Ping timeout: 264 seconds).
16:09:14 <wob_jonas> `python3 -c print([x for x in range(99)])
16:09:15 <HackEso> ​ File "<string>", line 1 \ print([x for x in range(99)]) \ ^ \ IndentationError: unexpected indent
16:09:33 <wob_jonas> `python3 -cprint([x for x in range(99)])
16:09:34 <HackEso> ​[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
16:09:39 <wob_jonas> so picky
16:13:08 <wob_jonas> ``` uname -a
16:13:09 <HackEso> Linux (none) 4.9.82 #6 Sat Apr 7 13:45:01 BST 2018 x86_64 GNU/Linux
16:18:14 <wob_jonas> `fetch http://dpaste.com/3D5B57V.txt
16:18:16 <HackEso> 2018-04-09 17:18:15 URL:http://dpaste.com/3D5B57V.txt [44] -> "3D5B57V.txt" [1]
16:18:31 <wob_jonas> `cat 3D5B57V.txt
16:18:31 <HackEso> VJXM58QB1vl_2RWgmrzzK5RP2iYbkZxInYAwGHXiJH9H
16:18:35 <wob_jonas> `rm 3D5B57V.txt
16:18:36 <HackEso> No output.
16:18:46 <wob_jonas> fetch works. greay.
16:24:01 -!- Guest6451 has changed nick to Slereah.
16:38:19 -!- Naergon has joined.
16:58:02 <fizzie> I'm surprised.
16:59:41 <fizzie> I would like to make the "no output file specified" variant of `fetch to write in tmp/ instead, but the behavior of tmp/ (together with the rerun-on-modify serialization) is too unintuitive to do that.
17:00:13 <fizzie> Oh, meetings.
17:01:27 -!- erkin has joined.
17:04:28 -!- lynn has joined.
17:34:27 <wob_jonas> `? dance
17:34:28 <HackEso> dance? ¯\(°​_o)/¯
17:34:29 <wob_jonas> `? disco
17:34:30 <HackEso> disco? ¯\(°​_o)/¯
17:34:38 -!- Phantom_Hoover has joined.
17:34:38 -!- Phantom_Hoover has quit (Changing host).
17:34:38 -!- Phantom_Hoover has joined.
17:42:03 <fizzie> wob_jonas: Re "so picky", at least continuation lines don't have to be marked with a non-blank character in column 6.
17:42:38 <wob_jonas> fizzie: are there even continuation lines? oh right, I think python allows a backslash in the previous line for that
17:43:03 <fizzie> Yes. And arguably parentheses and the like implicitly allow continuation lines.
17:43:12 <wob_jonas> good
17:43:46 <wob_jonas> although I'm partial to using underscore as a continuation marker, in those BASIC dialects that use a backslash for integer division
17:45:08 <fizzie> "Expressions in parentheses, square brackets or curly braces can be split over more than one physical line without using backslashes. -- There is no NEWLINE token between implicit continuation lines."
17:45:15 <fizzie> I guess Python does consider those continuation lines.
17:45:27 <fizzie> (That was from https://docs.python.org/3/reference/lexical_analysis.html#line-structure )
18:04:25 -!- SopaXorzTaker has quit (Remote host closed the connection).
18:33:20 -!- lldd_ has joined.
19:28:05 -!- imode has joined.
19:28:37 <esowiki> [[Special:Log/newusers]] create * Alpha-ketoacid * New user account
19:38:50 <wob_jonas> `? moxie
19:38:51 <HackEso> moxie? ¯\(°​_o)/¯
19:42:57 -!- AnotherTest has joined.
19:46:01 -!- xkapastel has quit (Quit: Connection closed for inactivity).
19:50:09 -!- AnotherTest has quit (Ping timeout: 264 seconds).
20:06:10 -!- sleffy has joined.
20:26:56 -!- Aearnus has joined.
20:55:16 -!- erkin has quit (Quit: Ouch! Got SIGIRL, dying...).
21:06:07 -!- lldd_ has quit (Quit: Leaving).
21:09:35 -!- Aearnus has quit (Quit: Aearnus).
21:22:12 -!- xkapastel has joined.
21:37:03 <wob_jonas> `? max
21:37:04 <HackEso> max? ¯\(°​_o)/¯
21:37:04 <wob_jonas> `? min
21:37:05 <HackEso> min? ¯\(°​_o)/¯
21:45:45 -!- boily has joined.
21:57:36 <boily> `5 w
21:57:38 <HackEso> 1/2:noooooodle//Noooooodles are the invention of the Chinese. They were brought to Europe by Marco Polo, a distant ancestor of Taneb. \ murphy'//Murphy's law obviously does not hold in wisdom/ \ mornington crescent//Sorry, you cannot read this wisdom until you've legally played Westminster. \ wtf//WTF means Welcome To Finland. \ the five w
21:57:42 <boily> `n
21:57:42 <HackEso> 2/2:isdoms//The first of the five wisdoms is that there is only one wisdom.
22:00:01 -!- Taneb has quit (Quit: I seem to have stopped.).
22:00:01 -!- sdhand has quit (Quit: ZNC 1.6.5 - http://znc.in).
22:16:58 <wob_jonas> `? hackeso
22:16:59 <HackEso> HackEso is almost but not quite unlike HackEgo.
22:17:02 <wob_jonas> `? hackego
22:17:03 <HackEso> HackEgo, also known as HackBot, is a bot that runs arbitrary commands on Unix. See `help for info on using it. You should totally try to hax0r it! Make sure you imagine it's running as root with no sandboxing. HackEgo is the slowest bot in all Mexico!
22:18:04 -!- Phantom_Hoover has quit (Remote host closed the connection).
22:23:19 <boily> wellob_jonas.
22:23:35 <boily> `botsnack
22:23:35 <HackEso> ​>:-D
22:27:00 <wob_jonas> helloily
22:27:51 -!- Phantom_Hoover has joined.
22:27:52 -!- Phantom_Hoover has quit (Changing host).
22:27:52 -!- Phantom_Hoover has joined.
22:33:15 <boily> @tell oerjan bonsϿirjan. https://youtu.be/BnoX3E2WFcc
22:33:15 <lambdabot> Consider it noted.
22:36:49 -!- Aearnus has joined.
22:50:25 -!- boily has quit (Quit: RUSH CHICKEN).
23:10:54 -!- LKoen has quit (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”).
23:13:57 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client).
23:14:59 -!- Phantom_Hoover has quit (Remote host closed the connection).
23:22:27 -!- oerjan has joined.
23:31:52 -!- xkapastel has quit (Quit: Connection closed for inactivity).
←2018-04-08 2018-04-09 2018-04-10→ ↑2018 ↑all