Displaying 20 results from an estimated 10000 matches similar to: "Parslet & Stack size"
2010 Aug 21
2
My first gem
Hello all,
I just published my first gem, I''ve extracted it out from a project
I''m working on and just hope it would be useful to others, and get
some community improvment/suggestions.
The code is located on github here http://github.com/arjes/Cache-Column
Hopefully the README has enough details show what my inevitable goal
was.
I have a few questions that I found poorly
2011 Mar 30
3
Metasearch eager loading instead of lazy loading
Hey all,
I have two models, in the first model
Model1.search(nil)
returns the metasearch builder as expected.
for the the second model, the same search(nil) returns every object in
the database (all 60k of them). This obviously isn''t what I want. I
can''t seem to figure out what I did to the model to get it to behave
this way, I have removed all of the code from the model
2011 Jan 24
3
[LLVMdev] LLVM grammar for ANTLR
Has anyone written a grammar for LLVM for ANTLR. I mean an ANTLR
grammar that parses LLVM instructions. Is an LLVM grammar available
for any other parsing tool?
Surinder
2006 Aug 17
1
Request for Ideas
I've been submitting a patch t o add a com32 module able to parse the
DMI table.
I'm starting now the next step : having a way to boot some different
menu regarding the dmi structures. I've been looking for some ideas with
the ethersel syntax :
DEV [DID xxxx:yyyy[/mask]] [RID zz-zz] [SID uuuu:vvvv[/mask]] commandline
In other hand, a nice implementation must allow to do :
"if
2011 Oct 20
1
[LLVMdev] Formal spec for LLVM IR (Was: LLVM Language Reference Strictness)
Reed,
Are you working on a grammar of the LLVM syntax or also on a full semantics?
Steve Zdancewic's group at U. Penn. is working on a formal operational semantics for LLVM. It is partially complete and Greg Morrisett at Harvard is planning to build further on it.
Regards,
--Vikram
Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve
On Oct 20,
2007 Apr 04
11
ANN: RSpec 0.9.0 beta-1 available for download.
We''d like to get some feedback on RSpec 0.9 before we start pushing
out releases via Rubyforge''s gem server and update the website. We
have therefore made the first beta of 0.9 available - both prepackaged
and tagged in subversion (see below).
RSpec 0.9 introduces a new API for expectations, which essentially
means that your underscores go away (there has been other discussions
2012 Oct 03
3
[LLVMdev] Does LLVM optimize recursive call?
On Wed, Oct 3, 2012 at 10:15 AM, Matthieu Moy
<Matthieu.Moy at grenoble-inp.fr> wrote:
> Preston Briggs <preston.briggs at gmail.com> writes:
>> Think about costs asymptotically; that's what matters. Calls and
>> returns require constant time, just like addition and multiplication.
>
> Constant time, but not necessarily constant memory.
>
> Deep recursion
2009 Jul 11
2
[LLVMdev] ANTLR?
That sounds like a problem. Just so I understand, do you mean there
isn't the run-time support etc. to write back ends for the C++
language, or that the compiler IR is also somehow insufficient to
write a code generator?
--Vikram
Associate Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve
On Jul 11, 2009, at 3:00 PM, Granville Barnett
2012 Oct 03
0
[LLVMdev] Does LLVM optimize recursive call?
> Only if the recursion is very deep. In practice, a recursive descent
> parser isn't going to run out of stack space, nor will a quicksort or
> binary-tree walker,
The recursive-descent parser case has happened in practice:
http://my.opera.com/hallvors/blog/2012/07/17/twitter-crashes-itself-with-commas?1
Also, I've seen some recursion-related PR's in Clang, although I think
2009 Jul 11
0
[LLVMdev] ANTLR?
When you create a parser via ANTLR you specify the output language of the
resulting recursive descent parser, at the moment there exists no C++ output
template to my knowledge, thus you would have to generate the parser as C
code for which a template exists.
The runtime support should be there, at least partially but it won't use
things like exceptions, nor will it have a very modular design
2003 Nov 25
2
R recursion depth and stack size
Hi all,
I am playing around with latin squares, and wrote a recursive function
that searches for valid combinations.
Apart from the fact that there are very many, I run into troubles
beginning with size 10x10 because the recursion depth becomes too large
(max of 10x9-1=89 in this case).
Why is this a problem? Isn't there enough space allocated to the stack?
Can this be increased? The
2012 Oct 03
2
[LLVMdev] Does LLVM optimize recursive call?
> From: "Journeyer J. Joh" <oosaprogrammer at gmail.com>
> I have a simple question about LLVM.
>
> I learned that we need to use iterations than recursions in C programming.
> That is because recursion is expensive. It can easily consume out all
> the stack given to a program. And the call/return consumes time much
> more.
>
> But I've read a
2019 May 16
3
ALTREP: Bug reports
Hello Luke and Gabriel,
Thank you very much for your quick responses. The explanation of STDVEC is
very helpful and I appreciate it! For the wrapper, I have a few new
questions.
1. Like Luke said a mutable object is not possible. However, I noticed that
there is one extra argument *deep* in the function duplicate. I've googled
all the available documentation for ALTREP but I did not find
2005 Oct 06
9
Grid.GetTextExtent
Wow. Look what SWIG does to GetTextExtent in Grid.cpp:
void SwigDirector_wxGrid::GetTextExtent(wxString const &string, int *x,
int *y, int *descent, int *externalLeading, wxFont const *font) const {
...
if (swig_get_up()) {
wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font);
return;
}
obj0 = rb_str_new2((const char *)(&string)->mb_str());
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called
with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0
Since this generates a wxFont that''s not initialized to nil it fails
when calling into wxWindows. Anyone have a suggestion?
2011 Apr 05
6
Suggestion: Disable X
Hello, i have a little suggestion: something like 'wine --no-x'
It should disable any X output
I need something like this, because i want to run Descent 3 dedicated server, however it creates status window so i can't run it in ssh :(
Thanks
2018 Feb 05
1
Package sgd
A web search on "gradient descent R" also brought up a bunch of stuff. Is
any of this what you want?
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Feb 5, 2018 at 10:23 AM, Bert Gunter <bgunter.4567 at
2012 Oct 03
0
[LLVMdev] Does LLVM optimize recursive call?
Preston Briggs <preston.briggs at gmail.com> writes:
> Think about costs asymptotically; that's what matters. Calls and
> returns require constant time, just like addition and multiplication.
Constant time, but not necessarily constant memory.
Deep recursion will blow up your stack (AKA "segmentation fault" :-( )
if the compiler could not optimize it (tail recursion
2013 Mar 05
2
Questions on implementing logistic regression
Hi there,
I am trying to write a tool which involves implementing logistic
regression. With the batch gradient descent method, the convergence is
guaranteed as it is a convex problem. However, I find that with the
stochastic gradient decent method, it typically converges to some random
points (i.e., not very close to the minimum point resulted from the batch
method). I have tried different ways
2011 May 10
14
Puppet Master System Requirements
I''ve been messing around with Puppet on a VM on my personal desktop.
It looks descent. I was wondering what kind of load this thing would
have managing about 400 nodes.
Does this thing require a beefy server?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To