Fails to setup (can't add Tapo)

Using v 1.2.9
After installing via HACS and performing a HA restart I'm unable to install Tapo via the HA integrations page. The logs after restart show the following.
Log Details (ERROR)
Logger: homeassistant.components.switch
Source: helpers/update_coordinator.py:161
Integration: Switch (documentation, issues)
First occurred: 17:32:35 (4 occurrences)
Last logged: 17:32:35
Error while setting up tapo platform for switch
Traceback (most recent call last):
File "/config/custom_components/tapo/common_setup.py", line 96, in _update_with_fallback
return await self.api.get_state()
File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 88, in get_state
state=await self.get_state_as_dict(),
File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 212, in get_state_as_dict
return await self._execute_method_request(device_info_method)
File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 224, in _execute_method_request
dim_encrypted = self.tp_link_cipher.encrypt(jsons.dumps(method))
AttributeError: 'NoneType' object has no attribute 'encrypt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/tapo/common_setup.py", line 90, in _async_update_data
return await self._update_with_fallback()
File "/config/custom_components/tapo/common_setup.py", line 99, in _update_with_fallback
await self.api.login()
File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 84, in login
await self._login_request(self.username, self.password)
File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 166, in _login_request
logger.debug(f"Will login using username '{username[5:]}...'")
TypeError: 'NoneType' object is not subscriptable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/tapo/common_setup.py", line 92, in _async_update_data
raise UpdateFailed() from exception
homeassistant.helpers.update_coordinator.UpdateFailed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/tapo/switch.py", line 28, in async_setup_platform
coordinator = await setup_tapo_coordinator_from_dictionary(hass, config)
File "/config/custom_components/tapo/common_setup.py", line 31, in setup_tapo_coordinator_from_dictionary
return await setup_tapo_coordinator(
File "/config/custom_components/tapo/common_setup.py", line 57, in setup_tapo_coordinator
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 161, in async_config_entry_first_refresh
raise ex
homeassistant.exceptions.ConfigEntryNotReady

I think this issue is related to Home Assistant 2022.3
I downgraded my server to Home Assistant 2022.2.9 and the issue is gone

Isn't this issue related to Home Assistant 2022.3 ?

Sorry for my previous comment/delete comment :)
I tested my tapo integration with home assistant 2022.2.9 and 2022.3.1 (with ~ 6 bulbs and 8 switches)
The integration works perfectly with 2022.2.9 but failed to initialize with 2022.3.1
So I think this issue is related to the new 2022.3 version
Thanks

Using v 1.2.9
After installing via HACS and performing a HA restart I'm unable to install Tapo via the HA integrations page. The logs after restart show the following.
Log Details (ERROR) Logger: homeassistant.components.switch Source: helpers/update_coordinator.py:161 Integration: Switch (documentation, issues) First occurred: 17:32:35 (4 occurrences) Last logged: 17:32:35
Error while setting up tapo platform for switch Traceback (most recent call last): File "/config/custom_components/tapo/common_setup.py", line 96, in _update_with_fallback return await self.api.get_state() File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 88, in get_state state=await self.get_state_as_dict(), File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 212, in get_state_as_dict return await self._execute_method_request(device_info_method) File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 224, in _execute_method_request dim_encrypted = self.tp_link_cipher.encrypt(jsons.dumps(method)) AttributeError: 'NoneType' object has no attribute 'encrypt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/config/custom_components/tapo/common_setup.py", line 90, in _async_update_data return await self._update_with_fallback() File "/config/custom_components/tapo/common_setup.py", line 99, in _update_with_fallback await self.api.login() File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 84, in login await self._login_request(self.username, self.password) File "/usr/local/lib/python3.9/site-packages/plugp100/api.py", line 166, in _login_request logger.debug(f"Will login using username '{username[5:]}...'") TypeError: 'NoneType' object is not subscriptable
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh self.data = await self._async_update_data() File "/config/custom_components/tapo/common_setup.py", line 92, in _async_update_data raise UpdateFailed() from exception homeassistant.helpers.update_coordinator.UpdateFailed
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/tapo/switch.py", line 28, in async_setup_platform coordinator = await setup_tapo_coordinator_from_dictionary(hass, config) File "/config/custom_components/tapo/common_setup.py", line 31, in setup_tapo_coordinator_from_dictionary return await setup_tapo_coordinator( File "/config/custom_components/tapo/common_setup.py", line 57, in setup_tapo_coordinator await coordinator.async_config_entry_first_refresh() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 161, in async_config_entry_first_refresh raise ex homeassistant.exceptions.ConfigEntryNotReady

Try to remove and install again. Seems an error related to wrong config entry, have you a set a device in configuration.yaml before installing the integration and restarting? Or have you add a device via UI?

Hello,
Same for me
Using v 1.2.9 with HAOS 2022.3.2
Install via HACS and perform a HA restart (and a full reboot in case of), unable to find Tapo via the HA integrations page for install.

I tried to update my HAOS to 2022.3.3 again but I got the same error(for existing setup) , not sure if it's related to this issue or not :
`Logger: homeassistant.util.package
Source: util/package.py:99
First occurred: 8:56:18 AM (3 occurrences)
Last logged: 8:58:07 AM
Unable to install package plugp100==2.1.13b1: error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [30 lines of output] Testing support for clang Target does not support clang Testing support for gcc Target does not support gcc Testing support for stdint.h header Target does not support stdint.h header Testing support for 128-bit integer Target does not support 128-bit integer Testing support for cpuid.h header Target does not support cpuid.h header Testing support for intrin.h header Target does not support intrin.h header Testing support for posix_memalign Target does not support posix_memalign Testing support for memalign Target does not support memalign Testing support for SSE2(intrin.h) Target does not support SSE2(intrin.h) Testing support for SSE2(x86intrin.h) Target does not support SSE2(x86intrin.h) Testing support for SSE2(emmintrin.h) Target does not support SSE2(emmintrin.h) Warning: compiler does not support AESNI instructions Warning: compiler does not support CLMUL instructions running bdist_wheel running build running build_py running build_ext building 'Crypto.Hash._MD2' extension error: command 'gcc' failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycryptodome error: subprocess-exited-with-error × Running setup.py install for pycryptodome did not run successfully. │ exit code: 1 ╰─> [32 lines of output] Testing support for clang Target does not support clang Testing support for gcc Target does not support gcc Testing support for stdint.h header Target does not support stdint.h header Testing support for 128-bit integer Target does not support 128-bit integer Testing support for cpuid.h header Target does not support cpuid.h header Testing support for intrin.h header Target does not support intrin.h header Testing support for posix_memalign Target does not support posix_memalign Testing support for memalign Target does not support memalign Testing support for SSE2(intrin.h) Target does not support SSE2(intrin.h) Testing support for SSE2(x86intrin.h) Target does not support SSE2(x86intrin.h) Testing support for SSE2(emmintrin.h) Target does not support SSE2(emmintrin.h) Warning: compiler does not support AESNI instructions Warning: compiler does not support CLMUL instructions running install /usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_ext building 'Crypto.Hash._MD2' extension error: command 'gcc' failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: No metadata found in /usr/local/lib/python3.9/site-packages error: legacy-install-failure × Encountered error while trying to install package. ╰─> pycryptodome note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Setup failed for custom integration tapo: Requirements for tapo not found: ['plugp100==2.1.13b1'].
8:58:07 AM – (ERROR) setup.py`

After removing and reinstalling it it appeared for me as well.


Refs #28643 -- Added MD5 database function.

Ticket 28643.

buildbot, test on oracle.

Brutte hadfro Des casdan

@charettes @pope1ni Thanks for reviews :+1: . I updated PR.

buildbot, test on oracle.

buildbot, test on oracle.

buildbot, test on oracle.


Weird missing user icon

I commenter on my game has a missing user icon:

And that looks quite bad in the feed. Should it not revert back to the default icon instead? It seems persistent and specific so I don't think it has anything to do with cache and failed loads.

In case it helps debugging, the same happens for my account:

(https://ldjam.com/events/ludum-dare/46/genamoeba/ldjam-46-jingle)
The corresponding image tag does not seem to have a src attribute:
<img alt="winniehell's avatar image">

On the top right I see this:

That image is https://static.jam.vg///content/dc4/2/z/9113.jpg.40x40.fit.png which returns an error 500 and a JSON response:
{
  "status": 500,
  "message": "PROC ERROR [99]: ",
  "data": {
    "user": 9421,
    "asset": {
      "width": 500,
      "height": 500,
      "mime": "image/jpeg",
      "size": 154399
    }
  }
}

On my profile I see the default icon (https://static.jam.vg/content/internal/user64.png):

I set my avatar on 2017-08-03 and did not change it since then in case that helps narrowing done the error.

That image is https://static.jam.vg///content/dc4/2/z/9113.jpg.40x40.fit.png which returns an error 500 and a JSON response:

It looks like https://static.jam.vg///content/dc4/2/z/9113.jpg works. :thinking:

That image is https://static.jam.vg///content/dc4/2/z/9113.jpg.40x40.fit.png which returns an error 500 and a JSON response:

It looks like https://static.jam.vg///content/dc4/2/z/9113.jpg works. 🤔

Also changing png to jpg works https://static.jam.vg///content/dc4/2/z/9113.jpg.40x40.fit.jpg

#1410

I wrote a quick script to check to see which accounts have broken 64x64 avatars. https://gist.github.com/zwrawr/b2f11dbb48e8a039f63a075b0a427707#file-brokenimg-py
Here is a list of all (maybe?) accounts with the issue. There is 250 of them.
https://gist.github.com/zwrawr/71ace267afa341a377499e9d6fcd237e
Adding .$cmd. to this message would report what is failing.
https://github.com/ludumdare/ludumdare/blob/a0e98b4f28f3064730253e637f08d9e0c678c730/public-static/content.php#L158
A secondary bug seems to be going on with the extensions

163437, old-guy, https://static.jam.vg/content/d6e/72/z/25419.image/x-icon, https://static.jam.vg/content/d6e/72/z/25419.image/x-icon.64x64.fit.png
this seems to have the extension .image/x-icon which is a mime type.

10875, felipe-nanni,   https://static.jam.vg/content/b7a/2/z/4f05.image/bmp, https://static.jam.vg/content/b7a/2/z/4f05.image/bmp.64x64.fit.png
This has .image/bmp

73837, trypants, https://static.jam.vg/content/d60/21/z/f423.application/octet-stream, https://static.jam.vg/content/d60/21/z/f423.application/octet-stream.64x64.fit.png
This has .application/octet-stream

Resolved by #1988.


Add bira-squared theme

Signed-off-by: Bryan Stone<EMAIL_ADDRESS>

Sorry, didn't read CONTRIBUTING thoroughly.


[Package Request]: Google Desktop

Package Requested

[X] I would like someone else to build the manifest.
[X] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a script file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Google
Publisher Url: google.com
Package Name: Google Desktop
Description: Widgets on the desktop with Google
Package Version: "latest"
Installer URL: http://dl.google.com/dl/desktop/R/en/GoogleDesktopSetup.exe
Current Package Identifier (for new versions):
???

did it!


Fixes #2870 - Use the container IP for HCs only if an IP address was requested

Please add a log statement (warning) in case the appId/version can not be found.

@aquamatthias thanks for the review! I hopefully addressed all your comments.

LGTM - Thanks!


refacto: don't init for-loop iterators

As 0 is already the default value for uint* variables, setting it to 0 is unnecessary.

Initializing to zero is more explicit and the optimizer handles this, thanks though!


Feature Request: releaseinfo , companycredits

would be good to have these routes too: companycredits and releaseinfo

Consider adding it yourself and send a PR.


Revert "Convert bucketstats "bucket" Add() func to also keep an accurate runn…"

Reverts swiftstack/ProxyFS#464

As I made clear in multiple comments on Slack yesterday, where I also explained the cost trade-offs, I disagree with increasing the CPU cost of adding to a bucketstat by 50 - 100% to get slightly more accurate averages and totals.
Therefore, I'm reverting this change.
If you want to create a new type that does this, perhaps BucketLog2RoundAccurateTotal, that would be fine. That would allow the user to make the relevant trade-off of CPU cost and accuracy depending on their needs.
You can use the same unit tests for BucketLog2Round to test BucketLog2RoundAccurateTotal, and just add another test that verifies the total and average are more accurate (the BucketLog2Round tests already verify its +/- 10%).

I guess we could converse here... but perhaps others not aware of this PR might miss it :-) so I responded in channel


Cannot install nextest using cargo

The following error was encountered by our CI (https://github.com/paritytech/jsonrpsee/pull/799).
Managed to reproduce the issue locally using cargo install, but the repo seems to compile fine for my version, as well as guppy.
Steps to Reproduce
cargo install  cargo-nextest --force --root ~/Workspace/tmp/
   Compiling webpki-roots v0.22.3
   Compiling guppy v0.14.2
error[E0277]: the trait bound `Box<str>: From<Edition>` is not satisfied
   --> /Users/lexnv/.cargo/registry/src/github.com-1ecc6299db9ec823/guppy-0.14.2/src/graph/build.rs:328:42
    |
328 |                 edition: package.edition.into(),
    |                                          ^^^^ the trait `From<Edition>` is not implemented for `Box<str>`
    |
    = help: the following implementations were found:
              <Box<str> as From<&str>>
              <Box<str> as From<Cow<'_, str>>>
              <Box<str> as From<std::string::String>>
              <Box<(dyn StdError + 'a)> as From<E>>
            and 26 others
    = note: required because of the requirements on the impl of `Into<Box<str>>` for `Edition`

error[E0599]: no method named `into_boxed_str` found for enum `Edition` in the current scope
   --> /Users/lexnv/.cargo/registry/src/github.com-1ecc6299db9ec823/guppy-0.14.2/src/graph/build.rs:519:45
    |
519 |                     edition: target.edition.into_boxed_str(),
    |                                             ^^^^^^^^^^^^^^ method not found in `Edition`

Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `guppy` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
    Building [======================>  ] 274/290: zstd-sys(build), rustls, config, clap

Details
cargo -V
cargo 1.61.0 (a028ae42f 2022-04-29)

rustc -Vv
rustc 1.61.0 (fe5b13d68 2022-05-18)
binary: rustc
commit-hash: fe5b13d681f25ee6474be29d748c65adcd91f69e
commit-date: 2022-05-18
host: aarch64-apple-darwin
release: 1.61.0
LLVM version: 14.0.0

Here's a workaround:
cargo install --locked cargo-nextest

It's also possible to specify exact version to avoid further surprises: cargo install --locked<EMAIL_ADDRESS>Huge thanks to developers of cargo-nextest for including Cargo.lock into the package!

I've updated the documentation to recommend --locked: https://github.com/nextest-rs/nextest/commit/f8fc8ae820524f6171868c384654f94e5655d79a
The upstream change also looks buggy, unfortunately: see https://github.com/oli-obk/cargo_metadata/issues/182.


Neither Single nor Multi object model training works

When running Single object model training: according to documentation in NGDF Training
ros@rusalka:~/NGDF$ bash scripts/train/perobj_Bottle.sh

It produces the following error
/home/ros/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 1.13.1-unknown is an invalid version and will not be supported in a future release
  warnings.warn(
ngdf/train.py:32: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
usage: train.py [--help] [--hydra-help] [--version] [--cfg {job,hydra,all}] [--resolve] [--package PACKAGE] [--run] [--multirun] [--shell-completion] [--config-path CONFIG_PATH]
                [--config-name CONFIG_NAME] [--config-dir CONFIG_DIR] [--experimental-rerun EXPERIMENTAL_RERUN] [--info [{all,config,defaults,defaults-tree,plugins,searchpath}]]
                [overrides [overrides ...]]
train.py: error: unrecognized arguments: --experiment_yml=perobj_Bottle --data_root=/home/thomasweng/projects/ngdf/data --project_root=/home/thomasweng/projects/ngdf
ros@rusalka:~/NGDF$

When running multiobject
ros@rusalka:~/NGDF$ bash scripts/train/multobj_Bottle.sh

I get a similar error
/home/ros/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 1.13.1-unknown is an invalid version and will not be supported in a future release
  warnings.warn(
ngdf/train.py:32: UserWarning:

The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1

usage: train.py [--help] [--hydra-help] [--version] [--cfg {job,hydra,all}] [--resolve] [--package PACKAGE] [--run] [--multirun] [--shell-completion] [--config-path CONFIG_PATH]
                [--config-name CONFIG_NAME] [--config-dir CONFIG_DIR] [--experimental-rerun EXPERIMENTAL_RERUN] [--info [{all,config,defaults,defaults-tree,plugins,searchpath}]]
                [overrides [overrides ...]]
train.py: error: unrecognized arguments: --experiment_yml=multobj_Bottle --data_root=/home/thomasweng/projects/ngdf/data --project_root=/home/thomasweng/projects/ngdf
ros@rusalka:~/NGDF$

Hi Pau, thanks for raising the issue. You may need to pull the latest code, as this commit replaced the hard-coded paths that you encountered for --data_root for example, sorry about that. With the latest code, do you still get the unrecognized arguments error? It may be a bug I haven't caught yet.

Single object model training: works perfectly rebasing to last commit, appologies for that!
The multiobject doesn't because of this error:
OSError: Unable to open file (unable to open file: name = '/home/ros/NGDF/scripts/train/../../data/acronym_multobj/grasp-dataset/dataset.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

But I couldn't find the acronym_multobj dataset.


Exposed filesystem in production

It seems the filesystem is still exposed in production. Same goes for flush-chunks-boilerplate-webpack even though it uses webpack.HashedModuleIdsPlugin().

Your wish has been granted. React Hot Loader was running in production, which also displays module paths.

Great! The no_css.js files are okey. However it is still exposed in the .js files.

Confirmed.
That's a challenging one. I'd think it would be the other way around and the .no_css.js files were the ones not getting fully transformed since they are the ones I clone and do something different than normal with:
https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/blob/master/index.js#L367
...I'm hoping this is some easy fix in configuration I'm missing, as the plugin is very difficult to work with.

well, i found the issue. it's been a while since i made. it's in fact the .js files where im doing more work, since im changing them to have custom style injection even tho the css-related stuff was meant to be stripped out. i manually re-add the code that uses style-loader. i'll probably be able to get a fix out for this soon (hopefully before something ur building with it reaches production ;))

Just so you know we're going to go a different better direction. I've made a babel plugin that transforms import() into Promise.all([import(), fetchCss()]).
There have been speed issues in compilation, and not having to create no_css.js files is a big win.
It's also a big win in that now development is identical to production: you always embed your stylesheets in the DOM. That means less unforeseen problems taking your app to production. There is no more style-loader usage. The spreadsheets simply update as new ones come over the wire in HMR.
So this will eliminate all issues related to exposing your file system in js chunks since we barely touch them (we only inject public css file names in the module.hot.accept code for HMR).
Thoughts?


[MariaDB] Laravel Specific Key Was Too Long

Executing the command php artisan laravel-admin:install you have this error:
1071 Specified key was too long; max key length is 767 bytes

This is the solution:
namespace App\Providers;

use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
        Schema::defaultStringLength(191);
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}

You must use a newer mysql version.

I had the same problem with latest version of Mariadb. I solved it in this way.

Guys there is nothing to do with this package. You need to solve by your own.

"Guys there is nothing to do with this package. You need to solve by your own." You must be dedicated to sending people running away from Laravel and to Yii2 where there is at least some support. This says, "Don't expect any support whatsoever to develop in Laravel." Developers the world over use Xampp which for extremely good and totally excellent reasons ditched Oracle MySQL like the dirt it is and went to MariaDB, the only one of the two acceptable to the Open Source community.
After years developing in Yii2, I decided to try Laravel.  Oh well, just a little time wasted. Back to Yii2.


Fix incorrect entryId in warn log when reading entry from tiered storage

Motivation
When read offload data failed, it prints a warn log. However, the actual read entryId doesn't print correctly, which will makes hard to debug.
WARN  org.apache.bookkeeper.mledger.offload.jcloud.impl.BlobStoreBackedReadHandleImpl - Read an unexpected entry id [] which is smaller than the next expected entry id 49648, seeking to the right position

Modification

Print correct actual entryId

@hangc0276 seems that we do not update docs for this PR？

@hangc0276 seems that we do not update docs for this PR？

@Anonymitaet  Yes, it doesn't need doc updates.


fix owo-colors dep

doesn't bump dependency

going to wait for action in https://github.com/jam1garner/owo-colors/issues/82


How Do You Use This?

Do you have to create a HTML page in order for these scripts to function. What is the process that you have to take in order to use this module? Please describe.

Yeah, how do you use this? Docs are not clear.


Unhashable type error when destructive option is enabled

Can't get my head around why this is happening. The write functions in the csvhelper.py appear to be similar but when I want to output just the unique records, I get an 'unhashable type: numpy.ndarray'.
Traceback (most recent call last):   File "c:\python34\lib\runpy.py", line 170, in _run_module_as_main     "__main__", mod_spec)   File "c:\python34\lib\runpy.py", line 85, in _run_code     exec(code, run_globals)   File "C:\Python34\Scripts\csvdedupe.exe\__main__.py", line 9, in <module>   File "c:\python34\lib\site-packages\csvdedupe\csvdedupe.py", line 148, in launch_new_instance     d.main()   File "c:\python34\lib\site-packages\csvdedupe\csvdedupe.py", line 137, in main     write_function(clustered_dupes, self.input, output_file)   File "c:\python34\lib\site-packages\csvdedupe\csvhelpers.py", line 107, in writeUniqueResults     cluster_membership[record_id] = cluster_id TypeError: unhashable type: 'numpy.ndarray'
Anyone else face this issue? Any workarounds? Thanks

I think this should fix your issue? https://github.com/datamade/csvdedupe/commit/fa3690a8f4c9d9f3de7e0a8f4d2c282ddc54a338
Can you clone from github and confirm?

Perfect. This solved it. Also, it helped me understand the code better.


Use different conda/python environments for different pipelines

Is your feature request related to a problem? Please describe.
Each pipeline requires a specific package requirements. We cannot share an environment among pipelines because of conflicts (E.g. some packages require numpy<=1.19 while others require numpy>=1.20.
Current mage-ai version does not support to assign an environment for a specific pipeline.
I think it's good to have this feature.
Hope to hear some responses from authors.

👀

@congvmit so sorry for the delay. We are working on this!

I don't mean to be a hassle but just really curious about the progress on this. I can't use the following programs for these reasons:

Elyra, because they don't allow this control for an on-premise case.
Orchest, because they don't have GPU support in their environments. But otherwise have all the features I need.
Airflow, because all nodes are still contained in one script.
Creating and Running custom docker images(w/GPU support) along with each node/script would be a dream come true.

Mage is awesome, but this is a fundamental issue in my opinion.
For example, in Kestra the user can specify the conda environment to run a task like this:
tasks:
  - id: hello
    type: io.kestra.plugin.scripts.python.Commands
    runner: PROCESS
    beforeCommands:
      - conda activate myCondaEnv
    commands:
      - python /Users/you/scripts/etl_script.py

This is also very convenient because you don't have to create a new environment and install packages again, which may take a lot of time. You can just use the already existing Conda environments.
So I have a couple of questions if I may, @tommydangerous :
(1) Is there a workaround to run beforeCommands in Mage pipelines?
(2) I see that Mage works with requirements.txt to install pip packages but does it support environment.yml to install Conda packages too?
Thank you

Is there an update or plan for this enhancement? I agree it's crucial to handle library requirements at the pipeline level.

We're working on this feature this week. Here is a similar ticket: https://github.com/mage-ai/mage-ai/issues/4260

If you could choose python environment in the kernel drop down that would be fantastic. Looking forward to this feature!

Any updates on this topic ?

Any updates?
We are considering to adopt Mage in our organisation, but this feature is a requirement. Good dependency management seems like a fundamental feature

this feature is a requirement

Same here, the lack of this feature is the only thing preventing me from adopting Mage.

+1 on this feature. Having the ability to create several separate environments (venv/conda) and selecting which to use per pipeline is a must have. As already stated, several packages are ornery (looking at you Prophet) and require specific package version to play nice. Having pipelines default to one env but have the ability to select a different one when editing pipeline would be a game changer.

We're revamping our kernel to support this feature.

bump

So this feature is on the roadmap now?


delete container images

Hi,
I am just wondering where to delete container images pulled by microk8s?

Hi @linxuyalun
MicroK8s packages containerd and this is where images are pulled in.

COMMANDS:
     check       check that an image has all content available locally
     export      export an image
     import      import images
     list, ls    list images known to containerd
     pull        pull an image from a remote
     push        push an image to a remote
     remove, rm  remove one or more images by reference
     label       set and clear labels for an image

OPTIONS:
   --help, -h  show help

You may also want to take a look at https://microk8s.io/docs/working where we describe how to work with images/registries and this comment https://github.com/ubuntu/microk8s/issues/382#issuecomment-488229576 describing how to remove an image from the local registry.

Oh, thanks!
That's what I need

Is there any option to remove all of the images ?

Is there any option to remove all of the images ?

@adharshmk96, you may want to look at https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/

Is there any option to remove all of the images ?

@adharshmk96, you may want to look at https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/

@ktsakalozos , I couldn't understand. I'm very new to this stuff.. if you don't mind I'd like some guidance

Sure, kubelet periodically tries to free up the space occupied by images that are not in use (garbage collection). You can configure kubelet to be more or less aggressive via the configuration arguments shown in [1, 2].
You can edit the file /var/snap/microk8s/current/args/kubelet to configure the garbage collection based on your needs. After editing the kubelet args file you will need to restart MicroK8s with microk8s.stop; microk8s.start.


tweaked Travis config to not try Galaxy upload for forks

The last step in the Travis CI config automatically tries to update the Galaxy TS if a build passes, but this isn't possible for forked repos and results in a failed build. This complicates testing of bug fixes, etc prior to submitting a PR.
This PR adds an additional check to make sure the build is under the main repo before trying the Galaxy update. Obviously I can't check that it works for you -- just that it prevents CI failure in my fork.

@jvolkening never work on the master branch :)
If you work on feature branches you can simply avoid this problem.

Fair enough, thanks. Will close PR.


Profile GitHub link is broken

When I clicked the GitHub link in your profile, I was redirected to a 404 page.

It seems the URL:https://github.com/Zelgius is broken.
https://github.com/MasonEgger/website/blob/0823e45ca1fd2998df780156e20ca2da03fee699/config.toml#L80
Changing it to https://github.com/MasonEgger seems to work.
FYI
Searched https://github.com/Zelgius in this repository, then found 1 link: https://github.com/Zelgius/Infrastructure-As-Code-Intro
https://github.com/MasonEgger/website/blob/0823e45ca1fd2998df780156e20ca2da03fee699/content/speaking/minimal-infra.md#L26
This link works fine, redirect to https://github.com/MasonEgger/Infrastructure-As-Code-Intro
P.S.
Your talk about context managers in ChiPy was great, thanks!

Thanks for finding this!


many improvements to language fr_FR

French is my mother tongue.
I also completed some missing translations

I just saw you were using Transifex, will update messages there


Extension service wizard fixes

Overview
This change cleans up the extension service wizard. In particular,
Allow one folder quick selection for all files to be created
Fix registrar constructor from obsolete to valid in template
Fix supported platforms to be -1 when everything
Added MRTK logo to window and tab icon
Added progress bar instead of ellipsis for async
General polish and code clean up (use scopes, better disables, rich text logging, use string building and string formatting instead of concatenation and more)
Changes

Fixes: #6776 , #6775 , #6774

Verification

As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run

I launched the wizard and it entered this state when I typed a character into the service name field. Not sure if this is a regression. It's fine so long as 'Service' remains the suffix.

Otherwise works great. Nice move serializing the actual folder objects to the persistent state. Works really well.

@Railboy good catch! Fixed the issue

/azp run

/azp run


Generic type parsing does not work properly

The following code produces an error although it has correct syntax.
public class AnyRepository<RealmObject: Object>: AnyRepositoryProtocol {
    @Weaver(.reference)
    private var realmProvider: RealmProvider
}

Error: Invalid token ':' in type 'AnyRepository<RealmObject: Object>: '.

Simple workaround defining constraints like the below;
public class AnyRepository<RealmObject>: AnyRepositoryProtocol where RealmObject : Object {

The workaround can be applied by defining constraints as follows.
public class AnyRepository<RealmObject>: AnyRepositoryProtocol where RealmObject : Object {

Fixed by #142


Allow State to be extended

[ ] Create function lab must accept a class
[ ] Be sure that State class variables have right access specifier
[ ] Write test case
[ ] Document in readme

https://chat.openai.com/share/49aa9466-2000-481c-bdc3-f82446ce90e2
Here's an example of what I am thinking.


nixos/yubikey-agent: add missing mkIf

This accidentially added pkgs.yubikey-agent to
environment.systemPackages unconditionally.
Add the missing mkIf cfg.enable to only do when the module is enabled.
Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thank you! ❤


how to push the OSM data to Postgress installed machine from local machine ?

we have pogtgres server separately. now we want to push the OSM data (PBF data) to the postgres server(another machine) via docker from the local machine .we installed docker in local machine. how to sent the data ?

any update on this ?

Not 100% sure what you mean, but you could set the connection in your local.php: https://github.com/mediagis/nominatim-docker/blob/bd9e01a6ea9b8a86cb3a57ac02047ce86d75e263/3.5/local.php#L12
Would work a bit different in 3.6, since the way we work with the config file changed. If this doesn't help or is still unsolved, feel three to reopen the issue, thanks!


replace JsonLint

Pull Request Test Coverage Report for Build 1349

33 of 33 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1345:
0.0%

Covered Lines:
952

Relevant Lines:
952

💛  - Coveralls


Representation of Depth-wise convolution

Hello,
Thanks for providing so powerful infrastructures and informative tutorials.
As the exercises take the standard convolution as examples, but compact convolutions are becoming more favorable in mobile lightweight models like depth-wise convolution. So how can I represent depth-wise convolution in timeloop?  Thanks!

Please see https://github.com/NVlabs/timeloop/issues/22.


Add support for Unicode roman numerals.

Impact

[ ] Bug fix (non-breaking change which fixes expected existing functionality)
[x] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Modify the javacc SimpleSqlGrammar.jj file adding support for roman numerals as defined in the "Number Forms" Unicode block.
Fixes #4107.
Things to be aware of
Nothing.
Things to worry about
Nothing.
Additional Context
Is it necessary to define a new token block?
Tests are pending.

Hi @jccampanero, could you please share some more details on how to reproduce #4107, I was trying to add some tests but I realised I was needing some more context. I tried by first creating a table with a single year column (int type), and then tried performing some inserts into it by adding values like "IIIII" and "MMXXIII" expecting they were going to be parsed and inserted as integers, but got a DatabaseException:
Data conversion error converting "'IIIIIIIII' (ROMANNUMBERSTEST: ""year"" INTEGER)"; SQL statement:
INSERT INTO PUBLIC.romanNumbersTest ("year") VALUES ('IIIIIIIII')```

Were you able to reproduce this issue? Any specific DB or it's applicable to all and it's more a Spring issue?

Thanks,
Daniel.

Hi @MalloD12.
Well, honestly, when I created the PR I just changed the JavaCC grammar being confident enough that it will solve the problem.
After your comment, I have tried reproducing the issue and I think this is the actual use case (spoiler, I am afraid it isn't what we are expecting for). Please, try the following simple code fragment:
SqlParser.parse("INSERT INTO a VALUES (´Ⅱ´);");

A very important thing to note here is that the "single quotes" are not actually "single quotes", the ones associated with the question mark keyboard key, but those associated with the curly brackets key.
Everything works smoothly if you use usual single quotes.
But when you use this kind of "single quotes" the strange thing is that, if we define the symbol in the JavaCC grammar as explained in the PR, everything works properly and the error disappear.

Hi @MalloD12.
Well, honestly, when I created the PR I just changed the JavaCC grammar being confident enough that it will solve the problem.
After your comment, I have tried reproducing the issue and I think this is the actual use case (spoiler, I am afraid it isn't what we are expecting for). Please, try the following simple code fragment:
SqlParser.parse("INSERT INTO a VALUES (´Ⅱ´);");

A very important thing to note here is that the "single quotes" are not actually "single quotes", the ones associated with the question mark keyboard key, but those associated with the curly brackets key.
Everything works smoothly if you use usual single quotes.
But when you use this kind of "single quotes" the strange thing is that, if we define the symbol in the JavaCC grammar as explained in the PR, everything works properly and the error disappear.
How should we deal with this?

Thank you, @jccampanero! I'll try this out and post it here my results later.

@jccampanero I tried to execute SqlParser.parse("INSERT INTO a VALUES ('Ⅱ');"); with and without your fixed and it worked the same way for me, I couldn't get the reported error in #4107.

@jccampanero I tried to execute SqlParser.parse("INSERT INTO a VALUES ('Ⅱ');"); with and without your fixed and it worked the same way for me, I couldn't get the reported error in #4107.

Hi @MalloD12 Daniel.
In my tests the problem occurs only when using ´Ⅱ´, not 'Ⅱ': please, observe the difference in the quotes.
In a certain way, those kinds of quotes should be supported?

@jccampanero I tried to execute SqlParser.parse("INSERT INTO a VALUES ('Ⅱ');"); with and without your fixed and it worked the same way for me, I couldn't get the reported error in #4107.

Hi @MalloD12 Daniel.
In my tests the problem occurs only when using ´Ⅱ´, not 'Ⅱ': please, observe the difference in the quotes.
In a certain way, those kinds of quotes should be supported?

Does this mean when using ´Ⅱ´ you get the reported error, but you don't when using 'II'? To be honest, I don't know whether these quotes should be used or not. What would be the value of supporting those other quotes? I'm just asking because I think I have never seen SQL examples using them.
@filipelautert @nvoxland do you guys have any other opinion about this?

@jccampanero I tried to execute SqlParser.parse("INSERT INTO a VALUES ('Ⅱ');"); with and without your fixed and it worked the same way for me, I couldn't get the reported error in #4107.

Hi @MalloD12 Daniel.
In my tests the problem occurs only when using ´Ⅱ´, not 'Ⅱ': please, observe the difference in the quotes.
In a certain way, those kinds of quotes should be supported?

Does this mean when using ´Ⅱ´ you get the reported error, but you don't when using 'II'? To be honest, I don't know whether these quotes should be used or not. What would be the value of supporting those other quotes? I'm just asking because I think I have never seen SQL examples using them.
@filipelautert @nvoxland do you guys have any other opinion about this?

Hi @MalloD12.
I completely agree with you, I think that type of quotes don't make sense, they are useless. As I said before, when I implemented the fix, I assumed that the error was present; only when you mentioned that you were unable to reproduce the issue I realized that in fact it is only present when using that type of quotes.
In any case, I think the change still could be valuable: the range of Unicode symbols included are rare but they could may sense in certain applications like those related to math, etc.
Another important point is understand why the parser accepts the symbol if it is not directly supported in the grammar: perhaps, one good test could be inserting the character in an actual database system and see if the symbol is selected as it should.
In any way, as I said, I agree with you, the issue probably shouldn't be considered as such but as an improvement instead, if applicable.

@jccampanero I tried to execute SqlParser.parse("INSERT INTO a VALUES ('Ⅱ');"); with and without your fixed and it worked the same way for me, I couldn't get the reported error in #4107.

Hi @MalloD12 Daniel.
In my tests the problem occurs only when using ´Ⅱ´, not 'Ⅱ': please, observe the difference in the quotes.
In a certain way, those kinds of quotes should be supported?

Does this mean when using ´Ⅱ´ you get the reported error, but you don't when using 'II'? To be honest, I don't know whether these quotes should be used or not. What would be the value of supporting those other quotes? I'm just asking because I think I have never seen SQL examples using them.
@filipelautert @nvoxland do you guys have any other opinion about this?

Hi @MalloD12.
I completely agree with you, I think that type of quotes don't make sense, they are useless. As I said before, when I implemented the fix, I assumed that the error was present; only when you mentioned that you were unable to reproduce the issue I realized that in fact it is only present when using that type of quotes.
In any case, I think the change still could be valuable: the range of Unicode symbols included are rare but they could may sense in certain applications like those related to math, etc.
Another important point is understand why the parser accepts the symbol if it is not directly supported in the grammar: perhaps, one good test could be inserting the character in an actual database system and see if the symbol is selected as it should.
In any way, as I said, I agree with you, the issue probably shouldn't be considered as such but as an improvement instead, if applicable.

Hi @jccampanero, I have tried today your suggestion about trying to insert this character into the DB and couldn't reproduce it either. Let me discuss this with the team and I'll let you know it.
Thanks,
Daniel.

Of course @MalloD12  Daniel, as you need.
Thank you for your support in testing this and other contributions, it is great.

Approved.
Thank you, @jccampanero. After discussing with the team even though we haven't been able to reproduce it and add some test to it, we are ok to move forward with these changes as they look simple and to not hurt being there. I appreciate your contribution and your assistance to help me reproducing and testing this change.
Daniel.

Sorry for the late reply @MalloD12 Daniel.
Thank you very much, I really appreciate it.

Approved.
Thank you, @jccampanero. After discussing with the team even though we haven't been able to reproduce it and add some test to it, we are ok to move forward with these changes as they look simple and to not hurt being there. I appreciate your contribution and your assistance to help me reproducing and testing this change.
Daniel.

Sorry for the late reply @MalloD12 Daniel.
Thank you very much, I really appreciate it.
Thank you very much you too @XDelphiGrl.

No worries @jccampanero. Thank you for all your contributions, they are very appreciated it.
Daniel.


Feature/set router

Fixes https://github.com/MatteoGabriele/vue-gtag/issues/246

@MatteoGabriele Can this be merged please?

@MatteoGabriele Can this be merged please?

:tada: This PR is included in version 1.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Color Info

Perhaps when you click on colors in the pallet in the bottom left, you can get their info. It would show how many pixels of that color there are, show it's hex code, highlight the pixels of that color, save the color as a favorite, and any other info that could be useful. This is a bit more niche, but I had an old mobile pixel app that had this feature and it was pretty useful.

@TheAdvertisement So a color wheel?

Not sure exactly? You can already create pallets, and have a little menu pop up in the pallet. I was thinking you could click on your current colors in the pallet either directly or in the pallet editor, and a little menu would pop up with some extra nerd info for it.

So sort of like when you hover over a color is displays some info about it such as the info, hex code, and if you want to favorite it? I'm not sure the last one is possible though if you're simple hovering over the color. But the idea sounds cool for sure!

Probably the most useful things would be: Highlighting all the pixels of that color, and showing how many pixels of that color you've used. The former would be great for finding that pesky pixel you accidentally used a slightly different shade for.

Probably the most useful things would be: Highlighting all the pixels of that color, and showing how many pixels of that color you've used. The former would be great for finding that pesky pixel you accidentally used a slightly different shade for.

YES, YES PLEASE!! (nice pfp btw)

(nice pfp btw)

ty lol.


fix(jenkins/pipelines/ci/tidb): fix retring for test coverage getting.

fixed #1086

verify link https://ci.pingcap.net/blue/organizations/jenkins/tidb_ghpr_coverage/detail/tidb_ghpr_coverage/3702/pipeline/


win2012 bower update hangs jenkins if bower v1.3.9 or higher

Hi
win2012r2 server with jekins hangs on command 'bower update' if I use version v1.3.9 or higher.
v1.3.8 is fine, but unfortunately some of our packages in many projects fails on older bower.
In different projects it hangs at different places. using the latest from git repository is the same.

Running the same build.bat scrip in cmd.exe/powershell/cygwin as same user work fine.
dumpthread in jenkins shows it is waiting for an interrupt:
"Executor #6 for master : executing Min Side Client #38" Id=8117 Group=main RUNNABLE (in native)
at java.lang.ProcessImpl.waitForInterruptibly(Native Method)
at java.lang.ProcessImpl.waitFor(ProcessImpl.java:448)
at hudson.Proc$LocalProc.join(Proc.java:319)
at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:137)
:
I do not get anything else in the jenkins logs.
I'm quite new to node/npm/bower/grunt so I will appreciate if You can guide me to debug this better. especially if it is possible to get better verbose output of bower update. I suspect it is output or return codes bower do not handle or poorly written modules.
We are not able to reproduce this in win2003.
Thanks
Morten Bjoernsvik, Oslo, Norway

Fresh eyes helped fix this. Turned out it was jenkins using local system account, While I was testing with administrator. forcing jenkins to use administrator fixed this. Obviously the local system account has different settings on win2008 and win2012.

:+1: closing


scripts to generate the captions for S3DIS dataset

Hello !
Can you please provide the link for the scripts for the generation of the captions for S3DIS dataset. because I beileve they are not implemented in the scripts that you shared in Dataset.md file.
I look forward to your response
Thanks

This is the sample code for creating captions and caption indices for ScanNet. It can be easily modified to adapt to S3DIS.
https://github.com/CVMI-Lab/PLA/blob/dev/tools/process_tools/generate_caption.py#L421-L443
https://github.com/CVMI-Lab/PLA/blob/dev/tools/process_tools/generate_caption_idx.py#L224-L241


After build App not running

5.22.14

core 2.2
!-- What target are you building for? -->
win

After build app setup app not found and except of setup there is four folder with many sub files.
There is one app.exe file i run console window is open but app not lunching.

Im getting the same issue with windows.
Ive install everything ,and its targeting dotnet 2.2.402, as i have 3.0 installed as well.
If i run the exe after , it still thinks its needs to be hosted?
c:\Github\electron.net-api-demos>electronize build /target win
Build Electron Application...
Build ASP.NET Core App for win-x64...
Executing dotnet publish in this directory: c:\Github\electron.net-api-demos\obj\desktop\win
Build ASP.NET Core App for win-x64 under Release-Configuration...
Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.
c:\Github\electron.net-api-demos>dotnet publish -r win-x64 -c Release --output "c:\Github\electron.net-api-demos\obj\desktop\win\bin"
Microsoft (R) Build Engine version 16.2.32702+c4012a063 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 39.67 ms for c:\Github\electron.net-api-demos\ElectronNET-API-Demos\ElectronNET-API-Demos.csproj.
ElectronNET-API-Demos -> c:\Github\electron.net-api-demos\ElectronNET-API-Demos\bin\Release\netcoreapp2.2\win-x64\ElectronNET-API-Demos.dll
ElectronNET-API-Demos -> c:\Github\electron.net-api-demos\ElectronNET-API-Demos\bin\Release\netcoreapp2.2\win-x64\ElectronNET-API-Demos.Views.dll
ElectronNET-API-Demos -> c:\Github\electron.net-api-demos\obj\desktop\win\bin
c:\Github\electron.net-api-demos>
Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.
c:\Github\electron.net-api-demos\obj\desktop\win>npm install --production
audited 359 packages in 1.357s
found 0 vulnerabilities
c:\Github\electron.net-api-demos\obj\desktop\win>
Start npm install electron-builder...
Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.
c:\Github\electron.net-api-demos\obj\desktop\win>npm install electron-builder --global
C:\Users\KiwiD\AppData\Roaming\npm\electron-builder -> C:\Users\KiwiD\AppData\Roaming\npm\node_modules\electron-builder\out\cli\cli.js
C:\Users\KiwiD\AppData\Roaming\npm\install-app-deps -> C:\Users\KiwiD\AppData\Roaming\npm\node_modules\electron-builder\out\cli\install-app-deps.js

<EMAIL_ADDRESS>updated 1 package in 4.198s
c:\Github\electron.net-api-demos\obj\desktop\win>
ElectronHostHook handling started...
Build Electron Desktop Application...
Executing electron magic in this directory: c:\Github\electron.net-api-demos\bin\desktop
Create electron-builder configuration file...
Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.
c:\Github\electron.net-api-demos\obj\desktop\win>node build-helper.js
c:\Github\electron.net-api-demos\obj\desktop\win>
Package Electron App for Platform win...
Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.
c:\Github\electron.net-api-demos\obj\desktop\win>electron-builder . --config=./bin/electron-builder.json --win --x64 -c.electronVersion=5.0.8
ΓÇó electron-builder  version=21.2.0 os=10.0.18362
ΓÇó loaded configuration  file=c:\Github\electron.net-api-demos\obj\desktop\win\bin\electron-builder.json
ΓÇó packaging       platform=win32 arch=x64 electron=5.0.8 appOutDir=dist\win-unpacked
ΓÇó default Electron icon is used  reason=application icon is not set
ΓÇó building        target=nsis file=dist\electron.net.host Setup 1.0.2.exe archs=x64 oneClick=true perMachine=false
ΓÇó building block map  blockMapFile=dist\electron.net.host Setup 1.0.2.exe.blockmap
c:\Github\electron.net-api-demos\obj\desktop\win>
... done

Hi, I think you might have the same problem I had (obj files was generated but no binaries/exe). To solve this I reinstalled Electron.CLI.
Try this:
dotnet tool uninstall ElectronNET.CLI -g
dotnet tool install ElectronNET.CLI -g

After the latest patch with .NET Core 3.0 migration they messed sth up, but the latest CLI handles it (at least for me).

Just run into the same issue. Originally I was on CLI version 1.0.0, re-installed it specifying the version number to reflect the documentation, turns out re-installing it without version number got me to version <IP_ADDRESS>. Documentation should be updated.

var menu = new MenuItem[] {
         new MenuItem
        {
            Label = "Open",

    Click = async () => mainWindow = await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions
            {
                Width = 900,
                Height = 700,
}),

},
On minimize my exe store it work properly but problem is here in tray icon right click open option exe open multiple items
how to remove it please help us
On open click I want exe open only one time

Please use the latest version of Electron.NET.
You can find answers to the system tray on gitter:
https://gitter.im/ElectronNET/community


feat: allow overwrite of the parent property with .expand()

Allow overwrite of the parent property with .expand()

Bahahaha


Needs support for ModelForm too

Concept seems great, but I'd need to see support for ModelForm and some template examples before I could use

+1


Provide NativeEndian default for generic Endianity type parameters

Almost all of our code is generic over an Endian type parameter, with the bound where Endian: Endianity.
We should default to the NativeEndianity for these type parameters.
So this
struct Whatever<Endian>
    where Endian: Endianity
{
    ...
}

would become
struct Whatever<Endian = NativeEndianity>
    where Endian: Endianity
{
    ...
}

We could do this all in one go, or incrementally with a PR for a each module at a time. Whatever works for whoever wants to pick this up.

Can I take this?

@Geemili sure thing! Let me know if you have any questions :)

@fitzgen I'm sorry, but I haven't been able to make time for this. If someone else wants to take this issue, they can.

No problem :)

Hi,
I was looking into this and I think this is not an issue anymore with the introduction of the Reader trait.
Most structures that would have benefited from this now look like:
struct Whatever<R>
    where R: Reader
{
    ...
}

The endianity is passed as a parameter to the builder pattern. We can't use optional parameters (yet.. RFC #323), so I assume there's no way of implementing this currently?

Yeah I think you're right. The only place I can see that could still default is on struct EndianBuf, but that doesn't help because it has an endian field now, so would need optional parameters too. Plus I'm not sure that using an optional endian parameter is a good idea when using RunTimeEndian. That might lead to obscure bugs.
We also can't default Reader = EndianBuf<'input, NativeEndian> because of the lifetime parameter.
Thanks for looking into this!


Check and fix the issues found in new unit tests

# BUG: Div zero issue?
0xD4,
(0xF6, 6), (0xF6, 7), (0xF7, 6), (0xF7, 7),

# BUG: ?
0x11,

# BUG: Possible issue with get_effective_address
0xC4,
(0xFF, 3)

C4 is fixed

Will close this for now. Only issue right now (with current test) is IDIV.
Might need a new implementation for it.


Rails 5.2.1 session issues fixes

Fixes to use of ActionParams rather than just hash (undefined method map for ActionController::Parameters).
The encoded_params_for_signature called map on ActionController::Parameters which was being an issue. I believe that the original PR was the correct one #352
ie. We can also enforce the use of to_unsafe_hash on params in validate_signature since the method is supposed to only be called with ActionController::Params but I don't know what it would actually mean in terms of retro-compatibility (prior to strong params) other. The safest way to do it is probably this one.

@rafaelfranca the fix I made this week wasn't working, I had to go back and pick up the previous PR and fix.


refactor(syntax): add explicit enum discriminants to AST related types.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4690
#4682
#4691  👈
#4689
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rzvxa and the rest of your teammates on  Graphite


Stoped working on vscode 1.67.1 version

Hey, I noticed a strange behavior of the plugin on vscode version 1.67.1 (prior to this ver. it was OK). Instead of running in the dedicated "debug console" pane the session starts in the built in terminal. What's more, the debugging stops immediately and you have to input "run" to move forward. Variables and call stack views are empty, the debugging toolbar allows only for stopping or restarting (pause button is inactive). I haven't changed my lauch.json. My config:
    {
        "type": "vgdb",
        "request": "launch",
        "name": "C/C++ Debug Launch - vGdb",
        "program": "${command:cmake.launchTargetPath}",
    },

It might be a problem with vscode itself though, because other debugger plugins misbehave as well. "Error opening terminal: unknown." is often displayed.

Yes; there was a recent regression in 1.67 and multiple extensions which rely on redirecting STDIO in the integrated terminal have stopped working (see https://github.com/microsoft/vscode/issues/148887). From the looks of it, the fix (https://github.com/microsoft/vscode/pull/149284) should be landing next week in 1.67.2. I'll close this once I verify the extension works again with this build.

I've just confirmed the extension works properly on the just-released 1.67.2 build: https://github.com/microsoft/vscode/issues?q=is%3Aissue+milestone%3A"April+2022+Recovery+2"+is%3Aclosed
As such, closing this issue.


[tokenizer] Not returns overflow tokens by default

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Attention: 1363 lines in your changes are missing coverage. Please review.

Comparison is base (bb5073f) 72.08% compared to head (e356f6e) 72.32%.
Report is 912 commits behind head on master.

Files
Patch %
Lines

...va/ai/djl/modality/nlp/generate/TextGenerator.java
2.81%
276 Missing :warning:

.../java/ai/djl/modality/nlp/generate/SeqBatcher.java
0.75%
132 Missing :warning:

...ity/nlp/generate/ContrastiveSeqBatchScheduler.java
2.97%
98 Missing :warning:

...i/djl/modality/nlp/generate/SeqBatchScheduler.java
9.83%
55 Missing :warning:

.../java/ai/djl/modality/cv/BufferedImageFactory.java
40.96%
47 Missing and 2 partials :warning:

...a/ai/djl/modality/nlp/generate/StepGeneration.java
2.04%
48 Missing :warning:

api/src/main/java/ai/djl/ndarray/NDArray.java
43.42%
39 Missing and 4 partials :warning:

...n/java/ai/djl/modality/cv/output/CategoryMask.java
22.00%
39 Missing :warning:

...i/src/main/java/ai/djl/ndarray/NDArrayAdapter.java
71.21%
31 Missing and 7 partials :warning:

.../cv/translator/SemanticSegmentationTranslator.java
37.50%
35 Missing :warning:

... and 76 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2857      +/-   ##
============================================
+ Coverage     72.08%   72.32%   +0.23%
- Complexity     5126     7165    +2039
============================================
  Files           473      708     +235
  Lines         21970    31915    +9945
  Branches       2351     3314     +963
============================================
+ Hits          15838    23082    +7244
- Misses         4925     7254    +2329
- Partials       1207     1579     +372

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


Please update the requirements.txt in examples/sqla/

Hello, I am Soham from Darshan University in India, Gujarat, Rajkot. I am fond of creating web apps in Python, especially in Flask. When I heard about this extension from a Stack Overflow question, I was really amazed, so I decided to give it a try and follow the README file for this project.
In the main README file, there are steps to run an example server. One of these steps is to install modules from examples/sqla/requirements.txt. The problem is that there are no versions specified in that text file (maybe it's handwritten and not using the pip freeze command). Thus, the installed Flask version is modern, and the installed Babel version is old (because there is "Ex" attached to the name). When running the server from run_server.py, it gives this error:
Traceback (most recent call last):
  File "/home/soham/Desktop/random_experiments/flask-admin/examples/sqla/run_server.py", line 1, in <module>
    from admin import app
  File "/home/soham/Desktop/random_experiments/flask-admin/examples/sqla/admin/__init__.py", line 3, in <module>
    from flask_babelex import Babel
  File "/home/soham/Desktop/random_experiments/flask-admin/pyenv/lib/python3.11/site-packages/flask_babelex/__init__.py", line 20, in <module>
    from flask import _request_ctx_stack
ImportError: cannot import name '_request_ctx_stack' from 'flask' (/home/soham/Desktop/random_experiments/flask-admin/pyenv/lib/python3.11/site-packages/flask/__init__.py)

(This is my first issue by the way...)

Seems to be the same as issue #2413

Closing as duplicate of #2413


docs: document content creation

I wouldn't say this is a bug, it's just not clear what the user would want to do with it. Do you think it should be there for all pages regardless?

I didn't label it as a bug, it's just something that has been asked during user sessions. How can we create other pages?

That's demonstrated in the posts section, we should probably mention that in the readme

[ ] Add instructions in the readme about content creation

This is mentioned in this PR https://github.com/tinacms/tinacms.org/pull/862


fix: update https redirection method

Today I started noticing warnings like this in Traefik logs:
SSLRedirect is deprecated, please use entrypoint redirection instead.

Indeed the redirection method we were using is deprecated. I changed it for the most similar one.

Can you check the tests?

I think it should be OK now.

Thanks!


Fix basic auth

Closes #1400
Closes #1406
Closes #1407
Fixes #1409
Fixes #1412
Again on top of the previous 3 PRs. @nylen I think we should release a new version after this fix goes in.

@nylen I think only the last commit here needs review, since @seanstrom reviewed the rest of the commits.

@simov this looks awesome, sorry I couldn't help review sooner (like @nylen I'm in the middle of switching jobs). Love the move to modularize but I'm still super wary to give every plugin a blank check to monkey patch the request object. Understanding the request state and chasing bugs around is going to be much more difficult for everyone after a change like this (and it was already pretty difficult before).
Sounds like I'm late to the review party, so don't let me get in the way of merging this. But I'd still like us to look into how we can build some structure/rules into this plugin system to help protect contributors from introducing conflicts all willy-nilly :)

Think about these 4 request modules as Express middlewares, where res.locals is called self.request in our case. Plus that may change, but we can't just magically switch from code base written in one file to something perfect, unless we start a new project from scratch probably. The refactoring should be made over the time, and since it was not, we'll need some time to get there.

Anyone I think we should merge this soon, @nylen ?

The express middleware analogy might be where I'm having trouble with this then. The idea of functions sending request/response state down a middleware waterfall is very different from plugins all modifying the same parent object. While the potential for conflicts are present in both, middleware is very linear (one direction) and restricted (req/res state only) while this new system goes around in different loops & paths (redirects, gzip, etc.) and has no restrictions (each can modify whatever on the request object).
I'm not advocating for more work, just that we do that work in a thoughtful way. This is a really good first step, and I'd much rather see this than nothing. But I've been burned by this thinking almost every time, where some half-measure is implemented as a first step but the second, third, etc. steps never actually happen. I'm only asking that we spend some time now or immediately after merging to think about how this system could be improved to be safer and more maintainable.

I know about the state problem, in fact everyone does, and I was the one advocating for proper capsulation in the first two modules https://github.com/request/request/pull/1360 and https://github.com/request/request/pull/1366 Also I'm not saying that I won't continue with the refactoring, I'm just presenting it at steps that are more easy to review. So the idea is pretty simple - I have a huge amount of code in one file (around 2000 lines at start), then the first step is to move code out of it, before I start to see a pattern. Btw if you take a look at these 4 new files (probably except the redirect one) they actually look pretty logical, and are very easy to read, so guess what, even this simple step took a few hours to make. My point here is that I think about this stuff while doing it, and that's completely different than only thinking about it.
Unfortunately design patterns and principles are not applicable in every situation. This project strives to have the shorter possible code base, without any abstraction. Plus it read/write the state so often, that it makes the proper capsulation worthless - essentially you end up with a bunch of copy state on the one and on the other side of the module, which certainly doesn't look good, nor making this project easier to maintain.
The final goal of this refactoring is to make the request instance configurable, but before we start to think about that, we actually need that code out in modules, and right now I'm seeing this as middlewares that modifies the state of the request object, because essentially this is what happens. So again - that's not the final look of the code base, after all we hope it will live longer :)

@simov I didn't mean to offend you, I'm sorry if I did. I'm not trying to minimize the size of the problem you're tackling here, or the amount of effort it requires. I just want to make sure we all understand and have thought through the concerns that come with this chosen path. It sounds like you have, so my concerns are alleviated.

@FredKSchott we have a common naming convention of onRequest and onResponse now, so IMO the next step is to register everyone that wants to use these hooks, then call them all in the same place.  I think that helps address the state concerns, thoughts?
@simov thanks again for taking this on, I'm sorry it has been sitting for so long.  In your opinion where do we go from here?

oh and @FredKSchott congrats! where are you going to?

@FredKSchott I'm not offended at all :) I'm sure we'll continue this discussion in the next PRs to come


FEAT: Implement retry countdown with UI/UX for ModEditSubmissionTopbar.vue

Problem
Now that some of the functionality exists for the mutations. We want to display the retry counting down from the server for the user. We can use the toast that was added or follow the Figma that shows how the rejection exists.
Success
Gives the user some visual feedback on if the server is responding with the error
Requirements

[ ] Either add toast visual or visual the same as the Figma linked above

This was changed due to the way we are handling the retries in seconds. They get 3 retries and then they will get a toast notification that shows the failure.


pyOCD fails without cmsis-pack-manager despite docs suggesting it's optional

The docs suggest that pyOCD can be used without cmsis-pack-manager (https://pyocd.io/docs/installing_on_non_x86.html), but I've observed several failures when it isn't installed.
The first error is due to an issue with type annotations
$ python
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyocd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/pyocd/__init__.py", line 21, in <module>
    from . import gdbserver
  File "/usr/local/lib/python3.9/dist-packages/pyocd/gdbserver/__init__.py", line 17, in <module>
    from .gdbserver import GDBServer
  File "/usr/local/lib/python3.9/dist-packages/pyocd/gdbserver/gdbserver.py", line 37, in <module>
    from .syscall import GDBSyscallIOHandler
  File "/usr/local/lib/python3.9/dist-packages/pyocd/gdbserver/syscall.py", line 18, in <module>
    from ..debug.semihost import SemihostIOHandler
  File "/usr/local/lib/python3.9/dist-packages/pyocd/debug/semihost.py", line 26, in <module>
    from ..core import (exceptions, session)
  File "/usr/local/lib/python3.9/dist-packages/pyocd/core/session.py", line 30, in <module>
    from ..board.board import Board
  File "/usr/local/lib/python3.9/dist-packages/pyocd/board/board.py", line 23, in <module>
    from ..target.pack import pack_target
  File "/usr/local/lib/python3.9/dist-packages/pyocd/target/pack/pack_target.py", line 55, in <module>
    class ManagedPacksImpl:
  File "/usr/local/lib/python3.9/dist-packages/pyocd/target/pack/pack_target.py", line 64, in ManagedPacksImpl
    def get_installed_packs(cache: Optional[cmsis_pack_manager.Cache] = None) -> List["CmsisPackRef"]: # type:ignore
NameError: name 'cmsis_pack_manager' is not defined

This issue can be fixed by adding from __future__ import annotations to pyocd/target/pack/pack_target.py as suggested here: https://mypy.readthedocs.io/en/stable/runtime_troubles.html#future-annotations-import-pep-563
After fixing that error, the following issue is observed
$ python -m pyocd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/kevin/code/pyOCD/pyocd/__init__.py", line 21, in <module>
    from . import gdbserver
  File "/Users/kevin/code/pyOCD/pyocd/gdbserver/__init__.py", line 17, in <module>
    from .gdbserver import GDBServer
  File "/Users/kevin/code/pyOCD/pyocd/gdbserver/gdbserver.py", line 41, in <module>
    from ..rtos import RTOS
  File "/Users/kevin/code/pyOCD/pyocd/rtos/__init__.py", line 29, in <module>
    load_plugin_classes_of_type('pyocd.rtos', RTOS, ThreadProvider)
  File "/Users/kevin/code/pyOCD/pyocd/core/plugin.py", line 97, in load_plugin_classes_of_type
    plugin = entry_point.load()()
  File "/Users/kevin/code/pyOCD/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2464, in load
    self.require(*args, **kwargs)
  File "/Users/kevin/code/pyOCD/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2487, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/Users/kevin/code/pyOCD/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cmsis-pack-manager<1.0,>=0.4.0' distribution was not found and is required by the application

The docs suggest it should be runnable through Python

Once pyOCD is successfully installed, you will need to run it as a module using the python executable as python -mpyocd rather than running the pyocd executable directly. This is because the pyocd executable, which is auto-generated by the install process, verifies dependencies and will error out due to the missing cmsis-pack-manager. But when run through python, dependencies are not checked and pyOCD can handle the lack of cmsis-pack-manager gracefully.

I got the same error when running this on a RPi,

Calling as a module (python3 -mpyocd -h) still seems to verify dependencies.
For just getting it to work one can remove the cmsis-pack-manager dependency in pyocd.egg-info/requires.txt in the site-packages (and add the from __future__ import annotations in pyocd/target/pack_target.py).


Add server mocking capability

I wanted to add that for a long while, but only got down to it after I saw https://github.com/Raynos/xhr/pull/112
This is adding a -m option for including a bit of code, that would handle all requests starting with /mock on the server that run-browser is setting up for testing.
Please note that running a server on a different port in parallel has two issues:

it's cross-domain for the running JS tests
it's hard to incorporate it into a pipe run-browser | tap-something

@Raynos @ForbesLindesay please take a look and release it if valid.
You can see it being used here: https://github.com/Raynos/xhr/pull/115/files

Closing out due to lack of activity.


Add unit test for jenkinsfile

Is your feature request related to a problem? Please describe
Need a mechanism to add unit tests for jenkinsfile besides the Groovy files https://github.com/opensearch-project/opensearch-build/tree/main/tests/jenkins
Describe the solution you'd like
write and update unit test same as the Groovy file changes
Describe alternatives you've considered
No response
Additional context
No response

[Triage] We have all the required details, we will design and implement the testing framework to add tests to Jenkinsfiles.

It's better to add tests at per Jenkins library instead of Jenkinsfiles, ideally for the exact library functionality.
Closing this issue, please feel free to reopen @tianleh


Google Cloud Executer does not recognize Snakefile specified by --snakefile properly

Snakemake version
5.23
Describe the bug
When spcifying a snakefile with --snakefile and there is a file called Snakefile in the same folder, the file specified is ignored and the file named Snakefile is copied to the Cloud workers
Logs
If applicable, any terminal output to help explain your problem.
Minimal example
Add a minimal example for reproducing the bug.
Additional context
I had a folder with Snakefile and Snakefile2
I used snakemake --snakefile Snakefile2 but kept getting errors, when inspecting the logs, within the cloud VM Snakefile was being executed instead of the Snakefile2

It looks like the function below may be responsible, but @vsoch will likely have more insight
https://github.com/snakemake/snakemake/blob/2b124753c659a0e8cee765113421f6883e919132/snakemake/executors/google_lifesciences.py#L577-L588

Yep that function is based on the assumption that the snakefile must be defined in SNAKEFILE_CHOICES - it looks like the snakefile (or a custom one) is provided at self.workflow.snakefile so let's try using that. I'll open a PR shortly.

Thanks for pinging me @dcroote ! I don't get notifications for all snakemake issues, so I didn't know about this. Please ping me right away next time there is any issue with the gls executor! Here is a PR to test for the current issue https://github.com/snakemake/snakemake/pull/618.


Create motion scripts to use in Webots

This creates a folder for scripts for webots# robots. The scripts are tuned to work for the NUgus in Webots.

StandUpFront.yaml
StandUpBack.yaml
KickLeft.yaml
KickRight.yaml

It also updates from using the roll over method for getting up to just using either front or back get up.
When this is run normally (outside of RoboCup), the robot is docker, so those files are also updated. (Do we want to somehow make it use the webots folder when using webots?)

Tested StandUpFront.yaml with Taylor and it appears to fail due to arms colliding with the hips


[macOS] Added CodeQL

Description
Added CodeQL package (latest brew distribution) to  base macOS 11 and macOS 12 images.
Related issue:
N/A
Virtual environments affected

[ ] macOS 10.15
[x] macOS 11
[x] macOS 12

Check list

[ ] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos11, macos12

/azp run macos11, macos12


Add allclose example to docs

Here I have added examples to the allclose.rst file in the docs.
The examples are included from a python script (allclose_example.py) that has been added to the same directory as the .rst file.
Various examples have been included for the following methods:

allclose
allclose_raise
allclose_block
allclose_block_raise

:books: Documentation preview :books:: https://equistore--199.org.readthedocs.build/en/199/

Very cool, one thing in the doc the actual docstrings are not shown anymore

I've added the examples to the functions themselves, and removed the examples section from the .rst file for the doc. Please let me know what you think.
Also, in response to this @DavideTisi:

Very cool, one thing in the doc the actual docstrings are not shown anymore

Seems like they are quoted here: https://lab-cosmo.github.io/equistore/latest/reference/python/operations/manipulation/samples-reduction.html

Also, maybe we should run some other tests apart from just building the docs, as I altered module files.

Very cool, one thing in the doc the actual docstrings are not shown anymore

Ah sorry, understand what you meant now. This was an issue with tax I believe which was fixed in the master branch. I have rebased and now it should work.


local_route method doesn't exist in aws_route_table

It's used in docs/examples/aws_vpc_complete.rb.
I think it's supposed to be routes "<IP_ADDRESS>/0" => :internet_gateway, but I'm not entirely sure.

Yes, it's routes instead of local_route. From experience I can tell you you're better off looking at the resource definitions than the docs at the moment. They need updated a lot because this project has moved so quickly.

In a VPC, I get an error using 'routes' saying it's not supported. It seems to like 'main_routes' better. I have not tested 'routes' outside of a VPC.

I deleted the aws_vpc_complete.rb example because it was out of date (and incomplete).  But the aws_vpc.rb example works correctly.


Create token

Closes #
Please check if the PR fulfills these requirements

[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[X] CHANGELOG.md have been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?
Logic implemented to create new access token.
What is the new behavior?
Can create new access token(s).

Thanks!


Issues with 1Password browser extension for MoJo Edge Browser

Background

The installation of the extension for Edge browser is blocked by EUC policies.
This story is to work with the EUC team to fix this issue so that Edge users can install the extension and get an improved user experience.
Current workaround is to either just use the browser app or install on a different browser to Edge.
Approach

[x] Contact EUC team
[x] Identify impacted users for testing and rollout
[ ] EUC Team to confirm browser changes made
[ ] Create runbook for new Edge users

Acceptance Criteria

[ ] Edge users can install the browser extension.

Reference
How to write good user stories

Awaiting feedback from Tech Services

NLE Testing Completed. Awaiting results of UAT.


Improving documentation

In this issue we could discuss how to improve documentation. I think it could be also a good exercise to take a step back and look at the global picture so that we can shape how we want version 1.0 to be.
I would suggest to use readthedocs: https://readthedocs.org/. To use it we should create a directory containing documentation in a rst format (think of it as an alternative to Markdown) and a git hook will just take those documents, compile them and produce documentation which would be available under worldengine.readthedocs.org
What do you think? @psi29a @esampson @tcld

I don't have experience with writing proper documentation. Are you thinking of a user-side documentation (explain commandline parameters and maybe some scientific foundations) or more of a developer-side documentation (explain functions, return values, etc.)?

User-side documentation: what it is possible to do with WorldEngine. We could need also better developer-side documentation. Perhaps we could use comments in code and the wiki for that.

I woud like to document:

the single options showing different worlds generated changing the parameters
typical use cases

I want to use WorldEngine as a library from Python
I want to use WorldEngine as a library from Java
I want to just generate large cool maps
I want to import some map and run some simulations in WorldEngine

I can look at tackling the general documentation; things such as what the different options are, what they produce, and explanations of biomes, temperature and humidity ranges.

thanks @esampson that is appreciated. Perhaps we could try to have small PRs for the documentation and merge frequently so it is easier for everyone to contribute. Do you want me to setup readthedocs or do you want to do that?

RTD is great, but we should really use Sphinx to handle things. I've experience with this, just a bit to setup and it documents itself. :)

This means that documentation needs to be written in ReST:
http://sphinx-doc.org/rest.html
If people want to start doing this, it is trivial to add to Sphinx. RTD then takes Sphinx and generates documentation for us in LaTeX, pdf, HTML and etc...

Cool. We have the manual in master now so we can discuss the content in specific issues. Closing this general one.


fix ranking and almost finish display by rankings

@swm93 almost done this I think

I'm getting this error because I need to order by rankings.position instead of applications.position in the joined table of applications and not sure how to do that

I changed it so that the ranking is done on create and update of a application. If we wish to add a button to rank them all, we can do that too but not sure its needed


array_to_string gives extra parenthesis when double arrays are passed

Describe the bug
No response
To Reproduce
Simply Run
Expected behavior
No response
Additional context
No response

duplicated


there might be a mistake

in JDA/src/jda/btcart.cpp line 40
cart.Initialize(stage, k);

might be
cart.Initialize(stage, landmark_id);

@GreenKing Thanks for pointing this mistake out, it will be fixed in the next commit.


Add files entry to package.json.

Removes unnecessary files from the deployed package.
Deploying unnecessary files impacts the performance of npm install for everyone.
See: https://github.com/insin/package-config-checker
This PR was created using a series of both scripted and manual steps. I have done my best to make sure my modifications are correct, but I am creating similar PR for a lot of repositories today. So please, double check that I have included all the important files (and apologies if I've made some huge oversight).

thank you, but I choose to check my tests into npm. file size is not the reason npm install is slow. If the npm team cared about install performance there is a lot they could do to make npm install much faster, but this isn't it.


Update SwiftCode.php

Remove some invisible characters (before KOMBCZPP string) causes HttpException - Wrong code.
File preview:

Error when creating payment with SwiftCode::cz():

Uh, thank you. Other swift codes are OK?

Yes, tried all codes, both CS and SK and it works.

@vojtasvoboda Thanks. :+1:


Update azstake.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
My previous PRs:
https://github.com/anoma/namada-testnets/pull/755
https://github.com/anoma/namada-testnets/pull/1090
https://github.com/anoma/namada-testnets/pull/1811
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

Successfully validated transactions.toml file for commit hash 5e3ebcc


Exception on OpenJDK 15

I am getting the following exception when running on OpenJDK 15:
com.datastax.driver.core.exceptions.ServerError: An unexpected error occurred server side on /<IP_ADDRESS>:9142: java.lang.UnsupportedOperationException: can't get field offset on a hidden class: private final org.apache.cassandra.db.ClusteringComparator org.apache.cassandra.db.ClusteringComparator$$Lambda$185/0x0000000800d96f20.arg$1
at com.datastax.driver.core.exceptions.ServerError.copy(ServerError.java:62)
at com.datastax.driver.core.exceptions.ServerError.copy(ServerError.java:26)
at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:35)
at com.datastax.driver.core.AbstractSession.prepare(AbstractSession.java:86)

It does not happen when I run against a downloaded Cassandra using the same Java 15 JVM version but only in our test suite and using Java 14 work just fine.

Humm, I don't think neither Achilles nor the Java driver 3.x version do support Java 15...

Looking at the exception, it seems that the Java driver is trying to get some hidden field. Although allowed from earlier versions of Java, this feature may be disabled for Java 15

I had the same error (Java 15) when trying to prepare statement in my test using cqlSession from EmbeddedCassandraServerHelper.
Like: cqlSession = EmbeddedCassandraServerHelper.getSession();
But what interesting, everything works fine (with the same Java 15 version) when I connect a session to my local cassandra on port 9042.
When I downgraded the Java version to 14, the test worked.


macOS + python3 + clang: SystemError raised during initialization

In my xraylib project, I recently noticed that importing the Cython generated bindings leads to a SystemError, provided they have been compiled with clang and with python3 support:
Traceback (most recent call last):
  File "../../example/xrlexample13.py", line 14, in <module>
    import xraylib_np as xrl_np
SystemError: initialization of xraylib_np failed without raising an exception

As soon as I switch to gcc, everything works as expected, as does the combination clang + python2.
So far, I have only tested this on macOS (with Homebrew's python3, and pip3 installed Cython 0.25.2), with at least two different clang versions (system and Homebrew provided), but it's possible this problem also occurs on other OS's.
The C code was generated with the options -X boundscheck=False,wraparound=False and was compiled into a library with libtool:
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../python -I..    -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I../../include -I/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/include/python3.5m -I/usr/local/lib/python3.5/site-packages/numpy/core/include -g -O2 -MT xraylib_np_la-xraylib_np.lo -MD -MP -MF .deps/xraylib_np_la-xraylib_np.Tpo -c -o xraylib_np_la-xraylib_np.lo `test -f 'xraylib_np.c' || echo '../../python/'`xraylib_np.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../python -I.. -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I../../include -I/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/include/python3.5m -I/usr/local/lib/python3.5/site-packages/numpy/core/include -g -O2 -MT xraylib_np_la-xraylib_np.lo -MD -MP -MF .deps/xraylib_np_la-xraylib_np.Tpo -c xraylib_np.c  -fno-common -DPIC -o .libs/xraylib_np_la-xraylib_np.o
In file included from xraylib_np.c:436:
In file included from /usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1777:
/usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
      [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
 ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../python -I.. -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I../../include -I/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/include/python3.5m -I/usr/local/lib/python3.5/site-packages/numpy/core/include -g -O2 -MT xraylib_np_la-xraylib_np.lo -MD -MP -MF .deps/xraylib_np_la-xraylib_np.Tpo -c xraylib_np.c -o xraylib_np_la-xraylib_np.o >/dev/null 2>&1
mv -f .deps/xraylib_np_la-xraylib_np.Tpo .deps/xraylib_np_la-xraylib_np.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I../../include -I/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/include/python3.5m -I/usr/local/lib/python3.5/site-packages/numpy/core/include -g -O2 -avoid-version -module -shared -export-dynamic  -o xraylib_np.la -rpath /usr/local/lib/python3.5/site-packages xraylib_np_la-xraylib_np.lo ../src/libxrl.la -lm -lm -lm -lm
libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/xraylib_np.so -bundle  .libs/xraylib_np_la-xraylib_np.o   ../src/.libs/libxrl.dylib -lm  -g -O3 -g -O2
libtool: link: ( cd ".libs" && rm -f "xraylib_np.la" && ln -s "../xraylib_np.la" "xraylib_np.la" )

The Cython generated source code can be found here
Let me know if more information is required.
Thanks for looking into this.
Tom

Could you try bisecting this down to a minimal example?

I investigated the issue a bit further and it looks like an optimization bug in clang, as it disappears when compiling with -O0.
It somehow has to do with the very large number of global variable assignments I make here
As soon as the total number of assignments exceeds 783, the error shows up at runtime, regardless of what the 784th assignment is 😩
Of course the weird thing is that all of this works fine, at all optimization levels, when using (Homebrew's) python 2.7...


[BUG] can't swizzle @refinedev/graphql

Describe the bug
Running swizzle the prompt doesn't show the data provider: @refinedev/graphql
Steps To Reproduce
npm install @refinedev/graphql
npm run refine swizzle
Expected behavior
The command should show the installed package.
Screenshot

Desktop

Ubuntu 16
Node 16.19.1

Mobile
No response
Additional Context
No response

Hi @nikun,
I couldn't reproduce the problem. Could you please provide the output of npm run refine whoami?

@nikun Hi again, we found the issue. I will open PR today. thanks for the issue

@nikun We released a fix (version: @refinedev/graphql: 6.4.2).
You can update with refine CLI: npm run refine update.
I tested and it works as expected. Please let us know if you find any other problems 🚀

i just tested the swizzle command and works prefect with the updated package 6.4.2.
Thks!!


Fix #silasmontgomery/vue-dynamic-select/issues/3

When I pass a getter as value prop, and when the getter changes to null the dynamic-select doesn't reset
Related: https://github.com/silasmontgomery/vue-dynamic-select/issues/3

Clean fix, thanks!


Solution to JAVA 1D Array added

Issue Number: #70
This submission will close the issue #70
Submissions Checklist:

[x] Have you followed the guidelines in CONTRIBUTING.md?
[x] Have you checked there aren't other open Pull Requests for the same hackerrank problem?

[x] Is your file name exactly same as the problem name of hackerrank, followed by the proper extension?
[x] Have you ensured that you have put the files in appropriate folders? (Folders are made according to the subdomain of hackerrank practice problems).

Hacktoberfest Contributor:

[x] Are you a hacktoberfest contributor?

Hackerrank Problem Link:
https://www.hackerrank.com/challenges/java-1d-array-introduction/problem
Submitted Hackerrank Solution Link:
https://www.hackerrank.com/challenges/java-1d-array-introduction/submissions/code/293661825
Any other changes you made or something you would like to mention?
NA

Thank you for your time!

Can I contribute more to this repository?

Can I contribute more to this repository?

If this was your first contribution to this repository, you can contribute max one more time to this repository. Thanks!


ACE file not created?

When trying to run bake locally, all seems to be running fine, except that the ACE file is nowhere to be found.
Tail of output from RunLocalBake.bat :
Starting final task, CollateTritonTask
Creating new ACE file

E:\Program Files\Epic Games\UE_5.0\Engine\Plugins\ProjectAcoustics\AcousticsData>REM Clean up

E:\Program Files\Epic Games\UE_5.0\Engine\Plugins\ProjectAcoustics\AcousticsData>REM .ACE file is produced upon successful bake. Manually import this into your project content.

Platform: Unreal 5.1
Bake tools from: https://www.microsoft.com/en-us/download/details.aspx?id=104116

Thanks @NoelCross for a prompt reply. Answering:

Do you have a working directory that reflects the time that the bake process started? - Yes.
Do you have any *.enc files in that directory? - Yes. They seem to be created correctly (there is one for one probe) and removed after the bake ends.
Could you try to run this local bake process in a directory outside of the project directory? - Yes, same result.
What's the locale for your machine? We might be screwing up the creation of the working directory based on the locale of your PC. - That doesn't seem to be the problem, the working directory file is being created.

I try running a bake on minimal example, with only 16 probes. After running bake, a working directory is being created with only two files in it: Minimal_Default_AcousticsData.vox and Minimal_Default_AcousticsData_config.xml (changed ext to .txt).
I attach a full output of running RunLocalBake.bat (out.txt) and config:
out.txt
Minimal_Default_AcousticsData_config.xml.txt

@twoz we've been trying to reproduce this issue and have not been able to.  It appears that the process Triton.LocalProcessor.exe is crashing while creating the new ACE file.  Typically, you will see output like this in the log:

Starting final task, CollateTritonTask
Creating new ACE file
Filling runtime voxel map...
Compressing runtime voxel map...
Compression done. progress: 99%
Compressed 0.03 MB raw voxel data to 0.02 MB.
Done. Output written to: Bistrot_AcousticsData.ace
Finished CollateTritonTask
Total processing time: 93.82 seconds
LocalProcessor finished successfully.

Could you check your "View reliability history" and see if it references a crash dump file that you could share with us?  If we have a crash dump file, that'll help us understand things better.
Also, if you can, would it be possible for you to share the *.vox file that you used with the *_config.xml file in the previous example?  That should help us identify where the crash is coming from in our code.
Thanks,
Noel

Closing for lack of activity. If you're still having this issue with our latest release, please let us know.