search for: mateo

Displaying 20 results from an estimated 231 matches for "mateo".

Did you mean: mate
2020 Nov 20
4
return (x+1) * 1000
...und the issue while debugging and corrected my code with surrounding parenthesis, but I was surprised that the R parser did not catch this syntactic error. This is especially poignant when we have to switch between languages like python where the original line would produce the desired result. Mateo. -- Mateo Obreg?n. On Friday, 20 November 2020 21:58:29 GMT Gabriel Becker wrote: > Hi all, > > I can confirm this occurs for me as well. > > The one thing that comes to mind is that there are certain larger > expressions that contain calls to return which we absolutely don...
2020 Nov 20
1
return (x+1) * 1000
I don't see how anything operating on the "result" of a return() call could be legal. The special semantics of the return() call is that it does **not** return control to the place it was called from, but rather to the location where its surrounding function(){} was called from. Mateo. -- Mateo Obreg?n. On Friday, 20 November 2020 22:52:58 GMT Duncan Murdoch wrote: > On 20/11/2020 5:36 p.m., Mateo Obreg?n wrote: > > I'm not thinking of complicated cases. > > > > This happened to me in a function that returns 10 minute slots > > > > slot...
2020 Nov 20
5
return (x+1) * 1000
...ug <- function (x) { return (x + 1) * 1000 } > bug(1) [1] 2 The return() call is not like any other function call that returns a value to the point where it was called from. I think this should straightforwardly be handled in the parser by flagging it as a syntactic error. Thoughts? Mateo. -- Mateo Obreg?n.
2010 Jul 11
10
dependent support for has_many through?
Given the following class Programmer < ActiveRecord::Base has_many :assignments has_many :projects, :through => :assignments end if I call Programmer#projects.clear, it will delete_all the joining assignments; however, I have a situation where I''d like the assignments to get destroyed instead so that their after_destroy callbacks get called. It would be simple to
2020 Nov 20
2
return (x+1) * 1000
...n Fri, Nov 20, 2020 at 3:27 PM D?nes T?th <toth.denes at kogentum.hu> wrote: > Or even more illustratively: > > uneval_after_return <- function(x) { > return(x) * stop("Not evaluated") > } > uneval_after_return(1) > # [1] 1 > > On 11/20/20 10:12 PM, Mateo Obreg?n wrote: > > Dear r-developers- > > > > After many years of using and coding in R and other languages, I came > across > > something that I think should be flagged by the parser: > > > > bug <- function (x) { > > return (x + 1) * 1000 >...
2020 Nov 20
0
return (x+1) * 1000
Perhaps the parser should warn if you use return() at all. It is rarely needed and is akin to the evil 'GOTO' statement in that it makes the flow of control less obvious to the reader. -Bill On Fri, Nov 20, 2020 at 2:37 PM Mateo Obreg?n <obregonmateo at gmail.com> wrote: > I'm not thinking of complicated cases. > > This happened to me in a function that returns 10 minute slots > > slot <- function (seconds) { > return (seconds %/% 600) * 600 > } > > Obviously I found the issue w...
2020 Nov 20
0
return (x+1) * 1000
On 20/11/2020 5:36 p.m., Mateo Obreg?n wrote: > I'm not thinking of complicated cases. > > This happened to me in a function that returns 10 minute slots > > slot <- function (seconds) { > return (seconds %/% 600) * 600 > } > > Obviously I found the issue while debugging and corrected my...
2010 Feb 24
5
XCP: Custom templates
...om template for XCP? Or edit an existing one? I know that I could create a VM and then exported as a template, but I would prefer to create a template like "Debian Lenny 5.0" that install debian from the network but with 64bits instead of the 32bits used by the template. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337 _______________________________________________ Xen-users mailing list Xen-users@lists.xens...
2020 Nov 20
1
return (x+1) * 1000
...occurs for me as well. > > The one thing that comes to mind is that there are certain larger > expressions that contain calls to return which we absolutely don't want to > be an error, e.g > > if(somestuff) > return(TRUE) > > > That said, the actual expression Mateo pointed out certainly does look like > an error (it definitely isn't going to do what the developer intended). > > I haven't looked at the parser much, to be honest. I assume there is > perhaps enough differentiation of if/else that return() could be allowed > within that but...
2006 Mar 08
12
AW: Problem booting domU
...39;phy:/vm_volumes/swap.dhcp1,sda3,w''] I think the system can not find the images, test it plz. I hope this will help :-) Regards Stefan -----Ursprüngliche Nachricht----- Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Angel L. Mateo Gesendet: Mittwoch, 8. März 2006 09:32 An: xen-users@lists.xensource.com Betreff: [*****SPAM***** HOM02EX - BA] - [Xen-users] Problem booting domU - Bayesian Filter detected spam Hello, I have just installed xen 3.0.1 in a debian sarge system. After some days of trying with binary distribution o...
2017 Apr 26
3
Problem with LMTP
...28. In my logs I have: Apr 26 12:54:17 musio12 dovecot: lmtp(2082): Fatal: master: service(lmtp): child 2082 killed with signal 11 (core dumped). As far as I could check the message is delivered in a later connection. I have enabled core dumped files, but how could I debug it? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
2017 May 11
3
Problem with LMTP
El 10/05/17 a las 12:26, Aki Tuomi escribi?: > > Can you please try again, with debugging symbols installed? > There it is -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337 -------------- next part -------------- A non-text attachment was scrubbed... Name: gdb.log Type: text/x-log Size: 5287 bytes Desc: not av...
2017 May 11
2
Problem with LMTP
On 11.05.2017 12:24, Aki Tuomi wrote: > > On 11.05.2017 11:26, Angel L. Mateo wrote: >> El 10/05/17 a las 12:26, Aki Tuomi escribi?: >>> Can you please try again, with debugging symbols installed? >>> >> There it is >> > Hi! > > This is a known bug and we are working on a fix. > > Aki Although it would be quite useful f...
2020 Nov 20
2
return (x+1) * 1000
...> > > > Or even more illustratively: > > > > uneval_after_return <- function(x) { > > return(x) * stop("Not evaluated") > > } > > uneval_after_return(1) > > # [1] 1 > > > > On 11/20/20 10:12 PM, Mateo Obreg?n wrote: > > > Dear r-developers- > > > > > > After many years of using and coding in R and other languages, I > > came across > > > something that I think should be flagged by the parser: > > > > > &gt...
2018 Sep 27
3
Custom variable
Hi, I know that there are some variables (as user or username) I could use inside dovecot. They are at https://wiki2.dovecot.org/Variables. My question is if I can create my own variables from attributes at my pass/user db and then use it inside dovecot configuration. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
2011 Aug 25
3
auth: Error: LDAP: Connection lost to LDAP server, reconnecting
...ovecot.org/dovecot-1.2/rev/355d5a40f7a7) to ignore these logs when the disconnection is because of idle timeouts. As far as I could see in this patch and 2.0.13 source code, this patch is already applied in 2.0. So I guess that the disconnection is for other problem, isn't it? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337
2011 Aug 19
4
Update indexes with dovecot 1.1
...il is delivered through the same server that the user is using for his imap connection, so the imap server could have this index unupdated. So I want to force an update (or at least nearly updated) in order to have the index updated in all servers at the time the user get to work. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337
2016 Feb 09
4
Accessing to mail as another user
...on, this value contains the original username..." what leads me to think that there is some way to change the user during the authentication process, but I don't know how or maybe I'm assuming wrong. Any help with this? Thank you [1] http://wiki.dovecot.org/Variables -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337
2018 Nov 10
2
Asignar distancias
Utilizo la función merge desde hace poco, pero no se me ocurre cómo utilizarla para esto. Yo pienso que se puede hacer con una combinación de ifelse-s pero no sé cómo. Seguro que hay más de una forma ce hacerlo. Quoting José María Mateos <chema en rinzewind.org>: > On Sat, Nov 10, 2018 at 07:54:19PM +0100, Manuel Mendoza wrote: >> Muy buenas. A ver si alguien puede echarme una mano. >> A partir de una matriz de distancias de 29 x 29 he obtenido una df1. >> Ahora tengo 841 filas con la distancia de cada...
2008 Sep 01
3
Report to a domU a change on a disk
...tch running xen 3.0.3) running different domUs. DomUs'' disks are LVM2 volumes. Now I have increased the size of one of these LVM volumes so I have to inform to the corresponding domU that its disk has increased its size (to resize it without unmounting it). How can I do this? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 _______________________________________________ Xen-users mailing list Xen-users@lists.xe...