text:
Add basic OpenBMC support

The only implements a small subset of the devices.Bmc interface, but hopefully it's enough for baseline PBnJ support?  Currently it's entirely redfish-based, though many of these operation could probably be alternatively implemented via IPMI or ssh (or perhaps the OpenBMC-specific HTTP API under /xyz/openbmc_project/...).
Also, I'm very much neither a Go expert nor real familiar with bmclib, so careful review is probably warranted to make sure I haven't done something egregiously foolish...

This is great! thanks, @zevweiss .
We've actually just recently added some new interfaces. Would you mind using those instead of the old ones? The ipmitool provider implementation can be referenced as an example.
For some more context, the new design doc and discussion can be found here.

Ah, hadn't noticed that those new interfaces were there -- thanks for the link to the background info.  Is there any existing tooling anywhere for testing out an in-progress implementation of the new interfaces?  For the current code (with the devices.Bmc interface) I used the code in examples/main.go to test it out a bit as I was putting it together; is there anything analogous for the new interfaces?  (I tried compiling the example code from the "User Package" snippet in https://github.com/bmc-toolbox/bmclib/issues/148#issue-744332957, but it errored out with "client.GenerateDefaultRegistry undefined" -- maybe that's something trivial/obvious to fix but I'm presently too much of a Go newb to know.)

Ah, hadn't noticed that those new interfaces were there -- thanks for the link to the background info. Is there any existing tooling anywhere for testing out an in-progress implementation of the new interfaces? For the current code (with the devices.Bmc interface) I used the code in examples/main.go to test it out a bit as I was putting it together; is there anything analogous for the new interfaces? (I tried compiling the example code from the "User Package" snippet in #148 (comment), but it errored out with "client.GenerateDefaultRegistry undefined" -- maybe that's something trivial/obvious to fix but I'm presently too much of a Go newb to know.)

Ah yeah, good question. client_test.go would be the plae to look.

Alright, thanks -- though having now seen a bit more of how that works, I'm a little uncertain about the appropriate way to proceed with this.  After some experimentation, it looks like the existing ipmitool.Conn interface's of PowerStateGetter, PowerSetter, BootDeviceSetter, BMCResetter, and UserReader are all already compatible with OpenBMC -- I suppose maybe we could supplement that with Redfish-based implementations or something, but given that would it be expected that pbnj.next's basic functionality should "just work" with OpenBMC?
(CC @joelrebel if he wants to chime in on anything here...)

Alright, thanks -- though having now seen a bit more of how that works, I'm a little uncertain about the appropriate way to proceed with this. After some experimentation, it looks like the existing ipmitool.Conn interface's implementations of PowerStateGetter, PowerSetter, BootDeviceSetter, BMCResetter, and UserReader are all already compatible with OpenBMC -- I suppose maybe we could supplement that with Redfish-based implementations or something, but given that would it be expected that pbnj.next's basic functionality should "just work" with OpenBMC with bmclib as it stands?
(CC @joelrebel if he wants to chime in on anything here...)

If you've already done the validation here with an OpenBMC then we should be good on the bmclib side. PBnJ.next does need to update to use these new interfaces, but after that OpenBMC's in PBnJ.next just work as you say. I think bmclib on its own will still need a generic Redfish implementation. Just my 2cents :)

Ah, wait -- except I just remembered I forgot one thing.  The operations I listed do work against OpenBMC with current bmclib, plus one little hack I had forgotten I slipped in:
diff --git a/internal/ipmi/ipmi.go b/internal/ipmi/ipmi.go
index a5a383f70872..0e26bc457075 100644
--- a/internal/ipmi/ipmi.go
+++ b/internal/ipmi/ipmi.go
@@ -36,7 +36,7 @@ func New(username string, password string, host string) (ipmi *Ipmi, err error)
 }

 func (i *Ipmi) run(ctx context.Context, command []string) (output string, err error) {
-	ipmiArgs := []string{"-I", "lanplus", "-U", i.Username, "-E", "-N", "5"}
+	ipmiArgs := []string{"-I", "lanplus", "-U", i.Username, "-E", "-N", "5", "-C", "17"}
 	if strings.Contains(i.Host, ":") {
 		host, port, err := net.SplitHostPort(i.Host)
 		if err == nil {

OpenBMC's network-facing IPMI daemon only supports RAKP-HMAC-SHA256/HMAC-SHA256-128/AES-CBC-128 (I guess due to deprecating SHA1 a bit more aggressively than most).  Any suggestions on a clean way to shim that extra flag in in a sufficiently flexible/generic way?

...actually, after some further investigation (RHBZ, patch, patch), it looks like ipmitool should be able to figure this out on its own, but there hasn't been a release since the patches fixing that bug went in.  (I compiled its current master branch and verified that it does work without the -C17 flag.)
Any thoughts on how to approach this?  We could perhaps sidestep the issue by just requiring a suitably-patched ipmitool as a dependency for OpenBMC support (in which case I don't think any changes to the bmclib code would be needed), though maybe that's an overly onerous requirement...

After some discussion with @joelrebel, I think we can avoid the API complexities by just having the IPMI provider do a little discovery step of its own (i.e. try an innocuous operation with -C17 and keep using that if it works).  Joel said he'd take care of implementing that, so I don't think there should really be much else needed for basic OpenBMC support.

authors: jacobweinstock zevweiss

repo: bmc-toolbox/bmclib


text:
switch to pyzmq?

IPC via multiprocessing is unbearably slow for me; it overshadows any benefits due to forking the data io into another thread.
@ejhumphrey Any thoughts about trying pyzmq instead?  I'm not sure how much think work needs to go into it, but it seems promising.

based on dozens of seconds of skimming: promising, yes; think work,
potentially large.
I'd push it on the stack for post-dissertation inquiries, but don't let my
queue hold you back.
On Mon, Mar 30, 2015 at 4:55 PM, Brian McFee notifications@github.com
wrote:

IPC via multiprocessing is unbearably slow for me; it overshadows any
benefits due to forking the data io into another thread.
@ejhumphrey https://github.com/ejhumphrey Any thoughts about trying
pyzmq instead? I'm not sure how much think work needs to go into it, but it
seems promising.
—
Reply to this email directly or view it on GitHub
https://github.com/bmcfee/pescador/issues/6.

I might take a crack at it this week.  The main benefit here would be shared buffer access to ndarrays, so we can bypass that whole batch serialization issue.  See: http://zeromq.github.io/pyzmq/serialization.html

Dropping this here also: https://learning-0mq-with-pyzmq.readthedocs.org/en/latest/index.html
specifically: https://learning-0mq-with-pyzmq.readthedocs.org/en/latest/pyzmq/multiprocess/multiprocess.html and https://learning-0mq-with-pyzmq.readthedocs.org/en/latest/pyzmq/multisocket/zmqpoller.html
It took about four seconds to get a demo of shared ndarray buffers working with 0mq and multiprocessing: https://gist.github.com/e26a8d160ede121d54e9
Bundling that up inside a pescador generator, and having the reader use zmqpoller should pretty much solve everything.

pretty much solve everything.

no sweeter words in the English language.

And here's a more realistic demo using multi-part messages to send ditcs of ndarrays over the pipe.  https://gist.github.com/bmcfee/98eff9b7575d18bdb039

One potential downside here: scipy.sparse matrices don't implement the buffer protocol, so we can only ship dense data over zmq.

5509343e9036233a6cd54af2f70eaa0a4b7304a3 bam.
On my simple 5-fold cross validation, iris+sgdclassifier+random noise augmentation benchmark, I see the following results with a batch size of 16:
Single thread
CPU times: user 4.25 s, sys: 7.32 ms, total: 4.26 s
Wall time: 4.25 s

threaded_mux
CPU times: user 9.13 s, sys: 394 ms, total: 9.52 s
Wall time: 9.52 s

zmq_mux
CPU times: user 2.66 s, sys: 460 ms, total: 3.12 s
Wall time: 4.92 s

This can probably be accelerated further by pushing a buffer into the worker thread to cut down on communication.
TLDR: worth it!

halp me not be dumb. wall clocks r same? is the data throughput higher on
the zmq_mux?
On Tue, Mar 31, 2015 at 5:15 PM, Brian McFee notifications@github.com
wrote:

5509343
https://github.com/bmcfee/pescador/commit/5509343e9036233a6cd54af2f70eaa0a4b7304a3
bam.
On my simple 5-fold cross validation, iris+sgdclassifier+random noise
augmentation benchmark, I see the following results with a batch size of 16:
Single thread
CPU times: user 4.25 s, sys: 7.32 ms, total: 4.26 s
Wall time: 4.25 s
threaded_mux
CPU times: user 9.13 s, sys: 394 ms, total: 9.52 s
Wall time: 9.52 s
zmq_mux
CPU times: user 2.66 s, sys: 460 ms, total: 3.12 s
Wall time: 4.92 s
This can probably be accelerated further by pushing a buffer into the
worker thread to cut down on communication.
TLDR: worth it!
—
Reply to this email directly or view it on GitHub
https://github.com/bmcfee/pescador/issues/6#issuecomment-88252525.

wall clocks are comparable for single vs zmq on this data for a few reasons:

everything's in memory already, so the streams aren't disk-bound
the data's very low dimensional

this benchmark is just to show that we can do multiprocessing without high communication overhead.

derp kthxbai
On Tue, Mar 31, 2015 at 5:41 PM, Brian McFee notifications@github.com
wrote:

wall clocks are comparable for single vs zmq on this data for a few
reasons:

everything's in memory already, so the streams aren't disk-bound
the data's very low dimensional

this benchmark is just to show that we can do multiprocessing without high
communication overhead.
—
Reply to this email directly or view it on GitHub
https://github.com/bmcfee/pescador/issues/6#issuecomment-88259098.

I just redid the benchmarks so that the data generator pads with 2000 - d dimensions of random gaussian noise. Results:
Single
Test-set accuracy: 0.967
Test-set accuracy: 0.867
Test-set accuracy: 0.933
Test-set accuracy: 0.900
Test-set accuracy: 0.933
CPU times: user 17.7 s, sys: 62.3 ms, total: 17.7 s
Wall time: 17.7 s

Multiprocessing.Queue
Test-set accuracy: 0.933
Test-set accuracy: 1.000
Test-set accuracy: 0.900
Test-set accuracy: 0.967
Test-set accuracy: 0.900
CPU times: user 21.5 s, sys: 739 ms, total: 22.2 s
Wall time: 22.2 s

ZMQ
Test-set accuracy: 0.933
Test-set accuracy: 1.000
Test-set accuracy: 0.900
Test-set accuracy: 0.967
Test-set accuracy: 0.900
CPU times: user 12.6 s, sys: 487 ms, total: 13.1 s
Wall time: 12.4 s

I think we can stick a fork in this one, but i'm opening a new issue for a related problem...

ALRIGHTO.

source: gharchive/issue

authors: bmcfee ejhumphrey urinieto

repo: bmcfee/pescador

license: isc

license_type: permissive

license_source: bigquery


text:
HStracker not tracking at all in OS X El Capitan

I was using HStracker normally from OS X Yosemite, but once I updated to El Capitan, it just won't track any card, neither mine or from my opponent. I tried fully uninstalling the app (with Appcleaner) and install it again with no success. I don't use any online account, just local database. For the record this is a Macbook Pro 13" Retina early 2015 with everything up to date. If there is any other information I could supply, I would be very glad to do so.

I am having this same issue. It worked perfectly until the upgrade. The log file alternates between is_active=>true and is_active=>false but never gets beyond that.

Guys, could you check if it's not related to #189 ?

Yep, it´s related. Sorry for posting this, I thought it was my new OS.

repo: bmichotte/HSTracker

license: mit


text:
Porting to Android

Hi, I am trying to run onnx model on Android and have sharted with the steps like is described there: https://github.com/onnx/tutorials/blob/master/tutorials/PytorchCaffe2MobileSqueezeNet.ipynb
import onnx
import caffe2.python.onnx.backend
from onnx import helper

# Load the ONNX GraphProto object. Graph is a standard Python protobuf object
model = onnx.load("model.onnx")

Unfortinately I receive an error:
---------------------------------------------------------------------------
DecodeError                               Traceback (most recent call last)
<ipython-input-8-0e15f43f99e0> in <module>()
      1 # Load the ONNX GraphProto object. Graph is a standard Python protobuf object
----> 2 model = onnx.load("model.onnx")
      3

2 frames
/usr/local/lib/python3.6/dist-packages/onnx/__init__.py in _deserialize(s, proto)
     95                          '\ntype is {}'.format(type(proto)))
     96
---> 97     decoded = cast(Optional[int], proto.ParseFromString(s))
     98     if decoded is not None and decoded != len(s):
     99         raise google.protobuf.message.DecodeError(

DecodeError: Error parsing message

Could you please what could be the issue? I use EN model and Google Colab

onnx-tf convert -i "model.onnx" -o  "model.pb"
gives the same result

Which version of the onnx package are you using? I just tried this locally:
(py38) bminixhofer@pop-os:~/Documents/Projects/nnsplit/models/en$ python
Python 3.8.5 (default, Sep  4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import onnx; onnx.__version__
'1.8.1'
>>> model = onnx.load("model.onnx")
>>>

You could also try redownloading the model, maybe it is corrupted somehow:
(py38) bminixhofer@pop-os:~/Documents/Projects/nnsplit/models/en$ shasum model.onnx
c77caf94f64ff91702aa374b8a0a83befef56f95  model.onnx

Thanks for the support, yes, it looks like something went wrong with the model. I was able to load it, but the next steps still seems to be tricky:
# prepare the caffe2 backend for executing the model this converts the ONNX graph into a
# Caffe2 NetDef that can execute it. Other ONNX backends, like one for CNTK will be
# availiable soon.
prepared_backend = caffe2.python.onnx.backend.prepare(model)

gives an error:
IndexError: Input embedding.weight is undefined!
And I have tried:
onnx-tf convert -i "model.onnx" -o "model.pb"
and it fails with the error:
ValueError: Input size (depth of inputs) must be accessible via shape inference, but saw value None.

The problem here seems to be that onnx-tf does not support dynamic dimensions. If you visualize the ONNX model (https://netron.app/ is excellent!) you'll see that the input has dimension batch x length so they do not have fixed values.
Someone else had the same issue: https://github.com/onnx/onnx-tensorflow/issues/593
Converting ONNX to another format is in general problematic. Are you sure you can not execute the ONNX model?

Well, I just follow the "official tutorial" from ONNX: https://github.com/onnx/tutorials/blob/master/tutorials/PytorchCaffe2MobileSqueezeNet.ipynb
I thought that it should be the right way, since ONNX guys recommend to use it.

Right, in that case converting to caffe2 might work. Converting with onnx-tf will not work.
Unfortunately I can't help that much with this problem. The ONNX model is well-formed (e. g. works in both tract and onnxruntime) so it is not a problem with NNSplit itself. It is exported here:
https://github.com/bminixhofer/nnsplit/blob/27705186bcdc340796b5a44d382e7d787aab69de/train/model.py#L143-L175
A quick google search for IndexError: Input embedding.weight is undefined! comes up with a couple of related issues, maybe that can help solve your problem.

I have added a couple of workarounds from https://github.com/onnx/onnx/issues/2902
this one:
https://github.com/onnx/onnx/issues/2902#issuecomment-662634157
and this one:
https://github.com/onnx/onnx/issues/2660#issuecomment-605874784
now I was able to call onnx_graph_to_caffe2_net succesfully and get two .pb files. Next is to check if they are correct

One thing you could try: If you can run Javascript on Android (not sure how easy this is; I have no experience with Android Apps) you could use the JS bindings for nnsplit: https://www.npmjs.com/package/nnsplit

now I was able to call onnx_graph_to_caffe2_net succesfully

Great! Recall that the model takes utf8 encoded bytes as input and returns two numbers for each byte, first whether there is a sentence boundary at this position and second whether there is a token boundary. Good luck.

@bminixhofer I was able to build https://github.com/microsoft/onnxruntime for Android.
I am able to load nnsplit onnx model but for our case there is a showstopper issue: https://github.com/microsoft/onnxruntime/issues/6261
uint8 is not supported as input on Java level. Do you have an idea how to change the model to workaround the issue?
For now I get an error:
Error code - ORT_INVALID_ARGUMENT - message: Unexpected input data type. Actual: (tensor(int8)) , expected: (tensor(uint8))

@bminixhofer I was able to build https://github.com/microsoft/onnxruntime for Android and now I am able to load nnsplit onnx model. But for our case there is a showstopper issue: microsoft/onnxruntime#6261
uint8 is not supported as input on Java level. Do you have an idea how to change the model to workaround the issue?
For now I get an error:
Error code - ORT_INVALID_ARGUMENT - message: Unexpected input data type. Actual: (tensor(int8)) , expected: (tensor(uint8))

Modifying the ONNX model to change the input type is apparently not easy (https://github.com/onnx/onnx/issues/2738). You can either do that (somehow) or reexport the model. In that case you have to change this line to a supported dtype:
https://github.com/bminixhofer/nnsplit/blob/fef0a94807d9a3f8195673f0cbe1c247d89d9e42/train/model.py#L157
To reexport the model you'll have to either train a new one from scratch following the notebook or load the weights from ONNX (https://github.com/onnx/onnx/issues/1425) and do some reshapes / transposes to get them into PyTorch format.

@bminixhofer thanks for the advises! is it possible that you share slices.pkl and texts.txt for supported languages? I think it could be useful for anyone who want to check \ repeat training process

The train notebook contains a guide how to obtain those. From the command line you can do e. g.
python text_data.py --dump_path ../data/ruwiki-20181001-corpus.xml --text_path ../data/ru.txt --slice_path ../data/ru.pkl

where the .xml file is a dump from linguatools.

@bminixhofer thats true. I just thought you have all of them on google drive
BTW, I wes able to try change from torch.uint8 to torch.int8. it helped. but now I have and issue with some sort of onnx reshaper
Non-zero status code returned while running Reshape node. Name:'Reshape_46' Status Message: reshape_helper.h:38 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape &, std::vector<int64_t> &) size != 0 && (input_shape.Size() % size) == 0 was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,8,4}, requested shape:{-1,17,2}
when I set input as
Map<String, OnnxTensor> container = new HashMap<>();
NodeInfo inputMeta = session.getInputInfo().values().iterator().next();
long[] inputShape = new long[2];
inputShape[0] = 1;
inputShape[1] = 17;   //exmple size of the input string
Object tensorData = OrtUtil.reshape(b, inputShape);
OnnxTensor tensor = OnnxTensor.createTensor(env, tensorData);
container.put(inputMeta.getName(), tensor);

I just thought you have all of them on google drive

I haven't and I would not have enough space to upload all of them. Anyway, it's not important IMO because you can generate them quite easily.

[...] The input tensor cannot be reshaped to the requested shape. Input shape:{1,8,4}, requested shape:{-1,17,2}

Can you try an even input shape? The model downsamples the input by a factor of 2, runs it through the LSTM, then upsamples it to make it faster. In NNSplit the input length is always padded by zeros to be even. There is also some fixed padding with zeros at the start and at the end (by default 5) so the network recognizes it is the start/end of the sequence: https://github.com/bminixhofer/nnsplit/blob/3edc0248f401dbaccc817a1ec5c62310addfc873/nnsplit/src/lib.rs#L309-L318

@bminixhofer even shape works. so I need to encode string to UTF-8, add padding to start and end and make it even?

Great! Yes, exactly.

@bminixhofer could you please advice about the retunr values? How should I understand floats?

It returns for each element in the input sequence 2 values. From above:

returns two numbers for each byte, first whether there is a sentence boundary at this position and second whether there is a token boundary.

So you'll need some threshold (default in nnsplit is 0.8), you consider values above this as boundary. Then e. g. these values:

a
s
d
f
g

0
0
1
0
1

would result in these splits: ["asd", "fg"]. And as I said the first value indicates sentence boundaries, the second value token boundaries.

For now most of the values are negatives between -10 and 0, do you think this is correct output in general?

Oh you need a sigmoid on top of it.

@bminixhofer ok, done. thank you!
now just to double check about UTF-8:
for example, for
String rawString1 = "привет.";
byte[] b = rawString1.getBytes(StandardCharsets.UTF_8);

gives input shape (1, 24)  - 24 because of 13 bytes in b + 10
and next outputs for
sentence boundaries:
result = {double[24]@9057}
 0 = 7.188219049426562E-4
 1 = 5.419912041631079E-4
 2 = 8.60122978649463E-5
 3 = 9.290491173418041E-5
 4 = 6.329368716866736E-5
 5 = 3.341944359100731E-5
 6 = 8.452941742273339E-5
 7 = 1.806551159833141E-5
 8 = 6.53452598911917E-5
 9 = 1.4458361334868135E-5
 10 = 7.34928780570564E-5
 11 = 1.8868633995715606E-5
 12 = 1.0722464794696113E-4
 13 = 3.6595785210173606E-5
 14 = 3.7648281275329184E-4
 15 = 4.4654132353017943E-4
 16 = 0.09732284957959733
 17 = 0.825304253576371
 18 = 8.142917912754272E-4
 19 = 0.0018292389398176633
 20 = 1.4697432412757864E-4
 21 = 2.4698902222780134E-4
 22 = 2.8345415876738134E-4
 23 = 6.298471369086039E-4

and token boundaries:
result = {double[24]@9058}
 0 = 4.4191678846209115E-5
 1 = 1.820336167029331E-5
 2 = 7.032376748765776E-6
 3 = 2.5400563245893566E-6
 4 = 1.807805815776602E-5
 5 = 1.1911482351806163E-6
 6 = 8.794023794472892E-5
 7 = 9.471040960956082E-7
 8 = 1.0966491252428239E-4
 9 = 1.6186126396380465E-6
 10 = 5.537004753262732E-5
 11 = 9.432443600393352E-7
 12 = 5.8014984803128914E-5
 13 = 1.3655316153675794E-6
 14 = 5.854222004890826E-4
 15 = 6.815717098320717E-5
 16 = 0.9996501017150872
 17 = 0.9998878827069678
 18 = 9.244625093147397E-5
 19 = 2.1964697864438595E-4
 20 = 1.6077073294666237E-5
 21 = 1.5376072574698218E-5
 22 = 5.3831575783079066E-5
 23 = 9.147000687132898E-5

does these numbers seems to be reasonable?

Great! You're welcome.

@UncleLiaoNN Hi, about the error

ValueError: Input size (depth of inputs) must be accessible via shape inference, but saw value None.

have you solved it?
I have the same problem, and my model consists of vgg and rnn.

@poor1017 no, i was not able to address this issue when run "onnx-tf convert" cmd.
But I was able to convert the model with the workarounds from this comment:  https://github.com/bminixhofer/nnsplit/issues/26#issuecomment-772552820

@UncleLiaoNN Thank you for replying, en..... I have to split the model into vgg.pb and rnn.pb.

@poor1017 please try to follow the tutorial from initial post: https://github.com/onnx/tutorials/blob/master/tutorials/PytorchCaffe2MobileSqueezeNet.ipynb
or try to use onnxruntime to run without splitting:)

@bminixhofer Since required change (uint8->int8) is very small, very easy code allows to open -> save model with another input type:
import onnx
onnx_model = onnx.load("en.onnx")
inputs = onnx_model.graph.input
for input in inputs:
  input.type.tensor_type.elem_type = 3
onnx.save(onnx_modelEn, 'en_int8.onnx')

(actually it chages only one byte (from 0x02 to at 0x03 the end of the .onnx file)
it works like a charm!:)
3 in INT8 and 2 is UINT8 from: https://deeplearning4j.org/api/latest/onnx/Onnx.TensorProto.DataType.html

Cool, thanks. That's good to know! I'm a bit surprised that it casts correctly s. t. 0 <=> -127, 127 <=> 0, 255 <=> 128 etc. for the embedding lookup but if it works it works :)

@bminixhofer As far as I understand the model itself is not uint8 bounded? it is only for store step

@bminixhofer As far as I understand the model itself is not uint8 bounded? It is only for store step?

@bminixhofer As far as I understand the model itself is not uint8 bounded? It is only for store step?

Well the uint8 input is fed directly into the embedding layer:
https://github.com/bminixhofer/nnsplit/blob/22ccdbe6e0a5a7befa8d8f232f6740a1002872b7/train/model.py#L50-L53
I would've expected an ONNX model with int8 input to error for e. g. x = -10 because there is no entry for that in the embedding, but it is plausible that it's shifted appropriately internally.

authors: UncleLiaoNN bminixhofer nikolayWK poor1017

repo: bminixhofer/nnsplit

license: MIT

license_source: github-api


text:
App Crash on MarkdownLink.formatText()

Our app relies on MarkdownKit for parsing and formatting articles, some of which containing links. Through crash reports, we learned that some of our users are experiencing crashes in MarkdownLink's formatText() method. We have been unable to reproduce this error.
Details of the stack trace of our crash are shown below:

Any insights as to why this is occurring, or how we should go about troubleshooting this crash?
Thank you for your help.
@bmoliveira

Maybe your range has changed. I met the same problem when I changed stinrg.

Seems related to #66. Do your links contain parantheses in the text or url?

Stack trace look similar to https://github.com/bmoliveira/MarkdownKit/pull/94

authors: gaebel guillaumealgis lillybeans linsyorozuya

repo: bmoliveira/MarkdownKit


text:
Fix tldr-pages name in readme

Hi!  I corrected an occurance of our branding on the readme.  See https://github.com/tldr-pages/tldr/issues/1109 for more details

Thanks @bl-ue !

Thanks @bl-ue !

source: gharchive/pull-request

authors: bl-ue bmuskalla

repo: bmuskalla/vscode-tldr


text:
Could not find artifact org.ethereum:ethereumj-core error

Trying to install v. 1.1.0
[ERROR] Failed to execute goal on project binance-dex-api-client: Could not resolve dependencies for project com.binance.dex.api:binance-dex-api-client:jar:1.1.0: Could not find artifact org.ethereum:ethereumj-core:jar:1.12.0-RELEASE in central (https://repo.maven.apache.org/maven2) -> [Help 1

I built it installing manually from https://mvnrepository.com/artifact/org.ethereum

The jar in maven is forbidden to me
https://dl.bintray.com/ethereum/maven/org/ethereum/ethereumj-core/1.12.0-RELEASE/ethereumj-core-1.12.0-RELEASE.jar
even by adding the repo to the pom as in

it's because bintray has been taken down and ethereumj is deprecated. someone from binance needs to sort this out, as it leaves the java sdk completely unusable rn.

https://github.com/ethereum/ethereumj/tree/1.12.0
Compile manually and install to maven repository

thanks. isn't compiling well, as using older versions of all software. Will try though. Thanks!

authors: appfile01 astudnev leelovejava pellyadolfo

repo: bnb-chain/java-sdk


text:
Duplicate operation not detected

I think I got a tough one here!
It appears I have a difference between bank website total amount, and my kresus amount.
This amount seems to be due to a non detected duplicate operation. But the duplicate operations are seperate by 2 days:

the real operation occured on a monday (06/04), and a 'pre-operation' was declared on by bank website account on the 08/04, and registered in kresus to be a 08/04 operation
the operation went to a final state 3-4 days later (9-10/04) on the website, but the real date for the operation was then set to 06/04 (the real date of the operation)

I need to check this analysis against paper report. But I have an operation recoreded in kresus with a 'generic name' ( operation carte), which is usually updated when the operation is finalized (the name of the operation becomes then more explicit : retrait, payment to ...).
For better understanding here are the duplicate operations with more than 24h delay (analysing import dates could be useful to understand how the registration of operations is done) :
Date	                Libellé de l'opération	Montant		Importé le
08/04/2015	Opération Carte	        -120	        	08/04/2015, 20:39:12
06/04/2015	RETRAIT	                        -120	        	10/04/2015, 01:19:17
On est en plein retour vers le futur

Oh boy, Romain from the Weboob team told me about this kind of issues, and I would hope I'd never have to deal with them. I think you can change the "duplicate threshold" to 2 days (48 hours), and then merge the two operations. However, I think more and more that duplicate operations should be automatically dealt with, and Romain told me how they'd do it for Budgea, so I'll try that.

This is what I did, changing the treshold. And it is fine now (just a cent of difference). I think operation types could be used in this case.
LCL module for weboob declares these "dummy operations" with unkown type and then fixes it to the proper operation type.
The current algotithme coulb be kept for operations with not unknown types
But it could look for two mathing operation over a larger period of time, and match them if one of the operations has type unknown

authors: ZeHiro bnjbvr

repo: bnjbvr/kresus


text:
json

https://github.com/stefanzweifel/kirby-json-feed/blob/master/json-feed.php

https://github.com/bnomei/kirby3-feed/releases/tag/v1.0.2


text:
Changes to allow Teensduino 1.54 beta7

Changes to allow Teensduino 1.54 beta7

Not good with GitHub.  Thought I would be able to comment on each file.  The AVNA!Config.h is just for me.  The Serial ommandR2 changes add a command that can list the commands.  The AVNA8commands.ino add a help command with H, HELP or h.  This should have been a separate issue.
The main changes are in AVNA8main.ino and AVNAlcd.ino.  Got rid of some repetitive includes and added the ones I think 1.54 will need.
I think I should have asked you to make a new branch for me to submit these pulls to.  Maybe you still can.  That way if you don't like them you just switch back to the previous branch.

Buy the way, these changes won't work in Teensduino 1.53, that's why the separate branch.  Github desktop magically changes the files between the two versions when you switch branches.

Mike, thanks for figuring out the SD situation.  I took a quick look at the notes at PJRC relative to SDFat for the TD 1.53.  I hope this is the final fix for all the SD confusion that SD!
I suggest that we wait for 1.54 to be issued (it appears to be soon) and put your changes in to be compatible with 1.54.  People can upgrade to that version of the AVNA as long as they do the same with TD.  Would that work?  Til then, I will not push anything to  confuse matters.
I like the "help" additions.  Also, I sorta suspect the 1,3 screen orientation is what is being shipped now.  I  have 1,1 but if 1,3 is the common one we should make that the default by pulling in your CFG.
Good stuff.
Bob
PS-The comment put in at "git commit" does not seem to have enough flexibility.  It leaves a lot of comments less useful than they might be.  I try to commit changes that are closely related to reduce the number of strange comments and have multiple commits.  Maybe there is a way around all that, but I see a lot of other people with the same problem from grouping of changes.

repo: boblark/AudioTestInstrument


text:
Returned palette doesn't include source color

Source color should be included somewhere within the returned palette - keen to use this within my project but can foresee user frustration of not being returned the specific value they've given (e.g. if they're working with strict brand guidelines)

@maxhart7 ran into the same issue.
Expected the source color to be set als color-500. Like this .e.g. https://javisperez.github.io/tailwindcolorshades/?strikemaster=8a6086

Experiencing same issue

Thanks for the feedback.  This issue is actually by design.  The goal of the palette generator is to give you a full palette to choose from, based off the hue & saturation of the supplied color.  The lightness / shades are then calculated based on predefined values ( which also can be overwritten ).  If the source color was preserved, you could end up with crowding.
Let's take a look at two examples:
Light Color
#ffffff
If we preserved the white color for our 500 shade, then everything from shade 50 - 500 would be the same.  You can see this: https://javisperez.github.io/tailwindcolorshades/?white=FFFFFF
Dark Color
#000000
If we preserved the black color four our 500 shade, then everything from shade 500 - 950 would be the same.  You can see this:
https://javisperez.github.io/tailwindcolorshades/?black=000000
One option I did explore was finding the shade with the closest lightness value, and inserting it into the palette.  The two examples would be something like:
// #ffffff
{
    '50': '#ffffff',
    '100': '#f2f2f2',
    '200': '#e6e6e6',
    '300': '#d1d1d1',
    '400': '#a3a3a3',
    '500': '#757575',
    '600': '#545454',
    '700': '#3d3d3d',
    '800': '#242424',
    '900': '#121212',
    '950': '#0a0a0a'
  }

// #000000
{ name: "50", lightness: 98 },
    { name: "100", lightness: 95 },
    { name: "200", lightness: 90 },
    { name: "300", lightness: 82 },
    { name: "400", lightness: 64 },
    { name: "500", lightness: 46 },
    { name: "600", lightness: 33 },
    { name: "700", lightness: 24 },
    { name: "800", lightness: 14 },
    { name: "900", lightness: 7 },
    { name: "950", lightness: 4 },

I added another option preserve that will find the closest shade and insert the originally supplied hex in at that place.  This is set to true by default.  This is available in 3.2.0

authors: Yard-Daniel bobthered jhgeluk maxhart7

repo: bobthered/tailwindcss-palette-generator


text:
bug: need to escape html tags in reference documentation

The HTML elements in all references should be typed by escaping the HTML entities and not simply as a tag.  This leads to them being rendered as a tag, not as text.
For example, consider the following line in the reference of createInput:
https://github.com/bocoup/p5.js-website/blob/ef00c00bcc953c3c32f4778d5d16949c9df9bb4b/src/content/reference/en/p5/createInput.mdx?plain=1#L7
This leads to the reference being incorrectly rendered (instead of <input></input> text with an input element):

Instead the same should be re-written as
Creates a text <input></input> element.
 so that the same is correctly rendered as:

Given the number of occurrences of such instances, I think that the best way to handle it might be to write a script that can parse through the textual content and the frontmatter of all the documentation MDX and then rewrite the reference documents while escaping the characters for HTML tags (except tags like , , , ) as they are used in the reference to provide structure. This should handle most cases, and then we can manually correct the references and documentation associated with these tags.
There might be a better way of handling the same, but this is the one that came to me.


text:
Bodymovin stuck on exporting sequence

Hi there I made an C4D sequence and tried exporting it with Bodymovin in AE 2019 as a Lottie JSON.. but it repeatedly gets stuck around frame 120 of 244.  Does anyone know how to fix this? (My first time using bodymovin and it hasn't worked yet)

Hi, can you share the .aep?

Ofcourse!
tomdekr-banner-aep.zip

Hi, can you share the .aep?
Hi, I've tried different image formats, different bodymovin installs (current version 5.6.3).. still not working.

.aep only:
tomdekr-banner-aep.zip
with png sequence:
https://we.tl/t-nG4Lg0C9qD

Hi, I just tried it and it exported correctly.
Do you have any special setup in the assets settings of the bodymovin panel?

Only thing I've changed besides standard render settings  is checking the "include in Json" option.

I've been able to reproduce it. Very strange.
I'm looking into it.

Any luck :)?

Still working on it

ok, got a fix.
Will be available on the next release.

Done!
Should be fixed on version 5.6.4
Feel free to reopen if you have any issues.

authors: bodymovin tomdekr

repo: bodymovin/bodymovin-extension


text:
Is it possible to add tracking  / useing as a trigger single or double click of a Wyze Switch?

I think I know the answer, but still have some hope :)

Wrong repo

authors: bodyscape realsimon


text:
🛑 Mehbn is down

In dba37c8, Mehbn (https://mehbn.onrender.com/db-status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mehbn is back up in f3f0502 after 48 minutes.

repo: bogotas/upptime


text:
Use created_at from query if passed

while running insert query passing created_at with data should set the passed created_at. But it is ignoring that and alway using new Date()
Use cases for these can be when data is created in offline condition and is sync later in that case date should be of when data was created.
Example
let User = bookshelf.Model.extend({
  tableName: 'users',
  hasTimestamps: ['created_at', 'updated_at'],
});

User.forge({ firstName: 'Grayson',created_at: 1498024050269 }).save()

Actual
insert user grayson with created_at new Date()
Expected
insert user grayson with created_at new Date(1498024050269)

I think this fix is useful, can you edit your pr to pass the Trevis checks?
Once passed I'll merge it

Can you trigger test on Travis? I am not able to trigger using empty commit.

Test Passed! Merged to master, thank you :) 👍

Test Passed! Merged to master, thank you :) 👍

repo: bookshelf/bookshelf


text:
websocket-server-autobahn

Need a server specifically designed for autobahn testing, it should have synchronous, asynchronous, and coroutine ports

Done

repo: boostorg/beast


text:
Compile time error with MinGW and boost/test/minimal.hpp

Attempt to build Boost.Variant tests with MinGW end with the following error:
In file included from ..\..\../boost/test/minimal.hpp:53:0,
                 from variant_multivisit_test.cpp:18:
..\..\../boost/test/impl/execution_monitor.ipp: In function 'void boost::detail::report_error(boost::execution_exception::error_code, const boost::exception*, const char*, char**)':
..\..\../boost/test/impl/execution_monitor.ipp:221:84: error: 'vsnprintf' was not declared in this scope
 #  define BOOST_TEST_VSNPRINTF( a1, a2, a3, a4 ) vsnprintf( (a1), (a2), (a3), (a4) )
                                                                                ^
..\..\../boost/test/impl/execution_monitor.ipp:246:5: note: in expansion of macro 'BOOST_TEST_VSNPRINTF'
     BOOST_TEST_VSNPRINTF( buf, sizeof(buf)-1, format, *args );
     ^

Full log available at https://ci.appveyor.com/project/apolukhin/variant/build/job/hq2ob6ipas8g4qrc

Do you think it is solved through https://github.com/boostorg/test/pull/195 ? The changes are in the next-internal branch if you want to give a try.

Closing. Feel free to re-open if you encounter the issue again.

authors: apolukhin raffienficiaud

repo: boostorg/test


text:
Refactor Woo checkout form validation

.woocommerce-invalid .form-control {
  @extend .is-invalid;
}

.woocommerce-validated .form-control {
  @extend .is-valid;
}

Much more better than
// Checkout Form Validation
$('body').on('blur change', '.form-row input', function () {
  $('.woocommerce form .form-row.woocommerce-validated .select2-container, .woocommerce form .form-row.woocommerce-validated input.input-text, .woocommerce form .form-row.woocommerce-validated select, .woocommerce form .form-row.woocommerce-validated .form-check-input[type=checkbox]').removeClass('is-invalid').addClass('is-valid');
  $('.woocommerce form .form-row.woocommerce-invalid .select2-container, .woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select, .woocommerce form .form-row.woocommerce-invalid .form-check-input[type=checkbox]').removeClass('is-valid').addClass('is-invalid');
});

We can do this after https://github.com/bootscore/bootscore/pull/329 is merged

We leave it as it is, checks are too messy https://github.com/bootscore/bootscore/commit/daa59819101e897de63eca8096d8efb36496cf42

repo: bootscore/bootscore


text:
MySQL/PostgreSQL backups

Hi, first of all, thanks for the role it's really helpful.
I saw that you implemented before/after backups commands, but in borgmatic databases dump hooks are native. Is it possible to use them with your role ? It would a shame to use this role and have to deploy a jinja template of the config file just for those commands.
Thanks.

I didn't look into Borgmatic's hooks yet. Great if they cover the majority of use cases.
We probably still want the before/after hooks to run custom commands that Borgmatic may not support yet.
I'm still open to adding options for Borgmatic hooks and improving the docs in this regards.

I'm still open to adding options for Borgmatic hooks and improving the docs in this regards.

That would be great !

Hi,
i have recently discovered your role. Thank you for your great work.
The integration of the native borgmatic database dump hooks would be very helpful for me.
Can you give us a status if it can be integrated? What are the current alternatives? Should I use before/after hooks or is there a way to use the role and still provide a custom config or other parameters?
Thanks.

Can be added. Just edit the Borgmatic config j2 template.
For the param names, we could use this: borgmatic_dump_[mysql|postgres|mariadb]
Possible values

empty (default) does nothing
all dump all DBs, as per Borgmatic docs
db1, db2 (dump specific DBs, not sure how Borgmatic separates them)

Hey,
do you have an update here? If not, would you @m3nu want to create a PR or should I make one? I'd also be happy to use the PostgreSQL dump feature and not rely on before hooks.

Feel free to contribute a PR, @cl1ent . Bonus points if it's flexible enough to use it with other kinds of hooks.

It's now possible to add this to the usual Borgmatic config.

repo: borgbase/ansible-role-borgbackup


text:
🛑 wowsgame.cn is down

In ef6ee59, wowsgame.cn (https://wowsgame.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: wowsgame.cn is back up in 749abe9 after 7 minutes.

repo: boriskhodok/wowsuptime


text:
react-router: Mismatch, wrong type for Route?

Hi. I am trying to use React-Router with React 0.13.2.
The following is valid typescript, compiles and performs as expected - but only if i widden routes to 'any'.
var Route = React.createFactory(Router.Route)
...
var routes = Route({path: "/", handler: MyReactComponent}, ...)
Router.run(<any>routes, Router.HistoryLocation, handler)

If I remove <any> I get,  "Argument of type 'ReactElement<RouteProp>' is not assignable to parameter of type 'Route'.
I can't figure out whether I am using the Router in the wrong way, or the migration to React 0.13 clash with the type declarations. I would be much obliged if you could help me solve the question.
-- Cheers

https://github.com/borisyankov/DefinitelyTyped/blob/master/react-router/react-router.d.ts#L3
please contact to definition author. @mrk21

Will do, thank you.

Hi, @tugend,
The reason this issue was occurred is that Router.run() does not support to call with ReactElement created by the React.createFactory().
Therefore, I fixed it.
If the following pull request is merged, you will be able to remove <any> from the above code.

Fix #4267(react-router/react-router.d.ts)

@tugend You might want to try #4173 and see if that works better or not.

Thank you for the suggestion, but @mrk21 fixed the problem (always the champ!). =)

authors: duncanmak mrk21 tugend vvakame

repo: borisyankov/DefinitelyTyped


text:
initial declaration for mailparser

Declarations for the current version of mailparser lib.

mailparser/mailparser.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/mailparser
http://bower.io/search/?q=mailparser
others?

[ ] has a test file? (mailparser/mailparser-tests.ts or others)
[ ] pass the Travic-CI test?

@psnider thank you for your contributions.
please rename mailparser/mailparser-test.ts to mailparser/mailparser-tests.ts

The test file has been renamed, and should be ready.
Note that I had a problem and recreated the repo. Hopefully, this won't affect you.
Thanks

Creating a new pull request...

authors: psnider vvakame


text:
Correct values in configuration on banning and retry

We should wait some time to ban any unanswering node after many retries and failed requests. We now set the waiting time to about 1 hour. Actually, the total time of multiplication of retry_delay, max_retries, timeout, and max_failed_requests in the commits could be one and a half hours.
We mostly refer to the values of infrastructure because it is used for the live test system. Anyway, one hour could be the best time to wait before banning a bad node.
Fixes #1657

Some index files failed to download. They have been ignored, or old ones used instead. ?
There has been various Integration failures recently..

What's up with the changes to flash in the 3rd commit ?

I will check the last commit. There might have been some problems in committing.

The 5 seconds for the retry_delay make the Integration / Integration (pull_request) test fail constantly. So I set the value to 3 seconds, which make the test succeed.

repo: bosagora/agora


text:
Add Google ReCaptcha checkbox

Prevent bots from draining the utxo from the Faucet web page.

Nice! Where does the key come from ?

Nice! Where does the key come from ?

Google

https://www.google.com/recaptcha/admin

repo: bosagora/faucet


text:
81 support incremental behaviour for doxysphinx

Using HTML hash to compare the changes for achieving incremental behavior (Issue #81)

@aniketsalve22 I thought I added a comment to your latest commit (https://github.com/boschglobal/doxysphinx/pull/89/commits/10f25a80efef10ccc8564962f5e0dc12ee68bf62), but do not see it anymore.
I feel this fix might eat some significant whitespace as well.
For example and a newline in

This is a para with long space               in between and in the end
   and a newline

See more info on significant whitespace here in this article on XML (same applies to HTML)
https://www.oracle.com/technical-resources/articles/wang-whitespace.html

As per the reply here the issue is fixed.
We could perhaps test with the master branch of doxygen once to confirm.

Tried with doxygen 1.9.7 (49caa66a3b824d139cf83c4964c9a4bbe8c5c0e0) and the issue is solved.

repo: boschglobal/doxysphinx


text:
add generic botorch base optimizer

This PR brings a fairly generic BOTorch based optimizer to the table, which we can flexibly use with various models and acquisition functions. For a simple example, see the reference tests implementation.
Signed-off-by: Grossberger Lukas (CR/AIR2.2) Lukas.Grossberger@de.bosch.com

I think this PR is ready to be merged. I have no further comments. Thank you @LGro!

authors: LGro aeivazi

repo: boschresearch/blackboxopt


text:
Failed to load plugin: winget

Hi,
This issue was mentioned a few times and i really tried to make it work.
But the error accours everytime, i tried putting the plugin at the location you mentioned in the Readme and also the location that is mentioned here PowerToysDoc
I also tried installing PowerToys in all possible ways (winget, msstore, .exe from Github)
I think this is a really handy plugin and would really like it to work.
I also attached my log if that helps. 2024-01-05.txt
Any suggestions?
Thank you in advance!
Paul

Have you tried this with v1.2.3? Also, the PowerToys plugin folder changes (see README.md)

I'm using version 1.2.3
And tried putting it in %LOCALAPPDATE%\PowerToys\RunPlugins and %LOCALAPPDATE%\PowerToys\PowerToys Run\Plugins
In both cases the same result.

When I put another Plugin in either of those folder (only tested with PowerTranslator Plugin) the error doesn't accure and the plugin works.

Try %LOCALAPPDATA%\PowerToys\RunPlugins

I'm using version 1.2.3
And tried putting it in %LOCALAPPDATE%\PowerToys\RunPlugins and %LOCALAPPDATE%\PowerToys\PowerToys Run\Plugins
In both cases the same result.

I already tried, same result (misspelled the directory, should be of course DATA)

I'm using version 1.2.3
And tried putting it in %LOCALAPPDATE%\PowerToys\RunPlugins and %LOCALAPPDATE%\PowerToys\PowerToys Run\Plugins
In both cases the same result.

I already tried, same result (misspelled the directory, should be of course DATA)

My plugin location is:
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins\Winget
I'm using PowerToys (Preview) v0.76.2 and PowerToysRunPluginWinget 1.2.3 and there are no issues with that error. I had it on the previous version but no longer.
Maybe you have the plugin installed in multiple locations and that's causing the issue?

I actually had the problem with multiple plug-in locations before, so maybe reinstall power toys and check again?

Maybe, But I looked everywhere and removed it, after putting it in the location you mentioned, still the same problem.
But if it works for you, the problem is probably on my side, so I'm going to close this issue. And maybe give an update if I find a solution
Thanks regardless

If you're interested you can see which one it attempts to load at run-time by getting the DLLs:
https://learn.microsoft.com/en-us/sysinternals/downloads/listdlls
That can show you which ones are loaded and where for a particular process ID. Then you'll know for sure which version/ plugin path it's trying to use. (Process explorer can do a similar thing with showing all open file hooks)

Maybe, But I looked everywhere and removed it, after putting it in the location you mentioned, still the same problem.
But if it works for you, the problem is probably on my side, so I'm going to close this issue. And maybe give an update if I find a solution
Thanks regardless

If you're interested you can see which one it attempts to load at run-time by getting the DLLs:
https://learn.microsoft.com/en-us/sysinternals/downloads/listdlls
That can show you which ones are loaded and where for a particular process ID. Then you'll know for sure which version/ plugin path it's trying to use. (Process explorer can do a similar thing with showing all open file hooks)
e.g.

C:\tools\ListDLLs\Listdlls64.exe 16048 | findstr "Winget"

Since the new Update 0.77.0 the plugins works for me (maybe the update fixed the issue you mentioned, i haven´t found the time to look into it, but it works now, thanks regardless)
Thank`s guys for the help!

authors: bostrot plhrtr zeyus

repo: bostrot/PowerToysRunPluginWinget


text:
MS Word pasting apostrope

When pasting from word the word with apostrope counts 2 words

@athlonzam I'm taking a look at this.

@athlonzam I think I will need a bit more information:

What .doc version are you using?
Are you copying the troublesome word from a .doc into a plain-text file and then running it through wordcount.js?
Can you try reproducing this on http://bostrt.github.io/wordcount.js/ so you and I can be using the same app for our testing? This would help eliminate any unknowns for me.

Versions of ms word are different but with same results. Sorry to get your
attention. here is  a screen shot one word but 2 words are deducted from
100 words.
[image: image.png]
On Thu, 21 Mar 2019 at 23:13, Robert Bost notifications@github.com wrote:

@athlonzam https://github.com/athlonzam I think I will need a bit more
information:

What .doc version are you using?
Are you copying the troublesome word from a .doc into a plain-text
file and then running it through wordcount.js?
Can you try reproducing this on http://bostrt.github.io/wordcount.js/
so you and I can be using the same app for our testing? This would help
eliminate any unknowns for me.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bostrt/wordcount.js/issues/6#issuecomment-475270223,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Auhd03cqyQgxT9HWJ7Vth1q2U88zm0ISks5vY6GIgaJpZM4cAvPN
.

@athlonzam Looks like GitHub doesn't like image attachments. Can you post that to a GitHub comment directly?

Did you find a solution to this issue?
On Fri, Mar 22, 2019, 9:03 PM athlonzam notifications@github.com wrote:

Closed #6 https://github.com/bostrt/wordcount.js/issues/6.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/bostrt/wordcount.js/issues/6#event-2224144219, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AANI-pTNo1317Dhuz2Gxe6FQcb2lXijcks5vZZlngaJpZM4cAvPN
.

did not? i dont want to replace your script , your script is the best so i was forced to ask you

I saw the issue close so just wanted to make sure :)
I also want to confirm you are using my library. Based on the screenshot,
looks like you are using a word count library that checks a textarea
whereas mine only acts on file uploads.
I believe you may want to double-check what library is being used and open
a new issue.
On Fri, Mar 22, 2019, 10:36 PM athlonzam notifications@github.com wrote:

Reopened #6 https://github.com/bostrt/wordcount.js/issues/6.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/bostrt/wordcount.js/issues/6#event-2224172446, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AANI-uuAXO_fPpUFfArH32A6gudwGHEaks5vZa9FgaJpZM4cAvPN
.

authors: athlonzam bostrt


text:
有几个疑问

使用前我有几个疑问想问下，
1、这个字牌怎么输入
2、我看介绍里，分析并没有加前缀，那是否每句话都会进分析程序呢，还是有什么识别，加一个分析前缀会不会好些呢。毕竟是要和其它插件混用的。
谢谢

1、这个字牌怎么输入

1z2z3z4z5z6z7z

2、我看介绍里，分析并没有加前缀，那是否每句话都会进分析程序呢，还是有什么识别，加一个分析前缀会不会好些呢。毕竟是要和其它插件混用的。

没有前缀，正则fullmatch到符合格式的、并且牌枚数大于4张的才会计算。其他插件应该也不会响应114514p1919s810m这种消息吧（

了解了，感谢


text:
Missing dependencies

Hi @hhslepicka, I'm having trouble importing the project.
Could not find artifact org.marvinproject:MarvinFramework:pom:2.0 in central (https://repo.maven.apache.org/maven2)
Could not find artifact org.marvinproject:MarvinPlugins:pom:2.0 in central (https://repo.maven.apache.org/maven2)

I can't find it in https://mvnrepository.com either

@HeliangCN, sorry for the late reply.
All the dependencies are now available via our Nexus repository. We will soon add them to Maven Central as well but for now you can do the following on your pom.xml:
    <repositories>
        <repository>
            <id>nexus-botcity-public</id>
            <url>https://devtools.botcity.dev:8081/repository/botcity-public/</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

And pull the dependencies from there.
Feel free to reopen the issue in case this didn't work for your code.

authors: HeliangCN hhslepicka

repo: botcity-dev/botcity-framework-core


text:
fix a bug where rename would fail for objectname . (dot)

o When using s3transfer and we have an object named "." (dot) and the platform is Linux, the s3transfer fails for object with an -EBUSY.
$ aws s3 sync s3://random-bucket-name/ /tmp/test
download failed: s3://random-bucket-name/. to ../../tmp/test/. [Errno 16] Device or resource busy

o The rename that is failing in above comes from s3transfer:
  File "/usr/lib/python2.7/site-packages/s3transfer/download.py", line 601, in _main
    osutil.rename_file(fileobj.name, final_filename)

o  Note that "." in Linux holds a special resemblance. Every directory contains the special name "." (dot), a shorthand name that is a map to the inode of the directory itself. That counts as a link to the directory. There can exist an object named "." but you can not overwrite this filename in Linux because of which python calls os.rename() which internally calls the rename(2) system call. The systemcall fails with -EBUSY causing this bug as this case is not handled yet.
o This is a corner case scenario if the customer is using s3transfer to copy objects named . to current working directory.
o As a fix to this issue, I propose that we change the object name to fileobj.name  and print the value in stderr.
Any feedback is appreciated.

Hi,
Instead of renaming "." file . Can we print warning & give option to enduser to decide .  What if enduser doesn't want it to be renamed. Printing a simple warning will be enough to hint enduser.


text:
Create a Capsule app (http?) that would be able to load several modules

a Capsule app waiting on a port
if a call of HTTP://localhost:8080/functions/hello

if it does not exist: start a new process of the Capsule app, loading the new module on a new port (for a defined duration), then call the function
if it exists, call the function on the appropriate port

a function is related to (at least) one wasm module, or several wasm modules (revision)
where to store the wasm modules?

option: put all the wasm files in the same directory, and they should have a unique name: hello.blue.wasm
how to define a default revision?

repo: bots-garden/capsule


text:
Consider adding PHPStan package inside require-dev block on composer.json

As title, to let developers do static code on development environment, it should be nice to define PHPStan package inside require-dev block on composer.json file.
Once this issue is accepted by repository owner, I'll be happy to work on this.

In the past I was against that, as I don't like having a tool as a dependency, I believe dependencies should be actual code related dependencies only. However, as PHPStan doesn't seem to bring a lot of baggage (i.e. even more dependencies) I decided to break my personal rule and add it.

repo: bovigo/assert


text:
Programmatic API , did I miss something?

code below:
      bower.commands.install(repo, {
        'save': commander['save'],
        'save-dev': commander['save-dev'],
        'force-latest': commander['force-latest'],
        'production': commander['production']
      }, {
        cwd: root,
        directory: directory,
        interactive: true
      }).on('log', function (log){
        var endpoint = log.data.endpoint;
        var targetMsg = endpoint ? util.format('%s#%s', endpoint.name, endpoint.target) : '';
        var str = util.format('[Installer] bower %s  %s %s', targetMsg, log.id, log.message);
        console.log(str);
      })
      .on('prompt', function (prompts, callback){
        inquirer.prompt(prompts, callback);
      })
      .on("error", function (data){
        console.error(data);
        fis.log.error(data);
      })
      .on("end", function (installed) {
        console.log('process ', Object.keys(installed));
        simplify(installed, projectMeta, directory);
      });
    });

it works fine last night, but sometime stay for a long time, today it always stay...
the log:
D:\Workspace\Code\ng-workflow\ngfis-showcase>ngfis install zepto
[Installer] bower install zepto to: d:\Workspace\Code\ng-workflow\ngfisshowcase\src\component_modules
[Installer] bower zepto#*  cached git://github.com/components/zepto.git#1.1.6
[Installer] bower zepto#*  validate 1.1.6 against git://github.com/components/zepto.git#*

but use bower install is so quick:
D:\Workspace\Code\ng-workflow\ngfis-showcase>bower install zepto
bower zepto#*                   cached git://github.com/components/zepto.git#1.1.6
bower zepto#*                 validate 1.1.6 against git://github.com/components/zepto.git#*
bower zepto#~1.1.6             install zepto#1.1.6

zepto#1.1.6 bower_components\zepto

is there something block?

directory supports only relative paths. Bower could throw an error otherwise.

So.. Bower should accept only relative paths as directory otherwise it should throw an error, correct? :)

I think we implemented absolute paths in directory

authors: atian25 oskarcieslik sheerun

repo: bower/bower


text:
Installing components by date

I have checked through the closed issue's and cant find anything but apologies if this is a duplicate and has been discussed previously.
Recently i have had to deal with some repo's that are very active and in "preview" mode and therefore breaking changes can occur fairly often. Bower gives me the ability to install from a specific commit which is fantastic to quickly grab the components from when they were working, however when these components have been split up and have many hard dependencies this becomes a problem, what i would need to do is add each dependency into my bower.json with the commit I want.
I think what would be fantastic (i appreciate it would not be easy to achieve ) would be the ability to pass a date to bower that would use to bring down the components and its dependencies with the last commit before that date.  Would be interested to hear what you all think.

I agree it would be useful if someone managed to implement this. I had similar idea some time ago, but it turned out it would be difficult to implement even for git. For now Bower uses command similar to following to fetch list of available tags: git ls-remote https://github.com/bower/bower.git
If you look at the output, there's no information at which time tags were created. It makes it impossible for Bower to select only one version to download .tar archive of, without cloning whole repository. I hope you see the problem.
Any other ideas how to implement it?

Bantu saya menyelesaikan masalah ini

Unfortunately Bower is not developed anymore, just maintained, and because of this we won't introduce new features like the one suggested here.

authors: CodeBush91 bundamaryam sheerun


text:
Do not store resolutions with force-latest when --dont-save-resolutions is used

Closes #2344
Without this, there's no way to prevent --force-latest from modifying bower.json when it resolves a conflict.
This adds a --dont-save-resolutions to prevent that.
Not sure this is the best way, but it's the compatible way :).
Also, I have no idea how to get at the parsed options in Manager, directly looking at cooked argv (this._config.argv.cooked) is probably not the correct way..
Thoughts anyone? :)

I'm posting alternative solution that updates package.json only if --save is used: #2508

authors: himdel sheerun


text:
No Admin Log In Area [Bug]

What happened?
Hi. Firstly thank you all so much for the work you're putting in into maintaining BoxBilling. I installed the latest version from Github but for some reason, I can't log in to the Admin Area. In fact, there is no admin area just the client one. When I enter my admin details into the client login it says "Not Found". Any advice on this?
Also, how would one go about updating the installed version when future versions are released? I installed the latest one 4.22.1.4
BoxBilling Version
v4.22-beta.1.2
What version of PHP are you running?
PHP 8.0
Additional Notes
Additional notes

Hello,
I am assuming as you have this error you may be running apache.
If you are not, then you can ignore the second part of my reply.
It seems you do not have the .htaccess file setup so here is what you need to do.
At the root directory of your installation where index.php is create a file called .htaccess then place the following in it.
https://raw.githubusercontent.com/boxbilling/boxbilling/master/src/.htaccess.txt
Once this is done, if you are using apache2 you need to setup it up to use the file, and you do this by doing the following.
Edit /etc/apache2/apache2.conf change it so within <Directory /var/www/> tags it looks like below.
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted

Now restart apache2 sudo systemctl restart apache2 and the rules should be wokring in order to enable the admin interface.
Let me know how you get on 😄

authors: AlimahMaredi LainShot

repo: boxbilling/boxbilling


text:
DeepL translator valid traget locale

The DeepL Translator checks the availability of the target language.
It doesn't matter whether the country code is included or not.
Fixed command
phpunuhi translate --service=deepl  --source=de-DE --force=fr-FR
or
phpunuhi translate --service=deepl  --source=de-DE --force=fr-BE
or
phpunuhi translate --service=deepl  --source=de-DE --force=fr-CH

Hi @TumTum
a perfect, so en and pt are special ones and the rest just needs the first part, correct?
thanks for fixing it
ill merge it soon :)
pipe looking good now :)

a perfect, so en and pt are special ones and the rest just needs the first part, correct?

Yes exactly (references). Because we ask Deepl once which languages are available. This can be adjusted automatically in the future. Some have a website in Belgium and France and they need the setting 'fr-BE' and 'fr-FR' in their framework.
Dein ist Tool ist mega mega cool, es rettet uns!!!

nice, thanks, ill add it to the changelog
und vielen vielen dank, das freut mich extrem :)

authors: TumTum boxblinkracer

repo: boxblinkracer/phpunuhi


text:
slides over each other when screen resolution is 1920*1080

dear mrs.
when view the slider in 24" monitor in sizes such as 1920*1080 the slides show over each other and slider not work correctly such as this sample with two different types of use. anybody can help me?
https://www.demo2.eshop24.ir/

Hi,
Are you still experiencing the issue?

authors: davidghi sytous

repo: bqworks/slider-pro


text:
Fix a bug with sqllite default values and inserts

I found a bug where sequelize was incorrectly inserting a raw string when it should have been respecting the default defined at the database column level. This PR fixes it by reducing the fields that sequelize inserts to to only those defined on the values.
Here's a repro. Make a table like this:
CREATE TABLE accounts (
  "id"                  TEXT PRIMARY KEY,
  "name"                TEXT NOT NULL,
  "created"             TEXT DEFAULT (strftime('%Y-%m-%dT%H:%M:%SZ')),
) WITHOUT ROWID;

And try to insert just a record with just a "name". You'll end up with the literal strftime('%Y-%m-%dT%H:%M:%SZ') for the created column.

Way late but thanks for this 🙏

authors: bradleyboy jondlm

repo: bradleyboy/tuql


text:
Ripple effect suggestion

Hi is it has any prop for ripple effect ?

No prop, the ripple effect would be the inner layout of a cardview typically. You could apply a ripple drawable to the cardview but currently it's not supported with this plugin.

authors: bradmartin cagatayoncul

repo: bradmartin/nativescript-cardview


text:
added option to set audio output to both hdmi and local

I have been using the previous version of your software for more than a year now and I am very glad to see,that you are working on a new version.
I already had a local modification of the startup shell script to send audio to both Raspberry Pi audio outputs and now I would like to contribute to this new project with this commit.

Thank you. Is both a valid option? Didn't found that in the specs

Yes, you can check it in the help of omxplayer:
-o  --adev  device          Audio out device      : e.g. hdmi/local/both/alsa[:device]

Ok, i was looking at an older version of omxplayer -> https://github.com/huceke/omxplayer. Merged.

authors: brainfoolong lpgera


text:
Help with visualising my own data with Brainrender + Allen atlas

Hi Team,
This is not really a feature request of a bug. I am new to Brainrender and learning how to use it.
I ran the entire brainmapper workflow and have brain registration and cell segmentation results (points.npy) from my datasets. A simple question, how do I display a 3D render of cell segmentation in a specific brain region on the Allen Brain atlas? Do I use this numpy array or do I need to covert any of the csv outputs into a numpy array for doing this (as mentioned here). Sorry for the very naive questions, quiet new to brainrender to be honest. Any help would be appreciated.

Hi @Eddymorphling,
If you have usage questions, the image.sc forum is likely to be a better place to ask, there are more people there who can help you. Make sure to tag your post with brainglobe and the tool you're using (e.g. brainrender) so that the right people see it.
However, I can give it a go. I assume you mean you want to visualise only the cells that are in specific brain region(s)? If so, this script should work. Hopefully it's obvious what needs to be changed, but let me know if you have any trouble. The resulting figure is at the bottom.
Script:
from pathlib import Path

from brainrender.scene import Scene
from brainrender.actors import Points
from brainrender import settings

import numpy as np
settings.SHADER_STYLE = "plastic"
settings.SHOW_AXES = False

# set this to your brainmapper output .npy file
cells_path = Path("path/to/points.npy")

# Define regions of interest (easier to define all at the
# terminal/finest level of the hierarchy)
regions = ["VISp1", "VISp4", "VISp5"]

# Function to select specific regions
def get_cells_in_regions(scene, cells_path, regions):
    cells = np.load(cells_path)
    new_cells = []

    for cell in cells:
        if scene.atlas.structure_from_coords(cell, as_acronym=True, microns=True) in regions:
            new_cells.append(cell)

    new_cells = np.asarray(new_cells)

    return new_cells

# Create a brainrender scene
scene = Scene(title=f"brainmapper cells in {regions}", inset=False)

# Load points and select for those in specific regions
cells_points = get_cells_in_regions(scene, cells_path, regions)

# Create points actor
cells = Points(cells_points, radius=45, colors="palegoldenrod", alpha=0.8)

# Add cells
scene.add(cells)

# Add specific regions
for region in regions:
    scene.add_brain_region(region, color="mediumseagreen", alpha=0.2)

# Visualise brainrender scene
scene.render()

Result:

authors: Eddymorphling adamltyson

repo: brainglobe/brainrender


text:
failed to run preprocess -- code:1

Hi,
I'm trying to upload a single subject's DICOM directory and am getting the following message:

preprocess.err.log
preprocess.log
I tried running the conversion using dcm2niix locally and did not encounter any issues. It did take relatively long though, is it possible there's a timeout that is being triggered?
Thank you for all the great work!

@ZviBaratz Thank you for posting this error message.
We run multiple dcm2niix in parallel, so it's hard to find which image is failing to convert (sorry!), but can you try converting all of these and see if you can convert them successfully?

echo ./DLX77C1B/1.3.12.2.1107.5.2.43.66024.2016120813254113240295385.0.0.0
echo ./DLX77C1B/1.3.12.2.1107.5.2.43.66024.2016120813374817750401149.0.0.0
echo ./DLX77C1B/1.3.12.2.1107.5.2.43.66024.2018012411353289977157238.0.0.0
echo ./DLX77C1B/1.3.12.2.1107.5.2.43.66024.2016120813371566601400887.0.0.0
echo ./DLX77C1B/1.3.12.2.1107.5.2.43.66024.2016072712013983867187539.0.0.0

I converted the files successfully. However, I think I know what the issue might be. The conversion log shows:
Warning: Adjusting for negative MosaicRefAcqTimes (issue 271).

I'm guessing this changes the return code? I am using the latest release of dcm2niix (v1.0.20210317).

I don't think Warning will change the return code.. but I could be wrong.
Just to be sure though.. With all 5 DICOM directories, you were able to convert them to .nii.gz file with dcm2niix running locally? Can you check $? (return code) from each command and make sure they are returning code 0?

@ZviBaratz Also.. is it possible to share the data that is causing ezBIDS to fail? I'd like to troubleshoot it with @dlevitas

Closing this issue now, due to inability to replicate error with other datasets. Will re-open if the error arises again.

I thought I found the dataset (batch2) that I was able to reproduce this, but I can't anymore..

Actually, I was able to reproduce it with batch2
Compress: "/usr/bin/pigz" -n -f -6 > "./batch2/027_S_5170/Sagittal_3D_FLAIR/2019-09-06_13_27_38.0/S871491/time-20190906132738-sn-4a.nii.gz"
Unable to equalize slice distances: slice order not consistently ascending:
dx=[0 0 1.2 2.4 3.60001 4.8 6 7.2 8.4 9.60001 10.8 12 13.1998 14.3998 15.5998 16.7998 17.9998 19.1998 20.3998 21.5998 22.7998 23.9998 25.1998 26.3998 27.5998 28.7997 31.1997 32.3997 33.5997 34.7997 35.9997 37.1997 38.3997 39.5997 40.7997 41.9997 43.1997 44.3997 45.5997 46.7997 47.9997 49.1997 50.3997 51.5997 52.7997 53.9997 55.1997 56.3997 57.5997 58.7997 59.9997 61.1997 62.3997 63.5997 64.7997 65.9997 67.1997 68.3997 69.5997 70.7997 71.9997 73.1997 74.3997 75.5997 76.7997 77.9997 79.1997 80.3997 81.5997 82.7997 83.9997 85.1997 86.3997 87.5997 88.7997 89.9997 91.1997 92.3997 93.5997 94.7997 95.9997 97.1997 98.3997 99.5997 100.8 102 103.2 104.4 105.6 106.8 108 109.2 110.4 111.6 112.8 114 115.2 116.4 117.6 118.8 120 121.2 122.4 123.6 124.8 126 127.2 128.4 129.6 130.8 132 133.2 134.4 135.6 136.8 138 139.2 140.4 141.6 142.8 144 145.2 146.4 147.6 148.8 150 151.2 152.4 153.6 154.8 156 157.2 158.4 159.6 160.8 162 163.2 164.4 165.6 166.8 168 169.2 170.4 171.6 172.8 174 175.2 176.4 177.6 178.8 180 181.2 182.4 183.6 184.8 186 187.2 188.4 189.6 190.8 192 193.2 194.4 195.6 196.8 198 199.2 200.4 201.6 202.8 204 205.2 206.4 207.6 208.8 210 211.2 212.4 213.6 214.8 216 -3.30484e+14 3.06338e-41 3.82554e-43 0 0 0 -3.29854e+14 3.06338e-41 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.27e-22 4.558e-41 -nan 0 2.75506e-39 0 2.93874e-39 0 -3.30185e+14 3.06338e-41 -nan -nan 3.48975e-39 0 -nan -nan 0 0 4.04076e-39 0 4.22443e-39 0 -nan 0 4.59177e-39 0 4.77545e-39 0 2.26503e-22 4.558e-41 2.93194e-41 0 0 0 0 0 0 0 5.87747e-39 0 5.00123e-42 0 2.26975e-22 4.558e-41 2.26975e-22]
 Recompiling with '-DmyInstanceNumberOrderIsNotSpatial' might help.
Progress: 1
dcm2niix returned 1

See dcm2niix post #539 for solution. There is indeed an error message that I believe is causing the problem we've been seeing. The preprocess.err.log provided by @ZviBaratz contains Error:  Recompiling with '-DmyInstanceNumberOrderIsNotSpatial' might help. which is the same as our ADNI example.
@soichih perhaps we could avoid this error message (and others) in the future? We should also consider increasing the dcm2niix verbosity (-v 2)

@dlevitas thanks for figuring this out, sorry I wasn't more help. Let me know if you need anything else.

Hello,
ADNI related questions are welcome at http://adni.loni.usc.edu/support/experts-knowledge-base/ask-experts/ , where questions are forwarded to the appropriate experts according to their category. In particular, we would like to be notified of any data related problems that can be resolved for future users, and may be causing problems for processing and analysis software. All ADNI images are manually inspected for quality control, but a few substandard scans or incomplete series have escaped quarantine over the years, for miscellaneous reasons.
If you have a question or comment concerning specific data, please provide, to the best of your ability,

the subject ID               (DICOM tag (0010, 0020))
the scan date,              (DICOM tag (0008, 0020))
the LONI image ID
the series number       (DICOM tag (0020, 0011))
the series description (DICOM tag (0008, 103e))

(ADNI includes more than just imaging, so the Ask the Experts page will not prompt you for these.)
Since in this case it sounds like there may be missing slices, it might also be worth checking if LONI has all the slices, and if so, downloading again.
Thank you,
Rob Reid, on behalf of ADNI

Hi @ZviBaratz,
We've updated ezBIDS to allow users to continue processing even in the event of dcm2niix errors. ezBIDS will provide and error and offending file(s), so that users can reach out to the dcm2niix group for guidance. Depending on the nature of the error, the offending files may or may not be included for BIDS conversion.

Hi @dlevitas ,
Sounds like a reasonable strategy for handling this. Thank you very much for the update!

authors: ZviBaratz captainnova dlevitas soichih

repo: brainlife/ezbids


text:
java.lang.UnsatisfiedLinkError: C:\Users\Pc\AppData\Local\Temp\javacpp62251902139200\jniavcodec.dll: Can't find dependent libraries

The question
HI, I'm trying to use the library on ma java project on eclipse-
I Have import the javacv library and contain the jar files .
But I always get this error :
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1774)
at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Node.fireEvent(Node.java:8411)
at javafx.scene.control.Button.fire(Button.java:185)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:410)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433)
at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
at com.sun.glass.ui.View.notifyMouse(View.java:941)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)
... 48 more
Caused by: java.lang.UnsatisfiedLinkError: no jniavcodec in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:871)
at java.lang.System.loadLibrary(System.java:1122)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
at com.googlecode.javacpp.Loader.load(Loader.java:586)
at com.googlecode.javacpp.Loader.load(Loader.java:540)
at com.googlecode.javacv.cpp.avcodec.(avcodec.java:39)
at com.googlecode.javacv.FFmpegFrameGrabber.(FFmpegFrameGrabber.java:103)
at controllers.VideoToFrames.divideIntoFrames(VideoToFrames.java:46)
at gui.MainWin.startExecution(MainWin.java:83)
... 58 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\Pc\AppData\Local\Temp\javacpp62251902139200\jniavcodec.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:810)
at java.lang.System.load(System.java:1086)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:700)
... 64 more

I'm not sure this is this libraries fault. We don't use JavaFX or JNI code. I think your linker errors are just too something else.

authors: bramp haiakab

repo: bramp/ffmpeg-cli-wrapper