similar to: Controllers, refactoring, routes, filters...

Displaying 20 results from an estimated 20000 matches similar to: "Controllers, refactoring, routes, filters..."

2012 May 07
1
[LLVMdev] TableGen backend API refactoring.
tl;dr: is anyone opposed to making the interface to a TableGen backend be: void MyBackend(RecordKeeper &, raw_ostream & /* maybe some other args, per backend's needs */); ?? Currently, this is the "interface" for a TableGen backend: struct TableGenBackend { virtual void anchor(); virtual ~TableGenBackend() {} // run - All TableGen backends should implement the run
2019 Jul 15
2
MachinePipeliner refactoring
Hi Brendan (and friends of MachinePipeliner, +llvm-dev for openness), Over the past week or so I've been attempting to extend the MachinePipeliner to support different idioms of code generation. To make this a bit more concrete, there are two areas where the currently generated code could be improved depending on architecture: 1) The epilog blocks peel off the final iterations in reverse
2019 Jul 15
1
MachinePipeliner refactoring
Hi James: Personally, I like the idea of refactoring and more abstraction, But unfortunately, I don't know enough about the edges cases either. BTW: the prototype is still causing quite some Asseertions in PowerPC - some nodes are not generated in correct order. Best, Jinsong Ji (纪金松), PhD. XL/LLVM on Power Compiler Development E-mail: jji at us.ibm.com From: James Molloy <james at
2011 Jul 01
6
Cluster Failover Troubleshooting (luci and ricci)
Hello all. I posted this in the forum and was told to instead post it to the mailing list. My apologies for the redundancy if you have already seen and been irritated by my blatherings. Thanks. _________________________ I am working on a CentOS clustered LAMP stack and running into problems. I have searched extensively and have come up empty. Here's my setup: Two node cluster
2009 Mar 17
1
masqing a zone connected _via_ a tun.
Folk, My network is described and illustrated here. http://carnot.yi.org/NetworksPage.html To allow Cantor and Dalton, in the vpn zone connected to Joule through tun0, to SMTP to my ISP, I tried this in /etc/shorewall/masq. #INTERFACE SOURCE ADDRESS PROTO PORT(S) IPSEC MARK eth0 tun0 Shorewall complains. 07:21:58 Setting up Masquerading/SNAT... 07:21:58 To 0.0.0.0/0
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
Hi. I''ve heavily refactored an application. When I access http://0.0.0.0:3000/ I now get the stack trace at the end of this mail. My routes.rb: ActionController::Routing::Routes.draw do |map| map.connect '''', :controller => ''user/dashboard'', :action => ''boo'' map.connect '':controller/:action/:id'',
2011 Jan 16
1
Before and After Filters/Functions for Rails Routes
Hi I have an idea and I am not sure if is is already done.Right now to make url search engine friendly developers use to_param function of model class. Then they call to_s function to get the id of the elmenet. What if I want to create url for not model but for string. Lets say I create link for post controller''s search action. The only variable in the url is search_string. Si how
2007 Sep 14
4
Refactoring ActiveRecord's private methods
As it currently stands, ActiveRecord has alot of private and protected methods in the Base class. >> ActiveRecord::Base.methods.size => 427 >> ActiveRecord::Base.protected_methods.size => 32 >> ActiveRecord::Base.private_methods.size => 193 I really loved the suggestion by Courtenay in Refactoring AR::Base.find (http://groups.google.com/group/rubyonrails-core/
2007 Nov 24
0
Listing documents in two different controllers - refactor?
Hello, if I have a document model (not RESTful) that belongs_to document_category and a document controller with a list action, and I want to list document per category can I just pass the id of the category as the :id GET param of the list action and filter the documents for this category? I think that that this wouldn''t be semantically good since one would expect to get a list of all
2005 Jan 13
0
getent passwd problem
I'm using RH9, and I have compiled samba 3.0.1 compiled from sources, > with the following options: > ./configure --with-winbind --with-winbind-auth-challenge --with-pam \ > --with-acl-support --with-ldapsam --with-pam_smbpass \ --with-ads > --with-ldap --with-dce-dfs --with-smbwrapper --enable-pam > net ads join -S server.domain.com -U support worked fine.
2005 Jan 13
2
samba3+ADS
Hi , I'm using RH9, and I have compiled samba 3.0.1 compiled from sources, with the following options: ./configure --with-winbind --with-winbind-auth-challenge --with-pam \ --with-acl-support --with-ldapsam --with-pam_smbpass \ --with-ads --with-ldap --with-dce-dfs --with-smbwrapper --enable-pam net ads join -S server.domain.com -U support worked fine. I started winbindd.
2011 Mar 29
0
Issue / code smell in AssociationProxy
I came across an issue in my code and after a hard debug session I found something that smells. First the context of my issue. I have a AR object that has a polymorphic belongs_to currently tied to nothing, I want to dump it to YAML. record.to_yaml This raises the following exception: TypeError: wrong argument type nil (expected Data) from
2012 Apr 13
1
[PATCH] libxl/build: print a pretty message if flex/bison are needed but not found
This patchs adds better support for both Flex and Bison, which might be needed to compile libxl. Now configure script sets BISON and FLEX Makefile vars if bison and flex are found, but doesn''t complain if they are not found. Also, added some Makefile soccery to print a nice error message if Bison or Flex are needed but not found. Please run autogen after applying this patch.
2011 Jul 28
1
refactoring do-mounts out of kinit
So, today, I'm using kinit from our initramfs to handle early boot up sequence. Our init is actually a shell script that does a some setup stuff (plugging values into appropriate proc files mostly), and the script currently passes on to kinit by finishing with "exec /kinit "$@"". I have a situation now though, where due to some ubuntu weirdness, I seem to need to do
2010 Jul 28
2
unable to ./configure wine on FreeBSD 8
Hi I am on commit 20f51c29a99299384e840e148f02aae66bfb45be. FreeBSD freebsd.vaaraahi.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0 freebsd# ./configure checking build system type... i386-unknown-freebsd8.0 checking host system type... i386-unknown-freebsd8.0 checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default
2019 Jul 16
2
MachinePipeliner refactoring
Hi James, I also think that refactoring the code generation part is a great idea. That code is very complicated and difficult to maintain. I’ve wanted to rewrite that code for a long time, but just have never got to it. There are quite a few edge cases to handle (at least in the current code). I’ll take a deeper look at your patch. The abstractions that you mention, Stage and Block, are good
2009 Jun 09
0
Announcing oVirt 0.99
Announcing oVirt 0.99 ===================== We are pleased to announce the release of oVirt 0.99, a significant step forward in stability and feature set for oVirt project users. Some highlights from the change log: * Improved installer, oVirt Server will now install with an existing FreeIPA setup present rather than insisting on installing FreeIPA from scratch * Anyterm console support --
2010 Mar 06
5
unstable 4.0 config file/ build error
Hi,   The unstable repository seems to be quite unstable even building the image... !! I see:   make[4]: Entering directory `/foo/xen-unstable.hg/tools/libxl'' gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .xl.o.d  -D_LARGEFILE_SOURCE
2010 Mar 06
5
unstable 4.0 config file/ build error
Hi,   The unstable repository seems to be quite unstable even building the image... !! I see:   make[4]: Entering directory `/foo/xen-unstable.hg/tools/libxl'' gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .xl.o.d  -D_LARGEFILE_SOURCE
2009 Apr 29
1
Dynamic visualisation of R data using Adobe FLEX
Hi useRs, I had posted about Adobe FLEX talking to R for rich visualisation. Reply from Jeffery Horner contained links to the revolution-computing.com webpage which had information pertaining to the Bay Users R group Meetup on Web Dashboards with R. I have a very specific project that I need to implement. I wish to use the graphics capabilities provided by Adobe FLEX to visualise outputs from R.