search for: waste

Displaying 20 results from an estimated 5867 matches for "waste".

Did you mean: paste
2006 Apr 22
4
Anyone know how to copy rows?
...ble and create new rows based on those rows. This will be used to intentionally duplicate rows. Did I mention that I was having little luck? I''m from a PHP world, but I''ve been getting really into Rails lately. Here''s what I''ve got(assume an event has_many wastes): def wastePrepopulate @wastes = Waste.find_all @wastes.each do |waste| Event.find(params[:id]).wastes.create(params[:waste]) end flash[:notice] = ''The records have been prepopulated.'' redirect_to :action => "showwastes", :id =>params[:id]...
2011 Aug 31
0
wdTable() in R2wd
Hi all, I've been using the wdTable() function from R2wd package and it's been working great. However I just tried to do the following: > table.2 Waste Rebate code Chargeable (fin_map) Quantity (qty) Total [1,] "Waste" "Rebate code" "CHG" "121" "$22,534.01" [2,] "Waste" "Rebate code" "NOCHG" "...
2006 Apr 27
0
Communication problem with virtual DMZ
Hi all, I am running Xen 3.0.2-2 (taken from XenSource) with Linux kernel 2.6.16 (taken from Debian Sid), I compiled Xen and 2 kernels (dom0 and domU). Here is the ascii-art of my setup: ------------ ------------- | LAN |------------------------| waste | 192.168.0.94/24 ------------ ------------- | ····························· · | · · | Dom0 · · | · · --------- · ································ · | peth0 | ·...
2006 Jun 04
1
wasted bits and audio drop-outs
I hear momentary audio drop-outs (silences) in some flacs I have encoded. These occur at the same time as "wasted bits" messages in my mplayer output. [flac @ 0x860fb00]coding type: constant [flac @ 0x860fb00]1 wasted bits [flac @ 0x860fb00]coding type: constant [flac @ 0x860fb00]6 wasted bits Is there a way to prevent these at encode-time? If this is not the appropriate list for such a question, can...
2015 Feb 20
0
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
Just a small correction: Thomas Schmitt via Syslinux <syslinux at zytor.com> wrote: > > > I expect the average waste to be a bit less than 16 MB. > > Yes, but slightly misleading. For example, the "16MB average" is > > relevant for 255/63. > > We advise two geometries: -h 63 -s 32 and -h 255 -s 63. > isohybrid behavior with the first one will not be changed. > With the second o...
2015 Feb 20
3
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
...gned long img_size; int head, sector; sscanf(argv[1], "%d", &head); sscanf(argv[2], "%d", &sector); sscanf(argv[3], "%lu", &img_size); /* Begin of isohybrid.c code */ /* Making sure that the resulting image size is divisible by 2048. (Can waste nearly 32 MB. Should be done on user request only.) */ if ((head * sector) % 4 == 0) align_factor = 1; else if ((head * sector) % 2 == 0) align_factor = 2; else align_factor = 4; cylsize = head * sector * 512; align_cylsize = cylsize * align_factor;...
2008 Apr 21
4
CPU scheduling of domains and vcpus
...see that gang scheduling is mentioned in almost all the latest talks about xen (posted on xen.org). It seems to me that gang scheduling would be desirable, specially if there are synchronization points (lock and semaphores) in guest OS and applications. I understand that gang scheduling can lead to wasted cycles, but that might be acceptable in certain situations. In fact, wasted cycles can probably be avoided by doing opportunisitic gang scheduling (i.e. gang schedule, unless there would be wasted cycles) and by carefully choosing the number of vcpus. -- Nauman Rafique Purdue University _______...
2009 Dec 11
4
Firewall for virtual machines
...r are too busy to think about it), not because they seem stupid (if they do, please tell me, on the list or privately). I run Windows as a VMWare guest on top of my CentOS host, and I generally have not used a firewall on the guest. This is partly because I only run it rarely, and it seems like a waste when it's running on a host that has its own, pretty effective firewall, but today I began to wonder - would it be a bad idea (or a complete waste) to use a firewall, like ZoneAlarm, on my Windows guest OS? Opinions welcome. Thanks. mhr
2010 Apr 26
0
'Wasted bits-per-sample' flag
...allow the decoder to remove any padding that might have been necessary on the encoder side. For example, if someone were to encode 12-bit samples, but the encoder was forced to use 16-bit registers for calculations, then perhaps this flag would be needed to show that 4 bits per sample are wasted. You might find more information in the source code. Whatever the reason might be for wasted bits getting into the flac file, it seems clear that this flag is intended to allow any excess bits to be removed. One thing to keep in mind is that FLAC is designed so that the encoder and decode...
2003 Feb 01
0
We are looking for USA's waste paper 3#,11# supplier. Order quatity:2000tons/month. (PR#2516)
Dear Sir We are a leading importer of USA's waste paper from China. We have been importing waste paper from USA and Canada in very large quantity. Now we are looking for the supplier who can offer 2000 tons of USA's waste paper 3#, 11# monthly. If you could offer this item pls kindly reply us and we will negotiate with you further. Any quic...
2004 Aug 06
0
Fwd: Tunneling server's waste of resources
First, sorry about my english, I know is not the best, but I'll try to write in the best way I can do. Now lets go troug the problem I have, i want to Know If I can find some Docu about the waste of resources of a tunneling server of the icecast. I have a few machines (conected with a single adsl line with streaming radioKbps upload shared in office conection) trough my web server (650Mbps) and I want to know what can happen to my server if I connect in the same way a big amount of radios,...
2008 Jan 31
4
[PATCH] virtio_blk: Dont waste major numbers
Rusty, currently virtio_blk uses one major number per device. While this works quite well on most systems it is wasteful and will exhaust major numbers on larger installations. This patch allocates a major number on init and will use 16 minor numbers for each disk. That will allow ~64k virtio_blk disks. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> --- drivers/block/virtio_blk.c | 28 +++...
2008 Jan 31
4
[PATCH] virtio_blk: Dont waste major numbers
Rusty, currently virtio_blk uses one major number per device. While this works quite well on most systems it is wasteful and will exhaust major numbers on larger installations. This patch allocates a major number on init and will use 16 minor numbers for each disk. That will allow ~64k virtio_blk disks. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> --- drivers/block/virtio_blk.c | 28 +++...
2004 Dec 28
1
Aliassing Icecast 2.1 Admin console
...# as a client to my machine, and then feed my stream to the listener. # All subsequent requests for /laika will use the same feed (i.e only # one connect will be made to my machine). Icecast will automagically # shut the link from my machine down when no one is listening. I.e # no bandwidth will be wasted. In our situation we have al local icecast server and a remote one. The remote one is hosted by an ISP with limited download amount. If I make a relay connection fro the remote icecast server then it allways transports the continuing stream. But I only want to have transport if someone is listeni...
2008 Jan 18
7
[Patch] Make memory hole for PCI Express bigger and prevent roll-over
Keir, Here''s a first patch to address the issue with rolling over to guest-physical address 0x00000000 when assigning address regions to PCI BARs during HVM boot. For now, this: - Makes the hole bigger: 0xC0000000-0xF5000000. This might be overkill...but it should only matter for 32-bit guest OSes assigned more than 3GB of RAM. - Prevents addresses from above 0xF50000000 from
2009 Nov 26
3
Best way to preallocate numeric NA array?
These are the ways that occur to me. ## This produces a logical vector, which will get converted to a numeric ## vector the first time a number is assigned to it. That seems ## wasteful. x <- rep(NA, n) ## This does the conversion ahead of time but it's still creating a ## logical vector first, which seems wasteful. x <- as.numeric(rep(NA, n)) ## This avoids type conversion but still involves two assignments for ## each element in the vector. x <- numeric(n) x[]...
2011 Oct 22
1
cycling through a long list of files and names
...ough the R help (?parse, ?eval, etc.) and still really don't know how to do the following. I have the general following structure that I would like to automate [edited to make it shorter]: >>> city1997 <- dataCleaning(read.csv2("C:\\city\\year1997.txt")) city1997 <- wasteCalculations(city1997, year = 1997) if (city1997[1,1] == "Time") {city1997 <- timeCalculations(city1997)} city1998 <- dataCleaning(read.csv2("C:\\city\\year1998.txt")) city1998 <- wasteCalculations(city1998, year = 1998) if (city1998[1,1] == "Time") {city1998 &...
2015 Feb 20
0
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
> > I wrapped the essential code into a standalone program for > playing with a few numbers: What about '-h 255 -s 63 , ISO size 1085736960' ? > I expect the average waste to be a bit less than 16 MB. Yes, but slightly misleading. For example, the "16MB average" is relevant for 255/63. Some user reading the code might not know the whole reasoning for: > + (Can waste nearly 32 MB. Should be done on user request only.) I would suggest instead...
2007 Jun 28
1
Could not allocate a RID -- wasted a gid
...this command and I get this error: net sam createlocalgroup peocio [2007/06/28 11:03:16, 0] passdb/pdb_interface.c:pdb_new_rid(1066) Trying to allocate a RID when algorithmic RIDs are active [2007/06/28 11:03:16, 0] groupdb/mapping.c:pdb_default_create_alias(468) Could not allocate a RID -- wasted a gid :-( Am I missing anything? This is my smb.conf: [global] workgroup = workgroup server string = Samba on Slackware Linux idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum groups = yes security = domain log file = /var/log/s...
2019 Jun 20
0
[libnbd PATCH 2/1] states: Avoid wasted send() when REPLY interrupts request
...sent yet). Since the jaunt through REPLY was non-blocking, it is unlikely that the POLLOUT situation has changed in the meantime, so if we use SET_NEXT_STATE() to step back into SEND_REQUEST, our recv() call will likely fail with EAGAIN, once again blocking us until our next POLLOUT. Although the wasted syscall is not on the hot-path (after all, we can't progress until data arrives from the server), it's slightly cleaner if we instead declare that we are already blocked. I tested with: $ nbdkit -U - null 16M --run 'examples/threaded-reads-and-writes $unixsocket' There was no rea...