←2017-01-26 2017-01-27 2017-01-28→ ↑2017 ↑all
00:00:18 <int-e> \oren\: what do you mean?
00:01:11 <int-e> (or perhaps, how do you open a file?)
00:01:54 <int-e> and what kind of file is it; it's quite possible that an emacs mode would use a subprocess
00:15:47 -!- spiette has quit (Ping timeout: 240 seconds).
00:20:26 -!- Zarutian has quit (Quit: Zarutian).
00:39:51 -!- 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.”).
00:43:07 -!- sfz- has quit (Remote host closed the connection).
01:40:53 -!- Phantom__Hoover has quit (Read error: Connection reset by peer).
01:46:58 -!- DHeadshot has joined.
01:52:17 -!- boily has joined.
01:54:45 <boily> `wisdom
01:54:56 <HackEgo> relrod//A relrod is a machine useful for finding the Force.
02:05:22 -!- DHeadshot has quit (Ping timeout: 256 seconds).
02:10:44 -!- heroux has quit (Ping timeout: 240 seconds).
02:11:06 -!- heroux has joined.
02:11:36 <hppavilion2> I think HackEgo wisdom technically qualifies as a fully-fledged Wiki
02:13:46 <quintopia> helloily
02:13:56 <boily> quinthellopia!
02:16:25 -!- spiette has joined.
02:16:30 -!- augur has joined.
02:18:17 <boily> hppavilion2: hppavellon2. it even qualifies as a PDF!
02:18:35 <hppavilion2> boily: True!
02:18:47 -!- boily has quit (Quit: BOVINE CHICKEN).
02:18:59 <quintopia> i wish i was gooder at bash/linux
02:19:27 <quintopia> id make hackego give people snarky birthday greetings
02:21:40 -!- augur has quit (Ping timeout: 255 seconds).
02:28:34 -!- tromp has quit (Remote host closed the connection).
02:47:29 -!- tromp has joined.
03:28:49 -!- tromp has quit (Remote host closed the connection).
03:37:44 -!- hppavilion2 has quit (Ping timeout: 256 seconds).
03:45:15 -!- kiki` has joined.
04:01:42 -!- Perenelle has joined.
04:17:11 -!- Perenelle has quit (Read error: Connection reset by peer).
04:17:48 <zzo38> Do you know much of OpenGL? Is there a program to just render a picture using ARB shader programs? I could write such thing if I have the example to see how such thing is to work.
04:19:50 <zzo38> And what does fog coordinates do?
04:20:31 <HackEgo> [wiki] [[Forte]] https://esolangs.org/w/index.php?diff=50803&oldid=38245 * TehFlaminTaco * (+284)
04:29:39 -!- tromp has joined.
04:32:01 <Cale> zzo38: I haven't ever really experimented with it, but isn't the trick something like making a single triangle which is large enough to cover the screen?
04:33:09 -!- augur has joined.
04:33:50 -!- tromp has quit (Ping timeout: 240 seconds).
04:34:22 <zzo38> I should think to need a rectangle? Shouldn't the output be a rectangle picture, isn't it?
04:35:50 <Cale> You could use two triangles, but it's simpler to get away with just one which extends past the screen
04:36:46 <zzo38> O, OK. Does it automatically know not to render that part of the triangle?
04:36:50 <Cale> Like, it can be a right triangle whose two legs lie along the left side and bottom of the screen, and then the hypotenuse just barely touches the top right corner
04:37:18 <Cale> I don't know how anything actually works, I've just heard that this is a thing people do
04:37:34 -!- augur has quit (Ping timeout: 255 seconds).
04:37:36 <Cale> Ed Kmett mentioned it to me, and I've seen it in a few other places.
04:38:34 <zzo38> Yes, actually after you mentioned, use just one which extends past the screen, I did think of that.
05:10:36 -!- hppavilion2 has joined.
05:36:19 -!- Cale has quit (Excess Flood).
05:36:44 -!- Cale has joined.
05:44:02 -!- oerjan has joined.
05:46:51 <oerjan> hm the mail directory seems gone after the server upgrade
05:47:33 <oerjan> (not the server with the mail on, though, so i assume it's just nfs or whatever trouble)
06:21:15 -!- hppavilion2 has quit (Ping timeout: 276 seconds).
06:49:11 -!- augur has joined.
06:53:55 -!- augur has quit (Ping timeout: 255 seconds).
06:54:26 -!- staffehn has quit (Ping timeout: 245 seconds).
06:59:12 <HackEgo> [wiki] [[Talk:Forte]] https://esolangs.org/w/index.php?diff=50804&oldid=8767 * Oerjan * (+335) /* Quine */ new section
07:02:44 -!- augur has joined.
07:19:32 -!- doesthiswork1 has quit (Quit: Leaving.).
07:27:20 -!- staffehn has joined.
07:30:46 -!- tromp has joined.
07:35:02 -!- tromp has quit (Ping timeout: 248 seconds).
07:43:22 -!- hppavilion2 has joined.
08:34:17 -!- PinealGlandOptic has joined.
08:38:11 -!- sirnaysayer has quit (Ping timeout: 240 seconds).
08:43:51 -!- sirnaysayer has joined.
09:05:03 -!- hppavilion2 has quit (Ping timeout: 276 seconds).
09:31:37 -!- tromp has joined.
09:36:19 -!- tromp has quit (Ping timeout: 260 seconds).
09:53:49 <b_jonas> ``` c=bin/scheme; >$c echo $'#!/bin/sh\nexec perl \'-ne/Scheme$/&&push@p,$p;$p=$_}{print$p[rand@p]\' share/mtg/allsets.txt' && chmod -c a+x "$c"
09:53:54 <HackEgo> mode of `bin/scheme' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x)
09:53:57 <b_jonas> `scheme
09:53:59 <HackEgo> My Undead Horde Awakens
09:54:00 <b_jonas> `scheme
09:54:01 <HackEgo> Look Skyward and Despair
09:55:36 <Jafet> zzo38: shadertoy.com, among others
09:56:11 <oerjan> that scheme looks very functional
09:56:41 <oerjan> `which guile
09:56:42 <HackEgo> No output.
09:56:44 <Jafet> (shadertoy supports GLSL; I don't know if it runs ARB)
09:57:01 <b_jonas> In M:tG, because Scheme cards are oversized and have no mana cost, they have great card names, very suggestive ones that you can appreciate even if you don't look at the rest of the card and don't know any M:tG lore. Usually that sort of text can appear only in flavor text.
09:58:05 <oerjan> `scheme (+ 2 2)
09:58:07 <HackEgo> Your Puny Minds Cannot Fathom
09:58:31 <b_jonas> There are 50 scheme cards, and `scheme prints the card name of a random one. There's probably less than a dozen non-scheme cards with card names so suggestive, mostly in the Kamigawa block, the Zendikar block, and Portal 3.
10:02:17 <Jafet> > ((+) 2 2)
10:02:20 <lambdabot> 4
10:38:12 -!- PinealGlandOptic has quit (Quit: leaving).
11:03:23 -!- LKoen has joined.
11:18:33 -!- oerjan has quit (Quit: Later).
11:30:27 -!- jameseb has quit (Ping timeout: 258 seconds).
11:31:44 -!- jameseb has joined.
11:32:47 -!- tromp has joined.
11:33:33 -!- boily has joined.
11:37:06 -!- tromp has quit (Ping timeout: 240 seconds).
12:13:25 <boily> @metar UHPX
12:13:25 <lambdabot> No result.
12:18:34 -!- boily has quit (Quit: YEW CHICKEN).
12:23:54 -!- tromp has joined.
12:26:00 -!- Zarutian has joined.
12:27:54 -!- Zarutian has quit (Client Quit).
12:32:30 -!- myname has quit (Ping timeout: 240 seconds).
12:35:40 -!- myname has joined.
12:36:42 -!- LKoen has quit (Remote host closed the connection).
12:44:48 -!- tromp has quit (Remote host closed the connection).
13:17:51 -!- AnotherTest has joined.
13:23:45 -!- Lord_of_Life has quit (Excess Flood).
13:24:59 -!- Lord_of_Life has joined.
13:34:55 -!- LKoen has joined.
13:45:38 -!- tromp has joined.
13:50:19 -!- tromp has quit (Ping timeout: 256 seconds).
14:00:30 -!- doesthiswork has joined.
14:35:35 -!- AnotherTest has quit (Quit: ZNC - http://znc.in).
15:06:16 -!- doesthiswork has quit (Quit: Leaving.).
15:25:27 -!- tromp has joined.
15:30:30 -!- tromp has quit (Ping timeout: 276 seconds).
15:56:09 -!- kiki` has quit (Quit: Connection closed for inactivity).
16:46:41 -!- tromp has joined.
16:51:05 -!- tromp has quit (Ping timeout: 256 seconds).
16:55:30 -!- Phantom_Hoover has joined.
17:02:34 -!- Lord_of_Life has quit (Excess Flood).
17:04:59 -!- Lord_of_Life has joined.
17:41:22 -!- `^_^v has joined.
17:43:34 -!- DHeadshot has joined.
17:50:20 -!- Zarutian has joined.
17:51:32 -!- Zarutian has quit (Read error: Connection reset by peer).
17:51:50 -!- Zarutian has joined.
18:15:37 -!- amused has changed nick to hydraz.
18:19:21 -!- hppavilion2 has joined.
18:32:36 -!- tromp has joined.
18:36:56 -!- tromp has quit (Ping timeout: 245 seconds).
18:48:05 -!- doesthiswork has joined.
18:48:54 -!- LKoen has quit (Remote host closed the connection).
18:53:41 -!- ais523 has joined.
18:55:02 <ais523> ugh, you know that situation where you want to do something utterly insane, and searching for advice about it just returns pages about the general subject that assume you don't know what you're doing?
18:55:15 -!- hppavilion2 has quit (Ping timeout: 276 seconds).
18:55:35 <ais523> in my case, what I want to do is to add a finalizer to an existing Java object retroactively, so that I can see what its final state looked like when it became unreferenced
18:55:52 <ais523> PhantomReference is very close to this, but intentionally doesn't give you any way to get at the object's final state
18:56:35 <ais523> it's clearly possible to do this within the JVM – the mechanism's used to implement actual finalizers, and there's a package-private class in the Java internals that handles it – but apparently no API
18:56:52 <ais523> anyone here have any advice?
18:57:09 <ais523> (there are some rather more insane things I want to do with the JVM too, but this one seems like the most viable)
19:07:55 -!- LKoen has joined.
19:16:43 -!- doesthiswork has quit (Quit: Leaving.).
19:22:25 -!- Lord_of_Life has quit (Excess Flood).
19:25:29 -!- Lord_of_Life has joined.
19:28:03 -!- DHeadshot has quit (Ping timeout: 256 seconds).
19:32:59 -!- hppavilion2 has joined.
19:51:01 -!- hppavilion2 has quit (Ping timeout: 248 seconds).
19:56:54 -!- hppavilion2 has joined.
20:05:56 -!- wob_jonas has joined.
20:06:13 <wob_jonas> "<ais523> ugh, you know that situation where you want to do something utterly insane, and searching for advice about it just returns pages about the general subject that assume you don't know what you're doing?" => yes
20:06:26 <wob_jonas> I asked about something like that a few days ago:
20:07:30 <wob_jonas> In http://tunes.org/~nef/logs/esoteric/17.01.20
20:07:49 <wob_jonas> "I have an interlaced video, and want to tell ffmpeg to throw away half of the frames, keeping only the even numbered frames with half the vertical resolution. But this seems impossible to search for, because an internet search only finds hits about how to re-encode interlaced videos but NOT throw away information from it.
20:07:57 <wob_jonas> That's the more typical use case, because most of the interlaced videos are low resolution, digitized from analog television or VHS, so it makes sense,"
20:08:44 <wob_jonas> ais523: also, my random observation from this morning:
20:08:53 <wob_jonas> In M:tG, because Scheme cards are oversized and have no mana cost, they have great card names, very suggestive ones that you can appreciate even if you don't look at the rest of the card and don't know any M:tG lore. Usually that sort of text can appear only in flavor text.
20:09:01 <wob_jonas> There are 50 scheme cards, and `scheme prints the card name of a random one. There's probably less than a dozen non-scheme cards with card names so suggestive, mostly in the Kamigawa block, the Zendikar block, and Portal 3.
20:09:03 <wob_jonas> `scheme
20:09:03 -!- hppavilion2 has quit (Remote host closed the connection).
20:09:11 <HackEgo> Surrender Your Thoughts
20:09:15 <wob_jonas> `scheme
20:09:16 <HackEgo> Only Blood Ends Your Nightmares
20:09:30 -!- hppavilion2 has joined.
20:09:44 <ais523> we clearly need HackEgo to confuse `scheme and `! scheme sometimes
20:09:54 <ais523> or at least, we'd need that if the commands were more widely used
20:09:59 <ais523> (does `! scheme even exist?)
20:10:14 <ais523> `! scheme (format 9)
20:10:14 <HackEgo> ​/hackenv/bin/!: 4: exec: ibin/scheme: not found
20:10:17 <ais523> apparently not
20:10:53 <wob_jonas> isn't that a type error though?
20:12:09 <wob_jonas> are all interpreters supposed to be linked from ibin?
20:13:07 <ais523> ibin is basically for wrappers that handle all the stages in running a oneliner program
20:13:14 <wob_jonas> ``` sqlite3 <<<"select 'hello, world';"
20:13:14 <HackEgo> hello, world
20:13:18 <ais523> `! c printf("Hello, world!\n");
20:13:21 <HackEgo> Does not compile.
20:13:31 <wob_jonas> `lua -e print"hello, world"
20:13:32 <ais523> although sometimes it's nonobvious what sort of input they want
20:13:32 <HackEgo> hello, world
20:14:01 <wob_jonas> ok, so there probably should be a wrapper for lua at least, since that's already installed
20:14:18 <wob_jonas> is it ok if I create one?
20:14:39 <wob_jonas> these should take the program from command line, right?
20:14:42 <ais523> sure, this is actually the original reason HackEgo was created
20:14:44 <ais523> and yes
20:15:09 <ais523> (HackEgo's actual purpose became somewhat lost with all the rainbow welcomes and the like, but it was originally meant to be an EgoBot that anyone could update rather than just it owner)
20:15:19 <wob_jonas> ``` cat ibin/haskell
20:15:20 <HackEgo> ​#!/bin/sh \ . lib/interp \ interp_file ./interps/ghc/runghc
20:15:21 <wob_jonas> ``` cat ibin/c
20:15:22 <HackEgo> ​#!/bin/sh \ . lib/interp \ interp_file "./interps/gcccomp/gcccomp c"
20:15:25 <wob_jonas> what do those things do?
20:15:31 <wob_jonas> ``` cat lib/interp
20:15:32 <HackEgo> ​#!/bin/sh \ \ export I_CMD="$0" \ export I_ARG="$1" \ export ARG_FILE="/tmp/input.$$" \ \ get_arg() { \ #if expr "$I_ARG" : "http://" > /dev/null \ #then \ # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE" \ #else \ printf '%s' "$I_ARG" > "$ARG_FILE" \ #fi \ } \ \ clean_arg() { \ rm -f "$ARG_FILE" \ } \ \ interp
20:15:47 <wob_jonas> um,
20:15:51 <ais523> wob_jonas: replicate the common machinery that EgoBot used
20:16:05 <ais523> I don't think you'd have to use it in new interpreters
20:16:11 <ais523> although what language is that?
20:16:17 <ais523> it looks like a hellish mix of Bash and C
20:16:19 <wob_jonas> what is what language?
20:16:24 <ais523> lib/interp
20:16:29 <wob_jonas> that looks like bash to me
20:16:40 <wob_jonas> the functionname(){ is bash function definition syntax
20:16:45 <wob_jonas> and printf is a bash builtin
20:16:54 <wob_jonas> note no parenthesis when calling it
20:16:57 <wob_jonas> totally bash
20:17:05 <ais523> oh, I see, plenty of lines have been commented out
20:17:08 <wob_jonas> but note that it's sourced, not ran
20:17:09 <ais523> explaining the #if and #wget
20:17:15 <wob_jonas> ah!
20:17:46 <ais523> egobot would run programs from URLs
20:18:48 <wob_jonas> ``` grep -L lib/interp ibin/* # almost all of the interpreters use that library, these don't:
20:18:49 <HackEgo> ibin/help \ ibin/k
20:19:12 <wob_jonas> I should probably rather use it too, I'm just not sure what its interface is
20:19:44 <ais523> `! help
20:19:45 <HackEgo> The ! or interp command calls various language interpreters transfered from old EgoBot. Try `url ibin/ for a list.
20:19:46 <wob_jonas> note that ibin/k appears to be a joke, not an interpreter of the apl-like k
20:19:57 <wob_jonas> (unless it's a double joke)
20:20:04 <wob_jonas> `! k 9*2
20:20:05 <HackEgo> ​!"#$%^&* 0123456789
20:20:43 <wob_jonas> ``` cat ibin/perl
20:20:44 <HackEgo> ​#!/bin/sh \ . lib/interp \ interp_file perl
20:21:13 <wob_jonas> ``` cat interps/gcccomp/gcccomp
20:21:14 <HackEgo> ​#!/bin/bash \ LANG="$1" \ echo >>"$2" \ \ case "$LANG" in \ c) \ HEAD='#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/types.h>\n#include <unistd.h>\nint main(int argc, char **argv) {' \ TAIL='; return 0; }' \ EXT='c' \ GCC='gcc' \ FLAGS='-lm -std=gnu99' \ ;; \ \ c
20:21:54 <wob_jonas> I guess interp_file calls the program after it and adds the name of the file containing the source code an argument
20:22:04 <wob_jonas> then just interp_file lua should work
20:22:51 <wob_jonas> ``` c=ibin/lua; >$c echo $'#!/bin/sh\n. lib/interp\ninterp_file lua' && chmod -c a+x ibin/lua
20:22:53 <HackEgo> mode of `ibin/lua' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x)
20:23:01 <wob_jonas> `! lua print "hello, world"
20:23:02 <HackEgo> hello, world
20:23:03 -!- hppavilion2 has quit (Remote host closed the connection).
20:23:24 <wob_jonas> `! lua print(LUA_VERSION)
20:23:25 -!- hppavilion2 has joined.
20:23:25 <HackEgo> nil
20:23:30 <wob_jonas> `! lua print(_VERSION)
20:23:31 <HackEgo> Lua 5.2
20:23:33 <ais523> I guess we should maybe add some golfing languages? I went and learned Jelly a while back, and Brachylog recently (although Brachylog's current version is fairly new and buggy)
20:24:06 <wob_jonas> there's already perl, does that count?
20:24:19 <wob_jonas> perl does try to be concise
20:24:24 <wob_jonas> by design that is]
20:24:40 <wob_jonas> in the same sense as intercal tries to be esoteric
20:24:53 <wob_jonas> maybe that's not its main goal
20:25:41 <ais523> perl's nowhere near as concise as Jelly
20:25:51 <ais523> I'm currently working on a golfing language of my own that aims to be even terser
20:26:01 <wob_jonas> `! lua for c=0,9 do print(c)end
20:26:02 <HackEgo> 0 \ 1 \ 2 \ 3 \ 4 \ 5 \ 6 \ 7 \ 8 \ 9
20:26:06 <wob_jonas> sure, because perl is early
20:26:51 <ais523> Perl wasn't designed to be concise, though, but rather to work like natural languages
20:29:55 <ais523> but English is fairly golfable, so it's not surprising Perl is too
20:33:32 -!- tromp has joined.
20:37:46 -!- tromp has quit (Ping timeout: 240 seconds).
21:09:08 -!- Lord_of_Life has quit (Excess Flood).
21:13:59 -!- Lord_of_Life has joined.
21:15:00 -!- hppavilion2 has quit (Ping timeout: 276 seconds).
21:31:25 <wob_jonas> It's all good, you just list like a minute
21:35:57 -!- spiette has quit (Quit: :qa!).
21:57:16 <\oren\> why cant anyone spell fascism
21:57:21 <\oren\> its not facism
21:57:25 <\oren\> idiots
21:58:07 <\oren\> facism would be discrimination on the basis of your face being stupid
22:06:25 <zzo38> If sprunge is over quota when is supposed to try again later?
22:14:56 <shachaf> After 25 minutes.
22:22:01 -!- copumpkin has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
22:34:34 -!- tromp has joined.
22:38:36 -!- tromp has quit (Ping timeout: 240 seconds).
22:39:43 -!- hppavilion2 has joined.
22:46:32 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client).
22:53:27 -!- kiki` has joined.
23:02:05 -!- copumpkin has joined.
23:03:33 -!- hppavilion2 has quit (Ping timeout: 248 seconds).
23:27:06 -!- boily has joined.
23:34:29 <boily> @tell oerjan chúc mừng năm mớerjan!
23:34:29 <lambdabot> Consider it noted.
23:35:46 <boily> sống lâu trăm tuổint-e!
23:36:58 <boily> gung hei shachafaat coi!
23:45:16 <HackEgo> [wiki] [[D♭♭]] N https://esolangs.org/w/index.php?oldid=50805 * Enoua5 * (+424) Created page with "=== Pronunciation === D♭♭ is pronounced "Dee double flat" == Introduction == In music, there are a couple rare marks known as "Double flat" and "Double sharp". While a sha..."
23:46:41 <int-e> boily's speaking in tongues
23:47:13 <boily> Chinese New Year!
23:47:33 <HackEgo> [wiki] [[Joke language list]] M https://esolangs.org/w/index.php?diff=50806&oldid=50770 * Enoua5 * (+14)
23:48:22 <HackEgo> [wiki] [[D♭♭]] M https://esolangs.org/w/index.php?diff=50807&oldid=50805 * Enoua5 * (+0) should probably have the intro first
23:48:25 <int-e> oh, year of the rooster
23:49:08 <int-e> that will be very exciting for chickens
23:49:48 <boily> ^^
23:53:22 -!- hppavilion2 has joined.
23:53:43 <boily> hppavellonne année du coq!
23:56:40 -!- DHeadshot has joined.
23:56:43 <boily> re that last few edits on the wiki: that may be one of the worst joke languages we have...
23:57:47 <boily> (besides, there's a Unicode codepoint for that: 𝄫)
23:58:52 <DHeadshot> Dbb? It's barely a joke language. Dunno what it's doing on the wiki...
←2017-01-26 2017-01-27 2017-01-28→ ↑2017 ↑all