Displaying 9 results from an estimated 9 matches for "dynamine".
2008 Jan 15
4
popen woes
From: "Michael S. Fischer" <michael at dynamine.net>
>
> I wanted my worker program (which uses EM) to pass the user''s password
> to the Expect script via standard input in order to avoid some
> security hazards associated with alternatives such as storing it in a
> file or in the environment, either of which may be ob...
2007 Feb 26
9
libevent
Francis,
I read in the list archives back that a future EventMachine release
will support epoll on Linux (i.e., it''s in the trunk).
Better still, is there a possibility that EM will rely on libevent so
that it will be architecture independent (i.e. epoll on Linux, kqueue
on FreeBSD/Mac OS X, /dev/poll on Solaris)? This is how memcached is
implemented, and it would be helpful to be able
2008 Jan 16
3
getsockname access
Is getsockname (or its equivalent) available to an EM Connection
object? I''d like to access the local port number in my client
application.
--Michael
2007 Feb 25
6
Crash occurs where EventMachine.connect is
Hi everyone,
If you subclass EventMachine::Connection and call it outside an
EventMachine::run
event loop, EventMachine crashes! Example:
class Put < EventMachine::Connection
include EventMachine::Deferrable
HOST="localhost"
PORT=8080
def self.request(data)
EventMachine.connect(HOST, PORT, self) {|c|
c.instance_eval { @data = data }
}
end
#
2007 Sep 14
5
ZFS Space Map optimalization
I have a huge problem with space maps on thumper. Space maps takes over 3GB
and write operations generates massive read operations.
Before every spa sync phase zfs reads space maps from disk.
I decided to turn on compression for pool ( only for pool, not filesystems ) and it helps.
Now space maps, intent log, spa history are compressed.
Not I''m thinking about disabling checksums. All
2008 Jan 14
10
Using EventMachine to listen from non-network
I''ve actually found a way to make EventMachine listen to events from a
serial port, but only by using the pure Ruby version, using Guilliame
Pierronnet''s Ruby/SerialPort library. It turned out to be simpler
than I thought it would be:
require ''serialport''
$eventmachine_library = :pure_ruby
require ''eventmachine''
module EventMachine
class
2004 Nov 24
8
tc and iptables trouble
Hi all
I have a trouble configuring the qdiscs, when I indicate the "perturb 10" option to tc, i gives me this error:
tc qdisc add dev eth0 parent 5:1323 handle 1323 sfq perturb 10
RTNETLINK answers: Invalid argument
if I don''t put the "perturb 10" option, it works.
another question is about iptables, when I indicate the " --set-mark" option:
iptables -t
2006 Aug 03
3
How to override append method for related attribute?
I have a model that looks something like this:
class Person < ActiveRecord::Base
has_many :tasks
[...]
end
I''d like to override/overload the append (<<) method for the tasks
relational attribute such that I can perform some error checking in
the context of a Person.tasks << task operation. Is there any way to
do this?
I wish I could do this in the context of
2006 Jul 31
4
Text field not being submitted via form_remote_tag; works via form_tag
Hi everyone,
Newbie here. I''m trying to get a textual form element to submit in
the context of a form_remote_tag block and having little success.
Oddly (or perhaps not), using regular old form_tag in its place does
cause the elements to be submitted. Here''s the relevant partial ERb
code:
<%= form_remote_tag( { :url => { :action => :out, :id => pending_task } } )