search for: reconstitut

Displaying 20 results from an estimated 52 matches for "reconstitut".

Did you mean: reconstitute
2006 Jun 13
17
reconstituting a date
..."In" @in_out.time_in = params[:in_out][:time_in] elsif params[:user][:in_out] == "Out" @in_out.time_out = params[:in_out][:time_in] params[:in_out][:time_in] = nil end but since it really isn''t a date time, only a null gets saved. How do I reconstitute it as a date because @in_out.time_in.to_date = params[:in_out][:time_in] generates an error and doesn''t work. Craig
2016 Apr 30
0
Unexpected scores from weighted PCA with svyprcomp()
...data) I believe should take in consideration the sampling weights of the observations. After running the PCA with svyprcomp(), from the survey package, I wanted to list the loading (with regard to the first principal component) and the scale of the variables, so that I can tell people how to "reconstitute" the economic indicator from the variables without any knowledge of PCA. This reconstituted indicator wouldn't be centered, but that's OK because the important thing for the application is the relative position of the observations. The unexpected (at least for me) behavior was that th...
2012 Oct 26
3
[LLVMdev] Using LLVM to serialize object state -- and performance
...Function. The LLVM code generated is a sequence of instructions to set up the arguments for and call the constructor of each C++ object. (I am using C "thunks" that provide a C API to LLVM to make C++ class constructor calls.) Hence, all the LLVM code taken together into a single "reconstitute" function are mostly a sequence of "call" instructions with a few "store" and "getelementptr" instructions here and there -- fairly straight-forward LLVM code. I then write out the LLVM IR code to disk and, at some later time, read it back in with ParseIR(), do...
2012 Oct 27
0
[LLVMdev] Using LLVM to serialize object state -- and performance
...Function. The LLVM code generated is a sequence of instructions to set up the arguments for and call the constructor of each C++ object. (I am using C "thunks" that provide a C API to LLVM to make C++ class constructor calls.) Hence, all the LLVM code taken together into a single "reconstitute" function are mostly a sequence of "call" instructions with a few "store" and "getelementptr" instructions here and there -- fairly straight-forward LLVM code. I then write out the LLVM IR code to disk and, at some later time, read it back in with ParseIR(), do...
2008 Jun 12
6
Session Best Practices
...facebook, facebooker authenticates and redirects back to my application 3) i detect the "auth_token" param in my method and store the session_key 4) now the session[:facebook_session] is good to go .... when a user logs in i detect if they have ever authorized facebook, if they have a reconstitute a facebooker session : session[:facebook_session] ||=           returning Facebooker::Session.create do |session|           ...
2012 Nov 06
3
[LLVMdev] Using LLVM to serialize object state -- and performance
...thunks to build up an object tree. The idea is to generate LLVM code, write it out to disk, terminate execution of the current program's process; then, at some later time, start a new process for the program, read in the previously generated LLVM code from disk, call the JIT function that will reconstitute the state of the tree just as it was. Elsewhere in my code, I keep a set of llvm::Function*'s, one for each thunk. For each function, I use ExecutionEngine::addGlobalMapping() to bind the Function* to the actual thunk. The binding does use Module::getFunction(). Oddly, on Mac OS X, I only...
2012 Nov 06
0
[LLVMdev] Using LLVM to serialize object state -- and performance
...thunks to build up an object tree. The idea is to generate LLVM code, write it out to disk, terminate execution of the current program's process; then, at some later time, start a new process for the program, read in the previously generated LLVM code from disk, call the JIT function that will reconstitute the state of the tree just as it was. Elsewhere in my code, I keep a set of llvm::Function*'s, one for each thunk. For each function, I use ExecutionEngine::addGlobalMapping() to bind the Function* to the actual thunk. The binding does use Module::getFunction(). Oddly, on Mac OS X, I only...
2012 May 01
2
[LLVMdev] [PATCH][RFC] Add llvm.codegen Intrinsic To Support Embedded LLVM IR Code Generation
...time calls correctly. We don't need to completely solve this problem. Yet. :) > If you have a global variable, what target "sees" it? Does it need to > be annotated along with the function? For a tool like llc, wouldn't it be simply a matter of changing TheTarget and reconstituting the various passes? The changes we have waiting to upstream already allow us to reconstitute passes. I sometimes use this to turn on/off debugging on a function-level basis. The way we've constructed our backend interface should just allow us to switch the target and reinitialize everythi...
2006 May 05
5
Sessid.
How can I get the sessid from the current session object? For instance, I log in the system, and want to know which sessid I''m using. I''m storing the session using active_record. Later on, I want to restore a session finding it using the sessid. Thanks in advance. Fernando Lujan
2012 Apr 09
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...struction (%0 here) is normally a structure. LLVM doesn't typically treat aggregates as first-class citizens. In particular, you shouldn't store the whole structure to memory like you do to %5. You can use 'extractvalue' to get the different elements of the structure. If you need to reconstitute the structure (for the 'resume' instruction), you can use the 'insertvalue' instruction. The code it produces is more verbose, but after optimizations, code-gen typically doesn't produce a lot of code for these sequences. I copied that bit of code from ExceptionDemo.cpp (lines...
2007 May 18
2
[LLVMdev] QUERY
[This email is either empty or too large to be displayed at this time]
2007 May 18
0
[LLVMdev] QUERY
Hi All, I have a query regarding LLVM,Can LLVM IR can restore high level information of base language. Thanks and Regards, Manish On 5/18/07, manish <manishagg22 at gmail.com> wrote: > >
2010 Mar 02
1
Output to sequentially numbered files... also, ideas for running R on Xgrid
...utput was an array of [x, y, i] dimensions. The removed for-loop ran through i, each iteration filling a x-y slice of the output array. Now the function returns a single xy matrix for a supplied, single value of i. Is there a way to output to sequentially numbered csv files such that they can be reconstituted into the [x, y, i] array? I have tried: write(x, file=get("n")) Where n is the value of i the function is running for. But I get the error: 'file' must be a character string or connection Is there a way of writing out to a csv file numbered with the value of a variable? A...
2006 Mar 01
1
Using read.table() with Excel data
Help I apologize if this message posts twice, but I do not think my last attempt went through. I am trying to use the read.table() function to read in a massive alphanumeric data set. I thought I might scan in each column individually and do a cbind() to reconstitute the array in R, so that maybe I could handle the numbers and the long lines of texts separately(some columns in the Excel dataset are wrapped lines of texts, some dates, some numbers). However, I encountered a problem in that I cannot seem to even read the column of texts properly. Each line of...
2010 Sep 07
1
Saving fits (glm, nls) without data
Is there any package that assists in saving and reconstituting glm and nls fits without bringing along the accompanying data? A quick search on CRAN didn't turn up anything. If not, how do other people deal with saving the coefficients of model fits? For example, I've run a glm fit that has 23 coefficents on data set that had 193,008 rows, by the...
2010 May 04
3
client-server encryption
Hi, I'm trying to set up a "secure" VoIP channel between a Windows softphone client and an Asterisk 1.6... server running with OpenBSD. By "secure" I mean to prevent any man in the middle to reconstitute any vocal exchange nor sender/addressee/any header data/ of the VoIP call (in first step, I would be glad to secure vocal data ans see later for the header...) I had a look to several way to do that: - Create a VPN using OpenVPN => impossible for me , i'm not admin of the Windows syst...
2006 May 09
1
Session mgmt. bug - ActiveRecord & MemoryStore session store
...method `test_attr'' for #<X:0x39e0270> If you comment out the use of MemoryStore as the session database manager, your code should work. Simply toggling the MemoryStore setting will cause this code to fail or not fail, as the case may be. It seems that when the session is "reconstituted" back from the MemoryStore, something happens to the magic that allows the session copy of the object to know about it''s attributes? NOTE: Using the "model :x" directive in the controller does not help. NOTE: A model object that is NOT a descendant of ActiveRecord::Base...
2012 Apr 09
5
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...struction (%0 here) is normally a structure. LLVM doesn't typically treat aggregates as first-class citizens. In particular, you shouldn't store the whole structure to memory like you do to %5. You can use 'extractvalue' to get the different elements of the structure. If you need to reconstitute the structure (for the 'resume' instruction), you can use the 'insertvalue' instruction. The code it produces is more verbose, but after optimizations, code-gen typically doesn't produce a lot of code for these sequences. >> store i8 1, i8* %exception_caught_flag, align...
2015 May 19
2
How do I seek to seek to specific samples using libvorbis?
What is the best practice for seeking to a specific (arbitrary) PCM sample in an Ogg file that contains vorbis, using libvorbis? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20150518/1d3bb0ae/attachment.htm
2019 Dec 18
4
DW_OP_implicit_pointer design/implementation in general
...n the resulting value, because that indirection is missing/not in the final program" and that this would be encoded in a llvm.dbg.value/DIExpression as usual, without the need for new IR intrinsics, though possibly with the need for an LLVM extension DWARF OP (DW_OP_LLVM_explicit_pointer?) To reconstitute that general form into the current DWARF limited "indirection needs to refer to another variable DIE" issue - as I think Paul speculated previously, we could always reconstitute a synthetic variable DIE & not try to reflect the case where the indirection lands at another named/known...