[Citadel Development] Re: Long term plans for phase-out of Berkeley DB?

2023-07-03 Thread LoanShark
>That seems to imply that Sqlite might be a better option than >MySQL/MariaDB because we do *not* want to require people to install a >working database server before Citadel can be installed. Devil's Advocate from an Armchair Programmer: these days, if you bundle an app as a

[Citadel Development] Re: Long term plans for phase-out of Berkeley DB?

2023-06-21 Thread LoanShark
> 2023-06-20 15:02 from IGnatius T Foobar >Subject: Re: Long term plans for phase-out of Berkeley DB? > > Heh. Most of the database layer is still pretty much the same code >you wrote 22 years ago. You did a great job on that. As I recall, I interpreted their

[Citadel Development] Re: Long term plans for phase-out of Berkeley DB?

2023-06-20 Thread LoanShark
> 2023-06-15 13:32 from IGnatius T Foobar >Subject: Long term plans for phase-out of Berkeley DB? > > A bit of thinking out loud with regard to long term plans for Citadel >Server. > > Berkeley DB seems to have gained a bad reputation in the open source >community.

[Citadel Development] Re: Citadel in Docker

2019-10-17 Thread LoanShark
>"docker exec -it my-citadel-container /usr/local/citadel/setup" to set >the administrator password. A traditional way to do this might be to set an environment variable on the first boot of the container. It's good practice to keep the containers as self-contained as possible;

[Citadel Development] (no subject)

2016-05-12 Thread LoanShark
32 is the value for maxWorkerThreads that we use in a variety of our (Java-based) backend service Tomcat instances for the AJP pool tuning. Default values in the hundreds proved to be too resource-hungry; and, empirical load testing has often found a point of diminishing returns (on a

[Citadel Development] (no subject)

2016-05-11 Thread LoanShark
>So, no cleanup if there's no connections after a period of time. Any >thoughts on settings for minimum or maximum worker threads? You'll Never Need More Than 32. As long as they're not blocking for long periods.

[Citadel Development] (no subject)

2016-05-04 Thread LoanShark
> The design I have in my head right now is to write the engine in C and >the UI strictly in HTML and JavaScript. If done right, we can keep >most (all?) of the HTML out of the server engine, and also avoid the >need for a template engine. these days, it seems the state of the

[Citadel Development] (no subject)

2016-04-26 Thread LoanShark
Coding a web-UI layer in C was certainly a highly atypical design decision.

[Citadel Development] (no subject)

2016-04-22 Thread LoanShark
Eh, commercial code is supposed to be boring, no fancy techniques, coded near the lowest common denominator of what the typical programmer can understand.

[Citadel Development] (no subject)

2016-04-21 Thread LoanShark
Take the fun out of a hobby project? My *commercial* projects sometimes look like such a test bed. Don't tell anyone I said that...

[Citadel Development] (no subject)

2016-04-18 Thread LoanShark
Also, to be clear, some of our new interfaces are for desktop. These will also use knockout-js.

[Citadel Development] (no subject)

2014-03-11 Thread LoanShark
Please phrase your question in the form of a question.

[Citadel Development] (no subject)

2013-01-04 Thread LoanShark
For the record, IT'S NOT MY FAULT.

[Citadel Development] (no subject)

2012-06-05 Thread LoanShark
popen (/usr/sbin/sendmail), seriously. why do everything in a monolithic multithreaded process when it clearly *isn't working* ?

[Citadel Development] (no subject)

2012-06-05 Thread LoanShark
threads. It's been well argued that by simply giving every activity its own thread, you let the operating system do on its own what you were trying to do manually, and the computer can do it better than you This has its limits. Doesn't work for compute-intensive tasks where you're

[Citadel Development] (no subject)

2012-06-05 Thread LoanShark
This is essentially a cooperative/preemptive hybrid scheduling.

[Citadel Development] (no subject)

2012-06-05 Thread LoanShark
Ok, even having not worked on citserver is like 10 years, I can see some design problems implied in this stack trace. end_critical_section is calling, indirectly, do_housekeeping, which is calling the network spool. Think twice about holding locks while talking to external resources,

[Citadel Development] (no subject)

2012-02-21 Thread LoanShark
Bug report: I'm seeing intermittent problems - only with the text client? I am posting this now from WebCit, which I have rarely otherwise used in years, but does not appear to suffer the same fate at the moment. Lobby - 0 new of 2207 messages. *** There are no new messages in this room.   Lobby

[Citadel Development] (no subject)

2012-02-09 Thread LoanShark
--- U N C E N S O R E D ! --- -= Semper Ubi Scoobi Doobi =- Enter your name: loanshark Please enter your password: LoanShark Access

[Citadel Development] (no subject)

2011-10-06 Thread LoanShark
We do that every Monday. Welcome to startup land.

[Citadel Development] Re: threads, aboit and canceling

2009-11-21 Thread LoanShark
There should be no requirement to kill any thread other than excess workers No. There should be no requirement even to cancel excess workers. Don't use pthread_cancel, just set a volatile variable somewhere and wait for them to die gracefully. (Actually, I personally just use a

[Citadel Development] Re: threads, aboit and canceling

2009-11-21 Thread LoanShark
It was thoroughly tested though but it with it haveing been disabled it may well be out of sync with other code. Where's the coverage analysis?

[Citadel Development] (no subject)

2009-11-21 Thread LoanShark
Agreed. Fixed size thread pool is simple and all you need. Graceful shutdown however... pretty much any Citadel thread should be assumed to be touching the database and should therefore be politely asked to shut down when the citserver shuts down.

[Citadel Development] (no subject)

2009-09-09 Thread LoanShark
He's right, of course ... the StrBuf class, the template engine, the new readloop ... all of these improvements are conceptually nice, but the implementations all needed a lot more testing than they received. Sounds like stuff that could have been covered with automated unit

[Citadel Development] (no subject)

2009-09-09 Thread LoanShark
Virtual Functions: no need for that. No, sorry, but once you start writing unit tests in the large scale, you will understand. Code needs to be written to maximize unit-testability. When you write code that's designed to be testable, you will do things that you wouldn't have done if

[Citadel Development] (no subject)

2009-09-09 Thread LoanShark
Sep 9 2009 5:19pm from IGnatius T Foobar @uncnsrd I like the idea of unit tests, but I don't understand how they can be applied to code which implements a user interface -- which happens to be where the bulk of our bugs are right now. How is that normally achieved?

[Citadel Development] (no subject)

2009-09-09 Thread LoanShark
I don't think there's a good reason to call c inferior. One won't reach the Didn't call C inferior, I called C++ inferior. (To other OO languages.)

[Citadel Development] (no subject)

2009-09-09 Thread LoanShark
We've got selenium to do that with firefox. Openqa.org has a pretty good linklist of other tools; This would be blackbox testing, right? What you are talking about is not unit testing, it's automated functional testing, and I don't really have a lot of experience or interest

[Citadel Development] (no subject)

2009-09-09 Thread LoanShark
i'm not sure that the OO sucks. My main beef with C++ is its complexity and the fact that the ISO keeps making incompatible changes to the syntax (let alone the libraries.) But complexity is not the same as plain old suckage, if one is willing to learn. There are a lot of things to like

[Citadel Development] Re: Citadel commit log: revision 7735

2009-08-22 Thread LoanShark
READ THE README FILE. READ IT SEVERAL TIMES. fsck that noise. We are men. We don't need TFM.

[Citadel Development] (no subject)

2008-10-17 Thread LoanShark
or if you must use C++, do it right, don't do it halfway. use overloaded operators for EVERYTHING.

[Citadel Development] (no subject)

2008-10-16 Thread LoanShark
http://en.wikipedia.org/wiki/Short-circuit_evaluation

[Citadel Development] (no subject)

2008-10-16 Thread LoanShark
solution to Ford's crap, don't use C++. seriously. Objective-C or Smalltalk, if you must, but please, no C++. Unless you need to use Qt. ;)

[Citadel Development] (no subject)

2008-07-21 Thread LoanShark
Nothing wrong with UTF-8. As far as Unix is concerned, it's Just Another Multibyte Character Code.

[Citadel Development] (no subject)

2008-01-24 Thread LoanShark
the test for res_query should not be removed, and it needs either the test for resolv.h to precede it, or to have resolv.h in the includes parameter for the test. I don't know of any systems that have a resolver library but not resolv.h. However, it's conceivable that on some unknown

[Citadel Development] (no subject)

2007-01-06 Thread LoanShark
IG, I think include system-auth is fairly new, but by new I mean newer than the original PAM implementation in Citadel, which dates wy back to an old redhat... so I think you're good to go...

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
Gotta feature request: user configurable RSS feeds in personal rooms. I want to feet http://www.mountwashington.org/weather/comments/rss.xml but I really doubt anyone is interested besides me... except maybe Aahz ;)

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
s/feet/feed/ ... i don't think anyone wants anything to do with my feet either.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
I've got it set up as a LiveBookmark in Firefox, but IMO LiveBookmarks suck and Citadel provides a superior user interface to RSS. RSS is a freakin' newswire. I want it to show up the way a newsfax would: in my inbox. It should come to me, I shouldn't have to go to it. LiveBookmarks

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
It does that, but as far as I know it's not user configurable (by a non-BBS-sysop user.)

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
It has nothing to do with POP3 or IMAP... we already have support for RSS feeds into rooms, and we already have per-user private rooms, I think it would be nice for the combination of the two to be user-configurable.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
no, I'm talking about something that doesn't need any shell access to the underlying machine.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
Do you think I'm am idiot, dothebart?

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
Because you're sorta stating the obvious; believe me I know exactly what I'm asking.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
IMO, NunniCMAX is unacceptable for the simple reason that it appears to have no webpage and no information available except for mailing list posts that are all written in Italian.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
XML.com: Overview of Expat Under namespace processing, expat consumes xmlns and xmlns:... attributes, which declare namespaces for the scope of the element in which they occur. ... www.xml.com/pub/a/1999/09/expat/index2.html - 33k - Cached - Similar pages

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
I would also consider Xercies C++ SAX on the short list, however.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
Sorry Xerces.

[Citadel Development] (no subject)

2006-09-20 Thread LoanShark
I would regard namespaces as a must-have feature and schema validation is a nice-to-have. You can do namespaces without schema validation but you can't do schema validation without namespaces. You can parse documents that declare a schema without doing schema

[Citadel Development] (no subject)

2006-05-19 Thread LoanShark
IMO, don't hardcode things is a general good practice and a good suggestion but it's becoming clear to me that if you want to make good use of AJAX you need to start with a clear vision of what you want your user interface to look like. Don't hardcode things is a substitute

[Citadel Development] (no subject)

2006-05-19 Thread LoanShark
Sorta, not really... The Model is just a Domain Object. It's relatively sparse on actual logic, just represents data. The controller (and the actions that it invokes) is where all the fun is. The browser is one controller, and there's always another controller (perhaps

[Citadel Development] (no subject)

2006-05-18 Thread LoanShark
thought I'd mention, www.zimbra.com has a full-on email/calendaring app done with AJAX.

[Citadel Development] (no subject)

2006-05-18 Thread LoanShark
(and a big open source[Mozilla/Apache license] ajax toolkit now part of apache kabuki)

[Citadel Development] yo [2~ you

2006-05-12 Thread LoanShark
I tend to mentally model everything in terms of relational theory, so the whole vcard thing doesn't resonate with me. Address books should probably be a first class object in the database that can be linked to by various other objects (such as users for their private address books,

[Citadel Development] (no subject)

2006-05-10 Thread LoanShark
IG, an alias should be a room. You should be able to configure an SMTP name for all rooms. then when you go in to edit a room (ANY room) you should be able to specify (if you're an aide) network distribution parameters for that room, which could be IGnet, outgoing email echo,

[Citadel Development] (no subject)

2006-05-10 Thread LoanShark
well, yeah, address books should also be usable as templates. that is, you can call up a window to compose a blank message, then say add everyone on address list to the To: field of this message and then remove some of the recipients for this specific message...

[Citadel Development] (no subject)

2006-04-11 Thread LoanShark
yeah you need to type handle sigpipe ignore pass noprint I believe.

[Citadel Development] (no subject)

2006-01-26 Thread LoanShark
There has never been a problem with linking GPL, LGPL, and MIT code.

[Citadel Development] (no subject)

2006-01-26 Thread LoanShark
maybe. the old style BSD license was always supposed to be a problem.

[Citadel Development] (no subject)

2006-01-21 Thread LoanShark
haha, run openssl under valgrind --tool=memcheck sometime, the results are hilarious in the BN_* functions. But I doubt that's actually a problem...

[Citadel Development] (no subject)

2006-01-21 Thread LoanShark
hy, i've tried building packages from latest svn, and it seems as if ^^^ Did I miss something? When did we get to Disneyland?

[Citadel Development] (no subject)

2006-01-21 Thread LoanShark
Sounds good. belated applause