Displaying 20 results from an estimated 1100 matches similar to: "A minor beef with JSON::decode"
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
Hi
I am been trying in vain to auto-gen models by reverse-engineering
mysql using RMRE. It complains mysql2 gem missing but as seen in my
Rails environment below, it is there.
Here''s my Rails environment and RMRE error. Experts... please help!
Thanks a ton in advance!!
===
Ruby version 1.9.2 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.2
Rails version 3.0.3
Active Record
2005 Nov 24
8
A minor beef
CentOS is a really great product, and the package supporters do a bang
up job, but the one deficiency I've found is the fact that one can
never rely on being able to get updates at any particular time.
Whether it's CentOS proper or the Dag additions, something is broke
most every time I want to apply updates.
I know this is whin[ge]ing, and I certainly don't have a solution to offer.
2017 Jun 22
2
Legal names for Functions and other Identifiers
Thanks for the heads up Philip !
I did come across a strange case where LLVM allowed "%" to be a part of a
function's name. This was in the context of my patch
https://reviews.llvm.org/D33985, where I prefix the name of the source
function and the Scop ( A special kind of Region that Polly can optimize,
the name of the Scop is the name of the Region ) to the name of the PTX
kernel
2010 May 25
8
params merge on for every action
hi
i got to merge a hash of parameters for every action for every
controller. the only thing i could image is modifying a super class
method.
so, how could i modify the method that take care of setting up the
parameters? is it ActionController.parameters?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2010 Dec 02
3
[LLVMdev] Alternative exception handling proposal
Hi Bill,
> This is similar to my first proposal.
yup, I still consider your first proposal to have been basically sound.
But it also suffers from a major problem,
> which stopped that proposal dead in its tracks. Namely, you have information in
> one place which needs to be shared in two different, but possibly disjoint,
> places: the type, filters, and personality information. In
2020 Jan 16
3
Git autocrlf for Windows - why does the Getting Started guide say to use false?
Hi all,
TL;DR - should we recommend core.autocrlf=input instead of
core.autocrlf=false on Windows?
I recently switched from doing pre-commit builds and tests from my Ubuntu
VM, to my Windows machine where I do all my development. I was aware that
line endings is an issue, so made sure to set core.autocrlf=false as
directed in the Getting Started guide (see
2014 Jun 07
3
imap-login killed with signal 11 in Dovecot 2.2.13 (feea8645c4d7)
Latest 2.2.13 HG feea8645c4d7 seems to unexpectedly kill imap-login sessions:
Jun 7 11:56:10 nihlus dovecot: imap(tlx at leuxner.net): Disconnected: Logged out in=2203 out=851225
Jun 7 11:56:10 nihlus dovecot: imap(tlx at leuxner.net): Disconnected: Logged out in=316 out=2417
Jun 7 11:56:10 nihlus dovecot: imap-login: Fatal: master: service(imap-login): child 60505 killed with signal 11 (core
2010 May 28
1
cookie has key/value pairs and lost order after JSON decode
If a cookie has several items, and is encoded as JSON text as the value
of the cookie, the order is actually apparent in the cookie''s text
But if JSON.decode is used:
ActiveSupport::JSON.decode(cookies[''item_list''])
and the result is actually in a hash, then the ordering is lost...
Is it true that if the original JSON object has an array of hashes (1
key and 1
2012 Sep 25
3
Proposal for a new ActiveModel::Errors structure
There are few issues with the current ActiveModel::Errors class.
Firstly, when an error is added to ActiveModel::Errors class via #add
method
(https://github.com/rails/rails/blob/master/activemodel/lib/active_model/errors.rb#L294)
its translation is added. It should not be translated when being added, but
only when being read.
The second issue is a bit bigger. We''d like to create
2009 Dec 10
2
different randomForest performance for same data
Hello,
I came across a problem when building a randomForest model. Maybe someone can help me.
I have a training- and a testdataset with a discrete response and ten predictors (numeric and factor variables). The two datasets are similar in terms of number of predictor, name of variables and datatype of variables (factor, numeric) except that only one predictor has got 20 levels in the training
2017 Jun 22
2
Legal names for Functions and other Identifiers
Thank You Chen !
On Thu, Jun 22, 2017 at 5:21 PM 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:
> Perhaps you can refer to [1]. Function name should be a global one.
>
> [1] http://llvm.org/docs/LangRef.html#identifiers
>
> HTH,
> chenwj
>
>
> 2017-06-22 16:35 GMT+08:00 SANJAY SRIVALLABH SINGAPURAM via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>>
2020 Sep 04
2
Monitoring slaves via dummy-ups
Hello,
I wondered how folks monitored slaves.
In my case, I am using Nagios and the check_ups plugin. It seems to work fine but being new to nut, I'm seeking confirmation that this is a sane approach.
The goal: confirm the slaves have contact with the master.
The environment:
* FreeBSD 12.1
* nut-2.7.4 installed from package
Background:
I am replacing an APC 2200 UPS (still in use) with
2010 Dec 02
0
[LLVMdev] Alternative exception handling proposal
On Dec 2, 2010, at 2:21 AM, Duncan Sands wrote:
> Hi Bill,
>
>> This is similar to my first proposal.
>
> yup, I still consider your first proposal to have been basically sound.
>
> But it also suffers from a major problem,
>> which stopped that proposal dead in its tracks. Namely, you have information in
>> one place which needs to be shared in two
2020 Jan 16
3
Git autocrlf for Windows - why does the Getting Started guide say to use false?
Right, my understanding is that files that specifically need CRLF should say so via .gitattributes somewhere.
autocrlf=false ought to work if your Windows editor doesn’t (or can be persuaded not to) introduce CRLFs. I’ve observed that the Visual Studio editor will detect the line-ending style of the file you’re editing, and imitate it. This works great until you create a new file. 😝 So I’ve
2019 Feb 17
0
NHW Project - new -l19 "extreme" compression quality setting
Hello,
For those interested, I have added a new -l19 "extreme" compression quality
setting to the NHW Project.This -l19 quality setting is really competitive
with x265 (HEVC) on rather good quality images.
An important remark: we can really save 2.5KB in average per .nhw
compressed file as the entropy coding schemes are not optimal, especially
at extreme compression.I have the fast
2012 Jul 11
26
[Bug 51971] New: MacBook Pro 10, 1 Retina - Display Resets, No Connectors
https://bugs.freedesktop.org/show_bug.cgi?id=51971
Bug #: 51971
Summary: MacBook Pro 10,1 Retina - Display Resets, No
Connectors
Classification: Unclassified
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2000 Mar 31
1
R: one bananna aov() question
Hello world,
I'm trying to do an
anova on data in data.set, dependent variable is a column
named "dep.var", grouping variable is in a column called "indep.var", and
is.factor(indep.var) is TRUE...
why can't I just do aov(dep.var ~ indep.var, data = data.set)?
What have I done to deserve this?! What gives? Am I missing something
totlly obvious?
R-base-1.0.0-1,
2017 Mar 09
5
[Bug 100139] New: [DRI2][PRIME] nouveau driver cannot find any connected connector
https://bugs.freedesktop.org/show_bug.cgi?id=100139
Bug ID: 100139
Summary: [DRI2][PRIME] nouveau driver cannot find any connected
connector
Product: Mesa
Version: 10.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2014 Dec 30
2
new contributor
wiki nick : nicolasbourgeois
Hi,
As a daily Redhat and Centos administrator, I would like to contribute to the centos wiki.
I would like to start by translating pages in French
Regards
Nicolas BOURGEOIS
2008 Aug 06
4
Font size in plots (I do NOT understand par help)
Hi,
I do not get how par works, help please.
Let's say I have a simple plot: plot(1:10)
I want to change the font size for the x axis... how do I do that?
Thank you,
Stephane
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
compa
ny registered in England with number 2742969,