Re: seeking SQLite on OpenBSD stories

2011-01-01 Thread Edwin Eyan Moragas
Thanks to Marco, Marc and Jim for the responses. gives me a warm, fuzzy feeling to go on ahead and continue using SQLite. On Tue, Dec 7, 2010 at 11:48 PM, Marco Peereboom wrote: -- 8< --- > The only thing I don't like is not having access to a non-sql API. One > of the things I u

seeking SQLite on OpenBSD stories

2010-12-06 Thread Edwin Eyan Moragas
Hi Misc, i'm looking for experience of using SQLite on OpenBSD. if anybody in the list can share 1) how SQLite is being used 2) size of the database 3) performance metrics (if you have them) anything about SQLite on OpenBSD. link would be appreciated too. cheers! /e

Re: sendmail relay defaults

2010-11-02 Thread Edwin Eyan Moragas
On Tue, Nov 2, 2010 at 4:19 PM, Joachim Schipper wrote: >> >> i'm using openbsd 4.6. > > You're aware that 4.6 is unsupported as of today, right? Fortunately, > upgrades are easy. missed by a day. :) > >> two questions: >> >> 1) i want to make sure that sendmail won't relay email from any other

sendmail relay defaults

2010-11-01 Thread Edwin Eyan Moragas
hi misc, i was looking at rc.conf to activate sendmail and i ran into this: # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m" as i understand, sendmail is initially configured to send emails locally (ie, users on t

significance of order of inclusion of header files

2010-10-06 Thread Edwin Eyan Moragas
Hi misc, while compiling picolisp on openbsd, i encounter this warning: gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_OS='"OpenBSD"' net.c

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-12 Thread Edwin Eyan Moragas
On Thu, Aug 12, 2010 at 3:26 PM, patrick keshishian wrote: > > It looks like your lib/ht has undefined references to all above > symbols. You need to figure out where these are defined. Are they part > of picolist or some other library built? > the undefined symbols are part of the main picoLisp f

solved (was Re: ld necessary? (was Re: help on compile/link flags))

2010-08-12 Thread Edwin Eyan Moragas
c -lm - DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic + DYNAMIC-LIB-FLAGS = -Wl,-E -Wl,-shared STRIP = strip else On Thu, Aug 12, 2010 at 2:41 PM, Edwin Eyan Moragas wrote: > Hi Patrick, > > On Thu, Aug 12, 2010 at 6:59 AM, patrick keshishian wrote: >>>>

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
Hi Patrick, On Thu, Aug 12, 2010 at 6:59 AM, patrick keshishian wrote: i am stupid. the buffer used for the param to dlopen() was truncated. expanding it and passing the full absolute path, dlerror() returns "Cannot load specified object". clues, pointers? >>> >>> You can

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
Hi David, CCing misc On Wed, Aug 11, 2010 at 9:50 PM, David Coppa wrote: > On Wed, Aug 11, 2010 at 3:42 PM, Edwin Eyan Moragas wrote: >>> i'm trying to compile picoLisp on obsd 4.7. >>> >>> as suggest i passed an absolute path to dlopen(). dlerror() sa

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
> i'm trying to compile picoLisp on obsd 4.7. > > as suggest i passed an absolute path to dlopen(). dlerror() says > "File not found". i am stupid. the buffer used for the param to dlopen() was truncated. expanding it and passing the full absolute path, dlerror() returns "Cannot load specified ob

Re: ld necessary? (was Re: help on compile/link flags)

2010-08-11 Thread Edwin Eyan Moragas
Hi Philip/misc, On Wed, Aug 11, 2010 at 12:01 AM, Philip Guenther wrote: > On Tue, Aug 10, 2010 at 8:41 AM, Edwin Eyan Moragas wrote: > actually find the shared object. If the path you give dlopen() > doesn't contain a slash, then it will _not_ normally search the > current di

ld necessary? (was Re: help on compile/link flags)

2010-08-10 Thread Edwin Eyan Moragas
Hi again misc, taking another stab at my problem... is ld(1) necessary for dlopen(3) to work? thank you and apologies for my previous brainless post. best, /e

Re: help on compile/link flags

2010-08-10 Thread Edwin Eyan Moragas
;s looking in the right place. thank you looking at it. > > On Tue, Aug 10, 2010 at 9:43 AM, Edwin Eyan Moragas wrote: >> Hi misc, >> >> i'm stumped and my makefile foo is not up to par. i need some help to >> figure this out. >> >> i'm trying t

help on compile/link flags

2010-08-10 Thread Edwin Eyan Moragas
Hi misc, i'm stumped and my makefile foo is not up to par. i need some help to figure this out. i'm trying to make picoLisp run on openbsd 4.7. the common gcc invocation looks like: gcc -c -O2 -m32 -pipe -falign-functions -fomit-frame-pointer -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wun

Re: clobbered by `longjmp' warning

2010-08-09 Thread Edwin Eyan Moragas
Hi Hiroyasu, On Tue, Aug 10, 2010 at 1:37 PM, Kamo Hiroyasu wrote: > Hello, > > From: Edwin Eyan Moragas > Subject: clobbered by `longjmp' warning > Date: Tue, 10 Aug 2010 08:20:49 +0800 >> i have this warning when i compile picolisp in obsd 4.7: >> >> fl

clobbered by `longjmp' warning

2010-08-09 Thread Edwin Eyan Moragas
Hi misc, i have this warning when i compile picolisp in obsd 4.7: flow.c: In function `doCatch': flow.c:1351: warning: argument `x' might be clobbered by `longjmp' or `vfork' the offending code is: any doCatch(any x) { any y; catchFrame f; x = cdr(x), f.tag = EVAL(car(x)), f.fin = Z

Re: memory fragmentation

2010-08-07 Thread Edwin Eyan Moragas
On Sun, Aug 8, 2010 at 4:19 AM, Kenneth Gober wrote: > On Sat, Aug 7, 2010 at 4:03 PM, Henning Brauer wrote: > >> * Ted Unangst [2010-08-07 19:54]: >> > you write your own allocator. >> >> don't. ever. > > > to put it another way, if memory fragmentation ever does become a problem > for you, ther

Re: memory fragmentation

2010-08-07 Thread Edwin Eyan Moragas
On Sun, Aug 8, 2010 at 4:03 AM, Henning Brauer wrote: > * Ted Unangst [2010-08-07 19:54]: >> you write your own allocator. > > don't. ever. i don't intend to. thank you Ted and Henning for pointing that out. > > -- > Henning Brauer, h...@bsws.de, henn...@openbsd.org > BS Web Services, http://b

memory fragmentation

2010-08-07 Thread Edwin Eyan Moragas
Hi misc, assuming that a long running app would malloc(3) when needed and then free(3)s the resource immediately when it is done, is memory fragmentation still a concern for long running apps? what are steps that you take to manage this problem if ever it is a problem? best, /e

Re: Question on read & write from Linux to OpenBSD

2010-04-07 Thread Edwin Eyan Moragas
On Thu, Apr 8, 2010 at 7:34 AM, Super Biscuit wrote: > Using mount -t ufs -o ufstype=44bsd -o ro /mount/point /mount/directory does > not allow reading of /home /var /tmp and /root. > > The option of -o rw doesn't work from Linux to any BSD. (At least for me > because I do not know the proper co

Re: encrypt downloads

2010-04-05 Thread Edwin Eyan Moragas
On Tue, Apr 6, 2010 at 1:44 PM, wrote: > Hi, > > I have at Home an OpenBSD Workstation notebook (4.6), and an OpenBSD Box > gateway (PF, OpenBSD 4.6). > I want to encrypt my downloads, but i have no idea about how to proceed ... uhmm scp? > > I m thinking about : > 1) Using Ipsec tunnel bet

Re: Multipath with pppoe(4)? Is it possible?

2010-03-20 Thread Edwin Eyan Moragas
On Sat, Mar 20, 2010 at 3:32 AM, Tom Murphy wrote: > I have an OpenBSD firewall with two external interfaces which are > pppoe(4). Is it possible to use multipath on them? I tried adding > two default routes with multipath but it would refuse. I don't think > it likes -ifp and 0.0.0.1 being the ga

Re: managing routes for multiple PPPoE connections

2010-02-26 Thread Edwin Eyan Moragas
On Fri, Feb 26, 2010 at 9:56 PM, Stuart Henderson wrote: > On 2010-02-26, Edwin Eyan Moragas wrote: >> On Fri, Feb 26, 2010 at 6:28 AM, Stuart Henderson >> wrote: >>> ah, the thing that mightn't have been apparent with my suggestion >>> of route-to, is

Re: managing routes for multiple PPPoE connections

2010-02-25 Thread Edwin Eyan Moragas
hi Stuart, so i guess i should remove the callout from hostname.pppoe to adding a default route? thank you for the assist. :) On Fri, Feb 26, 2010 at 6:28 AM, Stuart Henderson wrote: > On 2010-02-25, Edwin Eyan Moragas wrote: >> hi misc, >> >> this is a follow up on the

managing routes for multiple PPPoE connections

2010-02-24 Thread Edwin Eyan Moragas
hi misc, this is a follow up on the post i made regarding multiple PPPoE connections. from the manpage of pppoe(4), a default route is added using the pppoe connection: !/sbin/route add default -ifp pppoe0 0.0.0.1 i have no idea how to manage the routes when a connection goes down. is a simple

Re: load balancing PPPoE connections

2010-02-23 Thread Edwin Eyan Moragas
On Wed, Feb 24, 2010 at 12:58 AM, Stuart Henderson wrote: > On 2010-02-23, Edwin Eyan Moragas wrote: >> hi misc, >> >> i have two outgoing DSL connections using PPPoE. >> >> i've read about mpath in the FAQ (together with ifstated(8)) and >> sco

Re: load balancing PPPoE connections

2010-02-23 Thread Edwin Eyan Moragas
On Tue, Feb 23, 2010 at 10:43 PM, Jussi Peltola wrote: > On Tue, Feb 23, 2010 at 10:10:16PM +0800, Edwin Eyan Moragas wrote: >> hi misc, >> >> i have two outgoing DSL connections using PPPoE. >> >> i've read about mpath in the FAQ (together with ifstated(8)

load balancing PPPoE connections

2010-02-23 Thread Edwin Eyan Moragas
hi misc, i have two outgoing DSL connections using PPPoE. i've read about mpath in the FAQ (together with ifstated(8)) and scoured the PF examples but i haven't found any straightforward examples using PPPoE. any pointers or advice would be most welcome. /e

Apache theoretical questions (was Re: no thttpd.conf for OpenBSD?)

2008-06-19 Thread Edwin Eyan Moragas
On Fri, Jun 20, 2008 at 10:42 AM, Ted Unangst <[EMAIL PROTECTED]> wrote: > For better or worse, the base web server is Apache 1, and that's how > things are going to be. > > Since the subject of apache came up, i was reminded of a thread some time back about improving (?) apache in base. anybody (

curses web man pages

2008-06-07 Thread Edwin Eyan Moragas
ey list, i was checking things out her: http://www.openbsd.org/cgi-bin/man.cgi?query=ncurses&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html and clicked the link for one of the curs_* man pages. say for example curs_pad(3). it led me here: http://www.openbsd.org/cgi-bin/man.cgi?

Re: poll(2) vs kqueue(2) performance

2008-04-21 Thread Edwin Eyan Moragas
Marc, Henning, thank you for the insight. On Mon, Apr 21, 2008 at 8:38 PM, Marc Espie <[EMAIL PROTECTED]> wrote: > > On Sat, Apr 19, 2008 at 11:43:20AM +0200, Jonathan Schleifer wrote: > > "Edwin Eyan Moragas" <[EMAIL PROTECTED]> wrote: > > > > &g

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
On Sat, Apr 19, 2008 at 5:43 PM, Jonathan Schleifer <[EMAIL PROTECTED]> wrote: > "Edwin Eyan Moragas" <[EMAIL PROTECTED]> wrote: > > > > the question is, which one is more useful when writing new servers? > > kqueue or poll? > > poll is more por

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
Hi Eric, On Sat, Apr 19, 2008 at 4:17 PM, Eric Faurot <[EMAIL PROTECTED]> wrote: > > the question is, which one is more useful when writing new servers? > > kqueue or poll? > > The more useful is event(3). i've been looking also at libevent and libev, both of which are excellent libraries. how

Re: poll(2) vs kqueue(2) performance

2008-04-18 Thread Edwin Eyan Moragas
thank you, Theo. On Sat, Apr 19, 2008 at 1:50 PM, Theo de Raadt <[EMAIL PROTECTED]> wrote: > > been reading the select(2) man pages and it mentions poll(2) > > being more efficient in most cases. this makes it obvious to > > discard the use of select(2) in writing new servers. > > select requir

poll(2) vs kqueue(2) performance

2008-04-18 Thread Edwin Eyan Moragas
Hi all, been reading the select(2) man pages and it mentions poll(2) being more efficient in most cases. this makes it obvious to discard the use of select(2) in writing new servers. i've come across some performance benchmarks which is trying to use kqueue(2). the question is, which one is more

socketpair(2) portability (was Re: questions on fork())

2006-07-04 Thread Edwin Eyan Moragas
On 7/4/06, Bernd Schoeller <[EMAIL PROTECTED]> wrote: > 1) when it says "exact copy", does this mean just a copy of the process? > is it right to state that the memory allocated by the parent process is not > accessible to the child process? Yes, copy is not the original (though normally Unix-OS

questions on fork()

2006-07-04 Thread Edwin Eyan Moragas
ey misc, from the fork(2) man pages: fork() causes creation of a new process. The new process (child process) is an exact copy of the calling process (parent process) except for the following: i have several questions/clarifications regarding this. 1) when it says "exact copy", does this mea