Unable to run python 3.5 environment locally

I was trying to run the tests for py3.5 env in Travis (numpy=1.11 scipy=0.17 matplotlib=1.5 pandas=0.18 scikit-learn=0.18 pytest pytest-cov pytest-mock pytest-timeout) and I can't run the testsuit.
Apparently, it broke in #6603. But that's not the case in Travis. I was not able to figure out what was it.
~/code/mne-python master 16s
(mne) ❯ conda activate mne35

~/code/mne-python master
(mne35) ❯ git checkout master~9
Note: checking out 'master~9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f39331cc5 MRG Default ica.plot_properties to a parametric CI (#6270)

~/code/mne-python f39331c...
(mne35) ❯ python -c "import mne; mne.sys_info()"
Platform:      Linux-4.15.0-46-generic-x86_64-with-debian-buster-sid
Python:        3.5.5 | packaged by conda-forge | (default, Jul 23 2018, 23:45:43)  [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
Executable:    /home/sik/miniconda3/envs/mne35/bin/python
CPU:           x86_64: 4 cores
Memory:        Unavailable (requires "psutil" package)
mne:           0.19.dev0
numpy:         1.11.2 {lapack=/home/sik/miniconda3/envs/mne35/lib, blas=/home/sik/miniconda3/envs/mne35/lib}
scipy:         0.17.1
matplotlib:    1.5.3 {backend=Qt5Agg}

sklearn:       0.18.1
nibabel:       Not found
mayavi:        Not found
cupy:          Not found
pandas:        0.18.0
dipy:          Not found

~/code/mne-python f39331c...
(mne35) ❯ git checkout master~7
Previous HEAD position was f39331cc5 MRG Default ica.plot_properties to a parametric CI (#6270)
HEAD is now at 3acb8dc8c [MRG] Conversion of somato data to BIDS (#6414)

~/code/mne-python 3acb8dc...
(mne35) ❯ python -c "import mne; mne.sys_info()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/sik/code/mne-python/mne/__init__.py", line 22, in <module>
    from .utils import (set_log_level, set_log_file, verbose, set_config,
  File "/home/sik/code/mne-python/mne/utils/__init__.py", line 23, in <module>
    from .fetching import _fetch_file, _url_to_local_path
  File "/home/sik/code/mne-python/mne/utils/fetching.py", line 14, in <module>
    from .numerics import hashfunc
  File "/home/sik/code/mne-python/mne/utils/numerics.py", line 24, in <module>
    from .linalg import _svd_lwork, _repeated_svd, dgemm, zgemm
  File "/home/sik/code/mne-python/mne/utils/linalg.py", line 44, in <module>
    dgesvd, dgesvd_lwork = linalg.get_lapack_funcs(('gesvd', 'gesvd_lwork'), (_d,))
  File "/home/sik/miniconda3/envs/mne35/lib/python3.5/site-packages/scipy/linalg/lapack.py", line 444, in get_lapack_funcs
    "flapack", "clapack", _lapack_alias)
  File "/home/sik/miniconda3/envs/mne35/lib/python3.5/site-packages/scipy/linalg/blas.py", line 257, in _get_funcs
    '%s function %s could not be found' % (lib_name, func_name))
ValueError: LAPACK function dgesvd could not be found

I'm using scipy-0.17.1 which is the requirement.
Any ideas?
cc: @larsoner

Did you run the same commands locally that Travis uses? This should get you the same env, assuming you are also on Linux.

It was a while ago. But there was no change in Travis (that I was aware of). And I could run one commit but not the other.

I'm back into having issues with this. I use a clean conda install with a subset of the minimum dependencies to run mne. I've checked the ci-helpers used in Travis but I couldn't see what I'm doing wrong.
~/code/mne-python read_dig_montage_polhemus* 9s
(mne35) ❯ conda create --name mne35_bis python=3.5 numpy=1.11 scipy=0.17 scikit-learn=0.18 pytest pytest-cov pytest-mock pytest-timeout
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.7.5
  latest version: 4.7.11

Please update conda by running

    $ conda update -n base conda

## Package Plan ##

  environment location: /home/sik/miniconda3/envs/mne35_bis

  added / updated specs:
    - numpy=1.11
    - pytest
    - pytest-cov
    - pytest-mock
    - pytest-timeout
    - python=3.5
    - scikit-learn=0.18
    - scipy=0.17

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    more-itertools-7.2.0       |             py_0          48 KB  conda-forge
    pluggy-0.11.0              |             py_0          17 KB  conda-forge
    pytest-cov-2.7.1           |             py_0          17 KB  conda-forge
    pytest-mock-1.10.0         |           py35_0          15 KB  conda-forge
    ------------------------------------------------------------
                                           Total:          97 KB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  atomicwrites       conda-forge/noarch::atomicwrites-1.3.0-py_0
  attrs              conda-forge/noarch::attrs-19.1.0-py_0
  blas               conda-forge/linux-64::blas-1.1-openblas
  bzip2              conda-forge/linux-64::bzip2-1.0.8-h516909a_0
  ca-certificates    conda-forge/linux-64::ca-certificates-2019.6.16-hecc5488_0
  certifi            conda-forge/linux-64::certifi-2018.8.24-py35_1001
  coverage           conda-forge/linux-64::coverage-4.5.1-py35h470a237_1
  libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1006
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
  libgfortran        conda-forge/linux-64::libgfortran-3.0.0-1
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-9.1.0-hdf63c60_0
  more-itertools     conda-forge/noarch::more-itertools-7.2.0-py_0
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  numpy              conda-forge/linux-64::numpy-1.11.3-py35_blas_openblas_202
  openblas           conda-forge/linux-64::openblas-0.2.19-2
  openssl            conda-forge/linux-64::openssl-1.0.2r-h14c3975_0
  pathlib2           conda-forge/linux-64::pathlib2-2.3.2-py35_0
  pip                conda-forge/linux-64::pip-18.0-py35_1001
  pluggy             conda-forge/noarch::pluggy-0.11.0-py_0
  py                 conda-forge/noarch::py-1.8.0-py_0
  pytest             conda-forge/linux-64::pytest-3.8.1-py35_0
  pytest-cov         conda-forge/noarch::pytest-cov-2.7.1-py_0
  pytest-mock        conda-forge/linux-64::pytest-mock-1.10.0-py35_0
  pytest-timeout     conda-forge/noarch::pytest-timeout-1.3.3-py_0
  python             conda-forge/linux-64::python-3.5.5-h5001a0f_2
  readline           conda-forge/linux-64::readline-7.0-hf8c457e_1001
  scikit-learn       conda-forge/linux-64::scikit-learn-0.18.2-py35_blas_openblas_201
  scipy              conda-forge/linux-64::scipy-0.17.1-np111py35_blas_openblas_205
  setuptools         conda-forge/linux-64::setuptools-40.4.3-py35_0
  six                conda-forge/linux-64::six-1.11.0-py35_1
  sqlite             conda-forge/linux-64::sqlite-3.28.0-h8b20d00_0
  tk                 conda-forge/linux-64::tk-8.6.9-hed695b0_1002
  wheel              conda-forge/linux-64::wheel-0.32.0-py35_1000
  xz                 conda-forge/linux-64::xz-5.2.4-h14c3975_1001
  zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1005

Proceed ([y]/n)? y

Downloading and Extracting Packages
more-itertools-7.2.0 | 48 KB     | ####################################################################################################### | 100%
pytest-cov-2.7.1     | 17 KB     | ####################################################################################################### | 100%
pytest-mock-1.10.0   | 15 KB     | ####################################################################################################### | 100%
pluggy-0.11.0        | 17 KB     | ####################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate mne35_bis
#
# To deactivate an active environment, use
#
#     $ conda deactivate

~/code/mne-python read_dig_montage_polhemus* 23s
(mne35) ❯ conda activate mne35_bis

~/code/mne-python read_dig_montage_polhemus*
(mne35_bis) ❯ python -c "import mne; mne.sys_info()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/sik/code/mne-python/mne/__init__.py", line 22, in <module>
    from .utils import (set_log_level, set_log_file, verbose, set_config,
  File "/home/sik/code/mne-python/mne/utils/__init__.py", line 9, in <module>
    from .check import (check_fname, check_version, check_random_state,
  File "/home/sik/code/mne-python/mne/utils/check.py", line 15, in <module>
    from ._logging import warn, logger
  File "/home/sik/code/mne-python/mne/utils/_logging.py", line 15, in <module>
    from ..fixes import _get_args
  File "/home/sik/code/mne-python/mne/fixes.py", line 22, in <module>
    from scipy import linalg
ModuleNotFoundError: No module named 'scipy'

~/code/mne-python read_dig_montage_polhemus*
(mne35_bis) ❯ python -c "import scipy"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'scipy'

larsoner@bunk:~$ export PATH=/home/larsoner/anaconda3/bin:$PATH
larsoner@bunk:~$ conda update -n base conda  # get to 4.7.11
larsoner@bunk:~$ conda create --name mne35_bis python=3.5 numpy=1.11 scipy=0.17 scikit-learn=0.18 pytest pytest-cov pytest-mock pytest-timeout
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - scipy=0.17
  - scikit-learn=0.18

Not sure why it even let you try. I can't seem to make a new 3.5 env with numpy 1.11 and SciPy 0.17, but I have one / test one with slightly newer NumPy / SciPy.
To really solve this you'll need to parse the Travis log:
https://travis-ci.org/mne-tools/mne-python/jobs/580524370
In particular look at the conda logs, it does use 4.7.11 and does not end up using as old SciPy/NumPy as we want it to:
The following NEW packages will be INSTALLED:
...
  numpy              pkgs/main/linux-64::numpy-1.11.3-py35h1d66e8a_10
  scikit-learn       pkgs/main/linux-64::scikit-learn-0.20.0-py35h4989274_1
  scipy              pkgs/main/linux-64::scipy-1.1.0-py35hd20e5f9_0
...

That's a bummer but I'm not sure that there is too much that we can do. For example:
(py35) larsoner@bunk:~/python/mne-python$ conda create -n mneold numpy=1.11 scipy=0.17 matplotlib=1.5 pandas=0.18 scikit-learn=0.18 pytest pytest-cov pytest-mock pytest-timeout
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - matplotlib=1.5
  - scipy=0.17
  - scikit-learn=0.18
  - pandas=0.18

Same with conda-forge:
conda create -c conda-forge -n mneold numpy=1.11 scipy=0.17 matplotlib=1.5 pandas=0.18 scikit-learn=0.18 pytest pytest-cov pytest-mock pytest-timeout
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Maybe we should bump our minimum requirements to whatever the minimums are we can get with conda...?

Maybe we should bump our minimum requirements to whatever the minimums are we can get with conda...?

That sounds good to me !!! :D
Maybe since we can be aggressive in bumping the dependencies since we'll be releaseing 'soonish'.


compile on Windows and run tests with NUnit3

changes validated on Mono/Linux as well.

I didn't see this earlier, my apologies! Feel free to add anyone as a reviewer.
We've recently made some changes that take care of these issues though as part of the move to .NET Standard 2.0, so will close this for now.


Visual indication of skipped steps

Can we do something about the steps colouring when there are skipped steps - it's not immediately obvious when there are skipped steps.
e.g.

Hi @mplord thanks for the issue.
I think because a scenario might contain any of the step statuses we are currently set it to either passed or failed. However this can be enhanced if for example all steps within a scenario are skipped like in you example. But then what is the status of a scenario that contains a mix of step statuses (ie. pass pass skipped)?
There is an option to fail the scenarios that contain skipped steps so it's more visible by adding the <countSkippedAsFailure> parameter to your pom.
Check maven plugin: https://github.com/MagenTys/donut-maven-plugin

Good points.
I understand the difficulty of handling the partial vs. full skipping of steps within a single scenario.
I thought initially maybe to avoid this by splitting the pass green segment proportionally into pass/skipped colours according to the step pass/skip ratio, while generally indicating across both segments that they are 'passed', but this is probably subject to any highcharts path/fill limitations.
All that said, I wasn't aware of the countSkippedAsFailure parameter, which I will use right now in preference, as we don't have any cases where any scenario with a skip should be successful, so many thanks for that tip :+1:
This is already a solution for me right now - I was just trying to avoid a case where everything initially looks successful when it actually wasn't, although in Jenkins the build is marked yellow anyway which indicates it wasn't all good. Just felt in future the report might draw your attention to the reason for the yellow ambiguous status more clearly :)


remove google_maps feature flag check

CR @javitonino
brings changes from 3.13.x
cc/ @javisantana @rafatower

The feature flag is used in the views (account settings page) to show/hide the Google API keys. With the new code, this will never be shown. Maybe change the check to use  google_maps_geocoder_enabled??

good point, removed them from the templates
the presenter used the geocoder check so it should be fine

good catch @javitonino

Hey @javitonino thanks for looking into it with so much detail!
I have changed a few things that were wrongly displayed. Have a look and I'll merge!
Thanks.

Looks good for backend. Will there be matching changes to the JS?

Thanks for reviewing! I think the issues with Travis build is due to something else. I'll try to rebuild.

🍏 Here as well, merging! Thnx @javitonino!


Entitled builds broken

Commit 7901cb3961215fcdc5a1bb8572de7aa5f02f56cb breaks entitled builds, because entitlement certificates are no longer passed through to the buildah process.
Host entitlements are linked in /usr/share/rhel/secrets on the build-host, which is mounted as /run/secrets (defined /usr/share/containers/mounts.conf) in the build continer. With the commit above only the rhsm portion is copied to the buildah process, the entitlement certificates are not, which results in failed entitled builds.

You are correct - we missed the etc-pki-entitlement directory, as can be observed on my Fedora 33 machine:
$ ls -al /usr/share/rhel/secrets/
total 12
drwxr-xr-x. 1 root root 68 Dec 31  1969 .
drwxr-xr-x. 1 root root 14 Dec 31  1969 ..
lrwxrwxrwx. 4 root root 20 Oct 30 07:28 etc-pki-entitlement -> /etc/pki/entitlement
lrwxrwxrwx. 4 root root 28 Oct 30 07:28 redhat.repo -> /etc/yum.repos.d/redhat.repo
lrwxrwxrwx. 4 root root  9 Oct 30 07:28 rhsm -> /etc/rhsm

I will open up a BZ.

Filed bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1940488
I will close this GitHub issue - work will be tracked there.

/close


Update groups-create-rule.md

Hello team, I would like to know if we could include this note on the doc as in some cases, while the group is being processed the end user may see a date such as 1/1/2000, 3:00:00 AM or 1/1/1 which can be confusing.

@barclayn - can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


fix(cisco_ise): Allow for non compliant length of program

:tada: This PR is included in version 1.51.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Uncaught TypeError: Cannot read properties of undefined (reading 'loadCell')

TypeError: Cannot read properties of undefined (reading 'loadCell')
at m._updateModel in vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/node_modules.asar/xterm-addon-webgl/lib/xterm-addon-webgl.js:1:19563
at m.renderRows in vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/node_modules.asar/xterm-addon-webgl/lib/xterm-addon-webgl.js:1:19183
at u._renderRows in vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js:1:104038
at t.RenderDebouncer._renderCallback in vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js:1:102422
at t.RenderDebouncer._innerRefresh in vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js:1:24604
at <anonymous> in vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js:1:24302

Go to Errors Site

Duplicate of #161047


How do I remove a story's estimate?

Steps to reproduce:
story = project.create_story(name: 'Some story name')
story.estimate = 3.0
story.save
story.estimate      # => 3.0
story.estimate = nil
story.save
story.estimate      # => 3.0

I think the issue is:
https://gist.github.com/jasonnoble/80e618cf39874d26bdae884b4e79b33f#file-gistfile1-txt-L43 (works to set estimate to 3.0)
vs
https://gist.github.com/jasonnoble/80e618cf39874d26bdae884b4e79b33f#file-gistfile1-txt-L78 (does not include the request to set estimate to nil)

Did you try setting it to 0? I think there is an issue with the dirty tracking that doesn't handle nil correctly. This is just a guess. I need to investigate.


Add a cache for decrypted values

Addresses #239

@stlava I've fixed the tests, if you can rebase this to make sure it passes.
I do like the idea in #239 of an option to control whether caching is enabled. Do you think you could add that to this PR?

@rnelson0 I added an option. It didn't seem very necessary to include this part of the sub-command options but let me know.

@rnelson0 I work with @diranged and took over the ticket. I deployed this yesterday at 22:00 utc.  Here's the trend:

Oh, cool! That's noticeable, but not that drastic of a change. Is your compilation time coming from something else or does the caching need more work?
Happy to merge it, thanks for the contribution!

Adding the caching was a step forward for us to cut down the compilation time but as you pointed out the rest of our time does come from us hitting other external resources. Thanks for getting this in!


Can not see consumer with type KF from kafka-manager installed on different lab

Hi,
We start two kafka-manager on different lab (lab 1 and lab2), and they connect and monitor same zookeeper started on lab1, and we have some consumers with type = ZK and KF, for consumer with type ZK, we could see them from both kafka-manager, but for consumer with type KF, we only can see them from kafka-manager on lab1 (local), and can not see them from kafka-manager on lab2 (remote), why?

Hi
Anybody could help to answer it? Thanks!

I have the same issue, we only see ZK consumers...
Also get non stop the warning: [warn] o.a.k.c.NetworkClient - Bootstrap broker hostname:6667 disconnected

Is it possible that the hostnames of brokers on the remote lab2 are not recognized? If so, try to configure host-ip map in hosts file or use ip binding on broker.

What version did you try this with?  Use latest.  We fixed bug where consumer group name was not unique for offset topic consumption.

hi, is there a solution? I also encountered this issue as the latest version.
Kafka Manager: <IP_ADDRESS>
Kafka: <IP_ADDRESS>
I can just see the consumer with type ZK, cannot see the KF ones.

For me, it works but you have to wait some minutes to start kafka manager after the start of kafka

For me as well, it works eventually. Just takes some time to show up.


Fix palette name use in colorCategoriesStyle

Allow using a palette name + an explicit category list in colorCategoriesStyle helper.
It also updates the related example 'set-style' (check: https://toolkit-git-victor-fix-set-style.carto-frontend.now.sh/examples/layer/set-style.html)

@oleurud maybe you can include this in your new block of work for 'params' validation


Lag when generating targets immediately after switching kits

环境：
Win10+MinGW
GCC 13.2
Clang 18.1.1
cmake 3.29
VS 2022 17.9.5
VSCode 1.87.2
ms-vscode.cmake-tools 1.17.17
ms-vscode.cpptools 1.19.9
复现步骤：

随便创建一个cmake项目
在状态栏中切换编译套件，然后马上点生成目标

在来回切换编译套件并马上生成目标时，就会出现卡顿，响应很慢，此时VSCode的CPU占用率比较高。

@WittonBell Is there any specific project that this reproduces on? Or is this generic to any project?

any cmake project, building immediately after switch freely in clang, gcc and msvc kit.

Tested on latest version it is still reproduced. You can get the details below.
More info:
VScode: 1.88.1
CMake Tools: v1.18.26
ms-vscode.cmake-tools 1.17.17
Repro steos:

Open a CMake project and debug it
Open the "Task manager"
Toggle the compilation suite in the status bar and then tap Generate Target right away
Check the status of VScode's processes in "Task manager"

Actual result:
VScode processes have relatively high CPU utilization after debugging. But this goes away at the end of the debug.


[Extensibility Request] Page 398 "Sales Credit Memo Statistics" - Protected variable

Hello, we need the following currently global variable defined as protected for our page extension. Can you please check that? Thank you!
protected var
    SalesCrMemoLine: Record "Sales Cr.Memo Line";

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


clickhouse: 18.10.3 -> 18.12.17

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/clickhouse/versions.
meta.description for clickhouse is: '"Column-oriented database management system"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-report had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-server had a zero exit code or showed the expected version
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-client passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-local passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-benchmark passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-performance-test passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-copier passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-extract-from-config passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-compressor passed the binary check.
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-format had a zero exit code or showed the expected version
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-obfuscator passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-odbc-bridge passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-clang passed the binary check.
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-lld passed the binary check.
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-test had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-test-server had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/config-processor had a zero exit code or showed the expected version
/nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/corrector_utf8 passed the binary check.
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse-zookeeper-cli had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17/bin/clickhouse had a zero exit code or showed the expected version
12 of 20 passed binary check by having a zero exit code.
2 of 20 passed binary check by having the new version present in output.
found 18.12.17 with grep in /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17
directory tree listing: https://gist.github.com/21a4ecef7491db47e1066af79a365ea7
du listing: https://gist.github.com/d25e69399a7ffe1a0ed5e5cd196999be

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/6f88fb06814d2cff57564397bfca32d225698099.tar.gz -p clickhouse
ls -la /nix/store/34l00jahlsdvnfbk2nx23308djgr6663-clickhouse-18.12.17

cc @orivej for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: clickhouse
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: clickhouse
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Update Default Subscription Filter Pattern

In order to catch timeout log messages the default log subscription filter pattern should be updated to the following:
?REPORT ?NR_LAMBDA_MONITORING ?"Task timed out"

It looks like the default subscription filter pattern is not a valid syntax. After running serverless deploy , I noticed the output below in the logs. This results in the subscription filter not being added.
Happy to open a new issue if that helps
Serverless: [AWS cloudwatchlogs 400 0.028s 0 retries] putSubscriptionFilter({
13:51:27    destinationArn: 'arn:aws:lambda:us-east-1:accountNumber:function:newrelic-log-ingestion',
13:51:27    filterName: 'NewRelicLogStreaming',
13:51:27    filterPattern: '?"?REPORT ?NR_LAMBDA_MONITORING ?"Task timed out""',
13:51:27    logGroupName: '/aws/lambda/my-lambda'
13:51:27  })
13:51:27  Serverless: Invalid subscription filter pattern
13:51:27  Serverless: Invoke aws:deploy:finalize
13:51:27  Serverless: [AWS s3 200 0.049s 0 retries] listObjectsV2({
13:51:27    Bucket: 'my-bucket',
13:51:27    Prefix: 'serverless/lambda/stage'
13:51:27  })


Possible checkpoint/recovery workflow

Note: The checkpoint options only appear when 'local render' is selected.  These options add the -checkpoint and -recover command line arguments to the string that launches the background render process.  Nothing is added to the .rib files (which is why the options are not there when 'Generate rib files only' is selected).  This made the most sense to me from a management standpoint.  Let me know what you think......

Only local renders?  have you had any thought on doing them on tractor?

You'd add it to the tractor job command.

I'm not familiar with Tractor so I hadn't looked at that.  I'll check it out!

I'll add it into the command line in the spool module.  I don't have Tractor though so I can't test it.....

Ok.  Main thing is to look at the command that comes out in the spool.alf
file.
On Tue, Jun 14, 2016 at 2:29 PM, Jon D<EMAIL_ADDRESS>wrote:

I'll add it into the command line in the spool module. I don't have
Tractor though so I can't test it.....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/282#issuecomment-226022140,
or mute the thread
https://github.com/notifications/unsubscribe/ABzffOdmB0-9G0bbk7DKylRSxXL2AhlAks5qLx1FgaJpZM4I1tJJ
.

--
<EMAIL_ADDRESS>508-274-8700

I put some code into the spool module but it looks only partially finished so it's anybody's guess on whether it will work.  It does work for local rendering (Lightyear and myself tested it out).  Recovery has some odd behavior though (you can only have one rib per command string), so I'm removing that checkbox.  If someone wants to use recovery, they'll have to render through the command line.

I looked over the spool module and I added in some code where I thought it was appropriate but the module isn't in a functional state so it doesn't output an .alf file that I can look at.....

I'm gonna close this one.  I'll add in the recovery option to Tractor/Localqueue spooling when I get some time.


Initial fragment not stored in the browser history

I clicked this link: https://govukpay-docs.cloudapps.digital/#contribute
Then I scrolled up and down, and the fragment in the URL changed.
I was expecting the back button to take me back to where I entered the docs, but the browser showed no page history.
I'm using Chrome Version 59.0.3071.115 (Official Build) (64-bit)
It seems like there is some code to handle this, but I didn't see anything obviously wrong with it https://github.com/alphagov/tech-docs-template/blob/master/template/source/javascripts/_modules/in-page-navigation.js#L43

Thanks for reporting 🙂
Our team is no longer working on this, but it might be useful to give some background:
We use replaceState rather than pushState when scrolling because otherwise scrolling through the document would add a huge number of history entries for every heading you scroll past.
If you click something in the navigation then that does push state, and clicking back would go back to where you were before you clicked the link.
I can see arguments either way but I think this is really 'working as designed'.

Based on what Ollie has said here it seems like we can close this, but if you have suggestions on how to change this please open a new issue on the tech docs gem repository.

No problem. I'm not a huge fan of this functionality (every time I share a link I manually delete the fragment) but agree it is working as designed.

@MatMoore I hope some of your frustrations will be resolved by fixing this: https://github.com/alphagov/tech-docs-gem/issues/145

Yes they will! I was just going to ask about that 😁


Restrict dacite

Dacite 1.8.0 breaks Strawberry. Specifically, fields with resolvers like Dataset.stages that result in a StrawberryAnnotation type in the parent __annotations__.
[2023-02-01 09:16:42 -0600] [57577] [INFO] Running on http://<IP_ADDRESS>:5151 (CTRL + C to quit)
unhashable type: 'StrawberryAnnotation'

GraphQL request:7:3
6 |   ...DatasetSavedViewsFragment
7 |   dataset(name: $name, view: $view, savedViewSlug: $savedViewSlug) {
  |   ^
8 |     stages(slug: $savedViewSlug)
Traceback (most recent call last):
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/graphql/execution/execute.py", line 528, in await_result
    return_type, field_nodes, info, path, await result
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/strawberry/schema/schema_converter.py", line 513, in _async_resolver
    return await await_maybe(_get_result(_source, strawberry_info, **kwargs))
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/strawberry/utils/await_maybe.py", line 12, in await_maybe
    return await value
  File "/Users/benjaminkane/code/teams/fiftyone-teams/fiftyone/server/query.py", line 252, in resolver
    return await serialize_dataset(
  File "/Users/benjaminkane/code/teams/fiftyone-teams/fiftyone/server/query.py", line 465, in serialize_dataset
    return await loop.run_in_executor(None, run)
  File<EMAIL_ADDRESS>line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/benjaminkane/code/teams/fiftyone-teams/fiftyone/server/query.py", line 431, in run
    data = from_dict(Dataset, doc, config=Config(check_types=False))
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 64, in from_dict
    value = _build_value(type_=field_type, data=field_data, config=config)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 95, in _build_value
    data = _build_value_for_union(union=type_, data=data, config=config)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 113, in _build_value_for_union
    return _build_value(type_=types[0], data=data, config=config)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 97, in _build_value
    data = _build_value_for_collection(collection=type_, data=data, config=config)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 154, in _build_value_for_collection
    return data_type(_build_value(type_=item_type, data=item, config=config) for item in data)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 154, in <genexpr>
    return data_type(_build_value(type_=item_type, data=item, config=config) for item in data)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 99, in _build_value
    data = from_dict(data_class=type_, data=data, config=config)
  File "/Users/benjaminkane/venvs/fo/lib/python3.10/site-packages/dacite/core.py", line 72, in from_dict
    value = get_default_value_for_field(field, field_type)
TypeError: unhashable type: 'StrawberryAnnotation'

import strawberry as gql
from dacite import from_dict

@gql.type
class Example:
    @gql.field
    def will_break(self) -> str:
        return "example"

from_dict(Example, {})

Note that I do not think this affects existing users as no release as of yet contains this type of dacite/strawberry interaction


expose Liveness and Readiness probes

Allow the user to configure their own Liveness and Readiness Probes in the Artemis CRD

fixed


Minor debug for Call Node event and Character event update pos

Fixes Call Node having an extra period before parentheses
Fixes Character Event update position needing space before inserting position int arg

tested and working on 1.5.1 to 2.0-Alpha 13 (Godot 4.2+)

Looks good to me, thanks!


Model Ballerina type descriptors in the syntax tree

Might be resolved with https://github.com/ballerina-platform/ballerina-lang/pull/22881?

Closing the issue, since this is added with  #22881


Performance slowdown in Non-AVX targets with default build options

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No custom code written.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 16.04.10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Not mobile. Slowdown seen on both windows PC and NI Linux Real Time OS
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 1.14-RC0
Python version: 3.5
Bazel version (if compiling from source): 0.25.2
GCC/Compiler version (if compiling from source): 4.7
CUDA/cuDNN version: NA. Not building with CUDA
GPU model and memory: NA

Describe the current behavior
The performance of TF 1.14-RC0 is more than 3 time slower compared to TF 1.8 binaries. We are using a standard SSD mobile net model for loading and running.
We used same build options for TF 1.8 and TF 1.14-RC0. So I believe there is some change in default build options that is affecting the performance on Non-AVX targets. (Please refer 'Steps Followed' for build options used)
Steps Followed
We are building with all default settings except with following changes:

we set 'march' optimization flag empty. we do not want to optimize for native system. (In 1.8, we did not set 'march' optimization flag)
we say NO to XLA JIT support.

We tried following command to build :

bazel build --config=opt //tensorflow:tensorflow
bazel build --config=opt --config=noaws --config=nogcp --config=nohdfs --config=noignite --config=nokafka --config=nonccl //tensorflow:tensorflow

In case someone else runs into this issue, I have found a way to correct the slowdowns introduced with 1.14. MKL-DNN was turned on by default in 1.14 which was causing slowdowns in non-AVX machines. Disabling it corrected the slowdowns for me.
"Turn on MKL-DNN contraction kernels by default. MKL-DNN dynamically dispatches the best kernel implementation based on CPU vector architecture. To disable them, build with --define=tensorflow_mkldnn_contraction_kernel=0."


xDS Interop Client Spec: Consider Cancelling In-Flight RPCs When Configuration Changes

Originally suggested here.
When xDS interop clients receive a Configure RPC that removes an entry from the list of methods, there are likely many in-flight RPCs for the method being disabled. While they will all finish eventually, since timeouts are applied to every RPC, they will also be reflected in the AccumulatedStats.
Some tests do the following:

Change methods with a Configure RPC
Get an AccumulatedStatsResponseas a "before snapshot"
Get an AccumulatedStatsResponseas an "after snapshot"
Use the delta between these two snapshots as an indicator of the outcome of step 1.

However, if the timeout is longer than the time taken between step 1 and step 2, the delta may actually include outcomes for RPCs from the previous configuration.
In practice, we have not seen this issue, either because existing tests are lenient or because we have gotten lucky in terms of timing.
One potential fix is for clients to cancel all in-flight RPCs when receiving a Configure RPC and not to complete the Configure RPC until all cancellations have finished.
CC @ejona86 @lidizheng @menghanl

For the Authz stuff, this shouldn't be a problem except if RPCs are delayed an exceptionally long time.
This would help, but it requires multithreading and care to implement correctly and I feel like we're tossing good money after bad in continuing to patch up the current xds interop client design.
The issue described here is only an issue because of the current design and piecemeal nature of us doing the bare minimum hacks to get something that "works." GetClientStats for example doesn't have the issue you mention (at least on paper; IIRC there may be a bug in Java), because it collects stats from the point it is called forward. The old RPCs don't have to be cancelled, we just need the stats to relate to new RPCs. But GetClientStats doesn't include status information. We could have enhanced GetClientStats for the authz test, but the existing AccumulatedStatsResponse worked with some trickery, so we did that instead. And that's all ignoring the fact that authz doesn't care about QPS at all; we just need a single RPC.
I think we should just design a new interop client approach instead. Like we were talking about before of a new method that instructs the client to "serially send X rpcs with configuration Y, and return the results for each." We'd have to define it, but it is easy and reliable to implement in the interop clients and would be much more direct in a large number of tests.


Add setting for how animated images are played

We should offer a personal setting for how images are animated in the web app.
Option details:

Placement: SETTINGS / PREFERENCES > Information , just below User list style.
Label: Play animated images
Options: Always, On hover [default], Only in image viewer

Setting details:

Always: legacy behavior
On hover: Show a play button in the middle of the thumbnail (same as we do on videos), but the button disappears on hover, and the GIF plays without having to click.
Only in image viewer: Thumbnails in the message feed never animate.

As usual, this setting should also be configurable in Default user settings.
We'll want to extend https://zulip.com/help/view-images-and-videos to document this setting; this can be a follow-up.
Other notes:

Ideally, this setting should cover GIFs and message feed emoji, in addition to uploads. These can be follow-ups.

API discussion
CZO design thread

I can take this up


Allow providing the context name when logging in

This should help in cases when you don't have an interactive terminal.

I feel this could lead to a frustrating situation :
If you had DRG_CONTEXT set in your environment and forgot about it and you use drg login then the login operation may fail if a context with that name already exist.

What we could do however is have drg context create <ctxId>. It would start the login workflow using the name provided.

I agree that would be confusing. Adding a second command, doing the same, but with a completely different command structure, would be confusing too I guess.
Maybe adding a new argument, solely for the use in login would be better.


Within_bounding_box: sw_corner and ne_corner

Can within_bounding_box be used with sw_corner and ne_corner coordinates? If yes, how? And if not, why?
Currently docs says:  bounding_box(center_point, distance). What kind of square will you get if you know only center_point and distance - only thing you get is circle.

@alexreisner thanks it worked for me (y)


Closed source

Why to use closed source?

We actually moved from a python version to a Desktop App. The source code of the desktop app is complex, and most developers won't be able to make changes to the Electron app, build it, and run it. So we decided to give the executable to the users only.
Let me know if you have any other questions I can help with!


TypeError: undefined is not a constructor (evaluating 'new _authService.default()')

This is the error I'm getting after integrating the RNVideoChat example, into my existing app !
It came with several other errors

Not really know where it's coming from or what is causing it !

import ConnectyCube from 'react-native-connectycube';

...

export default class AuthService {
  init = () => {
    ConnectyCube.init(...config);

    console.log(config);
    console.log(ConnectyCube)
  }

  ...

Modify your AuthService.init() to check logs.


op-bindings: add SuperchainConfig in artifacts and update bindings

add SuperchainConfig in artifacts
update bindings for SuperchainConfig

Thank you very much! 🙇🏻♂❤

Thanks for fast review. Let me merge after CI is passed


Issue with UK version of 'The Office'

If I name the files:
The Office (UK) - s01e01.mkv
if wants to rename to
The Office - s01e01 - Downsize.mkv
(fair enough)
However, next time I run tvnamer, it wants to rename the same file to:
The Office (US) - s01e01 - Pilot.mkv
It does this for all episodes in all seasons (including specials)

There's not much that can be done to fix this in general sense, as it's just TheTVDB's search returns the US series first (even if the search term is an 100% match to the non-US series) :shrug:
However you fix it in an ad-hoc manner by remapping "The Office" to the correct series ID, like so:
https://github.com/dbr/tvnamer/blob/2e1e969542d65c5cac2dad9b3cd20dce4f53b6a8/tests/test_series_replacement.py#L38-L43
You can find the appropriate series ID either in tvnamer's interactive prompt, or on TheTVDB website, e.g https://thetvdb.com/series/the-office "TheTVDB.com Series ID 78107"

Great, thanks. Will give that a try and report back.

That's perfect, works a treat. Thanks a lot for the assistance.


Removed deprecated features

Apphooks
cms_app will no longer be loaded, instead cms_apps is used
Toolbar
cms_toolbar will no longer be loaded, instead cms_toolbars is used
Removed Settings (and behaviors)
CMS_UNESCAPED_RENDER_MODEL_TAGS
CMS_HIDE_UNTRANSLATED
CMS_LANGUAGE_FALLBACK
CMS_LANGUAGE_CONF
CMS_SITE_LANGUAGES
CMS_FRONTEND_LANGUAGES

Coverage decreased (-6.3%) to 82.766% when pulling 849d325874197055da4df531e77f055c40cc0c2d on czpython:fixes/remove-deprecated-features into 046dc3e937b18a4f16526257320aa25a7a143754 on divio:develop.

Coverage decreased (-6.3%) to 82.766% when pulling 849d325874197055da4df531e77f055c40cc0c2d on czpython:fixes/remove-deprecated-features into 046dc3e937b18a4f16526257320aa25a7a143754 on divio:develop.

@czpython I'd document the way to implement the same behavior of CMS_UNESCAPED_RENDER_MODEL_TAGS (the current PR removes the information) by using the safe filter

@yakky Added the note for using safe filter. Mind having one more look?

LGTM

Coverage remained the same at 82.766% when pulling 527bd20c37fe1352a4d76698fac0651894c8fe82 on czpython:fixes/remove-deprecated-features into af21e0c352df6a07d98587c1e8a31f072a6a43e8 on divio:develop.

Coverage remained the same at 82.766% when pulling ca7bdc677c458356fa88fd6edd1575c90d1b2398 on czpython:fixes/remove-deprecated-features into af21e0c352df6a07d98587c1e8a31f072a6a43e8 on divio:develop.


Update of documentation in Vector implementation based in system module

Description
Hello guys!
I have been writing a simple game in SFML right now for my University Classes and I guess that I found a mistake in your documentation. When reading the example given in Vector2.hpp I tried to create a new Vector for my Player object and when I used notation
sf::Vector2f v1(1.2f, 3.4f)

It didn't work, so I tried to assign variables, like in normal vector, and finally, it compiled correctly.
sf::Vector2f v1 = { 1.2f, 3.5f }

If It is my mistake, I'm really sorry for wasting your time, but still in the learning process (as everyone I guess)
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

Thanks for your contribution, but before fixing the documentation, you should have asked (on the forum) why it didn't compile. Fixing something without understanding the reasons is not really a fix ;)
From the API documentation generated from the code, you can clearly see that such a constructor exists. So the construction as shown in the documentation should work.
https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Vector2.php#aed26a72164e59e8a4a0aeee2049568f1
Please do a proper report (error message, minimal code that triggers it, etc.) and then we'll see if there's something to fix, and what.


Extract bridgeMap into own package to improve testability

Right now, starting the router loads all bridges in gateway package, which means that we'll get import cycles if we're including this package in *_test.go for bridger tests. This addresses that in what seems like a clean way. When creating a new TestRouter, we can just pass in an isolated bridgeMap into NewRouter() with the only the bridge we're testing :)
Ready for review 🎉

Also changed package/file names a bit so that browsing file names was more self-explanatory (bmap seemed opaque)
Ready for review

This is ready for final review.


Feature Requests leads to nothing

Feature Requests in the CONTRIBUTING.md does not follow up to any section.
I think it should be removed for a better understanding.

Thanks for catching this, feel free to send a pull request. Otherwise, I'll take care of it next week.


light: use placeholder foreground for ansi white

in the light theme, the ansi whites are illegible on the default terminal background
(yes sadly some commands do stuff like that)
this change reuses the placeholder foreground color for the whites to fix that

output of esbuild --help
before:

and after:

hmm actually i think #CCCCCC has better contrast against other colors :thinking:

Thank you!


When esbuild is disabled, runJS runtime thrown source-mapped error column is off-by-one

There is a column difference of 1 depending on if esbuild is enabled:
test.only(
  "blah",
  withBrowser(
    { moduleServer: { esbuild: false } },
    async ({ utils }) => {
      await utils.runJS(`
        asdf()
      `);
      // asdf is not defined
    },
  ),
);

Update: I also tried @rollup/plugin-babel, and it works the same as having esbuild enabled. Having both disabled is off-by-one


Added date folder to S3

#23
This one should be merged with #26 because of the way we returned the URL is changed.

@mpatek #reviewmerge please.

@noppanit looks good. Just a couple of small things.

@mpatek Fixed thanks for the isoformat I didn't know about that before.

Thanks @noppanit


Update valetudo-mapper version

Which addon?
valetudo-mapper
Is your feature request related to a problem? Please describe.
I would like to be able to use auto-calibration, https://github.com/rand256/valetudo-mapper/pull/6#issue-1131203992
Describe the solution you'd like
Update the addon to use the most recent version of valetudo-mapper
Describe alternatives you've considered

Additional context

I'm not sure if it's official but we have here another version https://github.com/rand256/valetudo/issues/481

will be closed by e0271e926544b1bee671d2fe15a2da88e4f7f887


Prepare 5.0.0

This pull request is the companion to https://github.com/stylelint-scss/stylelint-config-standard-scss/pull/1
It:

brings this repo in line with changes coming in version 6 of stylelint-config-recommended
adds stylelint-scss and postcss-scss as dependencies, rather than peer dependencies
turns on rules in postcss-scss that check for possible errors

@kristerkari Can you look over the rules I've turned on, please?
Currently, they flag the following against the example SCSS I've put together:
__tests__/scss-valid.scss
  12:3  ✖  Expected !default flag for "$new-list"                    scss/dollar-variable-default
  13:3  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
  13:3  ✖  Expected !default flag for "$separator"                   scss/dollar-variable-default
  17:7  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
  17:7  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
  17:7  ✖  Expected !default flag for "$new-list"                    scss/dollar-variable-default
  17:7  ✖  Unexpected duplicate dollar variable $new-list            scss/no-duplicate-dollar-variables
  36:3  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
  36:3  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
  61:1  ✖  Expected !default flag for "$local-color"                 scss/dollar-variable-default
  62:1  ✖  Expected !default flag for "$fonts"                       scss/dollar-variable-default
  63:1  ✖  Expected !default flag for "$theme-colors"                scss/dollar-variable-default
  79:5  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
  79:5  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
 101:5  ✖  Expected a named parameter to be used in at-include call  scss/at-mixin-named-arguments
 101:5  ✖  Expected a named parameter to be used in at-include call  scss/at-mixin-named-arguments
 101:5  ✖  Expected a named parameter to be used in at-include call  scss/at-mixin-named-arguments
 110:5  ✖  Expected a named parameter to be used in at-include call  scss/at-mixin-named-arguments
 110:5  ✖  Expected a named parameter to be used in at-include call  scss/at-mixin-named-arguments
 110:5  ✖  Expected a named parameter to be used in at-include call  scss/at-mixin-named-arguments
 119:7  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
 119:7  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
 119:7  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
 142:5  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments
 142:5  ✖  Expected a named parameter to be used in function call    scss/at-function-named-arguments

Should this config encourage users to?:

use the !default flag
name their parameters for function and at-include calls

Or should we not turn those rules on?
It also looks like the scss/no-duplicate-dollar-variables rule is complaining about $new-list in:
@function remove-where($list, $condition) {
  $new-list: ();
  $separator: list.separator($list);

  @each $element in $list {
    @if not meta.call($condition, $element) {
      $new-list: list.append($new-list, $element, $separator: $separator);
    }
  }

  @return $new-list;
}

Is that a bug in the rule? If so, maybe we don't turn that one on just yet.

I've pushed a commit to remove the rules for now

(except maybe scss/no-duplicate-dollar-variables since duplication is probably user typo)

Yep, that seems a sensible one. It appears to have a bug, though, so we can add it back in once that is fixed.


Update windows-sys 0.59

I have noticed the issue #526 . What's the current conclusion? Should I bump the patch version or the minor version?

First have to figure out #526, but I'm not bumping the version for just updating windows-sys.

Not updating for now.


import/path: issue go.dev down

Go version
go.dev down
Output of go env in your module/workspace:
https://go.dev/doc/install
Ce site est inaccessible
go.dev n'autorise pas la connexion.
Voici quelques conseils :

Vérifier la connexion
Vérifier le proxy et le pare-feu
ERR_CONNECTION_REFUSED

What did you do?
I would like to access the official  site go.dev but the site is not accessible.
What did you see happen?
I would like to see it again
Good work!!!
What did you expect to see?
go.dev alive again

Related Issues and Documentation

go.dev is down #53227 (closed)
go.dev site not working  #54062 (closed)
go.dev is down #47918 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

That seems like an issue with your local network


Emitted TXs: add NetworkID too

If you look at an emitted TX:
random example:
https://xahauexplorer.com/explorer/6D7A29E3021A3B2425ADC5AF5221D94E7D704DCBD59535D9EEE86A646D3D6D43
... it doesn't contain NetworkID. It obviously doesn't have to but if tools are relying on transactions to have NetworkID to decide how to deal with them when parsing, it would be useful to include it in emitted TXs too.
Workaroudn for now is to decide the CTID and get the NetworkID from there.

Alternatively!!
... Serialised tx lacks network ID field: maybe just rely on CTID anyway and decide to ignore this issue :)

WIP https://github.com/lathanbritz/xahaud/tree/issue/259

WIP https://github.com/lathanbritz/xahaud/tree/issue/259

Interesting approach but I think it would be better to inject it directly into the actual serialized txn, otherwise you end up with serder issues (the serialized version differs from the deserialized version)


Feat/support projectmatrix and support better crossbuilding

This PR contains quite some changes but tries to minimize the impact for the user.
After working with multiple zio-repos I noticed the build and ci setups have quite some duplication (copy paste) but also quite some differences (diverging over time). With this PR I hope the projects can scrap a lot of their own boilerplate and reuse as much as is convenient from the plugins from zio-sbt.
There are multiple projects which are building JS, JVM and Native separately in CI, this PR now does that by default by including the platforms in the ci-matrix.
The
I added two new plugins: ZioSbtProjectPlugin and ZioSbtShared
ZioSbtShared contains banner and tasks utils. Easy helpers to show info to the user.
ZioSbtProjectPlugin sets a default javaPlatform to target when building artifacts by setting the -release flag.
The plugin also adds a banner to show what java and scala versions and platforms are being used in the project.
e.g.

Scala
2.12.x
2.13.15
3.3.4

JS
❌
✅
✅

JVM
❌
✅
✅

Native
❌
❌
✅

I have added multiple compile and test tasks:

Platform
Scala 2.12
Scala 2.13
Scala 3
All

JVM
compileJVM2_12
compileJVM2_13
compileJVM3
compileJVM

Scala.js
compileJS2_12
compileJS2_13
compileJS3
compileJS

Scala Native
compileNative2_12
compileNative2_13
compileNative3
compileNative

All
compile2_12
compile2_13
compile3
compile

Platform
Scala 2.12
Scala 2.13
Scala 3
All

JVM
testJVM2_12
testJVM2_13
testJVM3
testJVM

Scala.js
testJS2_12
testJS2_13
testJS3
testJS

Scala Native
testNative2_12
testNative2_13
testNative3
testNative

All
test2_12
test2_13
test3
test

When using sbt-projectmatrix the idea is to have all in the same build scope. You will see the welcome message showing tasks for all versions and platforms available. If a compile or test task is tried for a something which is not in the current context then it will be an empty task.
ZioSbtCiPlugin I extended here and there. Based on the platforms and scala versions it will now create a matrix for the ci jobs as default behaviour.
It is now also possible to set a java distribution via ciDefaultJavaDistribution.
Check the README.md for other changes.
note: this PR also contains migrations to zio-json, as I continued on my previous PR #438

What I would like to do is to create some draft PRs for other ZIO projects to show the results. Can someone publish some snapshots from this PR perhaps?

Hello @ThijsBroersen
Thank you for your interest in contributing to zio-sbt! We appreciate your efforts, but I would like to address a few concerns regarding your pull request (PR):

It would be helpful if you could submit a few smaller PRs instead of one large PR. Each smaller PR should focus on resolving a specific issue or adding a particular feature. This approach makes the review process easier.

Breaking the changes into smaller PRs will allow us to identify which changes may be breaking and which ones are not.

Currently, most projects within the zio ecosystem depend on this plugin. We want to ensure that all of them can migrate to the newer version smoothly. Do you have a plan to address this concern?

Thank you!

Hi @khajavi
1/2. Please specify what you want to break down. I know this PR includes the zio-json changes but I was waiting too long on responses on that PR and wanted to continue. Main is still broken and my zio-json branch is what I continued on. The zio-json changes duplicated the workflow models and I did not get any further replies on what direction to go.
I think it would be helpful to have a call and exchange some thoughts.. V4 of zio-sbt also made some breaking changes so perhaps changing some of the ScalaWorkflow api isn't that big of a problem. Having it close to the gha syntax makes it easier to work with.

As I stated, I worked with multiple zio-projects and all are using zio-sbt quite differently. Most are far from adopting it in full and need migrations of the existing tags anyway. I made multiple demo, draft PR's (base on artifacts published from my own fork) to show the changes and I am happy to turn them into real PR's and perhaps try to even migrate more projects.
I see a lot of duplicated boilerplate between the zio projects and with this PR I think we could remove a lot of that and push for more up-to-date projects.

Perhaps we should align in a call on the directions of this project. Ideas are always bouncing in my head but the PR interactions are just so slow...

1,2. Please specify what you want to break down. I know this PR includes the zio-json changes but I was waiting too long on responses on that PR and wanted to continue. Main is still broken and my zio-json branch is what I continued on. The zio-json changes duplicated the workflow models and I did not get any further replies on what direction to go.

Why did you close that PR? Would you like to start by migrating to zio-json PR?

3. As I stated, I worked with multiple zio-projects and all are using zio-sbt quite differently. Most are far from adopting it in full and need migrations of the existing tags anyway. I made multiple demo, draft PR's (base on artifacts published from my own fork) to show the changes and I am happy to turn them into real PR's and perhaps try to even migrate more projects.
I see a lot of duplicated boilerplate between the zio projects and with this PR I think we could remove a lot of that and push for more up-to-date projects.

There is no issue with broken changes, which is why we are conducting alpha releases. However, we must ensure that all projects can eventually migrate to the new version. The way you utilized those snapshots can indicate whether we are on the right path or not.

Perhaps we should align in a call on the directions of this project. Ideas are always bouncing in my head but the PR interactions are just so slow...

No problem! We can schedule a call to discuss the program and its future direction. ZIO SBt requires more contributors, and I'm glad you are interested in it.

Why did you close that PR? Would you like to start by migrating to zio-json PR?

Because I was making quite some more changes and didn't want to pain to keep working and rebasing between two branches. And to prevent it from getting out of sync with changes from this PR and being merged.
At the current state of this PR I think I can extract the zio-json changes into a separate PR, but I will have to squash and rebase this PR onto it.
It would help if we can first make a choice between the ScalaWorkflow models.


Update technical spec link and title on home page

Requested by Jen Lambourne.

I don't know what you mean @chr1sdi ;-)

master of time ;)
👍


Windows instructions don't work for non-admin accounts

Node Version: node 8.9.1, npm 5.5.1

Platform: Windows 7

Module: node-sass
Downloaded python-2.7.13.msi. Saved to C:\Users\MB.windows-build-tools\python-2.7.13.msi.
Starting installation...
Please restart this script from an administrative PowerShell!
The build tools cannot be installed without administrative rights.
To fix, right-click on PowerShell and run "as Administrator".
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: node ./lib/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Why is it trying to install Python when Python is already installed and in my path?

You should ask the maintainers of the windows-build-tools package.


Data Process and Evaluation Code

Thanks for your excellent work. I also want to know how to process data that has reached the input format required by the model.
In addition, the evaluation code of NMI, MOF, IOU, F1, BS@k was also not found.
It would be very nice if you could provide those information~

Hi,
Thank you for your interest in our work. I will release them by the end of this month since I am a bit busy right now because of a few deadlines.

Thank you for the update. I understand that you have a busy schedule with upcoming deadlines. Regarding your question about how the data is processed, could you please provide more specific information?

Hi, I have updated the readme with the necessary instructions to train and evaluate the model. Please check it. I am having issues with SharePoint, so I am not able to upload the pre-extracted features (they are around 11 GB) and model checkpoints. I will upload them soon and update here.


Transaction TestCase does not have the helper functions found in TestCase

Environment

Python version: 3.8
Nautobot version: 1.3.4

Steps to Reproduce

Create a test that uses TransactionTestCase
Try to call self.add_permissions("dcim.add_manufacturer") in that test.

Expected Behavior
The Test will add the permission that was requested to be used during testing.

Observed Behavior
TransactionTestCase does not contain the method add_permissions.

Closed in #1954


WIP: Fix env for 07_Geographic_Data.ipynb

If poppler's installed, version 0.65.1 (at least) causes a problem for fiona on linux and mac (linux: https://travis-ci.org/pyviz/pyviz/jobs/383650789#L2372).
Not sure what is pulling in poppler, but it's installed if you create the env or install the current released conda package.
poppler doesn't exist for windows.
In the conda recipe I've pinned poppler to the last known compatible version (but not on windows).
For the environment, on the other hand, I don't know another solution except having a separate environment file. If we go with this, would need to update any installation instructions that mention it.

[x] Once figured out, also update conda recipe
[ ] test the updated conda recipe and package
[ ] update installation instructions if necessary

That's a nightmare!  Can we just force poppler to be removed after the envt is built, then separately figure out how to remove it from our indirect dependencies?

Fixing the environment on master is lower priority than fixing the conda package. So, I've removed the updated environment file from this PR (opening #59 to track), and here have just fixed the version of poppler on travis with a command after creating the environment.

@jbednar, ready to merge from my point of view

Although this works fine on linux and mac, it doesn't work on windows (where poppler does not exist). I think I tracked the issue down to https://github.com/conda/conda/issues/7344; will wait to see the outcome of that issue. I still think this PR could be merged to fix master.
Fixing the existing pyviz package for windows could be done in a number of ways, unrelated to this PR. The easiest way from our point of view would be to tell people to install pyviz >= 0.9.7-1. The easiest way for users would be if we were to upload 0.9.7-2 without run_constrained, and then upload 0.9.7-3 with run_constrained. Mac and linux users would then get 0.9.7-3 and the right version of poppler, while windows users would get 0.9.7-2 (no poppler).
The alternative is to fix the incompatibility between fiona and poppler, then get new c-f packages, then new packages on defaults. I'll at least report the problem, anyway, once I figure out where to do that.

I've also filed https://github.com/AnacondaRecipes/aggregate/issues/60.

The easiest way for users would be if we were to upload 0.9.7-2 without run_constrained, and then upload 0.9.7-3 with run_constrained.

I've uploaded those package, and tested on mac, linux, and windows. win gets build 2, while linux and mac get build 3.

Can this be closed?  I didn't have any problems with notebook 07 today.


running inference with acoustic model [question]

Hello! Thank you for this repository. I have a question, regarding inference input parameters.
I want to run text+f0 to song engine. I trained the acoustic model, but looks like it still wants phoneme durations. So, is it correct that I cannot run inference for this version of diffsinger without gt phoneme durations for any input as in original repo (and this way diffsinger is more like voice conversion?)
thank you

You will need a G2P module/dictionary to convert text to phonemes and a duration predictor to get their durations, no matter what version of DiffSinger you are using. The original DiffSinger has a integrated Chinese G2P module and a duration predictor bounded to the acoustic model. In this repository you need to train a duration predictor in the variance model.

@yqzhishen thank you so much for a quick and informative responses! I am sorry but do you have any documentation how to prepare/train variance model from scratch? I found migration documentation only in variance folder

Prepare an acoustic dataset and extend it to a variance dataset - this is the standard workflow.
See the MakeDiffSinger repository for useful scripts and introductions.

thank you!


new ap_ssl_bind_outgoing for multi ssl support in proxy connections

merge of r1890605 from apache svn:
*) core/mod_proxy/mod_ssl:
Adding outgoing flag to conn_rec, indicating a connection is
initiated by the server to somewhere, in contrast to incoming
connections from clients.
Adding 'ap_ssl_bind_outgoing()function that marks a connection      as outgoing and is used by mod_proxy instead of the previous      optional functionssl_engine_set. This enables other SSL      module to secure proxy connections.      The optional functions ssl_engine_set, ssl_engine_disableand     ssl_proxy_enableare now provided by the core to have backward      compatibility with non-httpd modules that might use them. mod_ssl      itself no longer registers these functions, but keeps them in its      header for backward compatibility.      The core provided optional function wrap any registered function      like it was done forssl_is_ssl`.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1890605 13f79535-47bb-0310-9956-ffa450edef68

merged.


Sanitize input

refs #418
We shouldnt be getting errors, so we need to handle them
This doesnt solve #418


Fixed readme composer usage

Thank you for creating the package, here's my small contribution.
$ composer install phpwatch/simple-container
Invalid argument phpwatch/simple-container. Use "composer require phpwatch/simple-container" instead to add packages to your composer.
json.

I'm so sorry this took forever to review/merge. Fixed now. Thank you.


Image resizing in lightbox on click

Expected behavior:

As the user, I should be able to click the image, trigger the lightbox to make the image bigger, and the image should load once and keep the same proportions in the lightbox.

Actual behavior:

As the user, I click the image, trigger the lightbox to make the image bigger, and the image that loads is vertically condensed, then the image reloads and adjusts itself to the correct proportions.

++ I'm not sure if this is an actual component issue or implementation on Amp by example issue....++
Link: https://ampbyexample.com/components/amp-image-lightbox/
FYI @sebastianbenz @aghassemi @ericlindley-g

Thanks for reporting. This is a component bug. Moved it to https://github.com/ampproject/amphtml/issues/4716, please subscribe to that issue for updates.

Closing this as it is tracked in another component.


ADD Show diff between the expected output and the actual output in the autograder

Is your feature request related to a problem? Please describe.
The autograder integrated for the students only shows the expected output and the student output in plain text. This is not informative enough and requires extra work for students to compute the diff manually (especially when it's subtle).
Describe the solution you'd like
The outputs should be kept in a separate text box, with the diff shown. react-diff-view is a good candidate package for implementing this feature.

This is a really great idea, thank you for suggesting it. Would you like to tackle this yourself, or have someone from the Anubis team work on it?
We are in the middle of a full UI redesign at the moment, so we'll need to see when it makes sense to add this. @nysteo would you be able to fix this into your UI redesign.


Can't use auto when defining lambda function callbacks for methods like Node::Advertise

As the title states, when trying to call a method like Advertise with a lambda function callback to create a service, the lambda function must be created before the Advertise method, and must also be fully defined - if the lambda function is created using type auto, then compilation fails when passing this lambda function into the Advertise method. An example can be found here.

I believe that this is the reason why we must fully define the lambda function before calling Advertise: https://stackoverflow.com/a/13359347
Taking a look at EntityComponentManager::Each in ign-gazebo, I notice that an identity is used there, which might be why this issue of pre-defining a lambda function doesn't exist when calling EntityComponentManager::Each (I don't see an identity being used for Node::Advertise).


Question about data vis libs

Why do you have two different data visualization libraries?

Bokeh handles the Python side of the code and serves as an API wrapper for the vis.js library side of the code. This way I query the data directly into the javascript from Python. The best (and only) example of this is in the overall community analysis view:
https://github.com/ByrdOfAFeather/AlphaTrion/blob/master/Community/views/data_analysis.py


Storybook: Remove Json objects as knobs

When clicking "Open canvas in new tab", the component/pattern currently resets to the default state  - i.e. no knobs turned on. Explore adding functionality to Storybook that would retain the current state of knobs when opening a component/pattern into a new window.
Additional information

Identify stories that are passing large Json objects and break them down into more manageable knobs

This will be an engineering Huddle topics to create the additional stores to do the work.

Duplicate epic: https://github.com/carbon-design-system/ibm-dotcom-library/issues/2955


firebase admin - TypeError: process.off is not a function

OS: 10.14.4
ncc: 0.18.1
firebase-admin: Firebase Admin Node.js SDK v7.3.0
ncc still does not quite finish working well with firebase-admin. I manage to connect with my db but ncc returns an error once I run ncc run xxx.js
TypeError: process.off is not a function
    at ChildProcess.exit (evalmachine.<anonymous>:1:33251)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

Steps to reproduce 🐛
git clone https://github.com/MAPESO/ncc-bug-firebase
cd ncc-bug-firebase
yarn install  # dependency installation
ncc run index.js   # note the error output

When I run this case I get the following error:
ERROR in ./index.js 4:23-58
Module not found: Error: Can't resolve './serviceAccountKey.json' in '/home/guybedford/Projects/ncc/ncc-bug-firebase'

    at compiler.close.n (evalmachine.<anonymous>:3:1350237)
    at _promise0.then._result0 (eval at create (evalmachine.<anonymous>:1:349386), <anonymous>:13:1)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Do I need to create a Firebase account and configure it?

@MAPESO is this issue resolved?


Multi cores

Hi!
Can you create a multi-core version for this node app?
I'm beginner in node and i want to run this app on my dedicated server with 8 cores.
Thanks !

You can assign port via PORT environmental variable, use pm2 to start and manage multiple processes, then use nginx to route requests.
Its not needed though, unless you expect massive traffic.
Currently on api.iconify.design I'm getting over 30 million requests per month. Its handled by 7 small servers (distributed among different datacenters in different parts of world, then using latency routing to direct visitors to closest server for lowest possible latency, also hidden behind Cloudflare to provide SSL support), one process on each server. It handles that traffic without any issues and can handle much more.

As i know, node app run on single core.
You want to say it's ok to run only one instance (1 core) ?
I don't understand exactly how to manage multiple processes.
Thanks!

Yes, its ok to run only one instance. All data is in memory, so API handles requests in just few milliseconds. It is very fast.
To manage multiple processes you can use pm2. Its a really good easy to use tool.
If you do spawn multiple processes, use nginx to load balance them. If not, use nginx anyway to handle SSL stuff. There are various tutorials online for using nginx as load balancer or as proxy for node.js applications.

Related to this question.
It is enough 1gb RAM for approx. 500-1000 requests/day ?
Thanks !

Yes, its more than enough. That's actually exactly how much RAM is currently used on api.iconify.design servers.


Sceneform shared camera access with openCV

How do I realise a shared switchable camera access with sceneform+arCore and camera2-api?

Did you ever figure this out?


captive portal: pruning cron jobs

stale jobs are probably not removed when the captive portal is removed or renamed?
via: https://forum.opnsense.org/index.php?topic=1400.0

old code gone


Don’t leave rustup.sh behind or install an unused toolchain

This script would let rustup default to installing a stable toolchain, then install a different one if needed. Instead it now tells the bootstrap script which toolchain to install in the first place

Piping curl to sh avoids leaving a rustup.sh file behind. This could disturb some tools, for example cargo publish fails with:

to proceed despite this and include the uncommitted changes, pass the --allow-dirty flag

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/rust?version=1.6.1


Config/Q for NPM Deps

Make a question re: setting up package.json (and running npm install) in base app generator. Save the config'd option to .yo-rc.json.

Closing, as now duplicate of #45, which incorporated this.


Cannot read property 'split' of undefined

Your Environment

Cordova CLI: 6.5.0
Ionic Framework Version: 3.2.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.7
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.13
Node Version: v6.6.0
Xcode version: Not installed

Context
Background service is not starting
Debug logs
HomePage.html:16 ERROR TypeError: Cannot read property 'split' of undefined
    at file:///android_asset/www/build/main.js:41923:75
    at Array.forEach (native)
    at file:///android_asset/www/build/main.js:41923:20
    at Map.forEach (native)
    at Headers.toJSON (file:///android_asset/www/build/main.js:41921:23)
    at JSON.stringify (<anonymous>)
    at androidExec (file:///android_asset/www/cordova.js:962:25)
    at Object.configure (file:///android_asset/www/plugins/cordova-plugin-mauron85-background-geolocation/www/backgroundGeolocation.js:39:9)
    at callCordovaPlugin (file:///android_asset/www/build/main.js:66865:43)
    at Observable._subscribe (file:///android_asset/www/build/main.js:66907:28)

##My plugin code
	startTracking(vehicleId) {

	  // Background Tracking

		const config: BackgroundGeolocationConfig = {
						locationProvider:1,
			            desiredAccuracy: 10,
			            stationaryRadius: 10,
			            distanceFilter: 10,
			            interval:20000,
			            fastestInterval:20000,
			            activitiesInterval:10000,
			            debug: true, //  enable this hear sounds for background-geolocation life-cycle.
			            stopOnTerminate: false, // enable this to clear background location settings when the app terminates
					 	url: API_URL+'vehicles/'+vehicleId+'/location',
					    httpHeaders: this.auth.getHeaders(),
					    syncUrl:API_URL+'vehicles/'+vehicleId+'/location',
					    maxLocations: 200,
					    notificationTitle: 'CarPool Tracking',
					    notificationText: 'Enabled',
					    notificationIconColor: '#FEDD1E'
			    };

			this.backgroundGeolocation.configure(config)
			  .subscribe((location: BackgroundGeolocationResponse) => {

		    	this.backgroundGeolocation.finish(); // FOR IOS ONLY

		  	});

		  // Background Tracking

		  	this.backgroundGeolocation.start();
	}

I guess this ionic related. As in original plugin there is split method defined. Line #39 is https://github.com/mauron85/cordova-plugin-background-geolocation/blob/master/www/backgroundGeolocation.js#L25

What version of plugin are you using. And where from it was installed. Was it npm - https://www.npmjs.com/package/cordova-plugin-mauron85-background-geolocation ?

I am using 2.2.5
cordova-plugin-mauron85-background-geolocation 2.2.5 "CDVBackgroundGeolocation"
I installed like this
$ ionic  plugin add cordova-plugin-mauron85-background-geolocation
$ npm install --save @ionic-native/background-geolocation

Ok. I guess the error is from here https://github.com/ionic-team/ionic-native/blob/master/src/%40ionic-native/plugins/background-geolocation/index.ts#L372. In other words from ionic wrapper of this plugin. Not sure if I can help.

Also try remove httpHeaders: this.auth.getHeaders() from your configure. As this is black box for me and might be cause of your issue too. And pls report.

Hi,
I attached content   from file:///android_asset/www/build/main.js related to this plugin
bg-gelocation-file.txt
I will test about httpHeaders and let you know. Anyhow My headers are like below

     this.contentHeaders = new Headers();
     this.contentHeaders.set('Accept', 'application/json');
     this.contentHeaders.set('Content-Type', 'application/json');

The fragment you attached is useless for debugging, it doesn't have original line numbers. And relevant part is also missing. Anyway my guest would be you're configuring with invalid http headers. If not, post fragment with lines preserved, so I can take look on these line:
line 41921: Headers.toJSON (file:///android_asset/www/build/main.js:41921:23)
line 41923: file:///android_asset/www/build/main.js:41923:75
line:66865:  at callCordovaPlugin (file:///android_asset/www/build/main.js:66865:43)
line:66907: at Observable._subscribe (file:///android_asset/www/build/main.js:66907:28)

  Headers.prototype.toJSON = function () {
        var _this = this;
        var /** @type {?} */ serialized = {};
        this._headers.forEach(function (values, name) {
            var /** @type {?} */ split = [];
            values.forEach(function (v) { return split.push.apply(split, v.split(',')); });
            serialized[((_this._normalizedNames.get(name)))] = split;
        });
        return serialized;
    };

function callCordovaPlugin(pluginObj, methodName, args, opts, resolve, reject) {
    if (opts === void 0) { opts = {}; }
    // Try to figure out where the success/error callbacks need to be bound
    // to our promise resolve/reject handlers.
    args = setIndex(args, opts, resolve, reject);
    var availabilityCheck = checkAvailability(pluginObj, methodName);
    if (availabilityCheck === true) {
        var pluginInstance = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__util__["b" /* getPlugin */])(pluginObj.constructor.getPluginRef());
        return pluginInstance[methodName].apply(pluginInstance, args);
    }
    else {
        return availabilityCheck;
    }
}

function wrapObservable(pluginObj, methodName, args, opts) {
    if (opts === void 0) { opts = {}; }
    return new __WEBPACK_IMPORTED_MODULE_2_rxjs_Observable__["Observable"](function (observer) {
        var pluginResult = callCordovaPlugin(pluginObj, methodName, args, opts, observer.next.bind(observer), observer.error.bind(observer));
        if (pluginResult && pluginResult.error) {
            observer.error(pluginResult.error);
            observer.complete();
        }
        return function () {
            try {
                if (opts.clearFunction) {
                    if (opts.clearWithArgs) {
                        return callCordovaPlugin(pluginObj, opts.clearFunction, args, opts, observer.next.bind(observer), observer.error.bind(observer));
                    }
                    return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__util__["e" /* get */])(window, pluginObj.constructor.getPluginRef())[opts.clearFunction].call(pluginObj, pluginResult);
                }
            }
            catch (e) {
                console.warn('Unable to clear the previous observable watch for', pluginObj.constructor.getPluginName(), methodName);
                console.error(e);
            }
        };
    });
}

It worked after commenting the httpHeaders

@mauron85 : Did you find a way to expose this option to get status of background process. I am using this plugin in 5 application. all the clients want this option. So it's really good if you able update this.

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


processes don't quit on quit?

to reproduce:

Install nodev locally
Run nodev via an npm script
send "command + c" to quit
press the up arrow

At step 4 I'm seeing a lot of garbage in the console and need to send the quit signal again to get rid of it.

@at0g Thanks for the report.

Could you please describe use case when you need to install nodev locally. It is actually meant to be installed globally (that would also allow you to have it in your $PATH).

Can you please give some environment details? Last tested with 0.12 I think, and wasn't really tested with recent releases.

Hi @akamensky
Use cases for local install:

node versions: local packages work much better when using different node versions per project, I use nvm for this and no longer have a system/global node to install to
dependencies: using a local version means I can add the file to devDependencies in package.json

As for my environment, this issue popped up in node v6.1.0 - I haven't tried reproducing it in any 0.x releases.


Drawable interface

Convert Drawable to an interface that the renderer can use to generate draw commands.
Detaching the Drawable from being used directly should allow us to use different sources more easily, examples include:

Particles
Skeletal meshes
CSG / SDF shapes

The new interface should support:

Generating multiple commands for a single input
Allocating & filling separate storage/uniform buffers
Control (disable) batching

Please add your planning poker estimate with Zenhub @Kryptos-FR

We have IDrawable and  IDrawableProcessor now.


Incontrol Bugginess

Whenever I tried to spawn mobs using incontrol I need to blacklist them from turning into babies so incontrol can consistently spawn them in.

In 1.12.2-<IP_ADDRESS>, there is an option to change the blacklist into a whitelist.


Cleaning up FStar/examples so that they all build cleanly into .checked files

We have been accumulating lots of code in examples, but there were two problems

each sub directory was build separately, not necessarily producing .checked files etc.

many directories contained examples that were old, no longer maintained etc., but these were intermingled with the other files.

This PR cleans up the the examples directory, with the following main changes:

I changed the behavior of fstar --dep so that if it is called with an empty list of F* files on the command line, it will scan the all the directories in the include path (without nesting) for all their F* files and then proceed to build a dependence graph over them.

We have a revised examples/Makefile which scans a given list of directories for all F* files, builds a dependence graph for them, and then builds all of them into examples/_cache/*.checked. There are a few special cases of examples that don't fit this pattern that are documented at the top of that Makefile.

I moved many examples that were no longer maintained but that could perhaps some day be restored into old/. For a few other examples that didn't meet this bar, I just removed them.

I moved examples/extraction to tests and examples/error-reporting/Test1.fst was folded into tests/error-messages

Some other points to note.
DM4F
The DM4F directory (with examples from Dijkstra Monads for Free) had been dropped from CI. I restored most of these examples and added them back, but there are a couple of regressions to note---we already report a deprecation warning on DM4F effect definitions, so I am just noting these points rather than trying to fix them now.

At one point, using reify/reflect, it used to be possible to enrich the type of an effectful function with its own reification, i.e., f : (x:t -> ST t' p q) could be turned via refine_st f into x:t -> ST t p (fun h0 x h1 -> q h0 x h1 /\ x,h1 == reify f h0). This no longer works and I had to assume refine_st to continue some of the examples.

Using effect templates with DM4F and .checked files leads to universe errors---so, I had to replace the instantiations of FStar.DM4F.ST.STATE_h h.

Projections of actions from DM4F effects across checked file boundaries fails, i.e., you cannot write STATE?.get and instead have to use an alias for it.

heads-up @gebner


enhanced_exp_adata is empty

Hello!
After processing with tesla.imputation, the expression matrix in the generated enhanced_exp_adata contains NaN values. However, my original counts has an expression matrix. Why is this happening? Additionally, the gene indices generated are incorrect. After resetting them, although the indices are correct, the gene expression values are empty, which causes the plots to be empty as well. How can I resolve this?

how to achieve the enhanced image


Unexpected splat entry when format.splat is not applied

Please tell us about your environment:

winston version?

<EMAIL_ADDRESS>

node -v outputs:

v9.10.1

Operating System? (Windows, macOS, or Linux)

macOS

Language? (all | TypeScript X.X | ES6/7 | ES5 | Dart)

ES6/7

What is the problem?

const logger = require('winston').createLogger();
logger.info('Hello', { label: 'world' });
logger.info('Hello %d', { label: 'world' });

Output:
{"level":"info","message":"Hello","label":"world"}
{"level":"info","message":"Hello %d","splat":[{"label":"world"}]}

What do you expect to happen instead?

According to https://github.com/winstonjs/winston , splat feature is only enabled when winston.format.splat() is applied.
Therefore, I expect the above example should both output in the same structure {label,level,message}, but the second turn label into splat.
Other information

None

This was not fixed in https://github.com/winstonjs/triple-beam/pull/4

Resolved in https://github.com/winstonjs/logform/pull/38 and https://github.com/winstonjs/winston/pull/1356

Good catch @rjunior-admatic. Would you mind opening a new issue for this so we can track it?

Done! Here it is: #1358