confomer-ctc/decode.py Failed to decode using a GPU with 11GB memory

Egs: AIshell
After several tries, I still fail to run the confomer-ctc/decode.py with the following
conformer_ctc/decode.py --exp-dir ./val-ban-1 --epoch 89 --avg 10 --method attention-decoder --num-paths 100  --max-duration 5
2022-04-06 02:20:44,369 INFO [decode.py:473] Decoding started
2022-04-06 02:20:44,370 INFO [decode.py:474] {'subsampling_factor': 4, 'feature_dim': 80, 'nhead': 4, 'attention_dim': 512, 'num_encoder_layers': 12, 'num_decoder_layers': 6, 'vgg_frontend': False, 'use_feat_batchnorm': True, 'search_beam': 20, 'output_beam': 7, 'min_active_states': 30, 'max_active_states': 10000, 'use_double_scores': True, 'env_info': {'k2-version': '1.8', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': '646704e142438bcd1aaf4a6e32d95e5ccd93a174', 'k2-git-date': 'Thu Sep 16 13:05:12 2021', 'lhotse-version': '1.0.0.dev+git.bc74329.clean', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.6', 'icefall-git-branch': 'master', 'icefall-git-sha1': '395a3f9-dirty', 'icefall-git-date': 'Wed Mar 23 11:11:34 2022', 'icefall-path': '/home/data/aban/devel/docker-k2/icefall', 'k2-path': '/usr/local/lib/python3.6/dist-packages/k2/__init__.py', 'lhotse-path': '/usr/local/lib/python3.6/dist-packages/lhotse/__init__.py', 'hostname': '5961fd6be3f9', 'IP address': '<IP_ADDRESS>'}, 'epoch': 89, 'avg': 10, 'method': 'attention-decoder', 'num_paths': 100, 'nbest_scale': 0.5, 'exp_dir': PosixPath('val-ban-1'), 'lang_dir': PosixPath('data/lang_char'), 'lm_dir': PosixPath('data/lm'), 'manifest_dir': PosixPath('data/fbank'), 'max_duration': 5, 'bucketing_sampler': True, 'num_buckets': 30, 'concatenate_cuts': False, 'duration_factor': 1.0, 'gap': 1.0, 'on_the_fly_feats': False, 'shuffle': True, 'return_cuts': True, 'num_workers': 2, 'enable_spec_aug': True, 'spec_aug_time_warp_factor': 80, 'enable_musan': True}
2022-04-06 02:20:44,820 INFO [lexicon.py:176] Loading pre-compiled data/lang_char/Linv.pt
2022-04-06 02:20:44,846 INFO [decode.py:484] device: cuda:0
2022-04-06 02:21:27,296 INFO [decode.py:533] averaging ['val-ban-1/epoch-80.pt', 'val-ban-1/epoch-81.pt', 'val-ban-1/epoch-82.pt', 'val-ban-1/epoch-83.pt', 'val-ban-1/epoch-84.pt', 'val-ban-1/epoch-85.pt', 'val-ban-1/epoch-86.pt', 'val-ban-1/epoch-87.pt', 'val-ban-1/epoch-88.pt', 'val-ban-1/epoch-89.pt']
2022-04-06 02:21:36,660 INFO [decode.py:540] Number of model parameters: 115125888
2022-04-06 02:21:36,660 INFO [asr_datamodule.py:366] About to get test cuts
/usr/local/lib/python3.6/dist-packages/lhotse/dataset/sampling/simple.py:238: UserWarning: The first cut drawn in batch collection violates the max_frames, max_cuts, or max_duration constraints - we'll return it anyway. Consider increasing max_frames/max_cuts/max_duration.
  "The first cut drawn in batch collection violates "
2022-04-06 02:21:38,918 INFO [decode.py:405] batch 0/?, cuts processed until now is 1
Traceback (most recent call last):
  File "conformer_ctc/decode.py", line 572, in <module>
    main()
  File "/usr/local/lib/python3.6/dist-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
    return func(*args, **kwargs)
  File "conformer_ctc/decode.py", line 558, in main
    eos_id=eos_id,
  File "conformer_ctc/decode.py", line 387, in decode_dataset
    eos_id=eos_id,
  File "conformer_ctc/decode.py", line 319, in decode_one_batch
    nbest_scale=params.nbest_scale,
  File "/home/aban/devel/docker-k2/icefall/icefall/decode.py", line 835, in rescore_with_attention_decoder
    nbest = nbest.intersect(lattice)
  File "/home/aban/devel/docker-k2/icefall/icefall/decode.py", line 330, in intersect
    sorted_match_a=True,
  File "/home/aban/devel/docker-k2/icefall/icefall/decode.py", line 60, in _intersect_device
    a_fsas, fsas, b_to_a_map=b_to_a, sorted_match_a=sorted_match_a
  File "/usr/local/lib/python3.6/dist-packages/k2/fsa_algo.py", line 195, in intersect_device
    b_to_a_map, need_arc_map, sorted_match_a)
RuntimeError: CUDA out of memory. Tried to allocate 4.00 GiB (GPU 0; 10.92 GiB total capacity; 6.45 GiB already allocated; 3.31 GiB free; 6.92 GiB reserved in total by PyTorch)

It seems that there is not enough GPU memory. But I have set --max-duration to a very small value.
I think the attention-decoder consumes much GPU memory for rescoring.
Will it be solved if we move the rescore procedure to the CPU? How?

Could you please try 1best decoding first to see if the model converging well.
According to your logs, it did not reach attention-decoder at all. I suspect that you have a too large lattice.  Try using smaller output_beam and max_active_states.

1best works well. But 98% GPU memory has been allocated. I am trying to shrink max_active_states.

1best works well. But 98% GPU memory has been allocated. I am trying to shrink max_active_states.

I meant the CER, is it as good as expected, 1best decoding should not consume so much memory. Anyway, try decreasing the search_beam, output_beam and max_active_states.

What are the final loss values, e.g. the final line in your log file that says "Epoch xx, batch xxx"

CER for 1best:
2022-04-06 03:22:15,814 INFO [utils.py:407] [test-no_rescore] %WER 6.74% [7060 / 104765, 112 ins, 1473 del, 5475 sub ]

final loss values:
2022-04-05 20:55:37,598 INFO [train.py:512] (1/2) Epoch 89, batch 12160, loss[ctc_loss=0.05017, att_loss=0.1513, loss=0.1209, over 1739.00 frames.], tot_loss[ctc_loss=0.07525, att_loss=0.2027, loss=0.164
4, over 334052.84 frames.], batch size: 8
2022-04-05 20:55:37,600 INFO [train.py:512] (0/2) Epoch 89, batch 12160, loss[ctc_loss=0.06977, att_loss=0.1519, loss=0.1273, over 1600.00 frames.], tot_loss[ctc_loss=0.07497, att_loss=0.2029, loss=0.164
5, over 334191.86 frames.], batch size: 7

The loss values seem to be normal, but the CER for 1best decoding is little worse, it is expected to be as follows:
%WER = 4.99
Errors: 53 insertions, 350 deletions, 4825 substitutions, over 104765 reference words (99590 correct)
Search below for sections starting with PER-UTT DETAILS:, SUBSTITUTIONS:, DELETIONS:, INSERTIONS:, PER-WORD STATS:

Did you try smaller beams and activate states?

smaller beam and activate states bring worse CER results.
@pkufool
Did your 'WER = 4.99' use only Aishell training data?
My model only trained on Aishell dataset.

Yes, only Aishell dateset. Someone had reproduced the result in our recipe, see https://github.com/k2-fsa/icefall/issues/112#issuecomment-975146755.

@pkufool
I have reproduced the results with
lhotse=1.0.0
k2 version: 1.13
Build type: Release
Git SHA1: 47c4b754bb418b2a40c3ee0f24ca5ed12b08997f
Git date: Sat Jan 29 09:39:32 2022
Cuda used to build k2: 11.1
cuDNN used to build k2: 8.0.4
Python version used to build k2: 3.8
OS used to build k2: Ubuntu 18.04.6 LTS
CMake version: 3.18.4
GCC version: 7.5.0
CMAKE_CUDA_FLAGS:  --expt-extended-lambda -gencode arch=compute_35,code=sm_35 --expt-extended-lambda -gencode arch=compute_50,code=sm_50 --expt-extended-lambda -gencode arch=compute_60,code=sm_60 --expt-extended-lambda -gencode arch=compute_61,code=sm_61 --expt-extended-lambda -gencode arch=compute_70,code=sm_70 --expt-extended-lambda -gencode arch=compute_75,code=sm_75 --expt-extended-lambda -gencode arch=compute_80,code=sm_80 --expt-extended-lambda -gencode arch=compute_86,code=sm_86 -D_GLIBCXX_USE_CXX11_ABI=0 --compiler-options -Wall --compiler-options -Wno-unknown-pragmas --compiler-options -Wno-strict-overflow
CMAKE_CXX_FLAGS:  -D_GLIBCXX_USE_CXX11_ABI=0 -Wno-strict-overflow
PyTorch version used to build k2: 1.8.1
PyTorch is using Cuda: 11.1
NVTX enabled: True
With CUDA: True
Disable debug: True
Sync kernels : False
Disable checks: False

GPU : GTX 3090 24G
OS: ubuntu 18.04
conda install -c k2-fsa -c pytorch -c conda-forge k2=1.13.dev20220129 python=3.8 cudatoolkit=11.1 pytorch=1.8.1 torchaudio=0.8.1

python3 conformer_ctc/train.py --bucketing-sampler True \
                              --max-duration 200 \
                              --start-epoch 0 \
                              --num-epochs 90 \
                              --world-size 4 > train.log

python3 conformer_ctc/decode.py --nbest-scale 0.5 \
                               --epoch 84 \
                               --avg 25 \
                               --method attention-decoder \
                               --max-duration 20 \
                               --num-paths 100

# best CER = 4.26%

Thanks!!!


BeforeUpdate doesn't contain ID

When I am trying to update record in BeforeUpdate method, I get the ID in the first parameter. But, when I override PUT method in my routes:
'put /v1/productlection/:id' : {
        controller : 'ProductLectionController',
        action : 'put'
    }

I get undefined here:
beforeUpdate: function (valuesToBeUpdated, cb) {
        console.log('values section');
        console.log(valuesToBeUpdated.id);  // this is undefined

        // ...

        cb();
    }

The BeforeUpdate is still triggered, and contain all the values which needs to be updated, but the ID is missing.

Hey guys I know this is old but I can't seem to find a way to get the object's PK before updating. Can you please help?
How can I access the req object in the lifecycle callback (beforeUpdate)?
Is there no other way to get the object's id? Accessing req from the model clearly seems wrong.

OK as of sails 0.12.0-rc? the id is in the value argument. Thanks!


Master

I think you created this pull request by mistake.

Hello Raymond,
It was a mistaken click on the newly installed github app on my local.. Stupid thing, sorry
Sent from my iPhone

On Feb 23, 2016, at 18:46, Raymond Chen<EMAIL_ADDRESS>wrote:
Closed #305.
—
Reply to this email directly or view it on GitHub.


Integrate WhatsApp Patches RIAK-1533

The result of this merge should be tagged "R16B02_basho8"

Is there any reason to delay merging this?

I see a reason not to merge it.
Sent from Heather

On Mar 13, 2015, at 3:07 PM, Sean Cribbs<EMAIL_ADDRESS>wrote:
Is there any reason to delay merging this?
—
Reply to this email directly or view it on GitHub.

The head of this branch, which hasn't changed in a few weeks, is now tagged "R16B02_basho8rc1" for wider testing

Not to be too nick picky, @tburghart , but the reported version in the current "r16" tag on otp is basho8.  Should this maybe be "R16B02_basho9rc1"?

@javajolt That's set in erts/vsn.mk, not via git tag. The proper version is basho8.

@seancribbs But for those already using r16 it reports basho8.  Shouldn't we bump the version the avoid confusion of a version with vs without Ted's changes?

That's what I'm trying to say, "basho8" IS the bump. :wink:

But Greg already bumped to "basho8" in January on r16: https://github.com/basho/otp/commit/267a8448b9a7b280c8a8642857ad8b88da022a45
And I assume Ted's changes have been make since then.

Nope, that's on this branch.

Sorry, read that commit again. Note that it jumps over basho7, which actually has a tag.

To clarify: basho7 is the last released version, coinciding with riak 2.0.5.  True, the version had been bumped to basho8 when I got there, but since it had never been released I left it there.
This version is presently tagged R16B02_basho8rc1 in the repo for testing, and once merged is expected to be tagged R16B02_basho8, which has not previously been used.

Merging and tagging.

Scratch that, we'll build this later.


getting-started: add account deletion docs

We've added a new feature to allow customers to delete accounts through npmjs.com. This updates the documentation on account deletion to match how it now works.

Staging built for this but the robot didn't do it's job to post (likely due to bug in action that I fixed)
Here's a link to the staged change
https://docs-staging.npmjs.com/15/deleting-your-npm-user-account


AttributeError: 'coroutine' object has no attribute 'chats'

Traceback (most recent call last):
File "telelooper.py", line 61, in
for p in result.chats:
AttributeError: 'coroutine' object has no attribute 'chats'
sys:1: RuntimeWarning: coroutine 'UserMethods.call' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Same problem here

same


Turn the caching system into an interface to support different caching strategies

I thought it would be a good idea to have several caching strategies, so I modified a bit the cache API to give ideas of how it could be, for example, to use Redis as a caching system.
import redis
from beanie import Document
from beanie.odm.cache import RedisCache, LRUCache

redis_client = redis.Redis(host='localhost', port=6379, db=0)

class Product(Document):
    name: str
    ...

    class Settings:
        use_cache = True
        cache_system = RedisCache(redis_client)

class User(Document):
    name: str
    ...

    class Settings:
        use_cache = True
        cache_system = LRUCache(
            capacity=32, expiration_time=timedelta(seconds=10)
        )

Oh wow! Great! I'll check everything and merge it tomorrow. Thank you for this feature

It looks like it breaks some tests

It looks like it breaks some tests

Hi!, I'm, not surprised. This was just an idea to work on, that came to me on a project that I want to use Beanie. And also because  I'm learning about Redis as a caching system.
I did not expect such a quick and positive reaction to my proposal. I'm going to work it better to make it ready for merge. Because even the RedisCashe implementation is very poor at this point.

@roman-right, I have made some fixes and improved de Redis cache system with msgpack as serialization and add ttl.
But there is something strange that my first commit brake (f6614c4ccf4ed8613c70c1d23d174c4af6ef3f79) some test "no cache-related" from my point of view its the same thing but not for the test.
if I change this:
    @classmethod
    def init_cache(cls) -> None:
        """
        Init model's cache
        :return: None
        """
        if cls.get_settings().use_cache:
            cls._cache = cls.get_settings().cache_system

for this:
    @classmethod
    def init_cache(cls) -> None:
        """
        Init model's cache
        :return: None
        """
        if cls.get_settings().use_cache:
            cls._cache = LRUCache(capacity=5, expiration_time=datetime.timedelta(seconds=10))

Which I think is the same thing all test runs, but not if I init the cache from the Document's cache_system settings

0c9d28e

Fixed here 0c9d28e

Now it's working, here is an example code

import redis
import msgpack
import json
import pickle
from typing import Optional
from datetime import timedelta

from beanie.odm.cache import LRUCache,RedisCache

redis_client = redis.Redis(host='localhost', port=6379, db=0)

class ProductNoCache(Document):
    name: str
    description: Optional[str] = None
    price: Indexed( float )
    class Settings:
        use_cache = False

class ProductRedisPickle(Product):
    class Settings:
        use_cache = True
        cache_system = RedisCache(redis_client, serializer=pickle) # pickle is default serializer

class ProductRedisJSON(Product):
    class Settings:
        use_cache = True
        cache_system = RedisCache(redis_client, serializer=json, ttl=timedelta(seconds=10)) # use ttl for expiration

class ProductRedisMsgPack(Product):
    class Settings:
        use_cache = True
        cache_system = RedisCache(redis_client, serializer=msgpack, ttl=10) # ttl can be int -> 10 seconds

class ProductLRUCache(Product):
    class Settings:
        use_cache = True
        cache_system = LRUCache(capacity=5, expiration_time=timedelta(seconds=10))```

Wow! You worked a lot here. Thank you!
I'll check everything this weekend.


Support for arm64_gcc4

After https://github.com/duckdb/duckdb/pull/10137 I believe all extension will be built with arm64_gcc4 support but I see this is not the case.
Will extensions have the support of this architecture or not ?

Hi @blackrez!

I believe all extension will be built with arm64_gcc4

this is not the case, as the PR states, we work around the fact that linux_arm64_gcc4 extensions are not distributed, by distributing linux_arm64 binaries for Python. To use these, ensure you are on an OS with GLIBC >= 2.28

Ok that sad, in the case of rust on lambda, when we use cross-compilation with zig it detect that is linux_arm64_gcc4. I don't know if it's an issue on zig or on how glibc is detected in duckDB.

@blackrez well detection of _gcc4 postfix in platform tag is done as follows:
#if !defined(_GLIBCXX_USE_CXX11_ABI) || _GLIBCXX_USE_CXX11_ABI == 0
	if (os == "linux") {
		postfix = "_gcc4";
	}
#endif

For AWS Lambdas, check out https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html. For all ARM Amazon Linux 2 based runtimes the linux_arm64_gcc4 tag will be used, whereas for the Amazon Linux 2023 ones they should be linux_arm64 builds

Thanks for pointing the detection, for AWS Lambda I already use Amazon Linux 2023 but it is the zig crossplatform build that is detected as gcc4.


Collect new minimal RBAC by Bedrock 4.10

What this PR does / why we need it:
Collect new minimal RBAC required for the full Bedrock installation for both CD and SC2 stream.
Which issue(s) this PR fixes:
Fixes # https://github.ibm.com/IBMPrivateCloud/roadmap/issues/65217
How to test:

Using ibm-pak to get and apply the full catalog from latest 4.10.0 CASE and zen catalog
install core services- name: ibm-im-operator
- name: ibm-platformui-operator
- name: ibm-events-operator

Collect all rules from nss-runtime-managed-role-from-<ns> Role
Testing Cluster info: https://console-openshift-console.apps.cutie2.cp.fyre.ibm.com/k8s/ns/tenant1/roles/nss-runtime-managed-role-from-nss-permission/ with w3 ID login

Test result:
Install new CPFS with above min RBAC and create a zen service in tenant name, and the installation process finished completely.


Failure on unit test

1) Tests\Unit\Helpers\UserPhotoHelperTest::user_photo_function_returns_correct_photo_element_based_on_user_photo_path
Failed asserting that Illuminate\Support\HtmlString Object &00000000000022c20000000000000000 (
    'html' => ''
) matches expected ''.

Note, location must be asia/makassar and language is ID for unit testing

need to run a command , if run unit test after it , will resolve the unit test error.


Refactor to flexibility PoC

Hello @MrRio
What do you think about  making the function calls extendable?
Like this
(Hope it does not fail hard in tests, but it is just a suggestion... so not really caring about tests)

My intention is to make it much more open for changes. e.g. if you load an arabic language plugin, it should be possible to use the lang Entry as indicator for activating the arabic parser.

@MrRio
Are you interested in such changes? I would not make any changes, if you would not accept it at the end.

@MrRio
I refactored the text functionality. I will not fix the last error, because i would prefer changing the stroke-behavior-function and put always the rendermode for the text. But as you can see, this would bring a whole new method for extending the core functionality of jsPDF.
Maybe instead of calling the folder functions it would be better to call it extension?
What do you think?

@MrRio
I somehow really hate this test engine 👎
It shows me an error

Chrome 53.0.2785 (Windows 10 0.0.0) Standard Text should center align text FAILED
	TypeError: Cannot read property 'widths' of undefined
	    at getCharWidthsArray (functions/text.js:46:85)
	    at getStringUnitWidth (functions/text.js:30:28)
	    at functions/text.js:395:32
	    at Array.map (native)
	    at Array.alignFunction (functions/text.js:394:39)
	    at Object.API.text (jspdf.js:9:58193)
	    at UserContext.<anonymous> (tests/text/standard.spec.js:113:9)

But in my FF and Chrome it shows everything correct.
Btw. I rewrote alot of code and somehow.... it is stronger than the current text function because I removed some hardcore bugs. Not it can really have centered multilines, and you can have angle and multiline and align at the same time.

	    doc.setFont('times')
    doc.setFontType('normal')

    doc.text(105, 80, 'This is centred text.', null, null, 'center')
	doc.text(['This is centred text.', 'And a little bit more underneath it.', 'test', 'test', 'test', 'test'], 105, 80, {align: "center"})

    doc.text(105, 90, 'And a little bit more underneath it.', null, null, 'center')
	doc.text(['center stroke angle 20°', 'y tho center?', 'because I can'], 30, 100,  {align: "center", angle: 20, stroke: true})
    doc.text(200, 110, 'And some more', null, null, 'right')
    doc.text(20, 120, ['Back to left', "multiline", "dsfadsf"])
	doc.text('This is right aligned and -20°', 160, 30,  {align: "right", angle: -20, stroke: false})
    doc.text(200, 100, 'This is right aligned text', null, null, 'right')
	doc.text(['This is right aligned text', 'And a little bit more underneath it.', 'test', 'test', 'test', 'test'], 140, 50, {align: "right", angle: 70})

results now into something like this

I will try to figure out, what the problem of the  testing engine is... really annoying that it is working on my computer and not in the test engine

@MrRio
Somehow it doesnt seem to load standard font metrics to the testing system.
But on my laptop it works fine....
I programmed it now it can do arabic fonts....

var doc = new jsPDF();
	doc.addFileToVFS("TradArabic.ttf", vfs["TradArabic.ttf"]);
	doc.addFont('TradArabic.ttf', 'TradArabic', 'normal', 'Identity-H');

		doc.viewerPreferences({Direction: 'R2L'});
        doc.setFont('TradArabic'); // set font
        doc.setFontSize(45);
        doc.setTextColor(153, 051, 102);

	doc.text(['لا إله إلا الله محمد رسول الله','لا إله إلا الله', 'a'], 200, 100 {lang: 'ar', angle: 10, align: 'right', renderingMode: 'stroke'})

doc.save("test.pdf");

Resulting to:

@MrRio
Would you please tell me if this something I should put more effort in it or if my energy is wasted and you wont consider changing jspdf in that way?

@MrRio
Dude... it was all the time the standard font metrics.js
The PubSub Method is not working with the right scopes, thats why most of the time everything is messed up

Well I guess what I wrote is kind of a variation of the PubSub-Method. But the problem is that the PubSub-Method loads at runtime of a new instance, so that you cant hook on to it properly. Thats why it messed up in the test suite if you changed at runtime...

Added justify-align

@MrRio
Any comment would be nice

I will make separate Pull Request out of this PoC


Support for [E/M]EG software?

I don't know if other dockers are already doing this, but maybe it would be interesting to add e.g. MNE-Python as an option?
MNE is currently not Python 3 compatible though, some of the 3D viz doesn't work in Py3k due to dependencies (mayavi etc).
There's also some special dependencies to Freesurfer that might be annoying to implement. But it's not that much.

@jona-sassenhagen - i've used mne-python before, and as far as i know, it can be installed with pip or conda. can you elaborate on the freesurfer dependencies?
conda install
docker run --rm kaczmarj/neurodocker:master generate docker \
    -b debian:stretch -p apt \
    --miniconda env_name=neuro \
                conda_install='python=2.7 mne' \
                activate=true

pip install
docker run --rm kaczmarj/neurodocker:master generate docker \
    -b debian:stretch -p apt \
    --miniconda env_name=neuro \
                conda_install='python=2.7 scipy matplotlib scikit-learn mayavi jupyter' \
                pip_install='PySurfer mne' \
                activate=true

We recommend either:
pip install -U mne
for stable or pulling master from git for the most recent version, e.g.
pip install https://github.com/mne-tools/mne-python/archive/master.zip
Freesurfer is required for many of the source-level (MEG) preprocessing functions, i.e. constructing forward models. pysurfer is used for 3D viz of (volume) source space data, and for now depends on mayavi, unless you want to try some cutting-edge options.
However, we have a .yaml file for dependencies now:
https://github.com/mne-tools/mne-python/blob/master/environment.yml
With that one (only on the most recent version), everything should work in python 3 I think.
@larsoner @choldgraf @jasmainak @agramfort

Yes MNE is fully Python3 compatible now, including 3D viz, with that environment

An issue that came up for me about 5 months ago when creating a singularity container with MNE-Python was the need of installing MNE-C. IIRC some of the functionalities I wanted to use in Python were wrappers for MNE-C commands. To download MNE-C one needs to register and provide username/password, which makes it a bit annoying to code it. But it can be solved with
curl --data "account=<EMAIL>&password=<PASSWORD>&sendfile=9" \
http://www.nmr.mgh.harvard.edu/martinos/userInfo/data/MNE_register/login.php | tar xzv -C /opt/mne --strip 1

Maybe now MNE-Python doesn't rely on MNE-C anymore (after all I was using MNE-Python 0.13), but I just wanted to share this issue in case it can be useful for an MNE container.

here is the command to create a container with mne, installed using mne's environment.yml:
$ docker run --rm kaczmarj/neurodocker:master generate docker \
    --base=debian:stretch \
    --pkg-manager=apt \
    --install gcc libc-dev libglu1-mesa libgl1-mesa-glx libxt6 \
    --user=mne \
    --copy environment.yml /home/mne/environment.yml \
    --miniconda create_env=mne yaml_file=/home/mne/environment.yml > Dockerfile
$ docker build -t mne .

for a bare installation of mne (akin to pip install -U mne):
$ docker run --rm kaczmarj/neurodocker:master generate docker \
    --base=debian:stretch \
    --pkg-manager=apt \
    --user=mne \
    --miniconda create_env=mne pip_install=mne > Dockerfile
$ docker build -t mne .

and to install mne's current master with pip:
$ docker run --rm kaczmarj/neurodocker:master generate docker \
    --base=debian:stretch \
    --pkg-manager=apt \
    --user=mne \
    --miniconda create_env=mne \
                pip_install=https://github.com/mne-tools/mne-python/tarball/master > Dockerfile
$ docker build -t mne .

i will close this issue for now because it is possible to install mne-python with neurodocker. please reopen if you have any issues or questions.

Cool!


Bootstrap does not wait for the VM to be assigned an IP from spec file

I am cloning a VM from a template with a spec file and trying to bootstrap it. Here is how I am creating it:
knife vsphere vm clone vm_name --folder 'folder_name' --template 'template_name'
--ccpu 2 --cram 4 --cips vm_ip --cgw <vm_gw> --cdnsips vm_dns1,vm_dns2
--cdnssuffix dns_suffix1,dns_suffix2 --cspec 'spec_name' --datastore 'datastore_name'
--distro chef-full --bootstrap --winrm-user 'Administrator' --node-name 'node_name'
--run-list 'recipe[docker::default]' --server-url 'https://chef_url/organizations/org_name' --start -y -VV
The VM gets created and picks up the customization, but bootstrapping fails because it gets an IP before customization has completed:
Cloning template template_name to new VM vm_name
Finished creating virtual machine vm_name
DEBUG: value for config item customization_plugin:
DEBUG: value for config item mark_as_template:
DEBUG: value for config item power: true
Powered on virtual machine vm_name
DEBUG: value for config item bootstrap: true
DEBUG: Connect Host for Bootstrap: <IP_ADDRESS>
DEBUG: value for config item ssh_port: 22
DEBUG: value for config item bootstrap_protocol:
DEBUG: Identified os as windows.
Waiting for customization to complete...
DEBUG: value for config item sysprep_timeout: 600
Waiting for sysprep........
Customization of VM vm_name succeeded. Customization log located at C:/Windows/TEMP/vmware-imc/guestcust.log in the guest OS.
Customization Complete
DEBUG: value for config item fqdn: <IP_ADDRESS>
DEBUG: value for config item winrm_transport: plaintext
DEBUG: value for config item winrm_port: 5985
Waiting for winrm access to become available on <IP_ADDRESS>:5985

Hi, does this box register in DNS? Passing --fqdn hostname might help here. Or maybe the NIC on the template should have a static address (or nothing) rather than DHCP?

Hi @swalberg , shortly after posting this I did in fact use the --fqdn option to resolve this. Thank you for your response.


GPU utilization during evaluation

Hi @karansapra  I noticed a weird GPU memory consumption during evaluation.
If I use 4 GPUs, the memory starts to increase on GPU 0, and then GPU 1, and then GPU2. It never use the 4th GPU. I attached my screenshot as below.

Similarly, if I use 8 GPUs, the code only uses 6 of them, the rest two are idle. The screenshot is as below.

It seems that the code only choose to use more GPUs if they have to use. In addition, most of the time, the GPU utilization is 0, which means the speed is limited by IO or other data processing.
Could you look into this please? @karansapra I think if we can fully utilize all the GPUs, the evaluation will be faster. But maybe this is just the problem of my machine, let me know if you can reproduce this on your end. Thank you very much.

Will have a look this week.

I have debugged, I  am going to rewrite this code over the weekend. :)

@karansapra Wonderful, appreciate it.


Add guidance on partnerships with R-Ladies

Cc @yabellini
In the mission https://guide.rladies.org/about/mission/ we have "R-Ladies does not have permanent ties or links to external sponsors or parties. Appropriate sponsorship and support which does not seek to dictate or influence R-Ladies Mission-driven activities/decision-making but enhances the community’s operations and impact is welcomed. Local R-Ladies Organisers are encouraged to gain appropriate support which does not compromise the community’s independence." + non-commercial agenda.

No official/formal connection with the R-Ladies organization in general to be advertised without agreement of the global team/leadership.
What rules/tips for chapters.
Some tips for organizers themselves? What if someone tries to take advantage of their R-Ladies connection to sprinkle diversity on something?

I agree on point one.  We need to be explicit about the process, but to keep it simple, what about: to ask on the ask_leadership_team channel on the organizer slack or to email to<EMAIL_ADDRESS> We can also write some rules and guidelines for organizations that want to work with R-Ladies.  I saw many emails where Erin has to answer about this non-commercial agenda, etc., and we can have some standard answers and general transparent guidelines.

Tips for organizer: good point. Just yesterday I had a talk with people from Carpentries about organize conferences and the fact of inviting those we call minorities to get diversity points (and not because they really matters). I think the best advice here is to check that they invite you because of what you do (ex: invite me because of data science in agriculture or teaching tech skills). If you are invited to talk about R-Ladies it is also very good and you have to take advantage of those opportunities but check some minimal things such as:

Do they have CoC? if not, do they agree on add one?
Are other people belonging to groups that have been systematically excluded from the tech scene part of the conference? What role do they have (keynote, organizers, panelists, chairs?). If not, are they ok to change that?


Handle providers properly in multiplex log handler

Resolves https://github.com/apple/swift-log/issues/253
The handling is a bit tricky, but we uphold reasonable semantics now.
We could cache the calculation a bit more perhaps rather than each time in the get{} but this has the right semantics at least.

Please have a look @slashmo


wait for integration tests

#283 check what this travis_wait function does

Thanks for helping out, I think we don't need this PR any more :)


Remove args param from shell entry point

trailing args won't be added when using shell entry point syntax so ${*} should be removed. this was requested in the original contribution but looks like it made it by

LGTM - merging.


syscall: external process launching slower than other languages

What version of Go are you using (go version)?

$ go version
go version go1.12.5 windows/amd64

Does this issue reproduce with the latest release?
Yes.
I do not have a Linux installation, so this report does not apply to Linux.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\bobja\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\GoLib
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\bobja\AppData\Local\Temp\go-build355190882=/tmp/go-build -gno-record-gcc-switches

What did you do?
Running some test programs written in Go that launch lots of external processes. Noticed that Go was running slower than same operations in Python, Ruby, and Java. So wrote some programs to time just process launching in the mentioned languages. Those programs are attached, and do demonstrate the performance difference.

timing.zip
The attached directory has files to demonstrate the timings. Just unzip it into some directory and run the included Python script. See the README file. All Python programs are Python 3.
What did you expect to see?
Hoped to see Go running faster than (or at least as fast as) the other languages.
What did you see instead?
Go ran slower. All of the other languages showed performance similar to each other. But Go was slower than all of them by a factor of around 1.5. Ouput from a run of my test script with a newly installed Go 1.12.5:

all_timings.py 1000

Hello from "Go"
(using os.StartProcess).
18.2624008s
Hello from "Go"
(using exec.Command).
18.1920394s
Hello from "Python".
12.799870s
Hello from "Ruby".
13.036183s
Hello from "Java".
12.796388101s

I think issue may be specific to Windows.  I ran your script on my GNU/Linux laptop and got
Hello from "Go"
 (using os.StartProcess).
203.121311ms

Hello from "Go"
 (using exec.Command).
167.040798ms

Hello from "Python".
0.200595s

Hello from "Ruby".
0.166577798s

Hello from "Java".
0.253690545s

I wondered if it might be Windows-specific but don't currently have a Linux
to confirm that.
This issue is no problem for me -- just thought you might like to know. I'm
sure y'all want Go to be fast...
On Tue, May 7, 2019 at 5:03 PM Ian Lance Taylor<EMAIL_ADDRESS>wrote:

I think issue may be specific to Windows. I ran your script on my
GNU/Linux laptop and got
Hello from "Go"
(using os.StartProcess).
203.121311ms
Hello from "Go"
(using exec.Command).
167.040798ms
Hello from "Python".
0.200595s
Hello from "Ruby".
0.166577798s
Hello from "Java".
0.253690545s
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/31895#issuecomment-490296842, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABLA2AID7KYGX2HIEG2OB6TPUIKF7ANCNFSM4HLMHNSA
.

@bobjalex thank you for reporting the problem.
I don't have Java or Python or Ruby installed on my Windows computer. So I could not verify your findings.
But, as far as I can see from your results, each Go process start is about 5ms slower than other languages. And there is a 5ms sleep here https://github.com/golang/go/blob/2e4edf46977994c9d26df9327f0e41c1b60f3435/src/os/exec_windows.go#L43 Could you try and remove the sleep and see, if your problem goes away?
Thank you.
Alex
Could you try

Hi Alex --
I did timings with:

the 5ms sleep totally removed, including its "defer"
various lesser sleep times, e.g. 1ms, 2, ...

In summary, the sleep does appear to be the culprit. With the sleep totally
removed, the results are essentially the same as the other "reference"
languages. With varying sleep times the run times increase proportionally
to the sleep time, as one would expect.
You can run my Go rapid-fire launch timing program without having the other
languages installed:

go run process_launch_timing.go -h
Hello from "Go"

Times repeated execution of a do-nothing command.
args: [options] [repetitions]
repetitions
number of repetitions (default 200)
-c command
a no-op command that runs quickly (default "cmd /c rem")
-s    use os.StartProcess to run process instead of exec.Command
exit status 2
Even with the sleep and defer removed, my test program ran without a hitch
-- I did not notice any problems for 10,000 rapid-file launches.
Here are the comparative results with sleep and defer removed, 10,000 reps:

python3 all_timings.py 10000

Hello from "Go" (reps: 10000, command: "cmd /c rem", using os.StartProcess).
54.614608s
Hello from "Go" (reps: 10000, command: "cmd /c rem", using exec.Command).
56.4145624s
Hello from "Python" (reps: 10000, command: 'cmd /c rem').
56.493070s
Hello from "Ruby" (reps: 10000, command: "cmd /c rem").
71.051627s
Hello from "Java" (reps: 10000, command: "cmd /c rem").
55.092178901s
Bob
On Sun, May 12, 2019 at 1:18 AM Alex Brainman<EMAIL_ADDRESS>wrote:

@bobjalex https://github.com/bobjalex thank you for reporting the
problem.
I don't have Java or Python or Ruby installed on my Windows computer. So I
could not verify your findings.
But, as far as I can see from your results, each Go process start is about
5ms slower than other languages. And there is a 5ms sleep here
https://github.com/golang/go/blob/2e4edf46977994c9d26df9327f0e41c1b60f3435/src/os/exec_windows.go#L43
Could you try and remove the sleep and see, if your problem goes away?
Thank you.
Alex
Could you try
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/31895#issuecomment-491575079, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABLA2AIJANFPAWJ3SQBCJN3PU7HDZANCNFSM4HLMHNSA
.

Here are some more timings with sleep removed, on another Windows box with
different architecture:
Previous box: Windows 10 desktop, Intel core I7, conventional spinning disk
This box: Windows 10 laptop, later generation core I5, solid state disk
The comparative timings are all just about the same!
Hello from "Go" (reps: 10000, command: "cmd /c rem", using os.StartProcess).
2m11.6298252s
Hello from "Go" (reps: 10000, command: "cmd /c rem", using exec.Command).
2m13.6333152s
Hello from "Python" (reps: 10000, command: 'cmd /c rem').
132.485249s
Hello from "Ruby" (reps: 10000, command: "cmd /c rem").
134.177437s
Hello from "Java" (reps: 10000, command: "cmd /c rem").
132.7421891s
On Tue, May 14, 2019 at 9:44 AM Bob Alexander<EMAIL_ADDRESS>wrote:

Hi Alex --
I did timings with:

the 5ms sleep totally removed, including its "defer"
various lesser sleep times, e.g. 1ms, 2, ...

In summary, the sleep does appear to be the culprit. With the sleep
totally removed, the results are essentially the same as the other
"reference" languages. With varying sleep times the run times increase
proportionally to the sleep time, as one would expect.
You can run my Go rapid-fire launch timing program without having the
other languages installed:

go run process_launch_timing.go -h
Hello from "Go"

Times repeated execution of a do-nothing command.
args: [options] [repetitions]
repetitions
number of repetitions (default 200)
-c command
a no-op command that runs quickly (default "cmd /c rem")
-s    use os.StartProcess to run process instead of exec.Command
exit status 2
Even with the sleep and defer removed, my test program ran without a hitch
-- I did not notice any problems for 10,000 rapid-file launches.
Here are the comparative results with sleep and defer removed, 10,000 reps:

python3 all_timings.py 10000

Hello from "Go" (reps: 10000, command: "cmd /c rem", using
os.StartProcess).
54.614608s
Hello from "Go" (reps: 10000, command: "cmd /c rem", using exec.Command).
56.4145624s
Hello from "Python" (reps: 10000, command: 'cmd /c rem').
56.493070s
Hello from "Ruby" (reps: 10000, command: "cmd /c rem").
71.051627s
Hello from "Java" (reps: 10000, command: "cmd /c rem").
55.092178901s
Bob
On Sun, May 12, 2019 at 1:18 AM Alex Brainman<EMAIL_ADDRESS>wrote:

@bobjalex https://github.com/bobjalex thank you for reporting the
problem.
I don't have Java or Python or Ruby installed on my Windows computer. So
I could not verify your findings.
But, as far as I can see from your results, each Go process start is
about 5ms slower than other languages. And there is a 5ms sleep here
https://github.com/golang/go/blob/2e4edf46977994c9d26df9327f0e41c1b60f3435/src/os/exec_windows.go#L43
Could you try and remove the sleep and see, if your problem goes away?
Thank you.
Alex
Could you try
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/31895#issuecomment-491575079, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABLA2AIJANFPAWJ3SQBCJN3PU7HDZANCNFSM4HLMHNSA
.

In summary, the sleep does appear to be the culprit.

I am glad we know what your problem is.
Unfortunately we cannot remove sleep. Otherwise we have trouble removing executable file once process has exited. See #25965 for details, for example.
If you have any good suggestions, I am all ears.
Alex

One possibility: remove the 5ms, and when deleting the executable retry several times if the delete fails, until it finally succeeds.
I've been piddling around with testing the need for the delay: instrumented my process_launch_timing program with some code that attempts to detect when the executable is not "released" on return from exec.Run. Using Go with the 5ms removed, I added this to the repeated-launching program:

use a do-nothing launched-program target that is writable and is not being used by other processes
upon return from Run, attempt to open the target executable for writing:
os.OpenFile(executable, os.O_WRONLY, 0755)
I confirmed that this fails if the file is being executed, and succeeds if not.
If the above test fails, print a message.

Not really sure how well this works, but it did report problems if I provoked it by manually running the executable during a test run. Of course my environment is a home computer with not a whole lot going on besides the usual Windows 10 background stuff. And I'm using a fully up to date, modern version of Windows.
With that program, I can reliably run a million repetitions without any "open executable immediately after wait" errors detected. (If I start 2 instances of that program running at the same time on the same target executable, it's fun to watch the chaos that ensues -- suggesting the that detection technique is working.)
I have left the delay out of my personal Go environments, to see what happens. So far, so good.

One possibility: remove the 5ms, and when deleting the executable retry several times if the delete fails, until it finally succeeds.

Sounds reasonable. Would you like to adjust Go standard library and see what happens? Send your change for review, if it works for you.

Not really sure how well this works, but it did report problems if I provoked it by manually running the executable during a test run.

We have many tests and many different environments https://build.golang.org to test your change. And other Go users will complain, if your change will not work for them.

Of course my environment is a home computer with not a whole lot going on besides the usual Windows 10 background stuff.

Yes, your environment matters. See, for example, my comment https://github.com/golang/go/issues/25965#issuecomment-482037476 But I can test your change in my environment.
Alex


Creating a Fully Managed Beam Streaming System with Flink Runner on Kubernetes

Hi all,
We created a blog post for Apache beam about how we created a managed service for our Beam jobs on Kubernetes. First part is about General Architecture details. I am also working on challenges and learning on part2. I hope you can publish this blog post on Beam Blog. I believe this will be helpful for another who wants to build similar system.
Thanks
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

This looks great! Thanks for doing this.
cc @damccorm

Thank you @liferoad Do you know how can get approval for this ? Should i ask @damccorm ?

assign set of reviewers

Thank you @liferoad Do you know how can get approval for this ? Should i ask @damccorm ? I am working on Part 2 also. It will have more insights. We learned so many things.

Great! Thanks for Part 2!
Let me ask around about who could help reviewing this.

R: @rszper

Consider my question non-blocking of the PR. Is the intent for the reader to follow this article to replicate in their own environment?

Thank you reviewing @damccorm  Our goal is to share experience while building this system. and Show readers it is possible with some few challenges. Whoever wants to build similar system. I believe they can see different issue also too. I can write a tutorial after Part 2 step by step how they can build based on open source examples.

I believe we cleared all issues but Looks like pictures are very blur. I will change pictures.

@damondouglas Please review it. I updated images and fixed all issues


Run container UX issues

There's a couple of UX issues related to the run container button:

The button is enabled even if a user didn't build an image. In this case the run container button should be disabled, since there's basically nothing to run.
If a user builds a project image but doesn't set the default project image, running the container is still possible but it fails with an exception:

Error during callback: com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"pull access denied for [project_name], repository does not exist or may require 'docker login': denied: requested access to the resource is denied"}
Since the step for setting project image is obviously mandatory for a successful run, the UX for this should be more clear.
A couple of suggestions:

leave the run container button enabled, but when clicked show the modal window with a message that default project image was not set and ask the user if she/he wants to mark the latest image as default and run the container with it (preferred way, but a bit more complex to implement)
disable the "run container" button if the default project image is not set and add a tooltip (on run button) which states that it's not possible to run the container without default project image

@mvolf is it on kubernetes or docker? could you please add screenshots?

@mgubaidullin This is on docker, since only in docker user is able to build several project images and chose the default one. I'll post some screenshots as soon as I have some time.

@mgubaidullin I just checked with the latest code from main branch. This is on docker and the "Deploy" button is enabled all of the time, even if user still didn't build the project or mark the default image for deployment.
Since the "Deploy" button is always enabled user is able to click it and is in this case presented with an error.
Here's a few screenshots:

user didn't build the project:

error when user click deploy without the build (here it's also visible that the "Deploy" button is enabled):

user builds the project but doesn't mark the newly created image as default:

error when user click deploy without the default image (again "Deploy" button is enabled):

My conclusion is that the "Deploy" button should be enabled only if all requirements for the deployment are met. In other words, it should be enabled only if user built the project and marked the default image.
Currently, user is presented with an error message which means nothing to them and is in fact very misleading.

There is a use case (from real project) for that.
Project contains only application.properties and docker-compose.yaml
User click Deploy button, select pull image if required to pull a new image and deploy it to Docker

Oh, I wasn't aware of this.
From where is this image being pulled in this case? How can we define which image to pull?

From the image tag in docker-compose.yaml
https://github.com/apache/camel-karavan/blob/ad3a375e4109969eef864845beb612330ae8b340/karavan-app/src/main/resources/snippets/docker-compose.yaml#L3

Thanks @mgubaidullin. Is there an ability to see from code if this image is defined. If there is, than it could be coded to disable the deployment button in case the project is not built, default image is not set and docker image is not defined.

Yes. This is feasible. We do not actually need to check if project is build. We could just check in image is set in docker-compose. If not set Deploy button should be disabled with tool tip 'Set project image'

What if user sets the default image from the UI, but doesn't chose to commit these changes to git? Will the check in docker-compose be enough in this case?


validate Docker digest and tag formatting

The unit tests are a little mundane, but they are better than nothing.

This fixes #11.

@bartsmykla can you take a look at this? Not sure how to add you as a reviewer because you are not in the GoogleCloudPlatform org... doh.

@bartsmykla Thx for the review!
The if err := ...; err != nil idiom is something I haven't gotten used to yet.
PTAL

LGTM now :-)


Bluetooth

Hai Leon, I'm very interesting of your project and tried to make one, but I have problem with bluetooth connection.after I installed the aplication from playstore and trial it couldnt connect the bluetooth, aplication suddenly stop and close right after i click the BT device. FYI i use HC-06 instead of HC-05.

Hi Leon,
I'm also interested in your clock. for the blutooth to work, I suppose i need the (digital clock app) installed on a smartphone. I haven't found the apk to install it. where can I find it? thanks.
chris


ERROR Received binary message for non-existing handler 1

When I start this, I get a massive amount of these in the hass logs. Is this a HASS problem or the satellite problem? Anyone else?
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139694421745472] Received binary message for non-existing handler 1

same problem, any solution?

This can happen some times when HA has already closed the pipeline, but a few audio chunks are still send out by the satellite. It shouldn't be hurting anything.

I get a ton of these as well and fairly regularly (about every ten seconds or so no matter what)

I get these all the time, and it seems to break my satellite functionality. My satellites no longer respond to the wake word. I have 2 satellites with Raspberry pi's and one M5Stack ESPHome one setup as voice satellites.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:167
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 6:09:55 PM (16473 occurrences)
Last logged: 9:49:08 PM

    [140202907642816] Received binary message for non-existing handler 1
    [140202867441088] Received binary message for non-existing handler 253
    [140202867441088] Received binary message for non-existing handler 254
    [140202867441088] Received binary message for non-existing handler 255
    [140202867441088] Received binary message for non-existing handler 1

Any idea how to fix / debug this?


Incorrect PowerShell Module Locations

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-powershell
What part(s) of the article would you like to see updated?
In PowerShell Module Locations, there is an error in the table.
The location for PowerShell add-on modules / Ubuntu is invalid: /usr/local/share/powershell/Modules/*.
The modules are located under /usr/share/ in the subfolder az_<version>, e.g. /usr/share/az_7.3.2.
Additional information
No response

@tomas-pajurek Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

👋  @tomas-pajurek, thanks for opening this issue. It looks like there are some modules present at the location currently documented (/usr/local/share/powershell/Modules/*), but the Azure modules do appear to be in the location you specified (/usr/share/az_).
I'll try to get someone from the infrastructure team to clarify if this affects the other GitHub-hosted runner OSs too.

Hi @tomas-pajurek, thank you for opening this issue!
It looks like the Azure modules are in the location you pointed out on Ubuntu runners, and other OS's are not impacted. For context, it is done this way to support the AzurePowerShell task.
I think for this, we could add a note under the table to call this out, somethings similar to:
{% note %}

**Note**: On Ubuntu runners, Azure PowerShell modules are stored in `/usr/share`.

{% endnote %}

You, or anyone else, is welcome to open a PR to address this.

Hi,
Is it okay if I do it?

@alexis-opolka Yes! Feel free to assign yourself this issue and open a PR. 🙂

@SiaraMist I don't have the rights to assign myself this issue but I'll be sure to open a PR. ^-^


feat: use ast metadata

Waiting on non-beta Parser and AST release.
Description

This PR uses nw AST metadata in Parser.
Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have updated the documentation accordingly. If you are changing code related to user secrets you need to really make sure that security documentation is correct.
[x] I have read the CONTRIBUTION_GUIDE document.
[x] I haven't repeated the code. (DRY)
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Changes merged into https://github.com/superfaceai/one-sdk-js/pull/167


fix(TDI-42740): tNetsuiteInput throws cast error when switching from …

What is the current behavior? (You can also link to an open issue here)
class cast exception (NetSuiteInputProperties to NetSuiteConnectionProperties)
What is the new behavior?
process correctly class cast
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
https://jira.talendforge.org/browse/TDI-42740

Pull request test result: failure :x:

was fixed by TUP.


SyntaxError: Unexpected token > in node 0.10.48

I'm seeing a syntax error when trying to do anything with phonegap 6.4.3 on node 0.10.48. Phonegap 6.4.2 works fine.
PhoneGap CLI, node & npm versions
PhoneGap 6.4.3
node 0.10.48
npm 2.15.1
Expected Behaviour
Functionality
Actual Behaviour
Immediate syntax error with any command
Steps to Reproduce

Run phonegap --version
See syntax error

Sample Code that illustrates the problem
phonegap --version
Error messages
/usr/lib/node_modules/phonegap/lib/phonegap/util/connect-proxy.js:21
                fs.readFile(settings, (err, data) => {
                                                   ^
SyntaxError: Unexpected token >
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/lib/node_modules/phonegap/lib/phonegap/serve.js:9:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

Hey @brad,
The version of node you are using does not support ES6 features, which is why you are seeing this error. If you update your node version to 4.0.0+ you should be able to use the CLI.

@surajpindoria Oh, so phonegap no longer supports 0.10.x? In that case the README needs an update to reflect that.

Yes, thanks for pointing out the discrepancy in the README. I updated the minimum node version awhile back and forgot to change it in the docs. @brad

Hi @skysim,
You need to update the version of node you have installed on your system. The minimum required for the phonegap-cli is 4.0.0. This version includes support for ES6 syntax which is causing the above issue for you.

Thanks for replying, but there is some connections problem in LINUX such as the address i get from the LINUX cant connect to the App in phone <IP_ADDRESS>:3000 which is a private address that cant be connected. Is there any solutions for it?

Take a look at this FAQ, there are a bunch of suggestions that mayork settings to allow peer-to-peer connections.to modify your network settings to allow peer-to-peer connections.

i have same problem
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Node js version : v8.11.3

I have the same issue. Tried to remove npm as suggested, but did not work.
/usr/local/lib/node_modules/@angular/cli/bin/ng:17
var version = process.versions.node.split('.').map(part => Number(part));
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3


Have any documents about how to use this toolbox?

Like the topic saying, I can find any reliable documents about this toolbox, so it might cause some trouble when I try to use it. Could please send me some of them? I would appreiate it, thanks.

Hi,
We are working on putting together documentation but it may be a while before we publish it. Sorry about that. However, to use the toolbox, all you have to do is to navigate (from within MATLAB) to the toolbox's parent folder (containing the file "start3D3AMATLABToolbox.m") and run start3D3AMATLABToolbox in the Command Window to initialize the toolbox. This should add all the necessary folders to the MATLAB search path and, if you are connected to the internet, also download most of the dependencies. You can also install (i.e., download and add to MATLAB search path) the dependencies manually. For more information on the required dependencies, please refer to the README file in the dependencies folder.
Once the toolbox is initialized, you can use the functions in the toolbox like you use any other MATLAB functions. Most functions have usage documentation which you can access by typing help <function_name> in the Command Window.
Thanks.


Admin

I see that there is an admin menu, but I can't seem to figure out how to get into it. I've been through the api.js, and the admin.js and I think I understand the credentials needed. My problem is I can't seem to get to the admin login page itself. I'm pretty sure I had the correct cookie set that seemed to be the prerequisite, but I'm still at a loss.
Any hints would be greatly appreciated. Thanks.

10 more minutes made my question obsolete


VC4CL not compatible with VC4 mesa experimental Raspberry PI driver and Qt

When I run my QtApp which is linked to run the Experimental VC4 (full KMS) driver and OpenGL, I get a blue screen when running OpenCL with OpenCV.    It appears the mesa driver and VC4CL are stomping on each other and are not compatible.

What do you mean by blue screen?
How did you compile VC4C? Did you build with the CMake configuration REGISTER_POKE_KERNELS enabled or disabled? With REGISTER_POKE_KERNELS enabled, they won't work together. Even with the configuration disabled, it is not guaranteed that they can work together.
See also #51 .


Steering script for multiple toyMC submission

We want to be able to define a range of toyMC runs (with different true generate_args, different signals tested, etc) with a steering script, saying for example
"these wimp masses and true signal expectations should be looped over", with N toyMCs per run and M parallel runs for each.

Do we want to keep the binference-like parameters_to_zip and paramaters_to_vary logic for this or do you have any other idea on how to define parameter scans?


armors

Using the latest version of spigot and ViaVersion with no other plugins it show no console errors If you are using 1.9 and wear an armor, the armor will work (provide extra protection) and you will see it in f5, but it will not show on the armor bar

Same issue

Fixed in next version, it's on github just not spigot yet.


How to handle "disease" as text in a search?

Searching for something like "heart disease" returns a lot of good hits.  But it also returns things like "brain disease" and "polydactyly (disease)".
My suspicion is that the text "disease" is producing these matches.   Is there a way to down-weight those results?   Maybe disease should be removed from names?  But seems like you need it in there to get heart disease to match heart disease...

@cbizon should this move to jira?

Yes


Missing symfony variables in env-example and workspace. Added python as an option to workspace

I completed the 3 steps below:

[x] I've read the Contribution Guide.
[x] I've updated the documentation. (refer to this for how to do so).
[x] I enjoyed my time contributing and making developer's life easier :)

@hounded could you please add it to the other docker files of the workspace as well, example for workspace/Dockerfile-71 and if possible to workspace/Dockerfile-56. Thanks,

Hi
Sorry just got back to work, realized you already added.
Need any other help just call, great repo
Cheers,
James
On Mon, Aug 7, 2017 at 3:05 PM, Mahmoud Zalt<EMAIL_ADDRESS>wrote:

@hounded https://github.com/hounded could you please add it to the
other docker files of the workspace as well, example for
workspace/Dockerfile-71 and if possible to workspace/Dockerfile-56.
Thanks,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/laradock/laradock/pull/1077#issuecomment-320557962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALArl99d0_duIYbzxcq9ILoK3bM4faFuks5sVn7cgaJpZM4Ou1oI
.

@hounded no worries I added them to the other workspace PHP versions 8e84fbbec2bb18980758bdd435175512e2e127a3 Thanks.


Correction for raw affiliation Faculty of Pharmacy, Université de Montréal, 2940 Chemin de Polytechnique, Montréal, Québec H3T 1J4, Canada

Correction needed for raw affiliation Faculty of Pharmacy, Université de Montréal, 2940 Chemin de Polytechnique, Montréal, Québec H3T 1J4, Canada
raw_affiliation_name: Faculty of Pharmacy, Université de Montréal, 2940 Chemin de Polytechnique, Montréal, Québec H3T 1J4, Canada
new_rors: 0161xgx34
previous_rors: 0161xgx34;05f8d4e86
works_examples: W4388526391
contact: f56b1cea402097b2f77d3a931aeab149:c865a048e3bb9a6862cd2b @ polymtl.ca

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


Function to get the current waker in an async fn

Not sure about the name, but I just found a use for this and it's incredibly small. Maybe you have a better idea for a name?
pub async fn waker() -> Waker {
    future::poll_fn(|c| Poll::Ready(c.waker().clone())).await
}

slightly more contentious bonus:
pub async fn delay() {
    let mut done = false;
    future::poll_fn(|_| {
        if done {
            Poll::Ready(())
        } else {
            done = true;
            Poll::Pending
        }
    }).await
}

I've wanted waker() before, more than once :) I think it's useful! The name sounds good to me. Some other ideas: get_waker(), current_waker(). Not sure if its possible, but perhaps it'd be worth changing the signature to return a &Waker rather than Waker.
Regarding delay(), I think that's same as futures_lite::future::yield_now().

AIUI, yield_now() reschedules the current future? Delay is for when you don't want to do that (because you're messing with wakers)

I went and looked, and yes, that's the essential difference - with delay, we don't wake ourselves.

These have now made it into futures-micro as 'waker' and 'sleep'. You might also like to steal PollState. Or you might find it offensive and decide not to :)

See this comment. I don't think we should add this; it's a bit niche.


Cannot compile

The image stopped working a few days ago due to erorr in XGBoost compilation
Step 3/4 : RUN apk add --update --no-cache     --virtual=.build-dependencies     make gfortran     python3-dev     py-setuptools g++ &&     apk add --no-cache openblas lapack-dev libexecinfo-dev libstdc++ libgomp &&     pip install numpy==1.13.3 &&     pip install scipy==1.0.0 &&     pip install pandas==0.22.0 scikit-learn==0.19.1 &&     ln -s locale.h /usr/include/xlocale.h &&     cd /src/xgboost; make -j4 &&     cd /src/xgboost/python-package &&     python3 setup.py install &&     rm /usr/include/xlocale.h &&     rm -r /root/.cache &&     rm -rf /src &&     apk del .build-dependencies
 ---> Running in 1c441ba2d695
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
(1/24) Installing make (4.2.1-r0)
(2/24) Installing binutils-libs (2.30-r1)
(3/24) Installing binutils (2.30-r1)
(4/24) Installing gmp (6.1.2-r0)
(5/24) Installing isl (0.17.1-r0)
(6/24) Installing libgomp (6.3.0-r4)
(7/24) Installing libatomic (6.3.0-r4)
(8/24) Installing pkgconf (1.3.7-r0)
(9/24) Installing libgcc (6.3.0-r4)
(10/24) Installing mpfr3 (3.1.5-r0)
(11/24) Installing mpc1 (1.0.3-r0)
(12/24) Installing libstdc++ (6.3.0-r4)
(13/24) Installing gcc (6.3.0-r4)
(14/24) Installing libquadmath (6.3.0-r4)
(15/24) Installing libgfortran (6.3.0-r4)
(16/24) Installing gfortran (6.3.0-r4)
(17/24) Installing python3 (3.6.5-r0)
(18/24) Installing python3-dev (3.6.5-r0)
(19/24) Installing python2 (2.7.15-r0)
(20/24) Installing py-setuptools (33.1.1-r1)
(21/24) Installing musl-dev (1.1.16-r14)
(22/24) Installing libc-dev (0.7.1-r0)
(23/24) Installing g++ (6.3.0-r4)
(24/24) Installing .build-dependencies (0)
Executing busybox-1.26.2-r9.trigger
OK: 321 MiB in 59 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
(1/5) Installing lapack (3.7.0-r0)
(2/5) Installing lapack-dev (3.7.0-r0)
(3/5) Installing libexecinfo (1.1-r0)
(4/5) Installing libexecinfo-dev (1.1-r0)
(5/5) Installing openblas (0.2.19-r3)
Executing busybox-1.26.2-r9.trigger
OK: 366 MiB in 64 packages
Collecting numpy==1.13.3
  Downloading https://files.pythonhosted.org/packages/bf/2d/005e45738ab07a26e621c9c12dc97381f372e06678adf7dc3356a69b5960/numpy-1.13.3.zip (5.0MB)
Building wheels for collected packages: numpy
  Running setup.py bdist_wheel for numpy: started
  Running setup.py bdist_wheel for numpy: still running...
  Running setup.py bdist_wheel for numpy: still running...
  Running setup.py bdist_wheel for numpy: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b6/10/65/189b772e73b4505109d5a1e6671b07e65797023718777295e0
Successfully built numpy
Installing collected packages: numpy
Successfully installed numpy-1.13.3
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting scipy==1.0.0
  Downloading https://files.pythonhosted.org/packages/d0/73/76fc6ea21818eed0de8dd38e1e9586725578864169a2b31acdeffb9131c8/scipy-1.0.0.tar.gz (15.2MB)
Building wheels for collected packages: scipy
  Running setup.py bdist_wheel for scipy: started
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: still running...
  Running setup.py bdist_wheel for scipy: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/38/d4/55/5d300ffc87fc5297a63778cd504312ff957b95b897780a2b1b
Successfully built scipy
Installing collected packages: scipy
Successfully installed scipy-1.0.0
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pandas==0.22.0
  Downloading https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz (11.3MB)
Collecting scikit-learn==0.19.1
  Downloading https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz (9.5MB)
Collecting python-dateutil>=2 (from pandas==0.22.0)
  Downloading https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl (225kB)
Collecting pytz>=2011k (from pandas==0.22.0)
  Downloading https://files.pythonhosted.org/packages/f8/0e/2365ddc010afb3d79147f1dd544e5ee24bf4ece58ab99b16fbb465ce6dc0/pytz-2018.7-py2.py3-none-any.whl (506kB)
Requirement already satisfied: numpy>=1.9.0 in /usr/local/lib/python3.6/site-packages (from pandas==0.22.0)
Collecting six>=1.5 (from python-dateutil>=2->pandas==0.22.0)
  Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Building wheels for collected packages: pandas, scikit-learn
  Running setup.py bdist_wheel for pandas: started
  Running setup.py bdist_wheel for pandas: still running...
  Running setup.py bdist_wheel for pandas: still running...
  Running setup.py bdist_wheel for pandas: still running...
  Running setup.py bdist_wheel for pandas: still running...
  Running setup.py bdist_wheel for pandas: still running...
  Running setup.py bdist_wheel for pandas: still running...
  Running setup.py bdist_wheel for pandas: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/21/6e/f3/24ca4e2d50a98d3733ca82c0e0941d3b411b3212aacf7d9a73
  Running setup.py bdist_wheel for scikit-learn: started
  Running setup.py bdist_wheel for scikit-learn: still running...
  Running setup.py bdist_wheel for scikit-learn: still running...
  Running setup.py bdist_wheel for scikit-learn: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/5e/b1/d3/9023541e7435544183dd51d00e9ca58a38baef49cf51607b3a
Successfully built pandas scikit-learn
Installing collected packages: six, python-dateutil, pytz, pandas, scikit-learn
Successfully installed pandas-0.22.0 python-dateutil-2.7.5 pytz-2018.7 scikit-learn-0.19.1 six-1.11.0
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Makefile:31: MAKE [make] - checked OK
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/learner.o src/learner.cc >build/learner.d
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/logging.o src/logging.cc >build/logging.d
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/objective/regression_obj.o src/objective/regression_obj.cc >build/objective/regression_obj.d
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/objective/rank_obj.o src/objective/rank_obj.cc >build/objective/rank_obj.d
In file included from dmlc-core/include/dmlc/./serializer.h:22:0,
                 from dmlc-core/include/dmlc/io.h:445,
                 from src/learner.cc:7:
dmlc-core/include/dmlc/././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
     #error "Unable to determine endianness of your machine; use CMake to compile"
      ^~~~~
In file included from dmlc-core/include/dmlc/././serializer.h:22:0,
                 from dmlc-core/include/dmlc/./io.h:445,
                 from dmlc-core/include/dmlc/data.h:14,
                 from include/xgboost/./data.h:11,
                 from include/xgboost/objective.h:15,
                 from src/objective/regression_obj.cu:10,
                 from src/objective/regression_obj.cc:17:
dmlc-core/include/dmlc/./././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
     #error "Unable to determine endianness of your machine; use CMake to compile"
      ^~~~~
make: *** [Makefile:141: build/objective/regression_obj.o] Error 1
make: *** Waiting for unfinished jobs....
g++ -c -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp src/logging.cc -o build/logging.o
make: *** [Makefile:143: build/learner.o] Error 1
In file included from dmlc-core/include/dmlc/././serializer.h:22:0,
                 from dmlc-core/include/dmlc/./io.h:445,
                 from dmlc-core/include/dmlc/data.h:14,
                 from include/xgboost/./data.h:11,
                 from include/xgboost/objective.h:15,
                 from src/objective/rank_obj.cc:9:
dmlc-core/include/dmlc/./././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
     #error "Unable to determine endianness of your machine; use CMake to compile"
      ^~~~~
make: *** [Makefile:143: build/objective/rank_obj.o] Error 1
ERROR: Service 'app' failed to build: The command '/bin/sh -c apk add --update --no-cache     --virtual=.build-dependencies     make gfortran     python3-dev     py-setuptools g++ &&     apk add --no-cache openblas lapack-dev libexecinfo-dev libstdc++ libgomp &&     pip install numpy==1.13.3 &&     pip install scipy==1.0.0 &&     pip install pandas==0.22.0 scikit-learn==0.19.1 &&     ln -s locale.h /usr/include/xlocale.h &&     cd /src/xgboost; make -j4 &&     cd /src/xgboost/python-package &&     python3 setup.py install &&     rm /usr/include/xlocale.h &&     rm -r /root/.cache &&     rm -rf /src &&     apk del .build-dependencies' returned a non-zero code: 2

I didn't find any solution yet...

Thanks @weelng, that helped. I was trying using older versions of xgboost, but couldn't make it work for some reason. Your solution works like a charm though.


fixed build error on xcode 8 in swift 3.0

Signed-off-by: zhouliangshun<EMAIL_ADDRESS>

Closing due to another PR. Thank you 👍


removing usages of Person from main and test

Approve pls Kors kors

Codecov Report

Merging #83 (ef0a90f) into master (a62391c) will decrease coverage by 2.05%.
The diff coverage is 91.66%.

@@             Coverage Diff              @@
##             master      #83      +/-   ##
============================================
- Coverage     78.46%   76.40%   -2.06%
+ Complexity      991      884     -107
============================================
  Files           136      126      -10
  Lines          3004     2721     -283
  Branches        422      371      -51
============================================
- Hits           2357     2079     -278
- Misses          552      559       +7
+ Partials         95       83      -12

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/logic/LogicManager.java
73.91% <ø> (-1.09%)
:arrow_down:

.../seedu/address/logic/parser/AddressBookParser.java
77.77% <ø> (+3.58%)
:arrow_up:

src/main/java/seedu/address/model/AddressBook.java
86.30% <0.00%> (-1.34%)
:arrow_down:

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
91.57% <ø> (-0.32%)
:arrow_down:

.../java/seedu/address/model/util/SampleDataUtil.java
16.98% <ø> (+0.61%)
:arrow_up:

...u/address/storage/JsonSerializableAddressBook.java
90.24% <ø> (+10.24%)
:arrow_up:

src/main/java/seedu/address/ui/MainWindow.java
0.00% <ø> (ø)

...ava/seedu/address/logic/commands/CheckCommand.java
74.07% <100.00%> (ø)

...du/address/logic/commands/FindCustomerCommand.java
100.00% <100.00%> (ø)

... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a62391c...ef0a90f. Read the comment docs.


Adding annotation messes with mathematics

After adding annotations, some mathematic texts are transformed into non-sense. This seems to be some problem with fonts
Example:

Hi @salehe. Thanks for opening this issue.
Can you please let me know what you typed into the annotations text box (the markdown/latex text) that generated the text you show, and what you expected the generated annotation text to look like? That will help us figure out the source of this bug.

Hi @mishaschwartz,
The annotation looks fine. It's the original pdf text (before adding annotation) that is transformed.

I believe I found the pdf that you referenced above but it is not rendered in the same way that your image shows. For me it looks like:

And it looks the same when I view it in Chrome, Firefox, Safari and also when I download it and view it through a few pdf viewers. How exactly are you viewing this file and are there any steps I am missing to reproduce this bug?

Closing because unable to reproduce and no follow up


Plotlines should require exactly one value, not N many data points

A line is fully specified with two points, from the algebra we teach in elementary school. When a line is oriented according to a known angle, such as a horizontal or vertical line, then the line needs only one value to fully describe it.
I have tried applying many different configurations for chart.js plotlines, but nothing works except supplying redundant values, one data point for every tick mark. Please fix plotlines so they work like regular mathematics.

You can make a line with only two points


Profile missing (workaround found)

For other users
The solution (for me, until a fix) was:

removing all extension and data from 0.15.4
installing 0.15.3 from Zip
Log in
update extension

Help request
Your Environment

Netflix add-on version: 0.15.4
Operating system version/name: OSMC 18.3 stable
Device model:  Rpi 3

Used Operating system:

[ ] Android
[ ] iOS
[X] Linux
[ ] OSX
[X] Raspberry-Pi
[ ] Windows

Describe your help request

Impossible to login, Profile missing raised error
kodi.log

Happened to me as well. Downgrading to 0.15.3 fixes it. Once login in, I updated to last version and everything work as expected.

I'm looking for the problem, unfortunately in my tests it never happened..
this log has no debug information, a complete debug log would be more useful

@kevlugli I'll try it
@CastagnaIT  Sorry how could I provide a better log ?

how enable debug is explained here:
https://kodi.wiki/view/Log_file/Easy

@CastagnaIT Ok thank you i'll provide it as soon as i can. But just for information @kevlugli solution work for me too.

kodi.log
@CastagnaIT  Does this log better ? (Sorry I though the logging was active)

yes this time is good thanks

Ok, hope you found a solution. Because (as @kevlugli said) upgrading from 0.15.3 does not raise this exception.

I'm verifying... it is a problem of a variable that i have not taken into consideration

I'll try the next release I you want

@kl3sk can you test this?
can you also confirm if browsing lists is faster?
plugin.video.netflix_0.15.4_20191012.zip

I tried, it is working well. And yes, the listing is a lot faster!
That's great man. Thank's for the good work @CastagnaIT !

Was having the same issue with 0.15.4. The version in the ZIP file works like a charm.

hello.. i use this version on a shield.. it works only in SD (540p)
can U help?

@ruschinator
this does not concern the issue of this post
go to "Shield v8.0.0 (Pie) killed Kodi Netflix" issue

roger..

Hello @CastagnaIT, thx for the quick fix. I can confirm this working perfectly on my device.
About browsing list, yes it look likes a bit faster. But anyway this is working and that is great.
Thanks again ! And good job.
I'll close this issue when your official release came out.


Catch correct exception thrown from Delete()

Fixes https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/127.
The documentation for FileInfo.Delete() says that it can throw IOException, SecurityException and UnauthorizedAccessException, so I have removed FileNotFoundException, which cannot be thrown by it, added IOException to fix the bug and also added SecurityException just in case. FileInfo.Exists() does not throw.

Thanks!


Set callbacks to be based on validation loss (not training loss)

This is my current setup for a run, EarlyStoppingCallback and ModelCheckpointCallback seems to be based on training loss. How to switch for callbacks to be based on validation loss?
losses = {'MeanReturn': MeanReturns(),
	  'CumulativeReturn': CumulativeReturn(),
	  'SharpeRatio': SharpeRatio(),
	  'SortinoRatio': SortinoRatio(),}

run = Run(model,
          losses['SharpeRatio'],
          dataloader_train,
          val_dataloaders={'train': dataloader_train,
                           'valid': dataloader_valid},
          metrics = {'MeanReturn': losses['MeanReturn'],
                     'CumulativeReturn': losses['CumulativeReturn'],
          	     'SharpeRatio': losses['SharpeRatio'],
          	     'SortinoRatio': losses['SortinoRatio']},
          optimizer=optimizer,
          callbacks=[EarlyStoppingCallback(dataloader_name='valid',
			                   metric_name='loss',
					   patience=patience),
	             ModelCheckpointCallback(folder_path=saved_model_folder,
					     dataloader_name='valid',
					     metric_name='loss'),
		     TensorBoardCallback(log_dir=tensorboard_path,
					 log_benchmarks=True)],
	  device=device)

I realised I read tensorboard wrongly


Persistence

As a user, I want my data to be persistent between multiple session. When I open and close the application, I want the Api key and the hardware components to stay the same.

Resolved


Create documentation for hosting on a custom domain

This will create documentation for users to host Medplum on a custom domain. Related to issue #2747

coverage: 94.052%. remained the same when pulling f9f87a7553ab86db6d11d3e2d9245fe1197f5cbf on kevin-custom-domain into ffc7333f90052e5012ce8b10bb76a7e539244478 on main.

Closing for now, as directions were unclear


tool_crash FileSystemException Cannot open file OS Error

@lurongshuang
Can you provide the entire exception log in proper format ? What command did you run that shows this error ?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Add bytecode parser and writer

This pull request implements the feature in issue #3

Before we merge this, I still need to finish constant pool related things since that's a very important thing for the binary format. Once I get that finished (hopefully today) and the bytecode reader and writer are updated to account for that, then I'll start a proper review

I have made the requested changes, should be ready for merge

Looks mostly fine to me, though I'll hold off merging till tomorrow (I got about 4 hours of sleep today so I'll do a more detailed check tomorrow)