Displaying 20 results from an estimated 30 matches for "source_fil".
Did you mean:
source_file
2018 May 10
2
readLines() behaves differently for gzfile connection
When I read a .gz file with readLines() in 3.4.3, it returns text (and a
warning). In 3.5.0, it gives a warning, but no text. Is this expected
behavior or a bug?
3.4.3:
> source_file = "1k_annotation.gz"
> readfile_con <- gzfile(source_file, "r")
> readLines(readfile_con, n = 5)
[1] "#chr\tpos\tref\talt\t
<truncated output here>
Warning message:
In readLines(readfile_con, n = 5) :
seek on a gzfile connection returned an internal erro...
2009 Feb 17
5
Problems in Compiling MFC
...DIRECTORY at /../winemaker line 607.
closedir() attempted on invalid dirhandle DIRECTORY at /../winemaker line 607.
Fixing the source files...
BiCubicInterpolation_CPU_Video.cpp
BiCubicInterpolation_OpenGL_Common.cpp
BiCubicInterpolation_OpenGL_Video.cpp
BindDC_OpenGL.cpp
InputBox.cpp
Source_Files/BiCubicInterpolation_CPU_Video.cpp
Source_Files/BindDC_OpenGL.cpp
Source_Files/ChildView.cpp
Source_Files/InputBox.cpp
Source_Files/MainFrm.cpp
Source_Files/MyCmdLineInfo.cpp
Source_Files/TestApp.cpp
Resource_Files/SingleAlg_CPU_Video.rc
BiCubicInterpolation_OpenGL.h
BiCubicInte...
2018 May 10
1
readLines() behaves differently for gzfile connection
...2018 at 3:31 PM, Ben Heavner <bheavner at gmail.com> wrote:
> > When I read a .gz file with readLines() in 3.4.3, it returns text (and a
> > warning). In 3.5.0, it gives a warning, but no text. Is this expected
> > behavior or a bug?
> >
> > 3.4.3:
> >> source_file = "1k_annotation.gz"
> >> readfile_con <- gzfile(source_file, "r")
> >> readLines(readfile_con, n = 5)
> > [1] "#chr\tpos\tref\talt\t
> >
> > <truncated output here>
> >
> > Warning message:
> > In readLines(re...
2013 Apr 05
3
Fwd: rsync 3.0.9 partial file left after CTRL-C WITHOUT using --partial
Hi folks,
man page says "By default, rsync will delete any partially transferred file
if the transfer is interrupted"
I have (reproducible) a partial file left, if I do CTRL-C
source-dir: mounted LVM XFS
dest-dir: see source-dir
Ubuntu 12.04.1 (LTS)
kernel 3.2.0-39-generic
command:
rsync -a
2018 May 10
0
readLines() behaves differently for gzfile connection
...anks,
Michael
On Thu, May 10, 2018 at 3:31 PM, Ben Heavner <bheavner at gmail.com> wrote:
> When I read a .gz file with readLines() in 3.4.3, it returns text (and a
> warning). In 3.5.0, it gives a warning, but no text. Is this expected
> behavior or a bug?
>
> 3.4.3:
>> source_file = "1k_annotation.gz"
>> readfile_con <- gzfile(source_file, "r")
>> readLines(readfile_con, n = 5)
> [1] "#chr\tpos\tref\talt\t
>
> <truncated output here>
>
> Warning message:
> In readLines(readfile_con, n = 5) :
> seek on a gz...
2004 Jul 07
0
scp man page: source vs. destination
...tination. However, this might not be so obvious to users with
less experience. It pains me to suggest this, but perhaps the scp man page
should be edited to make this more obvious. For example, from the [Free]BSD
cp(1) man page:
SYNOPSIS
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ...
target_directory
DESCRIPTION
In the first synopsis form, the cp utility copies the contents of the
source_file to the target_file. In the second synopsis form, the
contents of ea...
2008 Jul 29
1
can't crop images using ImageMagick
...e shared "system" directory of a Capistrano
deployed server.
Here''s my code:
require ''RMagick''
top_square = params[:top_square].to_d
left_square = params[:left_square].to_d
width_square = params[:width_square].to_d
height_square = params[:height_square].to_d
source_file = "#{RAILS_ROOT}/public#{@photo.public_filename}"
destination_file = "#{RAILS_ROOT}/public#{city_photo.public_filename}"
img = Magick::Image.read(source_file).first
img.crop!(left_square, top_square, width_square, height_square)
img.write destination_file
Thanks,
Andy
--~--~...
2023 Oct 10
5
[PATCH libnbd 0/4] Miscellaneous Rust cleanups
Add an overview libnbd-rust(3) man page pointing to the real
documentation. This is like OCaml & Golang.
When reviewing the real rustdocs I noticed they basically converted
the man pages into plain text, resulting in lots of problems such as
internal links not working, no `code` annotations, etc. So I wrote a
simple POD to rustdoc translator. It is by no means perfect, but it
fixes many of
2013 Dec 12
4
[PATCH 1/2] golang: Fix for out-of-tree builds
...golang/Makefile.am
@@ -44,6 +44,7 @@ golangpkg_DATA = \
pkg/$(GOOS)_$(GOARCH)/$(pkg).a
pkg/$(GOOS)_$(GOARCH)/$(pkg).a: src/$(pkg)/guestfs.go
+ -[ $(srcdir) != $(builddir) ] && cp -rsu $(abs_srcdir)/src $(builddir)/src
$(top_builddir)/run $(GOLANG) install $(pkg)
golangsrc_DATA = $(source_files)
@@ -57,4 +58,5 @@ endif
CLEANFILES = *~ src/$(pkg)/*~
clean-local:
+ -[ $(srcdir) != $(builddir) ] && rm -rf $(builddir)/src
rm -rf pkg
--
1.8.5.1
2019 Dec 12
5
[PATCH 0/4] Various small build fixes
*** BLURB HERE? ***
Pino Toscano (4):
build: stop shipping files generated by configure
docs: fix out-of-source documentation build
generator: do not generate mlv2v files when not needed
perl: fix path to Build.PL
docs/Makefile.am | 4 ++--
generator/main.ml | 11 +++++++----
perl/Makefile.am | 2 +-
python/Makefile.am | 3 ++-
tests/daemon/Makefile.am |
2007 Jul 26
3
Spec for validation plugin
Hi,
I''m writing a specification for a model called Location which has a
post_code attribute which should be a valid UK postcode. I''m using the
http://svn.designbyfront.com/rails/plugins/validates_as_uk_postcode/
validates_as_uk_postcode plugin to handle the validation but I''m not sure
how I should properly specify my model.
Heres the model code:
class Location <
2002 Apr 16
2
Can rsync update files in place?
I've just subscribed, but a search of the archive doesn't indicate this
has been handled before...
Is there a way to get rsync to not create a new file while transferring
and then rename it, but to instead update the existing file in place,
i.e. simply write those blocks that have been updated and leave the rest
alone?
That would be ideal for what I wanted rsync for, namely updating
2019 Dec 12
8
[PATCH v2 0/6] Various small build fixes
*** BLURB HERE? ***
Pino Toscano (6):
build: stop shipping files generated by configure
docs: fix out-of-source documentation build
generator: do not generate mlv2v files when not needed
perl: fix path to Build.PL
rust: fix path to lib.rs
rust: fix list of generator-built files
daemon/Makefile.am | 8 ++++++--
docs/Makefile.am | 4 ++--
generator/main.ml | 11
2012 Sep 13
1
[LLVMdev] Question about optimizing mem in loop
...at the O2 CFG (the O3 is the same), it's creating a switch
who's every branch ends up at the same BB, who's pred goes to itself and
the BB to which the switch points and the switch BB only contains itself?
If you look at the other CFG it's just run with default clang opts (ie
clang source_file) and all it's doing is lowering the switch (the same
problem still exists).
Seems confusing to me?
ps. Round has no control flow logic in it and when the loop is unrolled
there is no control flow at all (uncond branching, etc). The logic gets
even more convoluted when simplycfg and other opt...
2006 Jul 05
2
Protecting Static content
Hi,
I want to build a rails backed site which, in addition to some dynamic
content, also comprises a number of static content files. There are
some static html pages, some powerpoint presentations, and some PDF
documents.
I want to make sure that the user is logged in before they can access
the protected content. I''ve gone through the ''Agile development with
2016 Apr 12
0
[PATCH] Add internal documentation to C files.
...od: guestfs-internals.pod internal-documentation.pod
$(PODWRAPPER) \
--section 1 \
--man guestfs-internals.1 \
--html $(top_builddir)/website/guestfs-internals.1.html \
+ --insert internal-documentation.pod:__INTERNAL_DOCUMENTATION__ \
--license LGPLv2+ \
$<
touch $@
+source_files := $(shell grep -Ev '^(gobject/|builder/index-scan.c)' $(top_srcdir)/po/POTFILES)
+
+internal-documentation.pod: $(source_files:%=$(top_srcdir)/%)
+ rm -f $@ $@-t
+ ./make-internal-documentation.pl \
+ --srcdir $(top_srcdir) \
+ -o $@-t \
+ $(source_files)
+ mv $@-t $@
+
gues...
2007 Jan 19
1
Trouble with Rails/Ri18n
...le works perfectly with "rake gettext":
.....
# Ri18n
task :gettext do
require ''i18nservice''
require ''gettext''
I18nService.instance.po_dir = ''locale''
Rake::GettextTask.new do |t|
t.new_langs = [''de'']
t.source_files =
[''{lib,app,components}/**/*.r{b,html,xml}'']
t.verbose = true
end
end
environment.rb states:
# Include your application configuration below
# Require Rails libraries (Ri18n)
require ''rubygems''
require ''gettext''
require '...
2020 Mar 17
0
[PATCH libnbd] Add outline framework for Go language bindings (golang).
...GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+include $(top_srcdir)/subdir-rules.mk
+
+# http://golang.org/doc/code.html#Organization
+pkg = libguestfs.org/libnbd
+
+source_files = \
+ src/$(pkg)/libnbd.go \
+ src/$(pkg)/libnbd_*_test.go
+
+generator_built = \
+ $(source_files)
+
+EXTRA_DIST = \
+ src/$(pkg)/.gitignore \
+ $(generator_built) \
+ config-test.go \
+ run-tests.sh
+
+if HAVE_GOLANG
+
+golangpkgdir = $(GOROOT)/pkg/$(GOOS)_$(GOARCH)/$(pkg)
+golangsrcdir = $(GOR...
2020 Mar 17
5
[PATCH libnbd v2 0/3] Unfinished golang bindings.
These bindings get as far as running very simple connections.
However there are many missing parts still:
* No callbacks.
* No functions which handle buffers (pread/pwrite!)
This is posted just for general early interest, not even for review.
Rich.
2020 Mar 17
0
[PATCH libnbd v2 2/3] Add outline framework for Go language bindings (golang).
...GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+include $(top_srcdir)/subdir-rules.mk
+
+# http://golang.org/doc/code.html#Organization
+pkg = libguestfs.org/libnbd
+
+source_files = \
+ src/$(pkg)/libnbd.go \
+ src/$(pkg)/libnbd_*_test.go
+
+generator_built = \
+ $(source_files)
+
+EXTRA_DIST = \
+ src/$(pkg)/.gitignore \
+ $(generator_built) \
+ config-test.go \
+ run-tests.sh
+
+if HAVE_GOLANG
+
+golangpkgdir = $(GOROOT)/pkg/$(GOOS)_$(GOARCH)/$(pkg)
+golangsrcdir = $(GOR...