Update SceneManager.js

Fix typo on remove
Added hasOwnProperty control to sceneConfig.extend
Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Updates the Documentation
Adds a new feature
Fixes a bug

Describe the changes below:

Hey again @photonstorm,
I fixed the issues on lint :)

Hiya - thanks for updating your PR. I don't really understand why it wanted to change every single line! (I can only assume it was swapping spaces for tabs or something?) - having looked at it, the correct fix wasn't to change the code, it was to change the jsdoc block to make it match those in the rest of the class :) I have implemented your hasOwnProperty check though, and credit you for it in the Change Log.


chore: release

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#101 👈
main

This comment was automatically generated by st.


[AMORO-1744] Rename name with arctic identifier in amoro-mixed-format-trino module

Why are the changes needed?

As titiled
Brief change log

Change the name of classes with the arctic identifier.
Change the name of variables and methods with the arctic identifier.
Change the comments with the arctic identifier.
Change related documentation.

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Codecov Report
Attention: Patch coverage is 74.80315% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 35.95%. Comparing base (a9a624f) to head (9804243).
Report is 6 commits behind head on master.

Files
Patch %
Lines

...ro/trino/MixedFormatCatalogSupportTableSuffix.java
33.33%
10 Missing :warning:

...ache/amoro/trino/keyed/KeyedConnectorMetadata.java
70.00%
4 Missing and 2 partials :warning:

...rg/apache/amoro/trino/MixedFormatTrinoCatalog.java
44.44%
5 Missing :warning:

...in/java/org/apache/amoro/trino/AmoroErrorCode.java
0.00%
3 Missing :warning:

...ache/amoro/trino/MixedFormatConnectorMetadata.java
62.50%
3 Missing :warning:

...he/amoro/trino/keyed/KeyedConnectorPageSource.java
66.66%
1 Missing and 1 partial :warning:

.../amoro/trino/keyed/KeyedConnectorSplitManager.java
77.77%
0 Missing and 2 partials :warning:

.../amoro/trino/DefaultMixedFormatCatalogFactory.java
87.50%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2838      +/-   ##
============================================
- Coverage     35.96%   35.95%   -0.01%
+ Complexity      386      383       -3
============================================
  Files            46       45       -1
  Lines          4708     4700       -8
  Branches        513      513
============================================
- Hits           1693     1690       -3
+ Misses         2847     2842       -5
  Partials        168      168

Flag
Coverage Δ

trino
35.95% <74.80%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks for the review, @HuangFru


Upgrade most aux crates to cortex-m 0.6.3

This should fix issue #259 in all chapters except 11 and 16.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @therealprof (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

I know that it would be better to fix #259 for all chapters but it seems like there might be a longer discussion involved there so I thought this would be a decent stopgap until then. 😊

Sorry, I meant to not upgrade chapter 16, but I accidentally did. I think that failed the build.

@therealprof could you take another look at this? It looks like the bors check hasn't run; could it be stuck or do I need to take some action?

bors try


template code

[x] replace 01-r_script.r with a markdown template, or possibly include both by having a template that calls this helper R script.
[x] include here and functions to set up directory paths.
[x] include starter rmarkdown variables / setup
[x] create a python jupyter notebook version of the same

Preliminary work done in commit 8209ab8 - soliciting comments.

Good start!
Let's strip out the default content, as I just did in 028ffb4ab75d5addf3e27b55e32c2ec041b628a8 and add in creation of the main here() paths in both the .rmd and .ipynb ?
Is there a more foolproof option for a jupyter notebook to write environment info as the notebook is run, without requiring folks to remember to run something afterward?

@doabell -- over the next week, can we:

[ ] include all the other markdown code for an analysis plan into the python notebook template
[ ] add use of the citation function in R to create a .bib file of citations for all the packages used? This could probably be saved in the compendium root as something like software.bib
[ ] if there is any analogous function in python to create a bib file based on packages, let's implement that!

@doabell : I'm curious what you think about having a separate environment set-up script / instruction file for python, which would install pipenv, pigar, and pyhere and contain the instructions for cleaning the environment.txt file?
Then the computational environment section of the python notebook would contain the normally-skipped code to 1) install packages using environment.txt and 2) generate the environment.txt, as well as code that will always be run to load packages and set pyhere paths analogous to the R here paths in the rmd template.
Separating these initial installs would declutter the notebook from the one-time tasks of setting up the basic python environment. However, would dividing it up like this make it any more difficult to use services like Binder?
If we split into two, it'd be:
00-Python-environment-setup.py   (easier as script or as notebook?)
01-Jupyter_notebook.ipynb

@josephholler Sure, that does indeed makes more sense
00-Python-environment-setup.ipynb would still be a notebook, perhaps with "record" and "install" chunks.

Ok, you can try doing it. I think the record step still needs to be in the main 01-Jupyter_notebook.ipynb notebook, because that is where the packages will be loaded. Also, the package loading makes sense in the main notebook as part of the documentation of the computational environment.

Seems like notebook metadata may not be straightforward... we can pause that thought and the related heading levels.

Done, until there's a neat package for generating a .bib file for python packages used in a compendium.


PR: Fix autocompletion when restarting plugin_clients

Fixes #4410

The main problem is caused when the completion petitions get a timeout after a change of an extra path (that needs a restart of the PluginManager). This PR tries to detect this behavior and restart the three PluginClients that handle the completions.

@dalthviz, please merge with 3.x to solve merge conflicts.

Your fix does not work for me.
I just replaced the 4 files with your new versions in C:...\Continuum\Anaconda3\pkgs\spyder-3.2.0-py36_0\Lib\site-packages\spyder...
I also deleted the respective pycache folders.
While spyder is still running the pycache does not reappear.
Please let me know if I'm doing something wrong - I'm not very experienced with this.

this fix does not work for me
Linuxmint 18.1    Miniconda3   Python3.6
IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  0.26 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
psutil >=0.3     :  5.2.2 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.6.2 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

@yiyisan, @laikh, could you describe in detail how you are testing this PR?

@ccordoba12  just replace those four changes files  and restart spyder

But are you using projects or not?
Also, how many times do you try to get completions using the Tab or Ctrl+Space keys?

@ccordoba12  not using any project  and tried  many times ,but IPython console was fixed (didn't work before replace those 4 files)

@laikh @yiyisan thanks for testing, could you try to test again?

Worked for me with: Win7 x64, Anaconda 3.6.1
Tested with and without a Project open and worked each way.

@dalthviz   when i continue to  press “Tab”,raise errors
>>> Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    self.plugin[name] = PluginClient(name, self.executable,
AttributeError: 'PluginManager' object has no attribute 'plugin'
self.plugin[name] = PluginClient(name, self.executable,
AttributeError: 'PluginManager' object has no attribute 'plugin'
self.plugin[name] = PluginClient(name, self.executable,
AttributeError: 'PluginManager' object has no attribute 'plugin'
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/introspection/manager.py", line 93, in errored_plugin
    extra_path=self.extra_path)
AttributeError: 'PluginManager' object has no attribute 'plugin'
    extra_path=self.extra_path)
AttributeError    : 'PluginManager' object has no attribute 'plugin'

@yiyisan could you try again? Also, thanks for all the help testing this 👍

@dalthviz  the AttributeError fixed,but autocompletion bug isn't fixed
here is my all miniconda enviroment:
# packages in environment at /home/shanjie/miniconda3:
#
alabaster                 0.7.10                   py36_0
arrow                     0.10.0                    <pip>
asn1crypto                0.22.0                   py36_0
astroid                   1.4.9                    py36_0
attrs                     17.2.0                    <pip>
babel                     2.4.0                    py36_0
backports.csv             1.0.5                     <pip>
beautifulsoup4            4.6.0                    py36_0
bkcharts                  0.2                      py36_0
bleach                    1.5.0                    py36_0
bokeh                     0.12.6                   py36_0
cairo                     1.14.8                        0
certifi                   2016.2.28                py36_0
cffi                      1.10.0                   py36_0
chardet                   3.0.4                    py36_0
cli-helpers               0.2.2                     <pip>
click                     6.7                       <pip>
colorama                  0.3.9                     <pip>
conda                     4.3.23                   py36_0
conda-env                 2.6.0                         0
configobj                 5.0.6                     <pip>
cryptography              1.8.1                    py36_0
cycler                    0.10.0                   py36_0
cython                    0.26                     py36_0
dbus                      1.10.20                       0
decorator                 4.1.2                    py36_0
Django                    1.11.4                    <pip>
docutils                  0.13.1                   py36_0
eli5                      0.7                       <pip>
entrypoints               0.2.3                    py36_0
enum34                    1.1.6                     <pip>
et_xmlfile                1.0.1                    py36_0
expat                     2.1.0                         0
fontconfig                2.12.1                        3
freetype                  2.5.5                         2
future                    0.16.0                    <pip>
glib                      2.50.2                        1
graphviz                  2.38.0                        5
graphviz                  0.8                       <pip>
gst-plugins-base          1.8.0                         0
gstreamer                 1.8.0                         0
harfbuzz                  0.9.39                        2
html5lib                  0.999                    py36_0
icu                       54.1                          0
idna                      2.5                      py36_0
image                     1.5.11                    <pip>
imagesize                 0.7.1                    py36_0
ipykernel                 4.6.1                    py36_0
ipyparallel               6.0.2                    py36_0
ipython                   6.1.0                    py36_0
ipython_genutils          0.2.0                    py36_0
ipywidgets                6.0.0                    py36_0
isort                     4.2.15                   py36_0
jbig                      2.1                           0
jdcal                     1.3                      py36_0
jedi                      0.10.2                   py36_2
jinja2                    2.9.6                    py36_0
joblib                    0.11                     py36_0
jpeg                      9b                            0
jsonschema                2.6.0                    py36_0
jupyter                   1.0.0                    py36_3
jupyter_client            5.1.0                    py36_0
jupyter_console           5.1.0                    py36_0
jupyter_core              4.3.0                    py36_0
lazy-object-proxy         1.3.1                    py36_0
libffi                    3.2.1                         1
libgcc                    5.2.0                         0
libgfortran               3.0.0                         1
libiconv                  1.14                          0
libpng                    1.6.27                        0
libprotobuf               3.2.0                         0
libsodium                 1.0.10                        0
libtiff                   4.0.6                         3
libtool                   2.4.2                         0
libxcb                    1.12                          1
libxml2                   2.9.4                         0
libxslt                   1.1.29                        0
lightgbm                  2.0.4                     <pip>
lime                      <IP_ADDRESS>                  <pip>
lxml                      3.8.0                    py36_0
markupsafe                0.23                     py36_2
matplotlib                2.0.2               np112py36_0
memory-profiler           0.47                      <pip>
mistune                   0.7.4                    py36_0
mkl                       2017.0.3                      0
mpmath                    0.19                     py36_1
mycli                     1.11.0                    <pip>
mysqlclient               1.3.10                    <pip>
nbconvert                 5.2.1                    py36_0
nbformat                  4.3.0                    py36_0
networkx                  1.11                     py36_0
nltk                      3.2.4                    py36_0
nose                      1.3.7                    py36_1
notebook                  5.0.0                    py36_0
numpy                     1.13.1                    <pip>
numpy                     1.12.1                   py36_0
numpydoc                  0.6.0                    py36_0
olefile                   0.44                      <pip>
openpyxl                  2.4.7                    py36_0
openssl                   1.0.2l                        0
packaging                 16.8                     py36_0
pandas                    0.20.3                   py36_0
pandas-ml                 0.4.0                     <pip>
pandocfilters             1.4.1                    py36_0
pango                     1.40.3                        1
path.py                   10.3.1                   py36_0
patsy                     0.4.1                    py36_0
pcre                      8.39                          1
pdir2                     0.2.1                     <pip>
pep8                      1.7.0                    py36_0
pexpect                   4.2.1                    py36_0
pickleshare               0.7.4                    py36_0
Pillow                    4.2.1                     <pip>
pip                       9.0.1                    py36_1
pixman                    0.34.0                        0
plotly                    2.0.9                    py36_0
pprint                    0.1                       <pip>
prompt_toolkit            1.0.14                   py36_0
protobuf                  3.2.0                    py36_0
psutil                    5.2.2                    py36_0
ptyprocess                0.5.1                    py36_0
py                        1.4.34                   py36_0
pycodestyle               2.3.1                    py36_0
pycosat                   0.6.2                    py36_0
pycparser                 2.17                     py36_0
pycrypto                  2.6.1                     <pip>
pyecharts                 <IP_ADDRESS>                   <pip>
pyflakes                  1.5.0                    py36_0
pygments                  2.2.0                    py36_0
pylint                    1.6.4                    py36_1
pymysql                   0.7.9                    py36_0
PyMySQL                   0.7.11                    <pip>
pyopenssl                 17.0.0                   py36_0
pyparsing                 2.1.4                    py36_0
pyqt                      5.6.0                    py36_2
pysocks                   1.6.6                    py36_0
pytest                    3.1.3                    py36_0
python                    3.6.1                         2
python-dateutil           2.6.1                    py36_0
pytz                      2017.2                   py36_0
pyyaml                    3.12                     py36_0
pyzmq                     16.0.2                   py36_0
qt                        5.6.2                         5
qtawesome                 0.4.4                    py36_0
qtconsole                 4.3.0                    py36_0
qtpy                      1.2.1                    py36_0
readline                  6.2                           2
requests                  2.14.2                   py36_0
rope                      0.9.4                    py36_1
ruamel_yaml               0.11.14                  py36_1
scikit-learn              0.18.2              np112py36_0
scipy                     0.19.1              np112py36_0
seaborn                   0.8                      py36_0
setuptools                27.2.0                   py36_0
simplegeneric             0.8.1                    py36_1
singledispatch            <IP_ADDRESS>                   <pip>
sip                       4.18                     py36_0
six                       1.10.0                   py36_0
snowballstemmer           1.2.1                    py36_0
sphinx                    1.6.2                    py36_0
sphinxcontrib             1.0                      py36_0
sphinxcontrib-websupport  1.0.1                    py36_0
spyder                    3.2.0                    py36_0
spyder-memory-profiler    0.1.0                     <pip>
spyder-unittest           0.1.1                    py36_0    spyder-ide
sqlalchemy                1.1.11                   py36_0
sqlite                    3.13.0                        0
sqlparse                  0.2.3                     <pip>
statsmodels               0.8.0               np112py36_0
sympy                     1.1.1                    py36_0
tabulate                  0.7.7                     <pip>
tensorflow                1.1.0               np112py36_0
terminado                 0.6                      py36_0
terminaltables            3.1.0                     <pip>
testpath                  0.3.1                    py36_0
thefuck                   3.18                      <pip>
tk                        8.5.18                        0
tornado                   4.5.1                    py36_0
traitlets                 4.3.2                    py36_0
typing                    3.6.1                     <pip>
urllib3                   1.21.1                   py36_0
wcwidth                   0.1.7                    py36_0
werkzeug                  0.12.2                   py36_0
wheel                     0.29.0                   py36_0
widgetsnbextension        2.0.0                    py36_0
wrapt                     1.10.10                  py36_0
xgboost                   0.6                       <pip>
xlsxwriter                0.9.6                    py36_0
xlwt                      1.2.0                    py36_0
xz                        5.2.2                         1
yaml                      0.1.6                         0
zeromq                    4.1.5                         0
zlib                      1.2.8                         3

Could you see if something appears in the internal console while testing? Also I'm seeing that you have numpy installed with pip and conda this maybe could cause problems

@dalthviz  i uninstall the numpy installed with pip,maybe numpy is not the problem
here is the internal console output:
>>> OrderedDict([('rope', False), ('jedi', False), ('fallback', False)])
OrderedDict([('rope', False), ('jedi', False), ('fallback', False)])
OrderedDict([('rope', False), ('jedi', False), ('fallback', False)])
OrderedDict([('rope', False), ('jedi', False), ('fallback', False)])
OrderedDict([('rope', False), ('jedi', False), ('fallback', False)])
OrderedDict([('rope', False), ('jedi', False), ('fallback', False)])

@yiyisan from what I'm seeing in your case the plugins are not getting initialized, if you keep Tab pressed what is the output in the internal console? is the generated output the same as the one above?

@dalthviz  yeah,the same output

@yiyisan could you give it another try and search for any output in the internal console?

@dalthviz
>>> Errored rope
b''
b'Traceback (most recent call last):\n  File "plugin_server.py", line 9, in <module>\n    import traceback\n  File "/home/shanjie/miniconda3/lib/python3.6/traceback.py", line 5, in <module>\n    import linecache\n  File "/home/shanjie/miniconda3/lib/python3.6/linecache.py", line 11, in <module>\n    import tokenize\n  File "/home/shanjie/miniconda3/lib/python3.6/tokenize.py", line 33, in <module>\n    import re\n  File "/home/shanjie/miniconda3/lib/python3.6/re.py", line 142, in <module>\n    class RegexFlag(enum.IntFlag):\nAttributeError: module \'enum\' has no attribute \'IntFlag\'\n'
Errored jedi
b''
b'Traceback (most recent call last):\n  File "plugin_server.py", line 9, in <module>\n    import traceback\n  File "/home/shanjie/miniconda3/lib/python3.6/traceback.py", line 5, in <module>\n    import linecache\n  File "/home/shanjie/miniconda3/lib/python3.6/linecache.py", line 11, in <module>\n    import tokenize\n  File "/home/shanjie/miniconda3/lib/python3.6/tokenize.py", line 33, in <module>\n    import re\n  File "/home/shanjie/miniconda3/lib/python3.6/re.py", line 142, in <module>\n    class RegexFlag(enum.IntFlag):\nAttributeError: module \'enum\' has no attribute \'IntFlag\'\n'
Errored fallback
b''
b'Traceback (most recent call last):\n  File "plugin_server.py", line 9, in <module>\n    import traceback\n  File "/home/shanjie/miniconda3/lib/python3.6/traceback.py", line 5, in <module>\n    import linecache\n  File "/home/shanjie/miniconda3/lib/python3.6/linecache.py", line 11, in <module>\n    import tokenize\n  File "/home/shanjie/miniconda3/lib/python3.6/tokenize.py", line 33, in <module>\n    import re\n  File "/home/shanjie/miniconda3/lib/python3.6/re.py", line 142, in <module>\n    class RegexFlag(enum.IntFlag):\nAttributeError: module \'enum\' has no attribute \'IntFlag\'\n'

@yiyisan could you unset PYTHONPATH?

@dalthviz  yeah，i Google the error, and unset PYTHONPATH,but it doesn't work,

And what about some 'enum.py' in your working directory?

@dalthviz  i added
import sys
print(sys.modules['enum'])

in  re.py
then restart spyder
the internal console output is:
Traceback (most recent call last):
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/plugins/__init__.py", line 511, in <lambda>
    toggled=lambda checked: self.toggle_view(checked),
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/plugins/ipythonconsole.py", line 695, in toggle_view
    self.create_new_client(give_focus=False)
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/plugins/ipythonconsole.py", line 959, in create_new_client
    interpreter=pyexec)
  File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/utils/programs.py", line 425, in is_module_installed
    return eval(output.decode())
  File "<string>", line 1
    <module 'enum' from '/home/shanjie/miniconda3/lib/python3.6/enum.py'>
    ^
SyntaxError: invalid syntax

it means module 'enum' in /home/shanjie/miniconda3/lib/python3.6/
it's my working dir

@dalthviz
i find the problem !!!!
after pip uninstall enum34
all problem fixed!
thank you so much!

Awesome @yiyisan ! glad to heard that,  thank you for all the testing :+1:

@dalthviz  Thank you  for your selfnessness，so that spyder is getting better and better!

hi, sorry for the late reply.
I just replaced the four files that you provided in my installation and it did not change anything for me.
I can still use autocompletition when no project is open.
Autocompletition and CTRL+I do not work in the editor when a project is open, they do work however in the IPython console.

Hi @laikh could you test again?, also please keep Tab pressed and search for any output in the internal console

Also, are you restarting Spyder after changing the files? if not the changes have no effect

I did restart spyder and tried multiple times. Today I did some more thorough testing and the following came out:
Case A: autocompletition in the editor when NO project is open
Case B: autocompletition in the editor when a project is open
A and B actually both work HOWEVER
Starting Spyder then A:
fast response, no problems
Starting Spyder then B:
it takes approximately 29sec of continuous pressing the tab button for it to work Pressing tab and waiting for a while does not work - it must really be continuously/repeatedly pressed for that time. Once the autocompletition works or is initiated this way it will respond quickly in other files as well.
Starting Spyder then B, then closing the project and trying A:
same problem: 25-29secs of spamming tab is required, once "initiated" it responds quickly also in other files
Starting Spyder then B then A then B then A ....
same problem every time for A and for B.
I get no output in the internal console except once I got this:

WARNING:traitlets:kernel died: 6.043947219848633

Could you try to increase the constant LEAD_TIME_SEC  and see if that helps? Maybe it is taking more time to restart and initialize the introspection in your case.
For that you can change the value in the line 28 of the file manager.py
Also, thanks for your testing :+1:

hi, do I understand that "enum34" is a problem ? (it comes becasue of pymc3)

Hi @stonebig, in the case of @yiyisan that was the problem.

In the case of enum this could be relevant https://bitbucket.org/stoneleaf/enum34/issues/19/enum34-isnt-compatible-with-python-36

changing LEAD_TIME_SEC in manager.py as you suggested leads to the following behavior (repeatedly tested):

for LEAD_TIME_SEC = 1    autocompletition takes ~15 seconds of continuous TAB pressing to initiate
for LEAD_TIME_SEC = 2    ~20sec
for LEAD_TIME_SEC = 3    ~25sec
for LEAD_TIME_SEC = 4    ~30sec
for LEAD_TIME_SEC = 5    ~35sec
for LEAD_TIME_SEC = 10    ~ a lot
LEAD_TIME_SEC  below 0.8 it doesnt work as well...

I tested by:

changing the parameter
restarting spyder with an automatically open project
then typing "from sci TAB" which should autocomplete to "scipy" in the editor, keeping TAB pressed until autocompletition works

nothing from the internal console

I tested with the latest fix. Unfortunately this fix does not work for me. As I reported before, it only works if there is no project opened. I've also changed LEAD_TIME_SEC = 1, but continuous TAB pressing doesn't work for me. I have also noticed in the process explorer that when it is activated in the editor, for instance just by putting dot for an imported module, like in "os." (this is similar to continuously/repeatedly pressing tab as tested by @laikh ), after several seconds CPU usage increases tremendously, 3 or 2 python.exe processes simultaneously occupy all the CPU threads. I waited more than a minute, nothing changed. After I delete the dot, i.e., in editor it appears as "os", it takes some time for the CPU usage drop, for all the python.exe processes seen in the process explorer.
As a solution, perhaps a petition can be automatically generated each time a project is opened as well as a change of an extra path is made. Since @laikh tells that once it is initiated it works with fast response for all the files, this artificial petition to initiate it may be an acceptable workaround, though I am not sure if it is going to work on my computer or not.
It seems that for me the only solution for now is to stick with Spyder 3.1.3 . I don't know the reason, but I had thought that it would be easy to fix this after comparing the source code against Spyder 3.1.3 . Perhaps the new features that cause this problem may be suspended until it is fixed properly.
Thanks

@laikh, @arman00, thanks a lot for helping us to test this. Could you tell us what Python version and operating system are you using?
Also, could you downgrade to Spyder 3.1.3 to see if completion works correctly there with Projects?
Thanks!

Hi @ccordoba12 . I downgraded to Spyder 3.1.3 (and also to IPython 5.4 to be able to run Spyder 3.1.3) in the same python installation. I confirm that completion works perfectly fine with the projects in Spyder 3.1.3. Also the response is very fast, even at the initial use.
Python 3.5.3, Windows 7 x64
jedi =0.9.0      :  0.9.0 (OK)
matplotlib >=1.0 :  2.0.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
numpy >=1.7      :  1.13.1 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.2 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

I tested some more but I'm just getting more confused.

My System + Dependencies
Windows 7, x64 on an i7-4710MQ, 8GB Ram
IPython >=4.0    :  5.3.0 (OK)
cython >=0.21    :  0.25.2 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
sympy >=0.7.3    :  1.0 (OK)

The Tests

I downgraded to Syder 3.1.4 using the anaconda interface and have the same problems.
I tried to downgrade further to 3.1.3 but then I get dependency-problems with jedi
I completely uninstalled Anaconda, and reinstalled with Spyder 3.1.4 - same problems (however, somehow the new Anaconda version knew my last Spyder working directory and project so maybe the uninstall was not as complete as I thought)
I applied your fix and Spyder wouldnt start anymore - not surprising as the fix was for version 3.2
I upgraded to 3.2 and then it got really strange. At first the autocomplete responded perfectly in the editor while a project was open. I restartet Spyder and it worked again. I noticed that autocomplete would not work anymore in the editor after closing a project. I restarted Spyder again and autocomplete would not work anymore at all (except in console ofc). Restarted several times no improvement.
I replaced the four files again, thinking that the upgrade from 3.1.4 to 3.2 might have affected them and now I have the old problem again. takes 25 seconds of pressing TAB to initiate when a project is open, works when no project is open and so on, as described in my previous post above.

Thank you guys for working on this. I rly love Spyder and hope you will continue to improve it.

@laikh, @arman00, thanks for your comments and further testing.
Given that this PR is not fixing the problem for you, I'm thinking we need a different approach. We'll revisit this in 3.2.2.

@ccordoba12 , @dalthviz , I did some further tests and want to pinpoint the problem more precisely.

It happens only when a project is open, but it is not the sufficient condition. It depends on the added extra paths in the PYTHONPATH manager, maybe this is why not everyone is having this problem. I have several directories which are full of python files (.py) . It happens either if I add at least two of these directories, or if I add only one certain directory. The directories in the former case are okay if they are added alone as the only path in the python manager, except the certain one. Perhaps @laikh can test this as well to confirm
With Spyder 3.1.3 this issue does not exist at all. To run Spyder 3.1.3 I downgraded to Ipython 5.4. It is not due to a jedi issue because I tested it both with jedi 9.0 and 10.0.2 , though with the later spyder complains and does not work properly in the other parts.

Spyder is really a very well thought useful development environment. I am currently using 3.1.3 because of this issue, hope it will be solved soon and I will continue with the newest versions. Thank you for all your work.

I should make a small correction regarding the cases about the extra paths that I describe in my previous message. I have seen after restarting the Spyder that, actually, it randomly depends on the extra paths. Sometime it worked even with 3 added extra paths, sometimes even with the directory which caused the problem before. In all the cases I always restart the kernel, otherwise change of the extra-path in the manager do no make any difference.

Sorry if this is just piling on but fix is also not working for me doing a bootstrap.py of dalthviz' fixes_issue_4410 branch. win7 x64 conda 4.3.23. more details if you want 'em.
I looked a bit but haven't seen this come up: right-click->go to definition (aka ctrl-G) no longer works from editor, and I'd guess it's related.

I think the main problem is trying to restart our completion servers when users switch to a project. That's what introduced this problem and this PR was unable to fix for you (unfortunately).
@rlaverde, why did you decide to restart our plugins? A change in the PYTHONPATH env var of the completion servers wasn't enough?

why did you decide to restart our plugins? A change in the PYTHONPATH env var of the completion servers wasn't enough?

It looked as the easy way, the variables was sent in the __init__ , and anyway the plugin set up method (run) should be executed again. https://github.com/spyder-ide/spyder/blob/master/spyder/utils/introspection/plugin_client.py#L66
We could change the code to avoid the full restart of the PluginClient, create a method to change_python_path, that will only restart the process environment and update the process. Should I pen a PR with that change?

Yes, please do.

Closing because (unfortunately) this didn't work.


Use friendly name in POM

Similar fix (https://github.com/typelevel/cats/pull/1426) and
issue (https://github.com/typelevel/cats/issues/1396) to Cats.

Current coverage is 81.63% (diff: 100%)

Merging #453 into master will not change coverage

@@             master       #453   diff @@
==========================================
  Files            80         80
  Lines          2135       2135
  Methods        2043       2042     -1
  Messages          0          0
  Branches         92         93     +1
==========================================
  Hits           1743       1743
  Misses          392        392
  Partials          0          0

Powered by Codecov. Last update bea8787...b2d2981

Thanks, @adelbertc!


Add option to simulate without prior knowledge

This PR proposes to implement a feature to simulate a systematic review without any prior knowledge.
% asreview simulate ~/Downloads/synergy_dataset/van_der_Valk_2021.csv -s $(mktemp).asreview --n_prior_included 0 --n_prior_excluded 0
The following records are prior knowledge:

---0---IRRELEVANT-------------------------------------------
Diabetes mellitus and hypercortisolism in a cat

A fourteen-year-old Persian cat was referred because of poorly controlled diabetes mellitus despite insulin and dietary treatment. Clinical signs were severe polydipsia/polyuria (pupd), poor hair coat quality, stomatitis and hind limb weakness. At the time of initial presentation, he was treated with glargine insulin (0,75 IU/kg BID). A low dose dexamethasone suppression test (LDDST) revealed hypercortisolism (HC). The cat was additionally treated with trilostane, and remission of diabetes mellitus was obtained one year later. This case illustrates the importance of diagnosing an underlying cause of poorly controlled diabetes mellitus. Although hypercortisolism is rare in cats, it is important to consider the disease in these cases. The hypercortisolism in this cat was efficiently managed with trilostane, resulting in a good quality of life.

---1---IRRELEVANT-------------------------------------------
Unexpected Endocrine Features and Normal Pigmentation in a Young Adult Patient Carrying a Novel Homozygous Mutation in the POMC Gene

Proopiomelanocortin (POMC) is the precursor to five biologically active peptides, including ACTH produced in the anterior pituitary and alpha-MSH produced in the hypothalamus. Mutations that inactivate the POMC gene have been described in children, causing a pleiotropic syndrome that includes secondary hypocortisolism, severe obesity, and variable changes in skin and hair pigmentation.We describe a female patient of North African ancestry, homozygous for a frameshift mutation in the POMC gene (6922InsC) that impairs the production of all melanocortin peptides, and that is associated with novel clinical features. Repeated clinical investigations from birth to age 18 yr are presented.ACTH deficiency was diagnosed at birth. Hyperphagia and obesity became apparent before 2 yr of age and rapidly progressed [body mass index (BMI) Z-score, +7 sd at 2 yr, +9.7 sd at 13 yr; BMI, 50 kg/m(2) at 18 yr). At puberty, the patient developed alterations in the somatotropic, gonadotropic, and thyroid axes necessitating hormonal replacement. Surprisingly, there were no obvious pigmentary features; neither the hair color nor measurements of skin reflectance distinguished between the patient and unaffected family members. However, chemical analysis of hair pigment revealed increased production of both pheomelanin and eumelanin.Molecular genetic abnormalities of POMC should always be considered in patients with early onset adrenal insufficiency and obesity, even in the presence of normal pigmentation and multiple pituitary hormone anomalies.

---2---IRRELEVANT-------------------------------------------
Psychological Studies of Adult Male Patients with Sexual Infantilism Before and After Androgen Therapy

Excerpt This study explores some psychological implications of hormonal treatment of adult males who have failed to mature sexually. Although effective hormonal replacement for androgen deficiency ...

---3---IRRELEVANT-------------------------------------------
Hair cortisol as a biological marker of chronic stress: Current status, future directions and unanswered questions

The detrimental effects of stress on human health are being increasingly recognized. There is a critical need for the establishment of a biomarker that accurately measures its intensity and course over time. Such a biomarker would allow monitoring of stress, increase understanding of its pathophysiology and may help identify appropriate and successful management strategies. Whereas saliva and urine cortisol capture real-time levels, hair cortisol analysis presents a complementary means of monitoring stress, capturing systemic cortisol exposure over longer periods of time. This novel approach for cortisol quantification is being increasingly used to identify the effects of stress in a variety of pathological situations, from chronic pain to acute myocardial infarctions . Because of its ability to provide a long-term, month-by-month measure of systemic cortisol exposure, hair cortisol analysis is becoming a useful tool, capable of answering clinical questions that could previously not be answered by other tests. In this paper we review the development, current status, limitations and outstanding questions regarding the use of hair cortisol as a biomarker of chronic stress.

---4---RELEVANT---------------------------------------------
In adults with obesity, copeptin is linked with BMI but is not associated with long-term exposure to cortisol and cortisone

Obesity and cardiometabolic diseases are associated with higher long-term glucocorticoid levels, measured as scalp hair cortisol (HairF) and cortisone (HairE). Cardiometabolic diseases have also been associated with copeptin, a stable surrogate marker for the arginine-vasopressin (AVP) system. Since AVP is, together with corticotropin-releasing hormone (CRH) an important regulator of the hypothalamic-pituitary adrenal axis (HPA axis), we hypothesize that AVP contributes to chronic hypercortisolism in obesity.To investigate whether copeptin levels are associated with Higher HairF and HairE levels in obesity.A cross-sectional study in 51 adults with obesity (BMI ≥30 kg/m2).Associations and interactions between copeptin, HairF, HairE, and cardiometabolic parameters were cross-sectionally analyzed.Copeptin was strongly associated with BMI and waist circumference (WC) (rho = 0.364 and 0.530, P = 0.008 and <0.001, respectively), also after correction for confounders. There were no associations between copeptin and HairF or HairE on a continuous or dichotomized scale, despite correction for confounders.In patients with obesity, AVP seems not a major contributor to the frequently observed high cortisol levels. Other factors which stimulate the HPA axis or affect cortisol synthesis or breakdown may be more important than the influence of AVP on long-term glucocorticoid levels in obesity.

Simulation started

Relevant records found: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████| 89/89 [00:01<00:00, 55.93it/s]
Records labeled       :  88%|████████████████████████████████████████████████████████████████████████████████████████████▌            | 639/725 [00:01<00:00, 402.98it/s]

Simulation finished

The results table

record_id  label classifier query_strategy balance_strategy feature_extraction  training_set               labeling_time notes
0            0      0       None          prior             None               None            -1  2023-11-08 17:07:49.116134  None
1            1      0       None          prior             None               None            -1  2023-11-08 17:07:49.116134  None
2            2      0       None          prior             None               None            -1  2023-11-08 17:07:49.116134  None
3            3      0       None          prior             None               None            -1  2023-11-08 17:07:49.116134  None
4            4      1       None          prior             None               None            -1  2023-11-08 17:07:49.116134  None
..         ...    ...        ...            ...              ...                ...           ...                         ...   ...
634        288      0         nb            max           double              tfidf           634  2023-11-08 17:07:50.729581  None
635        350      0         nb            max           double              tfidf           635  2023-11-08 17:07:50.732139  None
636        318      0         nb            max           double              tfidf           636  2023-11-08 17:07:50.734629  None
637        134      0         nb            max           double              tfidf           637  2023-11-08 17:07:50.737101  None
638         21      1         nb            max           double              tfidf           638  2023-11-08 17:07:50.739560  None

[639 rows x 9 columns]

Select top records I assume means the first records from the dataset in the order it was provided?

That's a good question. We can implement that as well. I implemented it this way because it would give you more flexibility. You can shuffle it yourself and simulate it as random. However, this is not very practical for repeated simulation on the same dataset.

A nice addition! It seems like a good idea to start with this simple implementation. We can always add more ways of choosing the prior knowledge, like taking random records.
One thing I was thinking was that functions naive_prior_knlowedge and sample_prior_knowledge both have the same function and are only used by the ReviewSimulate class. I think it makes more sense to add them as static methods to the class. We could have ReviewClass.sample_prior_knowledge that takes start_idx / n_prior_included / n_prior_excluded / labels as input and the sampling method, and then returns the indices of the priors. I don't think that these functions will ever be used outside of the context of a simulation.

10 simulations using the following settings:
asreview simulate data\synergy-Appenzeller-Herzog_2019.csv -s output\simulation\synergy-Appenzeller-Herzog_2019\state_files\sim_synergy-Appenzeller-Herzog_2019_0.asreview --n_prior_included 0 --n_prior_excluded 0 --seed 255

* 10, of course. Note that the lines below overlap exactly, as expected.

What I am still wondering about, what is the actual use-case for this implementation? Is it a fallback for simulations without prior knowledge? Are we recommending users to put their favorite documents at the top of their dataset?

The idea is that a user might not have prior knowledge. In that case, the naive approach would be to start reading from the top.


Reply/Send button broken after 0.4.4 update

Hi,
After the "unified inbox" update, the Reply and Send buttons are broken. Please see attach.

Thanks,

OK, seems that updating Taiga to the latest version fixed the problem! Will close the issue.


Hexbin plot component

Discussed in dataviz meeting, would like a hexbin plot. This would give us an alternative to the scatter plot that can support large data.
Could look here for examples: https://r-graph-gallery.com/100-high-density-scatterplot-with-binning.html
I'm inclined to not implementing new components in plotly, not that I'm even sure we could for this. Think we should seriously consider visx here.

My understanding is that the back end will need to do the hexagonal binning and the the front end is likely to be a glorified scatterplot (with hexagonal glyphs). Presumably there is R code available already?
Agree that this would be a good opportunity to move away from Plotly.

Also, I presume no overlay possible for hexbin?
Overlay in regular scatterplots is problematic too however. The order in which series get rendered on screen can change the entire picture, even when we have high transparency, see example in https://github.com/VEuPathDB/web-components/pull/419#issuecomment-1334215756


Update editors.js

Changed "was viewing this add-on first." to "was viewing this app first."

can you change the commit summary to explain what is being changed?  Ideally include the bug # in there too.  Same with the pull request summary,

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1168477
Changes Info
In Line number 241
format(gettext('{name} was viewing this add-on first.') is changed to format(gettext('{name} was viewing this app first.')
The packaged zip(html,css,js,manifest) in Firefox Marketplace are generally called as Apps, and we don't use the name add-on in Firefox Marketplace.

@viswaprasath are you going to be able to make the changes to the commit & pull title?

thanks!


Chore/ci typo check

Description
This PR will add CI check for typo per PR submit or push to main. #1149 should be merge before this one.
PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use
unclog to manage our changelog)
[x] Updated relevant documentation (docs/ or spec/) and code comments

Close as there is already another CI for checking this.

Thanks for working on this! Agreed we should try to use golangci-lint's linters if possible rather than adding a new one. If we learn that golangci-lint's typo identification isn't as capable as other linters then we can consider adopting a different one.
Ideally a new spelling linter also uses Go instead of Python / Pip so that maintainers don't have to set up more dependencies prior to checking for spelling locally.


Add the MORPHOLOGICAL_INFLECTION task and the pairs_multi schema

For #108 and #44.

@holylovenia @bryanwilie
Thanks for the new schema, just a quick note.
I think this schema does not support context field for disambiguating cases that have same inflected form but from different inflection. CMIIW.

@fhudi
I see. Since I'm not familiar with morphological inflection, could you please provide me with an example? Your suggestion will be very helpful to adjust this new schema.

@holylovenia
I am not familar as well hence the CMIIW.
AFAIK this schema covers majority of the cases for Indonesian and Indoneeia's indigenous languages.
I can't give example at the moment but will let you know if I ever bump into such cases.

@fhudi
Okay, then probably we can just use the schema as-is first. We can modify it if we ever bump into those unhandled cases. Thanks for the heads-up and the minor fix!


Missing esp_wps.h from the bindings.h

Seems like the esp_wps.h is missing from the bindings causing it to be impossible to use WPS connecting for WiFi. I tried forking the repository and adding the missing header file to bindings. After adding the fork as cargo depencency I get following error?
error: failed to select a version for `esp-idf-sys`.
    ... required by package `esp-idf-hal v0.41.2`
    ... which satisfies dependency `esp-idf-hal = "^0.41.2"` (locked to 0.41.2) of package `esp32 v0.1.0 (C:\Coding\esp32)`
versions that meet the requirements `^0.33` (locked to 0.33.2) are: 0.33.2

the package `esp-idf-sys` links to the native library `esp_idf`, but it conflicts with a previous package which links to `esp_idf` as well:
package `esp-idf-sys v0.33.2 (C:\Coding\esp32\esp-idf-sys)`
    ... which satisfies path dependency `esp-idf-sys` of package `esp32 v0.1.0 (C:\Coding\esp32)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='esp-idf-sys' value. For more information, see https://doc.rust-lang.o
rg/cargo/reference/resolver.html#links.

failed to select a version for `esp-idf-sys` which could resolve this conflict

Probably doing something wrong as this build stuff is way above my understanding but is there some way to add these bindings manually and have the cargo build succedd?

Check out how to correcly use a local or forked git repo. Infos can be found https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#testing-a-bugfix . Make sure you patch esp-idf-sys like this in your Cargo.toml

Thanks a lot! That seems to do it. Have to delve into that cargo manual more, such a nice tool.


Smudge filter failed with a pull

Similar to issue: (Smudge filter failed with a fresh new clone #911 / https://github.com/github/git-lfs/issues/911) but with a pull instead of a new clone.
I'm seeing this:
git.exe pull --progress --no-rebase -v "e6" master
From https://github.com/TruGolf/e6

branch            master     -> FETCH_HEAD
= [up to date]      master     -> e6/master
Downloading Code/BuildScripts/E61.6/PsExec.exe (387.19 KB)
Error downloading object: Code/BuildScripts/E61.6/PsExec.exe (3b08535b4add194f5661e1131c8e81af373ca322cf669674cf1272095e5cab95)

Errors logged to D:\dev\e6.git\lfs\objects\logs\20160330T084938.5566214.log
Use git lfs logs last to view the log.
error: external filter git-lfs smudge %f failed 2
error: external filter git-lfs smudge %f failed
fatal: Code/BuildScripts/E61.6/PsExec.exe: smudge filter lfs failed
git did not exit cleanly (exit code 128) (46250 ms @ 3/30/2016 8:49:38 AM)
While 2 others pull without an issue, I cannot.

Hi @TruJosh, the actual error message is in D:\dev\e6.git\lfs\objects\logs\20160330T084938.5566214.log. Can you post that to a Gist, or email it to<EMAIL_ADDRESS>

Here is the log file.
From: risk danger olson<EMAIL_ADDRESS>Sent: Wednesday, March 30, 2016 9:04 AM
To: github/git-lfs<EMAIL_ADDRESS>Cc: Josh Barth<EMAIL_ADDRESS>Subject: Re: [github/git-lfs] Smudge filter failed with a pull (#1116)
Hi @TruJoshhttps://github.com/TruJosh, the actual error message is in D:\dev\e6.git\lfs\objects\logs\20160330T084938.5566214.log. Can you post that to a Gist, or email it to technoweenie<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/github/git-lfs/issues/1116#issuecomment-203478759

Closing this until I can get some more details.


slices.Insert causes out of bounds if there are no values

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

$ go version
go version go1.21 darwin/arm64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/sedyh/Library/Caches/go-build"
GOENV="/Users/sedyh/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/sedyh/Desktop/share/go/path/go1.21.1/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/sedyh/Desktop/share/go/path/go1.21.1"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/sedyh/Desktop/share/go/root/go1.21.1"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/sedyh/Desktop/share/go/root/go1.21.1/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.21.1"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/x5/kntr8jy137vg9cjlm83chwmh0000gn/T/go-build3952104386=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
For some reason slices.Insert causes out of bounds panic if there no values at if !overlaps(v, s[i+m:]) {}.
As far as I can see in https://go.dev/cl/540155, this is intended, but it seems wrong to me, because:

I don't see any point in this. I think this is the only case why I wanted to use it.
This case is not processed separately, it is a standard out of bounds panic.
This is not stated in the function comments.

What did you expect to see?
s := []float64{}
s = slices.Grow(s, 5)
s = slices.Insert(s, 4, 1.0)

The function works the same regardless of how full the slice is.
What did you see instead?
panic: runtime error: slice bounds out of range [5:1]
This is not a specially caused panic, it looks like a missed case.

What would end up in s[0] through s[3]?
In other words, what is the slice that you expect to result from the example you gave?

What would end up in s[0] through s[3]? In other words, what is the slice that you expect to result from the example you gave?

I hope that slices.Insert would fill them with default values for me (.0) or replace the existing values if index is lower than cap.

This is not stated in the function comments.

It is stated in the doc comment: "Insert panics if i is out of range."

This case is not processed separately, it is a standard out of bounds panic.

Because it is a standard out of bounds panic. slices.Grow does not grow the length of a slice, it only grows the capacity. You would get the same panic here:
s := []float64{}
s = slices.Grow(s, 5)
s[4] = 1.0

I would really like some of the functions in this package to be able to do make/append as needed.

Is there any workaround or slice trick that combines insert and growing the length?
Expand look like what I need, I wish that func was in the slices package.

a = append(a[:i], append(make([]T, j), a[i:]...)...)

The one-line trick is quite inefficient for some cases.
For OP's specified case:
s := []float64{}
s = slices.Grow(s, 5)
s = slices.Insert(s, 4, 1.0)

just do:
s := append(make([]float64, 4, 5), 1.0)

If looks it is essential to put the following line at the start of the slices.Insert funciton:
_ = s[i:]

Otherwise, the panic message is misleading.

just do:
s := append(make([]float64, 4, 5), 1.0)

I also need to be able to insert elements at any index location other than extending the slice, so the previous one is more suitable.

I think it could help if the term "out of range" is not used in the documentation:

... Insert panics if i is out of range.. ...

because it might not be clear that "out of range" refers to the slicing s[i:]. It could be interpreted as referring to the slicing s[:i]. With the same value of i, s[i:] can be out of slice, and s[:i] may not be.
To remove this ambiguity, I would write:

... Insert panics if i > len(s). ...

because it might not be clear that "out of range" refers to the slicing s[i:]. It could be interpreted as referring to the slicing s[:i]. With the same value of i, s[i:] can be out of range, and s[:i] may not be.

it simply refers to s[i], not to s[i:] or s[:i]. Who thinks of slicing when they read "out of range"?

... Insert panics if i > len(s). ...

@gazerro Also panics when i < 0.

@callthingsoff You're right. We can use a similar sentence used for Delete and Replace (see recent commit 7a1fce8751b04f66f758c7aac0efd5937bc670dc), so it would be

... Insert panics if i > len(s) or s[:i] is not a valid slice of s. ...

We can use a similar sentence used for Delete and Replace (see recent commit 7a1fce8), so it would be

... Insert panics if i > len(s) or s[:i] is not a valid slice of s. ...

cc @ianlancetaylor  @randall77


add ulidgen

Wraps https://github.com/groob/ulidgen in a docker image.
The idea is to use ULID for tagging docker images in the build process or any process that needs a unique ID.

Sounds interesting. Can you please explain a bit more and with some examples? What are the benefits?

in our makefiles, we often simply use
TAG:=$(shell git rev-parse --short HEAD)
…
  docker build -t my-image:$(TAG)

this makes it easy to deduct the underlying source code revision when encountering problems with a specific image version in production. the image tag is part of our logging envelope, so we can associate every error log with the source revision.

@filex Thanks for the insights. We used a similar tagging strategy but we prefixed the tag with the commit date as well so the list of docker images is sorted by time. Sometimes helpful for debugging etc.

I also started to experiment with dynamic LABELS for build-time and vcs-ref here: https://github.com/sevenval/dockerfiles/blob/master/sloppy/hooks/build

I also started to experiment with dynamic LABELS for build-time and vcs-ref here: https://github.com/sevenval/dockerfiles/blob/master/sloppy/hooks/build

yes, labels can be helpful (although the filtering syntax is a pain). it's probably easier to set the labels in the build command line:
docker build --label org.label-schema.vcs-ref=${TAG} …

this keeps the Dockerfile clean of all the build args.

Sounds interesting. Can you please explain a bit more and with some examples? What are the benefits?

Finding a good tag for a docker container is not easy, the following things have to be considered:

base image
installed dependencies during build
your own code revision (covered by what @filex mentioned)

Assuming the base image already is available, you can retrieve the hash by inspecting the image:
docker inspect --format='{{index .RepoDigests 0}}' $baseImage
Installed dependencies gets even more tricky: this could be a package-lock.json when deploying node modules or versions of third party plugins you installing during build. These highly depend on the container your building.

When you hash all this information should retrieve an unique ID for your container, whenever another dependency version is installed, another base image was chosen, or your own code simply changed.
Or you could get the same ID, when nothing has changed.

• base image

if the FROM line in the Dockerfile is specific (e.g. bla:1.3.1 instead of bla:latest), you will need a commit to your own repo to change the base image. That would still be covered by $(git rev-parse --short HEAD).

Regarding unreliable tags, maybe pulling images by hash could help there? As described here: https://www.equalexperts.com/blog/tech-focus/quick-wins-to-secure-your-docker-containers/


Can you provide Typescript types?

My project uses Typescript, and I would love to fully use this package, however, since my project uses Typescript, I cannot fully use it. I may try to write my own type declarations, and submit a pull request, but for now, I won't. This would really help me and others who need Typescript support. I can, for now, just do this in my .d.ts file:
declare module "svelte-recaptcha-v2"

so Typescript will work, however, this does not provide the error catching and intelisense that full Typescript supports.

Sorry, I forgot to read the final thing in the readme. My fault


docs: preview command

What/Why/How?
Docs for Preview project command.
Reference
Implementation PR: https://github.com/Redocly/redocly-cli/pull/1367
Testing
Screenshots (optional)
Check yourself

[ ] Code is linted
[ ] Tested with redoc/reference-docs/workflows (internal)
[ ] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

I'm not sure why Vale is returning as neutral, it has annotated a problem


There is no "Targetare" button.

ENVIRONMENT: production
COMPANY : Schaeffler
URL: https://scrapers.peviitor.ro/
Browser: Mozilla Firefox
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Open the URL in the browser
Run scraper for : "Schaeffler" company.
Go to the top and click " Targetare"

EXPECTED RESULTS :
A new page is opened with the company name " Schaeffler" on "Targetare"
ACTUAL RESULTS :
There is no "Targetare" button.

the company is not present on targetare.ro


Update _vendor.py using f-string

Description
Updated f-string of sdk\iotfirmwaredefense\azure-mgmt-iotfirmwaredefense\azure\mgmt\iotfirmwaredefense_vendor.py
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

Thanks for your contribution.
This is auto-generated code and we don't modify them manually.


update docs to reflect alarm cron 5 fields by default

Fixes #1545

@rabbah @bjustin-ibm here is draft please comment on how to adjust.

@bjustin-ibm I fixed here: https://github.com/openwhisk/openwhisk/pull/1551/commits/1a4c45fc367964f9b3112fd1945a6f17e1c794c2
squash and merge if there no more comments.

Squashed and merged as dbbdc3b


[4.4.dev2] Enum names not showing in inspector when used as keys for exported typed dictionary

Tested versions
4.4 dev2
System information
Godot v4.4.dev2 - Windows 10.0.22631 Build 22631 - NVIDIA GeFORCE RTX 4070 (GRD  v556.12) - Intel(R) Core(TM) i7-14700KF, 3400 Mhz, 20 Core(s), 28 Logical Processor(s)
Issue description
while using typed dictionaries, I attempted to use an enum defined in another class as the key type. It works for selecting a key when adding a new element to the dictionary but after its added, it is listed as a number instead of the string name of the enum

I believe that it would make much more sense and be more readable if the string name of the enum were displayed instead of the int equivalent
Steps to reproduce

create an enum

E.G enum MyEnum{t1, t2, t3}

create an exported variable that is a typed dictionary with a key as that enum

E.G. @export var myDictionary : Dictionary[MyEnum, Variant]

attempt to enter elements into the dictionary via the inspector. observe that the key listed is a number instead of the name provided in the enum's declaration once a key-value pair is added to the dictionary.

Minimal reproduction project (MRP)
N/A

Duplicate of #96852.

Thanks for the contribution nonetheless!


Added gulp task

What's this PR do?
it adds the taskGulpRun(), which runs gulp-tasks.
Yes, it looks like taskrunnerception, but there are projects split in frontend and backend and grunt / gulp are quite nice for frontend-task.
How should this be manually tested?
with something like:
public function gulptest($task='default'){

        $this->taskGulpRun();
        $this->taskGulpRun($task)->color()->simple()->run();
    }

the travis-ci build breaks up on the q in
"codeception/aspect-mock": "0.5q.*"
in composer.json which i fixed locally but did not commit

@schorsch3000 thanks! Especially for handling new task format!

In Run->run() you call Base->getCommand() with a parameter, but the method has none and uses $this->task directly.

@boedah thanks, fixed it


Upgrade insecure links to https

Fixes #330

Thanks for this @edent!
Unfortunately there's a few failing specs as the output no longer matches the specced example files  – specifically for EJS and mustache
Would you be able to update those examples so we can get the tests passing again?

D'oh! Fixed.

Thanks! Would you be able to squash those commits together?

Hmm, can't see a way to do that on the mobile website, sorry! I think you have to do it as maintainer.

Superseded by #334


DS3+DsHidMini+DS4Windows Combo Not Working

[x] I have searched open and closed issues for duplicates
[x] I am submitting a bug report for existing functionality that does not work as intended
[x] I have read https://vigem.org/Community-Support/
[x] This isn't a feature request or a discussion topic

Bug description
Using a PS3 controller, DsHidMini with HID device mode set to DS4Windows, and using DS4Windows itself with Emulated Controller set to "XInput", the controller is detected as "Controller (USB Controller)" and does not work with anything that uses XInput. Changing the emulated controller to "DualShock 4" makes it appear as "Wireless Controller", and again, does not work with anything.
Steps to reproduce
I followed the guide here, step by step:
https://vigem.org/projects/DsHidMini/DS4-Mode-User-Guide/
Expected result:
I expect the controller to properly show up as an XInput controller. Instead it's showing up as some generic name "Controller (USB Controller)" and doesn't work with anything that is compatible with XInput. The readouts work in DS4Windows, the readouts work in Windows "Game Controllers" window, but the controller doesn't work as XInput. I used DS4Windows "XInputChecker" and it says connected, the buttons are working here. So I am at a loss, I have no idea why it's not working.
 I have no idea why as I only had my PS3 controller plugged in when setting it up and testing. I'm guessing it had to do with some settings in DS4Windows, there was an option to disable it showing up as 2 controllers instead of 1. After multiple restarts and much fiddling, it's now working correctly despite just showing up as "USB Controller". I gotta admit, this is a bit cumbersome to use in it's current state due needing either DS4Windows or X360CE, and I was tempted to revert back to SCP Toolkit multiple times throughout this endeavor since it's just install, plug, and play, while this required jumping through a bunch of hoops (multiple driver installs, multiple programs running, multiple settings).
Either way, great work on this and I'll continue using it for now at least. Another issue I was experiencing adding to my frustration is that DsHidMini was picking up my Retro Fighters Brawler64 controller as a "PS3 Controller" and took it over completely. This disabled it's own ability to switch between XInput and DirectInput, and it did not work using DS4Windows. It took me a bit to figure out that I needed to manually go into Device Manager and uninstall the "Nefarius" driver for this specific controller to restore it to normal functionality. I also noticed that XInput is planned to be built into DsHidMini eventually as an "HID device mode", if that eliminates the need for DS4Windows/X360CE, that would greatly enhance this program's usability.

 I have no idea why as I only had my PS3 controller plugged in when setting it up and testing. I'm guessing it had to do with some settings in DS4Windows, there was an option to disable it showing up as 2 controllers instead of 1. After multiple restarts and much fiddling, it's now working correctly despite just showing up as "USB Controller". I gotta admit, this is a bit cumbersome to use in it's current state due needing either DS4Windows or X360CE, and I was tempted to revert back to SCP Toolkit multiple times throughout this endeavor since it's just install, plug, and play, while this required jumping through a bunch of hoops (multiple driver installs, multiple programs running, multiple settings).

IDK what happened there but if there is no interfering legacy drivers, installation is dead easy and done in like 30 seconds. And requiring multiple programs is the design decision for a modular architecture, which is the sole reason this solution is able to exist, another monolith like SCP would've probably required another 5 years to design and probably be abandoned due to frustration. TL;DR: it is how it is and it is better that way 🙂 for me as a developer which is the primary concern, the user has to spend 30 instead of 10 seconds to set it up? So sad 😆  /SCNR

Either way, great work on this and I'll continue using it for now at least. Another issue I was experiencing adding to my frustration is that DsHidMini was picking up my Retro Fighters Brawler64 controller as a "PS3 Controller" and took it over completely.

Complain to the manufacturer of that thing way they spoof Sony's Hardware IDs then?! Not my problem 🙂

I also noticed that XInput is planned to be built into DsHidMini eventually as an "HID device mode", if that eliminates the need for DS4Windows/X360CE, that would greatly enhance this program's usability.

Mate, it's literally out there for a month now in v2 Beta, check the releases 😅
Cheers, and game on! ❤

If you are just creating this for yourself and sharing it with the public as a bonus, I understand that. Most creators do. But such a hostile reply when I was only trying to help by reporting what I thought was a bug, and when figuring it out, offering constructive criticism from a user's standpoint. And in the end I admitted that the fault was mine. Maybe it "takes 30 seconds" to set up with someone who is familiar with all of this, like you who spent years researching and creating it, but never using any of this before requires at least some level of research and understanding. And that is not a problem, I'm fine with learning new things, I like when programs offer more power. If someone who has never used this or DS4Windows, can read over and understand every single option in both programs in 30 seconds, especially when they run into issues like I have, then yeah that is impressive. Kudos.

My replies were in no way intended as hostile or insulting your intellect, but since you already decided to interpret in that way I guess there's no reason for further discussion... Nonetheless, have a fabulous day!

When you quoted my reply, talked about how easy it was, and ended with "So sad/laughing face/SCNR", it appeared as though you took a shot at me. I do apologize if I misinterpreted it, I honestly didn't come here to start trouble. I really am grateful for your work and efforts, I would have given up if immediately and never made a report at all if I wasn't interested in it.

No need to apologise, mate, text communication is hard for all parties involved. My sarcastic or cynical comments are typically thrown out as a generalisation at past experiences, it is not my goal to make any individual look bad or stupid, especially when they get use out of my chaotic creations 😜


postcss-discard: postcss.plugin was deprecated

It takes longer time to build, please update the plugin.

Same here, it takes a very long time to process. I don't really know how much speed is PostCSS 8.0 bringing, but it would be nice to see this plugin updated.

Cheers.

Fixed with v2.0.0.

Thank you very much @Tom-Bonnike for your time and effort.


Create style.css

Create a new feature/head branch (based on the develop branch).
Create a styles.css file in the root folder of the project

style.css added


feat: add entity migration cli

I believe the test coverage is too low because we are not testing the migrate CLI directly. However, the current state of the PR is looking great. We can improve the coverage later if you guys don't mind.

Sounds good to me. I created a ticket for that:
https://app.zenhub.com/workspaces/taipy-613ef328affde6000ff77fb3/issues/gh/avaiga/taipy-core/776


Spike: is a CSS-only modal sufficient for a form?

https://github.com/sciety/sciety/tree/spike/css-modal

This is a happy path JS and <dialog> supported solution. Fallbacks TBC.


CD: allow from draft

This would allow you to make a release also from draft :otter:

Thank you!!!! I think this is what I needed to change here. Was going crazy last night after it didn't trigger the action from the published draft.


XML descendant problem

From discussion of #7, XML documents don't seem to be finding descendants (EDITTED: this list has been updated so that the checkbox indicates whether the native implementation is matched and the + or - afterward indicates whether the native implementation gets a result for the expression):

[ ] + //Root
[ ] + //Menu
[ ] + /descendant::Root
[ ] + /descendant::Menu
[ ] + /descendant-or-self::Root
[ ] + /descendant-or-self::Menu
[x] + //self::Root
[x] + //self::Menu
[x] + //*[self::Root]
[x] + //*[self::Menu]
[x] - /Root//Root
[ ] + /Root//Menu
[x] - /Root/descendant::Root
[ ] + /Root/descendant::Menu
[x] + /Root/descendant-or-self::Root
[ ] + /Root/descendant-or-self::Menu
[x] + /Root//self::Root
[x] + /Root//self::Menu
[x] - /Root//*[self::Root]
[x] + /Root//*[self::Menu]

This appears to affect all browsers, provided the override is used to force install.
List generated by this code in case anyone wants to clean it up and make some kind of test out of it or tinker with it and see if anything else affects whether it works (EDITTED):
var wgx = {}
wgxpath.install({document: wgx})
var src = '<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE Root><Root><Menu ID="11"></Menu></Root>'
var xml = new DOMParser().parseFromString(src, "application/xml")
var prefixes = ["//", "/descendant::", "/descendant-or-self::", "//self::", "//*[self::"]
prefixes = prefixes.concat(prefixes.map(function(prefix) {
  return "/Root" + prefix
}))
prefixes.forEach(function(prefix) {
  ["Root", "Menu"].forEach(function(tag) {
    var resultWGX = wgx.evaluate(prefix + tag + (/[[]/.test(prefix)?"]":""), xml, wgx.createNSResolver(xml), XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue
    var resultNative = xml.evaluate(prefix + tag + (/[[]/.test(prefix)?"]":""), xml, xml.createNSResolver(xml), XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue
    document.write("- [" + (resultWGX===resultNative?"x":" ") + "] " + (resultNative?"+":"-") + " `" + prefix + tag + (/[[]/.test(prefix)?"]":"") + "`
")
  })
})

(EDITTED: the old list was generated by this code, which works on browsers that have no native implementation, but does not compare against the native implementation to automatically identify the few expression combinations that wouldn't work anyway:)
wgxpath.install(window, true)
var src = '<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE Root><Root><Menu ID="11"></Menu></Root>'
var xml = new DOMParser().parseFromString(src, "application/xml")
var prefixes = ["//", "/descendant::", "/descendant-or-self::", "//self::", "//*[self::"]
prefixes = prefixes.concat(prefixes.map(function(prefix) {
  return "/Root" + prefix
}))
prefixes.forEach(function(prefix) {
  ["Root", "Menu"].forEach(function(tag) {
    var result = xml.evaluate(prefix + tag + (/[[]/.test(prefix)?"]":""), xml, xml.createNSResolver(xml), XPathResult.ANY_TYPE, null)
    document.write("- [" + (result.iterateNext()?"x":" ") + "] `" + prefix + tag + (/[[]/.test(prefix)?"]":"") + "`
")
  })
})

Seems to be related to pull request #41.

Thanks -- in any case, I've updated this slightly to report whether WGX matches the native implementation, for the "Root descendant of Root" cases being auto-generated by this method of testing.

In case anyone finds it useful, I've been messing around with case sensitivity issues in some of the descendent code. getElementsByTagName doesn't work properly with namespaced XML, and getElementsByTagNameNS needs the original case of the namespace.
It's not a complete (or very good) fix, but it did get the library working well enough for my specific use case.
https://github.com/dpwatrous/wicked-good-xpath/commit/42d4117c0fab56c30961d6284d77a791c23d4108


Typescript 4.5 + yarn pnp issues

Bug Report
🔎 Search Terms
yarn
yarn3
pnp
berry
cannot find module
🕗 Version & Regression Information
4.5.x

This changed between versions 4.4 and 4.5___

⏯ Playground Link
N/A, view repo below

Playground link with relevant code
💻 Code
Minimal reproducible repo here: https://github.com/billyvg/yarn-pnp-ts-4.5
git clone
yarn
yarn tsc

🙁 Actual behavior
It fails to build: https://github.com/billyvg/yarn-pnp-ts-4.5/runs/4268834214?check_suite_focus=true#step:5:4
migrations/20210209131202_initial-schema.ts:1:22 - error TS2307: Cannot find module 'knex' or its corresponding type declarations.

1 import { Knex } from 'knex';

🙂 Expected behavior
It should build successful. If I change nodeLinker to node-modules (instead of pnp<EMAIL_ADDRESS>works fine. Likewise, downgrading to<EMAIL_ADDRESS>will also work with PnP.

See https://github.com/yarnpkg/berry/issues/3722 (specifically https://github.com/yarnpkg/berry/issues/3722#issuecomment-974634888)

Thanks, closing as this is a yarn issue.


change the pc-sysinstall to set and both refind and ghostbsd efi but default refind if refind is choose.

https://github.com/ghostbsd/pc-sysinstall/commit/fc432e9ec203ec4294afce128067a26684a6861c


EcoCampus: Create weather file for years 2011 - 2016 from NUS data

Create epw weather file from open source NUS data.
https://inetapps.nus.edu.sg/fas/geog/ajxdirList.aspx

All the files downloaded from the website, when opened lead to the following error:
"The file you are trying to open, 'filename.xls' is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
For now, I figured out two ways to deal with this error

Open the file -> Get the error and press 'OK' -> Save the file into 'Excel Workbook' format manually using 'Save As' option

This involves modifying the registry with the following procedure:

If you don’t want to look for a solution, but just want to solve the problem, insert this key in your registry to suppress the notification:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security] “ExtensionHardening”=dword:00000000
You can accomplish the above by doing the following:
Open your Registry (Start -> Run -> regedit.exe)
Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
Right click in the right window and choose New -> DWORD
Type “ExtensionHardening” as the name (without the quotes)
Verify that the data has the value “0″
http://stackoverflow.com/questions/940045/how-to-suppress-the-file-corrupt-warning-at-excel-download

The conversion into either 'xls' or 'xlsx' format is essential as there are a large number of files and appending them manually doesn't make sense. Hence Python is used to append these files, which will accept the above mentioned formats

@JIMENOFONSECA : I am going through the .epw files. I observed that the columns do not have any names associated with them in the file. Is there a legend, which says what each individual column is about?

http://bigladdersoftware.com/epx/docs/8-2/auxiliary-programs/epw-csv-format-inout.html#epw-csv-format-inout

@BhargavaKrishnaSreepathi maybe you can also use this
https://www.advancedrenamer.com/
it's cool. I have used it before

Yes!, check in cea/ utilities/epw reader. Py
That is the name of the columns..
Best, Jimeno
On 28 Feb 2017, at 14:42, Gabriel Happle <notifications<EMAIL_ADDRESS>wrote:
@BhargavaKrishnaSreepathihttps://github.com/BhargavaKrishnaSreepathi maybe you can also use this
https://www.advancedrenamer.com/
it's cool. I have used it before
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/architecture-building-systems/CEAforArcGIS/issues/513#issuecomment-282956603, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIjrghDRP5zalYiC3pH6qPy3Ks__Tfoxks5rg8HlgaJpZM4MMzDc.

For the year 2012: there is data missing from 28/06/2012 to 19/07/2012

2003? Do we need data of all those years? Is not only necessary for the time of the measurements?
Older data we can get with interpolation from meteonorm..
Best, Jimeno
On 28 Feb 2017, at 15:26, BhargavaKrishnaSreepathi <notifications<EMAIL_ADDRESS>wrote:
For the year 2012: there is data missing from 28/06/2012 to 19/07/2012
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/architecture-building-systems/CEAforArcGIS/issues/513#issuecomment-282963233, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIjrgiOjLjMoWZq1lMbfWQxJ5wlJhdWbks5rg8wbgaJpZM4MMzDc.

After discussing with @JIMENOFONSECA, the weather files are to be generated for the year which has the details about the measured energy consumption. As per @gabriel-happle, we have the hourly chiller loads for some parts in 2014, 2016. So effectively we will be requiring the weather data files for 214 and 2016. Do correct me if I missed something

@JIMENOFONSECA which data from the weather file is actually used in the CEA calculation? Could you please make a list?

Go to cea/utilities/epw-reader.py
The values passed are used in the cea tool
In radiation main.py
In demand main.py
Best, Jimeno
On 1 Mar 2017, at 12:12, Gabriel Happle <notifications<EMAIL_ADDRESS>wrote:
@JIMENOFONSECAhttps://github.com/JIMENOFONSECA which data from the weather file is actually used in the CEA calculation? Could you please make a list?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/architecture-building-systems/CEAforArcGIS/issues/513#issuecomment-283239914, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIjrgmTjjfBvkEfdCrDqStUig52OTKsuks5rhPAegaJpZM4MMzDc.

The values passed to the files are as follows:
Radiation.py: 'dayofyear', 'exthorad_Whm2', 'glohorrad_Whm2', 'difhorrad_Whm2'
demand_main.py: 'drybulb_C', 'relhum_percent', 'windspd_ms', 'skytemp_C'
In terms of parameters related to this directly or indirectly are the following:

dayofyear (direct from .epw file)

exthorad_Whm2 (direct from .epw file)

glohorrad_Whm2 (direct from .epw file)

difhorrad_Whm2 (direct from .epw file)

drybulb_C (direct from .epw file)

relhum_percent (direct from .epw file)

windspd_ms (direct from .epw file)

skytemp_C (calculated using 'drybulb_C', 'dewpoint_C', 'skycover'). This leads to the following parameters

dewpoint_C (direct from .epw file)

skycover (depends on 'difhorrad_Whm2' and 'glohorrad_Whm2' already determined from .epw file).

The parameters that are available to us from the NUS data are:
a. Date, Time (Useful for parameter 1)
b. Pressure (not useful for above parameters)
c. Air Temp (?? shall we consider this as wet bulb temp??)
d. Relative Humidity (useful for Parameter 6)
e. Windspeed (Parameter 7)
f. Wind Direction (Should we use this??)
g. Incoming Radiation (Now how to relate this to other radiations, like parameter 3, 4)
h. Rainfall (may be use this for skycover??)

Air temperature is generally the dry bulb temperature
http://www.engineeringtoolbox.com/dry-wet-bulb-dew-point-air-d_682.html

The ratio of 'glohorrad_Whm2' to 'difhorrad_Whm2' varies widely between 1 to 9 (observed in the singapore.epw weather file). The average value for all these cases is '1.795'. If we do not get any other value, we can use this.
There is an alternate way, where we take the average corresponding to each hour of the day and then apply  it to our case. i.e. average of hour 1 of all 365 days and then use it for 2016. I will be working on this till we hear back from SERIS @gabriel-happle: do let me know if you get any information from SERIS

@JIMENOFONSECA : a minor technical glitch. 2016 being a leap year, has one extra day so wherever we had 8760 hours need to be changed to 8784 hours. Shall I do this or for simplicity remove 29th February to maintain 8760 hours while running the 'demand_main' file

This is a good point.
I will keep it 8760 so we can compare to other years.
best,  Jimeno
On 8 Mar 2017, at 11:27 am, BhargavaKrishnaSreepathi <notifications<EMAIL_ADDRESS>wrote:
@JIMENOFONSECAhttps://github.com/JIMENOFONSECA : a minor technical glitch. 2016 being a leap year, has one extra day so wherever we had 8760 hours need to be changed to 8784 hours. Shall I do this or for simplicity remove 29th February to maintain 8760 hours while running the 'demand_main' file
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/architecture-building-systems/CEAforArcGIS/issues/513#issuecomment-284936075, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIjrgiQlrJ28iwrEI8rZiH_rbdW9kiGkks5rjiA0gaJpZM4MMzDc.

Noted. Thanks

Hey @BhargavaKrishnaSreepathi
could you also produce the 2015 weather file.
That is the year we have the most complete electricity data.

PR#621 takes care of this issue, as the PR is merged, the issue is being closed


fix field derive

partially fixes #745
need more tests
cc @kossnikita

Doesn't work with unnamed enumeratedValues
https://github.com/rust-embedded/svd2rust/blob/e3087cceac23e5075b2ddfa5e4cef65a7e873e55/src/generate/register.rs#L604C32-L604C32

In my case it works good

In my case it works good

Could you test yet once, please.

Looks good to me
<field derivedFrom="RELOAD">
  <name>IDR</name>
  <description>Selects, if Reload Register number is incremented, decremented or not modified</description>
  <bitRange>[27:26]</bitRange>
  <access>read-write</access>
</field>

#[doc = "Field `IDR` reader - Selects, if Reload Register number is incremented, decremented or not modified"]
pub use RELOAD_R as IDR_R;
#[doc = "Field `IDR` writer - Selects, if Reload Register number is incremented, decremented or not modified"]
pub use RELOAD_W as IDR_W;

svd2rust 0.30.0 (ee3afce 2023-10-01)


Upgrade stack dependencies

Is your feature request related to a problem? Please describe.
Our stack is currently running some outdated external software, which might cause issues or incompatabilities.
Describe the solution you'd like
Upgrade the following components:

[ ] Bitnami Kafka 15.0.1 -> 16.2.10
[ ] Minio-operator 4.3.7 -> 4.4.17
[ ] Timescaledb 0.10.0 -> 0.11.0
[ ] Grafana 6.21.1 -> 6.29.2
[ ] Redis 16.2.0 -> 16.9.0

Additional context
We should have some automation to notify us on new helm updates

Minio operator will be updated in 0.9.4-prerelease2


Fix TestAdsClusterUpdate/TestEds flake

Add time duration to wait for initial push finished before specific test.
200ms is not enough, add to 2s. And tested 10+ times without any flake.
fixes:  #9864

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hzxuzhonghu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [hzxuzhonghu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/build-tests.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test build-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/build-tests.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test build-tests

prow/istio-pilot-multicluster-e2e.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test istio-pilot-multicluster-e2e

prow/e2e-mixer-no_auth.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-mixer-no_auth

/test e2e-mixer-no_auth

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hzxuzhonghu, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [hzxuzhonghu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test istio-pilot-multicluster-e2e

prow/build-tests.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test build-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/build-tests.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test build-tests

prow/istio-pilot-multicluster-e2e.sh
800e2856b871adbcccd56bfdc2d4343ac5280e56
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Cannot transpile with ng build --prod

Bug, feature request, or proposal:
Unable to transplie projects with --prod using angular-cli.
What are the steps to reproduce?
When running ng build --prod on a project that includes material angular beta 2.00 12, the following errors result.
Building without --prod works.
ERROR in<EMAIL_ADDRESS>l (2,1): Property 'DOCUMENT' does not exist on type 'typeof "C:/Users/ogeva/IdeaProjects/ahem-server/node_modules/@angular/common/common"'.
ERROR in<EMAIL_ADDRESS>(2,1):
Property 'DOCUMENT' does not exist on type 'typeof "C:/Users/ogeva/IdeaProjects/ahem-server/node_modules/@angular/common/common"'.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Windows 10 / Red hat 6.8. ts 6.
ts 2.5.2.
angular 4.4.4.
Is there anything else we should know?

+1

Solved the problem: replace Md prefix with Mat. See the changelogs

Ok, you're right. For some reason mine didn't update to build 12 for real, I still had 11 in node_modules.


require userdata loaded before running install

Signed-off-by: Jacob Payne<EMAIL_ADDRESS>Wait for userdata to load if the loading sentinel exists.
when PR gets merged)*:
Fixes #696

giving it a re-thought. maybe we should move away from having the sentinel in /oem, but instead use /run?

Codecov Report

Merging #742 (7a44307) into master (5a73d1d) will decrease coverage by 0.24%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #742      +/-   ##
==========================================
- Coverage   19.90%   19.66%   -0.24%
==========================================
  Files          18       18
  Lines        1422     1439      +17
==========================================
  Hits          283      283
- Misses       1091     1108      +17
  Partials       48       48

Impacted Files
Coverage Δ

internal/agent/install.go
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add support for Net35

This PR introduces support for net35 targets. Nuget packages have been updated accordingly.

The following issue prevents the creation of an FsPickler.CSharp package that targets net35.
https://github.com/fsharp/fsharp/issues/430


Bump chart.js dependency to 2.7.*

We have been running on the latest chartjs version now for a while with no issues, seems fine to increase version to 2.7.*.

Just added #49


Library keep flashing or flickering

Steps to reproduce

Open Yokai app.
Open library.
Scroll down at normal speed, which is slow to read title.
Screen keep flickering or flashing.
Selecting a title for moving is interrupt by flashing, making it unselect.

Expected behavior
The screen. When scroll down or up, perfectly without flickering or flashing.
Actual behavior
The screen. When scroll down or up, flickering or flashing and even unselect a selecting title.
Crash logs
No crash so far, just screen bug.
Yōkai version
<IP_ADDRESS>
Android version
Android 14
Device
Xiaomi 12 Pro
Other details
On TachiyomiJ2K v1.7.4, the screen is not flickering or flashing but selecting a title will become unselect randomly. Most often.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have filled out all of the requested information in this form.

Removed the video due to NSFW. But it is a known issue, haven't found the reason why the image keep being unloaded.

Setting phone display to refresh rate 60hz seem to reduce the flickering. I was using Auto before, my phone support up to 120hz.

You can ignore this reply, I'm just taking notes

The reason why it flickers is because the image is loaded from disk instead of memory. Not sure what caused it to not load from memory since the image load from memory just fine when switching between categories (in show only one category configuration).