Displaying 20 results from an estimated 49 matches for "postamble".
2007 Jan 22
4
Postamble vs campingrc
Hi,
Should I be able to use the Webrick postamble instead of using
.campingrc, to tell Camping I want to use mysql? It doesn''t seem to
be working for me. It does work however, when I''m using FastCGI
(establish_connection :adapter => ''mysql'').
James
2006 Mar 09
2
Newbie question: How to represent parent-child denormalization
...ince questions have no content of their own, I will also need to
navigate to the presentation level to get the actual text for the
question. This is a simple hierarchical structure, with the only twist
being that a presentation (text, audio, and graphic) may be owned by
either a quiz (preamble and postamble), a question (preamble, body,
postamble), or a possible answer (body).
This chart may make it more clear (or not):
(quiz) 1..n (question) 1..n (possible answer) 1..n (presentation)
(question.preamble) 1..1 (presentation)
(question.body) 1..1 (presentation)
(que...
2008 Mar 11
4
Dropping Root
Hello Campers
I''m not sure this is the right list to ask but:
I''m using the junebug wiki (which is written in camping) for my own personal wiki. I''d like it to behave as a proper daemon, so it will start up at boot, get stopped properly at shutdown, keep a pid file in /var/run etc.
This requires a little messing with the wiki script junebug makes in the wiki
2006 Mar 15
8
Tags to ruby interface: What I am missing? (repost)
...s sometimes easy to get missed in the shuffle.
I am trying to create, display and edit a referenced object''s text field
on the same view as my root object.
For example:
-------------------------
Quiz: <<quiz.name>>
Preamble: <<quiz.preamble_presentation.text>>
Postamble: <<quiz.postamble_presentation.text>>
[create][cancel]
-------------------------
quiz.preamble_presentation references a Presentation object instance.
The Presentation object contains a property called text, among others.
The generated form will display the ID of the presentation, but...
2006 May 18
0
+ Camping::FastCGI
Getting Camping to work with FastCGI is a little clunky, since FastCGI
doesn''t really understand mounting apps and sometimes the environment
vars are a little whack. To keep the postambles easy to read, I''ve
moved the handy stuff into lib/camping/fastcgi.rb.
== Mounting a Single App
Assuming: Camping.goes :Blog ... this goes in your postamble ...
require ''camping/fastcgi''
Camping::FastCGI.start(Blog)
== Mounting Several Apps
require '&...
2006 Jul 18
4
intro
...g 1.5 release,
introduce yourself on the
camping-list<http://rubyforge.org/mailman/listinfo/camping-list>
.
I would really like to see camping app to work just by dropping a the file
in a directory. and it is exactly what I am trying to do.
here is what I did so far:
I use a simple FastCGI postamble
Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''/home/mathieu/mv/rf/public/blog-new.db''
Blog::Models::Base.logger = Logger.new(''camping.log'')
Blog::Models::Base.threaded_connections=false
Blog.create i...
2011 Jan 21
5
What the??? Failing dependancies and not sure why...
...dency
File[nagios-ssh-key] has failures: true
warning: /Stage[preamble]/Debian-nrpe/File[nagios-homedir]: Skipping because
of failed dependencies
notice: /Whit[default]: Dependency File[nagios-ssh-key] has failures: true
warning: /Whit[default]: Skipping because of failed dependencies
notice: /Whit[postamble]: Dependency File[nagios-ssh-key] has failures: true
warning: /Whit[postamble]: Skipping because of failed dependencies
notice: Finished catalog run in 2.63 seconds
OK... so what am I missing?
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message becau...
2006 Oct 02
1
Problems Deploying a Camping app on TxD
...9;: undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from (eval):44:in `run''
from /users/home/me/web/app/app.rb:227
from /users/home/me/web/app/app.rb:225
...the line in the app that it''s referring to (225) is in the postamble, the
FCGI part:
if __FILE__ == $0
require ''fcgi''
Dir.chdir(File.dirname(__FILE__))
Appname::Models::Base.establish_connection :adapter => ''sqlite3'',
:database => ''appname.db''
Appname::Models::Base.logger = Logger.new(''cam...
2006 Aug 02
0
mongrel experience....
well, I like it ;)
until camping supports Apache/FastCGI properly I''m running the app with a
mongrel postamble (default on the blog example) and I''m rerouting Apache
using a ProxyPass, works like a charm.
two comments though
I first try to run it using ''camping app.rb'' but it would always mount under
/
it would be awesome If I could do ''camping --mount /app app.rb'&...
2014 Apr 04
3
[LLVMdev] [RFC] Simple control-flow integrity
...one.
> > Each
> > > table is put in a special section using the section attribute, and
> > > alignment of these functions is done using the align attribute. The
> > > combination of these attributes means that the function has no preamble
> > or
> > > postamble, so it consists of exactly a global function label and its
> > > instructions.
> > >
> > > Then I think it would make sense to create an intrinsic like
> > > llvm.jumptable.instr(i8*) that would be a placeholder for an
> > unconditional
> > > jump....
2014 Apr 04
2
[LLVMdev] [RFC] Simple control-flow integrity
...jumptable attribute, as well as naked and noreturn and optnone. Each
> table is put in a special section using the section attribute, and
> alignment of these functions is done using the align attribute. The
> combination of these attributes means that the function has no preamble or
> postamble, so it consists of exactly a global function label and its
> instructions.
>
> Then I think it would make sense to create an intrinsic like
> llvm.jumptable.instr(i8*) that would be a placeholder for an unconditional
> jump. I can add code to the verifier that insists on two conditi...
2011 Jun 27
2
Add use of dput() to the instructions at bottom of post?
It's often difficult to figure out what a problem data set looks like when someone pastes a mess of output from R into an e-mail. The dput command, used judiciously?I would hope no one would send a 1 M data set?can make life much easier.
I wonder if it would be useful to add a hint in the instructions at the bottom of the posting page, where the list asks for self-contained reproducible
2004 Jul 02
0
Patch to fix dist rule in ocfs-tools with another minor fix
...fs.h include/utils.h include/journal.h include/jbd.h
OBJS = $(subst .c,.o,$(CFILES))
@@ -21,4 +21,9 @@
debugfs.ocfs2: $(OBJS)
$(LINK) $(GLIB_LIBS) -lreadline -lncurses
+DIST_RULES = dist-subdircreate
+
+dist-subdircreate:
+ $(TOPDIR)/mkinstalldirs $(DIST_DIR)/include
+
include $(TOPDIR)/Postamble.make
2006 Mar 14
1
I''m missing something obvious to a taglib programmer ...
...', ''name'' %></p>
<p><label for="quiz_preamble_presentation">Preamble
presentation</label><br/>
<%= text_field ''quiz'', ''preamble_presentation'' %></p>
<p><label for="quiz_postamble_presentation">Postamble
presentation</label><br/>
<%= text_field ''quiz'', ''postamble_presentation'' %></p>
<!--[eoform:quiz]-->
The ddl for the tables is:
create table presentations
(
ID char(36) not null primary key,...
2014 Mar 21
3
[LLVMdev] [RFC] Simple control-flow integrity
On Fri, Mar 21, 2014 at 12:54:07PM -0700, Tom Roeder wrote:
> On Fri, Mar 21, 2014 at 12:15 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> >> The way I've implemented it (see the patch I sent to llvm-commits
> >> yesterday), it's not just metadata: the intrinsic lowers to the
> >> jumptable entry code given above. The CFI pass then generates a
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping
1.4.143
anyone using Apache/FastCGI in here?
does not seems to be possible to use with Camping.
anyone got better luck?
this is my postamble
if __FILE__ == $0
Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''examples.db''
Blog::Models::Base.logger = Logger.new(''camping.log'')
Blog::Models::Base.threaded_connections=false
Blog.create
require_...
2008 Apr 22
0
[LLVMdev] getting closer!
On Apr 21, 2008, at 20:09, Terence Parr wrote:
> Ok, I *might* be getting this from the assembly code. ... From
> that, it will push/pop in functions? If so, that's easy enough. :)
Yup! Sounds like you've got it.
> What I was/am missing is the explicit link between types and
> variables in a GC.c file and the generated machine code. If I can
> get that last
2008 Apr 22
2
[LLVMdev] getting closer!
...ight* be getting this from the assembly code. ... From
>> that, it will push/pop in functions? If so, that's easy enough. :)
>
> Yup! Sounds like you've got it.
Yup, what i was missing and what somebody should add to the doc is
that "shadow-stack" adds a preamble/postamble snippet to each function
that must bind with
StackEntry *llvm_gc_root_chain;
wherever you choose to define it. I put into my GC.c file.
Further, that shadow-stack snippet generation assumes the following
structures for tracking roots:
typedef struct FrameMap FrameMap;
struct FrameMap {...
2008 Apr 22
3
[LLVMdev] getting closer!
Ok, I *might* be getting this from the assembly code. The assembly
code has:
L_llvm_gc_root_chain$non_lazy_ptr:
.indirect_symbol _llvm_gc_root_chain
.long 0
and I see it being used in the function preamble. Is that a ref to an
extern symbol or the def? I.e., is it referring to
StackEntry *llvm_gc_root_chain;
that I must have in my GC C code? (semispace.c has it)
SO!
2008 Apr 22
0
[LLVMdev] getting closer!
...he assembly code. ... From
>>> that, it will push/pop in functions? If so, that's easy enough. :)
>>
>> Yup! Sounds like you've got it.
>
> Yup, what i was missing and what somebody should add to the doc is
> that "shadow-stack" adds a preamble/postamble snippet to each
> function that must bind with
>
> StackEntry *llvm_gc_root_chain;
>
> wherever you choose to define it. I put into my GC.c file.
>
> Further, that shadow-stack snippet generation assumes the following
> structures for tracking roots:
>
> typedef s...