Displaying 20 results from an estimated 1000 matches similar to: "Make #underscore reversible"
2008 Feb 25
6
Review Request for Significant Performance Improvement in ActiveRecord
I''m going through my old tickets, and I found an outstanding ticket
that I''ve put many hours into, and is absolutely critical for a
production project that I''m now updating to Rails 2.0.2. The ticket:
http://dev.rubyonrails.org/ticket/9560
This comes on the tail of:
http://dev.rubyonrails.org/ticket/9497
Which I believed to be the superior improvement due to a very
2007 Jul 06
4
JOINS clobbering ids or other fields.
I just found this ticket because I noticed the same issue.
http://dev.rubyonrails.org/ticket/6251
The official response was that it''s not a bug because when you use
:joins you are "riding close to the metal". But I''m at a loss as to
figure out why this behavior even needs to exist.
Every table (except HABTM links) in a typical Rails app is going to
have an id
2006 Sep 03
1
New Technique: Subsets of has_many Associations
I just now thought of this, and sure enough it works like a charm (at
least so far in my limited testing):
has_many :events, :dependent => :delete_all
has_many :upcoming_events, :class_name => "Event", :conditions =>
"date > NOW()"
The purpose of this is that it makes eager loading of subsets of
associations possible without replacing all the magic of the
2007 Aug 15
5
Misc notes concerning view_paths
Hi all,
I''ve been playing in the trunk with putting stuff in different dirs
to keep files from a reusable framework separate from the app files.
Here are a few considerations regarding the view_paths setting:
config.view_path is used to set both action_controller.view_paths and
action_mailer.template_root. We get some buggy/unexpected behavior
here because
2019 Feb 13
2
changing variable naming rules in LLVM codebase
> On Feb 12, 2019, at 4:02 AM, Björn Pettersson A via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> (Sorry if this subject already has been discussed, but I could not find any clear rules/recommendations.)
>
> What would the recommendation be for acronyms (I’ve seen the rule about avoiding them unless they are “well known”,
> but sometimes an acronym is useful, and we
2007 Dec 23
5
prepend_view_path not working
Now that controllers can have multiple view paths I''ve been playing with
themes over the weekend. Running into a view issues. I have a
before_filter in the ApplicationController that calls prepend_view_path
to add the path of my theme. I even log the view_paths in an
after_filter to make sure it made it all the way through. The output
looks something like:
2007 Mar 06
2
acronym tag
Hello, is there an acronym method in php markdown extra ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://six.pairlist.net/pipermail/markdown-discuss/attachments/20070306/e146240b/attachment.html
2019 Feb 18
4
RFC: changing variable naming rules in LLVM codebase
On 2/18/2019 4:15 AM, Michael Platings via llvm-dev wrote:
> Taking my previous example [1]:
>
> InnerLoopVectorizer LB(L, PSE, LI, DT, TLI, TTI, AC, ORE, VF.Width, IC,
> &LVL, &CM);
>
> If we imagine that over time it evolves such that 50% of the variables have been renamed to camelBack versions of the type names, then it will look like this:
>
>
2015 Dec 01
10
[RFC] Intrinsic naming convention (words with dots)
Hi everyone,
We seem to have allowed our documented target-independent intrinsics to acquire a somewhat-haphazard naming system, and I think we should standardize on one convention. All of the intrinsics have 'llvm.' as a prefix, and some also have some additional prefix 'llvm.dbg.', 'llvm.eh.', 'llvm.experimental.', etc., but after that we lose consistency. When
2011 Apr 17
2
RJMCMC.
Dear R users,
I´m studying about Bayesian Statistics. In this context, please, anyone have
some basic script of RJMCMC (Reversible Jump Markov chain Monte Carlo) in R
or WinBUGS?
My aim is to learn how to implement this methodology.
Thanks a lot.
Marcus Vinicius
[[alternative HTML version deleted]]
2014 Jan 24
3
[LLVMdev] RFC: Using hashing for switch statements
Hi folks,
here is a short RFC regarding hashing for the implementation of switch
statements and my preliminary patch.
I posted this patch on 2014-01-16 21:58 at llvm-commits at cs.uiuc.edu. You
can find a copy e.g. on
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140113/201782.html.
Best regards
Jasper
===
Preliminary: Special identifiers
n number of given switch labels
2019 Feb 04
2
Variable names rule
Hi Tim,
Sorry, I'm not sure I follow. Are you maybe thinking that if the identifiers were tagged to specify scope, people would still be trying to use acronyms or single letters? So that, what in future code might be F, would instead be _f and that would be worse than f_ or s_f? I was thinking instead F would be (for new or modified code) _function or _fnctn or _func (as an object of type
2003 Aug 19
3
Compile problems
Hello All,
I am trying to compile Asterisk under RedHat 8. I downloaded (checked
out) the sources from CVS as described on the Asterisk download page.
When I start to compile Zaptel, soon after compilation starts, it errors
out. As far as I know I have all the OpenSSL and readline and kernal
development stuff installed. I usually do a "install everything" when I
install RH Linux on a
2018 Dec 17
1
Unnecessary apostrophe in English base::summary() NA count output?
Hello, this is quite a minor issue but as summary() is in all likelihood
one of the most widely used functions in R I decided to email this list.
When producing a count of missing values, summary() in English generates an
unnecessary and grammatically incorrect apostrophe (NA's rather than NAs)
in its table header. For example:
> summary(c(1,2,NA,3,4,NA))
Min. 1st Qu. Median Mean
2017 Oct 04
3
Voice/Fax Modem advice
On Wed, 4 Oct 2017, Jose Maria Terry Jimenez wrote:
> El 4/10/17 a las 17:45, david escribi?:
>
>> Folks
>>
>> A have a PCIe modem (Conexant ChipSet, PCI id = 14f1:2f83.? It interfaces
>> to my land-line (POTS) telephone line in the United States.? On Windows, I
>> had a good answering machine package (Ventafax) that reported CallerID,
>> recorded
2011 May 05
1
[LLVMdev] Could LLVM or Clang go backward to modify c source code?
OK. Thank you.
What I want to do is: Fix source code in-place, then feed it to compiler
normally.
I assume I can fix source code in-place using clang::SourceManager, but I
cannot find the appropriate API.
Now I know that way is infeasible.
Thanks again.
2011/5/5 Joshua Warner <joshuawarner32 at gmail.com>
> Wen-Han,
>
> It sounds like there are two problems here: first is
2001 Apr 03
4
MS Office with WINE
Hi, there
I am a studying possibility of using wine in professional environment.
I installed codeweavers wine recently with success. But I fear the
answer is not an evident YES... With notepad, I have not acheived any
printing yet.
First goal would be running MS Office for win 98, especially Excel
(another vintage for better emulation if necessary).
What is your opinion ?
More precisely, what
2018 Mar 22
3
Google Cloud Directory Service password synchronization for AD DC
Hi Justin,
Thank you for your answer, I had found this utility during my searches, and
will probably try it. As you say, reversible + plaintext is far for optimal
from a security point of view.
Also, I would like to integrate the solution in a "packaged" distribution
like for example Zentyal or UCS.
But I'm happy to learn that this solution is viable, I wouldn't lose my
time
2019 Feb 12
2
changing variable naming rules in LLVM codebase
I would assume that the proper name in this case is constantExpr, and not CE.
This is not really an acronym, but rather a shortcut taken for some unclear reason.
> On 12. Feb 2019, at 13:02, Björn Pettersson A via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> (Sorry if this subject already has been discussed, but I could not find any clear rules/recommendations.)
>
>
2010 Nov 02
1
How to make QueryParser select entire word like "H.O.T"
Hi,
I'm using xapian to build my search engine, but met with a problem.
The code snippet is like:
----------------------Code begin-------------------------------------------------------------
Xapian::QueryParser qp;
qp.add_prefix("Singer", "S");
Xapian::Query query = qp.parse_query("Singer:s.h.e",