Displaying 20 results from an estimated 4000 matches similar to: "Putting models into Gems (not plugins)"
2009 Aug 10
2
A copy of ApplicationController has been removed from the module tree but is still active!
Yes, more dependencies.rb fun!
As far as I''m able to ascertain, these errors started appearing after
upgrading from Rails 2.3.1 to 2.3.2 and persist in 2.3.3.
They''re highly nonderministic and appear rather sporadically, which
makes it extremely frustrating. Multiple developers on our team have
experienced this problem across varying versions of Ruby/Rails.
They''re
2000 Sep 13
3
Lossless video codec
I know this probably transcends the scope of the current aims of Ogg
video, but one thing I'd consider extremely useful is a lossless video
compressor. There are a few of them out there (e.g. PICVideo's lossless
wavelet codec) but I've found no free ones so far. The primary use would
be for storage of video clips that would be too cumbersome to store as raw
frames but still require
2011 Jun 22
2
analysing a three level reponse
Hello,
I am struggling to figure out how to analyse a dataset I have inherited
(please note this was conducted some time ago, so the data is as it is,
and I know it isn't perfect!).
A brief description of the experiment follows:
Pots of grass were grown in 1l pots of standad potting medium for 1
month with a regular light and watering regime. At this point they were
randomly given 1l of one
2000 Aug 09
2
WAV header (hey Mike)
So, I saw a form of wav header I didn;t know about today. It's not in my
(admittedly aging) copy of the RIFF spec from M$, but it's pretty clear how to
handle it (mostly in the context of OggEnc).
Here's a dump with od -c:
0000000 R I F F 370 357 l 002 W A V E f m t
0000020 020 \0 \0 \0 001 \0 002 \0 D 254 \0 \0 020 261 002 \0
0000040 004 \0
2008 Jun 01
3
rbx gem
Hello. Some time ago I committed a Rubinius assembly-based HTTP parser
generated from Ragel to the Rubinius git repository. Yesterday I made a
Mongrel gem which installs and works on Rubinius. This basically involved
commenting out anything to do with fastthread or the http11 C extension.
If there''s interest in releasing a Rubinius-targeted gem, I can make changes
to the Rakefile to
2012 Nov 29
13
Fwd: Maintaining capacity during deploys
We''re using unicornctl restart with the default before/after hook
behavior, which is to reap old Unicorn workers via SIGQUIT after the
new one has finished booting.
Unfortunately, while the new workers are forking and begin processing
requests, we''re still seeing significant spikes in our haproxy request
queue. It seems as if after we restart, the unwarmed workers get
swamped by
2010 May 07
1
Can't eagerly load a polymorphic association defined in an STI parent class?
If I define an association (in my case a polymorphic one) in an STI
parent class, and try to eagerly load it in a subclass, I get the
following error:
ActiveRecord::ConfigurationError: Association name ''myassoc'' was not
found; perhaps you misspelled it?
If I redefine the same association again in the STI subclass, it
works.
Is this a bug or what?
--
You received this message
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.
2010 Dec 11
1
the naming of "Unicorn"
In case more people are interested, I originally posted the following to
ruby-core: http://mid.gmane.org/20101210190448.GA6534 at dcvr.yhbt.net
Eric Wong <normalperson at yhbt.net> wrote:
> zuerrong <zuerrong at gmail.com> wrote:
> > 2010/12/10 Tony Arcieri <tony.arcieri at medioh.com>:
> > > And Unicorns are fantastical mythical creatures!
> > >
>
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
2000 Jul 12
1
Windows ACM codec status
What is the status of the vorbis ACM codec? I certainly hope I am not the
only one with a vested interest in its development and there's been no
talk of its status on the list lately.
Tony Arcieri
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
1999 Aug 30
4
xmms plugin
Anyone else hacked together an xmms plugin for Vorbis? I took my best
shot at it based on the source and some of the info I've picked up off
this list... I haven't really tested it yet, but I think with a little bit
more hacking it might actually work.
I can put the source up if anyone wants to dink around with it, but I'd
rather just clean it up a little then perhaps ask xmms if
1999 Sep 23
3
Update on libvorbis
The 2.0 release at my Day Job is winding itself up so I finally have cycles for
libvorbis and the player again. I'm seriously considering just doing Vorbis
full time, funding or no :-)
In any case, I'm going to push off all the aggressive, unfinished features I've
played with for the time being and institute a (personal) feature freeze in the
interest of finishing the coder block for
1999 Nov 07
2
Vorbis status
Hello folks,
This is a ping to see what folks are up to and planning to work on in the near
future. I'm mostly just curious....
Personal goals in the next week:
Handle any incoming bugs on the vorbisfile API/library
Hone the LPC approximation routines a bit more.
Get the command line player functional (Mike Whitson is also planning to put
some time in here).
Verify that I understand the
2000 May 19
3
Windows ACM Driver
during the last weeks I was playing around with Windows ACM codecs. These
drivers allow the use of audio compression algorithms in Microsoft Windows
Apps like Goldwave or the Microsoft Audio Tools (e.g. for streaming). At the
moment this code is in a very early stage, only some houskeeping
functionality is finished at the moment. But I think it should be possible
to implement this thing without
2008 Apr 24
4
Pure Ruby HTTP parser
Before anything else, let me state this: Of course it''s going to be
PAINFULLY slow on MRI. That''s not the point :)
I thought I''d try out writing out a Ruby version of the parser for the
purposes of Rubinius. For those of you who aren''t aware, Ragel supports a
goto-driven FSM on Rubinius by injecting assembly directly, and Rubinus head
honcho guy Evan Phoenix
2008 Jan 20
3
CookieStore and Session data via POST vars (no cookies)
This might be a solved issue, so I thought I''d ask. I''m trying to use
SWFUpload with the cookiestore. I''m passing in the session_id
variable through a POST parameter in the upload. I''ve verified that
Flash is sending the POST params (Flash 9).
I thought simply by setting cookie_only to false for that method, I
would be able to get that to work.
2009 Jan 20
2
Some basic questions
Hi, I''ve started learning about EventMachine right now and have some basic
doubts. Hope you could clarify them.
I''m developing a SIP server. For now I''ve started it from scratch but I expect
to migrate it to EventMachine.
SIP is a very complex protocol. For example: if I use a SIP proxy in front of
my server then all the data will arrive to my server using the same TCP
2008 Feb 07
6
Buffer flushing
Short question: is there way to tell EM to actually send data after
send_data call?
I''m building a file transferring app. I send Mashal.dump''ed metadata
first, and then - the file contents (chunked). I found a silly bug:
receive_data() gets marshalled metadata and the first chunk of the
file in a single variable.
Like that:
c1.send_data("meta")
2007 Nov 20
1
P2P: Avoiding manual port-forwarding
From: Tony Arcieri
>
> A STUN implementation will be an important part of DistribuStream
> in terms of firewall traversal. However, first I need to move the
> whole protocol to UDP, and before I do that I''m trying to make it
> work better in general.
>
> I''m also unsure what to use for a UDP data transfer protocol. I
> need something to work in