Displaying 20 results from an estimated 100 matches similar to: "Add a customer renderer but I get missing template"
2018 Mar 14
1
[Support][RFC] MessagePack reader/writer
>
> Hello all,
>
> I have prepared a small patch to add support for reading and writing
> MessagePack in LLVM, and want to propose including it in trunk.
> MessagePack is
> a binary object serialization format, with the goal of being more
> compact than
> text formats like JSON or YAML. The specification can be found at
>
2018 Mar 13
0
[Support][RFC] MessagePack reader/writer
Hello all,
I have prepared a small patch to add support for reading and writing
MessagePack in LLVM, and want to propose including it in trunk.
MessagePack is
a binary object serialization format, with the goal of being more
compact than
text formats like JSON or YAML. The specification can be found at
https://github.com/msgpack/msgpack/blob/master/spec.md
There is no use of the code currently
2012 Jan 25
4
serializable_hash and serializable_add_includes
I''m trying to write a helper method similar to attr_accessible but
instead it will be used to whitelist which attributes are available for
serialization (attr_serializable). My first attempt at this was to
override serialized_hash and modify the :only option to include nothing
but serializable attributes. I''m facing a problem when nested models
are ''included''
2011 Feb 03
0
Correct way to exclude attributes from json serialization
Hi
I''m using Mongoid and Rails 3, and I want to serialize one of my
mongoid documents to json for publishing via a controller, e.g.
class ReportController < ApplicationController
respond_to :json
def show
report = Report.where(:report_id => params[:id]).first
respond_with report
end
end
This works ok, but pushes out every attribute on the document
2018 Mar 14
0
truncation/rounding bug with write.csv
What OS are you on? On Ubuntu 17.10 with R 3.4.3 all seems well (see
below for your example, I just added a setwd()).
[ That said, I long held a (apparently minority) view that csv is for all
intends and purposes a less-than-ideal format. If you have that much data,
you do generally not want to serialize it back and forth as that is slow, and
may drop precision. The rds format is great for R
2018 Mar 14
0
truncation/rounding bug with write.csv
I ran this code in RStudio Server on a linux machine, but I don?t know the version offhand. I will try to get it tomorrow. Thanks.
Thanks,
Greg Michaelson
www.datarobot.com
704-981-1118
> On Mar 14, 2018, at 4:47 PM, Joris Meys <jorismeys at gmail.com> wrote:
>
> To my surprise, I can confirm on Windows 10 using R 3.4.3 . As tail is not recognized by Windows cmd, I replaced
2018 Mar 14
2
truncation/rounding bug with write.csv
To my surprise, I can confirm on Windows 10 using R 3.4.3 . As tail is not
recognized by Windows cmd, I replaced with:
system('powershell -nologo "& "Get-Content -Path temp.csv -Tail 1')
The last line shows only 7 digits after the decimal, whereas the first have
15 digits after the decimal. I agree with Dirk though, 1.6Gb csv files are
not the best way to work with
2018 Mar 19
0
LLVM Weekly - #220, Mar 19th 2018
LLVM Weekly - #220, Mar 19th 2018
=================================
If you prefer, you can read a HTML version of this email at
<http://llvmweekly.org/issue/220>.
Welcome to the two hundred and twentieth issue of LLVM Weekly, a weekly
newsletter (published every Monday) covering developments in LLVM, Clang, and
related projects. LLVM Weekly is brought to you by [Alex
2017 Jun 28
3
Next steps for optimization remarks?
> On Wed, Jun 28, 2017 at 8:13 AM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> I don't object to adding some kind of filtering option, but in general it won't help. An important goal here is to provide analysis (and other) tools to users that present this information at a higher level. The users won't, and shouldn't, know exactly what kinds of messages the tools use.
2018 Mar 14
0
truncation/rounding bug with write.csv
My apologies for not including sessionInfo(), and I'm a bit angry at myself
for that. Retrying in a fresh session of R, I get different results. More
specifically, I get the expected result where accuracy is the same in the
first and the last line. As I didn't include my sessionInfo() in my
previous mail, I can't figure out why I now have a different result. So I'm
positive
2016 Apr 19
2
RFC: LNT/Test-suite support for custom metrics and test parameterization
Hi Elena,
This is great, I would love to see extensible support for arbitrary metrics.
On Tue, Apr 19, 2016 at 12:39 AM, Kristof Beyls <Kristof.Beyls at arm.com>
wrote:
> Hi Elena,
>
> Many thanks for working on this!
>
> May I first suggest to convert the google document to email content? That
> may make it a little bit easier for more people to review. It also makes
2018 Mar 14
2
truncation/rounding bug with write.csv
I don't see the issue here. It would be helpful if people would report
their sessionInfo() when reporting whether or not they see this issue.
Mine is
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux
Matrix products: default
BLAS/LAPACK: /usr/lib/libopenblas_haswellp-r0.2.20.so
locale:
[1] LC_CTYPE=en_US.UTF-8
2013 May 22
2
Creating nested hash from nested active record results
Hello,
I''m trying to find a very abstract and "one size fits all" for
converting nested active record results to nested hashes. It''s easy,
to do one level deep as such:
[code]
results_to_hash = Hash[ found_categories.map{ |c| [c.id, c.title]}]
[/code]
But, when I try to add another collection to the mix, it completely
borks and the results_to_hash only returns an
2018 Mar 14
2
truncation/rounding bug with write.csv
Hello, I have looked on https://www.r-project.org/bugs.html , but it seems
that this is the only way to do it.
The issue is that the precision used by write.csv is on consistant for big
files. See the following code:
First I create a large dataframe filled with random uniform values. Then I
write it to .csv and print out the first and last lines.
df = data.frame(replicate(100, runif(1000000,
2011 Jul 14
1
rails 3.0.9 ArgumentError (redundant UTF-8 sequence):
Hi guys,
I have a simple controller
def gmap
@intentsearches = Intentsearch.all
logger.info @intentsearches
respond_to do |format|
format.html {render :gmap}
format.xml {render :xml => @intentsearches }
format.json { render :json => @intentsearches }
end
end
and want a json response, but i do get the following error
Completed 500 Internal
2005 Aug 20
1
patches for wxGridCell*Renderer and wxGridCell*Editor
I added a bunch of *.i files to get the cell renderers and editors
working for wxGrid. I still have a problem when switching cells in the
grid but I think that is a problem with wxGrid, will look into it.
In the process I found a bug in a typemap for wxArrayString & that I
am surprised we did not find earlier. ($input = Qnil) should be
($input == Qnil), big difference. Also added a type check
2005 Aug 29
1
patches for GridCell*Editor and GridCell*Renderer
When I originally added these I used %module .... instead of
%module(directors="1"). This little change has a big effect on the
code actually working.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Jun 30
2
An enhanced OpenGL renderer
Wine 1.1
When I use an enhanced OpenGL renderer in games (Deus Ex, Rune), it works almost fine, but... it works only in 640x480 mode
When I set other resolution, games start working in that resolution, but renderer still works in 640x480 mode in top-left corner of the screen :(
I don't know, is it a wine problem or renderer's problem, but I know, renderer works wine in windows
2011 Jun 10
0
Rails 3.1 RC4 with jruby-1.6.2 and stream-renderer missing constant Fiber
I just followed the railscast http://asciicasts.com/episodes/266-http-streaming
to have streaming. calling the http://localhost:3000/users ends up
with following error:
[INFO] NameError (uninitialized constant
ActionView::StreamingTemplateRenderer::Fiber):
[INFO] /home/kristian/projects/sandbox/rails3.1/rails3.1-test5/
target/rubygems/gems/actionpack-3.1.0.rc4/lib/action_view/renderer/
2016 Apr 18
2
RFC: LNT/Test-suite support for custom metrics and test parameterization
Greetings everyone,
We would like to improve LNT.
The following RFC describes two LNT enhancements:
* Custom (extensible) metrics
* Test parameterization
The main idea is in document https://docs.google.com/document/d/1zWWfu_iBQhFaHo73mhqqcL6Z82thHNAoCxaY7BveSf4/edit?usp=sharing.
Thanks,
Elena.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: