Thu Jun 4 06:22:34 2009
[imud_code]
Mecha@UOSSMUD: That said, if you wanted to do it in integer math, you could get more predictable behavior.
Thu Jun 4 06:22:44 2009
[imud_code]
Mecha@UOSSMUD: But that's probably too much work for what you want.
Thu Jun 4 06:24:37 2009
[imud_code]
Darken@StarMUD: just trying to multiply an integer by 5% :) which i should probably be doing tomorrow, and instead, sleeping atm :)
Thu Jun 4 06:25:33 2009
[imud_code]
Mecha@UOSSMUD: Example: int a = 50; int b = 100; return ( (((a % b) * 2) >= b) ? (a / b + 1) : (a / b) );
Thu Jun 4 06:25:53 2009
[imud_code]
Mecha@UOSSMUD: (PRobably only works for positive numbers, though!)
Thu Jun 4 06:27:39 2009
[imud_code]
Darken@StarMUD: to_int(ceil(intC*(to_float(intA)/to_float(intB)))) worked...
Thu Jun 4 06:28:02 2009
[imud_code]
Darken@StarMUD: I'll try that tho mecha :) it'll only get positive integers, unless there's a major issue
Thu Jun 4 06:28:38 2009
[imud_code]
Mecha@UOSSMUD: Then that code should be roughly perfect, without any fiddly issues. Also probably technically faster, but who the hell cares.
Thu Jun 4 19:02:24 2009
[imud_code]
Ideysus@shadowmudii: How do people do histograms in shell scripts? That is, suppose you have a bunch of lines of data and you want to analyse the frequencies and print them out. Possibly lines that fall into the same group needn't be exact matches. Is there a unixy tool that does it, or do I keep resorting to awk? The same class of task seems to crop up frequently.
Thu Jun 4 19:03:33 2009
[imud_code]
Ideysus@shadowmudii: I guess I want a 'uniq' that prefixes each line with a frequency, but with a regexp argument to determine what to group together
Thu Jun 4 19:04:31 2009
[imud_code]
Lyeith@The New Horizon: errm write ur own script using awk and variables ?
Thu Jun 4 19:05:11 2009
[imud_code]
Ideysus@shadowmudii: Yeah, thats what I resort to, but I can't help but think there is a tool that solves the problem more elegantly.
Thu Jun 4 19:06:21 2009
[imud_code]
Lyeith@The New Horizon: hmm nt sure.. i know webmin bandwidth monitor does something like that
Fri Jun 5 22:06:01 2009
[imud_code]
Ideysus@shadowmudii: Perl question. What does it mean to wrap something in []? Eg: a=[b];
Fri Jun 5 22:06:24 2009
[imud_code]
Ideysus@shadowmudii: The problem with syntaxy languages is its hellishly difficult to search for information on them.
Fri Jun 5 22:07:08 2009
[imud_code]
Sinistrad@Dead Souls Dev: Not to argue, but "perl brackets" brings up what I want
Fri Jun 5 22:07:10 2009
[imud_code]
Ideysus@shadowmudii: Yeah, but the chances of lisp being installed on a given box are significantly smaller...
Fri Jun 5 22:07:35 2009
[imud_code]
Sinistrad@Dead Souls Dev: "my @array = [] is an annoymous array and my @array = () is an empty list."
Fri Jun 5 22:07:53 2009
[imud_code]
Ideysus@shadowmudii: Gah. I thought it was some kind of strange method call...
Fri Jun 5 22:08:32 2009
[imud_code]
Sinistrad@Dead Souls Dev: I think [n] is meant to be the array index
Fri Jun 5 22:08:43 2009
[imud_code]
Ideysus@shadowmudii: It has its charms. It can get incredibly annoying at times though.
Fri Jun 5 22:08:46 2009
[imud_code]
Cratylus@Dead Souls Dev: that is my clever retort to you in perl
Sun Jun 7 00:16:26 2009
[imud_code]
Ideysus@shadowmudii: x contains an array. In how few characters can you write something that returns x with duplicates removed? operators and efuns only...
Sun Jun 7 00:16:38 2009
[imud_code]
Ideysus@shadowmudii: This is the kind of thing that keeps me awake at night.
Sun Jun 7 00:16:54 2009
[imud_code]
Ideysus@shadowmudii: I had my heart set on something like x&x, but sadly not.
Sun Jun 7 00:38:09 2009
[imud_code]
Ideysus@shadowmudii: Aidil has two function calls but thats DGD.
Sun Jun 7 00:51:30 2009
[imud_code]
Ideysus@shadowmudii: I guess you could: map(unique_array(x,(:$1:)),(:$1[0]:));
Sun Jun 7 00:52:37 2009
[imud_code]
Kalinash@Fire and Ice: yeah, it doesn't work the way i thought it did
Sun Jun 7 00:53:41 2009
[imud_code]
Kalinash@Fire and Ice: and that's what you're trying to optimize? :)
Sun Jun 7 00:56:13 2009
[imud_code]
Kalinash@Fire and Ice: i have an sefun that takes an array like ({ "blue", "red", "green", "red", "black", "blue" }) and returns ({ ({ "blue", "blue" }), ({ "red", "red" }), "green", "black" })
Mon Jun 8 16:49:41 2009
[imud_code]
Inari@Earthen Dreams: can anyone give inari a quick hand, I am trying to create a new race, and i am having issues with hands ... i've declared them in the file, but when i update the daemon and apply it, it still fails to see the hands
Mon Jun 8 17:28:52 2009
[imud_code]
Detah@Dead Souls Dev: did you follow these instructions for editing/creating a race?
Mon Jun 8 17:28:58 2009
[imud_code]
Detah@Dead Souls Dev: http://dead-souls.net/ds-admin-faq.html#10
Mon Jun 8 17:30:54 2009
[imud_code]
Detah@Dead Souls Dev: I was replying to Inari@Earthen Dreams. I do not know how long ago he chatted.
Mon Jun 8 17:32:27 2009
[imud_code]
Wordgod@StarMUD raises his arms in the air and shouts: WORLD DOMINATION!
Mon Jun 8 17:33:00 2009
[imud_code]
Darken@StarMUD gets his whips and chains and shouts: WORDGOD DOMINATION!
Thu Jun 11 14:40:41 2009
[imud_code]
Ideysus@shadowmudii: Is there some electronic reason that an 80 pin SCA scsi cable doesn't seem to exist?
Mon Jun 15 02:13:24 2009
[imud_code]
Ideysus@shadowmudii: Uhh. Surely you don't need to be root to chroot?
Mon Jun 15 02:16:33 2009
[imud_code]
Cratylus@Dead Souls Dev: kinda defeats the whole chroot-for-security thing if you run whatever as root, huh
Mon Jun 15 02:17:08 2009
[imud_code]
Cratylus@Dead Souls Dev: lets the process change userid shortly after execution
Mon Jun 15 02:17:37 2009
[imud_code]
Ideysus@shadowmudii: Well its not amazing security... I'm just thinking... if I screw up the external_start script for version control then it won't be quite so bad if the script is chrooted to the mudlib dir.
Mon Jun 15 02:18:08 2009
[imud_code]
Cratylus@Dead Souls Dev: well external_start is the real problem
Mon Jun 15 02:18:10 2009
[imud_code]
Ideysus@shadowmudii: I'd drop root after chrooting anyway, but this mud is on a mudhost so no root for me :-(
Mon Jun 15 02:19:11 2009
[imud_code]
Ideysus@shadowmudii: A bash script that tries to sanitise input and call 'hg'.
Mon Jun 15 02:19:48 2009
[imud_code]
Ideysus@shadowmudii: I wonder if a language like perl can simulates chroot.
Mon Jun 15 02:20:03 2009
[imud_code]
Ideysus@shadowmudii: Of course, ultimately it is going to have to call hg...
Mon Jun 15 02:20:57 2009
[imud_code]
Ideysus@shadowmudii: Oh. I should point out we only have one user.
Mon Jun 15 02:21:12 2009
[imud_code]
Cratylus@Dead Souls Dev: makes the process uid be the uid of the file, regardless of the uid of the starter
Mon Jun 15 02:21:31 2009
[imud_code]
Ideysus@shadowmudii: The process and all the files are the same user :-P
Mon Jun 15 02:21:51 2009
[imud_code]
Cratylus@Dead Souls Dev: some mudhosts allow different users btw
Mon Jun 15 02:22:18 2009
[imud_code]
Ideysus@shadowmudii: Maybe ours does... but the main mud and the dev mud share some stuff... I can envision problems.
Mon Jun 15 02:22:49 2009
[imud_code]
Cratylus@Dead Souls Dev: i think genesis is one of those mudhosts
Mon Jun 15 02:22:50 2009
[imud_code]
Ideysus@shadowmudii: A VPS would work. It would also cost money :-)
Mon Jun 15 02:22:59 2009
[imud_code]
Cratylus@Dead Souls Dev: i remember dealing with peopl ehaving all sorts of perms problems
Mon Jun 15 02:23:16 2009
[imud_code]
Cratylus@Dead Souls Dev: because guy 1 didnt tell guy 2 what he did, and they had different uids
Mon Jun 15 02:23:39 2009
[imud_code]
Ideysus@shadowmudii: And its not actually my mud, otherwise I'd just shove it onto my server at home and run it over a home adsl for the time being...
Mon Jun 15 02:25:00 2009
[imud_code]
Cratylus@Dead Souls Dev: no, i just googled it, apparently it's not that popular
Mon Jun 15 02:25:43 2009
[imud_code]
Cratylus@Dead Souls Dev: requires root to work right anyway, so not useful to you
Mon Jun 15 02:27:50 2009
[imud_code]
Cratylus@Dead Souls Dev: search for: +runchroot +"Stephen J Friedl"
Mon Jun 15 02:29:07 2009
[imud_code]
Cratylus@Dead Souls Dev: wow i guess i got it before he stopped distributing it
Mon Jun 15 02:30:15 2009
[imud_code]
Ideysus@shadowmudii: http://www.linux-mag.com/downloads/2002-12/jail/runchroot.c
Mon Jun 15 02:30:32 2009
[imud_code]
Ideysus@shadowmudii: I see a 'fakechroot' program wwhich looks interesting.
Mon Jun 15 02:37:35 2009
[imud_code]
Ideysus@shadowmudii: This is so not going to run without root... but lets see :-)
Mon Jun 15 03:22:00 2009
[imud_code]
Ideysus@shadowmudii: Soo... how do you send an EOF to an external_start process?
Mon Jun 15 03:22:19 2009
[imud_code]
Ideysus@shadowmudii: socket_close seems like it might work, but it looks like it closes stdout from the process too.
Mon Jun 15 03:25:52 2009
[imud_code]
Ideysus@shadowmudii: Okay, bedtime. But I'm still interested in the answer :-)
Mon Jun 15 03:26:10 2009
[imud_code]
Ideysus@shadowmudii: "Hack the driver or the wrapper script" is not a valid answer :-P
Mon Jun 15 03:38:00 2009
[imud_code]
Ideysus@shadowmudii: What is your suggestion instead? Network socket?
Mon Jun 15 09:25:06 2009
[imud_code]
Aidil@Way of the Force: why do people insist on doing things that they know will come back to bite them :)
Mon Jun 15 10:28:59 2009
[imud_code]
Ideysus@shadowmudii: Aidil, do you refer to external_start? If so, have you got any better suggestions?
Mon Jun 15 18:32:23 2009
[imud_code]
Rorix@Pains of Freedom: is there a log somewhere that I can look over that will tell what's going on in connect.c when it refuses a connection with a test player?
Mon Jun 15 18:32:44 2009
[imud_code]
Cratylus@Dead Souls Dev: no, you'll need to add debug statements and have it tell you what is happening
Mon Jun 15 18:34:33 2009
[imud_code]
Rorix@Pains of Freedom: okay well there's only a few lines I changed up hopefully it won't be too hard.
Mon Jun 15 22:28:23 2009
[imud_code]
Ideysus@shadowmudii: There is something very sad about the term 'both political parties'
Mon Jun 15 22:32:23 2009
[imud_code]
Ideysus@shadowmudii: I think Al Jazeera is probably the least biased...
Mon Jun 15 22:46:47 2009
[imud_code]
Ideysus@shadowmudii: X, the implication that there are only two parties.
Mon Jun 15 22:48:21 2009
[imud_code]
Zaknafein@AoD TempMUD: how can a coding channel be a non-swearing channel? That is flawed!
Mon Jun 15 22:50:41 2009
[imud_code]
Cratylus@Dead Souls Dev: i think i never did make it explicit. lemme look
Mon Jun 15 22:51:02 2009
[imud_code]
Cratylus@Dead Souls Dev: i didnt make it against the rules to swear here
Mon Jun 15 22:51:12 2009
[imud_code]
Cratylus@Dead Souls Dev: i dunno if that was an oversight or on purpose
Mon Jun 15 22:51:43 2009
[imud_code]
Cratylus@Dead Souls Dev: doesnt seem to be a problem, since staying on-topic geenrally makes offensive language secondary and this a minority of the content
Mon Jun 15 22:52:11 2009
[imud_code]
Wodan@Discworld: guess it's for quoting code '//what were they fucking thinking when they made this interface!
Mon Jun 15 22:52:35 2009
[imud_code]
Cratylus@Dead Souls Dev: probably i was thinking more like "meh, tradition"
Mon Jun 15 22:53:27 2009
[imud_code]
Zaknafein@AoD TempMUD: wait till you have swedish coders put swedish cursing in their comments in the lib
Tue Jun 16 19:13:50 2009
[imud_code]
Ideysus@ShadowMUDii: Hmm. So in IOS is there a way to forcibly create a configuration that doesn't exist?
Tue Jun 16 19:14:12 2009
[imud_code]
Ideysus@ShadowMUDii: Sometimes I think I abuse this channel. But for all you know its something mud-related...
Tue Jun 16 19:22:45 2009
[imud_code]
Cratylus@Dead Souls Dev: i dont think this channel was ever a "mud stuff only" thing
Tue Jun 16 19:23:26 2009
[imud_code]
Kalinash@Fire and Ice: simply opening a file for write will create it as a 0-byte file if it doesn't exist (depending on the options used)
Tue Jun 16 19:23:38 2009
[imud_code]
Benedick@WWC: Anyone do me a favor and go to: http://www.live365.com/stations/slaintemaith?site=live365 and tell me if they're hearing music after the ad?
Tue Jun 16 19:24:18 2009
[imud_code]
Ideysus@ShadowMUDii: Err. That should have read 'forcibly configure an interface that doesn't exist'. Cisco IOS. No nasty C++ for me :-P
Tue Jun 16 19:24:51 2009
[imud_code]
Kalinash@Fire and Ice: not sure what a cisco ios is, i shun networking hardware
Tue Jun 16 19:25:06 2009
[imud_code]
Cratylus@Dead Souls Dev: i dont think he listens to this channel tho
Tue Jun 16 19:25:17 2009
[imud_code]
Kalinash@Fire and Ice: volume is like half what the ad's was :(
Tue Jun 16 19:25:59 2009
[imud_code]
Benedick@WWC: Volume is adjustable. But this is also one of those songs that needs monitored.
Tue Jun 16 19:26:15 2009
[imud_code]
Ideysus@ShadowMUDii: What else is there? The racism line, the hardcore racism line, the super newbie line...?
Tue Jun 16 19:40:10 2009
[imud_code]
Detah@Dead Souls Dev: "I could be the walrus. But I still wouldn't have a car."
Wed Jun 17 18:07:30 2009
[imud_code]
Rorix@Pains of Freedom: wooo I got it fixed... raceless, genderless, and classless login
Wed Jun 17 18:08:33 2009
[imud_code]
Zaknafein@AoD TempMUD: oooh, everyone is a ambiguous pile of goo?
Wed Jun 17 18:11:54 2009
[imud_code]
Rorix@Pains of Freedom: first room will have mirrors of the player races for them to look into then they'll step through the mirror to another room which has a mirror that would reflect them as a male of chosen gender and a mirror for female ... step through... then class selection.
Wed Jun 17 18:12:38 2009
[imud_code]
Sinistrad@Dead Souls Dev: I'm afraid of saying funny stuff here because... this is a serious channel
Wed Jun 17 19:24:01 2009
[imud_code]
Rorix@Pains of Freedom: anyone know what forces a new player to read news?
Wed Jun 17 19:25:21 2009
[imud_code]
Zaknafein@AoD TempMUD: user inherit forces the call to the news daemon
Wed Jun 17 19:26:00 2009
[imud_code]
Zaknafein@AoD TempMUD: well, maybe anyways, i have no idea what lib you're on :D
Wed Jun 17 19:26:59 2009
[imud_code]
Zaknafein@AoD TempMUD: but user inherit would be my guess anyways
Thu Jun 18 13:29:29 2009
[imud_code]
Ideysus@ShadowMUDii: So what happened to that irc-i3 gateway in the end? Did it move to another channel?
Sun Jun 21 21:17:51 2009
[imud_code]
Cratylus@Dead Souls Dev: so when i compile and i get "undefined reference to X" and obviously it's a library function but i have no idea which library it's in
Sun Jun 21 21:18:08 2009
[imud_code]
Cratylus@Dead Souls Dev: but there has to be a better4 way to find out what library X is in
Sun Jun 21 21:57:46 2009
[imud_code]
Ideysus@ShadowMUDii: Hmm. Good question. I wish there was an 'apt-file' like tool that worked like that.
Sun Jun 21 21:58:13 2009
[imud_code]
Raudhrskal@Dead Souls Dev: Could you share the name of the func? Or is it a hypothetical question?
Sun Jun 21 21:59:01 2009
[imud_code]
Raudhrskal@Dead Souls Dev: to search thru installed libraries you could probably use nm /whatever/lib/* | grep
Sun Jun 21 21:59:22 2009
[imud_code]
Ideysus@ShadowMUDii: But what if you don't have the package installed?
Sun Jun 21 21:59:26 2009
[imud_code]
Cratylus@Dead Souls Dev: it's a nonportable bsd thing, basicall a way to fork
Sun Jun 21 22:00:00 2009
[imud_code]
Ideysus@ShadowMUDii: I can't believe nobody has come up with something
Sun Jun 21 22:00:30 2009
[imud_code]
Cratylus@Dead Souls Dev: when the function name is vary generic, google is a pain for this
Sun Jun 21 22:00:44 2009
[imud_code]
Raudhrskal@Dead Souls Dev: Think. There are tens of thousands of libraries. Each can export hundreds or thousands of symbols.
Sun Jun 21 22:00:58 2009
[imud_code]
Raudhrskal@Dead Souls Dev: you'd need to keep that updated, too.
Sun Jun 21 22:01:16 2009
[imud_code]
Cratylus@Dead Souls Dev: i was about to look into docs for the ld command
Sun Jun 21 22:01:32 2009
[imud_code]
Raudhrskal@Dead Souls Dev: 'nm' is the one that lists library symbols...
Sun Jun 21 22:01:34 2009
[imud_code]
Ideysus@ShadowMUDii: Yes, but in the case of a project like debian I can say something like 'what package do I have to install to get /etc/blah/whatever'. Surely it is possible with symbols?
Sun Jun 21 22:01:36 2009
[imud_code]
Cratylus@Dead Souls Dev: figuring that there must be a way to make it search and match a symbol query
Sun Jun 21 22:01:47 2009
[imud_code]
Cratylus@Dead Souls Dev: but then i found the answer on googlew
Sun Jun 21 22:02:26 2009
[imud_code]
Raudhrskal@Dead Souls Dev: Well... in case of debian... i believe that the -dbg packages have symbol tables...
Sun Jun 21 22:02:28 2009
[imud_code]
Cratylus@Dead Souls Dev: (btw was gunna do the ld search on other systems, since this one wasnt finding it)
Sun Jun 21 22:02:35 2009
[imud_code]
Raudhrskal@Dead Souls Dev: you could prolly generate a global index.
Sun Jun 21 22:03:06 2009
[imud_code]
Raudhrskal@Dead Souls Dev: but Contents (file list) has circa 140 MB, and symbol db would be GBs in size...
Sun Jun 21 22:05:16 2009
[imud_code]
Raudhrskal@Dead Souls Dev: in other words, i'm afraid it'd be too hard to keep updated.
Sun Jun 21 22:05:39 2009
[imud_code]
Raudhrskal@Dead Souls Dev: Most of the apps list their requirements in README/INSTALL, and then barf on autoconf phase. That one sounds poorly designed.
Sun Jun 21 22:06:00 2009
[imud_code]
Cratylus@Dead Souls Dev: the thingy i'm compiling? yeah the docs are harbl
Sun Jun 21 22:06:35 2009
[imud_code]
Cratylus@Dead Souls Dev: but the dude used all sorts of nonportable code and headers
Sun Jun 21 22:07:07 2009
[imud_code]
Raudhrskal@Dead Souls Dev: well, if app isn't using CMake / autoconf / sth like that and is larger than 2 source files, it's totally wrong.
Sun Jun 21 22:08:16 2009
[imud_code]
Cratylus@Dead Souls Dev: http://anyterm.org/forums/viewtopic.php?pid=4474#p4474
Sun Jun 21 22:09:03 2009
[imud_code]
Raudhrskal@Dead Souls Dev: btw, ideysus... try nm -e /usr/lib/*.a | wc -l
Sun Jun 21 22:09:28 2009
[imud_code]
Raudhrskal@Dead Souls Dev: that counts symbols in all dev libs you have installed.
Sun Jun 21 22:09:46 2009
[imud_code]
Raudhrskal@Dead Souls Dev: then check how many *-dev packages you have and extrapoalte.
Sun Jun 21 22:14:47 2009
[imud_code]
Aidil@GurbaHub: heh, solaris.. carry around a gazillion different versions of the same commands 'for backward compatibility', but don't provide backward compatibility with a bsd function that sunos used to have.
Sun Jun 21 22:15:50 2009
[imud_code]
Ideysus@ShadowMUDii: Surely there are much more than -dev packages in there.
Sun Jun 21 22:16:14 2009
[imud_code]
Raudhrskal@Dead Souls Dev: yeah, but *.a files are on dev packages ;)
Sun Jun 21 22:22:56 2009
[imud_code]
Ideysus@ShadowMUDii: Hmm. See I'm still not sure about the output of that. My system hasn't many -dev packages on it, but nm -g /usr/lib/*.a | grep ' malloc$'|wc is returning 394....
Sun Jun 21 22:23:10 2009
[imud_code]
Ideysus@ShadowMUDii: Why do so many things like stuff like strlen malloc free, etc?
Sun Jun 21 22:24:02 2009
[imud_code]
Ideysus@ShadowMUDii: Ah. Because they are listed as U - undefined.
Sun Jun 21 22:24:16 2009
[imud_code]
Ideysus@ShadowMUDii: Wouldn't it only need defined symbols storing?
Sun Jun 21 22:30:11 2009
[imud_code]
Raudhrskal@Dead Souls Dev: for file in /lib/*.so; do nm -Dg --defined-only $file; done | grep ' T ' | wc -l
Sun Jun 21 22:30:29 2009
[imud_code]
Raudhrskal@Dead Souls Dev: all public linkable symbols in all libraries (not only dev).
Sun Jun 21 22:31:00 2009
[imud_code]
Raudhrskal@Dead Souls Dev: i'm afraid to run it on /usr/lib, it's old hardware.
Sun Jun 21 22:31:51 2009
[imud_code]
Raudhrskal@Dead Souls Dev: (need to use for because nm aborts on first non recognized file)
Sun Jun 21 22:33:05 2009
[imud_code]
Raudhrskal@Dead Souls Dev: heh, not that bad, my /usr/lib is 108747...
Sun Jun 21 22:34:41 2009
[imud_code]
Ideysus@ShadowMUDii: Interestingly this is only 16k: for file in /usr/lib/*.so; do nm -Dg --defined-only $file; done |cut -f 3 -d ' '|sort|uniq|wc -l
Sun Jun 21 22:35:30 2009
[imud_code]
Raudhrskal@Dead Souls Dev: sort -u doesn't need | uniq. Hmm, weird.
Sun Jun 21 22:35:32 2009
[imud_code]
Ideysus@ShadowMUDii: And this is 80k bytes: |sort|uniq|gzip -c |wc
Sun Jun 21 22:35:56 2009
[imud_code]
Raudhrskal@Dead Souls Dev: These are for dev libs only, i'm afraid.
Sun Jun 21 22:36:34 2009
[imud_code]
Raudhrskal@Dead Souls Dev: dev libs provide the *.so file. Non dev is *.so.ver.sion, but you can't use * because a lot of them has a few symlinks and will give you dups.
Sun Jun 21 22:36:51 2009
[imud_code]
Raudhrskal@Dead Souls Dev: bleh, i'm only using that, i never checked how it works before!
Sun Jun 21 22:37:29 2009
[imud_code]
Ideysus@ShadowMUDii: Maybe a more interesting test would be to 'dpkg -L ' a package, fiter by /lib/ and then 'nm' those files for interesting symbols.
Sun Jun 21 22:37:47 2009
[imud_code]
Ideysus@ShadowMUDii: But why bother? I'm not actually going to code the symbol search :-)
Sun Jun 21 22:37:54 2009
[imud_code]
Raudhrskal@Dead Souls Dev: Refine it as you wish. My brain's on neutral at that time.
Sun Jun 21 22:55:23 2009
[imud_code]
Raudhrskal@Dead Souls Dev: the SSL bug? They were supposed to fix it...
Mon Jun 22 18:09:29 2009
[imud_code]
Cratylus@Dead Souls Dev: whatis the exact 1989 release date of lars's lpmud?
Mon Jun 22 18:13:06 2009
[imud_code]
Raudhrskal@Dead Souls Dev: http://www.genesismud.org/world/history says the mud started in spring of 1990... was the driver released earlier?
Mon Jun 22 18:14:04 2009
[imud_code]
Raudhrskal@Dead Souls Dev: on the other hand, its TMC entry says 1988...
Mon Jun 22 18:21:31 2009
[imud_code]
Andrew@Nanvaent: Best place to look would be for the first post in google groups probably
Mon Jun 22 18:23:14 2009
[imud_code]
Cratylus@Dead Souls Dev: i think we missed the mirth day itself
Mon Jun 22 18:24:01 2009
[imud_code]
Cratylus@Dead Souls Dev: so far i'm finding that in late 89 already there was released code and a fork
Mon Jun 22 18:24:12 2009
[imud_code]
Raudhrskal@Dead Souls Dev: but that group was created after LP gained some popularity.
Mon Jun 22 18:24:19 2009
[imud_code]
Cratylus@Dead Souls Dev: so i'm guessing lp was released 88 or 89
Mon Jun 22 18:24:29 2009
[imud_code]
Cratylus@Dead Souls Dev: i think we prolly missed the 20th birthday itself
Mon Jun 22 19:16:47 2009
[imud_code]
Cratylus@Dead Souls Dev: how do i navigate to 1988 on google groups?
Mon Jun 22 19:38:59 2009
[imud_code]
Jym@Dead_Souls_jym: I don't suppose anyone's added a millisecond-resolution timer to a driver yet?
Mon Jun 22 19:39:07 2009
[imud_code]
Aidil@Way of the Force: but I suppose you meant mudos or fluffos :)
Mon Jun 22 20:24:54 2009
[imud_code]
Cratylus@Dead Souls Dev: so i sent lars a email inviting him to join lpmuds.net
Mon Jun 22 20:25:58 2009
[imud_code]
Cratylus@Dead Souls Dev: it's a dude with the right name and email, i think
Mon Jun 22 20:33:33 2009
[imud_code]
Aidil@Way of the Force: hmm. re earlier discussion about first lpmud code.
Mon Jun 22 20:34:09 2009
[imud_code]
Aidil@Way of the Force: The program was written originally by Lars Pensj|, April 1989 (lars).
Mon Jun 22 20:34:31 2009
[imud_code]
Aidil@Way of the Force: copy/paste from the credits file on 3.1.2
Mon Jun 22 20:35:05 2009
[imud_code]
Aidil@Way of the Force: so.. we are a few months late with the birthday party.
Mon Jun 22 20:37:19 2009
[imud_code]
Eddard@Valar Morghulis: Hi there, Does anyone know if there is something like static_properties or timed_properties ?? Yes, Im pretty noob
Mon Jun 22 20:38:08 2009
[imud_code]
Raudhrskal@Dead Souls Dev: Urm, could you describe what they're supposed to be?
Mon Jun 22 20:38:39 2009
[imud_code]
Eddard@Valar Morghulis: static property is a property that dissapears when you log out... and timed property disapears when the time reach 0
Mon Jun 22 20:39:32 2009
[imud_code]
Raudhrskal@Dead Souls Dev: for that kind of static property you just declare a static variable...
Mon Jun 22 20:39:47 2009
[imud_code]
Raudhrskal@Dead Souls Dev: for timeouts you'd need to register to events daemon or hook to the heartbeat.
Mon Jun 22 21:18:50 2009
[imud_code]
Ideysus@ShadowMUDii: Hmm. Has anybody ever asked if he would license his bits under a less annoying license?
Mon Jun 22 21:19:39 2009
[imud_code]
Raudhrskal@Dead Souls Dev: he already stated that he doesn't care and agrees to GPL or whatever long ago.
Wed Jul 1 21:30:11 2009
[imud_code]
Eddard@Valar Morghulis: Is there anything like the unix command ed ?
Wed Jul 1 21:31:40 2009
[imud_code]
Eddard@Valar Morghulis: something like sar $_player)$ $_player()$ stuff.c then replace _player) for player() in that .c
Wed Jul 1 21:32:26 2009
[imud_code]
Cratylus@Dead Souls Dev: i'm sorry, what is it exactly you want to see?
Wed Jul 1 21:32:51 2009
[imud_code]
Eddard@Valar Morghulis: I miss a function that can replace strings in a file...
Wed Jul 1 21:32:54 2009
[imud_code]
Ideysus@ShadowMUDii: apt-file can't find a sar command. Does it mean 'search and replaec'?
Wed Jul 1 21:33:31 2009
[imud_code]
Cratylus@Dead Souls Dev: why did you call it sar? where did you get that term from?
Wed Jul 1 21:34:44 2009
[imud_code]
Cratylus@Dead Souls Dev: an incredibly dangerous object that you should not use
Wed Jul 1 21:34:56 2009
[imud_code]
Cratylus@Dead Souls Dev: and that you should forget i ever mentioned
Wed Jul 1 21:35:23 2009
[imud_code]
Cratylus@Dead Souls Dev: search and replace strings in multiple files
Wed Jul 1 21:35:28 2009
[imud_code]
Eddard@Valar Morghulis: I will steal the "sar" code and will send you to include in the new releases XD
Wed Jul 1 21:35:46 2009
[imud_code]
Cratylus@Dead Souls Dev: it's really not something that the mud should be doing much of
Wed Jul 1 21:35:58 2009
[imud_code]
Cratylus@Dead Souls Dev: fluffos isnt good at this sort of thing
Wed Jul 1 21:36:06 2009
[imud_code]
Cratylus@Dead Souls Dev: it's really something that should be rare and done from the shell
Wed Jul 1 21:36:19 2009
[imud_code]
Cratylus@Dead Souls Dev: so im not sure i'm inclined to add such a thing
Wed Jul 1 21:36:52 2009
[imud_code]
Eddard@Valar Morghulis: Ok, but Its way usefull for just a little changes
Wed Jul 1 21:37:04 2009
[imud_code]
Sys@BlackHole: but think of the fun you could have with it, mobs that change the code of other mobs and rooms
Wed Jul 1 21:38:11 2009
[imud_code]
Eddard@Valar Morghulis: anyway, I have to go XDDD Thankss and bye!
Tue Aug 11 19:33:08 2009
[imud_code]
Vlad@Other_World_Dev: question, regarding gold sinks has anyone charged players to advance and train? How do you think players would respond to that?
Tue Aug 11 19:34:12 2009
[imud_code]
Mecha@UOSSMUD: It seems like a heavyhanded way of reducing your gold-per-level payoff by some effective number you could just do by hand. ;)
Tue Aug 11 19:35:16 2009
[imud_code]
Vlad@Other_World_Dev: just popped into my mind and I was not sure if it was a good idea or not.
Tue Aug 11 19:36:38 2009
[imud_code]
Mecha@UOSSMUD: But unless training is a frequent occourance, it's not much of a sink.
Tue Aug 11 19:36:54 2009
[imud_code]
Vlad@Other_World_Dev: the way I was thinking was that players would have to balance their money running with xp killing so they would have enough gold to train
Tue Aug 11 19:37:33 2009
[imud_code]
Aidil@Way of the Force: kobramud (among others) lets players pay for training.
Tue Aug 11 19:37:54 2009
[imud_code]
Aidil@Way of the Force: but that didn't help their game economy issues.
Tue Aug 11 19:38:26 2009
[imud_code]
Aidil@Way of the Force: mostly because at least in their case, the money sink is esp. needed for high level players that already have everything they could get.
Tue Aug 11 19:38:42 2009
[imud_code]
Aidil@Way of the Force: including having trained everything to the highest level possible.
Tue Aug 11 19:39:21 2009
[imud_code]
Mecha@UOSSMUD: We actually have kinda an adaptive gold system here, now, in an attempt to sculpt player action more carefullly, and keep gold twinking down.
Tue Aug 11 19:39:37 2009
[imud_code]
Vlad@Other_World_Dev: hmm... well better to try and solve that issue up front
Tue Aug 11 19:41:13 2009
[imud_code]
Aidil@Way of the Force: fixing it as an afterthought is painful.
Tue Aug 11 19:41:24 2009
[imud_code]
Aidil@Way of the Force: both for your coders/builders and players.
Tue Aug 11 19:42:22 2009
[imud_code]
Mecha@UOSSMUD: This MUD is 12 years old. Fixing everything is painful. x_x
Tue Aug 11 19:45:43 2009
[imud_code]
Aidil@Way of the Force: kobramud is 18 1/2 years old now.. changing anything there is a fight.. and not because changing the code is that difficult.
Tue Aug 11 19:46:29 2009
[imud_code]
Aidil@Way of the Force: I've been admin there for almost a decade.
Tue Aug 11 19:46:52 2009
[imud_code]
Ninja@Dead Souls Dev: it'd be clawing at it's coffin, screaming loudly.
Tue Aug 11 19:46:54 2009
[imud_code]
Aidil@Way of the Force: believe me, the problem was not lack of trying to change certain things.
Tue Aug 11 19:47:40 2009
[imud_code]
Aidil@Way of the Force: considering that this mud is in part the result of that efford, and of the politics on kobramud, I shouldn't complain :)
Tue Aug 11 19:48:09 2009
[imud_code]
Wodan@Discworld: Changes are still welcome on Discworld :) about the same age mud, so it must be the people!
Tue Aug 11 19:48:45 2009
[imud_code]
Raudhrskal@Dead Souls Dev: I think the cabbage scares people away.
Tue Aug 11 19:49:20 2009
[imud_code]
Wodan@Discworld: it's just the mudlib releases that have trouble getting out, and horses
Tue Aug 11 19:49:24 2009
[imud_code]
Aidil@Way of the Force: which is why discworld is still alive and kicking.
Tue Aug 11 19:50:04 2009
[imud_code]
Aidil@Way of the Force: to give an example.. in 1994-1996, a few people wrote a completely new space flight and combat system..
Tue Aug 11 19:50:24 2009
[imud_code]
Aidil@Way of the Force: now, 15 years later approx, that system is still in testing
Tue Aug 11 19:51:00 2009
[imud_code]
Aidil@Way of the Force: the old system was written by a former admin and one of the cofounders of the mud.
Tue Aug 11 19:51:29 2009
[imud_code]
Aidil@Way of the Force: that space combat system has been ready for mainstream use for at least 8 years now.
Tue Aug 11 19:51:46 2009
[imud_code]
Wodan@Discworld: blizzard does 'when it's ready' works for them, and valve as well
Tue Aug 11 19:52:08 2009
[imud_code]
Aidil@Way of the Force: yes, but at least at times, things are actually ready according to them :)
Tue Aug 11 19:52:43 2009
[imud_code]
Kalinash@Fire and Ice: at Microsoft, you're ready when we say you are.
Tue Aug 11 19:53:27 2009
[imud_code]
Aidil@Way of the Force: but, there seems to be another thing that DW got right as well.. continuity of its organisation.
Tue Aug 11 19:54:28 2009
[imud_code]
Wodan@Discworld: or what's left of it, we're horribly understaffed
Tue Aug 11 19:55:17 2009
[imud_code]
Wodan@Discworld: we got plenty of admins, it's the creators that are missing!
Tue Aug 11 19:55:55 2009
[imud_code]
Aidil@Way of the Force: funny. before their 'organisation' completely broke down, kobramud had the exact opposite issue.
Tue Aug 11 19:56:22 2009
[imud_code]
Aidil@Way of the Force: that is, if you discount those who had an admin flag, but didn't do anything in the last 5 years.
Tue Aug 11 19:57:55 2009
[imud_code]
Aidil@Way of the Force: nowadays, they have a single creator running the show, and a single admin member that still bothers to login and check on things sortof.
Tue Aug 11 21:10:23 2009
[imud_code]
Nilrin@Rebirth: Duke Nukem will never be finished. 3d Realms is all but shut down now.
Tue Aug 11 21:13:04 2009
[imud_code]
Apache@FizzyMUD: It was a great retirement scheme while it lasted. All the technotoys they could play with and no pressure to ever deliver.
Wed Aug 12 01:53:53 2009
[imud_code]
Corrik@Lost Legends: I know it was never officially released, but does anyone have a copy of MudOS v23a1?
Sat Aug 15 04:43:02 2009
[imud_code]
Sinistrad@Dead Souls Dev: odd request, might save me some time. Essentially, I have a CSV file of usernames - I need to generate one HTTP POST per username, with the urlencoded(username) replacing a %STRING% in the POST template.
Sat Aug 15 04:43:06 2009
[imud_code]
Sinistrad@Dead Souls Dev: How would YOU approach the challenge?
Sat Aug 15 05:00:47 2009
[imud_code]
Ideysus@ShadowMUDii: Bash script looping around lines in file and calling curl for each one.
Sat Aug 15 05:02:20 2009
[imud_code]
Sinistrad@Dead Souls Dev: That's what I'm going for. There are additional challenges to the problem, inherent to a few things outside my direct control
Sat Aug 15 05:02:32 2009
[imud_code]
Sinistrad@Dead Souls Dev: 1) I must be using Windows (so CYGWIN is an option)
Sat Aug 15 05:03:05 2009
[imud_code]
Sinistrad@Dead Souls Dev: Currently have figured out CURL's handling of the POST method, but sniffing out how it handles a proxy
Sat Aug 15 05:03:56 2009
[imud_code]
Sinistrad@Dead Souls Dev: Refreshing that I'm on the right path, which you originally put me on
Sat Aug 15 05:05:49 2009
[imud_code]
Ideysus@ShadowMUDii: I don't know if its the right path. Its just the one I'd probably have taken.
Sat Aug 15 05:06:18 2009
[imud_code]
Sinistrad@Dead Souls Dev: It's the one that makes the most sense. Thank you.
Sun Aug 16 05:00:59 2009
[imud_code]
Corrik@Lost Legends: is there anything other than dumping foo.c and foo_spec.c into the packages directory one should have to do in order to make some extra efuns work?
Sun Aug 16 05:01:27 2009
[imud_code]
Corrik@Lost Legends: other than adding #define PACKAGE_FOO to local_options, that is.
Sun Aug 16 05:02:03 2009
[imud_code]
Corrik@Lost Legends: im getting an error at the very end of compiling the driver
Sun Aug 16 05:02:07 2009
[imud_code]
Corrik@Lost Legends: obj/interpret.o:(.data+0x9d0): undefined reference to `f_sqlite_exec'
Sun Aug 16 05:03:51 2009
[imud_code]
Corrik@Lost Legends: I'll dump it into fluffos and see what happens... brb
Sun Aug 16 05:14:29 2009
[imud_code]
Cratylus@Dead Souls Dev: im curious enough to try it but to tired to do it right now
Sun Aug 16 05:16:52 2009
[imud_code]
Cratylus@Dead Souls Dev: wherever. i think theres a driver topic
Sun Aug 16 05:20:18 2009
[imud_code]
Salius@Lost Legends: when i did that there was some weird thing you had to do in some file that declared libraries
Sun Aug 16 05:20:33 2009
[imud_code]
Salius@Lost Legends: it ended up being add -lsomething to that file
Sun Aug 16 05:21:08 2009
[imud_code]
Kalinash@Fire and Ice: yeah, linking your library in is really dumb :P
Sun Aug 16 05:31:02 2009
[imud_code]
Corrik@Lost Legends: http://lpmuds.net/forum/index.php?topic=1034.0
Sun Aug 16 05:31:57 2009
[imud_code]
Cratylus@Dead Souls Dev: wodan is yer best bet, if he or hamlet dont take a crack at it, i'll play ith it
Sun Aug 16 05:32:15 2009
[imud_code]
Cratylus@Dead Souls Dev: but he's in the middle of some kinda pike thing
Sun Aug 16 05:32:24 2009
[imud_code]
Salius@Lost Legends: oh, question... i got in a big argument today with one of our DBAs.
Sun Aug 16 05:33:59 2009
[imud_code]
Corrik@Lost Legends: I've had bad luck with corrupted DBs on InnoDB
Sun Aug 16 05:34:10 2009
[imud_code]
Salius@Lost Legends: See that's what he told me, except with MyISAM.
Sun Aug 16 05:34:24 2009
[imud_code]
Corrik@Lost Legends: MyISAM seems to be faster for my uses anyways.
Sun Aug 16 05:34:27 2009
[imud_code]
Salius@Lost Legends: I set up the new system I'm using for my project with MyISAM, and he like tore into me.
Sun Aug 16 05:34:38 2009
[imud_code]
Salius@Lost Legends: InnoDB is faster, and better and more reliable and safer and I'm a retard for not knowing that.
Go to the top | Channel Index

