search for: butchering

Displaying 20 results from an estimated 207 matches for "butchering".

Did you mean: bothering
2006 May 31
13
What are controller modules *for*?
I am aware that controllers can be placed in modules: ruby script/generate controller modulename/controllername But what does this buy me? Is it just a way of ensuring that my source code is nicely arranged, or can I use the fact that a set of controllers are all within a particular model to implement functionality common to all of those controllers? Why am I asking? The app
2006 Aug 14
14
A mock which extends rather than replaces a class?
While running tests, we would like to instrument some of the classes under test. We still want the classes to do exactly what they currently do, but we would like them to do more when running in the test environment. Clearly we can (and currently do) just extend the objects "on the fly" where necessary, but this is a bit messy - we''d like some centralised way to always
2005 Dec 28
9
Idiom question - assertions which aren''t in tests
All, Although I''ve been keeping an eye on Ruby for several years now, I don''t have a huge amount of experience with it. So please forgive me if I''m missing something obvious. I''m in the process of writing my first really "serious" Rails app and would appreciate your advice. I am wondering if there is a standard idiom for including assertions in
2006 Sep 20
15
Why Rails + mongrel_cluster + load balancing doesn''t work for us and the beginning of a solution
We have been searching for a Rails deployment architecture which works for us for some time. We''ve recently moved from Apache 1.3 + FastCGI to Apache 2.2 + mod_proxy_balancer + mongrel_cluster, and it''s a significant improvement. But it still exhibits serious performance problems. We have the beginnings of a fix that we would like to share. To illustrate the problem, imagine a
2006 Feb 04
2
Associations oddity
Can anyone explain this oddity to me? Given two classes as follows: class Question < ActiveRecord::Base belongs_to :category end class Category < ActiveRecord::Base has_many :questions end I get the following: >> q = Question.find 6789 => #<Question:0x37e9e70 @attributes={"id"=>"6789",
2016 Aug 22
3
Dial and start music on hold after timeout
Sorry, I forgot to write that the SIP peer must keep ringing while the announcement is being played. Le 22/08/2016 ? 17:42, John Kiniston a ?crit : > This seems like the obvious answer but maybe I'm misunderstanding the > question. > > exten => s,1,Dial(SIP/alice,20) > same => n,Playback(myannouncement) > same => n,NoOP(Whatever else you want to do goes
2006 Jan 21
2
Documentation for mocks?
Is there any documentation about how mock objects work in RoR, specifically exactly how one should use the test/mocks directory. Is it just me being incompetent searching for it, or hasn''t this been documented yet? Thanks in advance for your help! paul.butcher->msgCount++ Snetterton, Castle Combe, Cadwell Park... Who says I have a one track mind? -- Posted via
2009 May 29
2
Reformatting run...
I have run Nindent, the reformatting script, over all the C code, *except* HDT and externally maintained code (gPXE, libpng, tinyjpeg, zlib, and LZO). I'll leave it up to Erwan and Pierre to do gPXE. Please help clean up any stupidities when you see them. Especially asm() statements are quite butchered by Nindent, but even for common C code any automatic reformatting occasionally does
2006 Sep 01
2
Configuring Mongrel logging
Is there any way to configure Mongrel''s logging? Specifically, I''d like to get it to output to syslog. Our Rails apps already do this (via SyslogLogger) - is there any way to persuade Mongrel to do the same? Thanks! -- paul.butcher->msgCount++ Snetterton, Castle Combe, Cadwell Park... Who says I have a one track mind? MSN: paul at paulbutcher.com AIM: paulrabutcher Skype:
2015 Feb 23
3
upgrading icecast to 2.4.1
Il 23/02/2015 17:06, "Thomas B. R?cker" ha scritto: > OK, that's from the Icecast side an easy situation. really thank you very much! I will make this operation tomorrow, but it seems easy. Still thanks.
2007 Apr 16
3
Redundant * servers
Without using Dundi or SER, any thoughts on the following anyone? Has something similar been implemented anywhere so as to me not having to horribly butcher code... 4 servers SIP1-4 User1 -- -- SIP1 -- \ / \ User2 ------ Go to register ------- SIP2 ----- Whereis? --> DB / \ / User3 --
2016 Aug 22
2
Dial and start music on hold after timeout
Thank you for the idea. The problem with RetryDial, is that it will cancel the first call, play the announce and then dial the SIP peer once again, so the telephone will display a missed call. I would prefer to do everything in a single call. Le 22/08/2016 ? 17:57, John Kiniston a ?crit : > You could try using RetryDial() instead of Dial, It supports playing > an announcement. >
2016 Nov 04
2
Any way of creating a file to write to from the dialplan, or must I use AGI?
That's just what I'm using, John. But I'm getting (eg) [Nov 4 21:46:16] ERROR[1676][C-00000003]: func_env.c:449 file2format: Cannot open '/home/logs/anonymous.txt': No such file or directory [Nov 4 21:46:16] ERROR[1676][C-00000003]: func_env.c:949 file_write: File '/home/logs/anonymous.txt' not in line format Asterisk is running as root (yeah, I know!), and has
2006 Feb 07
4
ruby-forum.com problems?
Anybody else experiencing problems accessing ruby-forum.com ? For the past week or so I''ve mostly not been able to access it. It either never loads, or displays a 500 error message. I prefer it though to direct email, or the Mailman archives. csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around
2020 Jul 16
3
Problem with OPTIONS requests.
I'm implementing a SBC with my Asterisk PBX but the keeps disabling the trunk group I've configured and I think it may be because Asterisk is returning a 4r04 to the OPTIONS. I've created a test context and have put in a wildcard pattern match to try and catch those options but it doesn't seem to work. Is there a way to have asterisk respond with an 200 OK instead of a 404? --
2020 Jul 17
1
Problem with OPTIONS requests.
I've got this setup in a test context. [test] exten => s,hint,SIP/7124 exten => s,1,NoOP(Options to $EXTEN) same => n,Hangup() exten => _x.,hint,SIP/7124 exten => _X.,1,NoOP(Options to $EXTEN) same => n,Hangup() exten => Anonymous,hint,SIP/7124 exten => Anonymous,1,NoOP(Options to $EXTEN) same => n,Hangup() I added hints to see if that would make a difference
2002 May 15
0
FW: RE: RE: Win2k Printing Problems
-----Original Message----- From: JUSTIN GERRY [mailto:JGERRY@butchers.com] Sent: Wednesday, May 15, 2002 10:33 AM To: vansickj-eodc@Kaman.com Subject: Re: RE: RE: [Samba] Win2k Printing Problems No my ports are: servername (ip address in my case as I am going across a router) print server (actual printcap name) When I add a printer to a Win2k box, in the registry under
2006 Sep 22
2
I''m misunderstanding how stubs works
We''re still just starting out with Mocha/Stubba, so please forgive any newbie errors. I''m using "stubs" to test some realtime functions, to control exactly which time is returned from Time.now. I would expect the following test to pass: def test_two_stubs t = Time.now - 60 Time.stubs(:now).returns(t) start_time = Time.now t += 20
2017 Nov 23
2
How to supervise a Voicemail box with a BLF button ? What does "State:Unavailable" exactly means ?
Hi, 1. How do you then, synced then unread message presence with custom device status ? From an external program ? When a user leaves VoiceMailMan application ? Using externnotify ? 2. What is MWI:101 at default expression for (see [2] ? Cheers [2] https://wiki.freepbx.org/display/FPG/Subscribe+a+BLF+button+to+Monitor+a+Voicemail+Box 2017-11-21 17:58 GMT+01:00 John Kiniston <johnkiniston at
2003 Dec 22
4
Audio format for announcements
Hi guys. First off, to the folks at Digium: outstanding work. The fact that Asterisk is open source puts you right at the cusp of what will be the most important telecom advance since the transatlantic cable. Anyway... a couple newbie questions concerning sound quality - I don't see any reason why the system should not use the best possible format for any given connection. 1) Is it