Displaying 20 results from an estimated 3000 matches similar to: "Partials and helpers"
2012 May 23
8
Engine's Application Controller
Hi,
I''ve been using rails 3 engines and (at least in my experience) the engine''s application controller is overidden by the app''s application controller. Wouldn''t it be better if the app would just load on top of the engine?
I mean that if an engine''s application controller has methods or anything else that does not collide with the stuff defined
2013 Mar 15
5
link_to should have its body and url arguments reversed
I think the link_to helper method is quite confusing with its arguments
order:
link_to body, url
link_to "Click me", @person
Why is it thay way round? I want to make a "link to [the] person", so I
would expect the order to be:
link_to @person, "Click me"
It reads much more natural. You don''t "link to [the] body", you "link to
2012 May 25
2
Typecast values on change_column for postgresql
Hello,
Currently if you have a string column that have only number values (think a
year column using string by mistake) and you want to change to integer, you
can''t.
If you apply this monkey-patch will be possible:
https://gist.github.com/1393441
Note: if some value can''t be casted by postgresql (if have a letter for
example), the migration will fail as expected.
I think
2011 Aug 07
0
CPU Usage
Hi.
I have Xen (2.6.18-238.19.1.el5xen) running on Centos Release 5.6 (Final).
I have na issue regarding CPU Usage displayed on virt.manager.
Here de CPU usage is almost 100%, but if i check the Centos system monitor
it reports 2%.
Also on the cliente machine a 3% CPU Usage is shown on window resourse
monitor.
So, here comes that information? Is this realy a proble or just a
2020 Jun 24
2
Over-alignment of globals?
Hi,
If we specify an explicit alignment attribute for globals (either at
the Clang or LLVM IR level) we get asm alignment directives with
values that seem to be `max(natural_alignment, specified_alignment)`.
This seems to happen for multiple archs. GCC instead just emits the
asked-for alignment. Is there a good reason for this LLVM behavior?
Example:
https://godbolt.org/z/B5ZcN_ (Clang)
2008 Sep 17
1
[LLVMdev] link bytecode files into a native executable with debug info
Hello,
If you have one or more bytecode files with debug info, how do you
generate a native executable still with debug info?
I tried, for instance, this:
llvm-ld -native -disable-opt -o exec file1.bc file2.bc
but it doesn't seem to work.
Thanks,
Luís
2017 Jul 06
2
MSP430 code generation from LLVM IR
On Thu, Jul 6, 2017 at 2:19 AM, Tim Northover <t.p.northover at gmail.com>
wrote:
> On 5 July 2017 at 17:51, Luís Marques via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Cool. When I did that on macOS, LDC generated a lot of complaints,
> possibly
> > because it is assuming mach-o files. I tried changing from
> -mtriple=msp430
> > to
2017 Jul 05
3
MSP430 code generation from LLVM IR
Hello,
While trying to find out why the LDC compiler refuses to generate object
code for MSP430 targets (but generates MSP430 assembly or LLVM IR/bitcode),
I came across the following apparent inconsistency.
This works:
$ clang --target=msp430 -c test.c
This doesn't work:
$ clang --target=msp430 -S -emit-llvm test.c
$ llc -filetype=obj test.ll
/opt/msp430/bin/llc: target does not support
2006 Jun 23
1
Asterisk Users Group - Portugal
Boa tarde,
Ap?s alguma experi?ncia com o Asterisk, e com muito ainda para
aprender, gostaria de saber se h? algu?m nesta mailing list que
pretenda criar um Asterisk Users Group para Portugal.
Visto que acaba sempre por ser uma enorme aprendizagem ( valor
acrescentado) a partilha de experi?ncias/problemas e solu??es nas
implementa??es Asterisk.
H? spre detalhes que variam entre os Telco's de
2017 Jul 06
2
MSP430 code generation from LLVM IR
On Thu, Jul 6, 2017 at 1:35 AM, Nicholas Wilson <
iamthewilsonator at hotmail.com> wrote:
> Luís, try using the -no-integrated-as flag to execute the assembler for
> you.
> We should probably make that the default for MSP430.
>
Cool. When I did that on macOS, LDC generated a lot of complaints, possibly
because it is assuming mach-o files. I tried changing from -mtriple=msp430
2011 Oct 04
9
Postgresql adapter not working
Hello everyone. I''m starting with Rails going through the obvious
"Getting Started with Rails" guide:
http://guides.rubyonrails.org/getting_started.html
Everything goes smoothly until the rake db:create command, which
returns this strange error message referring to a gem that apparently
doesn''t exist:
Please install the postgresql adapter: `gem install activerecord-
2018 Jan 25
2
Problems getting nouveau to work with either Geforce GT710 or Geforce 9800GT on ARM Cortex-A9
On Thu, Jan 25, 2018 at 8:47 AM, Luís Mendes <luis.p.mendes at gmail.com> wrote:
> Sorry for alI these individual emails, but I think is more readable
> this way, by having each independent information in a separate email.
>
> I also have these additional cards that I can try: Gefoce GT 1030 and
> Geforce GTX 1050 Ti.
>
> I have tried Geforce GT 1030 and it is working
2005 Jan 19
1
Troubles with Broadvoice (register)
Hi!
Are you also getting in trouble while trying to register in Broadvoice?
Cumprimentos / Best regards,
Helder Rog?rio
__________________________________________
Microrede - Tecnologias de Informa??o, Ltd.
http://www.microrede.pt
***
? There are only two types of people in the world, those who have lost data
and those who will. ?
-- Richard Nixon
2005 May 27
1
bash 3.0 freezes
Hello centos users,
I download the bash 3.0 and compile it in CentOS 4.0 with or withiut all
patchs.
But when I execute the comand ls -l it freezes.
Any idea?
--
:) cumprimentos
--------------------------
Jos? Lu?s Faria
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 May 30
2
bash 3.0 freeze
Hello centos users,
I download the bash 3.0 and compile it in CentOS 4.0 with or withiut all
patchs.
But when I execute the comand ls -l it freezes.
Any idea?
--
:) cumprimentos
--------------------------
Jos? Lu?s Faria
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jun 02
14
ARP problems with xen 4.0 with pvops kernel
Hello,
Finally I managed to get a xen 4.0 working on ubuntu 10.04 with pvops
kernel and libvirt. However I am having some problems with networking...
after initial installation with netinstall image in hvm mode, when I
transform the vm in xen pv (via pygrub with the current ubuntu kernel),
networking startEd to act weird...
Basically I''m not using a network script from xen. I define a
2010 Jun 02
14
ARP problems with xen 4.0 with pvops kernel
Hello,
Finally I managed to get a xen 4.0 working on ubuntu 10.04 with pvops
kernel and libvirt. However I am having some problems with networking...
after initial installation with netinstall image in hvm mode, when I
transform the vm in xen pv (via pygrub with the current ubuntu kernel),
networking startEd to act weird...
Basically I''m not using a network script from xen. I define a
2018 Jan 25
2
Problems getting nouveau to work with either Geforce GT710 or Geforce 9800GT on ARM Cortex-A9
The Geforce 9800GT also shows different behaviour without nvidiafb in
the kernel. I get lengthy messages from nouveau, like the ones found
in the email attachment.
It also eventually gets into the lightdm login graphical screen, but
with this card the screen is highly distorted, despite the mouse
cursor being properly displayed and moving around properly.
Luis
On Thu, Jan 25, 2018 at 1:14 PM,
2011 Feb 25
4
Comparing snapshots?
Hi,
for a backup program I have to find all differing files
(including metadata) in two snapshots taken from the same
subvolume.
Having looked at the find-new command I thought about this
process:
1. Get the two transids when the two snapshots were created.
2. Query modifications to the original subvolume between the two
transids.
Is the general process corrent or have I overseen
2016 Jun 06
2
Doubts
Thanks, indeed it was on the LegalizeDAG.cpp and the information proved
very useful.
I also realized that the customization, promotion or expansion will occur
whenever any operand, with the same type as the type specified on the
second argument (MVT) of setOperationAction function, appears. (Correct me
if I'm wrong).
The second doubt I have regards instruction matching.
When I define a