Displaying 20 results from an estimated 251 matches for "deserializing".
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
2008 Jan 20
0
Deserialize JSON post body
I''m doing an HTTP post to my controller with an xml request body:
curl -u 53b2c:X -H "Content-Type: text/xml" -v -d
"<subscriber><full_name>Alex Egg</full_name><carrier_id>2</
carrier_id><mobile_phone>1234321843</mobile_phone><password>asdf</
password><sub_categories
2007 Mar 28
3
[LLVMdev] "deserialize primitive type 16 (vers=0, pos=15)" with Visual Studio
I followed the steps in "Getting Started with the LLVM System using Microsoft Visual Studio" in the document in LLVM page.
I made hello.c file exactly same shown in the page.
I made hello.bc on UNIX and transferred it 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
2007 Mar 28
0
[LLVMdev] "deserialize primitive type 16 (vers=0, pos=15)" with Visual Studio
Seung Jae Lee wrote:
> I followed the steps in "Getting Started with the LLVM System using Microsoft Visual Studio" in the document in LLVM page.
>
> I made hello.c file exactly same shown in the page.
> I made hello.bc on UNIX and transferred it to my Windows computer.
> And I typed "llc -march=c hello.bc"
> (Of course, I downloaded the latest version of LLVM
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") array becomes
cleared - I guess rails are trying to
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
2007 Dec 08
0
[LLVMdev] APFloat.h header file usage
On Dec 8, 2007, at 1:13 AM, Reid Spencer wrote:
> 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:
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
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
On Mon, Jul 17, 2017 at 5:18 PM Mehdi AMINI <joker.eph at gmail.com> wrote:
> 2017-07-17 16:49 GMT-07:00 David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>>
>>
>> On Mon, Jul 17, 2017 at 6:11 AM Charles Saternos via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>
>>> Hey @chandlerc and @dblaikie,
>>>
2012 Jan 31
3
(de)serialization problem with rails 3.2
I have a custom serializer object that 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
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
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
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".
2011 Mar 09
1
ActiveRecord serialize method not returning YAML array in test environment.
....
I was already trying to figure it out with these, but with no luck.
https://rails.lighthouseapp.com/projects/8994/tickets/5002-nested-objects-dont-deserialized-completely-rails-3-beta-4
http://itsignals.cascadia.com.au/?p=10
http://stackoverflow.com/questions/4705867/rails-doesnt-load-classes-on-deserializing-yaml-marshal-objects
http://blog.sbf5.com/?p=39
Any advice would be greatly appreciated.
Martin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCG...
2013 Apr 27
3
[LLVMdev] Proposal for new Legalization framework
On Fri, Apr 26, 2013 at 11:33 PM, Dan Gohman <dan433584 at gmail.com> wrote:
> To all, I'm moving on and accepting what appears to be the consensus of
> the list, for now.
>
I want to point out something about this direction that hasn't really come
up, but I think deserves some better discussion. I don't think it should be
the basis of a decision one way or the other,