similar to: defining own exceptions in rails

Displaying 20 results from an estimated 20000 matches similar to: "defining own exceptions in rails"

2007 Jul 28
2
activerecord model constantize question
I have a variable called column with the value of "bla" (column = "bla") I have a model call Location where method bla is defined (amongst many other methods). What I would like to to is to call the method in Location defined in the variable column. I tried: Location.column.constantize but that gave me an error NoMethod. I am sure there is a very simple way in Ruby as
2019 Jun 10
2
[RFC] Expose user provided vector function for auto-vectorization.
> What is a `"logically"-widened alwaysinline wrapper for the vector function`? Can you provide an example? Also, what is the `tricky processing` you are referring to that the vectorizer should care about? For the case mentioned earlier: float MyAdd(float* a, int b) { return *a + b; } __declspec(vector_variant(implements(MyAdd(float *a, int b)),
2012 Sep 25
1
mapping data from table to .csv template
I have a .csv table named mailing.csv as below. It consist a receiver, subject and sender. Receiver subject sender 1 Adrian Cole RE: [WHIRR-117] Composable services Tom White 2 Adrian Cole RE: [WHIRR-117] Composable services Tom White 3 Adrian Cole RE: [WHIRR-117] Composable services Adrian Cole 4 Adrian Cole RE: [WHIRR-117]
2019 Jun 10
2
[RFC] Expose user provided vector function for auto-vectorization.
Hi Francesco, > I am crafting the attribute so that it makes it explicit that we are using OpenMP and we are expecting a Vector Function ABI. I just thought that another option would be to force FE to always emit "logically"-widened alwaysinline wrapper for the vector function that does the arguments processing according to ABI inside (we need that info in the FE anyway). That way
2020 Apr 11
2
Missing permissions
Hi Aki, Thanks. I was especially interested in documentation related to dovecot and it's users permissions, the way in which dovecot uses users. Till now I found only spread information on different articles from dovecot's website. Thanks, Mura Andrei On Sat, Apr 11, 2020 at 9:49 AM Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > Hi, > > >
2020 Apr 25
2
Creating folders
Maybe you need to subscribe to that folders? On 4/25/20 3:07 PM, Andrei Petru Mura wrote: > Rectification: For example, created a_folder would be found on server > under Maildir/cur/.b_dir. > would be: > For example, created a_folder would be found on server under > Maildir/cur/.a_folder. > > On Sat, Apr 25, 2020 at 2:45 PM Andrei Petru Mura <mapandrei at gmail.com >
2012 Sep 26
1
Write table with data in other .csv template
Hi, I have a table with data, as below: dput(table): structure(list(Adrian.Cole = c(0L, 0L, 0L, 0L, 0L, 0L), Alison.Wong = c(0L, 0L, 0L, 0L, 0L, 0L), Andrei.Savu = c(0L, 0L, 0L, 0L, 0L, 0L), Bruno.Dumon = c(0L, 0L, 0L, 0L, 0L, 0L), Edward.J..Yoon = c(0L, 0L, 0L, 0L, 0L, 0L), Eugene.Koontz = c(0L, 0L, 0L, 0L, 0L, 0L), Jakob.Homan = c(0L, 0L, 0L, 0L, 0L, 0L), Kelvin.Kakugawa = c(0L, 0L,
2013 Feb 13
1
htaccess is not working
Hello, I'm new here, and after trying by myself, I'm looking for some help ... I have installed webalizer, on my CentOS 6 server. Root path for webalizer is /var/www/usage/ It's working, but after putting a .htaccess in /var/www/usage/ and the appropriate .htpasswd in /var/www/html/auth/ there is no password asked. Here are my files : .htacess : AuthName ?Veuillez vous
2020 Apr 11
2
Missing permissions
Hi Aki, Any documentation on this topic? Mura Andrei On Mon, Apr 6, 2020 at 5:27 PM Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > This is probably caused by systemd (or selinux or both). > > With systemd, you need to add > > ReadWritePaths=/home/mail > > to the systemd unit. > > Then you can check /var/log/audit/audit.log for any selinux specific >
2010 Nov 03
0
[LLVMdev] Static Profiling Algorithms in LLVM
Hi Jeff, There is an algorithm to build the dominator tree that is O(n2), where n is the number of nodes on the control flow graph. I believe exists another that is linear, but I don't which one of them is implemented in LLVM. The problem is that the branch predictor requires post dominance information. None of the LLVM basic passes require post dominance information (AFAIK), hence it is
2015 Apr 14
1
state of IPSec VPN on CentOS 7: Openswan, strongSwan, RPM packages
On 2015-04-14 11:44, Eero Volotinen wrote: > 2015-04-14 21:40 GMT+03:00 Florin Andrei <florin at andrei.myip.org>: >> >> http://serverfault.com/a/655752/24406 >> >> If that is accurate, the documentation, and the clustering / load >> balancing might tilt the balance in the direction of strongSwan. >> >> > Well, both packages can do ipsec to
2010 Nov 03
2
[LLVMdev] Static Profiling Algorithms in LLVM
You said it was expensive, but if you had to put a big-o estimate on it, what would it be? -Thanks Jeff Kunkel On Tue, Nov 2, 2010 at 8:54 PM, Andrei Alvares <logytech at gmail.com> wrote: > Hello Jeff, > > On Tue, Nov 2, 2010 at 9:17 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: > > My god! I would love a branch predictor! It would simplify many aspects > of >
2007 Oct 04
7
rolling your own kernel - guidelines?
Let's say I want to use a much newer kernel - even one from the future, such as the upcoming 2.6.24. :-) What would y'all smart folks do in this case, in order to avoid any possible nasty consequences? Would you import the config file from the original CentOS5 kernel into the new kernel, and let the kernel deal with the differences? I.e. have the old configuration as some sort of
2015 Apr 14
2
state of IPSec VPN on CentOS 7: Openswan, strongSwan, RPM packages
On 2015-04-14 11:25, Gordon Messmer wrote: > On 04/14/2015 11:07 AM, Florin Andrei wrote: >> I looked in the yum repositories for CentOS 7 and I noticed that there >> are no packages for any of the major open source IPSec VPN apps - >> Openswan, strongSwan, etc. I'm pretty sure CentOS 6 had Openswan >> packages. > > libreswan replaced openswan, and is
2010 Nov 03
0
[LLVMdev] Static Profiling Algorithms in LLVM
Hello Jeff, On Tue, Nov 2, 2010 at 9:17 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: > My god! I would love a branch predictor! It would simplify many aspects of > my register allocator. The branch predictor of the implementation is not as accurate as the one from the paper, but it is close enough. Unfortunately, the branch predictor is a very expensive pass, because it relies on
2019 Apr 28
2
[GSoC] Supporting Efficiently the Shift-vector Instructions of the Connex Vector Processor
Hello, Anton, I'd like to add a small reply regarding this GSoC project that I would like to mentor and I discussed also with Andrei. A good part of our GSoC project is indeed related to this Connex back end that it's not yet part of the LLVM source repository - an important thing proposed in the project is that we plan to perform efficient realignment for this Connex vector
2010 Nov 02
2
[LLVMdev] Static Profiling Algorithms in LLVM
My god! I would love a branch predictor! It would simplify many aspects of my register allocator. Second, I am surprised it did not make it into the tree. Since more is being done with register allocation as a while "RegAllocBasic" was just put in, I hope this is looked at again. Do you have a working svn copy? Also, could you send me a copy/link to that '94 paper off the list
2004 Dec 23
1
Polycom 600 problem
Andrei, Do you have X-Windows running on the linux box? I had a similar issue that was eliminated when I stopped this process and samba from running. Now samba is only allowed to come up during non-business hours, for changing BG music. Also, make sure your registration period in either (polycom) ipmd.cfg or sip.cfg is set to be at least the default 3600 time period. I also removed the
2020 Apr 04
1
Disabling system users from mail
Hi Aki, <snip/> > Do you mean anything via this? > > > > > I want to disable accounts for system users. Only virtual users will > have accounts (not configured yet). Is this possible? > > > > Thanks, > > Mura Andrei > > Hi! > > System users are only enabled if you use pam/passwd/shadow drivers. They > are not enabled by default. > I
2020 Apr 13
1
%d ignored from auth-passwdfile.conf.ext configuration file
I tried to log in as test at some_domain. From thunderbird client. Although, I get this logged after before mentioned log: imap-login: Disconnected (auth failed, 2 attempts in 14 secs): user=<test>, method=PLAIN, rip=some.ip.addr.here, lip=another.ip.addr.here, TLS, session=<rQT+ziijGE1tpoAB> On Mon, Apr 13, 2020 at 1:16 PM Ivo < c.e4ed1a035298f9021dcfbca4d511c303 at ultra.hr>