similar to: UTF-8 String.strip bug (and several over methods)

Displaying 20 results from an estimated 1000 matches similar to: "UTF-8 String.strip bug (and several over methods)"

2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all, In response to Rodrigo Rosas''s message about mb_chars.upcase not giving the expected result on 1.9, I''ve done some work in a fork to make String#mb_chars always return an instance of a proxy class, both with Ruby 1.8 and Ruby 1.9. The end result of the patch is (hopefully) to make Rails'' multibyte functionality behave the same way in 1.8.7 and 1.9.x.
2010 May 26
25
Extremely slow start up with ruby 1.9.1 vs 1.8.7
I created a fresh new rails app, no gems, no nothing. Completely unmodified. Doing anything that initializes rails takes 2 - 3 times longer in ruby 1.9.1 than it does in 1.8.7. Obviously with a fresh rails app, this is only 2 - 3 seconds extra. But with a decent sized app, this can take up to 25 seconds for rails to initialize, vs the 12 seconds in 1.8.7. I''ve been racking my brain on
2011 May 12
1
RegExp does not match
Hi, When I try this on IRB it works fine as follows: >>/\A[\w+\-.!#$\%&''*\/\=?^`{|}~]+@[a-z\d\-.]+\.[a-z]+\z/.match("jd!#$\%&''*+-/=?^_`{|}~oe-PV5Ro7/Mrj4@public.gmane.org") => #<MatchData "jd!%&''*+-/=?^_`{|}~oe-PV5Ro7/Mrj4@public.gmane.org"> When I try it through my Ruby on Rails program I get a nil. Any idea what is
2011 Nov 24
1
III Jornadas de Usuarios de R (Madrid - 17, 18 Noviembre 2011)
Hola. Quizá resulte demasiado "laborioso" el hacer un resumen completo de las III Jornadas (o a mí se me antoja ciertamente complicado). Lo que sí puedo hacer es dar unas pinceladas (a mi modo y desde mi perspectiva) del evento. Aunque las Jornadas comenzaban oficialmente el Jueves 17 de Noviembre, la verdad es que el Miércoles por la tarde ya pululaban por Madrid algunos de los
2010 Sep 14
7
II jornadas
Estimados usuarios de R en Castellano Hace meses la Escuela Politécnica de Mieres asumió la organización de las II Jornadas de Usuarios de R en Castellano. Como miembro del comité organizador, os envío una primera propuesta del programa a realizar, en la que las comunicaciones se prevé inicialmente se dividan en cuatro temáticas: 1. Aplicaciones industriales. 2. Aplicaciones médicas. 3.
2016 Feb 08
3
tamaño de rolling window (series temporales)
Hola!! Estoy intentando evaluar mi modelo de series temporales (uso auto.arima). Para ello he implemetado el método "rolling window" que se basa en ir añadiendo progresivamente datos al conjunto de train para testar el modelo. Por ejemplo: - Train: 1 año, test: día 1 (24 observaciones, una por hora) --> evalúo ese día (RMSE por ejemplo) - Train: 1 año + 1 día, test: día 2 -->
2010 Jun 09
1
[patch] fix bytesize in exception template; multibyte titleize
Hi all, I wanted to draw some attention to a couple of very small multibyte-related patches I believe should be included before Rails 3.0 RC1: * Use String#bytesize rather than String#length in exception templates: This is a simple case where string length is checked, but bytes is needed, so it breaks with string with multibyte chars.
2018 Oct 30
3
Problem with rights in samba 4.9.0
good afternoon everyone, I have a problem that I can not solve I have installed a samba 4.9.0 in centos 7.5 using XFS. In the DPTO share I have the departmental folders, which I gave the rights to the groups. The problem: when a user creates a file within some sub-folders the group's rights do not arrive in the file is read-only. When the user accesses a website and downloads
2010 Aug 17
2
snapshot limit?
Is there a limit to the number of snapshots that can exist on a file system concurrently? Did I read something here recently about a limit to the number of paths by which a file could be known? If there are limits, then what happens when I bump into or exceed that limit? --rich -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to
2007 Nov 07
16
file access with mongrel running as windows service
i have an archive of documents (word, excel, jpeg, png, gif...) residing on a network share that is accessed via send_file. when running mongrel on the command line the files are properly delivered. with mongrel running as a service they don''t. now normally i would think that should be fixable by configuring the service to run under a user that can read the files.... but
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error : /Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...)
2001 Nov 28
17
problem of access with files accentuated
I need of helps for do backup of a server windows2000(english). In the files accentuated, presents to following message: ERRDOS - ERRbadfile (File not found.) opening remote file \f\adm\Arquivos diversos e tempor rios\Tabela Master de Importaao.xls (\f\adm\Arquivos diversos e temporarios\ They are more of 60 pages with this message. When I rename the name of the file to without accent, it
2017 Jun 06
2
API REE
Hola Javier, Hola usuarios, Muchas gracias por contestar y por el interés. Sí es cierto que re-leyendo el correo la información es escasa? Red Eléctrica, a través de ESIOS https://www.esios.ree.es , publica los datos del mercado eléctrico. Estos datos pueden descargarse a través de la web de la API: https://api.esios.ree.es Si ponemos un ejemplo concreto, para saber los precios del
2010 Aug 12
4
can't unmount
I''m running into a situation where I can''t unmount a mounted snapshot. It shows "busy" even though neither lsof nor fuser show any open files. Umount -f doesn''t work although umount -l does. Is there anything else I can do to debug this scenario or to clear the busy status myself? Or am I down to rebooting each time? This is on stock ubuntu-10.04, x86.
2017 Jun 05
2
API REE
Hola, Estoy intentando descargar datos de la API de ESIOS, de REE, pero estoy teniendo problemas al introducir el token. Estoy usando httr, rCurl y jsonlite. Alguien ha podido descargar los datos? Cómo lo ha hecho? Gracias, Javier [[alternative HTML version deleted]]
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c
2008 Oct 13
4
Support for CAF in flac command-line?
Brian Willoughby <brianw at sounds.wa.com> wrote: > Hello all, > > Is anyone here potentially up to the task of adding support for CAF > (the CoreAudio Format) into the flac command-line? ... > I've already made some recordings > that are so long that they cannot be uncompressed from FLAC to WAV or > AIFF because they would exceed 4 GB - the maximum file size for
2010 Apr 02
2
Uncaught exception failed to allocate memory
Hi! I have a recipe that''s supposed to download ree from a master and install it. It looks like: # Install ree file { "/root/puppet-setup/ruby- enterprise_1.8.7-2010.01_amd64.deb": source => "puppet://$servername/files/ruby- enterprise_1.8.7-2010.01_amd64.deb", mode => 0644, owner => root, group => root, notify =>
2020 May 14
2
can't stream Opus in CAF format
Using FFmpeg, I can stream to a file on disk okay: c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek High Definition Audio)" -c:a libopus -ac 1 -b:a 32000 live.caf But, if I add Icey metadata, FFmpeg throws errors: c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek High Definition Audio)" -c:a libopus -ac 1 -b:a 32000^ -ice_name
2008 Oct 13
6
Support for CAF in flac command-line?
Hello all, Is anyone here potentially up to the task of adding support for CAF (the CoreAudio Format) into the flac command-line? This would present minimal difficulty under OSX, due to the presence of the CoreAudio API, but the real challenge would be to support CAF on Unix and Windows - everywhere that flac is now available. Although the format is rather unknown, there are some very