similar to: Naming convention and search engines

Displaying 20 results from an estimated 2000 matches similar to: "Naming convention and search engines"

2006 Jan 06
1
Unit Testing - Persistence of Destroyed Objects?
I was doing some unit testing today and came across something that surprised me. Either I am confused, or destroyed objects persist in memory when doing unit testing. To explain: I have a model, Author, which ''has_many :web_resources''. One type of "web resource" for an Author is the authors website. So, to facilitate easy creation/lookup of websites for authors, I
2006 Jun 05
2
Bug in RedCloth or in my head?
Instead of emm-dashes I get struck-out text surrounded with single hyphens. RedCloth 3.0.4: >> d = RedCloth.new "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --" => "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --" >> d.to_html => "<p><del>- hyphens to the left of me, hyphens
2006 Aug 15
2
to_xml and underscores
hi, i am looking for a solution whereupon calling myEntityObject.to_xml does not convert my attributes containing underscores into hyphens. at the moment an attribute named "my_own_attribute" is converted into <my-own-attribute>. does anybody have an idea how to change that and have to_xml generate <my_own_attribute> thanks ciao robertj -- Posted via
2006 Aug 30
7
Hyphens
Hi there, I''m working with some legacy data where customer phone numbers are stored with hyphens between the area code, exchange, and number (e.g. 555-555-5555). Is this the best way to store a phone number? Perhaps not, but it''s the way they were being stored, so I have to work with this format. Right, so when I save a record the log tells me acts_as_ferret indexed the
2005 Nov 03
1
Builder / rxml views: hyphens in XML element names
I''m having a strange problem with an rxml view - it won''t let me put hyphens in the names of XML elements. The original problem line was: xml.VISA-SSL do But in any other place, if I insert a hyphen into the name of any arbitrary element, I get the following kind of error: undefined method `theTextAfterTheHyphen'' for #<#<Class:0xb7617180>:0xb7616f28>
2016 Apr 25
1
Please assist -- Unable to remove '-' character from char vector--
Thank you Jim, The code did assist me to get the what I needed. Also, I learnt that there are different types of dashes (en-dash/em-dash/hyphen) as explained on this site : http://www.punctuationmatters.com/hyphen-dash-n-dash-and-m-dash/ I achieved it by executing below command after going through this page on stackoverflow:
2009 Apr 18
1
RESTful posting
I''m implementing a Rails front end to a Windows system by using RESTful web services to send data back and forth. Luckyly all the business objects in the Windows system know how to serialize themselves into XML so it''s not too complicated. But when I looked at the XML that gets sent back to the service in a POST when you do a myresource.save, all the fields that had underscores
2016 May 01
1
E-mail advice sought
On 01/05/16 13:23, Alice Wonder wrote: > On 05/01/2016 05:10 AM, Alice Wonder wrote: >> >> I think this is my autism coming in to play, I think what is very clear >> to me I just am not able to adequately communicate because clearly >> people are not even remotely grasping what I am trying to convey. >> > > Basically whether it is a white list or a black list
2010 Feb 03
4
Header in read.table() function
Hi, I wanted to read in a table that had hyphens in the header / column names. When I read it in however, it replaces the hyphens with a dot. Which parameter in the read.table function do I need to set to change this behaviour? Example code: jm <- matrix(1:4,2,2) rownames(jm) <- c('a','b') colnames(jm) <- c('a-1','a-2')
2016 Apr 25
0
Please assist -- Unable to remove '-' character from char vector--
Hi Sunny, Try this: # notice that I have replaced the fancy hyphens with real hyphens end<-c("2001-","1992-","2013-","2013-","2013-","2013-", "1993-2007","2010-","2012-","1984-1992","1996-","2015-") splitends<-sapply(end,strsplit,"-") last_bit(x)
2007 Jul 03
0
PHP Markdown 1.0.1g & Extra 1.1.3
This is a bug-fix release for PHP Markdown and PHP Markdown Extra. It's almost identical to version 1.0.2b8, minus the new features introduced in the 1.0.2 betas (shortcut links, markdown attribute support for plain PHP Markdown), plus a few minor improvements. You can download PHP Markdown & Extra from the project page: <http://www.michelf.com/projects/php-markdown/> Here
2007 May 21
0
PHP Markdown 1.0.2b8 & Extra 1.1.3b1
Bug fixes for PHP Markdown & Extra, available as beta version for now. You can download them from these URLs. <http://www.michelf.com/docs/projets/php-markdown-1.0.2b8.zip> <http://www.michelf.com/docs/projets/php-markdown-extra-1.1.3b1.zip> One noticeable change in these releases is that PHP Markdown now outputs numeric character references for escaped characters (like
2012 Jan 13
1
Markdown-Discuss Digest, Vol 106, Issue 4
> The only problem as I see it is that three dashes produce a long dash > and a hyphen rather than an em-dash, although two dashes seem to work > well. But investigating that will have to wait for the morrow! I'm afraid you are confusing two different replies. SmartyPants looks for two hyphens (or tee dashes) and turns them into an em dash. The three dashes is for another
2007 Apr 01
0
No subject
If the --lsbsysinit option is not given then the names must consist entirely of upper and lower case letters, digits, underscores, and hyphens. If the --lsbsysinit option is given, then the names must not end in .dpkg-old or .dpkg-dist or .dpkg-new or .dpkg-tmp, and must belong to one or more of the following namespaces: the LANANA-assigned namespace (^[a-z0-9]+$); the LSB
2005 Jul 13
0
Search with specified charset
I've seen a problem with searching in the Prayer webmail client that turns out to be caused by Prayer insisting on a charset called "ISO-8859-1" and Dovecot, using Solaris iconv, not recognising it (all the Solaris 8 iconv modules appear to be "ISO8859-1" etc. or just "8859-1"). This isn't a problem in Linux: % iconv --list | grep 8859.1/ 8859_1//
2006 Dec 03
0
How to best change the default value of dasherize (using Edge Rails, and knowing about :dasherize => false)?
Hi all, I''m trying to turn off dasherize in all cases, since converting underscores to hyphens breaks the way that I want to handle XML (with E4X in Flex 2). I''ve read the other threads about dasherize on this list. I''m on Edge Rails, so I can successfully turn off dasherize for a single usage with something like render :xml => @task.to_xml(:dasherize => false)
2019 Jun 14
1
[R] Open a file which name contains a tilde
Hi John, First, the unix and linux filesystem allows the use of any nonzero character in its filesystem filenames and the c functions open / fopen, symlink. rename, chdir and so on don't care about any tilde. If the open systemcall gets a file which begins with a tilde then it will try to open this filename without any preceding modification. So the tilde expansion is not really a unix
2006 Aug 24
1
Hyphenated terms
I am having a problem with any terms which contain hyphens in them. Is there a particular reason why this wouldn''t work? i''m using aaf, and have tried with the the previous version (pre 0.10.0) and the newest versions of both ferret and aaf. Basically, the problem is that term1-term2 is something my users want to search for, and it appears in the titles of publications,
2013 Jan 23
1
hyphen replaced by period in header when using read.table
To Whom It May Concern: I have noticed that all of the hyphens ("-") are changed to periods (".") when I try to read.table() and the headers contain "-" I am using R 2.13 on a RedHat system. Here is the situation: I have the following a tab-delimited text file saved as test.txt File1-a.txt File1-b.txt File2-a.txt File2-b.txt 1 1 2 1 1 2 3 2 1 1 2 3
2013 Jun 04
3
Administrative mailbox deletions
I'm in the process of nuking a bunch of dead mailboxes after they've been migrated to other servers - but the accounts have been kept. A simple shell script takes care of most of it, BUT.... (there's always a "but" isn't there?) One user has named all his mailboxes with leading hyphens. ie: -foo -bar -bazz and "doveadm mailbox delete" doesn't like it.