similar to: Newbie question: searching certain fields only

Displaying 20 results from an estimated 2000 matches similar to: "Newbie question: searching certain fields only"

2006 Mar 22
2
What am I doing wrong with this? :)
Hi, I''m having trouble with a piece of code based on an example someone kindly posted here: errors.add(''surname'', "must be blank when the serial number is known") if !surname.nil?|| !surname=="" Now, even if surname is empty, it still flags the error message. I imagine I''m doing something rather obviously wrong but I''m not
2009 Jun 10
1
ggplot, qplot: alpha channel for colors corresponding to factor
Hi, I have a qplot like the one in the minimal example below, except I also have faceting like this: qplot(jitter(Goodall),jitter(Better.adapt),colour=Second.adapt,facets=~Pol,data=d1) and with the real data I get quite a lot of overplotting, so I would like to add an alpha channel. In addition, I would like to be able to control which colors are used for each value of Second.adapt (which
2012 Nov 02
2
Merge data frame with mispelling characters
Hello dear R-helpers, I'm working with R-2.15.2 on Windows 7 OS. I'm stucked with a merge of two data frames by characters. In each data frame I got two different list of names, that is my main-key to be merged. To figure out what I'm saying, I build up a modified "?merge" example, with errors by purpose: # Data for authors: authors <- data.frame( surname =
2006 Apr 28
7
acts as drop down
Hi Im using the acts as drop down plugin and have this code below acts_as_dropdown :text => "forename", :order => "forename" It currently makes use of the forename in the option tag, how can I get it to use the surname as well ie somthing like ''forename'' . ''surname'' in php Thanks -- Posted via http://www.ruby-forum.com/.
2010 Feb 26
2
Routing Error using Paperclip
For some reason I can''t figure out why I am getting a routing error when I add Paperclip support. I have another test app when similar code is working. I created a new test app first without Paperclip support and it was doing the CRUD operation fine. However when I added Paperclip support I get the following error? Routing Error user_url failed to generate from
2010 Dec 19
2
barplot: width of label
Hello, I try to make barplots with rather wide labels. A simplified example of this: x <- c(12, 33, 56, 67, 15, 66) names(x) <- c('Richard with a long surname','Minnie with a long name,'Albert','Helen','Joe','Kingston') barplot(x, las = 2) Now the label 'Richard with a long surname' is too long to fit beneath the bars. A simple solution
2011 Jul 27
3
Searching using prefixes
Hi guys I'm trying to figure out how I can use probabilistic searching on a given field within a document; I've written to the list about this before, but haven't quite figured out what's required and, following a little research, I think I understand what I need to do but I'd like a clarification on this. o We have a database of a number of documents, with fields: title,
2006 Feb 19
2
how would you implement this normalizer?
Names of models in my application have accented characters that imply unexpected orderings. For instance ?vila should go before Madrid, but String#<=> puts it the other way aroud. I am only sorting for views, so it would be OK to do some normalization on-the-fly on Ruby land, and since the same criteria has to be used throughout the application I was thinking on some sort of
2011 Sep 04
5
Ranking and term proximity
Hi, I was reading an article recently about how google ranks results (among many other things of course) based on the proximity of the search terms in the source documents. In addition, the position of the search terms in the search query string itself is also taken into consideration when determining how important each term is. Does Xapian do something similar - at least for the first part?
2019 Apr 29
2
Difficulties retrieving randomly assigned password for newly created Samba user acounts
Hi everyone, I am using Samba 4.5.16-Debian on Raspbian and thanks to the help offered by everyone here I now finally have a mostly-working Active Directory network. I am now at the stage of creating inidividual user accounts for my domain and unfortunately I have a very basic but fundamental problem! I currently enter the following input at the command-line to create a new user on my DC: pi
2005 Jul 10
3
not supressing leading zeros when reading a table?
Dear R list, I have a dataset with a column which should be read as character, like this: name surname answer 1 xx yyy "00100" 2 rrr hhh "01" When reading this dataset with read.table, I get 1 xx yyy 100 2 rrr hhh 1 The string column consists in answers to multiple choice questions, not all having the same number of answers. I could format the
2007 Apr 24
1
regarding 3d Bar Plot --- correction.
I mis-spoke. It seems I had two collections of functions in the same directory. One by Colin Goodall, and one by David Scott (I have no record of where he is/was located). It is the *latter* collection that does all its work from within Fortran. I'll have another look at what Colin Goodall actually wrote to see if it could be useful to guarav. cheers, Rolf Turner rolf at
2016 Aug 17
3
SOLVED: WINBIND: UID and GID false mappings on domain member
I bump this only to say SOLVED and many thanks to Rowland. Lessons learned: 1. Indeed, my problems where related to not having a gidNumber for "Domain Users". After adding it I got real wbinfo --user-info on the domain member (file server). My test user could log in in his old home from the NT domain preserving the old UID and GID. 2. (question = why?) And login.bat was called at
2020 May 14
2
samba-tool and --given-name or --surname format?
How do I add a user with samba-tool that has the givenname "?ke" or surname "?berg"? # samba-tool user create foobar 21asdasd// --given-name="?ke" ERROR(<type 'exceptions.UnicodeDecodeError'>): Failed to add user 'foobar': - 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128) File
2015 Aug 26
3
Import USER and PASSWORD Samba3+OpenLadp TO Samba4
Hai, just make a CSV file and import your users. this is the script i used. #!/bin/bash ## example ## display naam in AD wil be : Louis van Belle ( cat /home/samba/backup/users.csv | awk -F ";" '{system("/usr/bin/samba-tool user add "$5" --mail-address="$7" \ --given-name="$4" --surname=\""$3"\"
2015 Sep 01
1
Import USER and PASSWORD Samba3+OpenLadp TO Samba4
Thank Rowland Penny-6 and L.P.H. Van Belle for all the help I could not do that users were exported from script, but I got a "trigger" to matter the bills ... was ugly to look at, but for me it worked. I exported the CSV, then edited, made a statement block where each line I gave the samba-tool user add, edit in Excel and Notepad ++ to find and replace ... it took me 10 minutes to do 300
2006 Jun 08
9
find :order =>
Hi, I have the following find statment @client_pages, @clients = paginate :clients, :per_page => 20, :order => "organisation_id, surname" currently im ordering by organisation_id however I need to order by the field in the organisation table organisations.name how can this be done? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2007 Sep 11
4
ext3 on zvols journal performance pathologies?
I''ve been seeing read and write performance pathologies with Linux ext3 over iSCSI to zvols, especially with small writes. Does running a journalled filesystem to a zvol turn the block storage into swiss cheese? I am considering serving ext3 journals (and possibly swap too) off a raw, hardware-mirrored device. Before I do (and I''ll write up any results) I''d like to know
2017 Apr 28
2
Unable to add a particular member to group (Samba 4.6.3)
On Fri, 28 Apr 2017 09:41:31 -0400 Luc Lalonde <Luc.Lalonde at polymtl.ca> wrote: > Hello Rowland, > > Have you tried deleting a user, re-creating the same user and then > try to add him to a group? > > I'm convinced that this will point us in the right direction to > correct the bug. > Yes and to confirm it, I just did it again: samba-tool user create User2
2006 Aug 24
5
[0.10.0 - acts_as_ferret] Problem while saving new items
Disclaimer: ferret newbie here, don''t blame too hard. Hi, I''m trying to apply acts_as_ferret to apply search to my Person model: class Person < ActiveRecord::Base validates_presence_of :name, :surname acts_as_ferret :fields => [ ''name'', ''surname'' ] ... But when I try to save a new Person instance I get this error: