Displaying 9 results from an estimated 9 matches for "maxheight".
Did you mean:
max_height
2008 May 21
1
problems with data frames, factors and lists
I have a function that creates a list based on some clustered data:
mix <- function(Y, pid) {
hc = gethc(Y,pid)
maxheight = max(hc$height)
noingrp = processhc(hc)
one = noingrp$one
two = noingrp$two
twoisone = "one"
if (two != 1)
twoisone = "more"
out = list(pid = pid,one = noingrp$one, two = noingrp$two, diff = maxheight, noseqs = length(hc$labels), twogrp = twoisone)
return(out)
}
example resu...
2006 Jul 26
0
webrick slows and crashes on thumbnail creation
...s my view code:
<% for img in ary %>
<%= resize_image img.name %> # img.name= /homa/joe/pictureimg.jpg
<% end %>
here is my resize_image code in application_helper:
def resize_image(imgfile)
pic = Magick::Image.read(imgfile).first
thumb = pic.crop_resized(maxwidth, maxheight,
gravity=Magick::CenterGravity)
thumb.write(imgfile+''thumb'')
end
What happens:
When "ary" contains 50 images to resize, it goes fast on the first 4 images
then the whole thing slows down and and the ruby proccess occupies like 50%
of CPU and 70% of memory and then a...
2011 Nov 15
1
Borland C++ Builder TForm->Show() problem
...= false - Form-> Show () work not properly. An output - use TForm-> Hide () and TForm-> Show () (Chek Box ' Alternate ' in an example).
Also not properly works variations the sizes of a window by means of the mouse when there are restrictions, for example TForm-> Constraints. MaxHeight, TForm-> Constraints. MaxWidth or TForm-> BorderStyle = bsSingle (a window with the unchangeable size).
Also there are problems with a modal window (TForm-> ShowModal ()).
Please, inform it to developers for correction of a mistake.
https://rapidshare.com/files/1202120874/WineTest....
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...rip(),dev_bootproto.strip(),ipv4_addr.strip(),ipv6_addr.strip())
+ status_text += "%1s: %5s %14s \n\n" % (key.strip(),dev_bootproto.strip(),ipv4_addr.strip())
status_text.strip()
networking = TextboxReflowed(32, status_text, maxHeight=10)
networking.setText(status_text)
@@ -975,6 +979,32 @@ class NodeConfigScreen():
self.ipv6_netdevmask.setCallback(self.ipv6_netmask_callback)
self.ipv6_netdevgateway = Entry(39, "", scroll = 0)
self.ipv6_netdevgateway.setCallback(sel...
2005 Aug 22
0
R-help Digest, Vol 30, Issue 22
...t; >
> >
Here is some code and a little data
dat <- read.table("/home/project5R/datasplf.csv", header=TRUE,
sep=",", na.strings="NA", dec=".", strip.white=TRUE)
attach(dat)
showData(dat, placement='-20+200', font=.logFont, maxwidth=80, maxheight=30)
x <- as.matrix(dat)
x1 <- as.vector(x[,1])
xd1 <- as.Date(x1, format= "%m-%d-%Y")
n <- length(x1)
n
x2 <- as.vector(x[,2])
length(x2)
x3 <- as.vector(x[,3])
length(x3)
x4 <- as.vector(x[,4])
x5 <- as.vector(x[,5])
x5[is.na(x5)] <- 0
xd4 <- as.Date(x4, for...
2007 Apr 28
0
[978] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Fix crazy crashers on MSW; fix scrolling/drawing position; safe path to bitmap
...'icons'', ''test2.xpm'')
+ @bmp = Wx::Bitmap.new(bmp_file)
</ins><span class="cx">
</span><span class="cx">
</span><span class="cx"> set_scrollbars(20, 20, @maxWidth / 20, @maxHeight / 20, 0, 0, true)
</span><span class="lines">@@ -39,15 +40,13 @@
</span><span class="cx"> end
</span><span class="cx">
</span><span class="cx"> def on_paint(event)
</span><del>-...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...rip(),dev_bootproto.strip(),ipv4_addr.strip(),ipv6_addr.strip())
+ status_text += "%1s: %5s %14s \n\n" % (key.strip(),dev_bootproto.strip(),ipv4_addr.strip())
status_text.strip()
networking = TextboxReflowed(32, status_text, maxHeight=10)
networking.setText(status_text)
@@ -975,6 +981,32 @@ class NodeConfigScreen():
self.ipv6_netdevmask.setCallback(self.ipv6_netmask_callback)
self.ipv6_netdevgateway = Entry(39, "", scroll = 0)
self.ipv6_netdevgateway.setCallback(sel...
2012 Feb 21
2
Dataframes in PLS package
...,pls[6],pls[7],pls[8])
I then put these into the data.fram C, retaining the matrix structure per
guidelines in the JSS article on the pls package
C <- data.frame(h = I(as.matrix(A)), c = I(as.matrix(B)))
showData(C, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80,
maxheight=30)
63 55 1 0 44 37200 4 0
145 52 1 1 33 69300 4 1
104 32 0 1 68 56900 3 1
109 69 1 1 94 44300 6 1
221 61 0 1 72 79800 6 0
110 40 1 1 48 17600 5 1
194 41 0 0 85 58100 4 0
120 76 1 1 19 76700 3 0
210 61 0 0 41 37600 1 0
243 101 1 1 57 40800 5 1
163 62 0 1 64 400 3...
2014 Nov 14
0
Wine release 1.7.31
...meter for VerQueryValueA/W.
server: Add a missing socket protocol attribution.
server: Store the time of the socket connection.
ole32: Avoid a possible null dereference.
Chen Yuan (2):
mshtml: Add IHTMLStyle5::maxWidth property implementation.
mshtml: Add IHTMLStyle5::maxHeight property implementation.
Guillaume Charifi (1):
oleaut32: Implement TLB dependencies lookup in resources.
Hans Leidekker (6):
msi: Pass a database pointer to msi_clone_properties instead of a package pointer.
msi: Update properties after each transform that affects the property...