similar to: Transaction syntax for > 1 table/model

Displaying 20 results from an estimated 5000 matches similar to: "Transaction syntax for > 1 table/model"

2006 Jul 25
3
Ruby hangman (was Re: List etiquette question)
"Beast" is more appropriate than you know. It''s definately Frankenstein code. (read: it ain''t pretty, but it works - some of the time). Anyway, it entertains my wife; not sure if hardcore programmers will get anything out of it or not. You might find it interesting (or pointless) that in a complete bastardization of rails'' main reason for being it
2006 Jul 13
4
script injection/cross-site scripting protection
When is it possible to set <script>while(true){}</script> as the value of project.name, what it the best way to escape the output of the following? <td><%= project.name %></td> Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/bbdedb86/attachment.html
2006 Jul 05
3
override created_on column name
We are using Rails for a project that must integrate with a legacy database. Is there a way to get Rails to automatically set the timestamp for a column named something other created_on or updated_on ? Also, how does one manipulate the size of the database connection pool? Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 11
1
session state w/ >1 processes
When routing requests to more than one fcgi process, what are my options with Rails? Are most people in the community just using some form of session affinity? Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060711/2a366faa/attachment.html
2006 Jun 28
20
Rails Vs JBoss Seam
I have been frustrated with J2EE technology just like any other developer who has worked in that technology for a long time. This made me learn about Rails and I was excited about RoR. Today I came across JBoss Seam framework and I am not able to contain my excitement. My passion for JEE development is back. It seems like it is better than RoR. I would like to hear differnt opinions about this
2006 Apr 25
2
Transactions and migrations (lots of records)???
Hi all - I know this must be really easy to do, but I can''t for the life of me figure it out. I have about 100,000 rows I need to migrate over into rails using a migration. Right now, I select all of them out of the old database and do a series of: ... new.col = old.col ... new.save ... Problem is each one is it''s own transaction. And it''s slow. I''d
2018 Jan 02
3
Help with first S3-class
Hi, I am trying to understand S3 classes. I have read several tutorials about the topics but I am still a bit confused. I guess it is because it is so different from Java OOP. I have pasted my attempt at creating a bank-account class below and my problems are: 1. What should be added some plot.default() calls the account$plot() method ? 2. What should the account$plot() be implemented to
2011 Sep 28
2
[LLVMdev] Instrumenting C/C++ programs
Hey Xiaoming, Thanks for those source codes. Can you please explain what this llvm-memory-profiling.patch does ? Thanks, Himanshu On Wed, Sep 28, 2011 at 6:49 AM, xiaoming gu <xiaoming.gu at gmail.com> wrote: > Hi, Himanshu. I once wrote an LLVM IR-based memory profiling > pass. Basically, I followed the code for EdgeProfiling. The source code is > enclosed here, which worked
2011 Sep 27
1
[LLVMdev] Instrumenting C/C++ programs
Hey John, Thank you for the detailed reply. I tried to figure out myself which IR should I use for my purpose ( Clang's Abstract Syntax Tree (AST) or LLVM's SSA Intermediate Representation (IR). ), but couldn't really figure out which one to use. Here is what I m trying to do. Given any C/C++ program (like the one given below), I am trying to insert calls to some function, before and
2006 Nov 21
5
Specification Reuse to avoid Combinatorial Explosions
Hello, While reading Dan North''s BDD tutorial <http://dannorth.net/introducing-bdd>, I tried to implement his ATM example as spec stubs. When I first implemented it creating a context for each of his scenarios, I noticed that there is duplication and a combinatorial explosion of the specs. I attached the full files to this email. For brevity, I will use scenario 1 in the body of
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
The patch file is a diff file generated by "svn diff". It is about other modifications such as adding some lines to make files to make the added .c and .cpp files compiled. You may apply the patch file to LLVM source code by using a "patch" command or make the changes manually by reading the patch file. Xiaoming On Wed, Sep 28, 2011 at 6:05 AM, Himanshu Shekhar
2011 Sep 28
0
[LLVMdev] Instrumenting C/C++ programs
Hi, Himanshu. I once wrote an LLVM IR-based memory profiling pass. Basically, I followed the code for EdgeProfiling. The source code is enclosed here, which worked with LLVM 2.8. Hope it is helpful. MemoryProfiling.cpp---the instrumentation pass, which inserts profiling function calls into the original program MemoryProfiling.c---the profiling library containing the profiling calls
2011 Sep 29
2
[LLVMdev] Instrumenting C/C++ programs
Hey guys, I have seen your interesting conversion. I am new for LLVM as well as clang compiler. I am going to use it now. it is quite difficult when someone starts it from scratch. But it is enjoyable and it is possible to familiarize with the environment by short time. Am gonna to use clang + llvm to generate AST from source code by using clang and to do high level transformation. Then I want to
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
Hello, What you're describing is basically the parsing and codegen portions of clang. I'd suggest reading through the code there and posting to clang-dev if you have any specific questions. The clang devs are more likely to see your questions there as not all of them also hang out here. Regards, Jim On Sep 28, 2011, at 8:28 PM, eyasu getahun <eya.get at gmail.com> wrote: >
2004 Mar 29
6
How to purchase R on CD
My organization has a policy against "installing software downloaded from the Internet." There is a waiver procedure, but it is difficult and lengthy. It is much easier to get approval to purchase software, even if it is a CD copy of open-source. However, a search on r-project.org didn't seem to show any way of obtaining the distribution in this way. Any clues would be
2004 Mar 29
6
How to purchase R on CD
My organization has a policy against "installing software downloaded from the Internet." There is a waiver procedure, but it is difficult and lengthy. It is much easier to get approval to purchase software, even if it is a CD copy of open-source. However, a search on r-project.org didn't seem to show any way of obtaining the distribution in this way. Any clues would be
2004 Aug 24
0
additional examples for R-intro.texi (PR#7195)
Here are some patches to expand some of the examples in R-intro.texi. -- Brian Gough Network Theory Ltd, Publishing the R Reference Manuals --- http://www.network-theory.co.uk/R/ --- R-intro.texi~ Tue Aug 24 11:21:37 2004 +++ R-intro.texi Tue Aug 24 11:21:37 2004 @@ -6288,6 +6288,21 @@ use @example +> help(package = "@var{name}") +@end example + +A complete list of the
2003 Nov 03
1
Samba Error messages
Hi, Can you help me.....I have downloaded the latest version of samba 3.0.0. After having followed the instructions to configure & compile etc I am getting the following error message when I run the command smbstatus. smbstatus Error trying to resolve symbol 'init_module' in /usr/local/samba/lib/charset/CP850.so: ld.so.1: smbstatus: fatal: /usr/local/samba/lib/charset/
2006 Mar 13
1
adding custom cache field
Hello, I needed to add custom cache field for one of my application. I thought I will share the code showing how to do this. This code below creates and maintain a custom cache field, for keeping track of totals. Say, you have accounts, and for each account there are transactions (either deposit/withdrawal), and one will like to keep track of the total balance for an account. So, let there be a
2018 Jan 02
0
Help with first S3-class
On 02/01/2018 6:38 PM, Martin M?ller Skarbiniks Pedersen wrote: > Hi, > > I am trying to understand S3 classes. I have read several tutorials about > the topics but I am still a bit confused. I guess it is because it is > so different from > Java OOP. What you do below isn't S3. S3 is a system where the classes are secondary to the generic functions. Methods