search for: cuong

Displaying 20 results from an estimated 26 matches for "cuong".

Did you mean: cong
2005 Oct 05
3
Shopping Cart: SKU and Product Confusion
Hi there, I''m at a loss... I was on the #ROR channel last night and spoke to a really helpful person (Defiler) who gave me some direction on building a shopping cart. Unfortunately, I wasn''t able to successfully get to where I need to go. This is the predicament I am currently finding myself in: I''m building a shopping cart for a client''s new website. They
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
Hi Cuong, > I am trying to avoid using stack memory (or mutable variable is the term > used in the tutorial). I am also trying to optimize the code as much as I > can before using optimizer passes such as mem2reg (to reduce the compile > time as well). I don't think there is much point in...
2006 Sep 04
4
Fields
Sorry for asking so many questions recently. Just wondered. I originally had acts_as_ferret in my model and I performed a few searches. I then decided to change this line to acts_as_ferret :fields => [ ?name? ] However when I perform searches it is still listing results with queries contained in fields other than the ''name'' field. How do i fix this? -- Posted via
2012 Nov 02
2
Rsync problem when connected to mirror site
...uot; rsync="/usr/bin/rsync -aviHz --delete --progress --timeout=10" # Centos mirror=rsync://rsync.gtlib.gatech.edu/centos #local=/data/mirrors/centos $rsync $mirror $local I've searched through Google, but have not found much. Does anybody know what this cause this problem? Thanks Cuong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20121102/a8220508/attachment.html>
2006 Aug 23
8
acts_as_ferret with Mongrel and Edge Rails
Hi there, Has anyone tried acts_as_ferret with Edge Rails and Mongrel? When I install the plugin to a project that has Edge Rails frozen, and the Mongrel gem installed, I can''t start the server. There''s no error, it just doesn''t start. I''ve used acts_as_ferret in the past with WEBrick, and stable Rails releases without a hitch. If I remove the
2013 Dec 09
1
[CentOS 6] Upgrade to the glusterfs version in base or in glusterfs-epel
Hi, I'm using glusterfs version 3.4.0 from gluster-epel[1]. Recently, I find out that there's a glusterfs version in base repo (3.4.0.36rhs). So, is it recommend to use that version instead of gluster-epel version? If yes, is there a guide to make the switch with no downtime? When run yum update glusterfs, I got the following error[2]. I found a guide[3]: > If you have replicated or
2006 May 28
3
Experience with RSpec
Anyone with experience with RSpec care to share? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/29c9ba64/attachment.html
2006 Feb 02
1
Accessing external library
Hi all, I have been trying to design a Web front end for common unix sysadmin tasks (similar to http://www.webmin.com) Does any one here have any recommendation as to how I can parse unix configuration file from Rails controller? Not trying to reinvent the wheel but just want to learn more about Rails. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
Thank you guys, now I understand the problem. I am trying to avoid using stack memory (or mutable variable is the term used in the tutorial). I am also trying to optimize the code as much as I can before using optimizer passes such as mem2reg (to reduce the compile time as well). With regards, --Cuong Duncan Sands wrote: > > Hi, > >>> entry: >>> .... >>> %34 = icmp ne i32 %33, 15 >>> br i1 %34, label %then, label %else >>> >>> then: ; preds = %entry >>> %returnValue = or...
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
...urnValue = or i1 true, false %returnValue2 = or i1 true, %returnValue Broken module found, compilation aborted! >From the code I can see all the operands are i1 type, so the 'or' instructions should be valid. Could some one give me some clues how to fix this problem? With Regards, --Cuong -- View this message in context: http://old.nabble.com/Avoiding-Constant-Folding-tp31838929p31838929.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
Hi, >> entry: >> .... >> %34 = icmp ne i32 %33, 15 >> br i1 %34, label %then, label %else >> >> then: ; preds = %entry >> %returnValue = or i1 true, false >> .... >> br label %ifmerge >> >> else: ; preds = %entry >> br label
2013 Dec 06
1
replace-brick failing - transport.address-family not specified
Hello, I have what I think is a fairly basic Gluster setup, however when I try to carry out a replace-brick operation it consistently fails... Here are the command line options: root at osh1:~# gluster volume info media Volume Name: media Type: Replicate Volume ID: 4c290928-ba1c-4a45-ac05-85365b4ea63a Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1:
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi, I''ve got AAA loaded and working. I now want to put a smarter login form on the sidebar of my site. If the user is not logged in, I''d like to display a typical form in the sidebar that collects the user ID/password and allows the user to login. If the user is logged in, the box should display something like ''Logged in user: FirstName Lastname'' and a
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO. Q: I want to use rails for creating a "master-detail" form. page layout will allow users to type in an "expense report header" and as many "expense report lines" as they need to. I understand how to wrap the final submit action using "transaction" to ensure the inserts to the database happen within the same
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
On Mon, Jun 13, 2011 at 5:33 PM, Cuong Pham <phamcuongbk at gmail.com> wrote: > > Hi All, > > My codegen is trying to generate some thing like this: > > entry: > .... >  %34 = icmp ne i32 %33, 15 >  br i1 %34, label %then, label %else > > then:                                             ; preds =...
2011 Jun 28
0
[LLVMdev] How to make X86FastISel generate code for some intrinsic functions
...ou guys please show me how to add support for this two Intrinsics? Pointing out one example would be great, I can follow to implement others. I just know that I need to modify X86FastISel::X86VisitIntrinsicCall(const IntrinsicInst &), but not sure what needed here :). Thank you in advance! --Cuong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110628/69e7098c/attachment.html>
2006 Jun 29
3
String: first character upcase?
Hi all Is there a function that makes the first character of a given string upcase? first_to_upper "canada" Thanks for help. :-) Joshua -- Posted via http://www.ruby-forum.com/.
2006 Apr 20
4
css
Hi im using this code below layout "loggedout_layout", :only => :login, :logout this part limits it to logout only, how can I get it to limit it to logout and login? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2006 Jul 14
2
RESTful thinking - Need some guidance.
This is my first time working with REST and XML. My goal is to access Google''s geocoding service using HTTP. Here''s the code I have so far: require ''open-uri'' require ''rexml/document'' include REXML url=''http://maps.google.com/maps/geo?'' address = ''q=1600 Amphitheatre Parkway Mountin View,CA'' address1 =
2005 Dec 16
12
validates_presence_of not working
Hi, I''m new to ruby and rails. I just created a simple update page and the update works fine if all form fields are filled in. However there is one field that should never be allowed to be blank. So I put this in my model: class Topic < ActiveRecord::Base validates_presence_of :dr_title validates_length_of :dr_title, :minimum => 1 So, when I submit the form with a blank