Displaying 20 results from an estimated 4000 matches similar to: "Reported timing aren't thread-safe, are they?"
2012 Oct 07
1
Rails doesn't scale
Sorry, couldn''t resist to that message subject :D
I''m working on some performance improvements for my application and
there is something I think is missing in Rails (as well as most other
frameworks) that I''d like to discuss here.
For this application, the user can select multiple filters when querying
a generic database. It is a live interface (like Google, for
2006 Apr 10
1
routing
I have this in my routes.rb:
...
map.connect ":action/:id", :controller => "default_controller"
..
It worked nicely, until I added a second controller to my project. The
new (second) controller is "Admin".
The problem is I cant reach the actions in the second controller.
http://mysite.com/some_action is routed to some_action in
default_controller. That is
2011 Apr 26
0
Getting the application structure correct when using Warbler to make a .war
Hello,
The instructions in Warbler say that I should run it at the root of
the directory structure of an application.
The index.html ended up being not in the root directory of the .war so
it caused problems.
Here is my just-ruby server:
http://128.48.204.195:3000/
It works fine, but then, when I used warbler and put the war into
tomcat, here is what happens:
2004 Feb 24
0
rsync incremental backup probs
I am having a problem with implementing a slight modification of the
"backup to a central backup server with 7 day incremental" example from
<http://rsync.samba.org/examples.html>. When rsync runs, I end up getting
stat errors that the file doesn't exist in the backup-dir location. The
backup server is running rsyncd, and without the --backup and --backup-dir
options set, I
2004 Jul 06
0
rsync incremental backup probs
this email is to Sean M. Kaiser skaiser at northmont.k12.oh.us
post was: Tue Feb 24 23:38:32 GMT 200
hi,
did you get a solution for the --backup-dir problem (stat error
messages)?
I ran into the same thing...
Thanks
Christian
the original message was:
>
>
> I am having a problem with implementing a slight modification of the
> "backup to a central backup
2005 Jan 08
1
What is acceptable network latency for voipconnection?
That "program" will be detected by your ISP within a day or so,
determined to be a virus, and your service will get disconnected...which
n turn will not help your latency or jitter at all.
VoIP can tolerate a fair amount of latency; latency over about 100ms is
heard as a perceptible delay resulting in a connection that appears to
be half duplex.
Jitter, on the other had, is the real
2013 Aug 29
2
Puma fails when it restarts itself
I''m having an issue with Puma, it fails when it tries to restart itself.
When this happens it kills all the Puma processes, resulting in nginx
delivering a 502 Bad Gateway to our users. I''m able to start, stop &
restart it with my /etc/init.d/puma script (it runs
/usr/local/bin/run-puma), it just has issues when it restarts itself. The
puma.log file doesn''t
2005 Jan 09
2
What is acceptable network latency forvoipconnection?
In the real world (or at least in my world) we use undersubscribed
internet connections that come with a service level agreement (SLA) that
guarantees that the jitter, delay, and packet loss with be within
defined parameters in the service agreement.
With most DSL and Cable you will not get a SLA, with the cheapest T1s
you might get one, but the only penalty to the ISP if they do not meet
is a
2009 Aug 10
1
creating selection vector with 2 attributes
Please consider the following:
Puma=c(702, 702, 701, 702, 701, 702, 701, 702 ,702 ,702 ,701 ,702, 702, 701
,701, 702, 701 ,702, 702, 702,701, 702 ,702 ,702 ,701)
PumaNums=c(100 , 200 , 300 , 400 , 500 , 600 , 701 , 702 , 800 , 900 ,1000
,1101, 1102, 1200 ,1301 ,1302 ,1303, 1304, 1305, 1306,
1307 ,1308 ,1309 ,1310 ,1311 ,1312 ,1313)
PumaNames<-c("Northeast",
"NorthCentral",
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i recently upgraded some of my servers from 3.0.2a to 3.0.4
after the upgrade my browselist shows duplicate entries for the domains.
one domains is managed by a samba PDC(providing WINS too) and two samba
BDC's.
the other domains are managed by one samba PDC.
'smbclient -N -L <WINS_SERVER>' shows:
- ---
Workgroup
2013 Aug 23
5
Ruby 2.0 Bad file descriptor (Errno::EBADF)
hi. i''ve been trying to upgrade my stack to ruby 2.0 but keep getting this on ubuntu (not on my local os x):
/hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `for_fd'': Bad file descriptor (Errno::EBADF)
from /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `block in inherit_listeners!''
from
2019 Jan 02
0
Several problems on Solaris10
On Tue, Jan 1, 2019 at 7:26 PM Sami Ketola <Sami.Ketola at open-xchange.com>
wrote:
> Believe me it does. I used to work for Sun Microsystems for 14 years in
> Solaris support and sustaining and I can guarantee you that it does.
>
> You problem is that Solaris has concept of Secure Runtime Linker, and for
> trusted applications most of LD_CONFIG and LD_LIBRARY_PATH is ignored
2004 Mar 24
1
Windows client using UPPERCASEto connect to Samba 3.02a serve
Hi everyone,
I installed Samba 3.02a server on Fedora Core 1 server .
I have NT :( as PDC so Samba check Username/Password on this server and I
add a line in smb.conf to add new users to the Unix. All usernames on the NT
domain ar lowercase and I'm using security=domain
While I can map drive from NT/2000/XP workstation I'm not able to connect or
map from Windows 98 clients.
When I'm
2005 Dec 21
1
Are Ducks Hibernating ?
Dears,
Remembering last value in a select box don''t work for me as :
Controller :
@years=(1970..2005).to_a
Form:
<%= select_tag "year", options_for_select( (2001..2005).to_a,
@params[:year] ) %>
I had to write
<%= select_tag "year", options_for_select( (2001..2005).to_a,
@params[:year].to_i ) %>
for it works.
Not important, but I''m
2006 Jan 22
6
*Very* basic layout question
I''m trying to use a different layout for just one action in my
controller, all the other actions use the application.rhtml layout, so
what i''m doing is ...
class SomeController < ApplicationController
layout "simple", :only=> :some_action
......
end
and the "simple" layout is applied to all the actions, can someone
please give me a hint?
2006 Jan 23
8
yield vs @content_for_layout, etc..
I am relatively new to RoR and Ruby for that matter. A few questions
for the pros:
Question 1:
In the 5min ajax video the presenter uses
<%= yield %> in his layout.
In the agile book, @content_for_layout is used.
Since, yield is an actual Ruby construct, is it more efficient and
preferred? What is the difference?
Question 2:
Links are often of the form :action =>
2001 Feb 27
1
Bad packet length in 2.5.1 with rijndael (fwd)
I think we are not detecting and setting endianness properly for
rijndael.c.
Can someone on a big endian machine do a "ssh -2 -oCiphers=rijndael128-cbc
littleendianmachine" and vice versa?
-d
--
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org / distributed filesystem'' - Dan Geer
----------
2006 May 02
4
useful bit of code (hopefully)
Hi,
I often find myself using bits of code like this inside ActiveRecord,
perhaps it''s useful for others, or others can improve on it:
###########
# fix user input before validating it
before_validation :sanitize_input
# santize input before actual validation is called
# this uses the little methods defined below
def sanitize_input
trim %w(adres postcode woonplaats email naam
2018 Dec 31
3
Several problems on Solaris10
Answer inline.
On Sun, Dec 30, 2018 at 12:59 PM James <list at xdrv.co.uk> wrote:
> On 29/12/2018 13:49, Pierluigi Frullani wrote:
>
> > My version is 2.2.13 ( it was the last one, at the time of the first
> > server setup ).
>
> 2.2.13 is from around May 2014. It worked but I can't see why you
> wouldn't switch to the latest 2.3.4. (You might be seeing
2011 Mar 31
1
Question about setting database config without database.yml
A little background.
We are deploying a rails app on jboss by using warbler and the app is
using rails 3.0.3.
There are several parameters the customer may need to change. Some of
these parameters include database connection information, ie shema,
username, password, host, port, and database. We are connecting
through oracle thorugh the jdbc adapter.
My problem lies in the fact that I cannot