←2015-12-17 2015-12-18 2015-12-19→ ↑2015 ↑all
00:01:03 <\oren\> hint- read phonetically
00:02:34 -!- hppavilion[1] has quit (Ping timeout: 265 seconds).
00:04:11 <boily> he\\oren\. 夜露死苦。
00:06:10 <oerjan> \oren\: it worked better once i convinced google translate it wasn't chinese
00:07:51 <oerjan> as for boily's, no clue.
00:09:47 <boily> よろしく should work.
00:09:49 -!- heroux has quit (Ping timeout: 265 seconds).
00:10:34 -!- heroux has joined.
00:10:41 -!- mad has joined.
00:11:19 <oerjan> aha
00:11:56 <mad> hey
00:12:09 <oerjan> `relcome mad
00:12:10 <HackEgo> mad: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: <http://esolangs.org/>. (For the other kind of esoterica, try #esoteric on EFnet or DALnet.)
00:12:38 <mad> nice
00:12:50 -!- oerjan has set topic: The international hub for esoteric pun design and deployment. | Effi's finest fluffy waffles | https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf http://codu.org/logs/_esoteric/ http://tunes.org/~nef/logs/esoteric/?C=M;O=D | https://esolangs.org/.
00:13:08 <oerjan> better keep the topic on topic
00:13:50 <shachaf> `? pun
00:13:51 <HackEgo> pun? ¯\(°​_o)/¯
00:13:55 <mad> what kind of language would you end up with if you did something like C++, but with absolutely no aliasing or side effects
00:14:13 <oerjan> `learn Puns are fun. Ask shachaf about them.
00:14:17 <HackEgo> Learned 'pun': Puns are fun. Ask shachaf about them.
00:15:07 * oerjan defers to the people who actually know C++
00:15:42 <oerjan> `learn Puns are fun. Ask shachaf about them.
00:15:44 <HackEgo> Learned 'pun': Puns are fun. Ask shachaf about them.
00:15:58 <shachaf> help
00:16:04 <oerjan> what now
00:16:07 <shachaf> `` xxd wisdom/pun
00:16:08 <HackEgo> 0000000: 5075 6e73 2061 7265 2066 756e 2e20 4173 Puns are fun. As \ 0000010: 6b20 7368 6163 680f 6166 2061 626f 7574 k shach.af about \ 0000020: 2074 6865 6d2e 0a them..
00:16:17 <oerjan> i was just applying some anti-ping
00:16:19 -!- puck1pedia has joined.
00:16:45 -!- puckipedia has quit (Ping timeout: 260 seconds).
00:16:51 <oerjan> i tried to use the version that doesn't f* up your terminal
00:17:11 <boily> `? mad
00:17:12 <HackEgo> mad? ¯\(°​_o)/¯
00:17:16 <boily> `? madness
00:17:16 <HackEgo> madness lies thataway.
00:17:31 <boily> ah. I thought everyone here is mad. only mad is mad, and I'm a sane man.
00:17:32 <oerjan> i removed the mad entry. it was getting depressingly accurate.
00:17:34 -!- puck1pedia has changed nick to puckipedia.
00:17:37 <mad> yo
00:17:44 <oerjan> except for boily, of course.
00:17:51 <boily> mwah ah.
00:18:19 <boily> mad: unaliased, no side effects C++ sounds like Rust.
00:18:43 <mad> does rust have references
00:18:45 <oerjan> but do you count mutation as side effects? *MWAHAHAHA*
00:19:31 <oerjan> i don't know much about rust but the one thing i know is it has weird kinds of references
00:20:05 -!- bb010g has joined.
00:20:17 <mad> like, some people have "no side effects" for high-level execution kinds of goals
00:20:20 <boily> oerjan: mutation is a side effect only if it effects my sides hth
00:20:33 <mad> like using late evaluation functional programming
00:20:34 <boily> btw, where's kmc when you need him?
00:20:45 <mad> this is not what I'm talking about
00:21:01 <mad> I'm talking about "no side effects" for _performance_ reasons
00:21:28 <mad> so that you can make everything SIMD because pointer aliasing cannot happen at all ever
00:21:36 <mad> or do on-the-fly multithreading
00:21:45 <oerjan> boily: i haven't seen kmc here for years...
00:21:56 <FireFly> `? Alice
00:21:57 <HackEgo> Alice doesn't want to go among mad people.
00:22:03 <oerjan> he got too mad, then left
00:22:21 <FireFly> On that note, where did Bike go?
00:22:36 <mad> basically it means references can only ever exist on the stack
00:22:56 <mad> everything else requires either a deep copy, or something like copy-on-write
00:23:00 <boily> FireFly: a recurrent mystery, with disquieting hints as to his whereabouts :(
00:23:17 <oerjan> aka Bike still shows up with /whois
00:23:23 <shachaf> they all do
00:24:14 <FireFly> Maybe leaving this channel is a prerequisite to doing something productive
00:24:46 <shachaf> FireFly: that would explain my life tdnh
00:25:10 <oerjan> > const "what is this functional programming you're talking about" (1 `div` 0)
00:25:12 <lambdabot> "what is this functional programming you're talking about"
00:25:58 <mad> I've been on a marathon of std:: / STL containers recently
00:26:09 <mad> because of implementing text to phoneme
00:28:05 <mad> open source C coders with an aversion to C++ would twitch if they saw my code
00:28:26 <oerjan> as for "on-the-fly multithreading", even the haskell people cannot really make that work - even with a language with no mutation, it is still too hard for a computer to guess when splitting up work in parallel is worth it.
00:28:37 <oerjan> so you always need programmer hints.
00:29:22 <mad> hmm
00:29:33 -!- hppavilion[1] has joined.
00:29:40 <mad> something tells me haskell isn't too suitable for this, too
00:29:42 <oerjan> it can always do so _safely_, but not _efficiently_.
00:29:49 <mad> though I wouldn't really know
00:29:54 <mad> well
00:30:06 <hppavilion[1]> mad: Haskell isn't suitable for what?
00:30:17 <mad> on the fly being split into threads
00:30:20 <hppavilion[1]> Ah
00:30:23 <oerjan> haskell is Always Suitable (TM)
00:30:38 <oerjan> haskell is very good at splitting into threads when you hint properly.
00:31:17 <mad> ah
00:31:26 <hppavilion[1]> What is a program that is written in multiple languages called?
00:31:30 <hppavilion[1]> Not a polyglot
00:31:44 <oerjan> surely a polyglot.
00:31:50 <hppavilion[1]> A program that itself is written with different files in different languages that somehow communicated
00:31:55 <oerjan> ah.
00:31:56 <hppavilion[1]> s/ted/te/
00:32:12 * oerjan thinks "chimera" but that just popped into his head
00:32:38 <FireFly> I think it's called "a hedgewars"
00:33:06 <FireFly> Last I checked Hedgewars was written in five or six languages
00:33:07 <hppavilion[1]> Like, if I have a browser in Node and a parser for a new browser-based language in Python, and the Node browser writes the script-to-be-parsed into a file then calls the parser which parses and then serializes its output to JSON, which /it/ then writes to a file
00:33:20 <hppavilion[1]> And then the JS script loads up the JSON and executes it
00:33:29 <FireFly> At least C++, Haskell, Lua, Pascal
00:33:54 <hppavilion[1]> And this is something I'm actively doing. Like, what I just described. A new language for browsers (one that'll never really be used) that gets parsed in python.
00:34:34 <hppavilion[1]> Though I might use an internal server (with Thoonk, perhaps) instead of a file
00:35:29 <hppavilion[1]> Alternatively, I might just transcribe the Node into python. That could work too.
00:36:11 <mad> what's the slowest possible language
00:36:43 <zgrep> Programming purely using rocks.
00:36:52 <hppavilion[1]> mad: NotAScript: Accepts the empty file exclusively. Does not ever terminate, or do anything at all
00:37:07 <zgrep> Or perhaps programming using turtles.
00:37:17 <mad> well, slowest that actually runs and eventually must terminate
00:37:17 <hppavilion[1]> Here's a python interpreter:
00:37:20 <hppavilion[1]> input()
00:37:21 <hppavilion[1]> while True: pass
00:37:47 <hppavilion[1]> mad: So not TC I assume?
00:38:05 <oerjan> ais523 is trying to make a fast implementation of minsky machines. moral: languages aren't slow, implementations are.
00:38:25 <hppavilion[1]> Well you could always define a language as taking one second longer between lines than the slowest language, ad infinitum
00:38:27 <mad> must terminate for programs that terminate
00:38:31 <mad> so slowest TC
00:38:32 <shachaf> oerjan: is it taking him a long time to make it?
00:38:49 <hppavilion[1]> mad:
00:38:54 <shachaf> oerjan: because that sounds like a slow implementation indeed
00:38:54 * oerjan gently bruises shachaf with the swatter -----###
00:39:02 <hppavilion[1]> if argv[0] == '': while True: pass
00:39:08 <hppavilion[1]> else: pass
00:39:17 <hppavilion[1]> (might have to reformat to make it work)
00:39:30 <hppavilion[1]> All programs except the empty file terminate.
00:39:40 <hppavilion[1]> The empty file runs forever doing nothing.
00:40:09 <FireFly> You could make it take arbitrarily long to execute any program that terminates
00:40:17 <oerjan> i suppose one of the esolangs where instructions only work at specific times would be intrinsically slow.
00:40:20 <hppavilion[1]> Averaging the speed, you either get "it takes nearly 0 time for any given program" or "it takes forever to execute any file", depending on how you "average" with infinities
00:40:38 <hppavilion[1]> oerjan: Sort of like latitude or whatever it's called?
00:40:45 * oerjan doesn't remember any names, or indeed if there is more than one
00:40:53 <mad> oerjan : hm
00:40:58 <hppavilion[1]> But timeier?
00:41:05 -!- Frooxius has quit (Ping timeout: 255 seconds).
00:41:17 <FireFly> What if you specify the output of any program to be prefixed by the first N digits of some expensive-to-compute irrational number?
00:41:36 <hppavilion[1]> mad: Then again, one can argue that "takes 10000 years between lines" is still fast, since that's an implementation thing
00:41:56 -!- Frooxius has joined.
00:42:39 <hppavilion[1]> So speed of a programming language isn't really dependent on time to execute on a computer (indeed, a supercomputer does it faster than a desktop), it's more based on steps-to-complete
00:42:55 <hppavilion[1]> So then your question is valid again
00:43:07 <mad> I was thinking of this: all variables have a random value at start, and the only operation is to do comparatives on those random values and restart if they don't match
00:43:16 <FireFly> Well, it wasn't specified whether we were talking about asymptotic or concrete time
00:43:19 <mad> basically every sort would be a bogosort
00:43:34 <mad> and every algorithm would be O(N!)
00:43:46 <FireFly> Bogosort is just factorial though
00:43:53 <FireFly> There are artificial sort algorithms that are a lot slower
00:43:57 <FireFly> or at least one
00:44:05 <hppavilion[1]> Until we can remember that we can define "x" as a nop that takes one step and require that there be an arbitary number of "x"s between each instruction to even be syntactically valid
00:44:20 <hppavilion[1]> def nopscript(prog, nopiness):
00:44:26 <hppavilion[1]> I'll pastebin it, actually
00:51:37 <hppavilion[1]> mad: http://pastebin.com/faBnE9qg
00:51:55 <hppavilion[1]> Untested, probably works
00:52:21 <mad> oh man, there's a bogobogosort
00:52:30 <hppavilion[1]> Assuming unbounded integers, allows any nopscript-family language to be evaluated.
00:52:41 <hppavilion[1]> And raises an AssertionError if you fail to Nop it properly
00:53:30 <hppavilion[1]> mad: Yes. Yes there is.
00:54:12 <hppavilion[1]> mad: There's also Quantum Bogosort
00:54:43 <hppavilion[1]> Destroys the universe if the list isn't sorted on the first try. Only universes that survive (and thus can be observed) continue
00:57:03 <hppavilion[1]> Google uses quantum sort to create search results.
00:57:07 <oerjan> note: not predicted to work on actual quantum computers
00:58:09 <hppavilion[1]> Sure, they effectively commit omnicide so they can get you your porn quickly; but hey, that's google for you.
00:59:14 <boily> I prefer slow porn, withouth nudity, only two persons (I'm open to guy/guy, gal/gal, guy/gal and gal/guy), silent, lots of thinking, no contact, and a chess board between them.
01:16:22 <oerjan> boily: i was going to quibble, but https://www.reddit.com/r/chessporn
01:17:19 <boily> oooooooooh... you're making me blush!
01:18:43 <oerjan> you might want to visit before deciding to blush hth
01:19:37 <oerjan> (like most *porn subreddits, it's SFW)
01:21:28 -!- interest1ng has quit (Quit: Leaving...).
01:21:38 <boily> I visited, and I'm already subscribed to other SFW porn subs.
01:21:53 <boily> (mainly /r/mapporn. great content!)
01:22:49 <FireFly> Indeed
01:38:17 -!- ^v has joined.
01:41:06 <boily> ^hellov
01:42:37 -!- hppavilion[1] has quit (Ping timeout: 265 seconds).
01:43:38 <boily> `wisdom
01:43:39 <HackEgo> pipe/This is not a pipe.
01:46:26 <tswett> `unidecode ℞
01:46:27 <HackEgo> ​[U+211E PRESCRIPTION TAKE]
01:46:34 <tswett> "Prescription take"?
01:46:46 -!- jaboja64 has quit (Ping timeout: 240 seconds).
01:59:40 -!- Phantom_Hoover has quit (Read error: Connection reset by peer).
01:59:56 <oerjan> https://en.wikipedia.org/wiki/Medical_prescription hth
02:00:29 <\oren\> I have that character!
02:01:01 <oerjan> "Literally, the Latin word recipe means simply "Take...." and medieval prescriptions invariably began with the command to "take" certain materials and compound them in specified ways."
02:01:09 <boily> Characterous \oren\ the Fontmaker.
02:02:52 -!- ^v has quit (Ping timeout: 272 seconds).
02:04:43 <boily> \oren\: could you adjust the strokewidth on 灯 please?
02:05:18 <boily> also, I believe the short diagonal stroke on 斥 should be lower, and extend both ways across the vertical stroke.
02:09:16 -!- hppavilion[1] has joined.
02:09:56 -!- andrew has joined.
02:16:09 -!- ^v has joined.
02:17:26 <\oren\> boily: 了解
02:20:46 <boily> がんばって!
02:21:35 -!- boily has quit (Quit: BOXED CHICKEN).
02:27:02 <hppavilion[1]> CHICKEN CRUELTY
02:27:35 -!- jaboja has joined.
02:40:05 -!- tromp_ has joined.
02:41:46 -!- kragniz has quit (Ping timeout: 256 seconds).
02:44:40 -!- tromp_ has quit (Ping timeout: 272 seconds).
02:47:03 -!- kragniz has joined.
02:55:08 -!- mihow has quit (Quit: mihow).
02:58:43 <\oren\> `` u8tbl 0x2180 0x2188
02:58:44 <HackEgo> ​ↀↁↂↃↄↅↆↇↈ
02:58:48 <\oren\> ARGH
02:59:25 <\oren\> stupid terminal doesn't support recent unicode
03:01:26 <\oren\> oh, wait maybe my font hasn't reloaded
03:02:18 <FreeFull> A lot of characters that really should take up two cells only take up one
03:03:02 <mad> that's what you get when you put together kanji and latin in one character set
03:03:29 <mad> they ain't made to fit
03:04:41 <FireFly> kanji usually take up two cells in my experience
03:04:44 <FireFly> so that is not the issue
03:05:50 <FreeFull> I mean for example ↀ takes up one cell, but is as wide as two
03:05:57 <FreeFull> So it ends up overlapping with the next character
03:06:18 <FreeFull> Same thing happens with all the emoji characters
03:06:18 <mad> displaying unicode on a terminal seems like asking for trouble if you ask me
03:06:36 <mad> that kind of display was never meant for this
03:06:58 <FreeFull> がんばって! doesn't show the problem, all the characters take two cells as expected
03:07:36 <mad> like, terminal is more or less an emulation of text mode
03:08:14 <mad> which by hardware has always been limited to 256 characters (512 with a special mode that interferes with colors)
03:08:41 <mad> and 8 or 9 pixels wide
03:09:14 <mad> stuff like combinating accents make no sense on a terminal
03:09:52 <\oren\> I fixed it by deleting the font from my system and then reintalling it
03:09:56 <FreeFull> In the east quite a lot of hardware used 16-bit encodings for the terminals
03:10:06 <mad> like what
03:10:33 <mad> the hw I'm aware of is the pc-98 and that basically uses 1bpp 640x400 rather than text mode
03:10:47 -!- interest1ng has joined.
03:11:10 <mad> dunno for other stuff like fm towns or x68000
03:11:48 <\oren\> http://postimg.org/image/mlhnbarpz/
03:12:46 <FireFly> I guess it depends on whether you treat terminal as "actually emulating an old-school terminal" (like, in the usual sennse of an emulator) or take a more lax perspective where the terminal is just a tool that provides a text-based interface of sorts
03:12:48 <\oren\> the characters that weren't displaying properly were obscure roman numerals
03:12:51 <FreeFull> \oren\: Ah, maybe my problem is then that the characters are coming from a non-monospace font
03:13:55 <mad> firefly : you'd have to basically decide for each unicode character if it's combinating, 1-space or 2-space
03:14:23 <mad> and then your color attributes don't line up anymore and your text line doesn't have 80 chars anymore
03:14:36 <FireFly> mad: good thing Unicode already specifies which characters are combining
03:14:56 <FireFly> 1-space and 2-space isn't strictly specified, but people have tried to work that out regardless
03:14:59 <mad> basically each line becomes a std::string rather than a char[80]
03:15:02 <FireFly> (well, in some cases it's psecified)
03:15:10 <mad> there is no limit to how long a line can be
03:15:11 <FireFly> Yes, it's not a buffer of bytes
03:15:32 <FireFly> I wouldn't say a std::string
03:15:44 <mad> there is no limit to the amount of combinating diacritics
03:15:54 <FireFly> there's still discrete cells, just that each cell could contain a sequence of codepoints
03:15:55 <mad> also
03:16:09 <FreeFull> char[80] doesn't make sense anyway, assuming you're using utf8
03:16:10 <mad> utf8 characters can be up to like 6 chars
03:16:22 <FireFly> Less, and octets
03:16:38 <FireFly> Calling it "chars" is really just confusing, and C's "char" is just a historical accident
03:16:38 <mad> with a sequence of codepoints per cell then it's
03:17:02 <\oren\> vector<vector<CodePoint>>
03:17:07 <FireFly> I don't see how it would affect SGR attributes
03:17:11 <mad> you know what I meant by 'char'
03:17:27 <hppavilion[1]> Ugh
03:17:27 <FreeFull> mad: Theoretically six if all of utf8's potential were used, but the encoding for the maximum codepoint is only four bytes
03:17:35 <FireFly> Maybe, but it's really confusing to talk aobut char as byte when you're also talking about unicode characters
03:17:42 <hppavilion[1]> PLY won't match 0x[0-9a-f]+ for some reason. What obvious thing am I missing?
03:17:58 <hppavilion[1]> (I know that that doesn't account for uppercase. That was intentional.)
03:18:07 -!- zzo38 has joined.
03:18:07 <FreeFull> There are still many microprocessors and such where a C char is 16 bytes
03:18:10 <FreeFull> I mean 16 bits
03:18:14 <mad> true I guess
03:18:26 <hppavilion[1]> FreeFull: 16-byte characters. I'd like to use that charset.
03:18:27 <mad> FreeFull : word addessed DSP's?
03:18:32 <\oren\> if it's an ordinary regex then maybe you should do 0x[0-9a-f]\+
03:18:39 <FreeFull> mad: Yeah
03:18:52 <hppavilion[1]> \oren\: I want the + though, don't I? It's to match hexadecimal integers
03:18:54 <mad> anyways
03:19:15 <\oren\> in basic regexes \+ does what + does in extended regexes and vice versa
03:19:24 <hppavilion[1]> Really?
03:19:25 <FreeFull> I always use extended regexes
03:19:27 <\oren\> yes
03:19:30 <FreeFull> egrep > grep
03:19:30 <hppavilion[1]> I've never run into that before
03:19:32 <hppavilion[1]> I'll try it
03:19:34 <mad> you get {std::vector<unsigned char>, foreground_color, background_color}[80]
03:19:48 <hppavilion[1]> Nope
03:20:01 <zzo38> I agree to don't use Unicode with the terminal
03:20:01 <hppavilion[1]> OH
03:20:02 <\oren\> [0-9A-Fa-f]
03:20:05 <hppavilion[1]> I SEE THE PROBLEM
03:20:13 <FreeFull> What is the problem?
03:20:47 <hppavilion[1]> \oren\: No, I want it to match either 0-9a-f OR 0-9A-F, but not 0-9a-fA-F because mixing caps and noncaps in hex constants is stupid
03:21:04 <mad> I guess you can reasonably expect that if you're over 8 bytes for a cell, you're really messing it up on purpose
03:21:29 <hppavilion[1]> FreeFull: That wasn't the full regex; it starts by trying to match [0-9], THEN [01], THEN [0-3], THEN [0-7], THEN [0-9a-f], THEN [0-9A-F]
03:21:43 <hppavilion[1]> And it was matching on [0-9] then matching xFF as a name
03:21:46 <\oren\> and just fuck people who use combining characters amiright!
03:21:47 <mad> which means you could have each cell be a struct{unsigned char utf[8]; int foreground; int background}
03:21:52 <FreeFull> hppavilion[1]: Ah
03:21:53 <mad> 16 byte aligned
03:22:49 <hppavilion[1]> Yep, now it works
03:23:46 <mad> \oren\ : I'm coding text to phoneme atm for french. é is acceptable. é is not and will simply not work.
03:24:14 <\oren\> anyway I also added some more devanagari: ०१२३४५६७८९
03:24:58 <mad> hence fuck combinating diacritics
03:26:18 -!- jaboja has quit (Read error: Connection reset by peer).
03:26:32 <mad> hell, the engine uses unicode for the frontend but internally is in latin-1 because life is too short to deal with 2 byte character sequences
03:27:01 -!- jaboja has joined.
03:27:57 <mad> and binary searching a blob of text is already crazy enough even with single-byte chars
03:28:20 <\oren\> I usually use 24-bit chars
03:28:36 <\oren\> (for a given vlaue of "usually")
03:28:58 <mad> is there even a C/C++ container for that
03:29:55 <\oren\> mad: you do this: 0xffffff&*(int*)(s+i) where s is the string (a char*) and i is the index
03:30:38 <\oren\> the index must always be a multiple of 3 obviously
03:30:44 <mad> ok what do you do when it changes size
03:30:57 <\oren\> this only works on little-endian of course
03:31:27 <mad> if things keep going at the current rate it won't be too long before there's only little-endian left anyways
03:31:29 <\oren\> mad: no my point is you translate from utf-8 to utf-24
03:31:46 <\oren\> and then use utf-24 internally
03:32:12 -!- ^v has quit (Ping timeout: 256 seconds).
03:32:19 <zzo38> With UTF-8 you can easily do search text by ordinary byte strings, as long as you do not extend it beyond 36-bits
03:32:20 <mad> but if you use utf-32 then you can use std::vector<int>
03:32:54 <zzo38> My program "utftovlq" does not even support UTF-24 currently
03:33:05 <\oren\> mad: yes, but that's wasteful
03:33:28 <mad> then std::wstring and fuck the user if he wants higher plane characters
03:34:02 <\oren\> I ehould write a c++ container around utf-24
03:34:27 <zzo38> Even with UTF-16 you can use higher planes if it is strictly Unicode text (although 0xFFFE and 0xFFFF can now be used too)
03:34:29 <mad> I guess you could use a std::vector<unsigned char> internally and write a front end that makes it 24 bits yes
03:35:00 <mad> zzo38 : but it throws off character counts
03:35:15 <zzo38> Yes it does do that
03:35:29 <zzo38> Depending on what you are doing it might or might not be the problem
03:35:35 <mad> it is a problem
03:35:56 <mad> because character counts are used to tell where each syllable starts and ends in the text
03:36:09 <mad> and the code that deals with that is already complex enough
03:36:40 <\oren\> hold wtf happened to the music
03:37:06 <\oren\> https://youtu.be/OUAyNCxyM2k?t=3451
03:37:49 <zzo38> UTF-32 seem it would be easiest to work with then, especially if you need to go beyond Unicode. However, with both UTF-8 and UTF-16 the algorithm to count characters is simple anyways, although it does require to iterate each cell to do so anyways.
03:38:33 <mad> the code already has way enough iterations already
03:39:27 <zzo38> Yes, I thought it might be.
03:39:37 <\oren\> well arguably any code that only handles one language should use the native encoding of that language
03:39:45 <mad> latin-1
03:40:08 <mad> or actually windows cp-1252
03:40:13 <zzo38> \oren\: Yes, that would be simpler to do.
03:40:46 <zzo38> (If you need to input/output Unicode data, external programs can be used with pipe to convert; that also allows converting even other non-Unicode encodings for the same language text)
03:40:53 <mad> which is the same thing as latin-1 but with useful chars from 0x80 to 0xa0 instead of more retarded control characters
03:41:10 <mad> pipe? there is no pipe
03:41:14 <mad> this has to run in a dll
03:41:29 <\oren\> I prefer cp437
03:41:36 <zzo38> Then another function can convert
03:41:51 <zzo38> I also like CP437
03:42:22 <interest1ng> Wondering if anyone here has a cat implementation in ><> (http://esolangs.org/wiki/Fish)
03:42:40 <zzo38> Do you know if vi and/or other text editor you can send the text to another program (by pipe) even without saving it to the file yet?
03:43:22 <mad> cp437 has a certain lack of accented caps
03:44:30 <\oren\> zzo38: ed can, therefore vi can
03:44:41 <hppavilion[1]> \oren\: ed can, therefor I am
03:44:53 <hppavilion[1]> I'm making a browser-based application called MetaCalc. It's for my "Programmer's Browser Toolkit", a small collection of programs I'm writing for programming
03:45:11 <hppavilion[1]> They're going to come with the SQ browser by default and may be available elsewhere
03:45:21 <hppavilion[1]> (SQ = Strange Quark)
03:45:45 <\oren\> the command is 1,$w !command
03:46:07 <hppavilion[1]> I'm trying to decide whether or not to put an immense amount of effort into making 5>x>1 work
03:46:15 <zzo38> This use can be useful for such thing as to test music with AmigaMML even without saving any files, in case someone want to do that
03:47:42 <zzo38> (And possibly with other programs too)
03:50:32 <zzo38> One of the rules of UNIX is to make every program a filter, isn't it?
03:54:29 <mad> how much music have you made with amigamml btw?
03:54:45 <zzo38> A few. I don't make a lot of music.
03:55:55 <zzo38> I am not Bach or whatever.
03:57:36 <zzo38> But at this time what I am working on is PCRE for SQLite.
04:00:42 <mad> only bach is bach
04:14:51 <newsham> 'the rules of unix' sounds a bit strong
04:14:57 <newsham> unix is a way, not a set of rules
04:15:55 <zzo38> I suppose so.
04:18:37 <zzo38> I made up even a few more Magic: the Gathering cards.
04:19:34 <zzo38> During declare attackers step you must toss a coin; if heads put a +1/+1 counter on the enchanted creature if tails put a -1/-1 counter
04:22:15 -!- tromp_ has joined.
04:28:33 -!- bb010g has quit (Quit: Connection closed for inactivity).
04:36:10 -!- tromp_ has quit (Remote host closed the connection).
04:36:29 -!- ^v has joined.
04:36:46 -!- jaboja has quit (Ping timeout: 272 seconds).
05:00:51 -!- tromp_ has joined.
05:06:46 -!- nisstyre has joined.
05:07:18 -!- nisstyre has quit (Changing host).
05:07:18 -!- nisstyre has joined.
05:13:04 -!- tromp_ has quit (Remote host closed the connection).
05:16:37 -!- incomprehensibly has changed nick to micahjohnston.
05:16:47 -!- micahjohnston has changed nick to incomprehensibly.
06:08:36 -!- ocharles__ has quit (Ping timeout: 272 seconds).
06:11:15 -!- ocharles__ has joined.
06:13:34 -!- tromp_ has joined.
06:17:53 -!- tromp_ has quit (Ping timeout: 246 seconds).
06:26:07 <izabera> github and github gist are very funny with noscript
06:27:03 -!- interest1ng has quit (Quit: Leaving...).
06:30:59 -!- tjt263 has quit (Quit: sleep).
07:23:26 -!- tromp_ has joined.
07:27:56 -!- tromp_ has quit (Ping timeout: 256 seconds).
07:33:31 -!- Patashu has joined.
07:35:41 -!- mad has quit (Quit: Pics or it didn't happen).
07:35:51 -!- ^^v has joined.
07:38:48 -!- Patashu has quit (Remote host closed the connection).
07:38:59 -!- Patashu has joined.
07:52:30 <zzo38> I have now made PCRE_EXEC and PCRE_QUOTE to work.
07:53:06 -!- Patashu has quit (Ping timeout: 272 seconds).
07:53:23 -!- Patashu has joined.
07:56:14 -!- J_Arcane has quit (Ping timeout: 265 seconds).
08:02:50 -!- Patashu has quit (Ping timeout: 260 seconds).
08:03:18 -!- Patashu has joined.
08:10:55 -!- andrew has quit (Ping timeout: 240 seconds).
08:11:14 <zzo38> I should also need PCRE_REPLACE, and also a virtual table for iterating matches
08:11:23 -!- andrew has joined.
08:20:21 -!- ^v has quit (Quit: Leaving).
08:24:35 -!- ^^v has quit (Ping timeout: 255 seconds).
08:29:12 -!- sebbu has quit (Ping timeout: 272 seconds).
08:40:37 -!- sebbu has joined.
08:47:29 -!- Elronnd has changed nick to Gilthonniel.
08:47:38 -!- Gilthonniel has changed nick to earenndil.
08:57:21 -!- tjt263 has joined.
08:58:02 -!- hppavilion[1] has quit (Ping timeout: 256 seconds).
09:00:59 <oerjan> 10am sunrise
09:11:23 -!- oerjan has quit (Quit: leaving).
09:49:35 -!- dcentral has quit (Ping timeout: 240 seconds).
10:26:55 -!- TieSoul has joined.
11:51:05 -!- puckipedia has quit (Ping timeout: 246 seconds).
11:54:12 -!- Phantom_Hoover has joined.
11:56:33 -!- AnotherTest has joined.
11:57:06 -!- tjt263 has quit (Quit: sleep).
11:58:47 -!- puckipedia has joined.
12:03:42 -!- AnotherTest has quit (Ping timeout: 265 seconds).
12:08:08 -!- andrew has quit (Remote host closed the connection).
12:25:05 -!- mroman has joined.
12:25:22 <mroman> Does anybody know of a CPU where emulators are sparse?
12:30:22 -!- hppavilion[1] has joined.
12:37:54 -!- hppavilion[1] has quit (Ping timeout: 256 seconds).
12:44:41 -!- Patashu has quit (Ping timeout: 255 seconds).
12:55:47 -!- Welo has joined.
12:57:13 -!- jaboja has joined.
13:30:07 -!- tromp_ has joined.
13:35:06 -!- tromp_ has quit (Ping timeout: 272 seconds).
14:12:04 -!- J_Arcane has joined.
14:36:06 -!- augur has quit (Read error: Connection reset by peer).
14:36:28 -!- augur has joined.
14:56:15 -!- AnotherTest has joined.
14:59:00 -!- J_Arcane has quit (Ping timeout: 256 seconds).
14:59:09 -!- Phantom_Hoover has quit (Ping timeout: 265 seconds).
15:10:50 <mroman> hm.
15:10:53 <mroman> what's a full circcle?
15:10:56 <mroman> angle=pi?
15:10:57 <mroman> or 2pi
15:10:57 <mroman> hm
15:11:51 <mroman> hm
15:11:52 <mroman> neither
15:11:53 <mroman> wtf
15:14:42 <mroman> but it has to be 2pi
15:16:15 <mroman> weird
15:16:49 <FireFly> I don't follow
15:25:31 <Taneb> mroman, 2pi is the angle in radians of a full circle
15:34:44 -!- J_Arcane has joined.
15:36:55 <mroman> how the fuck do I get the cursor position in this library
15:37:21 <mroman> I have to keep track of that myself?
15:38:19 <Taneb> What library is this?
15:40:06 <mroman> lanterna
15:40:09 <mroman> it always returns 0,0
15:41:08 <mroman> hm ok
15:41:14 <mroman> you can create a screen from the terminal facade
15:41:26 <mroman> but the screen doesn't know that the terminal cursor changed
15:41:31 <mroman> who the fuck designed this shit
15:45:37 <mroman> hm
15:45:37 <mroman> ok
15:45:43 <mroman> I should probably use the higher level interface
15:45:43 <mroman> but
15:45:53 <mroman> It doesn't update cursor pos after putString
15:45:53 <mroman> :(
15:51:49 <mroman> well alrigiht
15:54:18 <mauris> q: is mroman drunk
15:56:20 <mroman> fuck no
15:56:25 <mroman> I don't drink.
15:56:37 <mroman> I'm neither on any prescription drug
15:56:43 <mroman> although I have access to many of those
15:56:59 <mroman> such as anti-psychotics, benzos, z-drugs
16:00:25 <FireFly> Maybe just high on mathematics
16:03:07 <mroman> maybe I'm getting a somewhat hypomanic episode
16:03:33 <mroman> but I'm still brainfogged from the last weeks
16:04:24 -!- J_Arcane has quit (Ping timeout: 265 seconds).
16:12:40 <fizzie> 1tau, not 2pi.
16:13:36 <fizzie> (I'm lukewarm on the τ proposal.)
16:13:45 <Taneb> fizzie, they are equal by definition
16:14:04 <fizzie> Their values are equal, you mean.
16:14:10 <fizzie> strcmp("1tau", "2pi") != 0.
16:15:16 <Taneb> They are mathematically, if not lexicographically, equal.
16:16:15 <fizzie> Yes, but I don't think the τ proposal is really objecting to the actual value of π, or seeking to redefine it; it's strictly about what you're using to talk about it.
16:17:33 <mroman> "Netflix Creates DIY Smart Socks That Pause Your Show When You Fall Asleep"
16:17:40 <mroman> what...
16:18:28 <mroman> How one can fall asleep while watching something is still a mistery to me anyway
16:18:45 <Taneb> mroman, I find it quite easy
16:19:50 <mroman> I probably wouldnt even fall asleep while watching something if on zopiclone.
16:19:59 <mroman> -if
16:20:08 <Taneb> I guess we are different people
16:20:24 <mroman> Yeah.
16:20:33 <mroman> I've never fallen asleep while watching TV.
16:20:44 <mroman> or while listening to music.
16:21:38 <mroman> I have fallen asleep while riding the Bus though.
16:24:09 <Taneb> I've never done that
16:24:25 <Taneb> I've been drowsy on buses and not with it, but never actually asleep
16:25:34 -!- Phantom_Hoover has joined.
16:39:44 -!- J_Arcane has joined.
16:55:10 -!- J_Arcane has quit (Ping timeout: 256 seconds).
16:58:34 -!- AnotherTest has quit (Ping timeout: 256 seconds).
17:08:06 -!- hjulle has joined.
17:10:15 <mroman> I'm pretty much always drowsy
17:10:21 <mroman> I think.
17:10:26 <mroman> I have memory recall problems
17:11:23 <mroman> apparentely
17:11:29 <mroman> I don't really know how exactly that is defined.
17:11:49 <mroman> Do people generally really know what they got last birthday/christmas for presents?
17:11:58 <mroman> *know/remember
17:13:56 <mroman> Or what they ate yesterday?
17:14:26 <mroman> I find it hard to beleive that people remember what the ate yesterday.
17:14:38 <mroman> seeing as I'm happy if I can recall what I ate today
17:25:39 <mroman> usually remembering that I ate something for lunch is good enough for me.
17:25:49 <mroman> sometimes I can't even remember that.
17:31:32 -!- tromp_ has joined.
17:35:58 -!- tromp_ has quit (Ping timeout: 256 seconds).
17:38:48 -!- Welo has quit (Quit: Leaving).
17:39:10 -!- hjulle has quit (Ping timeout: 260 seconds).
17:40:11 -!- Lord_of_Life has quit (Excess Flood).
17:40:36 -!- Lord_of_- has joined.
17:42:28 <FireFly> I remember what I ate yesterday, and the day before that
17:43:41 <Taneb> Yesterday, I had (in reverse order) a burrito, a pasty, and a bowl of cornflakes.
17:44:04 <Taneb> The day before, I had spare ribs, a pork pie, and (again) a bowl of cornflakes
17:45:12 <shachaf> `olist 1016
17:45:20 <HackEgo> olist 1016: shachaf oerjan Sgeo FireFly boily nortti b_jonas
17:45:48 <FireFly> spare ribs? is this a usual wednesday for you?:p
17:45:59 <FireFly> `thanks shachaf
17:46:00 <HackEgo> Thanks, shachaf. Thachaf.
17:49:05 <Taneb> FireFly, I was at my parents and they were both out all day so we had something easy
17:49:16 <FireFly> Makes sense
17:50:13 <Taneb> I don't see what's especially unwednesdayish about spare ribs
17:54:49 <zzo38> I find tau generally more useful than pi too, for example tau is the period of a trigonometric function. In some software dealing with audio (such as AmigaMML) I usually define TAU at the top of the program and it gets use a lot.
17:54:57 <b_jonas> oh GREAT!
17:55:10 <b_jonas> he'll reach 1024 soon enough next year if he's this fast
17:55:20 <b_jonas> and yes, thanks.
17:55:29 <mroman> If you ask me on monday what I did over the weekend there's a 25% chance I have no fucking clue
17:58:15 <mroman> but
17:58:21 <mroman> I'm having it checked out
17:58:32 <mroman> Today they drew some blood
17:59:40 <mroman> but other than my blood being chronically too thick I doubt there's something visible in it
18:00:52 -!- mroman has quit (Quit: bye.).
18:05:53 -!- copumpkin has quit (Quit: Textual IRC Client: www.textualapp.com).
18:19:00 -!- AnotherTest has joined.
18:36:21 -!- copumpkin has joined.
18:38:55 -!- earenndil has quit (Quit: Let's jump!).
18:40:49 -!- ^v has joined.
18:43:45 -!- Elronnd has joined.
18:47:25 -!- mauris has quit (Ping timeout: 260 seconds).
19:03:25 -!- dcentral has joined.
19:06:45 <zzo38> Is there anyone else on here by now that would like my Magic: the Puzzling that I have made up?
19:07:26 <shachaf> Did you post a link to it?
19:08:32 -!- triggerwarning has joined.
19:08:41 <zzo38> http://zzo38computer.org/textfile/miscellaneous/magic_card/puzzle.1 up to puzzle.5
19:08:46 <zzo38> (There are five so far)
19:09:03 -!- triggerwarning has quit (Changing host).
19:09:03 -!- triggerwarning has joined.
19:09:35 <zzo38> (You can see Yawgatog if you need the rule and Oracle changes, although as far as I know this is not actually necessary in these cases right now)
19:10:42 <zzo38> The fifth puzzle is a team game.
19:11:32 -!- triggerwarning has quit (Remote host closed the connection).
19:12:11 <HackEgo> [wiki] [[Talk:D1ffe7e45e]] N http://esolangs.org/w/index.php?oldid=45915 * Martin Büttner * (+262) Created page with "It actually seems quite trivial to translate BF to D1ffe7e45e, so I don't think the Computational Class section needs to be so careful in its statement. --~~~~"
19:27:10 -!- shikhin has changed nick to Shikhin.
19:27:18 -!- Shikhin has changed nick to shikhin.
19:33:00 -!- tromp_ has joined.
19:37:35 -!- tromp_ has quit (Ping timeout: 260 seconds).
20:16:20 -!- Phantom_Hoover has quit (Ping timeout: 256 seconds).
20:16:48 -!- Phantom_Hoover has joined.
20:16:52 -!- Phantom_Hoover has quit (Changing host).
20:16:52 -!- Phantom_Hoover has joined.
20:24:06 -!- Sprocklem has quit (Ping timeout: 260 seconds).
20:29:58 -!- AnotherTest has quit (Quit: ZNC - http://znc.in).
20:39:46 -!- Phantom_Hoover has quit (Ping timeout: 240 seconds).
20:40:42 -!- jaboja has quit (Ping timeout: 272 seconds).
20:50:44 * Melvar gets annoyed that one cannot call a linker script with dlopen().
20:53:19 -!- triggerwarning has joined.
20:53:51 -!- triggerwarning has quit (Changing host).
20:53:51 -!- triggerwarning has joined.
20:55:05 -!- jaboja has joined.
20:55:05 -!- Phantom_Hoover has joined.
20:56:47 <Melvar> Because I need a handle to libc, but libc.so is a linker script. So I used to work around that by asking for libm, which also worked to access libc symbols, but now libm.so has also been made a linker script.
20:59:29 -!- jaboja64 has joined.
21:03:22 -!- jaboja has quit (Ping timeout: 256 seconds).
21:42:18 -!- Patashu has joined.
22:16:03 <FreeFull> Melvar: What about libc.so.6 ?
22:25:52 -!- copumpkin has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
22:29:28 <Melvar> FreeFull: The processing is such that if I want a system library it must end with “.so”.
22:29:55 <FreeFull> Weird
22:30:45 <Melvar> Specifically, “.so” is added to what I give it.
22:31:11 <Melvar> “it” being the program doing the dlopening at my direction.
22:31:14 -!- ^v has quit (Ping timeout: 246 seconds).
22:31:25 <Melvar> Namely Idris.
22:31:52 <FreeFull> I have a libc-2.22.so but that filename might vary between systems
22:33:34 <Melvar> I should probably add logic to use RTLD_DEFAULT so I can just skip trying to load libc, but then is there a windows equivalent of that?
22:46:10 -!- TieSoul has quit (Read error: Connection reset by peer).
22:46:24 <Melvar> FreeFull: Since my code in question is not portable and only used by me, I’ll go with the hardcoded version for now, thanks for pointing it out.
22:48:22 -!- idris-bot has joined.
22:48:28 -!- jaboja64 has quit (Remote host closed the connection).
22:48:34 <Melvar> > idrisVersion
22:48:35 <lambdabot> Not in scope: ‘idrisVersion’
22:48:38 <Melvar> ( idrisVersion
22:48:38 <idris-bot> "0.9.20.2-git:7625799" : String
22:48:54 <Melvar> Yaaaay finally. -ω-
23:11:11 -!- interest1ng has joined.
23:11:55 -!- dcentral has quit (Ping timeout: 240 seconds).
23:12:50 -!- triggerwarning has quit (Ping timeout: 260 seconds).
23:15:03 -!- hppavilion[1] has joined.
23:19:29 -!- tromp_ has joined.
23:24:08 -!- tromp_ has quit (Ping timeout: 255 seconds).
23:25:24 -!- dcentral has joined.
23:35:20 <hppavilion[1]> Apples to Apples, Dust to Dust
23:36:54 <myname> another one bites the apple
←2015-12-17 2015-12-18 2015-12-19→ ↑2015 ↑all