search for: hideous

Displaying 20 results from an estimated 136 matches for "hideous".

2006 Jul 20
1
cleanest, least hideous way to do dropdown date validation?
My customer has dropdowns like this: Year Month Day If you submit with month selected and year blank, it subs in a year arbitrarily. Worse still, it subs in the year 5. I have no idea why. It seems a pernicious default. Anyway, they''re developing an app, they''re a designer turned coder, turning to a real programmer (me, allegedly) to make sense of the madness they''ve
2004 Jun 23
5
assigning from multiple return values
...ave a function that returns multiple values, I should do return(list(foo, bar)). But what do I do on the recieving end? fn <- function(x) { return(list(foo, bar)) } I know that at this point I could say values.list <- fn(x) and then access values.list[1] values.list[2] But that's hideous. I'd rather be able to say something like list(local_foo, local_bar) <- fn(x) and have the right thing happen. I realize that it's my responsibility to not screw up and say instead list(local_bar, local_foo) Any suggestions? -JT
2018 Jul 12
2
[PATCH v35 1/5] mm: support to get hints of free page blocks
...t of pages. > > OK. virtio-balloon has already registered an oom notifier > (virtballoon_oom_notify). I plan to add some control there. If oom happens, > - stop the page allocation; > - immediately give back the allocated pages to mm. Please don't. Oom notifier is an absolutely hideous interface which should go away sooner or later (I would much rather like the former) so do not build a new logic on top of it. I would appreciate if you actually remove the notifier much more. You can give memory back from the standard shrinker interface. If we are reaching low reclaim priorities...
2018 Jul 12
2
[PATCH v35 1/5] mm: support to get hints of free page blocks
...t of pages. > > OK. virtio-balloon has already registered an oom notifier > (virtballoon_oom_notify). I plan to add some control there. If oom happens, > - stop the page allocation; > - immediately give back the allocated pages to mm. Please don't. Oom notifier is an absolutely hideous interface which should go away sooner or later (I would much rather like the former) so do not build a new logic on top of it. I would appreciate if you actually remove the notifier much more. You can give memory back from the standard shrinker interface. If we are reaching low reclaim priorities...
2018 Jul 12
1
[PATCH v35 1/5] mm: support to get hints of free page blocks
...on has already registered an oom notifier > > > (virtballoon_oom_notify). I plan to add some control there. If oom happens, > > > - stop the page allocation; > > > - immediately give back the allocated pages to mm. > > Please don't. Oom notifier is an absolutely hideous interface which > > should go away sooner or later (I would much rather like the former) so > > do not build a new logic on top of it. I would appreciate if you > > actually remove the notifier much more. > > > > You can give memory back from the standard shrinker int...
2003 Feb 05
4
barplot default colors
...be in the same color. (At least that's what I'd expect. The first time I used barplot() in R, I was shocked to see the colors.) As an example, one example in ?layout draws a scatterplot with histograms drawn on the margins. The histograms were drawn by barplot(), and, IMHO, look rather hideous in the colors. Regards, Andy Andy I. Liaw, PhD Biometrics Research Phone: (732) 594-0820 Merck & Co., Inc. Fax: (732) 594-1565 P.O. Box 2000, RY84-16 Rahway, NJ 07065 mailto:andy_liaw at merck.com ------------------------------------------------------------...
2003 Feb 05
4
barplot default colors
...be in the same color. (At least that's what I'd expect. The first time I used barplot() in R, I was shocked to see the colors.) As an example, one example in ?layout draws a scatterplot with histograms drawn on the margins. The histograms were drawn by barplot(), and, IMHO, look rather hideous in the colors. Regards, Andy Andy I. Liaw, PhD Biometrics Research Phone: (732) 594-0820 Merck & Co., Inc. Fax: (732) 594-1565 P.O. Box 2000, RY84-16 Rahway, NJ 07065 mailto:andy_liaw at merck.com ------------------------------------------------------------...
2005 Jul 03
11
[PATCH] xm info
This patch makes "xm info" show information on xen version, compile info, number of socket/core, etc... In order to do that, it extends physinfo hypercall to return number of socket, adds few functions to libxc and extends python wrapper correspondingly. Here is the output of new "xm info": -- system : Linux host : ubuntu xen_release
2020 Nov 06
3
GVIM annoyances
...including the one below without success.? In fact this one causes X to crash when I start gvim. The second problem I have is the selection of the font.? My old box had "sans Regular 12" which was a lovely font to work with. However, when I choose the same font on the new box it's hideous. I don't know best how to request this, but basically how can I have my nice old font back? |if has("gui_running") " GUI is running or is about to start. " Maximize gvim window. set lines=999 columns=999 else " This is console Vim. if exists("+lines") set...
2018 Apr 20
2
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
...returned memory or frees it with kfree. Such bugs were > found in the virtio-net driver, dm-integrity or RHEL7 powerpc-specific > code. Maybe it's time to have the SG code handle vmalloced pages? This is becoming more and more common with vmapped stacks (and some of our workarounds are hideous -- allocate 4 bytes with kmalloc because we can't DMA onto the stack any more?). We already have a few places which do handle sgs of vmalloced addresses, such as the nx crypto driver: if (is_vmalloc_addr(start_addr)) sg_addr = page_to_phys(vmalloc_to_page(start_addr))...
2018 Apr 20
2
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
...returned memory or frees it with kfree. Such bugs were > found in the virtio-net driver, dm-integrity or RHEL7 powerpc-specific > code. Maybe it's time to have the SG code handle vmalloced pages? This is becoming more and more common with vmapped stacks (and some of our workarounds are hideous -- allocate 4 bytes with kmalloc because we can't DMA onto the stack any more?). We already have a few places which do handle sgs of vmalloced addresses, such as the nx crypto driver: if (is_vmalloc_addr(start_addr)) sg_addr = page_to_phys(vmalloc_to_page(start_addr))...
2006 Jun 27
1
TCNG issue - parent class restrictions are not honored
Hi, I''ve been migrating an existing htb-based traffic shaper from a hideous (I''m allowed to call it that - I wrote the damn atrocity myself) tc shell script into a TCNG configuration file, and after a few false starts I think I managed to get the syntax right. However, during tests it looks like some of the tiers aren''t passing their restrictions on to l...
2009 May 09
2
a general way to select a subset of matrix rows?
...iously failed). Is there a general way to subset a matrix so it still returns a matrix even if it's one row? Unfortunately doing as.matrix(x[rows,]) doesn't work either, as it returns a transposed matrix in the case of a single row. Is there a way to do this properly without writing out hideous if statements accounting for single row exception? thanks, -peter.
2003 Sep 16
8
Hangups after voicemail
...ed on a Zap channel with loop start lines. So, after someone leaves a voicemail and then hangs up, Asterisk doesn't know it, exits VoicemailMain2, and loops back to the corporate greeting, tying up the line even though the outside caller has hung up. Therefore, I've added the following hideous hack - er, code - to voicemail2.c. It starts right after the call to play_and_record() in leave_voicemail(). if (res != '#' && chan != NULL && !strncmp(chan->name, "Zap", 3)) { /* Hang up the Zap channel only */ ast_softhangup(chan, AST_SOFTHANGUP_EXPLICIT);...
2018 Jul 12
0
[PATCH v35 1/5] mm: support to get hints of free page blocks
...t;> OK. virtio-balloon has already registered an oom notifier >> (virtballoon_oom_notify). I plan to add some control there. If oom happens, >> - stop the page allocation; >> - immediately give back the allocated pages to mm. > Please don't. Oom notifier is an absolutely hideous interface which > should go away sooner or later (I would much rather like the former) so > do not build a new logic on top of it. I would appreciate if you > actually remove the notifier much more. > > You can give memory back from the standard shrinker interface. If we are > rea...
2008 Jul 24
2
[Bug 1491] New: no field sin6_scope_id on AIX 4.3.3
...OS/Version: AIX Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: unassigned-bugs at mindrot.org ReportedBy: David.Leonard at quest.com On AIX 4.3.3, there is no sin6_scope_id field in struct sockaddr_in6. Here is my hideous workaround. --- openssh/addrmatch.c +++ openssh/addrmatch.c @@ -97,7 +97,11 @@ return -1; xa->af = AF_INET6; memcpy(&xa->v6, &in6->sin6_addr, sizeof(xa->v6)); +#ifdef _AIX + xa->scope_id = 0; +#else xa->scope_id = in6->sin...
2006 Dec 18
1
Plotting individual survival plots
Using the survival library, it is possible to get a plot of all the subjects in a sample and it is possible to get a plot of all subgroups in the same plot. How does one get a separate plot for each subgroup? plot(survfit(Surv(time,death==1)~group),col=1:10) The above results in a hideous graphic representation. I would prefer to specify par(mfrow = c(2, 5)) and have each plot separately -- Farrel [[alternative HTML version deleted]]
2012 Jan 06
1
Please help!! How do I set graphical parameters for ploting ctree()
...airct)   My problem is, I've got a ctree that has 14 terminal nodes, and as a result of the default graphical paramters of plot(ctree), all of the text is completely undreadable (decison node text is too large and as a result, these nodes overlap one another, terminal node barplot text overlaps hideously).  What I would like to do is learn how to customize the elements of these plots.  For the text, I have tried par(cex=.4, cex.main=.4, cex.axis=.2, cex.lab=.2)... to no avail.  As far as reducing the size of the node ovals, I'm completely lost there...   Anyone have any suggestions?   Thanks...
2007 Jul 05
0
[LLVMdev] new website prototype
.... These files will eventually > live in > their respective subproject modules and be svn imported (or something > similar) on the live site. In addition, I'm "color challenged" and > did I > mention that I'm not a web designer? :) I think the colors are, hmm, hideous :-) I prefer using fresh, light colors, but that's just my opinion... The visited links for example are hardly visible anymore against the black (black!) background. greetings, Kenneth -- Computer Science is no more about computers than astronomy is about telescopes. (E. W. Dijkstra)...
2008 Feb 22
2
ActiveRecord::DangerousAttributeError ???
Hi, For some reason, this harmless block of code in my application controller def index @wide = true end is causing this hideous error. I have read the error means that the error is raised when attribute has a name reserved by ActiveRecord. Does that mean that none of my models can have columns named "toggle"? Here is the error and framework trace: ActiveRecord::DangerousAttributeError in ApplicationController...