Displaying 20 results from an estimated 251 matches for "deseri".
Did you mean:
desert
2007 Aug 02
0
Deserializing objects in the controller
I''ve an AR model that serializes another object (A), which does not
inherit from ActiveRecord::Base. The problem I''m facing is that while
A can be deserialized properly in script/console, it deserializes as
YAML::Object in the controller. This means that the methods on A are
not available on the deserialized instance and I receive NoMethodError
messages.
I''ve tried to use YAML to manually perform serialization/
deserialization but the prob...
2008 Jan 20
0
Deserialize JSON post body
...4321843</mobile_phone><password>asdf</
password><sub_categories type=\"array\"><sub_category>1</
sub_category><sub_category>2</sub_category></sub_categories></
subscriber>" http://localhost:3000/subscribers/helper.xml
Rails deserialized xml xml into a subscriber hash:
Parameters: {"subscriber"=>{"carrier_id"=>"2", "sub_categories"=>["1",
"a"], "full_name"=>"Alex Egg", "password"=>"asdf",
"mobile_phone"...
2007 Mar 28
3
[LLVMdev] "deserialize primitive type 16 (vers=0, pos=15)" with Visual Studio
...to my Windows computer.
And I typed "llc -march=c hello.bc"
(Of course, I downloaded the latest version of LLVM and compiled with VS before this.)
But my command prompt can't run this with the following statement.
llc: bytecode didn't read correctly
Reason: Don't know how to deserialize primitive type 16 (vers=0, pos=15)
Hmmmm... Is there any body having been exposed to this?
Thanks,
Seung Jae Lee
2007 Mar 28
0
[LLVMdev] "deserialize primitive type 16 (vers=0, pos=15)" with Visual Studio
...And I typed "llc -march=c hello.bc"
> (Of course, I downloaded the latest version of LLVM and compiled with VS before this.)
> But my command prompt can't run this with the following statement.
>
> llc: bytecode didn't read correctly
> Reason: Don't know how to deserialize primitive type 16 (vers=0, pos=15)
>
> Hmmmm... Is there any body having been exposed to this?
>
> Thanks,
> Seung Jae Lee
Assuming that you are using the same version of LLVM on both Windows and
Unix, the most likely explanation is that you transfered the file
hello.bc as a...
2006 Aug 11
0
serializing / deserializing active records with children
What is the best approach to serialize / deserialize full blown active
record objects with multiple child objects (one-to-many relations).
YAML::load(), YAML::dump() almost work :) -> loaded object has
children (I see them in breakpoint session: "puts parent"), but when I
am accessing children (e.g: "puts parent.emails")...
2020 Feb 04
2
[Bug 1405] New: Possible a bug in n libnftables deserializer. [invalid type]
https://bugzilla.netfilter.org/show_bug.cgi?id=1405
Bug ID: 1405
Summary: Possible a bug in n libnftables deserializer. [invalid
type]
Product: libnftnl
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P5
Component: libnftnl
Assignee: pablo at netfilter.org...
2007 Dec 08
0
[LLVMdev] APFloat.h header file usage
...Support, or System header files. This, in my mind, constitutes a
> design
> flaw. Can we move the functionality that depends on these header files
> elsewhere?
The inclusion of SerializationFwd.h can be removed by forward
declaring the following two classes in APFloat.h:
Serializer;
Deserializer;
If this doesn't seem like a clean enough solution, there are other
ways to potentially decouple APFloat more from the Serialization
"library." The tradeoff is that it would require some code rewriting/
addition, and could potentially make deserialization of APFloats (as...
2007 Dec 08
3
[LLVMdev] APFloat.h header file usage
Hi,
I'm trying to separate the Support, System, ADT and Config header files
into the support module, per previous plans. However, APFloat.h is not
self-contained:
APFloat.h:105:43: error: llvm/Bitcode/SerializationFwd.h: No such file
or directory
APFloat.h:106:37: error: llvm/CodeGen/ValueTypes.h: No such file or
directory
As you can see, APFloat.h depends on things that are not in the ADT,
2016 Dec 16
2
RPC on LLVM IR: any example programs for this?
Hi everyone,
I want to use an LLVM new feature (llvm::orc::remote::RPCBase) to implement
a simple RPC framework between two LLVM modules. It seems by this new class
we can do serialization/deserialization on LLVM IR type system directly.
But I haven't found any helpful stuff on google showing me how to use these
RPC APIs. Can anyone give me some hints or example programs showing me how
to use these API correctly? Just a simple serialization/deserialization toy
demo is OK, Thanks very mu...
2011 Mar 26
2
How to deserialize an array from XML
Hi,
to serialize an array to xml we can use:
an_array = [ 1, 2, 3]
an_array.to_xml
But to I can''t find a way to convert back XML to array. I didn''t find a
method Array.from_xml like Hash.from_xml.
Any ideas?
Thanks,
Gustavo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2006 Jun 30
5
Store hash in a DB column
I''m just wondering. Is there an easy way to take a hash that I have
and store it in a DB text column and then read it as a hash from it
again.
The reason is that I have a db table called contents. But it stores
all kinds of information and even data that I do not know of yet.
I know I could store it inside the text column using XML or YAML or
something else but then I would have to
2006 Apr 28
3
Serialize / deserialize an associative array
Perhaps I missed something but I don''t see an easy way to do this ?
Basically just wanna hold some ui state in a cookie.
Did I miss something obvious ?
Best
Matt
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorized and
2017 Jul 19
4
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...>>> dump-summary command to llvm-lto2 tool"?
>>>
>>
>> Sorry you've kind of got stuck in the middle of this - but I'm still
>> hoping to hear/understand the pushback on implementing this as a first
>> class .ll construct with serialization and deserialization support.
>>
>> I think Peter mentioned he didn't think this was the right path forward
>> in the long term? If that's the case, I'd like to understand that/reach
>> that conclusion for the project now rather than treating this as a stop-gap
>> with...
2012 Jan 31
3
(de)serialization problem with rails 3.2
...I use for an attribute of
ActiveRecord as presented in this article:
http://www.edgerails.info/articles/what-s-new-in-edge-rails/2011/03/09/custom-activerecord-attribute-serialization/index.html
If I assign a value to that attribute with a form (in my case a nested
form), I don''t get the deserialized value in the params hash as it used
to be with Rails 3.1, but now I get a serializer struct that contains
the custom serializer class instance and the deserialized value.
Does anybody know whether this is intentional, or is it just broken and
I have to work around that until it gets fixed......
2016 Sep 27
2
Experiments with a replacement for the bitcode format
Hello,
Disclaimer: I have no plan to break 3.x bitcode compatibility in any way.
I’m experimenting with ideas to improve the current bitcode serialization and deserialization in general.
I’m interested in improving the speed and the flexibility of the reader/writer, as well as making the code easier to deal with.
My current griefs against our bitcode format are mainly the lack of built-in random access (which prevents efficient lazy loading), and the implement...
2016 Feb 10
4
[RFC] Error handling in LLVM libraries.
Hi Rafael,
> What prevents you from using a diag handler in the jit server that
> sends errors/warnings over the RPCChannel?
What would you do with errors that can't reasonable be serialized when they reach the diagnostic handler?
And what would you do with the serialized bytes on the client end?
- Lang.
Sent from my iPhone
On Feb 10, 2016, at 10:31 AM, Rafael Espíndola
2009 Apr 02
1
Re: Links 2003 & Grand Prix 4
WINE 1.1.18 has a regression from WINE 1.1.14. Once again, GP4 no longer installs from CD... the console outputs the following ole error repeatedly:
err:ole:xCall Failed to serialize param, hres 80040155
err:ole:deserialize_param Failed to read integer 4 byte
err:ole:TMStubImpl_Invoke Failed to deserialize param State, hres 80004005
err:rpc:I_RpcReceive we got fault packet with status 0x80004005
err:ole:xCall RpcChannelBuffer SendReceive failed, 80004005
err:ole:marshal_object couldn't get IPSFactory buffer f...
2011 Jul 01
0
[LLVMdev] Bug in Inliner w/ lazy bitcode
Hi everyone,
In debugging an LLVM based system with a runtime module loaded from bitcode, I ran into a strange error when trying to use getLazyBitcodeModule instead of just ParseBitcodeFile (when loading lazily I get an "Invalid CALL" during bitcode deserialization). I can't decide if this is a "bug" or just a "you shouldn't use Module/Inliner like this".
The problem is related to using templates (and thereby linkonce_odr) with lazy deserialization. I've reduced it down to a simple test (also attached as bitcode_input...
2011 Mar 09
1
ActiveRecord serialize method not returning YAML array in test environment.
Hello,
I''ve got a problem with deserialization of AR "serialize" method
(http://apidock.com/rails/ActiveRecord/Base/serialize/class) in my
tests.
It just gives me pure String instead of my data Array.
Example:
User > AR::Base
serialize :roles, Array
end
Console:
u = User.new
u.roles = ["admin", "support...
2013 Apr 27
3
[LLVMdev] Proposal for new Legalization framework
...ne way or the other, its more a consequence of the
decision.
At the IR level, we have some great infrastructure that doesn't exist at
the MI level:
- The pass management tools.
- A verifier that can be run before and after any pass to check the basic
invariants.
- The ability to serialize and deserialize to/from a human understandable
(and authorable) form.
I think before we invest in *significantly* more complexity and logic in
the MI layer of the optimizer, we will need it to have these three things.
Without them, the work will be considerably harder, and we will continue to
be unable to do...