similar to: Re: Rails Digest, Vol 22, Issue 187

Displaying 20 results from an estimated 20000 matches similar to: "Re: Rails Digest, Vol 22, Issue 187"

2006 Jul 10
13
LDAP auth/az for Rails
All: I recently wrote an LDAP library for Ruby called Net::LDAP, and I''ve noticed that quite a few people are using it to do authentication and authorization for Rails apps. I know there are several well-done login generators for Rails, but what about people that would rather use a directory? If we were to write a generator for Rails that used LDAP (or A/D) as the backend, would
2006 Aug 15
6
Net::LDAP 0.0.4 released
Announcing version 0.0.4 of Net::LDAP, the pure-Ruby LDAP library. Thanks to the many people who have used this library and sent in comments, suggestions, feature requests, and patches. An even bigger thank-you to the folks who have made themselves available to help with testing. Net::LDAP has been quite stable for several months now, so we bumped the development status of the library up to
2006 Jul 27
16
Net::LDAP 0.0.3 released, adds TLS encryption
We''re pleased to announce version 0.0.3 of Net::LDAP, the first pure-Ruby LDAP library. Net::LDAP intends to be a feature-complete LDAP client which can access as much as possible of the functionality of the most-used LDAP server implementations. This library does not wrap any existing native-code LDAP libraries, creates no Ruby extensions, and has no dependencies external to Ruby.
2006 Aug 08
11
Core dump using sample DumbHttpClient
I''m using the current release branch from the repository (version_0) on freebsd 6.1 with ruby 1.8.4. This is the error that is generated when running the code below at the bottom of the message, plus a gdb bt. Sorry no debugging symbols built into ruby but maybe the bt will help anyways. terminate called after throwing an instance of ''std::runtime_error'' what():
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
2006 Aug 21
1
The Public Appology To Francis Cianfrocca
Dear Mongrel Users, It appears that Francis still isn''t satisfied with my attempts to apologize and he''s now asked me privately to retract my statements. So, just to be sure he finally gets it: I retract my statements that Francis and his friends are "shady" and "desperate for cash". He is in no way a shady guy, having dealt with this situation with the
2006 Jul 11
32
Database Concurrency Without a Web Server?
My Rails application requires a very busy worker process running in the background at all times. I am launching this non-interactive process using script/runner. This process is very busy and is communicating with the MySQL server constantly. As I started putting some load on the system to test, I started running into performance issues. I have since discovered that Rails is only using 1
2006 Aug 05
10
Converting mysql to postgres
Hi, Anyone got any cool tricks for converting a Rails site (in this case, a typo installation) from a mysql database to a postgresql database? I''ve got it almost working -- I''m doing a SQL dump from mysql and loading it into postgres. However, mysql does booleans as a tinyint with 0 = false and 1 = true. When I try to import that into a postgres database that expects booleans
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 #
2006 Aug 08
8
Generating a unique id ?
Hello, I need to generate a unique ID, so far I''ve unit tested this under 100000 iterations and it seems to work : now.to_i.to_s + ''-'' + now.usec.to_s + ''-'' + rand(1000).to_s Is there a better way ? Thanks Notes : 1) without usec, few percents of generated values are not uniques 2) the id generated is a string so the presence of
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 Aug 15
2
Interfaces for accessing SSL/TLS certificates
Hi everyone. Does anyone have any preferences or ideas for an interface for SSL certificates, both client-side and server-side? At present, the only interface is EventMachine::Connection#start_tls, which uses a built-in self-signed cert on the server side. On the cilent side, it accepts any well-formed cert (that is, it doesn''t check that the remote cert is signed by a trusted authority).
2007 Dec 09
38
libevent
Hello, I have been looking at the Ruby/EventMachine. First let me say it look very good. Reactor model with no threads makes for fast reliable server, and I have read about marvelous Twisted framework for Python and am glad to see something similar for Ruby. I am writing network app with Ruby threads now and it very slow, and I try new Ruby 1.9 with native threads that make it much slower.
2011 Oct 19
2
R-help Digest, Vol 104, Issue 19
Okt?ber 19-t?l 21-ig irod?n k?v?l vagyok, ?s az emailjeimet nem ?rem el. S?rg?s esetben k?rem forduljon K?rp?ti Edithez (karpati.edit at gyemszi.hu). ?dv?zlettel, Mihalicza P?ter I will be out of the office from 19 till 21 October with no access to my emails. In urgent cases please contact Ms. Edit K?rp?ti (karpati.edit at gyemszi.hu). With regards, Peter Mihalicza
2007 May 24
4
Multiple EM connections on separate threads
Hi EM Gurus, I''m hoping someone can shed some light on the following... I''m using a 3rd party (legacy) server that can accept up to 8 simultaneous connections on one port. I''ve been able to make multiple connections to this server from within one call to EventMachine::run {...}. Specificaly, I can access each connection separately using: em_thread = Thread.new do
2011 Sep 20
0
R-help Digest, Vol 103, Issue 19
Szeptember 12-t?l 26-ig irod?n k?v?l vagyok, ?s az emailjeimet nem ?rem el. S?rg?s esetben k?rem forduljon K?rp?ti Edithez (karpati.edit at gyemszi.hu). ?dv?zlettel, Mihalicza P?ter I will be out of the office from 12 till 26 September with no access to my emails. In urgent cases please contact Ms. Edit K?rp?ti (karpati.edit at gyemszi.hu). With regards, Peter Mihalicza
2007 Jun 13
0
Re: asterisk-users Digest, Vol 35, Issue 52
Hello , Thursday, June 14, 2007, 4:00:37 AM, you wrote: > Message: 2 > Date: Wed, 13 Jun 2007 09:40:08 -0600 > From: Anthony Francis <anthonyf@rockynet.com> > Subject: [asterisk-users] Weird sip registration problem > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Message-ID:
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
2020 Sep 02
0
CentOS-announce Digest, Vol 187, Issue 1
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When
2004 Dec 15
0
RE: Asterisk-Users Digest, Vol 5, Issue 187
I tried google and sixtel.com - couldn't find a web page for Sixtel - would some kind soul point me in the proper direction? ============================================================================ ====== Date: Mon, 13 Dec 2004 16:51:47 -0800 (PST) From: Steve Edwards <asterisk.org@sedwards.com> Subject: Re: [Asterisk-Users] IAX.cc / Sixtel? To: Asterisk Users Mailing List -