Displaying 20 results from an estimated 10000 matches similar to: "caching information"
2006 Aug 09
7
changing find method
Hi,
i was wondering if there was a nice clean way(after all, it is ruby) to 
change the find method of a certain model/class (Page) so that if i 
wanted to use a find method on a @page instance it would return only 
specific rows from the table(if the page.published == true/false:
the pages table looked like
SQL:
...
id int not null auto_increment,
published tinyint(1) not null,
something
2006 Jul 11
1
smpt server
Hi,
i am now in the process of building a newsletter system which will send 
out emails   to users that have enlisted to a certain group; 
everything''s going fine, and i an towards the end of this project...now 
the real part of the story kicks in, where i need to check to see if the 
thing is working or not. i have been looking over the development.log 
file, and i see that the emails
2006 Jul 13
2
mail sending
Hi,
i was hoping someone could reference me to some good documentation on 
emails in ruby and emails in general. i am in the end-process of 
building an app with a newsletter application in it, and was hoping to 
get some references on good places to start off with - - not just in 
rails/actionmailer, but email/smtp/sendmail/whatever/protocols when to 
use what, what''s best to use when,
2006 Jul 02
18
JOIN conditions
Hi,
how can I get Rails to generate SQL queries with conditions in the JOIN clause?
What I would want is:
  SELECT * FROM people p
  LEFT OUTER JOIN jobs j (p.job_id = j.id AND j.salary > 9999999)
I tried
  People.find(:all, :include => ''jobs'', :conditions => ''jobs.salary > 9999999'')
but that generates
  SELECT * FROM people p
  LEFT OUTER
2006 Jan 21
3
Fragment caching with Memcached slow?
Hi,
I am trying to do fragment caching using :mem_cache_store.  However, when I
compare it to fragment caching using :file_store, it seems to be a lot
slower.
Here are the results:
uncache
Completed in 2.20246 (0 reqs/sec) | Rendering: 2.19891 (99%) | DB:
0.00017(0%) | 200 OK [
http://127.0.0.1/]
using file_store
Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB:
0.00000(0%)
2006 Nov 04
0
open4-0.5.1
URIS
   http://rubyforge.org/frs/?group_id=1024
   http://www.codeforpeople.com/lib/ruby/
SYNOPSIS
   open child process with handles on pid, stdin, stdout, and stderr: manage
   child processes and their io handles easily.
HISTORY
   0.5.1:
     - fixes a __critical__ but in ThreadEnsemble class that had a race
       condition that could cause thread deadlock.  sorry bout that folks.
2006 Aug 07
0
open4-0.5.0
URIS
   http://rubyforge.org/projects/codeforpeople/
   http://www.codeforpeople.com/lib/ruby/
SYNOPSIS
   open child process with handles on pid, stdin, stdout, and stderr: manage
   child processes and their io handles easily.
HISTORY
   0.5.0:
     - on the suggestion of tim pease (thanks tim!), i added timeout features
       to open4.  the command run may have an overall timeout and
2006 Apr 19
0
open4-0.3.0
URIS
   http://rubyforge.org/frs/?group_id=1024
   http://www.codeforpeople.com/lib/ruby/
SYNOPSIS
   open child process with handles on pid, stdin, stdout, and stderr
HISTORY
   0.3.0 :
     - bug fix from jordan breeding.  general clean up.  added spawn method.
   0.2.0 :
     - added exception marshaled from child -> parent when exec fails.  thanks
       to jordan breeding for a patch
2006 Jul 05
8
loginGenerator - getting logged in username
i am working on a site taht uses loginGenerator..
it''s a great little package, but i am running into one little problem..
i would like to have something that says:
"logged in as <username>" in the site, but i am not quite getting it..
what i am using is:
<p>You are logged in as: <%= @session[:user] %>
but i have tried:
<p>You are logged in as:
2006 Jul 11
4
smtp server
Hi,
i am now in the process of building a newsletter system which will send 
out emails   to users that have enlisted to a certain group; 
everything''s going fine, and i an towards the end of this project...now 
the real part of the story kicks in, where i need to check to see if the 
thing is working or not. i have been looking over the development.log 
file, and i see that the emails
2018 Apr 27
1
Introducing HardCloud @ FCCM 2018
Hi,
HardCloud (www.hardcloud.org) is an extension to the OpenMP 4.X standard
that seeks to ease the task of offloading IP-cores to FPGA accelerators in
CPU-FPGA architectures. This is achieved by two new clauses [use] and
[module] shown in the example below:
#pragma omp target device(HARP | HARPSIM | Catapult) map(to: X) map(from: Y)
#pragma omp parallel for use(hrw) module(loopback) check
2006 Jan 02
2
::?
Can any one explain the symbole ::? I can not find any refference in any 
document. Thanks
Pretty Kim
-- 
Posted via http://www.ruby-forum.com/.
2003 Oct 27
2
problem using do.call and substitute for predict.glm using poly()
Hi
I am having a particular problem with some glm models I am running. I 
have been adapting code from Bill Venables 'Programmers niche' in RNews 
Vol 2/2 to fit ca. 1000 glm models to a combination of species 0/1 data 
(as Y) and related physicochemical data (X), to automate the process of 
fitting this many models. I have successfully managed to fit all the 
models and have stored the
2016 Jul 16
3
RFC: Strong GC References in LLVM
>
>
> LLVM's design decision is one where everything has to explicitly care
> about implicit early exits to get correct answers (and not to harp too
> much, but "not everything does", years later).  If they don't, they will
> get wrong answers.
>
>
So, ironically, while looking at this, i noticed it turns out LLVM's PRE in
GVN is another place that
2014 Jan 08
3
[LLVMdev] reference to non-static member function must be called
Hi,everyone.
I'm writing a pass in which a CallInst to an external function will be
inserted. The function is declared like this:
void func(int a, unsigned chat *p);
and in the Pass(a Function Pass ,and using the InstVistor template ), I
wrote like this:
 	void visitStoreInst(StoreInst &SI)
		{
				//Get the refference of the types
			Module *M =
2014 May 23
0
[RFC] drm/nouveau: disable caching for VRAM BOs on ARM
Am Freitag, den 23.05.2014, 16:10 +0900 schrieb Alexandre Courbot:
> On Mon, May 19, 2014 at 7:16 PM, Lucas Stach <l.stach at pengutronix.de> wrote:
> > Am Montag, den 19.05.2014, 19:06 +0900 schrieb Alexandre Courbot:
> >> On 05/19/2014 06:57 PM, Lucas Stach wrote:
> >> > Am Montag, den 19.05.2014, 18:46 +0900 schrieb Alexandre Courbot:
> >> >>
2007 Jul 02
0
[LLVMdev] Top Level Stuff
On 2007-07-02, at 03:49, Chris Lattner wrote:
> I think checking out llvm-project should give you something like this:
>
> mydir/llvm-project/
>                     llvm-config/*
>                     README.txt
>                     Makefile
>
> And probably nothing else.
>
> Importantly, the README.txt would talk about how to use the  
> makefile, suggesting
2019 Jan 18
0
SSH SSO without keytab file
Hai, 
I did see that you are using Administrator, and thats the problem. 
Administrator is mapped to root ( most of the time ), 
if you assigned Administrator UID = 0 then you have a problem, because only root = uid 0.
Never ever give Administrator a UID/GID, create a new one assign that one a UID/GID.
So try again with a normal user, that does have a UID/GID. 
If that does not work, please
2019 Jan 24
1
`getent passwd` not working with ad backend
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, January 24, 2019 9:33 AM, Rowland Penny via samba <samba at lists.samba.org> wrote:
> On Thu, 24 Jan 2019 08:57:21 +0000
> Harpoon via samba samba at lists.samba.org wrote:
>
> > Hi all,
> > I've been reading and it seems like ad backend has many features that
> > I'd like to use. However, despite browsing many
2014 May 19
0
[RFC] drm/nouveau: disable caching for VRAM BOs on ARM
Am Montag, den 19.05.2014, 19:06 +0900 schrieb Alexandre Courbot:
> On 05/19/2014 06:57 PM, Lucas Stach wrote:
> > Am Montag, den 19.05.2014, 18:46 +0900 schrieb Alexandre Courbot:
> >> This patch is not meant to be merged, but rather to try and understand
> >> why this is needed and what a more suitable solution could be.
> >>
> >> Allowing BOs to be