Displaying 20 results from an estimated 300 matches similar to: "Using mocks in classes"
2005 Oct 29
3
Snipping the beginning off Theora files
Hello all,
I'm sure that this must have been answered by someone in the past, but I
couldn't find it.
I have downloaded the Theora files of the 6uadec Gnome conference from:
http://stream.fluendo.com/archive/6uadec/
While it is great that they have them available, most of them seem to
have a lot of video of empty room before the speaker starts (sometimes
20 minutes or so). I am wanting
2006 Jun 29
0
[LLVMdev] jump table ?
Hi Simon,
> > objdump's -i option will show you the available file formats, one's
> > normally `binary' or something similar.
>
> I've had a look at this, and it's not yielding any results so far.
> Surely objdump expects an elf header, symbol table, etc. ?
Try
objdump -D -b binary -m i386 /etc/passwd
objdump is happy to treat a file of bytes as
2005 Mar 20
0
Regression in wine 20050310
Dear list,
The latest "snapshot" is giving me serious guff, but I haven't seen any
report of this in moire than a week, so it might be *my* installation.
Setup : Debian unstable, often updated. Wine Tools as packaged for
Debian by Scott.
I have been able to use MS Office 2K apps with various degrees of
success with Wine for more than a year. MS Access had some problems with
2005 Mar 18
1
newbie question on ActionMailer
Hi,
I normally try to really figure things out before asking a stupid
question but I''m tight on time and the stack trace indicates a pretty
low-level problem... something scary for a newb.
I''m hoping that someone can just say "you forgot to polish the widget
before turning the crank" or some other simple newbie-slap.
I''m trying to get actionmailer to send
1997 Sep 22
0
Security of ActiveX vs Java
On Sun, 21 Sep 1997, Wade Hampton wrote:
> Having recently read about the lack of security
> of Active X controls, I was wondering if I could
> get some specifics about its lack of security
> versus the security of JAVA. Also about the
> security of JAVA under Linux.
> I understand that
> MS''s concept of security is a) investigate the
> vendor, b) issue a
1997 Dec 17
0
userv - how to make cron (et al) not setuid
[Mod: chat removed -- alex]
From: userv-maint@chiark.greenend.org.uk (Ian Jackson)
Approved: alex@yuriev.com
To: linux-security@redhat.com
Subject: userv - how to make cron (et al) not setuid
0. Introduction
Some time ago I posted on linux-security to say that I was working on
a client/server pair which would allow you to invoke a privileged
service in a more secure manner. I''ve now
2013 Feb 15
0
[LLVMdev] MCJIT and Lazy Compilation
This is great news.
Do you have any dependencies between your modules? For instance, one calling a function in another? If so, how did you handle that?
Any chance you could share some code snippets or the relevant portions?
-Andy
From: Andrew Sorensen [mailto:digegoo at gmail.com]
Sent: Thursday, February 14, 2013 11:48 PM
To: Kaylor, Andrew
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev]
2013 Feb 15
4
[LLVMdev] MCJIT and Lazy Compilation
OK, so I have some *preliminary* results, which are on the whole quite
encouraging!
I haven't had a great deal of time, but I have managed to get Extempore up
and
running with function (actually lexical closures so composed of quite a bit
of additional
guff) level compilation using Andy's multi module suggestion. I also have
on-the-fly
recompilation of existing closures working (caveats
2006 Jan 22
0
Seperation of application specific view/controller stuff
[I posted to Rails Engines Forum but didn''t get a response so I am posting here]
I installed both login and user engines and got them working. Thanks for
an excellent job! Now, I have some questions on how to customize them
without breaking the code or making future upgrades messy. I have
several questions and any help will be greatly appreciated. I am
designing a student registration
2007 Jul 06
1
Edge, link_to and mocks
Hi All,
Anyone noticed that using the newer link_to syntax in edge currently
fails with mocked objects in view specs or helpers.
eg. if you have something like the following in your view (or
equivalent in a helper):
<%= link_to @dog.name, @dog %>
as opposed to the current 1.2 syntax:
<%= link_to @dog.name, dog_path(@dog) %>
Using a mock_model as the ''dog''
2013 Feb 16
2
[LLVMdev] MCJIT and Lazy Compilation
Hey Andy,
Yep I've tested some non-trivial examples with loads of dependencies,
both code and data, global, local and external symbol resolution etc..
Actually this was truly a piece of cake, nothing to do, the memory manager
is working really nicely so far as I can tell. Relocations to sections are
all working
as expected (aside from previously mentioned ARM issue which is probably
just
2013 Mar 09
0
[LLVMdev] MCJIT and Lazy Compilation
Hi Andy/Albert,
Sorry for the slow reply, my day job caught up with me.
Two bits of progress. (a) MCJIT is working nicely for non-trivial
examples in Extempore on x86 and ARM, and (b) the page
permissions are now RO again. For your amusement a *very*
cheesy video of Extempore running on-the-fly with MCJIT on an
ARM Pandaboard. Viewer discretion is advised!
https://vimeo.com/60407237
Here is the
2007 Aug 23
3
test/mocks/ in rails directory structure
Anyone ever uses test/mocks/development && test/mocks/test directories ?
If someone does, test/mocks/development doesn''t really seem like a
nice place for putting development environment mocked classes. May be
mocks/ should be moved to RAILS_ROOT ? Or may be it should be removed.
Views ?
--
Cheers!
- Pratik
http://m.onkey.org
2006 Jun 29
2
[LLVMdev] jump table ?
On Thu, 29 Jun 2006 10:36:23 +0100
Ralph Corderoy <ralph at inputplus.co.uk> wrote:
>
> Hi Simon,
>
> > So if i'm using the JIT then it will generate a switch table ? How
> > can i test this, since i've been examining the native assembly output
> > (is this 'pic' mode?) of llc.
>
> Presumably the JIT means you end up with a `function
2007 Dec 02
1
odfWeave error
hello all,
I trying to use the package 'odfWeave'
and I get the follow error:
### error message
#############################################################
...
Removing content.xml
Post-processing the contents
Error in .Call("RS_XML_Parse", file, handlers, as.logical(addContext), :
Error in the XML event driven parser for content_1.xml: error parsing
attribute name
2006 Aug 14
1
Overide the default find_all
Hi,
In my model i want to overide the default find all for sorting purposes.
Is this possible or can this only be done in the control or by adding a
custom method in the model.
def self.find_all()
@contents = Content.find(:all,
:order => ''pos, position_id'')
end
--
Posted via http://www.ruby-forum.com/.
2006 Jun 13
2
Migration or model first
I sort of asked this the other day but with no replies. I''m new to rails
btw.
Question: Is there a preferred way to create migrations ? What I''ve noticed
is if I create a model first , it sets up the skelton of the migration.
If I create a migration file and then do the model it attempt to create a
migration file and not overide the one already in place. It seems to make
sense
2017 Oct 18
0
Global stack on Cortex-M4
On 10/18/2017 01:40 PM, Eric wrote:
> Secondly; With the "overide" directives above no dynamic memory
> allocation is supposed to happen. However, the following call chain
> (obviously) cause a crash:
>
> opus_encode(..)->
> opus_encode_native(..)->ALLOC_STACK->opus_alloc_scratch(..)->opus_alloc(..)
NONTHREADSAFE_PSEUDOSTACK requires a working allocator.
2002 Oct 29
1
Overiding builtin DLL's for Dreamweaver
Trying to get DW to run and ran into a snag.
I installed it on a Windoze machine and copied the directory over, and
then copied all the dll's I could find in that directory to my system
and system32 directories on the fake drive.
When I go to run DW it crashes with javascript errors. Wine then core
dumps. When I run this from a terminal window I see some errors pop
up as it goes along.
2006 Jan 30
0
Unable to do anonymous outbound calling
Hi,
I'm wanted to do working anonymous calling with my sip provider.
To do it, I use SetCallerPres(prohib).
The problem:
The "fromuser=" parameter overide the value of "CallerID(number)" and do it don't working.
Anyone had an idea?
Tank's
Loic Foucault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: