Displaying 20 results from an estimated 20 matches for "preinitializer".
Did you mean:
preinitialize
2006 Mar 07
2
Inode Usage
I am building a tool to identify the file that has a specific LBA.
The approach I am using is to search through each inode from number 2
up. This approach works well with UFS1 file systems as then
preinitialize all the inodes. However, UFS2 does lazy inode
initialization so there are always some that are basically garbage.
I have not found any relaiable way to determine from the
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...e
pick_boot.run
end
end
def booted?
defined? Rails::Initializer
end
def pick_boot
(vendor_rails? ? VendorBoot : GemBoot).new
end
def vendor_rails?
File.exist?("#{RAILS_ROOT}/vendor/rails")
end
def preinitialize
load(preinitializer_path) if File.exist?(preinitializer_path)
end
def preinitializer_path
"#{RAILS_ROOT}/config/preinitializer.rb"
end
end
class Boot
def run
load_initializer
Rails::Initializer.run(:set_load_path)
end
end
class VendorBoot < Boot
def loa...
2011 Feb 17
2
Pre-allocation of matrices is LESS efficient?
Motivation: during each iteration, my code needs to collect tabular data (and use it only during that iteration), but the rows of data may vary. I thought I would speed it up by preinitializing the matrix that collects the data with zeros to what I know to be the maximum number of rows. I was surprised by what I found...
# set up (not the puzzling part)
x<-matrix(runif(20),nrow=4);
2008 Mar 24
3
Yet again: Gem plugins
The patch I''m working on is just a) A more declarative way of
specifying the gems your app uses, and having Rails automatically
require them for you, and b) A mechanism for enabling those gems hook
up to your target app, just like init.rb does for file-system plugins.
Please take a look at the Trac ticket as it''s more self-explanatory:
http://dev.rubyonrails.org/ticket/11167
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 09:40:07PM +0100, Arnd Bergmann wrote:
> On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek <lprosek at redhat.com> wrote:
> > On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote:
> >> On 23.03.2017 16:17, Arnd Bergmann wrote:
> >>> The latest gcc-7.0.1 snapshot reports a new warning:
> >>>
>
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 09:40:07PM +0100, Arnd Bergmann wrote:
> On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek <lprosek at redhat.com> wrote:
> > On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote:
> >> On 23.03.2017 16:17, Arnd Bergmann wrote:
> >>> The latest gcc-7.0.1 snapshot reports a new warning:
> >>>
>
2017 Mar 28
1
[PATCH] virtio_balloon: prevent uninitialized variable use
On Mon, Mar 27, 2017 at 12:02:33PM +0200, Ladi Prosek wrote:
> On Fri, Mar 24, 2017 at 9:59 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> > On Fri, Mar 24, 2017 at 09:40:07PM +0100, Arnd Bergmann wrote:
> >> On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek <lprosek at redhat.com> wrote:
> >> > On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david
2017 Mar 28
1
[PATCH] virtio_balloon: prevent uninitialized variable use
On Mon, Mar 27, 2017 at 12:02:33PM +0200, Ladi Prosek wrote:
> On Fri, Mar 24, 2017 at 9:59 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> > On Fri, Mar 24, 2017 at 09:40:07PM +0100, Arnd Bergmann wrote:
> >> On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek <lprosek at redhat.com> wrote:
> >> > On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote:
> On 23.03.2017 16:17, Arnd Bergmann wrote:
>> The latest gcc-7.0.1 snapshot reports a new warning:
>>
>> virtio/virtio_balloon.c: In function 'update_balloon_stats':
>> virtio/virtio_balloon.c:258:26: error: 'events[2]' is used uninitialized in this function
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote:
> On 23.03.2017 16:17, Arnd Bergmann wrote:
>> The latest gcc-7.0.1 snapshot reports a new warning:
>>
>> virtio/virtio_balloon.c: In function 'update_balloon_stats':
>> virtio/virtio_balloon.c:258:26: error: 'events[2]' is used uninitialized in this function
2012 Sep 04
0
Mongrel_service and bundler
...he service starts, mongrels does not start
because am unable it has to start with bundle exec.
my question, how can I include bundle exec in the command that creates
the windows service so that it will start mongrels with bundle?
is there any other way, perhaps including bundle exec in boot.rb or
preinitializer.rb so that it will loaded automatically? am using rails
2.3.
The mongrel log is below
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
c:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/runtime.rb:31:in
`setup'': You have already activa...
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the
(/usr/local/src directory )
2) Then i installed rails from terminal by typing follwoing
sudo gem install rails --include-dependencies
3) Then i made a rails applcation from terminal as
rails new demo
then
cd demo
ruby
2008 Mar 25
3
Com32 api problem !
(sorry for my english if it is approximate !)
I want to access harddisk from com32 api with PXELINUX.
I try to use int 13h Extended Read Drive Parameters (48h), it doesn't works.
Here is my code, I have an error 1 in AH return code.
Int 13h Read Drive Parameters (08h) work well.
*******************************************************************************************
struct params {
2017 Mar 24
0
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek <lprosek at redhat.com> wrote:
> On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote:
>> On 23.03.2017 16:17, Arnd Bergmann wrote:
>>> The latest gcc-7.0.1 snapshot reports a new warning:
>>>
>>> virtio/virtio_balloon.c: In function 'update_balloon_stats':
>>>
2017 Mar 27
0
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 9:59 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> On Fri, Mar 24, 2017 at 09:40:07PM +0100, Arnd Bergmann wrote:
>> On Fri, Mar 24, 2017 at 9:11 PM, Ladi Prosek <lprosek at redhat.com> wrote:
>> > On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote:
>> >> On 23.03.2017 16:17, Arnd Bergmann
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there
I have a weird situation. I have inherited a project in Rails 1.2.3
that has been upgraded to Rails 2.3.14 (and is running). I have
installed Cucumber and Rspec to start to write features/tests for the
new code that needs to be written. In my Gemfile, these Gems are
loaded:
group :test do
gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2002 Nov 04
0
CUPS PostScript drivers for Samba explained -- was: Re: 2.2.6 and printer questions
Volker Lendecke wrote on Samba-digest:
> Message: 10
> From: <Volker.Lendecke@SerNet.DE>
> To: jerry@samba.org
> Cc: tombork@web.de, Volker.Lendecke@SerNet.DE, samba@lists.samba.org
> Subject: Re: [Samba] 2.2.6 and printer questions
> Reply-To: Volker.Lendecke@SerNet.DE
> Date: Mon, 04 Nov 2002 08:54:01 +0100
> Organization: Service Network GmbH, Goettingen,
2016 Apr 15
0
Wine release 1.9.8
The Wine development release 1.9.8 is now available.
What's new in this release (see below for details):
- More work towards the WineD3D command stream.
- Bug fix update of the Mono engine.
- More WebServices reader support.
- Still more Shader Model 5 support.
- Support for gradients in metafiles.
- Improved table formatting in WinHelp.
- Various bug fixes.
The source is
2003 Mar 23
4
What am I missing here?!
OK, I've tried changing my printcap name from printcap to cups. Printing
works fine locally using CUPS on the Samba box. What am I missing here? Why
can't I print to the Samba box via the Windows and linux clients? Shared
directories work fine. I am really frustrated here and have exhausted Google
and all other resources I have. Here's my smb.conf for what it's worth.
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
This patch (apologies for the size) updates zlib/* to the files that ship with
zlib 1.1.3.
Index: zlib/ChangeLog
===================================================================
RCS file: /cvsroot/rsync/zlib/ChangeLog,v
retrieving revision 1.1
diff -u -r1.1 ChangeLog
--- zlib/ChangeLog 7 May 1998 06:19:41 -0000 1.1
+++ zlib/ChangeLog 30 Jan 2002 01:12:41 -0000
@@ -1,6 +1,54 @@
ChangeLog