These are chat archives for Mudlet/Mudlet/whatever

22nd
Sep 2014
Ahmed Charles
@ahmedcharles
Sep 22 2014 04:31
I haven't read this yet, but I'm sure I'll laugh a lot in the process: https://github.com/evennia/evennia/wiki/Soft%20Code
Vadim Peretokin
@vadi2
Sep 22 2014 04:56
Yeah I've heard about that
Ahmed Charles
@ahmedcharles
Sep 22 2014 04:56
I've tried writting soft code before
Vadim Peretokin
@vadi2
Sep 22 2014 04:57
Anything that tries to be simpler than the typical language ends up being so complicated for anything complex
Ahmed Charles
@ahmedcharles
Sep 22 2014 05:03
yeah, except, soft code isn't simple :P
Vadim Peretokin
@vadi2
Sep 22 2014 05:04
There's no reason for softcode's existence anymore now that composer windows are available in clients, I think
Ahmed Charles
@ahmedcharles
Sep 22 2014 05:09
How are those related?
Vadim Peretokin
@vadi2
Sep 22 2014 05:11
It seems to have been invented because you had to fit your text into the input line of a client
Among one of the reasons anyway
Ahmed Charles
@ahmedcharles
Sep 22 2014 05:19
Ah, perhaps
Though, most languages are whitespace agnostic. The popular exception being python :P
Vadim Peretokin
@vadi2
Sep 22 2014 05:33
I guess I should be glad that Javascript is taking over for that reason, haha
Ahmed Charles
@ahmedcharles
Sep 22 2014 05:38
you mean another language designed for short, one liners?
Vadim Peretokin
@vadi2
Sep 22 2014 05:51
Nah, a language that doesn't enforce whitespace
Ahmed Charles
@ahmedcharles
Sep 22 2014 05:58
haha
Lua is still my favorite scripting language.
Vadim Peretokin
@vadi2
Sep 22 2014 05:59
highfive
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:02
Have you taken a look at any of the memory leak PR's?
Vadim Peretokin
@vadi2
Sep 22 2014 06:03
Yeah I glance at them. It is beyond me to comment on that, up to stephen and chris
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:03
Ah, you don't do C++ :)
Vadim Peretokin
@vadi2
Sep 22 2014 06:03
Yep, just enough to get me by
So I can't comment on matters of authority in the memory leak stuff, sorry
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:04
what language do you normally use?
Vadim Peretokin
@vadi2
Sep 22 2014 06:04
Lua. I'm very good with it
At work (started working last year), I'm not even a programmer, but I do tooling work and use XSLT, XQuery
Wonder how long I've been working with Lua for
I guess 6-7
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:06
Didn't you write vadi-m in C?
Vadim Peretokin
@vadi2
Sep 22 2014 06:06
I did
C isn't exactly C++ though
Yeah I know C as well
& Java
And some functional language I learnt for a course.
Did a course on Coursera that used that as the base. It was a pretty good introduction to functional programming
I don't think I'm far from cracking C++ and feeling like I've got control over it
But I haven't had the need or time yet. I've written some C++ stuff for Mudlet but none of it deals with the complicated aspects of the language.
Just common stuff you'd know if you know programming, plus pointers.
I take it you use C++ at work
Or do you follow compiler and standards development as a hobby
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:11
Both, actually
I've been to a few C++ conferences
And I follow the standard and I use it at work and other than Rust, all of my OSS projects are written in C++
well, all of the projects I contribute to
Vadim Peretokin
@vadi2
Sep 22 2014 06:13
Yeah
Between work having no relation to C++ (we've just got Java and C# teams and I'm not related to either), two systems made in Lua, Mudlet's Lua and mudlet-mapper, I haven't got the time
So loads of Lua experience, C++ enough to get by!
I'm guessing Chris uses C++ in his line of work as well
And Stephen is a really good learner with time on his hands
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:17
Ah
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:34
The only thing I don't like about Evennia so far is the way they recommend doing version control for the game
Vadim Peretokin
@vadi2
Sep 22 2014 06:38
Oh speaking of Mud servers
There is one actually in Lua!
I was playing about with it a while back, you can code your MUD in Lua
Ahmed Charles
@ahmedcharles
Sep 22 2014 06:41
Interesting
Stephen Lyons
@SlySven
Sep 22 2014 19:49
Anyone got any pointers to good MUD server instances that use IPv6 or Unicode (utf-8) - both things I'm not sure / know we don't yet do, respectively...
Vadim Peretokin
@vadi2
Sep 22 2014 19:49
IPv6 works fine, utf-8 - find a Chinese MUD for the greatest challenge, haha
A Chinese MUD would trigger both issues with utf-8 and displaying the characters in our custom display widget (which is awesome! but doesn't support internationalisation well)
Heiko has written a bunch about utf-8, see http://forums.mudlet.org/viewtopic.php?f=7&t=2211&start=10 and other threads
Stephen Lyons
@SlySven
Sep 22 2014 20:06
I recall one forum poster was asking about our Unicode support - the game itself used only ASCII but it supported players e.g. chatting with non-ASCII characters. The main troubles I foresee are renormalising the incoming text so the trigger pattern matching works on the "right-thing" and on handling strings where counting the bytes is not a way of determining how much space they take up on screen or of how many "characters" they are - for characters I mean of course graphemes .
Stephen Lyons
@SlySven
Sep 22 2014 20:15
And as for supporting Chinese - that may be a couple of Major Mudlet releases away. What got me looking at the replay code in the first place was when I started to look at non-ASCII file name support in the TLuaInterpreter code (for version of Windoze latter than XP I think) which allow non-ASCII for user names and by default uses their user name at for their home directory name - POSIX specifications don't permit this and whilst trying to set up a non-ASCII named user on my system I found a bug with the Debian adduser(9) script that meant the --force option to permit such naughty things didn't work... :frowning:
Ahmed Charles
@ahmedcharles
Sep 22 2014 21:07
We could the tab character as only taking up 1 'character' in some cases and 8 in others. :(
Vadim Peretokin
@vadi2
Sep 22 2014 21:08
This is where we add a configurable option for setting how many spaces a tab should have and allow it to be set via the API
Ahmed Charles
@ahmedcharles
Sep 22 2014 21:11
The issue is with the view, which doesn't do the right thing
it turns out that writing a custom text display is hard
Vadim Peretokin
@vadi2
Sep 22 2014 21:11
Quite so
But so worth it
Now we're misusing offtopic channel for offtpic
This is hard
Chris Mitchell
@Chris7
Sep 22 2014 21:27
@vadi2 I usually use python for work
Vadim Peretokin
@vadi2
Sep 22 2014 21:48
O

"This is an important message from Amazon.ca.

At Amazon we take your security and privacy very seriously. As part of our routine monitoring, we discovered a list of email address and password sets posted online. While the list was not Amazon-related, we know that many customers reuse their passwords on several websites. We believe your email address and password set was on that list."

Gaah
Vadim Peretokin
@vadi2
Sep 22 2014 23:38
Ah, mudstandards.org
Failed attempt at making standards happen in the MUD community