Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ahmed Charles
    @ahmedcharles
    Ah, you don't do C++ :)
    Vadim Peretokin
    @vadi2
    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
    what language do you normally use?
    Vadim Peretokin
    @vadi2
    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
    Didn't you write vadi-m in C?
    Vadim Peretokin
    @vadi2
    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
    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
    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
    Ah
    Ahmed Charles
    @ahmedcharles
    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
    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
    Interesting
    Stephen Lyons
    @SlySven
    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
    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
    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
    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
    We could the tab character as only taking up 1 'character' in some cases and 8 in others. :(
    Vadim Peretokin
    @vadi2
    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
    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
    Quite so
    But so worth it