Displaying 20 results from an estimated 26 matches for "300x300".
Did you mean:
400x300
2012 Oct 22
4
Help with applying a function to all possible 2x2 submatrices
Hi all,
I'm working with a large data set (on the order of 300X300) and trying to
apply a function which compares the elements of all possible 2x2
submatrices. There are rc(r-1)(c-1) such submatrices, so obviously the naive
method of looping through the rows and columns is computationally unfeasible
for my data set:
for(i in 1:(nrow(data)-1)) {
for(j in (i+...
2000 Apr 05
3
Problems with Intel Netport Printserver and Samba
...g an Intel Netport Express PRO/100
printserver. Previous to my upgrade from RH5.2 when I had the printer
directly connected to the samba server, I was able to print just fine from
the windows client machines (not using the raw method)
My /etc/printcap is as follows
##PRINTTOOL3## REMOTE cdj500 300x300 letter {} DeskJet500 3 1
lp|HPDJ540|DESKJET:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:rm=192.168.1.100:\
:rp=LPT1_PASSTHRU:\
:if=/var/spool/lpd/lp/filter:
##PRINTTOOL3## REMOTE ljet3 300x300 letter {} LaserJet3 Default 1
lp0|BROTHER_HL-10V...
2010 Apr 01
2
paper clip plugin error
...------------
Paperclip.options[:image_magick_path] = "C:/Program Files/
ImageMagick-6.4.5-Q16/www"
model code
----------------------------
has_attached_file :photo ,
:styles => {
:thumb=> "100x100#",
:small => "150x150>",
:medium => "300x300>",
:large => "400x400>" }
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from...
2005 Oct 13
1
reading matrix objects into a list
OK, I've tried to be a good citizen and use the searchable archives,
but with three search strings I haven't found the answer to what must
really be a simple question.
I want to create a list of objects from a set of matrices (in this
case, 300x300). Suppose the first matrix is A. I tried:
> x=as.list(A)
But it I get a list of length 90,000
> length(x)
[1] 90000
instead of length 1, which is what I expected.
What's the simple trick I'm missing?
Thanks,
--Paul
2010 Mar 09
1
Emulate a lower desktop resolution for web browsing/flash
Hi,
My TV isn't big enough to read text when browsing websites (we sit far
away) and flash performance is awful at 1920x1080.
So I'm looking into ways to decrease the desktop resolution.
But my TV (Samsung 46" F series) only supports 1920x1080 via the VGA
connector - any lower resolution and it jumps to 1280x1024 which is
4:3 and makes widescreen flash content play squashed.
2011 Aug 08
1
heatmap is producing unwanted horizontal and vertical lines?
Hello,
I must start by saying that I am an R novice and am sorry if this is a no-brainer...
I have an csv file that contains a grid of 300x300 data points. Each point represents
a 1Km square on a map. Each point is either a floating point number or NA. I load the
data in with:
data <- read.csv("matrix.csv", sep=',')
Convert the data to a matrix with:
data_matrix <- data.matrix(data)
and then produce the he...
2008 Sep 02
4
Attachment_fu, Paperclip, & S3
For various reasons, I made a git branch and installed Paperclip in
place of attachment_fu. Paperclip works great except that images seem to
have lost some quality; edges have gone a little too jaggy to be able to
drop attachment_fu just yet. After a post on the Paperclip Google Group,
someone suggested the :convert_options could be passed additional
attributes, like ''quality'',
2024 Feb 29
1
[EXT] Initializing vector and matrices
Hello Eik:
Thanks. I do not need to sample. Essentially, I have a do loop which
produces 24 vectors of length of some length (say k=300) and 24 matrices
of 300x300. Then, I simply need to? take the averages of these 24
vectors and matrices:
x=(x1+x2+...+x24)/k
y=(y1+y2+...+y24)/k
I am just looking for ways to do this in a do loop, which requires
initialization (to 0's) of x and y. My struggle is not knowning length
of x until x1 is produced in the f...
2009 Sep 03
12
paperclip is not saving the files
Hi all,
I''ve installed paperclips but
paperclip is not saving the files
my model has
has_attached_file :attachment,:styles => { :medium => "300x300>",
:thumb => "100x100>" }
and i have db migration as
class AddAttachmentToPolicies < ActiveRecord::Migration
def self.up
add_column :policies, :attachment_file_name, :string
add_column :policies, :attachment_content_type, :s...
2002 May 10
2
Samba - cannot print multiple copies
...******
Current setup is:
Windows 2000 client
FreeBSD 4.5 server
running
Samba-2.2.2_3
Apsfilter-7.2.2
LPRng-3.8.10
/ETC/Printcap
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
HP-Deskjet-560C|stp/pcl-560;r=300x300;q=high;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/HP-Deskjet-560C:\
:lf=/var/spool/lpd/HP-Deskjet-560C/log:\
:af=/var/spool/lpd/HP-Deskjet-560C/acct:\
:mx#0:\
:mc#20:\
:sh:
# APS1_END - don't d...
1999 Jun 23
0
A problem sharing printer with win
...ease don't edit this file directly unless you know what you are
doing!
# Be warned that the control-panel printtool requires a very strict
format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.
##PRINTTOOL3## LOCAL cdj550 300x300 a4 {} DeskJet550 24 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp/filter:
My /etc/smb.conf is the following:
; /etc/smb.conf
;
; Reinicia el servidor cada vez que hagas cambios a este fichero, ej:
; /etc/rc.d/init.d/smb restart
[global]
printing = bsd
printcap...
2003 Oct 13
0
printers: access denied -- but why?
...path = /var/spool/lpd
read only = yes
printable = yes
public = yes
writable = no
guest ok = yes
create mode = 0755
Here's the whole of /etc/printcap:
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
aps1|PS;r=300x300;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lp0:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aps1:\
:lf=/var/spool/lpd/aps1/log:\
:af=/var/spool/lpd/aps1/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
rawlj:\
:rw:sh:
:lp=/dev/lp0...
2011 Aug 22
0
Paperclip nested resources problem
...ppartments
has_many :assets, :dependent => :destroy
accepts_nested_attributes_for :assets
end
class Asset < ActiveRecord::Base
belongs_to :region
belongs_to :country
has_attached_file :image,
:styles => {
:thumb=> "100x100>",
:small => "300x300>",
:large => "600x600>"
}
end
The region _form
<% form_for([@country, @region]) do |f| %>
<%= f.label :title %><br />
<%= f.text_field :title %>
<%= f.label :content %><br />
<%= f.text_area :content %>
&l...
2014 Feb 18
0
How to Test Multimodel Paperclip attachments?
...validates :uploads, presence: { message: 'You must upload at least
one image' }
accepts_nested_attributes_for :uploads, allow_destroy: true
end
Upload.rb
class Upload < ActiveRecord::Base
belongs_to :car
has_attached_file :upload, styles: { medium: '300x300>', thumb:
'100x100>' }
validates_attachment_content_type :upload, content_type:
/\Aimage\/.*\Z/
validates_attachment_presence :upload
end
As you can see there is a has_many and belongs_to relationship between
the two.
car_spec.rb
require 'spec_helper...
2001 Nov 05
3
Need help with error if possible
WE use samba a lot here Supporting the IT at Avaya
and have run into a problem we seem to be stuck on.
We went to your Web site and followed the
DIAGNOSIS.txt on trouble
shooting Samba and came up
2004 Jun 03
2
Simulating a landscape (matrix) in R
I'm trying to figure out how one might go about simulating a landscape
(matrix) in R. For example if one wanted to generate a simulated landscape
of precipitation values for some area (say a 100 X 100 matrix) they could
generate 10,000 numbers using a random normal distribution with a mean and
std. dev. and randomly allocate these generated numbers to the grid cells.
However, this is too
2012 Jul 15
4
extracting rows and columns from a big matrix
Hi there and thanks in advance.
I have a large symmetrical matrix stored in a text file. After load in R I would like to extract the same number of columns and rows (symmetrical submatrix) using their labels.
I have tried this code in order to extract columns, but R console gives me the "+" sign at the end of the code, pointing out incomplete command, so it is not working:
1998 Aug 07
4
SMB printing server problem... HELP ME !!!
...lease don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.
##PRINTTOOL3## LOCAL ljet4 300x300 a4 {} LaserJet4 Default 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp1:\
:if=/var/spool/lpd/lp/filter:
******************************************************************************
FILE: /etc/inetd.conf
#
# Version: @(#)/etc/inetd.conf 3.10 05/27/93
#
# Authors:...
2024 Feb 28
1
[EXT] Initializing vector and matrices
Hi Steven,
It's not entirely clear what you actually want to achieve in the end.
As soon as you "know" x1, and assuming that the different "xi" do not
differ in length in the real application, you know the length of the
target vector.
Instead of the loop, you can use 'Reduce' without having to initialize a
starting vector.
# generate sample vectors, put them in
2010 Sep 15
3
Creating publication-quality plots for use in Microsoft Word
Hi everyone,
I am trying to make some publication-quality plots for use in Microsoft
Word, but I am having trouble creating high-quality plots that are supported
by Microsoft Word.
If I use the R plot function to create the figure, the lines are jagged, and
the picture is not of high quality (same with JPEG(), TIFF(), and PNG()
functions). I have tried using the Cairo package, but it distorts