search for: qs

Displaying 20 results from an estimated 283 matches for "qs".

Did you mean: vqs
2015 Apr 05
0
nutdrv_qx hangs after send: QS
...4, 2015, at 7:19 PM, Richard Flint <richard.flint at gmail.com> >> wrote: >> >> More extensive debugging by running the driver sudo ./nutdrv_qx -u root >> -a MY_UPS -DDDDDD indicates the driver works normally then will randomly >> stop working at stop "send: QS". The debug logs show values successfully >> retrieved repeatedly until something like: >> .... >> Quick update... >> send: QS >> read: (247.9 239.1 248.0 005 50.0 27.5 --.- 00001001 >> update_status: OL >> update_status: !LB >> update_status: !C...
2015 Apr 05
2
nutdrv_qx hangs after send: QS
...> wrote: > On Apr 4, 2015, at 7:19 PM, Richard Flint <richard.flint at gmail.com> wrote: > > More extensive debugging by running the driver sudo ./nutdrv_qx -u root -a > MY_UPS -DDDDDD indicates the driver works normally then will randomly stop > working at stop "send: QS". The debug logs show values successfully > retrieved repeatedly until something like: > .... > Quick update... > send: QS > read: (247.9 239.1 248.0 005 50.0 27.5 --.- 00001001 > update_status: OL > update_status: !LB > update_status: !CAL > update_status: !FSD >...
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
As &qs->qs_lock is also acquired by the timer o2net_idle_timer() which executes under softirq context, code executing under process context should disable irq before acquiring the lock, otherwise deadlock could happen if the process context hold the lock then preempt by the timer. Possible deadlock sc...
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
As &qs->qs_lock is also acquired by the timer o2net_idle_timer() which executes under softirq context, code executing under process context should disable irq before acquiring the lock, otherwise deadlock could happen if the process context hold the lock then preempt by the timer. Possible deadlock sc...
2016 Jul 01
1
silk_warped_autocorrelation_FIX() NEON optimization
Hi all, I'm sending patch "Optimize silk_warped_autocorrelation_FIX() for ARM NEON" in an separate email. It is based on Tim’s aarch64v8 branch https://git.xiph.org/?p=users/tterribe/opus.git;a=shortlog;h=refs/heads/aarch64v8 Thanks for your comments. Linfeng
2015 Apr 04
2
nutdrv_qx hangs after send: QS
Hi, I am trying to get NUT 2.7.2 working on my Solaris 11.2 system with a PowerWalker 2000 VI PSW UPS. I have carefully configured the software such that it 'works' using custom values in the ups.conf file: driver = nutdrv_qx port = auto desc = "my UPS" protocol = voltronic-qs subdriver = cypress vendorid = 0665 productid = 5161 The problem I'm experiencing is that after a random amount of time, usually a few mins, the driver stops providing data and the and the application complains the data is "stale". More extensive debugging by running the driver sudo...
2012 Jul 17
1
Threshold Quantile Regression code CRASHES in R
...ts[1],rq(y~x,tau)$coefficients[2]) beta }#Threshold Estimation with one independent variable + constant. joint_thresh <- function(y,x,q){ n=nrow(y) k=ncol(x) e=y-x%*%rq(y~x,tau)$coefficients[2]-rq(y~x,tau)$coefficients[1] s0 <- det(t(e)%*%e) n1 <- round(.05*n)+k n2 <- round(.95*n)-k qs <- sort(q) qs <- qs[n1:n2] qs <- as.matrix(unique(qs)) qn <- nrow(qs) sn <- matrix(0,qn,1) for (r in 1:qn){ d <- (q<=qs[r]) xx <- (x)*(d%*%matrix(1,1,k)) xx <- xx-x%*%rq(xx~x,tau)$coefficients[2]-rq(xx~x,tau)$coefficients[1] ex <- e-xx%*%rq(e~xx,tau)$coefficien...
2016 Jul 14
6
Several patches of ARM NEON optimization
I rebased my previous 3 patches to the current master with minor changes. Patches 1 to 3 replace all my previous submitted patches. Patches 4 and 5 are new. Thanks, Linfeng Zhang
2017 Oct 30
2
Problems in communication with Mustek PowerMust 1060 LCD
...[D2] - Device release number: 0002 2.004575 [D2] Trying to match device 2.004619 [D2] Device matches 2.004648 [D3] nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0) 2.004679 [D2] Skipping megatec protocol... 2.004689 [D2] Trying mustek protocol... 2.731556 [D3] send: QS 2.737382 [D3] read: (229.7 231.6 229.7 023 50.1 27.5 --.- 00001001 2.737456 [D2] blazer_status: non numerical value [--.-] 2.737477 [D2] Status read in 1 tries 2.737486 Supported UPS detected with mustek protocol 7.737351 [D3] send: error sending control message: Connection timed out...
2011 Nov 22
1
Capping outliers
...t;- x1 + x2 + runif(n)/10 x4 <- x1 + x2 + x3 + runif(n)/10 x5 <- factor(sample(c('a','b','c'),n,replace=TRUE)) x6 <- factor(1*(x5=='a' | x5=='c')) data1 <- cbind(x1,x2,x3,x4,x5,x6) x <- data.frame(data1) z <- x[,sapply(x,is.numeric)] qs <- sapply(z, function(z) quantile(z, c(min_pctle_cut, max_pctle_cut), na.rm = TRUE)) #Loop below taking time for execution system.time(for (i in 1:ncol(z)) { for (j in 1:nrow(z)) { if (z[j,i] < qs[1,i]) z[j,i]=qs[1,i] if (z[j,i] > qs[2,i]) z[j,i]=qs[2,i] } }) -- View this mess...
2020 Jan 29
2
Model object, when generated in a function, saves entire environment when saved
Reviving an old thread. I haven't noticed this be a problem for a while when saving RDS's which is great. However, I noticed the problem again when saving `qs` files (https://github.com/traversc/qs) which is an RDS replacement with a fast serialization / compression system. I'd like to get an idea of what change was made within R to address this issue for `saveRDS`. My thought is that this will help the author of the `qs` package do something simila...
2011 Jun 26
4
Sven Power Pro 1000+
...d: Q1 0.549441 blazer_status: short reply 0.549453 Status read 1 failed 0.549458 send: Q1 1.042431 blazer_status: short reply 1.042444 Status read 2 failed 1.042449 send: Q1 1.291425 blazer_status: short reply 1.291435 Status read 3 failed 1.291440 Trying mustek protocol... 1.291445 send: QS 1.291449 read: QS 1.291453 blazer_status: short reply 1.291457 Status read 1 failed 1.291460 send: QS 1.291464 read: QS 1.291467 blazer_status: short reply 1.291470 Status read 2 failed 1.291473 send: QS 1.291476 read: QS 1.291479 blazer_status: short reply 1.291482 Status read 3 failed...
2015 Apr 04
0
nutdrv_qx hangs after send: QS
On Apr 4, 2015, at 7:19 PM, Richard Flint <richard.flint at gmail.com> wrote: > More extensive debugging by running the driver sudo ./nutdrv_qx -u root -a MY_UPS -DDDDDD indicates the driver works normally then will randomly stop working at stop "send: QS". The debug logs show values successfully retrieved repeatedly until something like: > .... > Quick update... > send: QS > read: (247.9 239.1 248.0 005 50.0 27.5 --.- 00001001 > update_status: OL > update_status: !LB > update_status: !CAL > update_status: !FSD > upsd...
2012 Jul 10
1
Why 95% "quantile" empty in R or why 95% "quantile" = 1 with data values between 0 and 1?
...no column value equal to 1. But why would 95% of a data be = 1 when there's clearly no value=1? Thanks. makeQuantiles <- function(x) { t(apply(x, 1, function(row) { quantile(row, probs = c(0.50,0.75, 0.90, 0.91,0.92,0.93,0.94,0.95,0.96,0.97,0.98) ) })) } colsGTQuantile <- function(x, qs, q) { sapply(rownames(x), function(rn) { cat(sprintf("*** row name = %s, q = %s, val = %f\n", rn, q, qs[rn, q])) names(x[rn, x[rn,] > qs[rn, q]]) }, simplify = TRUE) } df4 <- colsGTQuantile(km$points, qs, "95%") -- View this message in context: http://r.78...
2009 Jul 29
1
ocfs2 quota qs.
Hi Jan, I am now reading quota support in ocfs2 and have some qs. Wish you can help me clarify it. Thanks. ocfs2_quota_write: In the comment, you said that "we know the transaction is already started", so it should be called within a transaction. But in this function, we call ocfs2_extend_no_holes and ocfs2_simple_size_update which will start ano...
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object. Just wanted to check with you guys if this is the correct explanation of toQueryParams(). If yes, then I''ll add it to the documentation as well. Works for me (but I am not sure if it''s the correct way to use it). /* String.prototype.toQueryParams takes a query string, i.e, string with name value pairs
2017 Nov 11
0
Problems in communication with Mustek PowerMust 1060 LCD
...gt; 2.004575 [D2] Trying to match device > 2.004619 [D2] Device matches > 2.004648 [D3] nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0) > 2.004679 [D2] Skipping megatec protocol... > 2.004689 [D2] Trying mustek protocol... > 2.731556 [D3] send: QS > 2.737382 [D3] read: (229.7 231.6 229.7 023 50.1 27.5 --.- 00001001 > 2.737456 [D2] blazer_status: non numerical value [--.-] > 2.737477 [D2] Status read in 1 tries > 2.737486 Supported UPS detected with mustek protocol > 7.737351 [D3] send: error sending control...
2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...er/quorum.c linux-2.6.15-staging2/fs/ocfs2/cluster/quorum.c --- linux-2.6.15-staging1/fs/ocfs2/cluster/quorum.c 2006-01-08 18:23:29.377721824 -0500 +++ linux-2.6.15-staging2/fs/ocfs2/cluster/quorum.c 2006-01-08 18:17:37.908153320 -0500 @@ -63,8 +63,14 @@ static struct o2quo_state { unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; int qs_holds; unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; + struct work_struct qs_node_work[O2NM_MAX_NODES]; } o2quo_state; +static struct o2hb_callback_func o2quo_hb_up_cb, o2quo_hb_down_cb; +static struct o2hb_callback_func o2quo_hb_c...
2007 Aug 14
0
Comparing long species lists via Sorenson’s dissimilarity
I have 4 very large species lists and I would like to compare them. I have the following results from running Sorenson’s dissimilarity tests: Norfolk Fens compared to Suffolk Coastal Fens: QS=0.583961142689298 Norfolk Fens compared to Breckland Edge Fens: QS=0.714896020281379 Norfolk Fens compared to Other Fens: QS=0.78572348898302 Suffolk Coastal Fens compared to Breckland Edge Fens: QS=0.78572348898302 Suffolk Coastal Fens comp...
2016 Oct 01
2
connection pb with blazer_usb with infusec UPS
...tus read 1 failed 0.156783 send: Q1 0.286922 read: N 0.287605 blazer_status: short reply 0.288335 Status read 2 failed 0.289796 send: Q1 0.419969 read: N 0.420052 blazer_status: short reply 0.420081 Status read 3 failed 0.420107 Trying mustek protocol... 0.420818 send: QS 1.654899 read: could not claim interface 0: Device or resource busy 1.655782 blazer_status: short reply 1.656445 Status read 1 failed 1.657598 send: QS 2.891901 read: could not claim interface 0: Device or resource busy 2.892810 blazer_status: short reply 2.893497 Status read 2...