[DGD] Two things

Littlefield, Tyler tyler at tysdomain.com
Fri Aug 7 16:40:12 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I miss gurbalib actually. I've considered going back and trying to
wrap my head around updates again, but I'm also kind of pushed away by
not accepting donations, which I want to enable for my mud. Broke
college student and all.
On 8/6/2015 10:30 PM, nikoroleva . wrote:
> I have written a couple of sqlite3 kfun extensions that take
> arbitrary update or select queries. I don't have the best idea of
> what I'm doing in C, but it's working. Probably need to have
> someone who knows more about the subjects to review it someday. :)
> 
> I also wrote a kfun extension that calls a runnable jar that posts
> to a blog from inside the game.
> 
> Otherwise, just been trying to help with gurbalib by finally 
> completing my domain (and hacking the lib to enable some of my
> ideas) so that I can move forward with completing another domain
> idea that I have.
> 
> On 28 July 2015 at 14:41,  <bart at wotf.org> wrote:
>> On Tue, 21 Jul 2015 04:35:38 -0500, Blain wrote
>> 
>>> Everyone:  How is everyone?  Is anyone working on any exciting
>>> DGD projects?
>>> 
>> 
>> No idea if its exciting, but I'm having a lot of fun with an rdbm
>> in lpc, including an sql parser and interpreter.
>> 
>> It advanced enough by now that many of the typical 'unsanitized
>> user input' exploits for sql also work :-)
>> 
>> Writing an interpreter in LPC was kinda fun, the parser a bit
>> less so.
>> 
>> Anyway, having something similar to javadb but running on dgd
>> turns out to be useful.
>> 
>> Below is an example from a command called showlog, which
>> (obviously) shows log data, but uses the sql interpreter and rdbm
>> interface for storing, retrieving and filtering that data:
>> 
>> [Aidil at BR]channeldb:/sys/obj> [Aidil at BR]channeldb:/sys/obj>
>> showlog --oldest=24h -s arguments runtime [SHOWLOG]: query:
>> select log,sec,level,message from syslog where log = 'runtime'
>> and sec >= 1438024636 and message like '%arguments%'; [SHOWLOG]:
>> 1 messages. Showing log entries for 'runtime' since Mon Jul 27
>> 21:17:16 2015 Jul 27 23:40:39 [runtime:1] Insufficient arguments
>> for function select Object: /sys/cmds/admin/emaillist, program:
>> /sys/cmds/admin/emaillist, line 21 210 receive_message
>> /sys/obj/user (#13516) 205 _receive_message  /sys/obj/user
>> (#13516) 126 receive_message   /sys/lib/libsh
>> (/sys/obj/shell/sqsh#13517) 156 command
>> /sys/lib/modules/m_cmds (/sys/obj/shell/sqsh#13517) 141
>> exec_command      /sys/daemons/command_d 14 _main
>> /sys/lib/modules/m_command (/sys/cmds/admin/emaillist) 32 main
>> /sys/cmds/admin/emaillist 17 unguarded         /kernel/lib/auto
>> (/sys/cmds/admin/emaillist) 21 do_list_email
>> /sys/cmds/admin/emaillist
>> 
>> [Aidil at BR]channeldb:/sys/obj>
>> 
>> (and yes, the lib this runs on is related to Gurbalib (or
>> actually, uses a modified version of Gurbalib's kernel and some
>> bits of /sys) as may be obvious from the runtime trace to those
>> familiar with that lib.
>> 
>> Anyway, its good fun and a good distraction from some things from
>> which I need some distraction :-)
>> 
>> Oh, the code is currently not public, this started out as an
>> accident really.. It has a lot of rough edges still and without a
>> bit of cleanup its probably not easy to follow.
>> 
>> Bart. -- http://www.flickr.com/photos/mrobjective/ 
>> http://www.om-d.org/
>> 
>> ____________________________________________ 
>> https://mail.dworkin.nl/mailman/listinfo/dgd
> ____________________________________________ 
> https://mail.dworkin.nl/mailman/listinfo/dgd
> 


- -- 
Take care,
Ty
twitter: @sorressean
web:http://tysdomain.com
pubkey: http://tysdomain.com/files/pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVxMNMAAoJEAdP60+BYxejVIQH/jX37XRUaTVV3jqBw4GxyKIs
gQfM0KMZDYCvwtCLsVOu7TqfisV0dpkXTAiRnsZx/4B0xcWgvbQQIq7p/Tp923pv
RvQ9CLAraSXaiDYc4H0RyRDvmfEcD39G24mzfFSWD4aLxpEDO1Hnwi+phawAUoct
AO0r23nlVSrwNa9t3LotHcpxTb2ycFxTvfZ7sNNYCBtGX6czWnTlBbNJAt1m8Df2
txd7ypTUc3kopyKObj2gZ1uAS27OcBd2Z9e97t6t/c+btNHoSgEdS491Vx9iz4cJ
fvX7nf0KyliGZJbQ4vN82M5z0+bvzEwnEFDxM5edhydT3v6DiJHuUHB7ASwBUqA=
=xhNa
-----END PGP SIGNATURE-----



More information about the DGD mailing list