search for: gotcha

Displaying 20 results from an estimated 1127 matches for "gotcha".

Did you mean: gotchas
2020 Apr 03
6
[RFC] Improving FileCheck
I'd like to (re)start a discussion on a few gotchas in FileCheck that I've noticed working on various tests in llvm's suites. This begain in a review [1], but I'll try to summarize here so it gets the right audience before decisions are made on it (so to speak). 1: https://reviews.llvm.org/D77227 The main sticking point is the abundan...
2007 Jan 16
5
"[[" gotcha
The following gotcha caught me off-guard just now. I have two matrices, a and b: a <- matrix(1,3,3) b <- matrix(1,1,1) (note that both "a" and "b" are matrices). I want them in a list: > B <- NULL > B[[1]] <- a > B[[2]] <- b > B [[1]] [,1] [,2] [,3] [1,]...
2004 Oct 13
1
importing data
Hi all! I am newcomer to R and I am loborating on this problem: How do I import data from a CD into R for further evaluation. Using code "newgotcha <- read.table("e:\\asciiwin\\gotcha.dat") " returmns a list containing an additional column with indices. The command "plot (gotcha)" gives the expected plot. However, the line hist(gotcha) returns the message "Error in hist.default(newgotcha) : `x' must be num...
2005 Oct 20
1
partial match gotcha
Hi The following gotcha took me a long time to catch: f <- function(x, main0="red", ...){ par(col.axis=main0) plot(x,...) } f(1:10,main="title here") f(1:10,main="title here",main0="blue") I can't quite succinctly summarize why the second case works but the first...
2006 Nov 04
0
migrations gotcha
Just wanted to share this gotcha: 1. Create model A and initialize some record from within the very migration. 2. Create model B (perhaps 27 migrations later, two weeks later). 3. An observer of A uses B. Now you can''t do a fresh install (or go down to VERSION corresponding to 1. and then up). --...
2011 Feb 14
1
debian squeeze gotchas using xen 4
I installed a debian squeeze desktop client today and a squeeze, with xen 4, on one of our servers. I had problems getting libvirt on the client to create virtual machines on the server. The fix was to create a symbolic link called xen to /usr/lib64/xen-4.0 on the server as libvirt was looking for files in that path. Is there anything else I should be aware of/issues regarding this setup? I
1999 Dec 15
0
scp gotcha on NFS
I ran into a nasty gotcha today with scp from openssh-1.2pre17. If you use scp to copy a file between machines when the local and remote file args correspond to the same physical file (e.g., exported by a NFS mount) the file is trashed. E.g., if your home directories on "homer" and "bart" share the same...
2002 Mar 15
0
User ID gotcha with winbindd when adding local Unix accounts
Just noticed a somewhat subtle gotcha when adding users to a Red Hat Linux system running winbindd. If you use 'adduser', it will see your winbindd uid range and think all the UIDs up to that point are in use. It'll then pick the next available one and use that for the new user ID. Winbindd, unaware of this, will go ahead...
2015 Jun 04
2
making samba 4.2 in a container
Someone recently mentioned building a samba addc in a linux container. I'm new to containers and would really love to learn how to do it correctly. Anyone know of how-to's or gotcha's related making samba run in an lxc containter? -- David Bear mobile: (602) 903-6476
2006 Jun 21
0
Login Generator gotcha..
One for the archive: Validation on a new password submission [/signup] was less than 30 characters [validates_length_of helper] but the resulting hash in the database was more than 30 [c40] ? the result was that in a relation JOIN that users the User model, the password *hash validates_length_of the hash [and not the original textual password] which silently fails and doesnt save the
2006 May 16
0
Image format gotcha
I''ve been doing a lot of testing witn RMagick lately, in view of reports that it leaks memory. I''m happy to report that RMagick doesn''t seem to leak at all, when used as directed -- that is, when you remember to set the image variable to nil and call GC.start manually after you''re done with an image. BUT -- one ImageMagick format seems to be leaky! I was
2005 Oct 21
0
a gotcha with cron and 4.2
the new cron in 4.2 activates the pam access module. if you have been using that to control ssh access or other things, now suddently cron is going to use it as well. this only seems to affect user crontabs and crontabs in /etc/cron.d. from some digging around i was able to determine that cron sets the tty to 'cron', so you can just add a line like: +:ALL:cron to
2007 Aug 12
1
1.0.6 gotcha
Hi All - I released 1.0.6 this morning, but there is apparently a bug related to rspec and autotest. I''ll be fixing this today (but not until tonight) so you have two options: Wait until 1.0.7 (tonight) Upgrade now to 1.0.6 but make sure you install the rspec gem. Thanks, David
2006 Feb 14
0
Solaris 10 U1 (x86?) LDAP gotcha
On Tue, 14 Feb 2006 12:25:15 +0900 Peter Evans <peter+dovecot at ixp.jp> wrote: > This is not actually a problem with dovecot, but something with the > way the library in /opt/sfw/lib/libldap.* is compiled. If you find > yourself eating cpu, compile your own ldap from openldap, it is NOT > dovecot's fault. > > It looks like pilot error with the sun freeware edition.
2010 Aug 06
2
Using a 1.4 config with 1.6
I have a rather simple setup running under Asterisk 1.4. I'd like to move it to a new install of 1.6. Before I bring it online are there any gotchas I should look for? A Gotcha README would be better but searching with Google and the forums, for me, gets hits that deal with hardware issues -- cards etc. Nothing about depreciated/changed commands. TIA, Rod --
2010 Jan 25
1
Upgrade from 3.0.4 to 3.4.5 gotchas?
I'm about to install 3.4.5 over 3.0.4 on an old FreeBSD 5.2.1 server from source. The server is backed up to tape. Could I make life easier by backing up some files by hand to another directory? In theory should "make install" be all I have to do? (yes I ran configure and make) Will the old smb.conf need modified? Anything else to watch out for?
2011 Dec 22
0
6.2 Radeon HDMI audio gotcha
I had some trouble (now solved) with the recent upgrade to 6.2. There was no sound from the DVI/HDMI output and video played back much too fast. Booting kernel-2.6.32-131.21.1.el6.x86_64 restored sound and video playback. The solution is to add 'radeon.audio=1' to the kernel arguments from grub and the new kernel also worked. I'm using CentOS 6 on a media computer with the
2002 May 17
0
pbinom gotcha (PR#1569)
This came up due to a question from Anders Hald: Bernoulli calculated an approximation to the smallest n so that P(0.58 <= x/n <= 0.62) >= 1000/1001 What is the exact value? Now try n <- 6350:6500 Pr <- function(n)pbinom(0.62*n,n,0.6) - pbinom(0.58*n,n,0.6) + dbinom(0.58*n,n,0.6) plot(n,Pr(n),type="b") abline(h=1000/1001) min(n[Pr(n)>1000/1001]) Next, try Pr
2007 Apr 12
1
CentOS 5 gotchas
As some folks on irc have pointed out, and has been covered a bit in the beta discussions: There is no longer a 'Minimal' install option for centos5 in anaconda, however if you choose 'Customize Now' and uncheck all the selections, you will get a minimal install that only requires disk1, and weighs in at around 594MB. With kickstart it is possible to further reduce the package
2008 Jan 30
0
Publish templatized action with JSON gotcha in Rails 1.2
Hey guys- to_json in Rails 1.2 produces json with unquoted keys, which is invalid. Therefore, publish_templatized_action produces invalid json for feed publishing, and you''ll get an error from Facebook. To fix this, put this line in environment.rb: ActiveSupport::JSON.unquote_hash_key_identifiers = false You don''t need to do this if you''re running Rails 2.0. Just a