Displaying 20 results from an estimated 200 matches similar to: "Using pry-rails with a Rails engine."
2011 Jun 16
7
[PATCH] replace fchmod()-based heartbeat with raindrops
This means we no longer waste an extra file descriptor per
worker process in the master. Now there''s no need to set a
higher file descriptor limit for systems running >= 1024
workers.
---
I just pushed this out to git://bogomips.org/unicorn.git and it''ll
be in Unicorn 4.x.
The subset of raindrops used by Unicorn should work on all machines
with mmap(2) +
2011 Apr 27
6
Assignments inside lapply
Dear all I would like to ask you if an assignment can be done inside a lapply statement.
For example
I would like to covert a double nested for loop
for (i in c(1:dimx)){
for (j in c(1:dimy)){
Powermap[i,j] <- Pr(c(i,j),c(PRX,PRY),f)
}
}
to something like that:
ij<-expand.grid(i=seq(1:dimx),j=(1:dimy))
unlist(lapply(1:nrow(ij),function(rowId) { return
2006 Apr 06
4
Engines 1.1.1
Since a minor change in Rails (renaming the file that the version is
stored in, namely) causes a bit of a hiccup for the Engines plugin,
here''s a new release, full of bug fixes and other nice things.
ALL users of Engines are advised to update their copy of the plugin to
get these fixes. The Engines plugin is fully backwards compatible with
Rails 1.0. Anyway - to update, please download
2017 Feb 21
4
Problems with my simple write conf files method
I have been creating conf files and similar with the following method
that I picked up (I think from psotfix docs):
cat <<EOF>>/etc/aliases || exit 1
root: youremail
EOF
See: http://medon.htt-consult.com/Centos7-armv7.html
But with postfixadmin I stumbled onto a problem. The following:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
2013 Dec 31
2
[LLVMdev] [PATCH] R600 - Fix zero extend of i1
Hi,
When trying to compile a trivial opencl kernel such as:
__kernel void if_eq(__global int * out, int arg0, int arg1){
out[0] = arg0==arg1?0:1;
}
Clang generates IR like:
%1 = icmp eq i32 %arg0, %arg1
%. = zext i1 %1 to i32
This eventually crashes ISel on R600. Attached patch adds a selector so
it will compile.
Regards,
Jon Pry
jonpry at gmail.com
-------------- next
2010 Mar 07
6
some love for migrations
I have a semi-grand plan for some changes to migrations. Mostly this
is motivated by the upcoming 3.0 release and wanting to get migrations
in engines working.
1. Don''t skip migrations with version numbers lower than "current".
I only recently tripped over this, but apparently it''s been this way
since 2.1 when we got timestamps masquerading as large/sparse
2007 Jul 26
6
Ferret - current status?
Hi guys,
Having committed a fairly large project to ferret I''m a little concerned
that ferret svn has been essentially unavailable for weeks (pretty much
every time I try I get "can''t connect") and more so now that
davebalmain.com has gone off the air.
Without meaning to pry, does anyone know whether existing problems in
ferret are likely to get fixed? (I can get
2017 Feb 21
1
Problems with my simple write conf files method
On 02/21/2017 11:03 AM, KM wrote:
> I have never used this method per se, but in general in any script if you want to preserve the $ (dollar sign) or variable name you must use a backslash to preserve it. For example change your $CONF to \$CONF. The $CONF should then be printed into your conf file.
Thanks that worked.
> KM
>
> From: Robert Moskowitz <rgm at
2013 Dec 31
4
[LLVMdev] [Patch][RFC] Change R600 data layout
Hi,
I've prepared patches for both LLVM and Clang to change the
datalayout for R600. This may seem like a bold move, but I think it is
warranted. R600/SI is a strange architecture in that it uses 64bit
pointers but does not support 64 bit arithmetic except for load/store
operations that roughly map onto getelementptr.
The current datalayout for r600 includes n32:64, which is odd
2012 Jun 19
4
GUI rails debugger
Hello,
Somewhat new to rails here. But have used Ruby for years and thus have used
ruby-debug before with success. My years of gdb experience were helpful.
I like how rails development is easy to do with Vim and command line. They
only time I yearn for a GUI tool is when debugging. I do MS MVC dev at
work, and VS is nice for debugging, even if I am not nuts about the rest of
it. Anyone
2009 Jul 10
1
getting a timeseries element into a string
I have a timeseries object, ts, and want to get the first date in the series
into a string so I can concatenate it with a SQL query. Input and output are
shown below. I must be missing something very basic, but I can't seem to
pry the data ("2008-07-01") into a string variable. Any suggestions would
be appreciated.
Thank you,
Andrew
=====script:
class(ts)
(ts[1,0]) #returns
2024 Apr 02
1
CyberPower PR3000LCDRTXL2U — battery date reset?
So, I just rebuilt the battery packs in my PR3000LCDRTXL2U and its
expansion unit. You don't want to KNOW. If the internal batteries have
overheated and bulged, you CANNOT remove the battery pack intact even by
partially disassembling the UPS, you have to pry the batteries out via
the top of the chassis one by one. It's not pretty. Three and a half
hours of work including
2005 Mar 05
1
IAX2 (Variables)
> -----Original Message-----
> From: Robert Webb [mailto:rwebb@ropeguru.com]
> Sent: Saturday, March 05, 2005 5:24 PM
> To: 'Asterisk Users Mailing List - Non-Commercial
> Discussion'; 'leandro_tenorio'
> Subject: RE: [Asterisk-Users] IAX2 (Variables)
>
>
>
> > -----Original Message-----
> > From: asterisk-users-bounces@lists.digium.com
2017 Feb 21
1
Centos 7 with Postfixadmin, what provides php5-mysql
I am building a Centos7 mailserver to replace my Centos6 server.
This means moving to Apache 2.4 and MariaDB, so I am finding a number of
changes from my notes.
I now have MariaDB running with the databases created and Apache
running. I try accessing postfixadmin and get:
DEBUG INFORMATION:
MySQL 4.1 functions not available! (php5-mysqli installed?)
database_type = 'mysqli' in
2017 Feb 21
0
Problems with my simple write conf files method
I have never used this method per se, but in general in any script if you want to preserve the $ (dollar sign) or variable name you must use a backslash to preserve it. For example change your $CONF to \$CONF.? The $CONF should then be printed into your conf file.
KM
From: Robert Moskowitz <rgm at htt-consult.com>
To: centos at centos.org
Sent: Tuesday, February 21, 2017 10:50 AM
2006 Feb 27
6
MySql 4.0.16 and Migrations
It appears that you cannot use migrations (out of the box) with mysql 4.0.16,
because when creating a table, the statement says "ENGINE=InnoDb", instead of
"TYPE=InnoDB".
Looking at the source code for the adapter, this appears to be hard coded. Is
there any supported way to make this work with older versions of MySQL?
David
2019 Apr 10
2
decrypt.rb
On 4/10/2019 1:32 AM, Aki Tuomi wrote:
> On 9.4.2019 18.15, Dave wrote:
>>>> I've tried specifying an output file as well, per the script's
>> command line options,
>>>> but the output file is 0 bytes.? Does anyone have any suggestions?
>> I *think* I'm
>>>> using it the way it's intended to be used, but maybe I'm not?!
2011 Oct 17
2
special language character in a pie chart
Dear List Members,
I am working on a below piece of code: Initially have created pie
charts with Enlish labels to present the data for Czech Republic, now
however I need to print the label with original Czech fonts.
When I copy paste from Word, certain fonts get 'simplified' distorting
original spelling. How can solve this problem? Is there a package I
can download which will support
2007 Feb 09
0
obscure error with subsetting as.list() of a function then (PR#9506)
Ok, thanks for clearing it up. But:
> It's not a bug things work in ways that confuse users when they pry
> into things they were not expected to pry into.... Do you have a good=
> reason to call this a bug?
Well if it's intended to work that way then it's not a bug.
As I said, I was computing on the language, in particular writing code =
that
processes the parse tree of a
2013 Nov 11
0
[LLVMdev] Android JIT patch
I've got a number of problems with this patch.
First, we have plans to pry apart the remaining strands connecting JIT with MCJIT, so I don't want to do anything that reconnects them. That is, I'm against moving things from RTDyldMemoryManager into ExecutionEngine.
Second, unless I'm reading it wrong, this relies on static constructors. That causes headaches and is against the