_hash_encoder Error while trying to train

First of all thank you for your work. I am trying to run nicer-slam and having difficulty doing so they use the implementation of monosdf :
I get this error :

and this is the call stack :

also for the configuration of gcc, cuda, cudnn :

I have tried the suggestion from Issue #19 but with no success sadly.
would you be able to help ?

similar problem: /root/miniconda3/envs/monosdf/lib/python3.8/site-packages/torch/include/ATen/ATen.h:4:2: error: #error C++17 or later compatible compiler is required to use ATen.
4 | #error C++17 or later compatible compiler is required to use ATen.
|  ^~~~~
ninja: build stopped: subcommand failed.
[rank0]: Traceback (most recent call last):
[rank0]:   File "/root/miniconda3/envs/monosdf/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build
[rank0]:     subprocess.run(
[rank0]:   File "/root/miniconda3/envs/monosdf/lib/python3.8/subprocess.py", line 516, in run
[rank0]:     raise CalledProcessError(retcode, process.args,
[rank0]: subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '1']' returned non-zero exit status 1.
[rank0]: The above exception was the direct cause of the following exception:
[rank0]: Traceback (most recent call last):
[rank0]:   File "training/exp_runner.py", line 58, in
[rank0]:     trainrunner = MonoSDFTrainRunner(conf=opt.conf,
[rank0]:   File "/root/autodl-tmp/monosdf/code/../code/training/monosdf_train.py", line 107, in init
[rank0]:     self.model = utils.get_class(self.conf.get_string('train.model_class'))(conf=conf_model)
[rank0]:   File "/root/autodl-tmp/monosdf/code/../code/utils/general.py", line 18, in get_class
[rank0]:     m = import(module)
[rank0]:   File "/root/autodl-tmp/monosdf/code/../code/model/network.py", line 140, in
[rank0]:     from hashencoder.hashgrid import _hash_encode, HashEncoder
[rank0]:   File "/root/autodl-tmp/monosdf/code/../code/hashencoder/init.py", line 1, in
[rank0]:     from .hashgrid import HashEncoder
[rank0]:   File "/root/autodl-tmp/monosdf/code/../code/hashencoder/hashgrid.py", line 12, in
[rank0]:     from .backend import _backend
[rank0]:   File "/root/autodl-tmp/monosdf/code/../code/hashencoder/backend.py", line 10, in
[rank0]:     _backend = load(name='_hash_encoder',
[rank0]:   File "/root/miniconda3/envs/monosdf/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1309, in load
[rank0]:     return _jit_compile(
[rank0]:   File "/root/miniconda3/envs/monosdf/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1719, in _jit_compile
[rank0]:     _write_ninja_file_and_build_library(
[rank0]:   File "/root/miniconda3/envs/monosdf/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1832, in _write_ninja_file_and_build_library
[rank0]:     _run_ninja_build(
[rank0]:   File "/root/miniconda3/envs/monosdf/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2123, in _run_ninja_build
[rank0]:     raise RuntimeError(message) from e
[rank0]: RuntimeError: Error building extension '_hash_encoder'


Add option to adjust temp locally

I'm not sure where climacell gets its temp from but suspect it is noaa or airports or local new stations. However it does not necessarily match with my backyard. It seems that the reported value is about 3-4 degrees cooler than my backyard gauge. So, is it possible to add a setting to add/subtract from the climacell temp so that we can make the value closer to our actual temps? For example, I'd like to add +3 degrees to the value reported from climacell in my case.

You can tweak your install by modifying the code and rebuilding it.  I just tested it with mine.
edit the file in client\src\components\CurrentWeather\index.js
after line 52 add aline like this:
const teamperatureAdj = temperature + 3;
Then on line 57, update it from temperature to temperatureAdj
Then on the command line run npm install webpack
After that installs cd into the pi-weather-station/client/ directory and run "npm run prod"
This will rebuild the package with your changes.
Then cd ..
and run npm start
Your temp should be increased by 3 degrees.

Yes I figured out how to hardcode a temp adjustment just fine and that worked. But was looking for a setting that I could use to adjust the temp without having to recompile and restart everything. I have been able to add that as well but it is not quite user-friendly as of yet. On the settings page I added a new text box in the middle of the page. That pushed the rest of the page down just enough that the save button is off the bottom of the page and thus I can't click it. There is no scroll bar either so I am looking for a way to fix that then it would be usable. For now I can edit the settings.json file and restart.


Training on a single task

Hi, Thanks for the great work!
I am trying to train 3d_diffuser_actor on a single task "turn tap", the graphs (attached below) show that the model is learning well and converging but when using the inference script. I am not seeing the desired results, can you please help identify what could be going wrong?
In the training script I changed "ngpus" to 1 and passed only "turn_tap" to "tasks"

I am training on a single A4000 GPU

Hi,
It is very likely to a problem of normalization.  You can set this argument to 1, so that the location bound is selected to be the same as training.  If you only specify one task in the training script, this function will select the bound of that task, instead of aggregating among all tasks.

Hi,
That was it! changing the parameter single_task_gripper_loc_bounds to 1 worked. Thank you so much! I wish I had asked this sooner...


python3Packages.tailscale: init at 0.1.2

Motivation for this change
Python client for the Tailscale API
https://github.com/frenck/python-tailscale
This will become a Home Assistant dependency.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 146236 run on x86_64-linux 1

2 packages built:

python38Packages.tailscale
python39Packages.tailscale


wip

Signed-off-by: Sertac Ozercan<EMAIL_ADDRESS>this PR does / why we need it:
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Special notes for your reviewer:

test

test

Codecov Report

Merging #30 (9e699e5) into master (97362c7) will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   48.01%   48.17%   +0.16%
==========================================
  Files          62       62
  Lines        4274     4274
==========================================
+ Hits         2052     2059       +7
+ Misses       1966     1961       -5
+ Partials      256      254       -2

Flag
Coverage Δ

unittests
48.17% <ø> (+0.16%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/readiness/object_tracker.go
79.78% <0.00%> (+1.09%)
:arrow_up:

...onstrainttemplate/constrainttemplate_controller.go
57.14% <0.00%> (+1.62%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #30 (9e699e5) into master (97362c7) will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   48.01%   48.17%   +0.16%
==========================================
  Files          62       62
  Lines        4274     4274
==========================================
+ Hits         2052     2059       +7
+ Misses       1966     1961       -5
+ Partials      256      254       -2

Flag
Coverage Δ

unittests
48.17% <ø> (+0.16%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/readiness/object_tracker.go
79.78% <0.00%> (+1.09%)
:arrow_up:

...onstrainttemplate/constrainttemplate_controller.go
57.14% <0.00%> (+1.62%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97362c7...9e699e5.


Deadline: Collect deadline server does not check existence of deadline key

Issue
Plugin CollectDeadlineServerFromInstance does not check if instance data contain deadlineServers before use it.
Changes

return default deadline url if instance does not containe deadlineServers
removed AttributeError check because there is no access to attribute that should not be available

Note
There is high ability that deadline url selection on created instance does not reflect settings keys order.

I'm actually unable to publish any HDA with this, I'm assuming though I'm not following required steps, so I'll wait with the review for the docs


Issue with ignore on large directories

When putting "node_modules/**" in ignore, deploying any other directory causes VSCode to hang.
Is there a better way to do this? Or is it a bug?

@telekovar
Sorry for the late answer.
You can try to set global setting fastCheckForIgnores to (true), so you are albe to use the faster minimatch check instead of node-glob,

Thank you for your assistance. Setting "fastCheckForIgnores": true, causes the ignores to not work at all.
This is similar to the settings I am using.
`json
{
"deploy": {
"showPopupOnSuccess": false,
"fastCheckForIgnores": true,
"ignore": [
".git/",
".vscode/",
"node_modules/",
"includes/source/"
],
"packages": [
{
"name": "Development Package",
"deployOnSave": true,
"fastCheckOnSave": true,
"targets": ["Test Development"]
}
],
    "targets": [
        {
            "type": "test",
            "name": "Test Development",
            "description": "Use to test what files would be deployed"
        }
    ]
}

}
`


Missing eslint-plugin-import

Issue Type
Linting
Description
https://github.com/react-boilerplate/react-boilerplate/blob/27e7398287c19d505d4e9659f16859c6a8879fad/package.json#L92-L96
I am no expert in ESLint, but since import/* rules are still being used, shouldn't eslint-plugin-import be listed here as a plugin - just like react, jsx-a11y, and redux-saga are?
Steps to reproduce
Doesn't apply 📝
Versions

React-Boilerplate: 3.4.0
Node/NPM: -
Browser: -

Not an expert here as well. Did you try adding import to plugins array? Does anything break? My guess is that someone forgot to add that plugin to the list.

@KarandikarMihir it seems to be working even without import/* listed in the array, which is a bit odd - that's why I was confused whether or not it should be there.

eslint-plugin-import ships with eslint-config-airbnb


Swap out mailto links

https://mailgo.dev/
There was a bunch of activity about this twittering around twitter so I figure I should look into my approach to handling this.

Resolved during transition to eleventy.


deps: bump go-grpc (1.19.0 -> 1.20.0)

Looks like we've missed a few releases -- here they are. The interesting release notes are:

v1.20.0 as it has a few new features and bug fixes
v1.19.1 has a bug fix for https://github.com/grpc/grpc-go/pull/2669, which could have happened to us as well.

For all the notes, see the releases page.

I'll merge this when green.


Fix AMA oscillation

When BG is projected to be just below the low end of the target range with COB, oref0 sets a zero temp, and then after pumphistory refresh sees that predictedBG is now within range and sets the current basal as temp. This continues ad nauseum until BG rises or falls enough that PredBGs are consistent no matter whether a temp is running or not.
Should adjust the low temp logic to only low temp slightly when eventualBG is only slightly below target range. Maybe also figure out a way to back out the currently running temp from PredBGs.

A possible solution would be to change the logic so that it only changes the temp basal rate (or cancels it) if the current temp basal would result in the eventualBG being outside of the target range.

Just pushed a branch that attempts to address this.  Have been running it offline for a few days, and am now pushing it to a couple rigs for testing.  Fixed the one existing unit test affected, and added one more, but not sure how to properly test AMA stuff without bringing in full real-world scenarios.  The oscillation is fairly rare, so planning to just wait for the situation to occur and make sure it does better than before.

This is (mostly) fixed in https://github.com/openaps/oref0/pull/200 now.


Allow sexual reproduction

An interaction option between two organisms would be for the two organisms to combine/splice their genetic code to make a new offspring, instead of copying directly from a single parent.

Issue addressed by commit 52


fix: use custom merger for options to avoid array values concatenation

Types of changes

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

Description
As pointed in #78, defu (both used here and in Nuxt's code) was the reason of even triplicated values in the headers.
This PR aims fixing that by applying 2 changes:

removing defaults from module definition - so that Nuxt does not apply regular defu on defaults and options from the module user
creating custom merger with createDefu that in case of arrays replaces the value instead of concatenating them

Fixes #78
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

Works great! Merging.


Add new stream options to support size limit and approximate match.

Hi! Thank's very much for your contribution 🔥


Fix event search

Short description
This PR changes the search query for events and therefore fixes the bug which occurs when filtering events only by end date
Proposed changes

Change search query for events-

Side effects

I think none

Resolved issues

Fixes: #2524

Pull Request Review Guidelines

@MizukiTemma You can push the tests for the event filter now :)

Apart from that, could you also add a few test cases for the event list with different filters applied? Just to make sure this does not happen again in the future?

@MizukiTemma was already working on tests for the event filter view and will push them on this branch

datetime.min.replace(tzinfo=zoneinfo.ZoneInfo(key="UTC"))

Applied!

@timobrembeck Thank you so much 🙏


Create Prayas

Summary
A clear and concise description of what the problem or opportunity is. Link to an issue if relevant.
Changes
Describe the changes this pull request introduces.
Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

I need

I don't know

I don't look

I


New version: creativeprojects.resticprofile version 0.26.0

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @Exorcism0666,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 776.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-20 13:58:56.659 [CLI ] Installer [X64,portable,Unknown,en-US] not applicable: Machine is not compatible with X64 2024-02-20 13:58:56.659 [CLI ] Installer [Arm64,portable,Unknown,en-US] not applicable: Machine is not compatible with Arm64 2024-02-20 13:59:05.908 [FAIL] Installer failed security check. Url: https://github.com/creativeprojects/resticprofile/releases/download/v0.26.0/resticprofile_0.26.0_windows_386.zip Result: 0x80004005 2024-02-20 13:59:05.908 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

(Automated response - build 776.)

Hi @Exorcism0666,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 776.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-20 13:58:56.659 [CLI ] Installer [X64,portable,Unknown,en-US] not applicable: Machine is not compatible with X64 2024-02-20 13:58:56.659 [CLI ] Installer [Arm64,portable,Unknown,en-US] not applicable: Machine is not compatible with Arm64 2024-02-20 13:59:05.908 [FAIL] Installer failed security check. Url: https://github.com/creativeprojects/resticprofile/releases/download/v0.26.0/resticprofile_0.26.0_windows_386.zip Result: 0x80004005 2024-02-20 13:59:05.908 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

(Automated response - build 776.)

@wingetbot run

Hi @Exorcism0666,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 812.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-21 12:27:18.628 [CLI ] Installer [X64,portable,Unknown,en-US] not applicable: Machine is not compatible with X64 2024-02-21 12:27:18.628 [CLI ] Installer [Arm64,portable,Unknown,en-US] not applicable: Machine is not compatible with Arm64 2024-02-21 12:27:28.634 [FAIL] Installer failed security check. Url: https://github.com/creativeprojects/resticprofile/releases/download/v0.26.0/resticprofile_0.26.0_windows_386.zip Result: 0x80004005 2024-02-21 12:27:28.634 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

(Automated response - build 812.)

Automatic Validation ended with:

No errors to post.

(Automated response - build 812.)

@wingetbot run

Automatic Validation ended with:

No errors to post.

(Automated response - build 813.)

@wingetbot waivers Add Validation-Executable-Error

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


TrayIcon integration tests

What does the pull request do?
Continues https://github.com/AvaloniaUI/Avalonia/pull/16024.
Before we didn't have any integration tests for tray icon. Now we have some:

Left mouse button click.
Context menu with menu item click.
Visibility toggle.

Good: added macOS tests.
Bad: it seems CI Windows machine doesn't have task bar to begin with, or we don't have access to it.

Nice! I've only had my Linux laptop to test on, did the crashes that #16024 fixed replicate on platforms other than Linux??

@logiclrd no, I wasn't able to replicate any crashes on other platforms. But it's still better to have these tests, especially when we get Linux tests running as well.


presubmit-check the use of DECLARE_FACTORY for each DEFINE_FACTORY

E-M apparently depends on the former and nothing checks on it upstream :-(

cc @Augustyniak @snowp @phlax


Add a script to wait for seed

The following is a feature request so that the number of deployed nodes can be predefined (rather than 0) leaving the user to just remove the seed after all nodes are healthy.  In clusters with multiple services, this will simplify operations.  The following has been tested and appears to work without issue.
A similar method may be implemented on the seed to verify that the nodes are healthy and then automatically exit.  This would eliminate the need for any manual intervention when bringing up the galera cluster.
A simple script, such as wait-for-it.sh (https://github.com/vishnubob/wait-for-it/blob/master/wait-for-it.sh), can be added to the image.  From start.sh, the code to call it can be as simple as the following (IS_SEED determined from the CMD or explicitly and MYSQL_SEED determined from the service or explicitly):
if [ "$IS_SEED" != "true" ]; then 	/tmp/wait-for-it.sh $MYSQL_SEED:3306 -t 0 -s fi

Can you provide a more specific example regarding how this was tested? I'm failing to understand the exact usage vs just setting the /var/lib/mysql/new-cluster flag, for example.

The current steps per your example is as follows:
$ docker service ls
(wait for galera_seed to be healthy)
$ docker service scale galera_node=2
(wait for both galera_node instances to be healthy)
$ docker service scale galera_seed=0
$ docker service scale galera_node=3
The suggestion would only require the following after nodes are healthy:
$ docker service scale galera_seed=0

Closed in favor of #84


Deprecation warning on install

WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR

https://github.com/nodejs/node-gyp/issues/787
https://github.com/nodejs/node-gyp/pull/878
https://github.com/nodejs/node-gyp/blob/master/lib/process-release.js#L66-L75
Use correct env variable


State of fhempyserver_15733 is ???

local_pybinding version | 0.1.186
I cannot get fhempy to run, the state of fhempyserver_15733 is ???
fhem setup on a raspberry pi 3 with raspbian bullseye. Python Version is 3.9.2
Here is the output of the log:
2021-12-05 18:22:34,647 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-12-05 18:22:34,712 - INFO     - websockets.server: server listening on <IP_ADDRESS>:15733
2021-12-05 18:22:35,777 - INFO     - websockets.server: connection open
2021-12-05 18:22:35,783 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: <IP_ADDRESS>
2021-12-05 18:22:37,695 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:22:37,715 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:22:59,131 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:22:59,126 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:22:59,162 - ERROR    - Staub_E: Failed to send_command: info
2021-12-05 18:22:59,195 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:23:06,027 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2021-12-05 18:23:47,938 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:23:53,842 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:24:08,963 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2021-12-05 18:24:11,255 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-12-05 18:24:11,273 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-12-05 18:24:11,345 - INFO     - websockets.server: server listening on <IP_ADDRESS>:15733
2021-12-05 18:24:21,934 - INFO     - websockets.server: connection open
2021-12-05 18:24:21,941 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: <IP_ADDRESS>
2021-12-05 18:24:23,655 - WARNING  - asyncio: Executing <Task finished name='Task-24' coro=<eq3bt.Define() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py:100> result='' created at /usr/lib/python3.9/asyncio/tasks.py:462> took 0.162 seconds
2021-12-05 18:24:23,918 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:24:23,938 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:24:44,508 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:24:44,510 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:24:44,531 - ERROR    - Staub_E: Failed to send_command: info
2021-12-05 18:24:44,544 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:25:29,006 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:25:40,073 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:26:04,652 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:26:04,676 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:26:11,345 - ERROR    - Hobbyraum_Thermostat: Failed to update, retry in 60s
2021-12-05 18:26:34,865 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:26:48,424 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:27:05,209 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:27:24,783 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:27:24,804 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:27:39,941 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:27:42,527 - ERROR    - Hobbyraum_Thermostat: Failed to update, retry in 60s
2021-12-05 18:27:48,772 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:28:24,342 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:28:44,358 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:28:44,932 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:28:44,950 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:28:46,807 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:28:49,072 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:29:02,066 - ERROR    - Arbeitszimmer_Thermostat2: Failed to update, retry in 60s
2021-12-05 18:29:07,674 - ERROR    - Hobbyraum_Thermostat: Failed to update, retry in 60s
2021-12-05 18:29:46,519 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:29:49,502 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:30:02,074 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:30:02,417 - ERROR    - Arbeitszimmer_Thermostat2: Failed to update, retry in 60s
2021-12-05 18:30:05,071 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:30:05,091 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:30:41,848 - ERROR    - Hobbyraum_Thermostat: Failed to update, retry in 60s
2021-12-05 18:30:46,945 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2021-12-05 18:30:49,820 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:30:57,252 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:31:23,539 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2021-12-05 18:31:23,765 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:31:25,190 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:31:25,215 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:31:25,278 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:31:50,198 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:31:57,631 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:32:23,936 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2021-12-05 18:32:25,590 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:32:27,188 - ERROR    - Arbeitszimmer_Thermostat2: Failed to update, retry in 60s
2021-12-05 18:32:31,995 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2021-12-05 18:32:39,080 - ERROR    - Hobbyraum_Thermostat: Failed to update, retry in 60s
2021-12-05 18:32:45,331 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:32:45,364 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:32:57,942 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:32:59,889 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:33:25,234 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:33:27,561 - ERROR    - Arbeitszimmer_Thermostat2: Failed to update, retry in 60s
2021-12-05 18:33:32,339 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2021-12-05 18:33:46,351 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:33:54,978 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2021-12-05 18:33:58,355 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:34:05,469 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:34:05,502 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:34:17,559 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:34:25,643 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:34:27,912 - ERROR    - Arbeitszimmer_Thermostat2: Failed to update, retry in 60s
2021-12-05 18:34:29,277 - ERROR    - Hobbyraum_Thermostat: Failed to update, retry in 60s
2021-12-05 18:34:33,064 - ERROR    - Wohnzimmer_Heizung_Klein: Failed to update, retry in 60s
2021-12-05 18:34:43,382 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2021-12-05 18:35:04,636 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:35:04,718 - ERROR    - Staub_E: Failed to send_command: info
2021-12-05 18:35:10,946 - ERROR    - Wohnzimmer_Heizung_Gross: Failed to update, retry in 60s
2021-12-05 18:35:46,588 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-12-05 18:35:46,609 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-12-05 18:35:46,743 - WARNING  - asyncio: Executing <Task pending name='Task-1' coro=<async_main() running at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py:530> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x751020a0>()] created at /usr/lib/python3.9/asyncio/tasks.py:704> cb=[_run_until_complete_cb() at /usr/lib/python3.9/asyncio/base_events.py:184] created at /usr/lib/python3.9/asyncio/base_events.py:621> took 0.154 seconds
2021-12-05 18:35:46,747 - INFO     - websockets.server: server listening on <IP_ADDRESS>:15733
2021-12-05 18:35:48,463 - WARNING  - asyncio: Executing <Handle BaseSelectorEventLoop._accept_connection(functools.par..., logger=None), <socket.socke....0.0', 15733)>, None, <Server socke...0', 15733)>,)>, 100, None) created at /usr/lib/python3.9/asyncio/selector_events.py:259> took 0.167 seconds
2021-12-05 18:35:48,486 - INFO     - websockets.server: connection open
2021-12-05 18:35:48,490 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: <IP_ADDRESS>
2021-12-05 18:35:51,009 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:35:51,029 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:36:49,427 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:36:49,439 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:36:49,467 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:36:49,479 - ERROR    - Staub_E: Failed to send_command: info
2021-12-05 18:37:53,691 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:38:09,577 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:38:09,595 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:38:15,924 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2021-12-05 18:39:16,934 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:39:18,213 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2021-12-05 18:39:29,699 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:39:29,726 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:40:14,537 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2021-12-05 18:40:36,933 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2021-12-05 18:40:49,997 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:40:50,026 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:40:59,912 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-12-05 18:40:59,929 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-12-05 18:40:59,997 - INFO     - websockets.server: server listening on <IP_ADDRESS>:15733
2021-12-05 18:41:07,885 - INFO     - websockets.server: connection open
2021-12-05 18:41:07,890 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: <IP_ADDRESS>
2021-12-05 18:41:09,791 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:41:09,812 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 18:41:29,919 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:41:29,928 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:41:29,961 - ERROR    - Staub_E: Failed to send_command: status
2021-12-05 18:41:29,987 - ERROR    - Staub_E: Failed to send_command: info
2021-12-05 18:42:50,097 - ERROR    - miio.miioprotocol: Got error when receiving: timed out
2021-12-05 18:42:50,114 - ERROR    - Staub_E: Failed to send_command: status```

This is an fhem log excerpt:
2021.12.05 18:35:38 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/10_PythonModule.pm line 65.
2021.12.05 18:35:43 3: BindingsIo v1.0.0
2021.12.05 18:35:43 3: fhempyServer v1.0.0
2021.12.05 18:35:43 3: defmod -temporary fhempy_log FileLog ./log/fhempy-%Y-%m-%d.log fakelog : Define -temporary first
2021.12.05 18:35:43 3: fhempy v1.0.0 (eq3bt)
2021.12.05 18:35:43 3: fhempy v1.0.0 (eq3bt)
2021.12.05 18:35:43 3: fhempy v1.0.0 (eq3bt)
2021.12.05 18:35:43 3: fhempy v1.0.0 (eq3bt)
2021.12.05 18:35:43 3: fhempyserver_15733: starting
2021.12.05 18:35:43 3: fhempyserver_15733: using logfile: ./log/fhempy-2021-12-05.log
2021.12.05 18:35:48 3: Opening local_pybinding device ws:<IP_ADDRESS>:15733
2021.12.05 18:35:48 3: local_pybinding device opened
2021.12.05 18:40:57 1: ws:<IP_ADDRESS>:15733 disconnected, waiting to reappear (local_pybinding)
2021.12.05 18:40:57 3: fhempyserver_15733: read: end of file reached while sysread
2021.12.05 18:40:57 3: fhempyserver_15733: stopped
2021.12.05 18:40:57 3: fhempyserver_15733: starting
2021.12.05 18:40:57 3: fhempyserver_15733: using logfile: ./log/fhempy-2021-12-05.log
2021.12.05 18:40:57 1: BindingsIo (local_pybinding): ERROR local_pybinding - error while connecting: <IP_ADDRESS>: Connection refused (111)
2021.12.05 18:41:08 1: ws:<IP_ADDRESS>:15733 reappeared (local_pybinding)

fhempyserver seems to run, otherwise the log wouldn't be created. Could it be that you have installed fhempy outside of FHEM as well so that it is started by systemd?

Did that issue just came up with 0.1.186 and you had previous versions running fine?

I did not get any readings to my eq3bt thermostats since May 2021 according to logs. I tried all kinds of things, it is entirely possible that I installed fhempy outside of FHEM. How can I remove the redundant version?

I did the following and rebooted my raspi, but still the state is ???
Found existing installation: fhempy 0.1.178
Uninstalling fhempy-0.1.178:
  Would remove:
    /home/pi/.local/bin/fhempy
    /home/pi/.local/lib/python3.9/site-packages/fhempy-0.1.178.dist-info/*
    /home/pi/.local/lib/python3.9/site-packages/fhempy/*
    /home/pi/.local/lib/python3.9/site-packages/tests/*
Proceed (y/n)? y
  Successfully uninstalled fhempy-0.1.178```

You should also do
sudo systemctrl disable fhempy

to make sure it is not running. If it shows an error, everything is fine.
What happens if you restart fhempyserver_15733?

Btw, if you update your eq3 devices to the latest firmware they won't work anymore.

sudo systemctl disable fhempy
Failed to disable unit: Unit file fhempy.service does not exist.

FHEM Log after restarting fhempyserver_15733:
2021.12.05 22:16:54 1: ws:<IP_ADDRESS>:15733 disconnected, waiting to reappear (local_pybinding)
2021.12.05 22:16:54 3: fhempyserver_15733: read: end of file reached while sysread
2021.12.05 22:16:54 3: fhempyserver_15733: stopped
2021.12.05 22:16:54 3: fhempyserver_15733: starting
2021.12.05 22:16:54 3: fhempyserver_15733: using logfile: ./log/fhempy-2021-12-05.log
2021.12.05 22:16:54 1: BindingsIo (local_pybinding): ERROR local_pybinding - error while connecting: <IP_ADDRESS>: Connection refused (111)
2021.12.05 22:17:05 1: ws:<IP_ADDRESS>:15733 reappeared (local_pybinding)

and fhempy-2021-12-05.log:
2021-12-05 22:16:56,759 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-12-05 22:16:56,777 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-12-05 22:16:56,843 - INFO     - websockets.server: server listening on <IP_ADDRESS>:15733
2021-12-05 22:17:05,110 - INFO     - websockets.server: connection open
2021-12-05 22:17:05,116 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: <IP_ADDRESS>
2021-12-05 22:17:06,923 - ERROR    - Staub_E: Annotation is not class: typing.List
2021-12-05 22:17:06,943 - ERROR    - Staub_E: Annotation is not class: typing.List

fhempyserver_15733 has still state ??? ? Have you used previous versions of fhempy and did they work for you?
Can you please check with the latest version. Thx!

That's really strange. Nevertheless fhempy is working, isn't it? The logs look good.
Have you tried to do a fhempyserver_15733 restart? Can you see the restart in the log file as well?

Closed due to no reply. Please open a new issue if you still have installation issues.


How to return email claim from IExtensionGrantValidator in GrantValidationResult

I'm using the following code in my IExtensionGrantValidator
 public async Task ValidateAsync(ExtensionGrantValidationContext context)
        {
            var idToken = context.Request.Raw["access_token"];

            var result = this.handlerDispatcher.Handle(new TokenExchangeCommand
            {
                IdToken = idToken
            });

            var claims = new List<Claim>
            {
                new Claim("email", result.Email),
            };

            context.Result = new GrantValidationResult(result.UserId.ToString(), "access_token", claims);
        }

In my client configuration I have set AlwaysSendClientClaims to true. After this there are 2 additional claims available in my JWT:
{
"nbf":<PHONE_NUMBER>,
"exp":<PHONE_NUMBER>,
"iss": "http://localhost:5000",
"aud": "http://localhost:5000/resources",
"client_id": "client1",
"client_email"<EMAIL_ADDRESS>"sub": "66b8645f-44af-e065-8595-68afc8dcafc9",
"auth_time":<PHONE_NUMBER>,
"idp": "local",
"scope": [
"email"
],
"amr": [
"access_token"
]
}
But I want the claim to be called 'email' not 'client_email', how can I do this?

You are confusing user and client claims. What do you want to achieve?

I was looking for the IProfileService, thanks.


Improve the Timer wait time property hint

Make it possible to enter more precise values (up to 3 decimals).
Make it possible to enter values above 4096.

Would it be possible or make sense to use the configurable float step value? https://github.com/godotengine/godot/pull/30776

@aaronfranke It seems I can't use it without manually getting the value from the editor settings, so that'd make it a bit tedious to apply in other places.

@aaronfranke It seems I'd have to fetch the default float step manually to do this, as the property hint "0.001,4096,or_greater" won't do this automatically.

@aaronfranke PROPERTY_HINT_EXP_RANGE doesn't make use of the default float step yet, so it won't be possible until that's changed.

Thanks!


[question]I have changed the network from ssd+vgg to ssd+resnet, do you know how to generate prior_boxes_ssd300.pkl?

As title.

If you have changed the initial convolutional stacks from a VGG to a residual type architecture, you simply need to ensure that the output convolved tensors are the same after each of these two stacks is the same. If you do so, you needn't change anything in the prior boxes.

@fferroni Thanks very much for your comments.
As is known, the topology of VGG and resnet are different from each other, and their output convolution tensors are not the same.
My understanding is that prior_boxes_ssd300.pkl is the weights of VGG network part in SSD. That means if we change the imagenet part of the SSD from VGG to resnet, we have to pre-train this new network(aka: resnet) in the new SSD topology. Am I right?

@KevinYuk prior_boxes_ssd300.pkl are the default bounding boxes used by SSD, not the weights of the VGG part.

Hi @gcucurull ,
Thanks for your comments. If prior_boxes_ssd300.pkl are the default bounding boxes used by SSD, could I set prior_boxes_ssd300.pkl any value if I want to train the SSD network?
Thanks a lot.

@KevinYuk I'm afraid I can't answer your question, in the case of changing the network's topology I'm not sure how to generate this file, which I think is specific for VGG.


Remove OWNERS/tests under /vendor in update-deps.sh

These are unnecessary.

Unrelated unit test failure.
/retest

/retest

/retest


Button elements don't need role="button" nor tabindex="0"

Button elements don't need role="button" nor tabindex="0". The button role and keyboard access is inherent to the button element.
Suggest removing role="button" and tabindex="0" attributes from all rendering of button elements.
<button type="button" role="button" tabindex="0" class="swal2-cancel swal2-styled" style="display: none; background-color: rgb(170, 170, 170);">Cancel</button>

Hi @weboverhauls and thanks for reporting this. It seems that you're right and buttons don't need role="button" nor tabindex="0". Could you please make changes here and submit the PR?
Thanks in advance and have a great day!

Released in v6.6.0, thanks for contributing!


Can't connect to MariaDB on Azure

Hi!
I am trying to connect to a MariaDB server on Azure. It seems that myxql has issues with the Azure layer. If I try to connect I get the following error message:
[error] GenServer #PID<0.303.0> terminating
** (MyXQL.Error) (9999) () An internal error has occurred. Please retry or report your issues.
    (db_connection) lib/db_connection/connection.ex:87: DBConnection.Connection.connect/2
    (connection) lib/connection.ex:622: Connection.enter_connect/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: nil
State: MyXQL.Connection

If I try to connect on a MariaDB instance on my local machine everything seems te be fine. Using the same credentials I'm able to login using a MySQL client and the mariaex driver.

Did some debugging and it seems to go wrong during the handshake. And espacially the authorization part. Azure expects their usernames to be username@database_name and will refuse to connect if the @database_nameis not present.
An internal error has occurred. Please retry or report your issues. seems to be the response of Azure in that case.

I was able to connect via mysql cli to *.mariadb.database.azure.com but couldn't with myxql or mariaex. Could you double-check if you can connect to Azure with Mariaex? In any case, that's definitely a bug, thank you for the report.

The fix is on master!


Product attributes translation

Hi,
sorry for hassle but I have a problem with translation integration.
I have pasted the Woocommerce System Status Report below and the issue is on the product attributes added. I can not translate the attr.
Can you give some idea about it.
Thank you.

### WordPress Environment ###
Home URL: https://www.cam-units.com
Site URL: https://www.cam-units.com/wp-cu
WC Version: 3.3.5
Log Directory Writable: ✔
WP Version: 4.9.5
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
Server Environment
Server Info: Apache
PHP Version: 7.1.14
PHP Post Max Size: 16 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.54.0
OpenSSL/1.0.2k
SUHOSIN Installed: –
MySQL Version: 5.6.39
Max Upload Size: 4 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 3.3.5
WC Database Prefix: wp_
Total Database Size: 23.56MB
Database Data Size: 16.17MB
Database Index Size: 7.39MB
wp_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB
wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
wp_commentmeta: Data: 0.00MB + Index: 0.01MB
wp_comments: Data: 0.00MB + Index: 0.00MB
wp_cp_calculated_fields_form_discount_codes: Data: 0.00MB + Index: 0.00MB
wp_cp_calculated_fields_form_posts: Data: 0.00MB + Index: 0.00MB
wp_cp_calculated_fields_form_settings: Data: 0.04MB + Index: 0.00MB
wp_links: Data: 0.00MB + Index: 0.00MB
wp_options: Data: 2.23MB + Index: 0.23MB
wp_pms_member_subscriptionmeta: Data: 0.00MB + Index: 0.00MB
wp_pms_member_subscriptions: Data: 0.00MB + Index: 0.00MB
wp_pms_paymentmeta: Data: 0.00MB + Index: 0.00MB
wp_pms_payments: Data: 0.00MB + Index: 0.00MB
wp_postmeta: Data: 11.34MB + Index: 4.45MB
wp_posts: Data: 1.07MB + Index: 0.42MB
wp_social_users: Data: 0.00MB + Index: 0.00MB
wp_termmeta: Data: 0.03MB + Index: 0.03MB
wp_terms: Data: 0.09MB + Index: 0.14MB
wp_term_relationships: Data: 0.92MB + Index: 1.98MB
wp_term_taxonomy: Data: 0.17MB + Index: 0.10MB
wp_usermeta: Data: 0.11MB + Index: 0.02MB
wp_users: Data: 0.00MB + Index: 0.01MB
wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
wp_woof_query_cache: Data: 0.00MB + Index: 0.00MB
wp_wpgmza: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_categories: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_category_maps: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_circles: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_maps: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB
wp_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB
Post Type Counts
attachment: 79
custom_css: 1
customize_changeset: 10
ml-slide: 76
ml-slider: 4
nav_menu_item: 21
page: 39
polylang_mo: 3
post: 2
product: 3453
revision: 392
Security
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
Active Plugins (15)
Polylang: by Frédéric Demarle – 2.3.5
Akismet Anti-Spam: by Automattic – 4.0.3
Calculated Fields Form: by CodePeople – 1.0.228
Limit Login Attempts: by Johan Eenfeldt – 1.7.1
MetaSlider: by Team Updraft – 3.7.2
Nextend Social Login: by Nextendweb – 3.0.7
Paid Member Subscriptions: by Cozmoslabs
Mihai Iova
Madalin Ungureanu
Adrian Spiac
Cristian Antohe – 1.7.2
Tabby Responsive Tabs: by cubecolour – 1.2.3
Theme My Login: by Jeff Farthing – 6.4.11
Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 1.1.0 – Not tested with the active version of WooCommerce
WOOF - WooCommerce Products Filter: by realmag777 – 2.2.0
WooCommerce: by Automattic – 3.3.5
WOOF by Category: by KAGG Design – 1.6.2
WP Google Maps: by WP Google Maps – 7.0.04
YITH WooCommerce Catalog Mode: by YITHEMES – 1.5.9
Settings
API Enabled: ✔
Force SSL: –
Currency: TRY (₺)
Currency Position: left_space
Thousand Separator: .
Decimal Separator: ,
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
WC Pages
Shop base: #10 - /online-catalog/
Cart: ❌ Page not set
Checkout: ❌ Page not set
My account: ❌ Page not set
Terms and conditions: ❌ Page not set
Theme
Name: Storefront Child
Version: 1.1.0
Author URL: http://www.azelirbrevo.com
Child Theme: ✔
Parent Theme Name: Storefront
Parent Theme Version: 2.3.1
Parent Theme Author URL: https://woocommerce.com/
WooCommerce Support: ✔
Templates
Overrides: –

Please see:
https://github.com/hyyan/woo-poly-integration/wiki/Product-Attributes
and note that you can turn translation on or off for each individual attribute in the Polylang settings page as explained on this wiki page.
If you still have a problem  after that we can reopen the issue but please explain very clearly what the problem is, what you did, what you expected to happen, what actually happened, otherwise we can't tell what problem you are having.

@Jon007
The translations of the attributes are already assigned, as seen. But the problem is not solved by any means.

Are you saying that when viewing the site in Spanish you still see "Width" and not "Anchura"?
Please check the documentation at:
https://github.com/hyyan/woo-poly-integration/wiki/Product-Attributes
and if you are still having problems, come back with more details about what problem you are having.

Yes. That is what I am having as a problem, unfortunately.
I have read the link before, no solutions there. It only has information about the plugin tough.
What more details you ask for?

Well the most likely was the settings not set correctly in Settings\WooPoly\Features\Translate Attributes or Languages\Settings, Custom post types and Taxonomies
that is why I referred you to the documentation pages.
If it is not that, the most likely cause is a conflict with other theme or plugin code.
This is why we ask these questions before you open an issue:
Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?

This is "Settings\WooPoly\Features\Translate Attributes":

And this is "Languages\Settings, Custom post types and Taxonomies":

As these taxonomies are not selected, you can say that this is my fault but you are not right.
When these taxonomies are not checked as above, the translations don't work for other languages but they are shown on the page as seen below.

Now the taxonomies are selected:

They gone wild, they gone invisible, they made me open up this dispute but to be treated like a dirt as seen below.

I am just wondering how long will it take for you to just log in and crawl the site and chase the problem rather than just talk off the top of one's head.

BTW, I have tried all possible reactions without other plugins as well.
Thank you for your time.

What feature are you using to produce this menu on the left hand side, is it produced by another plugin? It looks like this functionality has a compatibility problem.
I am guessing from your report that it is:
WOOF - WooCommerce Products Filter: by realmag777 – 2.2.0
When you open the individual product you should see the product attributes translated on the product page, this is the standard woocommerce feature supported by this plugin and so I assumed you were asking about this functionality.  I was not able to guess that you were asking about a different plugin.
Please note the scope of this plugin is only to make the WooCommerce plugin compatible with the Polylang plugin.
Polylang support for WOOF - WooCommerce Products Filter compatibility is not in scope of this plugin, if realmag777 want to support Polylang either they need to implement their own compatibility or you need to implement your own version or a different tool.  realmag also have a paid version of their plugin so I suggest you raise the issue with them.
Please note this plugin is supported entirely for free by volunteers in their spare time instead of doing other things like sleeping.. so this is why we need as much information as possible and we are not able to spend time guessing about your problem.
Also your website product information is not public and I am not going to register with my personal details just to give you free support.

Here we go.
I will be pasting the link of this issue written here to realmag777 as you told, to embarrass you (maybe you will), this is why I am writing these.
I didn't ask you to "guess" the problem issued. The WC System Status Report is given from the very begining of this thread. "You" didn't even looked at it like you didn't looked at the website which the problem occured. If you have checked it at the begining, you wouldn't have to steal from your sleep and give me unanswered replies until this time.
The login page is not asking for personal details.  If your 1st time behaviour was to "help" people "free of charge", you can kindly ask a login credentials which I can arrange easily, like I have asked kindly at all above messages.
Giving "free" support doesn't mean smacking people around. You better go and get some sleep.
If everything is about charging some fee, the plugin does not have any option for me to do so, so emphasizing the "free support" procedures is meaningless.
After all, again, thank you for your spare time.
After after all, again, I am sorry for the hassle. Thank you.

You did not follow the instructions before raising this issue to confirm that the software was working with only Polylang, WooCommerce and this plugin enabled.
You did not clarify that you were asking for support for a different plugin.
If you had described the issue more clearly it would have been easier and quicker to confirm the issue, which is not an issue with this plugin.


Simplify language support

Description
The PR intent was to make it so that we only need to modify one TRS yaml (preferably the newer one) in order to to add a new language.
I reverted the TRS V2-beta changes (went back to tag 2.0.0-beta.5_gxformat2 in dockstore-webservice/pom.xml at line 1294) that supported Snakemake and did some testing with Snakemake plugin however the UI needs this defined so it is necessary to modify TRS V2-beta as well as TRS V2-final to add a new language.
While researching this I was able to move some hard coded language and file types from ToolsImplCommon.java into DescriptorLanguage.java, so the only changes needed to add a new language for the webservice are in DescriptorLanguage.java and Workflow.java (NOTE: this is for workflows; tools will require more code changes).
I also added tests for changes to ToolsImplCommon.java and DescriptorLanguage.java in a new TestToolsImplCommon.java file in src/test/io.openapi.api.impl
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-4013
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future

I could use some feedback on the fact that:
1. ToolsImpCommon.java is located under [swagger/api/impl](https://github.com/dockstore/dockstore/blob/develop/dockstore-webservice/src/main/java/io/swagger/api/impl/ToolsImplCommon.java) and not under openapi/api/impl

2. the test file ToolsImplCommonTest.java imports io.swagger.model.DescriptorType; but the ToolsImplCommon.java imports io.openapi.model.DescriptorType, and I'm not sure if these should be the same.  ToolsImplCommonTest.java requires io.swagger.model for many of its tests, and I had to hard code the io.openapi.model.DescriptorType in the tests.

For 1, I don't think there was much thought put into what package ToolsImplCommon was put into. Based on the comment, it might predate the openapi migration. So I think you have a free hand there to move it if it would reduce the number of imported classes.  (or explicitly imported anyway)

I would imagine that you could separate the tests into swagger and openapi tests if desired.

And just to clarify, your ultimate goal is to get rid of this, right? This is a step in that direction?

Not exactly. The idea was to freeze it so that we never need to modify TRS v2 beta support ever again. New languages should only need to touch v2 final https://github.com/dockstore/dockstore/blob/d85f70ee221421b2bc76bfbe0d3624d2ef30cb8b/dockstore-webservice/pom.xml#L1332 or whatever the lastest workflow specification is in the future.
i.e. we shouldn't need to do the equivalent of soviet revisionism, pretending that old versions of TRS supported new languages in order to add new languages, we should only need to modify the "latest"

Not exactly. The idea was to freeze it so that we never need to modify TRS v2 beta support ever again. New languages should only need to touch v2 final

Interesting, I was thinking of it from a Swagger vs. OpenAPI perspective, of getting rid of Swagger. But yes, I guess there's no reason to retroactively update existing support.
In discussing this, I realize I don't know how we surface TRS 1 support :( I don't see off-hand a reference to that spec in our code.

In discussing this, I realize I don't know how we surface TRS 1 support :( I don't see off-hand a reference to that spec in our code.

Poke around https://github.com/dockstore/dockstore/tree/develop/dockstore-webservice/src/main/java/io/swagger/api
But the short answer, we auto-generated once and then checked-it in. For better or for worse, we don't auto-generate the interface which is ok because v1 is "finished"

so what does end up happening when a newer TRS understands a new language (say, snakemake) but an older one doesn't. I think a sane 4XX of some kind would be fine, but a test would be good to nail down

In the case of TRS V2-beta without SMK support and TRS V2-final with SMK support the UI code does not even compile.

I think I'm ok with that, I'm more curious about what happens in terms of the endpoints.

In the case of TRS V2-beta without SMK support and TRS V2-final with SMK support the UI code does not even compile.

This is because parts of the UI are still using Swagger, right? Is it all over the place? Probably... But someday it would be nice if the UI only consumed the web service's Open API.


Switch to QT Category logging

Instead of #2199 perhaps this would be better. This switches to category based logging:
https://doc.qt.io/qt-5/qloggingcategory.html
and disables the debug level of logging, but it can be turned back on at run time using QT_LOGGING_RULES. Along with that, this adds a custom logger for websocketpp so that it logs via Qt.
Unfortunately this is kinda large and messy, let me know if you want me to split it up, squash, etc.

Please also make a PR to add the new environment variable to the Chatterino wiki: https://github.com/Chatterino/wiki/blob/master/docs/Environment Variables.md

@swills I was rude and pushed some code to your repo and performed the merge - at your earliest convenience please let me know if the changes I've made are okay with you and I will merge this into master

Looks great to me! Thanks!


Added Liebfrauenschule Oldenburg

@ShiruSan Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@ShiruSan You might miss my previous comment. Please react.

@ShiruSan I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Add DisableAuthForTesting in command line

DisableAuthForTesting is very useful for testing metrics-server without auth.

It's designed for internal use in unit tests.  In all other situations, you'll have an actual cluster around, and will be able to use auth from the cluster.  This should never be set by an actual user.


[Issue]: Raising error outside localhost (unable to load configuration from)

Describe the issue
I'm making tests locally and everything works like a charm, but after making a deploy I started to see the following error:  unable to load configuration from.
Here's my core logic:
    def send_message(self, input: CartanoInput) -> CartanoOutput:
        config_list = self._build_config_list()

        assistant = AssistantAgent(
            "assistant",
            llm_config={"config_list": config_list},
            human_input_mode="NEVER",
            max_consecutive_auto_reply=1,
            system_message=self._build_system_message(),
        )

        user_proxy = UserProxyAgent(
            "user_proxy",
            code_execution_config={"work_dir": "coding.py", "use_docker": False},
            human_input_mode="NEVER",
            max_consecutive_auto_reply=2,
        )

        message = self._build_user_proxy_message(input)
        response = user_proxy.initiate_chat(
            assistant,
            message=message,
        )
        print(f"UP_RESPONSE: {response}")

        if response and response.summary:
            output_with_exitcode_0 = response.summary.replace("exitcode: 0 (execution succeeded)\nCode output: ", "")
            if "exitcode: 1" in output_with_exitcode_0:
                output_with_exitcode_1 = response.summary.replace("exitcode: 1 (execution failed)\nCode output: ", "")

            return (
                CartanoOutput(cartano_message=output_with_exitcode_0)
                if output_with_exitcode_0
                else CartanoOutput(cartano_message=output_with_exitcode_1)
            )
        else:
            return CartanoOutput(cartano_message="Sorry we couldn't process your request. Please try again later.")

Basically the idea of the project is feed the AssistantAgent with an API doc, then it will create the request for the UserProxyAgent to call it. I can see the logs of the conversation between the agents, but when UPA tries to run the code that error is raised.
Steps to reproduce
No response
Screenshots and logs
Full conversation between agents:
What is the number of stakeholders?
This is the header {***}. This is the https host: ***
assistant (to user_proxy):
To obtain the number of stakeholders for your corporation with ID 7, I will make a request to the appropriate endpoint based on your provided information. The response will contain the total count of stakeholders.
import requests

# Define the headers for your request
headers = {
    ***
}

# Endpoint to get the number of stakeholders
url = "***"

# Making the GET request
response = requests.get(url, headers=headers)

# Parsing the response
if response.status_code == 200:
    data = response.json()
    print(f"The number of stakeholders is: {data['count']}")
else:
    print("Failed to fetch the data, status code:", response.status_code)

Execute this Python script to make a request to the endpoint and obtain the number of stakeholders. Please note that because we're accessing a test domain (app.foiled-wildebeest.test.carta.rocks), the actual request may only work within a specific setup or VPN if it's a domain used for internal testing purposes.

EXECUTING CODE BLOCK 0 (inferred language is python)...
user_proxy (to assistant):

exitcode: 1 (execution failed)
Code output:
unable to load configuration from

Additional Information
No response

This looks like something in the generated code. Have you tried running the generated code directly?

So, if I get this right, the Ai generats a python code that needs to be run to fetch the users, but this code execution is failing on a dependency import. Could it be that the dependencies are not being properly installed before running the code?

I tried to run the code via shell and that worked! So that's not a problem with the code generated at all.


test(lld): clipped screenshot on unsupported-os test file

we now ignore the bottom part of the screen
lld, test, screenshot

📝 Description
I had to clip the screenshot to avoid test flakiness due to stacktrace area.
❓ Context

Impacted projects: ``
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generte-screenshots

/generate-screenshots


The parameter "gos_pubsub_registered_routers" must be defined.

Followed the tutorial and server is working fine but when i try to execute command 'php app/console cache:clear' it gives me this

and in config.yml i have this configuration
gos_web_socket:
server:
port: 8080             #The port the socket server will listen on
host: <IP_ADDRESS>   #The host ip to bind to
router:
resources:
- @ApplicationOrderBundle/Resources/config/pubsub/routing.yml
topics:
- @application_order.topic_sample_service
pushers:
wamp:
host: <IP_ADDRESS>
port: 8080

So i manually deleted cache folder and now it say
The service "gos_web_socket.wamp.pusher" has a dependency on a non-existent service "debug.stopwatch".

I will check that, but seems weird, which version are you using ? Check if you have the latest
Thanks for your feedback!
Le 3 déc. 2015 14:05, acidmk<EMAIL_ADDRESS>a écrit :So i manually deleted cache folder and now it say
The service "gos_web_socket.wamp.pusher" has a dependency on a non-existent service "debug.stopwatch".
—Reply to this email directly or view it on GitHub.

"symfony"'s version is 2.5.12 and "gos/webSocketBundle" is 1.6

Problem points to file Gos\Bundle\WebSocketBundle\DependencyInjection\CompilerPass\DataCollectorCompilerPass.php
where reference for 'debug.stopwatch' seems to be unavailable.

The workaround is to manually add service into config.yml
services:
debug.stopwatch:
class:        Symfony\Component\Stopwatch\Stopwatch

Sorry for the delay, Last commit should prevent this error, thanks for feedback!


Add Dependencies CI build for cargo-gh-pages.

Need https://dependencyci.com/github/woofwoofinc/cargo-gh-pages for README badge to work.
@passy Can you arrange this in the same organisation as goldenretriever?

Fixed. Is green now. Sorry for the delay!


Can't store resized pdf as jpg

Command failed ('convert' '/tmp/dragonfly20180309-24076-u498ms' '-quality' '90' '/tmp/dragonfly20180309-24076-zurgvd.jpg') with exit status 1 and stderr convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/501.
convert: no images defined `/tmp/dragonfly20180309-24076-zurgvd.jpg' @ error/convert.c/ConvertImageCommand/3210.

I'm trying to resize first page of PDF to JPG and then store it at s3.
pdf_file.thumb('200x200', format: :jpg, frame: 0) works fine and produce resized thumbnail of pdf.
but pdf_file.thumb('200x200', format: :jpg, frame: 0).store produce invalid file!

i found the solution
pdf_file.thumb('200x200', 'format' => :jpg, 'frame' => 0).store works because imagemagick plugin accepts only string keys
this is the file where is cause:
lib/dragonfly/image_magick/processors/convert.rb

1
I wasted 2 hours trying to understand what happens. This have to be described in documentation. Or it's even better to replace options hash with hash with indifferent access

hash with indifferent access is a rails thing.
I specifically don't want to convert between symbols and strings because it adds complexity in other areas.
String keys were chosen because they easily JSON serialize/deserialize.
When you say it should be described in the documentation, I'm not sure what you mean as in http://markevans.github.io/dragonfly/imagemagick it clearly uses string keys.
Do you mean there should be a note of emphasis? If so where would you put it? The problem is of course that I have to balance catering for people overlooking things with keeping the docs clear and concise, which is no easy feat! ;)

you are right that in the documentation iit uses string keys, didn't noticed that...
but image.thumb works with symbol keys, .store doesn't, so thats why I was confused

What about adding your own implementation of stringify_keys for example?


HAWKULAR-806 Removing browse buttons, because they are useles + addin…

…g some hints/descriptions + adding an example how to run the agent installer

Merged #660


Support return baize.Files/baize.Pages in HttpView

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (925d40e) 87.58% compared to head (817f15d) 87.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   87.58%   87.61%   +0.03%
==========================================
  Files          55       55
  Lines        2416     2422       +6
==========================================
+ Hits         2116     2122       +6
  Misses        300      300

Flag
Coverage Δ

unittests
87.61% <100.00%> (+0.03%)
:arrow_up:

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

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


Implement index_splitter worker

The goal of that worker is to create files with indices that split the dataset into a distinctive subsets.
The required usage:

user provides the output dir where files with indices will be created (--o)
user provides the problem name (--p) OR length of the dataset (--l)
user provides split --s (value from 1 to l-2, which are border cases when one of the other split will contain a single index)
additional option: random_sampling (--r, DEFAULT: true)
-- when random_sampling is on, both files will contain list of indices
-- when off, both files will contain ranges, i.e. [0, s-1] and [s, l] respectivelly


refactor: support creating only one project

Description

Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

│ Error: Value for undeclared variable
│
│ A variable named "project_name" was assigned on the command line, but the
│ root module does not declare a variable of that name. To use this value,
│ add a "variable" block to the configuration.
╵
╷
│ Error: No value for required variable
│
│   on variables.tf line 44:
│   44: variable "project_names" {
│
│ The root module input variable "project_names" is not set, and has no
│ default value. Use a -var or -var-file command line argument to provide a
│ value for this variable.
╵}

will need to skip the upgrade test

/run pipeline


[Feature Request] Back to Top by Tapping the Feed icon

It'd be nice to have the option to go back all the way to the top of the feed by simply tapping (or double tapping) the Feed icon.
Version: 2.9.0

I think this is a duplicate of #78 and maybe instead of "scrolling up" a simple refresh as proposed in #100 has the benefit of also receiving the newest tweets?

Closing as a duplicate of #78.


[update-checkout] On Linux for main, next, and master-rebranch, bump the cmake to v3.19.6.

This is not touching the minimum yet since we need to do a bit more work over
the next couple of weeks to get the bots ready on macOS for the newer cmake.
Windows bots already support the newer cmake.
https://forums.swift.org/t/bump-cmake-version-to-3-18/45033/10

@shahmishal this won't matter since it will just effect the Linux bots. Won't effect the other bots.

@swift-ci test

@shahmishal this won't matter since it will just effect the Linux bots. Won't effect the other bots.

We have jobs which don't use update-checkout, so I will need to run different automation to update the tags.

One question: since this only affects linux and the system CMake is used on the Mac and Win CI, what are the deployed CMake versions there? I ask because the minimum CMake version of the three is going to determine what features we can actually use going forward.


Use flushWebpackRequireWeakIds from react loadable

React loadable has since implemented https://github.com/60frames/react-boilerplate/blob/master/src/components/lib/loadable/loadable.js
https://github.com/thejameskyle/react-loadable#flushserversiderequirepaths--flushwebpackrequireweakids

https://github.com/60frames/react-boilerplate/pull/97


Link in "Walkthrough--Creating-and-Interacting-with-a-Page-Web-Service--OData-.md" to "Web Service Alternatives" page is malformed

Link in Walkthrough--Creating-and-Interacting-with-a-Page-Web-Service--OData-.md to "Web Service Alternatives" page is malformed hence cannot be resolved when building docs.
Link at bottom
Web-Service-Alternatives:-SOAP-and-OData.md
should be
Web-Service-Alternatives--SOAP-and-OData.md

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45ab2d51-62c3-fa9a-7a3f-556097ef3c43
Version Independent ID: a93c5d06-2ca9-f8d5-7b49-b69429e7f613
Content: Walkthrough: Creating and Interacting with a Page Web Service (OData) - Dynamics NAV
Content Source: dynamics-nav/Walkthrough--Creating-and-Interacting-with-a-Page-Web-Service--OData-.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

Thanks for the feedback! The link has been fixed and an update will be published soon.


REQ: When rate limit message is returned from LLM, report the amount of usage in the UI

Issue
Is it possible when you hit the rate limit with your LLM provider, for example I am hitting it with Anthropic today, to display the actual amount of usage which is reported to be in the response header?
litellm.RateLimitError: AnthropicException - {"type":"error","error":{"type":"rate_limit_error","message":"Number of request tokens has exceeded your daily rate limit (https://docs.anthropic.com/en/api/rate-limits); see
the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options
for a rate limit increase."}}
I am using caching, so that may be why thinks don't line up, but I am on tier 3 and should have 5M tokens.  The UI says I have used around 4M at the moment, but starting at about 3M today it started hitting me with these rate limit messages (I wait a while and submit my prompt and get 1 or 2 in and it comes back again).  It would be good to be able to see within aider what it says the usage has been for the day when it response, if possible.
aider 0.54.8
Model: --sonnet
Version and model info
No response

Thanks for trying aider and filing this issue.
Unfortunately, it's not possible for aider to know how much of Anthropic's rate limits you have been consuming. They operate on multiple time scales and count all usage in your organization.


Fix: Migration for FDIC dags.

Description
Migration for FDIC dags.
Notes:

Made changes to fix Migration of FDIC Dag inside a single  datasets/FDIC folder.

Closing branch due to CLA issues.


Flutter Error

I worked a project on yesterday and today when I try to open it, I am getting this error :
writeFrom failed, path = '.\pubspec.lock' (OS Error: The operation completed successfully.
, errno = 0)
pub upgrade failed (66)

Please add the output of flutter doctor -v
Please try deleting pubspec.lock.
Does the user account you are using have write permissions in this directory?

Please add the output of flutter doctor

@zoechi
Same error, nothing changes.

Does the pubspec.lock file exist?
Can you open it in the IDE or some editor?
Have you tried restarting your machine?


not a valid repository name

I'm trying to run bootstrap on my Raspberry Pi 1 B+ but npm is giving me the following errors:
npm ERR! git clone git@github.com:github:maddox/harmonyhubjs-client Cloning into bare repository '/home/pi/.npm/_git-remotes/git-github-com-github-maddox-harmonyhubjs-client-def8ff3d'...
npm ERR! git clone git@github.com:github:maddox/harmonyhubjs-client fatal: remote error:
npm ERR! git clone git@github.com:github:maddox/harmonyhubjs-client    is not a valid repository name
npm ERR! git clone git@github.com:github:maddox/harmonyhubjs-client   Email<EMAIL_ADDRESS>for help
npm ERR! notarget No compatible version found: harmonyhubjs-client@'github:maddox/harmonyhubjs-client#for-harmony-api'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.1.10"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 4.9.41+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/harmony-api-2.3.5
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code ETARGET
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES: permission denied, open 'npm-debug.log']
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'open',
npm ERR!   path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 4.9.41+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/harmony-api-2.3.5
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! path npm-debug.log
npm ERR! syscall open
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! stack Error: EACCES: permission denied, open 'npm-debug.log'
npm ERR! stack     at Error (native)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /tmp/harmony-api-2.3.5/npm-debug.log
npm ERR! not ok code 0

As far as I know I have all the requirements installed. I also authenticated towards github.

In a completely unrelated project I struggled with this for hours... following @rourke exact steps I finally got around this blocker. Thanks!


Default resource limit memory  is getting detected as 0.9 when no value is set

Describe the bug
We are not setting any value for the property resource-limits memory but the value is getting detected as 0.9 when though the value as per the documentation is 0.8. -https://docs.vespa.ai/en/reference/services-content.html#memory
We are deploying our services xml with the following configuration
                <resource-limits>
                    <disk>0.90</disk>
                </resource-limits>

Environment (please complete the following information):

Infrastructure: Kubernetes, Azure, AWS, self-hosted

Vespa version
Vespa version - 8.80.20

There are two limits:

For the cluster as a whole entity, default 0.8: https://docs.vespa.ai/en/reference/services-content.html#memory
For individual content nodes, default 0.9: https://docs.vespa.ai/en/reference/services-content.html#resource-limits-proton

To verify configuration, e.g. :

$ vespa-get-config -n vespa.config.content.fleetcontroller -i admin/standalone/cluster-controllers/0/components/clustercontroller-mycontent-configurer|grep cluster_feed_block_limit.memory
$ vespa-get-config -n vespa.config.search.core.proton -i mycontent/search/cluster.mycontent/0|grep writefilter.memorylimit


Support python3 only systems like Ubuntu 20.04

Describe problem solved by this pull request
Ubuntu 20.04 and latest Cygwin come with no Python 2 and no link
from python to python3. To not mess with the system we detect
python3 for seamless support.
Describe your solution

Use cmake's official FindPythonInterp detection also in libuavcan:
https://github.com/PX4/libuavcan/pull/3
Detect python3 in the kconfig script

Describe possible alternatives
We could cut python 2 in that script and directly call python3
Test data / coverage
I built PX4 successfully on Ubuntu 20.04 current daily.
SITL works out of the box with the existing ubuntu setup script:

fmu-v5 needs this pr if the system is not adjusted with a link from /usr/bin/python to python3.
Additional context
It was exactly the same problem that made the Windows toolchain v0.9 build fail first and delayed https://github.com/PX4/Firmware/pull/14401. I then added the symbolic link for the current Cygwin toolchain as a workaround here: https://github.com/PX4/windows-toolchain/commit/f08348b85fd502fea99b3ee6dfd5c7da0e8ecce1

Wow! I'll install 20.04 next week!

Wow! I'll install 20.04 next week!

Maybe not as productive bare metal system... Even though it works quite stable in my VM and I only found some minor UI color bugs I would still wait a bit. They'll bring it to release very soon. Official release date is in less than a month.


Editing Pebble Templates?

Every time I edit /resources/public/pebble_templates/info.html the site breaks and I just get a white screen when the page loads. Am I editing the wrong thing?

If you want to use a custom index and faq, copying the files and setting the config options to the location of the copies is probably what you want to do.
Errors caused while editing these files is likely due to localization issues: if you change a string then the localizer expects to be able to translate it. The process for compiling the new localizations is still mostly correct in the description for #475. One notable nicety is that there's now a script (update-localizations.sh) which can do step 2 automatically for existing localizations.

Thank you! I ended up using a quite janky solution of editing the cache and using Cron to copy over the index.html file. I'll definitely update it!


Updated waas-delivery-optimization.md

Changed "Windows Intune" to "Microsoft Intune"

@jaimeo Review and merge needed for this PR addressing a minor typo fix. Thank you.


Shaders not working

Hi there,
Sorry for posting this as an issue, but I've been trying to create a Fresnel effect on a mesh and didn't manage to accomplish anything. So, I'm trying not to waste any more hours.
Does anyone have an example of how I can add the Fresnel using CustomShaderMaterial?
My current code is this:
<mesh position={[15, 0, 0]}>
    <sphereGeometry args={[5, 100, 100]} />
    <CustomShaderMaterial
        baseMaterial={THREE.MeshPhysicalMaterial}
        color={'#612700'}
        vertexShader={`
            varying vec3 vPositionW;
            varying vec3 vNormalW;
            void main() {
                vPositionW = normalize(vec3(modelViewMatrix * vec4(position, 1.0)).xyz);
                vNormalW = normalize(normalMatrix * normal);
                gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
            }
        `}
        fragmentShader={`
            varying vec3 vPositionW;
            varying vec3 vNormalW;
            void main() {
                float fresnelTerm = ( 1.0 - -min(dot(vPositionW, normalize(vNormalW) ), 0.0) );
                gl_FragColor = vec4(1.0,0.0,0.0,1.0) * fresnelTerm;
            }
        `}
        roughness={0.65}
        reflectivity={1}
    />
</mesh>

But it doesn't have any effect.
Any help would be greatly appreciated since this has been driving me crazy.
Thank you.

Hey! Thanks for using the library! You must use the special output variables provied by CSM for it to take effect. Here you go https://codesandbox.io/s/interesting-oskar-8153vp?file=/src/App.js:1012-1101

Hey! Thanks for using the library! You must use the special output variables provied by CSM for it to take effect. Here you go https://codesandbox.io/s/interesting-oskar-8153vp?file=/src/App.js:1012-1101
Refer to the readme for what these variables are

Thanks so much for this, problem solved.
Really good work on the libraray, I appreciate it. <3


CloudTrail

It is always nice to be able to audit KMS access. Should this stack create a CloudTrail?

Cloudtrail can log Lambda invocations, etc. as well. +1!

Should be easy with the CloudTrail CF resource:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html

I believe it can also track lambda invocations now.


SIMSBIOHUB 343 - Incorrect date overlap error in sampling methods

Links to Jira Tickets

SIMSBIOHUB-343

Description of Changes

Fixed an issue where the yup schema used for editing sampling methods used the wrong field for a date overlap check.
Removed an unintended required().
Added a refresh call when submitting sampling method changes so they are reflected in the UI. Otherwise you will still see the previous value if you go back to the sampling methods view even though the new value did save to the db.

How can I test these changes? Should this be branched from dev, or dev-staging?

How can I test these changes? Should this be branched from dev, or dev-staging?

PR needs to rebuild since the base branch changed from dev to dev-staging. Otherwise, it should be testable in Openshift

See: https://github.com/bcgov/biohubbc/pull/1145


Sorry, I encountered a minor issue while running tests after cloning your program.

It looks like there's an issue with the load_ic function in the jsbsim module. It seems like it's expecting two positional arguments, but only one is being given. You might want to check the documentation for the load_ic function to see what arguments it requires and make sure you are providing them correctly.
Here's the translation of my code:
import gym
import gym_jsbsim
import numpy as np
import time

env = gym.make('JSBSim-TurnHeadingControlTask-Cessna172P-Shaping.STANDARD-FG-v0')
state = env.reset()
env.render(mode='flightgear')
done = False

while not done:
    action = np.random.random((3,))*2-1
    state, reward, done, info = env.step(action)
    env.render(mode='flightgear')
    #time.sleep(1)

And the error message:
self.jsbsim.load_ic(ic_path, useStoredPath=False)
File "_jsbsim.pyx", line 954, in jsbsim._jsbsim.FGFDMExec.load_ic
TypeError: load_ic() takes exactly 2 positional arguments (1 given)
Hope this helps!

Thanks for flagging the issue.
I don't maintain this repository anymore, but it sounds like jsbsim made a breaking change to their python bindings. I see jsbsim 1.2.0 was released around two weeks ago. I would suggest trying jsbsim 1.1.x instead to see if that resolves the issue.

 I will try again, and once again, thank you for your response.

You should replace "useStoredPath" with "booluseAircraftPath" in the code, as it has been updated in the latest version.

It should actually be useAircraftPath, not booluseAircraft Path.

In my case,
I just deleted the calling argument part ("useStoredPath=").
Instead of "load_ic(ic_path,useStoredPath=False)", "load_ic(ic_path,False)".


NzRadio - make radio buttons tabbale

What problem does this feature solve?
Hi Team,
as far as I see now I can switch between radio buttons using "left" and "right" arrow keys on my keyboard. Is it possible to actually use  "tab" to switch between radio buttons?
Thanks,
Aleksandr
What does the proposed API look like?
[nzTabKey]="'tab'"

We don't actually provide keyboard switch radio, this is browser behavior.

got it, thx


JWT Validation - Change from alcoholic_jwt to jsonwebtoken crate

Hello,
I've change the crate for validation due to alcoholic_jwt being unmaintened and archived. I've switched to jsonwebtoken. I also added some tests for the validation.
Thought you might be interrested.

Brilliant, thanks!
I'm getting a libc compilation error when trying to use it in a test project. Do you get the same?
❯ cargo b
    Updating crates.io index
error: failed to select a version for `libc`.
    ... required by package `ring v0.17.4`
    ... which satisfies dependency `ring = "^0.17.4"` of package `jsonwebtoken v9.1.0`
    ... which satisfies dependency `jsonwebtoken = "^9.1.0"` of package `rfesi v0.25.0 (/home/matt/code/rfesi)`
    ... which satisfies path dependency `rfesi` (locked to 0.25.0) of package `rfesi_driver v0.1.0 (/home/matt/code/rfesi_driver)`
versions that meet the requirements `^0.2.148` are: 0.2.150, 0.2.149, 0.2.148

all possible versions conflict with previously selected packages.

  previously selected package `libc v0.2.144`
    ... which satisfies dependency `libc = "^0.2.51"` (locked to 0.2.144) of package `hermit-abi v0.1.19`
    ... which satisfies dependency `hermit-abi = "^0.1.3"` (locked to 0.1.19) of package `num_cpus v1.13.1`
    ... which satisfies dependency `num_cpus = "^1.8.0"` (locked to 1.13.1) of package `tokio v1.21.2`
    ... which satisfies dependency `tokio = "^1.21.2"` (locked to 1.21.2) of package `rfesi_driver v0.1.0 (/home/matt/code/rfesi_driver)`

failed to select a version for `libc` which could resolve this conflict

Gotcha; must've been something on my end.

Released: https://github.com/Celeo/rfesi/releases/tag/v0.26.0


Could I make a custom variable for Tags Query?

I have main query named Type that returns 10 results and takes the query
SHOW TAG VALUES FROM "transactions_per_minute" WITH KEY = "product_type"
I would like to use the "Value groups/tags" feature that will show a tag named Foo that will automatically checks 7 values out of the 10 results. and the rest of the 3 onto another.
Trying to follow the guide from this thread
I have created another variable named FooValues where it takes the query
SHOW TAG VALUES FROM "transactions_per_minute" WITH KEY = "product_type" where product_type!='bar' and product_type!='qux' and product_type!='quux and
I've added a new variable named FooVariable that contains the string Foo
I have also added the following query for the Type Tag values query but it doesn't seem to work as I don't know what to put on the "Tags query":
SHOW TAG VALUES FROM "transactions_per_minute" WITH KEY = "product_type" WHERE "product_type"=$FooValues
I tried to put the above query on the "Tags query" but it seems to return all of the values of FooValues and even then it doesn't even link itself to the actual main query.

Any help would be greatly appreciated
Grafana version: 4.6.5
Update:
I've read up on this document and it seems that I needed to add in the $tag in the query somewhere but i still dont exactly know how i'll map each values.

@alphacr this is an issue that should be opened with the Grafana team https://github.com/grafana/grafana


Support Darwin arm64 builds

Given that kdigger is written in Go it should be fairly straightforward to provide those builds.

Sorry for the late reply but yes it should be fairly straightforward, feel free to update the Makefile release target in a PR to add darwin_arm64 and change darwin into darwin_amd64. It will be my pleasure to merge this and then do the release on the GitHub repo.


Add translation links to the hero

Currently, pages with heroes don't get translation-links like pages with item introductions or text-introductions. This PR changes that, rendering these links if they exist (english versions of translated pages set in the wagtail config).
Testing

Get a recent dump
Visit https://www.consumerfinance.gov/consumer-tools/ and notice no links
Compare with http://localhost:8000/consumer-tools/ and notice the links
Pages with heroes (or jumbo heroes) and no linked translations (like the homepage at http://localhost:8000) should not render any new markup

@wpears for posterity (and to make it easier to review without doing a local setup) could you paste a before-and-after screenshot here to see what this looks like on hero pages?

Before:

After:

Oh that just made me notice a bug! The sidebar is wrong, one moment

One thing you might double-check is any landing page that doesn't have a hero. I'm not sure which page this might be offhand.


Add a "Completed" Email template and trigger after Requests are Completed. Update "Approved" Email Template

Description:
For now after Approval action user receives an email Request is Approved and Completed though it has to go through Provisioning and may get stuck.
We need to add a separate Completed URL and change the wording for Approved URL.

Here’s the updated DoD with an appropriate tone:
Definition of Done (DoD):

[x] The approval email for edit requests excludes completed from the subject line.
[x] The approval email for create, edit, and delete requests includes the paragraph:
Please allow 3-5 minutes for the request to be processed by the backend. If it takes longer, don't hesitate to reach out to us.

platform-services-registry/app/app/api/private-cloud/requests/[id]/decision/route.ts

[x] A new email template is created to inform the product team when changes of edit request are applied and completed.

platform-services-registry/app/app/api/private-cloud/provision/[licencePlate]/route.ts

[x] The Mermaid diagram is updated to reflect these changes.

Hey team! Please add your planning poker estimate with Zenhub @Amritpal-Nijjar @funtigr @golebu2020 @junminahn @Kolezhanchik

After approving the Request, I receive an empty email:

Everything works well except two issues. If you'd like we can start a new ticket for their fix:

For Edit and Create request user receives two Provisioned emails:

In the Approved email we have text about logging in to OpenShift. Though if User logs in to OpenShift before request provisioned, the changes would not have taken place. I think we need to delete the sentence about logging in to the OpenShift console from Approved email:

Fixed:
Now only one instance of every email about Approval and about Provisioning are received.
The approval email doesn't have the text about logging in to OpenShift.

The provisioned email has text about logging into the OpenShift console:


wizard: pre-fill options with information from x-kusk extension

What should the behaviour be with this one? @dobegor @olensmar
We populate the options with the settings in the extensions and then what do we do?
In my head there are 2 options:
A) Skip the questions for setting these in the wizard
B) Ask the questions anyway and use what's currently in the extension as the "default" and give the user a chance to override it?


CMake build scripts added

Hello,
I added scripts that enable the project to be used comfortable from CMake based Qt project.
BR:
Antal Tatrai

Thank you!


Correct build path for Sphinx docs

Publishing to Github pages fails because the path to the Sphinx build is wrong

Codecov Report

Merging #79 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #79   +/-   ##
=======================================
  Coverage   65.57%   65.57%
=======================================
  Files         118      118
  Lines        4933     4933
  Branches      280      280
=======================================
  Hits         3235     3235
  Misses       1624     1624
  Partials       74       74

Continue to review full report at Codecov.

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


make failed

check out code and make, it failed.
[root@cfc6 gocsi]# make
go build -o "context.a" ./context
middleware/logging/logging_interceptor.go:14:2: cannot find package "github.com/thecodeteam/gocsi/context" in any of:
	/root/go/src/github.com/gyliu/gocsi/vendor/github.com/thecodeteam/gocsi/context (vendor tree)
	/usr/local/go/src/github.com/thecodeteam/gocsi/context (from $GOROOT)
	/root/go/src/github.com/thecodeteam/gocsi/context (from $GOPATH)
middleware/logging/logging_interceptor.go:15:2: cannot find package "github.com/thecodeteam/gocsi/utils" in any of:
	/root/go/src/github.com/gyliu/gocsi/vendor/github.com/thecodeteam/gocsi/utils (vendor tree)
	/usr/local/go/src/github.com/thecodeteam/gocsi/utils (from $GOROOT)
	/root/go/src/github.com/thecodeteam/gocsi/utils (from $GOPATH)
make: *** [middleware/logging.a] Error 1

Hello @gyliu513,
Is your GOPATH exported?

Thanks @clintkitson , good to see you here!  Source code must be built in the GOPATH and match the structure of the package being built. Glad you got it working.