Displaying 20 results from an estimated 32 matches for "unnecesary".
Did you mean:
unnecessary
2009 Nov 18
2
Unnecesary code?
Dear R-ers,
While browsing the R sources, I found the following piece of code
in src\main\memory.c:
static void reset_pp_stack(void *data)
{
R_size_t *poldpps = data;
R_PPStackSize = *poldpps;
}
To me, it looks like the poldpps pointer is a nuissance; can't you
just cast the data pointer and derefer it at once? Say,
static void reset_pp_stack(void *data)
{
R_PPStackSize = *
2011 Nov 01
0
[LLVMdev] [cfe-dev] RFC: Upcoming Build System Changes
...ent sublibraries.
>>
>> BTW, adding explicit library dependencies will make the parallel builds
>> worse,
>
> No they won't, for exactly the reason Chris stated.
That's makes no sense. The automatic system we had generated an optimal
dependency graph: no missing or unnecesary edges. You can't do better
than than optimal, can you?. Furthermore, while building static
libraries, those didn't block one another, because there was no
dependency declarations among them. I don't know how the current system
works, but the clang build, which always used explicit depen...
2011 Nov 01
2
[LLVMdev] [cfe-dev] RFC: Upcoming Build System Changes
Óscar Fuentes <ofv at wanadoo.es> writes:
> Chris Lattner <clattner at apple.com> writes:
>
>> There are different overheads in different scenarios. The makefiles
>> get really poor utilization out of a 8 or 16-way machine because of
>> implicit synchronization between different sublibraries.
>
> BTW, adding explicit library dependencies will make the
2012 Apr 05
1
[PATCH] remove unnecesary typedef in bitwriter.c
---
src/libFLAC/bitwriter.c | 31 +++++++++++++++----------------
1 file changed, 15 insertions(+), 16 deletions(-)
diff --git a/src/libFLAC/bitwriter.c b/src/libFLAC/bitwriter.c
index 651440d..7da4b15 100644
--- a/src/libFLAC/bitwriter.c
+++ b/src/libFLAC/bitwriter.c
@@ -43,12 +43,11 @@
/* Things should be fastest when this matches the machine word size */
/* WATCHOUT: if you change this
2009 Apr 19
4
httpd crashes after signal HUP
...wasn't any segfault reported in dmesg and I couldn't find anything else in the other logs (messages, etc...)
It's reproducable every time, when I send the HUP signal to the master httpd process the same thing happens.
My configuration is nothing special, just the stock one, with a few unnecesary modules commented out and one virtual host.
Thanks,
Glenn
2011 Nov 01
1
[LLVMdev] [cfe-dev] RFC: Upcoming Build System Changes
...;>> BTW, adding explicit library dependencies will make the parallel builds
>>> worse,
>>
>> No they won't, for exactly the reason Chris stated.
>
> That's makes no sense. The automatic system we had generated an optimal
> dependency graph: no missing or unnecesary edges. You can't do better
> than than optimal, can you?
If you're using recursive make, it is by definitely not optimal.
> To think that no unnecesary dependencies will pop up on the build is
> delusional, unless you introduce some sort of automatic check. And once
> you have...
2013 Jul 23
1
Xen networks running in Promiscuous modes
...1. Dom0 is acting in promiscuous mode, right?
2.
If answer to Q1 is yes, can it be stopped and yet have the bridging
possible? If the answer is no, any idea why so many interrupts are being
generated or if I''m missing something?
3. If I don''t want
promiscuous mode (to avoid unnecesary interrupts), should I use Route or
NAT option for networking? Which one is easier and do they totally
avoid promiscuous mode?
Cheers...Deven.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
2008 Mar 09
1
Multiple deployments of same application using backgroundrb
Thanks for this great app. I am having some problems configuring it in my
server. I have a single app deployed three times, one is for testing, one is
for demoing and the other one is for production.
I read that it was unnecesary and it will not work to have multiple
instances of backgroundrb for each of my deployments. I read that it was
enough to instantiate backgroundrb only once from one of the deployments and
the other deployments should use the workers on the deployment where
backgroundrb was started. I have been not...
2015 Sep 23
3
Help with systemd
Hi
I am trying to get Greenstone3 http://www.greenstone.org/download to work
with systemd.
So far I have come up with the following which works but feels more like a
hack than a solution.
Does anyone have any suggestions on how to do this better ?
# cat /etc/tmpfiles.d/greenstone3.conf
d /run/greenstone3 0755 gs3 gs3 -
# cat /etc/systemd/system/greenstone3.service
# Systemd unit file for
2010 Feb 20
7
Suggestion to rename match() to connect()
In Rails 3 routing, it seems we''re using the match() method to hook up
arbitrary url patterns to rack endpoints (which I think is a great new
routing feature).
I''d like to suggest that we name it "connect", instead of "match":
1. It maintains continuity with previous versions of rails
2. It''s more descriptive of the intention of a route: to connect
2006 May 10
13
Issue in ActiveRecord generated reader methods
Hi all!
I have come into a strange issue in Rails that I am hoping someone
can shed some light.
To make a very long story short, I have been researching how to
override ActiveRecord::Base#read_attribute and write_attribute to
perform security checks at the model level (influenced by the
ModelSecurity generator). Shortly after implementing some code to
check this behavior, I began to
2006 Apr 26
8
script/server lighttpd on Windows
Has anyone been able to get script/server to successfully use lighttpd
on a Windows box? When I try to start the server I get:
PROBLEM: Lighttpd is not available on your system (or not in your path)
So then I add "C:\lighttpd\sbin" to the path for the console session,
and it still fails with the same error.
If anyone has some success with this I sure would like to know. Webrick
2002 Sep 28
2
Problems with lower and uppercase filenames
...]
path=/mnt/winputer/shareit
browseable = yes
writable = yes
create mask = 0666
directory mask = 0777
preserve case=yes ; added this one just in case....
The problem starts now. When accessing this share from the Windows
computer I can see the shared directory (although through
an unnecesary "loopback" which is irrelevant to the problem because it
still happens with a different setup "without loops").
* If I drag and copy a file from the windows explorer, lets say
"foo.txt", the new file becomes "COPY OF FOO.TXT"
All the characters in upperc...
2018 Nov 07
1
Re: [PATCH v3 0/3] Install QEMU-GA from oVirt guest tools ISO on Linux
...work "as-is" but
> > probably deserve some more attention:
> >
> > - it is "abusing" Winows_virtio code but renaming/refactoring everything to
> > remove "windows" from the name and use "guest tools" seems like a lot of
> > unnecesary work
>
> I didn't mean the comment to mean it was abusing Windows_virtio. It
> was just a surprise since at the moment Convert_windows is the only
> consumer of the Windows_virtio code. However the change is still
> correct so this doesn't matter, and maybe we can rename...
2018 Nov 07
0
Re: [PATCH v3 0/3] Install QEMU-GA from oVirt guest tools ISO on Linux
...st tools ISO. The patches work "as-is" but
> probably deserve some more attention:
>
> - it is "abusing" Winows_virtio code but renaming/refactoring everything to
> remove "windows" from the name and use "guest tools" seems like a lot of
> unnecesary work
I didn't mean the comment to mean it was abusing Windows_virtio. It
was just a surprise since at the moment Convert_windows is the only
consumer of the Windows_virtio code. However the change is still
correct so this doesn't matter, and maybe we can rename the module in
future.
>...
2015 Sep 23
0
Help with systemd
...k '{print $1}' > /run/greenstone3/greenstone3.pid"
2 Comments here:
1.) why 'cd /greenstone/gs3 && ant start' when you could just run
'/greenstone/gs3/ant start'.
2.) You're going through a lot of effort to generate a pidfile, when
it's completely unnecesary for systemd services.
You could probably replace the ExecStart with:
ExecStart=/greenstone/gs3/ant start
... and get rid of the PIDFile.
--
Jonathan Billings <billings at negate.org>
2015 Sep 23
1
Help with systemd
Hi Jonathan,
Thanks for the feedback
2.) You're going through a lot of effort to generate a pidfile, when
> it's completely unnecesary for systemd services.
>
> I tried not using a pidfile initially and this that case things would
start up and run correctly for a short period but then systemd would put
the service into a failed state and kill it off.
Based on the documentation below I believe that systemd was "guessing&...
2006 Apr 12
0
Promiscuous mode of bridge-networking in Dom0
...ns:
1. Dom0 is acting in promiscuous mode, right?
2. If answer to Q1 is yes, can it be stopped and yet have the bridging
possible? If the answer is no, any idea why so many interrupts are being
generated or if I''m missing something?
3. If I don''t want promiscuous mode (to avoid unnecesary interrupts), should
I use Route or NAT option for networking? Which one is easier and do they
totally avoid promiscuous mode?
Thanks in advance,
Amitayu
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 Jun 14
1
[Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
https://bugzilla.mindrot.org/show_bug.cgi?id=1235
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #3 from Damien Miller <djm at mindrot.org> 2008-06-15 05:56:31 ---
I
2018 Nov 13
8
[PATCH v4 0/3] Install QEMU-GA from oVirt guest tools ISO on Linux
...hould be available on guest tools ISO. The patches work "as-is" but
probably deserve some more attention:
- it is "abusing" Winows_virtio code but renaming/refactoring everything to
remove "windows" from the name and use "guest tools" seems like a lot of
unnecesary work
- support for Debian is missing
I don't know how to install the package only when all it's dependencies are
already installed. dpkg cannot be used to check that (simulate the install).
And attempting to install the package will leave it half-installed (dpkg
cannot roll-back)....