Displaying 20 results from an estimated 128 matches for "flog".
Did you mean:
flag
2020 May 11
2
Segfault on read.socket with long message
...ject stored as
JSON.
R is crashing with a segmentation fault when I try to read my test
message (which is 5305 bytes long). I first send the length in bytes
and then I send the actual message.
Here is my R code:
library(jsonlite)
library(futile.logger)
listenerloop <- function (port) {
flog.trace("Opening Socket on port %d",port)
sock <- make.socket("localhost",port,server=TRUE)
on.exit({
close.socket(sock)
flog.trace("Closing Socket on port %d",port)
})
repeat {
## Input a hunk of stuff up to a blank line.
output <...
2020 May 12
1
Segfault on read.socket with long message
...for the link.? Somehow the information about how to join the
bugzilla site was not available at bugzilla and buried in the CRAN web
site instructions on reporting bugs (which pointed me at Bugzilla and
not the page you showed me).
The example is pretty minimal.? I left the tracing statements
(flog.trace()) and the toJSON, fromJSON in as I thought they might
provide some context for another method of approaching my problem.
It looks like I'm getting better results using socketConnection() rather
than read.socket(), so I'll pursue that solution (but still file a bug
report, as it s...
2006 Feb 13
1
rsync SIGSEGV signal handler in Cygwin.
...rsync/main.c
--- rsync-2.6.6/main.c Thu May 12 11:43:14 2005
+++ rsync/main.c Sat Jan 28 06:29:06 2006
@@ -114,6 +114,14 @@
* message describing the purpose of the child. Also indicate
* this to the caller so that thhey know something went
* wrong. */
+ if (WIFSIGNALED(*status))
+ rprintf(FLOG,
+ "rsync error: (2) Child proccess has unexpectedly died with signal %d\n",
+ WTERMSIG(*status));
+ else if (WIFEXITED(*status) && WEXITSTATUS(*status) == RERR_CRASH)
+ rprintf(FLOG,
+ "rsync error: (2) *** Child proccess has crashed. :-( ***\n");
+
*status = WE...
2017 Sep 26
0
bowed linear approximations
Dear Rich,
I think that it's generally a bad idea to give statistical (as opposed to simply technical) advice by email without knowing the context of the research. I think that you'd do well to seek help from a statistician, and not just do what I suggest below.
Interpolating the data only makes sense if there's no random component to the response (mag in your data). Otherwise, it
2008 May 26
11
doesn't create my guestbook
Hi,
I''m having some trouble with my realtions (I think). I''m creating a
guestbook with comments in ajax (the structure resembles the structure
of a blog). So I''ve got a "flogs table" which keeps the "user_id" and
the "id" of the flogs. This table. Then I''ve got a "guestbooks table"
containing "id" of the guestbooks, "flog_id", "title", "body",
"created_at" and "updated_at&...
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...ing up root permissions, check for errors, probably
get it wrong sometimes, and it seems so much easier to allow only
the behavior which the patch intended to add anyway: lower the
priority.
The only thing I'm not completely sure about is how to best do
logging. I have two calls to rprint(FLOG, ...): one is for an
error condition (providing a negative nice), and the other is
just an info notice.
rprintf(FLOG, "WARNING: nice(%d) not allowed (must be positive) on module %s\n",
niceval, name);
rprintf(FLOG, "rsync set nice(%d) on module %s\n", niceval, name);
T...
2020 May 12
0
Segfault on read.socket with long message
...a segmentation fault when I try to read my test
> message (which is 5305 bytes long).? I first send the length in bytes
> and then I send the actual message.
>
> Here is my R code:
>
> library(jsonlite)
> library(futile.logger)
> listenerloop <- function (port) {
> ? flog.trace("Opening Socket on port %d",port)
> ? sock <- make.socket("localhost",port,server=TRUE)
> ? on.exit({
> ??? close.socket(sock)
> ??? flog.trace("Closing Socket on port %d",port)
> ??? })
> ? repeat {
> ??? ## Input a hunk of stuff up to a...
2007 Nov 10
3
autometric gem
I''m working on tool to automatically run code metrics in the same way
as autotest. It''s runs rcov, flog, and saikuro right now, and works
with rspec and rails. It''s hosted at rubyforge:
http://rubyforge.org/projects/autometric/
I''ve got a post on how to configure it with growl:
http://benburkert.com/2007/11/9/introducing-autometric
I''m hoping to get Heckle working so...
2008 May 21
0
Rsync feature request
...skip_how_many--;
+ p = NULL;
+ }
else
p = NULL;
}
@@ -262,23 +267,29 @@
}
memset(secret, 0, sizeof secret);
- if (!get_secret(module, line, secret, sizeof secret - 1)) {
- memset(secret, 0, sizeof secret);
- rprintf(FLOG, "auth failed on module %s from %s (%s): "
- "missing secret for user \"%s\"\n",
- lp_name(module), host, addr, line);
- return NULL;
- }
-
- generate_hash(secret, challenge, pass2);
- memset(secret, 0, sizeof secret);
- if (strcmp(pass, pass2) != 0) {
- rprintf...
2008 Nov 07
6
How to spec a (Trollop-based) binary’s internal state?
...ug option properly'' do
`binary -d`
Conf.should_receive(:debug=).with true
end
This obviously doesn?t work, as the Kernel#` call is executed in
a context that is not visible from the current Ruby interpreter.
I assume that eval()-ing the binary (much like Rick Bradley does?
for specing flog) would be the way to go, but then I don?t know how
to pass the -d flag to Trollop.
? http://rubyhoedown2008.confreaks.com/11-rick-bradley-flog-test-new.html
What would be the best practice in this case? Prepare ARGV for Trollop
so that it believes we are calling the binary with the -d flag and th...
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...at;
extern char *logfile_name;
#ifdef ICONV_CONST
extern iconv_t ic_chck;
@@ -271,6 +272,8 @@ void rwrite(enum logcode code, const char *buf, int len, int is_utf8)
* that the msg gets logged and then sent to stderr after that. */
if (am_daemon > 0 && code != FCLIENT)
code = FLOG;
+ } else if (code == FLOG_AFTER) {
+ code = FLOG;
} else if (send_msgs_to_gen) {
assert(!is_utf8);
/* Pass the message to our sibling in native charset. */
@@ -813,6 +816,12 @@ void log_item(enum logcode code, struct file_struct *file, int iflags, const cha
{
const char *s_or_r = am_se...
2006 May 13
2
using -v and -q together
seems the behavior of rsync has changed when dealing with output and using
both -v and -q at the same time ... for example:
$ mkdir test1
$ touch test1/foo
$ rsync-2.6.0 -avq test1 test2
$ rm -r test2
$ rsync-2.6.8 -avq test1 test2
test1/
test1/fo
$ rm -r test2
$ rsync-cvs -avq test1 test2
building file list ... test1/
test1/fo
$ rm -r test2
the new output in 2.6.8 comes from the calls to
2008 Jan 18
2
couple questions about supported UPSes and politics of purchase
a customer of mine needs a UPS capable of supporting a small server in his
office. Obviously, nut is a good thing for him for clean shutdown etc.
especially with the crappy quality power in his office condo.
I wanted to purchase an MGE UPS but it looks like they purchased APC and are now
flogging that product line. Now, I've never been happy with APC. I have an APC
3000 (sans batteries) sitting in the basement. It worked but, it needs new
batteries every 24 months and they get expensive. (Note: if you're in the
Boston area and you want it, make me a reasonable offer eithe...
2016 Jan 21
1
[Bug 11683] New: hang on select when send many files
...00000042b45a in send_msg (code=MSG_LOG,
buf=0x7fff8ed87400 "10.126.100.201 682364
tjtx-100-200_20160121_135901/aifang_dw/contract_snapshot_detail_20151103.MYD
682244 2015/12/05-18:53:33 recv 114409 fullbak\n",
len=147, convert=0) at io.c:958
#3 0x00000000004218a0 in rwrite (code=FLOG,
buf=0x7fff8ed87400 "10.126.100.201 682364
tjtx-100-200_20160121_135901/aifang_dw/contract_snapshot_detail_20151103.MYD
682244 2015/12/05-18:53:33 recv 114409 fullbak\n",
len=147, is_utf8=0) at log.c:277
#4 0x000000000042299c in log_formatted (code=FLOG, format=<value optimiz...
2008 Sep 19
0
metric_fu for use in cc.rb
Hi all,
I looked on the mailing list for metric_fu, but didn''t find it -- so at the
risk of being redundant, it looks really useful.
"Metric_fu is a set of rake tasks that make it easy to generate metrics
reports. It uses Saikuro <http://saikuro.rubyforge.org/>,
Flog<http://ruby.sadi.st/Flog.html>,
Rcov <http://eigenclass.org/hiki.rb?rcov>,
SubversionF<http://subversion.tigris.org/>,
and Rails <http://www.rubyonrails.org/> built-in stats task to create a
series of reports. It''s designed to integrate easily with
CruiseControl.rb&...
2009 Oct 28
1
Regex matching that gives byte offset?
Hi,
Is there any way of doing 'grep' ore something like it on the content of a
text file and extract the byte positioning of the match in the file? I'm
facing the need to access rather largish (>600MB) XML files and would like
to be able to index them ...
Thanks for any help or flogging,
Joh
2010 Jul 25
0
[PATCH] dlls/ntdll/file.c: Setting FileAllInformation is not 'fixable'.
...access to
> Microsoft's code, I can not know what they actually do.
Upon the insistance of AJ and others, I will no longer be working on or
for the Wine project.
Your code does have an error, it was just recently pointed out that the
return value was incorrect.
Thank you for sufficiently flogging me with the whip I was attempting to
flog you with.
James McKenzie
2011 Apr 21
1
No IOMMU found. Unable to assign device
Hi,
I am playing around with PCI passthrough and came across some posts that
said you could not do PCI passthrough unless you had IOMMU hardware.
which it would appear I don't
Is this the case? Am I flogging a dead horse?
Thanks,
Marco
--
Marco van Beek
==========================================
Supporting Role Ltd.
Grove Park Studios,
188-192 Sutton Court Rd,
London, W4 3HR
==========================================
T: 0870 757 2824
F: 0870 757 2826
M: 0788 770 3604
E: mvanbeek at supporting-r...
2006 Dec 10
1
Rsync 2.6.9 Develops Conflict Between --stats, I think --delete-after and Local Filesystem Replication
Hi all,
Well, yeah, that's it, really. :-) Try it. Works consistently, on Doze
and Linux here ...
# rsync -vvrlHSPtiypogD --stats --numeric-ids --delete-after --force --
partial-dir=.partial /tmp/ /var/tmp/
[...show stats...]
unknown message 4:1 [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(307)
[generator=2.6.9]
rsync: connection unexpectedly closed (26
2005 Mar 30
1
Does SAMBA ever work with 2003 Server native mode ADS?
I posted a query re a problem I was having getting SAMBA to authenticate
using a Windows 2003 Server ADS and got no reply. Also, I've searched
the web (before posting) and no one else had a reply to any similar
question.
Does SAMBA actually work with 2003 ADS at all or am I flogging a dead
horse?
Getting no reply is a real bummer. At least getting "forget it!" means
I don't waste more time looking for the issue.
Has ANYONE got SAMBA to work with 2003 Server in native mode? How?
If it doesn't work using Kerberos, is there another way?
Thanks in advanc...