similar to: [patch] improve reliability of Inflector.transliterate

Displaying 20 results from an estimated 100 matches similar to: "[patch] improve reliability of Inflector.transliterate"

2008 Feb 06
0
CVS log for rsync/patches/transliterate.diff
On Wed, 2008-02-06 at 17:36 +0100, Frank Purmann wrote: > Your patch should solve my problem but I can not download the patch. > > http://cvs.samba.org/cgi-bin/cvsweb/~checkout~/rsync/patches/transliterate.diff?rev=1.1&content-type=text/plain gives me an error. For some reason, downloading files from the cvsweb interface is broken. You can find the patch here instead:
2006 Jul 24
0
Inflector stops on the first match
Hi there. I''m checking the Inflector code there and found, for example, on singularize: inflections.singulars.each { |(rule, replacement)| break if result.gsub!(rule, replacement) } This means that when it finds the first match, it breaks and stops processing rules? And what if I need to deal with more that one rule on the same string? For example, working on the middle and the end
2006 Jun 01
0
Segmentation fault in inflector.rb
Hi, I have finally given up and am desperately hoping for some help. I have developed rails using MySQL-5.0.20a-nt. The application run without any problem in developement environment. Now unfortunately in production I have MySQL-4.1.11. Same application I try to run in production (with mysql 4.1.11) it crashes with the following error. I have no clue why it is doing that. I have been
2006 Jul 23
0
[PATCH] Inflector docs minor bug fixes and extra examples
Hi, I can''t seem to make a new ticket on trac so I''ve attached is a pretty simple patch for the inflector docs. I found a couple minor bugs in these docs and added a few extra examples were appropriate. I haven''t figured out how to unit test docs yet. Hopefully that''s ok :) Peter _______________________________________________ Rails-core mailing list
2005 Mar 16
1
Is there an opposite of Inflector.Camelize
Or to put it another way, is there a function f, such that Inflector.f(Inflector.Camelize(x)) = x ? Enquiring minds need to know. Adelle.
2008 Mar 06
1
Was "Inflector" moved in Rails 2.0?
Trying to place the following code in my "environment.rb" file is throwing an "uninitialized constant Inflector (NameError)". Did they move where these types of customized rules were supposed to be declared? ******CODE****** Inflector.inflections do |inflect| inflect.uncountable("media") end -- Posted via http://www.ruby-forum.com/.
2006 Sep 05
1
Inflector::pluralize("Agencies")=="Agency" ?
The result of Inflector::pluralize("Agency") is correctly "Agencies", but pluralize again and it goes back to the singular ? Is this as expected ? Also, I have a need to know if a word is singular or plural, and to convert it to one or the other regardless of it already being so. Anyway, I''ve written these which seem to work. Do they already exist somewhere ? def
2008 Sep 20
2
NameError: uninitialized constant Inflector
I follwed the example here: http://dekstop.de/weblog/2005/12/rails_inflector_in_ruby_scripts/ #!/usr/bin/ruby require ''rubygems'' require ''active_support/inflector'' puts Inflector.singularize(''inflections'') I loaded it into irb and wrote a killer script both of which worked perfectly for weeks. Now when I try and run the script or run
2010 Mar 09
0
[LLVMdev] Transliteration (Asm2c)
Hello, I know that I can decompile (and translate to C) a x86 program via IDA and Hex-ray (http://www.hex-rays.com/compare.shtml) but for orthers architectures this program doesn't exist. So, I would like to know LLVM can convert from assembly language to C. This operation is named transliteration.... Do you know if the LLVM can do that via the JIT compiler? Is it possible to generate a C
2010 Mar 08
0
[LLVMdev] Transliteration
Hello Vikram and Chris, I know that I can decompile (and translate to C) an x86 program via IDA and Hex-ray (http://www.hex-rays.com/compare.shtml) but for the n64 this program doesn't exist. So, I would like to write this decompiler (N64 to asm/mips to C). This operation is named transliteration.... Do you know if the LLVM can do that via the JIT compiler ( = asm to C conversion)? Is it
2008 Mar 27
0
Can the transliteration patch be added to the mainline code?
Hi all, I've just recently started using rsync for backing up systems locally and remotely and it's very cool. However, since one of my backup servers is a Windows 2000 box (using cwRsync), I need to use the transliteration patch (which allows conversion of characters that are illegal in Windows filenames into something else before using them). Is it possible that this patch could make
2007 Oct 30
5
rsync and translating restricted NTFS filename characters
I am backing up files from Linux to a NTFS using rsync. I have the NTFS mounted on Linux via CIFS. I am discovering errors while attempting to backup files with restricted NTFS characters, like : [colon]. For example, I am unable to backup my crucial maildirs, as a colon is encoded in each Linux file path. Is there a solution to rsync Linux file paths with restricted NTFS characters, to NTFS?
2009 Jan 24
2
[patch] Replace illegal characters in filenames for FAT (switch)
This patch adds a switch --fat-filenames which replaces all characters that aren't legal on FAT filesystems with an underscore. This is the first time I touch the rsync code, so I may not be going about it the right way, but it seems to be working. Naturally there's some potential for collisions, but it's probably better than what happens currently (such files are simply not copied).
2001 Mar 23
1
newbie questions: attached data.frames and rm()
Hi I'm just starting with R-plus and I have noticed the following behaviour. If a data.frame is attached and then removed before being detached, the data is still present in the path and can accessed. Is this expected behaviour, and if so why? Thank you Loui below is sample code to show this, I'm using R-1.2.2 on Win-NT4 AA <- c(1, 1, 1, 1, 1) BB <- c(2, 3, 2, 1, 2) data1
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2008 Feb 07
0
DO NOT REPLY [Bug 2938] Escape Colons in Filenames
https://bugzilla.samba.org/show_bug.cgi?id=2938 ------- Comment #4 from matt@mattmccutchen.net 2008-02-06 21:24 CST ------- The transliterate patch provides a way to delete the offending colons or replace them with another character: http://rsync.samba.org/ftp/rsync/patches/transliterate.diff -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are
2005 May 26
1
samba-ldap and cyrillic
Hi all, i installed a new linux with russian support. I now want to configure Samba and OpenLDAP, but i have many problems for users and groups accounts. Can i create a user account with cyrillic caracter (as i can on Windows) ? It looks that i can't as memberUid attribute need to be in ASCII mode. So how do russian people do ? I imagine that they use cyrillic caracter for their login name,
2012 Oct 13
0
[ANNOUNCE] xscope 1.3.99.901
This is a release candidate for xscope 1.4, which includes these new features: - RANDR decoding updated from just 0.x protocol to handle 1.0 - 1.4 - Atoms recorded from InternAtom & GetAtomName to use for display in other requests referencing the atoms - Property requests now also show these property types in a more natural format instead of as just lists of bytes: UTF8_STRING, atoms,
2009 Jul 07
2
Newbie need help windows server 2008 on XEN in Linux fails to start
Hello, I need help with a windows server 2008 or windows in general using in XEN: Host: CentOS 5.3 Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux fstab: LABEL=/ / ext3 defaults 1 1 LABEL=/boot1 /boot ext3 defaults 1 2 tmpfs