similar to: Generate JS from RoR - strange delay with send_data

Displaying 20 results from an estimated 2000 matches similar to: "Generate JS from RoR - strange delay with send_data"

2007 Apr 23
3
Troubles with using gems in Rails
Hi! I''m observing some problems using gem inside Rails. My understanding is that after following sequence in irb: $ irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''active_record'' => true irb(main):003:0> gem ''acts_as_taggable'' => true I should have access to acts_as_tagable mixins, like:
2008 Oct 24
4
AR object return nil on save
Hi! I''m upgrading existing app from Rails 1.2.6 to 2.1.2. I have encountered following problem with AR objects. Model definition did not change and with 1.2.6: params={} params[:flight] = "1111" params[:airline] = "Air France" params[:luggage] = 0 r=Reservation.new params r.save is working code, new Reservation. With the same dataset, changing only
2008 Sep 04
3
MySQL connection collation
Hi! I have ran on problem with collations. In database.yml I have set: encoding: utf8, but when in console run: >> ActiveRecord::Base.connection.collation => "latin1_swedish_ci" It is Rails 2.1, mysql gem 2.7, mysql 5.1.22. This leads to errors like: Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation
2007 Aug 22
2
Sanitize my params and the create method
If I call .create on the param structure, are the parameters being passed to the create method automatically sanitized for me? e.g. Journalentry.create(param[:journalentry]) Do I have to worry about any malicious scripting making its way into the creation of the record? Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this
2006 Jul 20
3
Output to browser in .rhtml templates
Hi! In .rhtml template I''m trying to create some output, which should be sent to browser. But this is inside <% %> not <%= %>, so how can it be accomplished? Default output is directed to log file, so puts "output" does not send to browser but to log file... -- Posted via http://www.ruby-forum.com/.
2006 May 13
0
Rails version locking
Hi! I''ve run on issue with sticking to older rails version on my boxes. I tried to use http://wiki.rubyonrails.com/rails/pages/HowtoLockToSpecificRailsVersions but when running WEBrick (with proper changes to config/environment.rb), it thorws error: can''t activate rails (<= 1.0.0), already activated rails-1.1.2. I did play a little with debugger and found out, that it
2006 May 04
0
Debugging live app
Hi! I''m relative new one to RoR, and I have one concern regarding debugging. I''m looking for a way to debug live app. I can use breakpoints, but as far as I know they allow me to inspect application state in particular place in code. I can change this state, but I can''t see possibility to do something like step/next in gdb... Am I right, or is some way to get such
2004 Jan 12
2
LCR / Trollphone Rate Engine
Hi. Thank you to Olle, the Wiki, and Trollphone. I found the Trollphone Rate Engine listed on the Wiki at: http://www.voip-info.org/wiki-Asterisk+addon+rate-engine I'm not familiar with LCR yet, but this is something that I need to do. I have it all installed but am not familiar with the terminology. Can someone help me maybe figure out what some of these fields are for? mysql>
2018 Jul 09
4
NHW Project - some update
Hello, I don't have advanced on the NHW Project this past month, but I have definitely validated its characteristics and this new version. The NHW Codec preserves or enhances image neatness and sharpness, which translates that on good quality images the NHW Codec is globally better than HEVC, and on degraded (with blur, artifacts) images it is worse than HEVC because it lacks of precision. I
2017 Nov 27
2
NHW Project - speed comparison with x265
Hello, I am very slowly working on the NHW Project.I recently made a speed comparison with x265 and wanted to share it with you. On my processor Intel Core i5-6400, in average the NHW encoder (totally unoptimized) is x10 times faster to encode than x265 (png decoding time removed), in average 30ms vs 300ms for a 512x512 24bit color image, and in average the NHW decoder (totally unoptimized) is
2017 Aug 25
4
NHW Project - news with Xiph.org
Hello, These last 2 months, I have talked again with Monty Montgomery about the NHW Project and he told me that Xiph.org would like to encourage the NHW Project development.That's just great! I'll see what Monty will do on his side (and when he has time), but he also told me that the NHW codec has merits but there must be an effort to demonstrate them. The advantages, merits of the NHW
2018 Mar 10
2
NHW Project - lower quality settings
Hi David! Many thanks for your very encouraging and kind feedback!!! (Hope you don't mind that I made your post public on the Theora channel). I try to be the more sincere as I can in my posts.Some people suggested me to make demo pages to explain how the codec works step by step, and I realize that it would be good, because certainly it will show that the NHW codec is not that complex and
2018 Jul 10
1
NHW Project - some update
You're welcome! On Tue, Jul 10, 2018, 4:50 AM Raphael Canut <nhwcodec at gmail.com> wrote: > Hello Dave, > > Thank you very much for your help! > > Cheers, > Raphael > > 2018-07-10 9:39 GMT+02:00 Dave Johnson Games <davefilms.us at gmail.com>: > >> Let me do some looking. >> >> On Mon, Jul 9, 2018, 4:55 PM Raphael Canut <nhwcodec at
2021 Dec 02
1
NHW Project development
Raphael, Some 15 years ago I implemented limited functionality Theora in our cameras FPGA (it took me 6 month of hard labor), and then gave up - it is a very crowded space and it is difficult to compete with more advanced codecs. And for our other work we anyway need almost raw image data, so we are using JPEG-based JP4 format (https://community.elphel.com/jp4) that we originally developed for
2021 Dec 02
1
NHW Project development
Raphael, I do not believe it is possible to build a viable community around most hardware projects except super-universal based on very cheap/high-volume products like Pi or Arduino. We see the commercial benefits of Free Software/Open Hardware as it adds value to the hardware as users are ready to pay extra for the Freedom. Andrey ---- On Thu, 02 Dec 2021 12:59:34 -0700 Raphael Canut
2018 Apr 28
2
quality improvement of -l4, -l5, -l6 high compression settings
Thank you so much Sir!!! If you have time, do not hesitate to let us know what you would think of the NHW Project.Any remark, opinion would be very welcome! Many thanks again! Best regards, Raphael 2018-04-28 23:02 GMT+02:00 Dave Johnson Games <davefilms.us at gmail.com>: > Cool, I'll check it out. > > On Sat, Apr 28, 2018, 3:09 PM Raphael Canut <nhwcodec at gmail.com>
2018 Jul 15
3
x265 and NHW comparison images posted to https://nhwcodec.blogspot.com/?
Also, don't forget the option I gave you Ralph, where you can have access to one of my VPSes. We can create a subdomain for free, but if you want something like nhw.com, you'd have to register the domain name yourself, which wouldn't cost too much money.... Then I can help configure it to point to your page on my VPS. I'll host it all for free. You'll have your own user
2018 Apr 28
2
quality improvement of -l4, -l5, -l6 high compression settings
Hello Dave, Thank you very much for your support and your interest. Actually so few people took a look at the NHW Project, but with this version the NHW Project is becoming very interesting, it is royalty-free and very fast furthermore. Really if you could find time, I would be very interested in any opinion from the Xiph.org community! Cheers, Raphael 2018-04-28 21:40 GMT+02:00 Dave
2018 Aug 17
2
NHW Project - new -l8 "very high compression" setting
Hello, For those interested, I have added a -l8 "very high compression" setting to the NHW Project. I have added an experimental processing to remove details and preserve neatness.I have also now a fast estimation of entropy of wavelet coefficients and I use it accordingly to the image complexity but it is a very first version... With these new processings, the entropy coding schemes
2006 Jul 05
1
send_data image
I''m trying to display an image in a view from MySQL, but I''m not sure where to put the send_data call. Any help would be great. :) -- Posted via http://www.ruby-forum.com/.