search for: gymnastics

Displaying 20 results from an estimated 72 matches for "gymnastics".

2007 Aug 22
3
Help with vector gymnastics
Hello, What is the best way of solving this problem? answer <- ifelse(tf=TRUE, i * 5, previous answer) where as an initial condition tf[1] <- TRUE For example if, tf <- c(T,F,F,F,T,T,F) over i = 1 to 7 then the output of the function will be answer = 5 5 5 5 25 30 30 Thank you. Phil,
2006 Jan 05
3
"dumb" SATA controller recommendation
...if any 4.2 users out there have a favourite "dumb" PCI controller to add a couple of SATA ports to a motherboard that doesn't include SATA support. I'm not looking for anything fancy, just 2 SATA ports that a recent vintage kernel will recognize without a lot of configuration gymnastics. The intended use is for relatively light weight internet browser workstations for younger students. Suggestions would be very much appreciated. Cheers,
2006 Mar 04
6
validation of aggregates
This may not be possible... I have an aggregation of clwholename defined in my model. the aggregation builds clwholename from :first_name, middle_initial, last_name and it generally works fine. I am trying to add a validation so while there may be many ''John'' first_names, and ''Doe'' last_names, I only want one ''John Doe'' so I tried...
2015 Dec 17
2
google chrome future / centos 7
...ght consider > dropping RHEL7/CentOS7 support if they get enough feedback, although I > suspect they really couldn't care less about RPM-based distros, most > of their code seems to be all ubuntu-based. seeing as how they don't seem to give a hoot about Ubuntu either (based on the gymnastics users need to go thru to get Google Earth to work on Ubuntu) I'm not sure they care much about non-chrome Linux distros anyway. -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- God made him who had no sin to...
2004 Aug 18
1
suggestions about file ownership in multi-user "sandbox"
...samba provide a hook or feature, similar to the preexec/postexec script, except for a file write? I am willing to deal with performance implications, of course. An alternative would be an unlink-and-create-before-write approach when updating a file, though that would require samba to do some gymnastics. I'm not aware of any such feature. If nothing can be done, I suppose I will have to suggest that we move to per-user working copies, but if anyone has any other suggestions I'd love to hear them. Thanks in advance, Matt Mitchell
2007 Jul 24
4
GemPlugin or Mongrel::HttpHandler subclass
Hey all I am working with a technology standard (specific to the commercial print industry) by which each element within the workflow has bi- directional HTTP messaging. As each side needs a http server, I thought I could either: a) use a gem plugin to modify the behavior of mongrel b) subclass Mongrel::HttpHandler In short, its xml messaging between two points; each with a HTTP client
2017 Feb 10
2
generated HWEncoding based register decoders
.../* [26] = */ PPC::CR6EQ, /* [27] = */ PPC::CR6UN, /* [28] = */ PPC::CR7LT, /* [29] = */ PPC::CR7GT, /* [30] = */ PPC::CR7EQ, /* [31] = */ PPC::CR7UN, > I'm against using implicit ordered in the TableGen file to generate the hardware encoding numbers. This would lead to unnecessary gymnastics assuming it were usable at all. Ports do that today. The problem with doing that is that it is easy for the encode/decode to be mismatched. I already did that and burned time discovering that. Lanai does this for example, as do others. I'd love to see people migrate away from that method t...
2024 Mar 29
1
declare and validate options
...ions along with an optional validator, triggered on `options(..)` (or a new function). # similar to registerS3method() : registerOption("mypkg.my_option1") registerOption("mypkg.my_option2", function(x) stopifnot(is.numeric(x)) # maybe a `default` arg too to avoid the .onLoad() gymnastics and invisible NULL options * validation is a breaking change so we'd have an environment variable to opt in * validation occurs when an option is set AND the namespace is already loaded (so we can still set options without loading a namespace) OR it occurs later when an applicable namespace is...
2009 Aug 16
4
How show validation errors in form_remote_tag?
I suspect this has been asked 400 times, but Google yields 2-3 rather complex gymnastics in blogs (and possibly dated), and searching list archives on ruby-forum proves kinda useless. Using standard forms, it''s fairly easy to use @object.errors[:field_name] in the form to embed an error message right next to the field that has the invalid entry. The controller uses a simple c...
2017 Aug 14
2
[RFC] The future of the va_arg instruction
...rontend, and on the SelectionDAG). This seems to be the case here, to support targets with a more complex va_list struct featuring separate save areas for GPRs and FPRs, splitting a va_arg in to multiple operations (one per element of an aggregate) doesn't seem like it could work without heroic gymnastics in the backend. Converting the va_arg instruction to a new GETVAARG SelectionDAG node plus a series of LOADs seems like it may provide a straight-forward path to supporting aggregates on targets that use a pointer for va_list. Of course this ends up exposing loads plus offset generation in the Sel...
2024 Mar 29
1
declare and validate options
...al validator, triggered on `options(..)` (or a new function). > > # similar to registerS3method() : > registerOption("mypkg.my_option1") > registerOption("mypkg.my_option2", function(x) stopifnot(is.numeric(x)) > # maybe a `default` arg too to avoid the .onLoad() gymnastics and invisible > NULL options > > * validation is a breaking change so we'd have an environment variable to > opt in > * validation occurs when an option is set AND the namespace is already > loaded (so we can still set options without loading a namespace) OR it > occurs la...
2017 Jun 16
7
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
Hi all, We had some internal discussions about flipping the default for O0 and we concluded that we wanted to postpone it. *** Why Is That? *** We don’t want to send the wrong message that GlobalISel’s design is set in stone and ready for broader adoption. In particular, 1. The APIs are still evolving and can still possibly change significantly 2. The TableGen backend to reuse the existing SD
2017 Jun 17
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
> On Jun 16, 2017, at 4:58 PM, Eric Christopher <echristo at gmail.com> wrote: > > > > On Fri, Jun 16, 2017 at 4:43 PM Quentin Colombet <qcolombet at apple.com <mailto:qcolombet at apple.com>> wrote: > Hi all, > > We had some internal discussions about flipping the default for O0 and we concluded that we wanted to postpone it. > > > *** Why
2008 Sep 24
1
function can permanently modify calling function via substitute?
Dear R-devel: The following code seems to allow one function to permanently modify a calling function. I did not expect this would be allowed (short of more creative gymnastics) and wonder if it is really intended. (I can see other ways to accomplish the intended task of this code [e.g. via match.call instead of substitute below] that do not trigger the problem, but I don't think that is the point.) do.nothing <- function(blah) {force(blah)} do.stuff.with.call &...
2019 Jun 11
2
[RFC] Coding Standards: "prefer `int` for regular arithmetic, use `unsigned` only for bitmask and when you intend to rely on wrapping behavior."
This whole debate seems kind of odd to me. I don't know that cases where it isn't clear what type to use come up that often. If a value can truly never be negative you should use an unsigned value. If a value can be negative, you should use a signed value. Anecdotal evidence in my case is that the vast majority of values are unsigned by this rule. Is there a reason to use a signed value
2018 Apr 10
2
Re: [Qemu-block] v2v: -o rhv-upload: Long time spent zeroing the disk
...> > Can't use use this logic in the oVirt plugin? > > file based storage -> skip initial zeroing > block based storage -> use initial zeroing > > Do you think that publishing disk capabilities in the sdk will solve this? The plugin would have to do some complicated gymnastics. It would have to keep track of which areas of the disk have been written and ignore NBD_CMD_WRITE_ZEROES for other areas, except if block-based storage is being used. And so yes we'd also need the imageio API to publish that information to the plugin. So it's possible but not trivial....
2024 Mar 29
1
declare and validate options
...ptions(..)` (or a new > function). > > > > # similar to registerS3method() : > > registerOption("mypkg.my_option1") > > registerOption("mypkg.my_option2", function(x) stopifnot(is.numeric(x)) > > # maybe a `default` arg too to avoid the .onLoad() gymnastics and > invisible > > NULL options > > > > * validation is a breaking change so we'd have an environment variable to > > opt in > > * validation occurs when an option is set AND the namespace is already > > loaded (so we can still set options without loading...
2012 Apr 17
3
[LLVMdev] InstCombine adds bit masks, confuses self, others
...onable set of canonicalization rules at the IR level that don't block optimization. Tricks like saving instructions, using bit masks, etc., should all be reserved for the codegen layer / DAGCombine. There, hasOneUse makes perfect sense because you're trying to peephole through architectural gymnastics, not trying to get systematic scalar optimizations to fire. Let's see if we have any evidence that reserving this transform for the DAGCombiner hurts things, how it hurts things, and what we can do about it first? -------------- next part -------------- An HTML attachment was scrubbed... URL:...
2017 Feb 27
2
[Proposal][RFC] Epilog loop vectorization
...the remainder loop), we really want to know if the alias checks we're introducing are going to survive a not. It occurs to me that, if SCEV's known-predicate logic were smart enough, it would seem practical to not introduce redundant checks in the first place (although it would imply some gymnastics when examining the control flow around the loop and then restructuring things when we generate the code for the loop). The scalar remainder loop, when reached from the vectorized loop, is already known to be vectorizable to a VF larger than EpilogVF. No need to introduce again any potential aliasi...
2020 Jul 01
2
Codifying our Brace rules-
At the very least, I accept clarifying the wording to make it clear where braces should/shouldn't be used. I personally would still prefer a general "always add braces in new code" rule, given that I literally just ran into another case where a code change I made locally caused test failures because I'd forgotten to add the braces on a previously single-line if, although in this