Displaying 20 results from an estimated 4000 matches similar to: "Integrating script.aculo.us into existing javascript codebase"
2007 Jun 05
3
Mongrel/Apache mod_deflate question
Hi Folks,
We''re moving from a single lighttpd-hosted Rails box to a Apache/
mongrel cluster.
In lighttpd, mod_compress had a very nice feature:
if there''s a static file, it would compress it in a user-specified
compress folder. If the file hasn''t changed, it would just serve out
the compress file; if the file has changed, it would recompress it
and serve it out.
2006 Jun 07
1
Ruby threads?
First off, Ezra, thank you for putting out BackgrounDrb. Looks like a very
useful framework.
I have a newbie question about ruby threads. Are there any general things to
avoid doing when using ruby threads and rails?
Also specifically, will using BackgrounDrb avoid the socket problem
described in this link (extracted from Rails wiki):
2005 Jul 08
3
Problem with script.aculo.us 1.0
I just upgraded to the new version and now my storable containers are
not working. here is my code.
Sortable.create("leadstories",
{handle:''handle'',tag:''div'',containment:''leadstories'',onUpdate:
function(element) { new save_order(issueId,Sortable.serialize(element));
}});
Sortable.create("rightnav",
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) ,
but I am wondering if people know of some good real world
examples of uses of drag n drop and sortable lists.
such a cute script will likely be *ab*used as much as it is used.
obviously the point here is to use script.aculo.us to improve
the user interface rather than just have some k00l eFX.
e.g. the drag n drop instantly
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server
2007 Aug 01
0
The escapeHTML and unescapeHTML functions on Internet Explorer
I have a question about the escapeHTML and unescapeHTML functions.
I''m using the prototype.js in a project and noticed that Internet
Explorer needs to also have double quotes escaped/unescaped. Has
anyone else run into this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Nov 02
2
Rescue don't work on web applications
Hi,
I''ve a Rails application who starts a Ruby script .
The script is made via Web -> database.
Than you can select a script to start via a database list.
Problem:
In case of errors , I like to start a rescue showing the users the
problems.
render(:text => "<pre>" + CGI::escapeHTML(`
begin
/home/luc/radrails/cpe/public/startq_test.rb
2006 Jan 23
3
prototype.js: enumerable mixin for hash broken
Hello everyone.
I am not sure if this is the right place to post, please redirect me
if there is a mailinglist more specifically dealing with prototype.js.
After playing around with the very inspiring prototype library I have
found a rather annoying thing, that makes the usefulness of the
Enumerable mixin for Hashes
questionable, if I am not totally wrong (again :-).
Here an example:
2006 May 18
2
Utility to translate HTML character entities into text?
Anyone know of a Ruby utility that will translate HTML character
entities into text?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2014 Sep 25
2
[LLVMdev] MachineRegisterInfo use_iterator/reg_iterator?
Thanks Quentin. I'm trying to examine from the operands of the return
instruction, and then to get the last assignment of those. I thought
use_iterator/reg_iterator may suit better than just loop through the
machine basicblock in the reverse order.
Cheng-Chih
On Thu, Sep 25, 2014 at 1:51 PM, Quentin Colombet <qcolombet at apple.com>
wrote:
> Hi Cheng-Chih,
>
> On Sep 25,
2014 Sep 30
2
[LLVMdev] Custom pass that runs before EmitStartOfAsmFile()?
Hi all,
I'm trying to write a custom module-level pass that runs before AsmPrinter::EmitStartOfAsmFile(), since I'd like to have some processed information available once entering this function.
Looking through "Writing an LLVM pass" documentation, it's not clear to me if this is possible. I've also tried putting the pass in different orders (addPreISel, addIRPasses,
2014 Sep 25
2
[LLVMdev] MachineRegisterInfo use_iterator/reg_iterator?
Hi folks,
I would like to find out the machine instructions that use some given registers in the reverse order, and I came across these iterators (use_iterator/reg_iterator). However, there are two things I noticed:
1) These iterators seem to traverse the machine function a bit differently from what I get from the machine function dump. In other words, the use_iterator list is not constructed in
2014 Aug 15
2
[LLVMdev] Default/initial values for function arguments?
Hi guys,
I’m trying to figure out a way to assign initial values to function arguments. For a function in IR:
define i32 @main (i32 %0, i32 %1)
{
%tmp = add i32 %0, %1
...
}
I would like to make sure %0 has some initial value (e.g. i32 0) under some circumstances. Is there any easy way to do this? I understand that %0 comes from a live-in value which is defined from outside of the function. I
2015 Mar 18
2
[LLVMdev] missing register spills?
Hi folks,
I'm running into this weird issue where the register spills appear to be missing for an "if" block for some reason. For example, the original if/else blocks:
---
if reg0
// storeRegToStackSlot for reg1
// do something
- missing a load for reg1?
else
// storeRegToStackSlot for reg1
// do something
// loadRegFromStackSlot for reg1
end
----
I tried looking in the LLVM
2007 Dec 11
1
unescapeHTML return incorrect string under firefox
function testUnescapeHTML()
{
var testString = "<div><a hrer="#">test</a></div>"
}
this simple test function return string "<div><a href="#">test</a></
div>" under internet explorer,and return "<a herf="#">test</a>" under
firefox(strip <div> pair), how can
2011 Jun 15
19
[XCP] XCP network and VLAN by Open vSwitch
Hello Everyone,
I am new with XCP.
I''ve setup several hosts with* XCP 1.0* and manage it through XenCenter and
command console.
Each host has two NICs, one (xenbr0) connected to a physical switch for
Internet (said sw1), the other (xenbr3) connected to a physical switch for
internal network (said sw2).
I am trying to setup VMs and VLANs on xenbr3.
I created a virtual bridge by
2007 Feb 19
2
optimization for OLPC
Hi,
I heard that Theora will be used on OLPC.
Is anyone working on optimization for OLPC?
Regards,
Chih-Chung Chang
2008 Sep 05
3
Still confused on content blocks...
I''ve read the docs. Honestly. But, I still can''t get my site working
with the latest gem. I''m confused over when and how I need to specify
content blocks, and how these relate to the stuff in config.yaml.
The specific problem is with my analytics file include, I get errors like this:
An error has occurred: Error while processing
</analytics.en.html>: Error
2005 Jul 12
0
Drag and drop questions
Hi,
Thomas and David, thanks for updating script.aculo.us to be
compatible with IE7 and other Javascript libraries. I successfully
integrated the libraries with my project, OpenRecord.
I have a few drag and drop questions:
1) For my drag and drop event, I would like to the drop to do an
"add" if the option or alt key is pressed, and do a "move" otherwise.
Can I get
2007 Mar 25
3
MMX patch to speed up Theora decoding
Hi,
Attached is a patch against 1.0alpha7 to speed up Theora decoding. It
is about 15~20% faster in my test. It consists of following things:
* MMX loop filter based on Rudolf Marek's patch in
http://lists.xiph.org/pipermail/theora-dev/2005-August/002838.html
* MMX IDCT based on Rudolf Marek's patch in
http://lists.xiph.org/pipermail/theora-dev/2005-July/002816.html
and the code in