search for: cmain

Displaying 5 results from an estimated 5 matches for "cmain".

Did you mean: main
2005 Dec 27
9
2.6.14 - HTB/SFQ QoS broken?
...is class. These leaf classes finally each receive a SFQ which serves the purpose of fair queueing AND giving a package queue to HTB so that it does not have to drop packets. Here is my implementation of it: IFUP=48kbps tc qdisc add ppp0 root handle 1:0 htb default 20 r2q 4 $addclass 1:0 classid $cMAIN htb rate $IFUP mtu 1492 $addclass parent $cMAIN classid $cEMULE htb rate 8kbps ceil $IFUP prio 4 $addclass parent $cMAIN classid $cAPACHE htb rate 32kbps ceil $IFUP prio 2 $addclass parent $cMAIN classid $cDEFAULT htb rate $IFUP burst 6k prio 1 $addqdisc parent $cEMULE handle 10: sfq pe...
2010 Jan 21
3
cross validation function translated from stata
...end using "`dca`i''" } collapse all none modelp1 modelp2, by(threshold) save "cross validation dca output.dta", replace twoway(line none all modelp1 modelp2 threshold, sort) ================================================================= Here is my draft of R code. cMain is my dataset. predca<-rep(0,40000) dim(predca)<-c(200,200) for (i in 1:200) { cvgroup<-rep(1:10,length=110) cvgroup<-sample(cvgroup) cvpre<-rep(0,length=110) cvMain<-cbind(cMain,cvgroup,cvpre) for (j in 1:10) { cvdev<-cvMain[cvMain$cvgroup!=j,] cvval<-cvMain[cvMain$cvgr...
2007 Feb 25
6
Crash occurs where EventMachine.connect is
...+-v3/libsupc++/eh_terminate.cc:53 #6 0xb7b320ca in __cxa_throw (obj=0x8117238, tinfo=0xb7b5531c, dest=0xb7ad0d50 <~runtime_error>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:77 #7 0xb7b6e017 in evma_connect_to_server (server=0x80ccad8 "localhost", port=8080) at cmain.cpp:92 #8 0xb7b6c455 in t_connect_server (self=3082803140, server=3082609960, port=16161) at rubymain.cpp:207 Is it possible to die more gracefully, i.e. by raising an exception? Alternatively, might there be some way to create a class that provides a singleton method (e.g. self.connect) to r...
2007 Dec 14
21
Some silly benchs (was: 1.9)
Guys, Just for fun, I tried to see (I know, a silly way to test it) how much overhead we have calling the C functions of the extensions. the benchmark script and the results: http://pastie.caboo.se/128646 The naive C extension: http://pastie.caboo.se/128647 I compared 1.8.6 (VC6 and mingw builds) against a fresh checkout of ruby trunk. What I understand from that is 1.9 is slower than 1.8
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...xj`2Q{g4E?cmKxTEWHEjQcJOrF#nbiOLRD at c z-(*B_lOgUlY=PM&YT;gku%KkS<)Xy+9*27`&pxyQnrv<03+^9rR7bzg#4#x`*i6sy z#Rp6AW0J(06XIg7a18cx{TQcGkG at wk)62ZshGTw|x{r|!(8}90E0M-t<MuNaKZnlE zx{&^6DE(HbKexbaS$}Bluv)$&d<b{54 at v3QlrbpWY<N55dKkK2ocI_28;O(e(PGPX zG!Dv^y&kL03-nncy*cMaIn}6jGhb=Nu&;Q-4qY>@V`3$&8(0cDd}Gj&8-tGW>OBP1 z%<*OWm)?yRZ*2+kOJ+^l#Fik~^o7Q&ftlW+>E86${sGuR;&QbA?bJ))$Q+mK`<$=+ z_I=Jlg8E)!2AAi}@A*2_KDY1G#?(H+i>p%eTP)uc!fXtR%cu8g1V7*}aN2o5<6H6c zL2UxtIr&!<O%njN$jB3GX)7(QEH+Jrij9{QgXOeJM2HD+eP}{K6O78q3FRv)DCa2W zD}T{?(...