search for: brod

Displaying 18 results from an estimated 18 matches for "brod".

Did you mean: brad
2010 Aug 19
4
Postgres, concurrency, and rails
I work on a fairly large website that uses Ruby 1.8.6 and Rails 1.2.3. We cannot upgrade as it will hopelessly break our code. We are working on a new version in Java but for the next year at least we are stuck with the legacy system. We use the latest version of Postgresql for the database using the postgres-pr gem. I am attempting to implement cron tasks within the system using Rufus Scheduler,
2019 Jul 11
1
Documentation tweak for ?traceback
The addition of `.traceback` in r70207 adds one more function to the call stack when invoking `traceback()`.? This changes the output of one of the examples to include the error handler call: > options(error = function() traceback(2)) > foo(2) [1] 1 Error in bar(2) : object 'a.variable.which.does.not.exist' not found 3: (function () ?? traceback(2))() at #1 2: bar(2) at #1 1:
2020 Jan 07
0
Another wish (?) for R 4.0.0: print(*, width = <n>)
For whatever my 2c are worth I think this would be nice.? I'm still uncomfortable at having to call `options` in my package `diffobj` to set output width. And since the topic is here, what about `show`?? Feels like it should accept `...` so that it too could be given some set of standard or non standard parameters, including `width`. Happy new decade. B. On Tuesday, January 7, 2020,
2020 Mar 06
1
findInterval Documentation Suggestion
...pen to providing a prose translation, but putting that in the details? If so, it would be useful to get feedback on what parts of the prose I proposed are imprecise enough to be incorrect/incomplete for some corner case. Finally, would it make sense to move this discussion to bugzilla? Best, Brodie.
2020 May 03
0
Character Column-width Calculations
...like my wrapped-text columns to be nice and even, which is why I'm proposing the patch.? Posting here in case others are interested in the issue. This doesn't do any grapheme computations so it won't work with combining emoji, but should still be a step in the right direction. Best, Brodie [1]: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17781
2020 May 23
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
> On Friday, May 22, 2020, 6:16:45 PM EDT, Herv? Pag?s <hpages at fredhutch.org> wrote: > > Gabe, > > It's the current behavior of paste() that is a major source of bugs: > >?? ## Add "rs" prefix to SNP ids and collapse them in a >?? ## comma-separated string. >?? collapse_snp_ids <- function(snp_ids) >?????? paste("rs", snp_ids,
2020 May 27
1
R-ints context documentation
...like: > Note that whilst calls to closures always set a context, > those to builtins only set a context under profiling > or if they are of the foreign variety (e.g `.C` and similar), > and those to special internal functions never do. Based on the 'eval.c' source[2]. Best, Brodie [1]: https://cran.r-project.org/doc/manuals/r-devel/R-ints.html#Contexts [2]: https://github.com/wch/r-source/blob/tags/R-4-0-0/src/main/eval.c#L821
2019 Jul 13
0
strange increase in the reference number
Re ENSURE_NAMEDMAX, I am unsure but think this happens in (src/eval.c at 492): static SEXP forcePromise(SEXP e) { ??? if (PRVALUE(e) == R_UnboundValue) { ??? /* ... SNIP ...*/ ??? val = eval(PRCODE(e), PRENV(e)); ??? /* ... SNIP ...*/ ??? SET_PRSEEN(e, 0); ?? ?SET_PRVALUE(e, val); ?? ?ENSURE_NAMEDMAX(val);???????????????? <<<<<<< HERE ?? ?SET_PRENV(e, R_NilValue); ??? } ???
2019 Jan 24
0
Possible setClassUnion Unloading Issue
...those more knowledgeable of the inner workings of S4. I ran `make check-all` on a recent version of R-devel with the patch applied, and everything came back OK. However, I'm guessing there isn't much natural testing of unloading packages, so this probably requires extra scrutiny. Best, Brodie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: methods-patch.txt URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20190124/9daff743/attachment.txt>
2020 Apr 04
0
Possible Bug In Validation of UTF-8 Sequences
As per `?intToUtf8`, and in the comments to `valid_utf8`[1], R intends to prevent illegal UTF-8 such as UTF-8 encoded UTF-16 surrogate pairs.? `R_nchar`, invoked via `base::nchar`, explicitly validates UTF-8 strings[2], but allows the surrogate: ??? > Encoding('\ud800') ??? [1] "UTF-8" ??? > nchar('\ud800')? // should be an error ??? [1] 1 The problem manifests
2020 Mar 05
3
findInterval Documentation Suggestion
...t to understand the documentation should venture to re-write it. Nonetheless I attach a proposed alternate version in the hopes that someone who clearly understand the original might use or adapt parts of it to make `?findInterval` more accessible to those comprehension-challenged like me. Best, Brodie
2020 May 10
2
Minor Infelicity in Printing of Objects Nested in Lists
Currently S3 objects nested in generic vectors cause the tag buffer to be reset.? This feels sub-optimal for those objects that don't have a print method: > list(a=list(b='hello')) $a $a$b???????????????? ### <<<< notice "$a$b" [1] "hello" > list(a=structure(list(b='hello'), class='world')) $a $b?????????????????? ###
2020 May 20
2
Precision of function mean,bug?
...7.31. > > You just can't trust == on FP operations. Notice also Additionally, since you're implementing a "mean" function you are testing against R's mean, you might want to consider that R uses a two-pass calculation[1] to reduce floating point precision error. Best, Brodie. [1] https://github.com/wch/r-source/blob/tags/R-4-0-0/src/main/summary.c#L482 > > a2=(z[idx]+x[idx]+y[idx])/3 > > a2==a > [1] FALSE > > a2==b > [1] TRUE > > -pd > > > On 20 May 2020, at 12:40 , Morgan Morgan <morgan.emailbox at gmail.com> wrote: &gt...
2020 Jun 01
1
eval and Calling Frames
...those probably push the envelope in this area.? There only one failed with 2,613 passing.? The failed one is for a deprecated function that was specifically checking for the repeated `evalq` contexts[7]. I also attach a document with additional examples and commentary for those interested. Best, Brodie. PS: for a loosely related issue see #15531[8]. [1]: https://github.com/wch/r-source/blob/tags/R-4-0-0/src/main/eval.c#L3329 [2]: https://github.com/wch/r-source/blob/tags/R-4-0-0/src/main/context.c#L260 [3]: https://github.com/wch/r-source/blob/tags/R-4-0-0/src/main/context.c#L433 [4]: https:/...
2023 Jul 25
1
Bug in perl=TRUE regexp matching?
On 7/24/23 4:10 AM, Duncan Murdoch wrote: > On 23/07/2023 9:01 p.m., Brodie Gaslam wrote: >> >> >> On 7/23/23 4:29 PM, Duncan Murdoch wrote: >>> The help page for `?gsub` says (in the context of performance >>> considerations): >>> >>> >>> "... just one UTF-8 string will force all the matching to be done...
2020 May 15
4
edit() doubles backslashes when keep.source=TRUE
> On Friday, May 15, 2020, 12:13:04 PM EDT, Dirk Eddelbuettel <edd at debian.org> wrote: > On 15 May 2020 at 15:41, Martin Maechler wrote: > | <whining> > | > |??? Why does nobody anymore? help R development by working with > |??? "R-devel", or at least then the alpha, beta and the "RC" > |??? (Release Candidate) versions that we release daily
2019 Jul 13
2
Mitigating Stalls Caused by Call Deparse on Error
...as is the case with `traceback()`, or in `print(sys.calls())` and similar. I attach a patch that does this.? I have run some basic tests and `make check-devel` passes. I can file an issue on bugzilla if that is a better place to have this conversation (assuming there is interest in it). Best, Brodie PS: for some reason my mail client is refusing to attach the patch so I paste it starting on the next line. Index: src/gnuwin32/Rdll.hide =================================================================== --- src/gnuwin32/Rdll.hide?? ?(revision 76827) +++ src/gnuwin32/Rdll.hide?? ?(working copy...
2019 Jul 14
2
[External] Mitigating Stalls Caused by Call Deparse on Error
...lution at hand, especially since the complete deparse of large objects likely serves no purpose in this case. Obviously, if storing the actual calls instead of their deparsed equivalents in .Traceback causes problems I'm not anticipating, then that's different.? Is that the case? Best, Brodie. [1]: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17580 On Sunday, July 14, 2019, 8:52:45 AM EDT, Tierney, Luke <luke-tierney at uiowa.edu> wrote: This is probably best viewed in the context of other issue with displaying calls, such as issues arising from calls constructed...