Displaying 20 results from an estimated 20 matches for "tsort".
Did you mean:
tort
2014 Jun 07
0
Multitenancy with Rails and rspec
...`instance_exec'
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in
`run'
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:55:in
`block in run_init
ializers'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in
each_strongly_connected_component'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in
each_strongly_connected_component_from'
from C:/Ruby200/l...
2014 Mar 10
0
Mongoid : bson namespace error
...0:in
`instance_exec'
from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/initializable.rb:30:in
`run'
from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/initializable.rb:55:in
`block in run_initializers'
from C:/Ruby193/lib/ruby/1.9.1/tsort.rb:150:in `block in tsort_each'
from C:/Ruby193/lib/ruby/1.9.1/tsort.rb:183:in `block (2 levels) in
each_strongly_connected_component'
from C:/Ruby193/lib/ruby/1.9.1/tsort.rb:210:in `block (2 levels) in
each_strongly_connected_component_from'
from C:/Ruby193/lib/...
2009 Sep 03
2
Recursion is slow
The following recursion is about 120 times faster in C#. I know R is not known for its speed with recursions but I'm wondering if anyone has a tip about how to speed things up in R.
#"T" is a vector and "m" is a number between 1 and sum(T)
A <- function(T,m) {
lt <- length(T)
if (lt == 1) {
if (0 <= m & m <= T[1]) {
return(1)
} else {
return(0)
}
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...does.cross]
y1 <- y[-length(y)][does.cross]
x2 <- x[-1L][does.cross]
y2 <- y[-1L][does.cross]
t <- (((x1 - x0) * (y2 - y1) - (y1 - y0) * (x2 -
x1))/(xd * (y2 - y1) - yd * (x2 - x1)))
o <- order(t)
tsort <- t[o]
crossings <- cumsum(cross[does.cross][o])
if (fillOddEven)
crossings <- crossings%%2
drawline <- crossings != 0
lx <- x0 + xd * tsort
ly <- y0 + yd * tsort
lx1 <- lx[-length(lx)][dra...
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...does.cross]
y1 <- y[-length(y)][does.cross]
x2 <- x[-1L][does.cross]
y2 <- y[-1L][does.cross]
t <- (((x1 - x0) * (y2 - y1) - (y1 - y0) * (x2 -
x1))/(xd * (y2 - y1) - yd * (x2 - x1)))
o <- order(t)
tsort <- t[o]
crossings <- cumsum(cross[does.cross][o])
if (fillOddEven)
crossings <- crossings%%2
drawline <- crossings != 0
lx <- x0 + xd * tsort
ly <- y0 + yd * tsort
lx1 <- lx[-length(lx)][dra...
2011 Jun 04
3
[PATCH 1/3] febootstrap/helper/init: make sure /proc is mounted into chroot.
---
helper/init.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/helper/init.c b/helper/init.c
index 0ca3135..2b5dacf 100644
--- a/helper/init.c
+++ b/helper/init.c
@@ -163,8 +163,10 @@ main ()
chdir ("/");
- /* Run /init from ext2 filesystem. */
+ mount_proc ();
print_uptime ();
+
+ /* Run /init from ext2 filesystem. */
execl
2008 Aug 06
1
pid$target::malloc:entry does not work
...malloc:entry
{
ustack();
}
and got stack traces from my application calling malloc as expected. In
Solaris 10 8/07 I only see stack traces from functions inside libc
calling a function called lmalloc() but not my malloc calls:
ld.so.1`lmalloc
ld.so.1`tsort+0xb4
ld.so.1`load_completion+0x7c
ld.so.1`elf_bndr+0x3d8
ld.so.1`elf_rtbndr+0x10
libc.so.1`0xff36f30c
libc.so.1`_ndoprnt+0x32c
libc.so.1`printf+0xf4
memleak`fun1+0x94
memleak`main...
2020 Sep 02
2
LLD: Can we make --warn-backrefs the default?
...ing tool for shared objects while
--warn-backrefs is for archives. For performance, ABI concerns and ease
of deployment, many projects tend to build their own components as
archives instead of shared objects. In this sense --warn-backrefs will
probably be more useful than -z defs.
(
TIL lorder and tsort were created to define an order of archives in
early versions of Unix. https://www.gnu.org/software/coreutils/manual/html_node/tsort-background.html
It seems that the article missed the point that proper library layering is still useful
)
>On Mon, Aug 31, 2020 at 1:44 PM Fāng-ruì Sòng <maskr...
2011 Oct 12
3
loop function within a loop
Hi all,
I'm working on a loop function for a large dataset which contains 1000
different groups. I would like to reconstruct the order of events within
each group by using a loop function in R. (Currently the order of events are
based on the ascending order of prev_event within the group)
A demo data frame:
event prev_event group
845 0 5360
926 153
2020 Sep 03
3
LLD: Can we make --warn-backrefs the default?
...for archives. For performance, ABI concerns and ease
>> of deployment, many projects tend to build their own components as
>> archives instead of shared objects. In this sense --warn-backrefs will
>> probably be more useful than -z defs.
>>
>> (
>> TIL lorder and tsort were created to define an order of archives in
>> early versions of Unix.
>> https://www.gnu.org/software/coreutils/manual/html_node/tsort-background.html
>> It seems that the article missed the point that proper library layering is
>> still useful
>> )
>>
>
&...
2006 Sep 21
2
4.4 kickstart issues
Greetings all,
I'm trying to create a CentOS 4.4 kickstart CD (not a network install),
duplicating what
I've done for Fedora Core 3.
I am having a cirular dependency for initscripts, which causes
initscripts not to be installed
(no /etc/inittab when the boot gets to INIT)
The cascade is:
initscripts-7.39.25.EL-1.centos4 requires /sbin/nash
/sbin/nash is in mkinitrd-4.2.1.8-1
2003 Apr 17
2
fontconfig-2.1.93 considered more harmful
...I tested is suffering from dependency loop that cause
repeated make calls. But why so many ports fail ? Are they all harmed by
similar loops ? So I tried to lookup ports dependency tree(s).
Voila ! Found a few circular dependencies. Since I'm not using ports-all,
and also the tool I relied on (tsort) is not the tool to primarily detect
cycles (it detects cycles only as its byproduct), this list is not exhaustive.
Most of the cycles I found so far contain XFree86-4-libraries -> fontconfig
dependency. Other circles are small : gtkhtml (it depends on itself) and
gtkhtml -> gnomecore. Also,...
2020 Sep 03
2
LLD: Can we make --warn-backrefs the default?
...gt;> >> of deployment, many projects tend to build their own components as
>> >> archives instead of shared objects. In this sense --warn-backrefs will
>> >> probably be more useful than -z defs.
>> >>
>> >> (
>> >> TIL lorder and tsort were created to define an order of archives in
>> >> early versions of Unix.
>> >>
>> https://www.gnu.org/software/coreutils/manual/html_node/tsort-background.html
>> >> It seems that the article missed the point that proper library layering
>> is
>...
2012 Apr 30
0
Rails 3.1.3 -> 3.2.3 upgrade, assets can't be found
...ne application from Rails 3.1.3 to 3.2.3 and run into a
nasty problem that none of the assets are found (everything worked
great before upgrade). I''ve investigated for several hours and it
seems that the root of the problem is that the order of initializers
becomes wrong after initializers.tsort (in railties-3.2.3/lib/rails/
initializable.rb:54). It seems that finisher_hook initializer (which
runs after_initialize, which then bootstraps sprockets by copying
paths from config.assets.paths to Rails.application.assets.paths) is
run before append_assets_path (which loads asset paths from all
e...
2020 Sep 04
2
LLD: Can we make --warn-backrefs the default?
...build their own components as
>> >> >> archives instead of shared objects. In this sense --warn-backrefs
>> will
>> >> >> probably be more useful than -z defs.
>> >> >>
>> >> >> (
>> >> >> TIL lorder and tsort were created to define an order of archives in
>> >> >> early versions of Unix.
>> >> >>
>> >>
>> https://www.gnu.org/software/coreutils/manual/html_node/tsort-background.html
>> >> >> It seems that the article missed the point...
2020 Aug 31
2
LLD: Can we make --warn-backrefs the default?
On Mon, Aug 31, 2020 at 1:29 PM David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
> On Mon, Aug 31, 2020 at 1:24 PM Fāng-ruì Sòng <maskray at google.com> wrote:
>>
>> On Fri, Aug 28, 2020 at 11:16 AM David Blaikie <dblaikie at gmail.com> wrote:
>> >
>> > Would you like to conduct the conversation here, or on the review thread? (I lean
2020 Sep 21
2
LLD: Can we make --warn-backrefs the default?
...gt;> >> archives instead of shared objects. In this sense --warn-backrefs
>>>> will
>>>> >> >> probably be more useful than -z defs.
>>>> >> >>
>>>> >> >> (
>>>> >> >> TIL lorder and tsort were created to define an order of archives
>>>> in
>>>> >> >> early versions of Unix.
>>>> >> >>
>>>> >>
>>>> https://www.gnu.org/software/coreutils/manual/html_node/tsort-background.html
>>>> >...
2017 Nov 18
2
family
Hi all,
I am reading a huge data set(12M rows) that contains family information,
Offspring, Parent1 and Parent2
Parent1 and parent2 should be in the first column as an offspring
before their offspring information. Their parent information (parent1
and parent2) should be set to zero, if unknown. Also the first
column should be unique.
Here is my sample data set and desired output.
fam
2006 Jun 24
8
How to install programs in wine?
I am a rank newbie to Linux and wine.
I am running Ubuntu Dapper on an AMD 1800 mhz machine, wine 0.9.15
Everything I have read says use the installer to load windows programs.
Where is the installer?
Thanks,
--
Ron Thompson On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA
http://www.plansandprojects.com My hobby pages are here:
2007 Sep 19
49
plugin dependencies
Hello all,
The topic of plugin dependencies has come up before and it doesn''t
seem to have been addressed by core or core doesn''t seem to think it''s
an issue. I''ve looked at the current edge code and don''t see anything
new, so if I''ve missed something *please* let me know.
The following article makes mention of a require_plugin