provider doesn't cleanup unfunded deployments after being offline

I did the following thing

Started lots of deployments with one account
Left them up
My provider was offline for an extended period of time due to a bug where it wouldn't start back up
The account ran out of coins
When the provider came back online the group leases are in state "insufficient funds"
Closed all my deployments for that account
Bug a bunch of deployments are left running in Kubernetes. They should be stopped

this is probably fixed by some sort of "reaper" process but I'm just documenting it here until we create that


Login Endpoint

Endpoint to login users with a fixed ID. Registered user IDs should be persisted. There is no option to register new users via a self-service UI (i.e. user ids are hardcoded).
Required:

[x] Endpoint to check User ID for validity
[x] Endpoint returns Set-Cookie-Header with the user ID (or some session token) upon successful login
[x] Cookie value (session token or user id) is checked for every future request (authentication) (optional, might also be added later)

@theEpsilon can be closed?


IndexError when running the evaluation (SAD) script

When running the tools/eval.sh on the LENA dataset with opensmile, some files raise this error :
Traceback (most recent call last):
  File "score.py", line 162, in <module>
    args.ref_lab_ext)
  File "score.py", line 115, in score_files
    durs = [score_file(**kwargs) for kwargs in kwargs_gen()]
  File "score.py", line 96, in score_file
    dur = min(sys_segs[-1][1], ref_segs[-1][1])
IndexError: list index out of range

It appears to be only the case when the file has not been created by the model in the folder temp_sys (empty prediction).
Even though, it doesn't affect the output of the evaluation, I think these red messages are quite frightening

I modified tools/evalSAD.sh.
Now the files are being processed by score.py only if they exist in both temp_ref and temp_sys folders. It's less frightening and more efficient.


show unity code snippets in dashboard

📝 Changed routes:

/dashboard/storage

(view full size)

Commit 275d7e40b97cb71420eaee4075fe53fc70f9fa38 (https://thirdweb-r701w8p98.thirdweb-preview.com).


Question

do you think bots false banning too many players could force microsoft to at the very least restart the ban system?

I do not think it will happen anyways. If moderation will indeed be handled exclusively by humans - they will probably drop most incoming reports initially, until people stop trying to mass-attack the system.


[AVM Module Issue]: management-group has no option for diagnostic logs

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/management/management-group
(Optional) Module Version
0.1.2
Description
Would you be able to add Diagnostics onto this module. A bit like below:
targetScope = 'managementGroup'

param parDiagnosticSettingsName string = 'toLa'

param parLogAnalyticsWorkspaceResourceId string

resource resMgDiagSet 'Microsoft.Insights/diagnosticSettings@2021-05-01-preview' = {
  name: parDiagnosticSettingsName
  properties: {
    workspaceId: parLogAnalyticsWorkspaceResourceId
    logs: [
      {
        category: 'Administrative'
        enabled: true
      }
      {
        category: 'Policy'
        enabled: true
      }
    ]
  }
}

(Optional) Correlation Id
No response

Since I am currently quite busy, I would appreciate any help on this topic!

I'll be damned. It seems like there is an API even though I cannot seem to find it in the Portal. In any case, that means nothing should speak against implementing it. The only challenge I see is that it's a bit difficult to identify which metrics/logs can be configurated.

I'll be damned. It seems like there is an API even though I cannot seem to find it in the Portal. In any case, that means nothing should speak against implementing it. The only challenge I see is that it's a bit difficult to identify which metrics/logs can be configurated.

Yeah it doesn't show in the portal for some reason. I picked up the diagnostic logs for the Management Groups from the ALZ Bicep modules as they provide this functionality
Just one to add to the module notes:
Notes
Considerations
This template is using a Tenant level deployment, meaning the user/principal deploying it needs to have the proper access
If owner access is excessive, the following rights roles will grant enough rights:
Automation Job Operator at tenant level (scope '/')
Management Group Contributor at the top management group that needs to be managed
Consider using the following script:
$PrincipalID = ""
$TopMGID = ""
New-AzRoleAssignment -ObjectId $PrincipalID -Scope "/" -RoleDefinitionName "Automation Job Operator"
New-AzRoleAssignment -ObjectId $PrincipalID -Scope "/providers/Microsoft.Management/managementGroups/$TopMGID" -RoleDefinitionName "Management Group Contributor"
The user/principal will also need something like Monitoring Contributor to the Management Group and will also need something like Log Analytics Contributor to the workspace (If they are deploying to the Log Analytics workspace)

Hey @fblix,
Please triage the issue when you get the chance 🙂


Increasing the resolution scale more than 2x does not improve the image quality.

Linear interpolation is not suitable for scales larger than 2x. With linear interpolation, a resolution scale above 2x makes no sense other than performance testing. Instead, it is better to use averaging. Here is an example showing how bad linear interpolation is.

agreed, i would say it looks fine for 1x through 2x ( if even slightly better ) but for 3x+ it makes it far worse than 2x.
As Ulexer said, it would be better to use averaging
1x:

2x:

4x:

8x:


Poetry's keyring bug causes Clearml remote execution to fail

  • Installing six (1.16.0)

1678971772308 xyz DEBUG
  DBusErrorResponse

  [org.freedesktop.DBus.Error.UnknownMethod] ('No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/secrets/collection/login',)

  at ~/.pyenv/versions/3.7.16/envs/clearml_ops/lib/python3.7/site-packages/secretstorage/util.py:48 in send_and_get_reply
       44│     def send_and_get_reply(self, msg: Message) -> Any:
       45│         try:
       46│             resp_msg: Message = self._connection.send_and_get_reply(msg)
       47│             if resp_msg.header.message_type == MessageType.error:
    →  48│                 raise DBusErrorResponse(resp_msg)
       49│             return resp_msg.body
       50│         except DBusErrorResponse as resp:
       51│             if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):
       52│                 raise ItemNotFoundException('Item does not exist!') from resp

The following error occurred when trying to handle this error:

  ItemNotFoundException

  Item does not exist!

  at ~/.pyenv/versions/3.7.16/envs/clearml_ops/lib/python3.7/site-packages/secretstorage/util.py:52 in send_and_get_reply
       48│                 raise DBusErrorResponse(resp_msg)
       49│             return resp_msg.body
       50│         except DBusErrorResponse as resp:
       51│             if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):
    →  52│                 raise ItemNotFoundException('Item does not exist!') from resp
       53│             elif resp.name in (DBUS_SERVICE_UNKNOWN, DBUS_EXEC_FAILED,
       54│                                DBUS_NO_REPLY):
       55│                 data = resp.data
       56│                 if isinstance(data, tuple):

The following error occurred when trying to handle this error:

  PromptDismissedException

  Prompt dismissed.

  at ~/.pyenv/versions/3.7.16/envs/clearml_ops/lib/python3.7/site-packages/secretstorage/collection.py:159 in create_collection
      155│     if len(collection_path) > 1:
      156│         return Collection(connection, collection_path, session=session)
      157│     dismissed, result = exec_prompt(connection, prompt)
      158│     if dismissed:
    → 159│         raise PromptDismissedException('Prompt dismissed.')
      160│     signature, collection_path = result
      161│     assert signature == 'o'
      162│     return Collection(connection, collection_path, session=session)
      163│

The following error occurred when trying to handle this error:

  InitError

  Failed to create the collection: Prompt dismissed..

  at ~/.pyenv/versions/3.7.16/envs/clearml_ops/lib/python3.7/site-packages/keyring/backends/SecretService.py:63 in get_preferred_collection
       59│                 collection = secretstorage.Collection(bus, self.preferred_collection)
       60│             else:
       61│                 collection = secretstorage.get_default_collection(bus)
       62│         except exceptions.SecretStorageException as e:
    →  63│             raise InitError("Failed to create the collection: %s." % e)
       64│         if collection.is_locked():
       65│             collection.unlock()
       66│             if collection.is_locked():  # User dismissed the prompt
       67│                 raise KeyringLocked("Failed to unlock the collection!")

failed installing poetry requirements: Command '['poetry', 'install', '-n']' returned non-zero exit status 1.
Ignoring pip: markers 'python_version >= "3.10"' don't match your environment

Locally this can be fixed with export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring. Any workaround to get this working? https://github.com/python-poetry/poetry/issues/5250#issuecomment-1067193647

Hi @prassanna-ravishankar, I assume the issue is when running the task with an agent, is that correct?
If so, you can just set this env var in the agent's clearml.conf file by adding:
environment {
    PYTHON_KEYRING_BACKEND: "keyring.backends.null.Keyring"
}

Thanks!


upgrade to 0.14.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Close #8

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Normalised how we require models

refs #9866

if i want to do a project search and looks for model usages e.g. models., then i won't find these usages
normalise how we require models -> consistency

LGTM! :+1:


Web - New Group - Crash when deleting digits in a search query for specific accounts

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue was found when executing PR https://github.com/Expensify/App/pull/7702
Action Performed:

Go to URL https://staging.new.expensify.com/ and login
Click on the green + icon on the home screen
Click New Group. The New Group Page should open
Use the arrow keys and Enter to select multiple results
Enter a few numbers in the search query and delete them

Expected Result:
No crash when deleting digits in a search query
Actual Result:
Crash when deleting digits in a search query
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.79.9
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/176947637-e3ebab6f-534c-463a-b8ba-6550fb00877e.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause - Interna Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Hmm, unable to reproduce on dev (v1.1.79-10).
https://user-images.githubusercontent.com/16747822/176949374-d2fb9272-bd0d-4952-bab1-8068609b34f7.mov
Testing staging now

Hmm, I'm able to reproduce on my desktop app but not on web:
https://user-images.githubusercontent.com/16747822/176949924-7a99632e-48d4-4388-88b8-e5901166e77f.mov
https://user-images.githubusercontent.com/16747822/176949940-376fa950-09cb-4f5a-beeb-7c38c1f2221a.mov
@roryabraham it does look like this is potentially tied to your changes in https://github.com/Expensify/App/pull/7702

I'm not able to reproduce this either, but I have a good feeling that this will fix it: https://github.com/Expensify/App/pull/9674

Reopening this as the fix had to be reverted

I was able to reproduce it once for the Desktop app, but only once. Repeating the same steps did not cause a crash after the first time. I've tried this with multiple users now (I think the constantly changing recents ordering is preventing the crash from being consistent).

@Julesssss issue is still reproducible for the tester with the account<EMAIL_ADDRESS>https://user-images.githubusercontent.com/44479856/177196178-187edb41-05e0-472e-b46c-e10587665168.mp4

Ok, I can reliably reproduce this on my mac on desktop staging (v1.1.79-13) with the following steps:

Log into an account on newDot
Click + button in the bottom left
Select New Group
Add two users with email addresses
Type in a series of numbers
Press option + backspace
See error screen

Simply deleting the numbers doesn't reliably reproduce the issue for me, but deleting them all at once with opt + backspace does.
https://user-images.githubusercontent.com/16747822/177199881-8dec0e09-91f2-4d7d-a7b1-6b77b2963d2a.mov

The above steps also work for reproducing this on dev

I'm pretty sure if we fix this bug (slack), we'll fix this issue too!

Cmd + Shift + K
Add two users with email addresses
Search for any random user that isn't in your contacts. eg<EMAIL_ADDRESS>Select the entire search result and delete it.
See error screen

https://user-images.githubusercontent.com/29673073/177204113-32db8ed5-251d-484f-a218-61afa94d395b.mov

Removed the deploy blocker based on discussions with other engineers.

Got another fix up: https://github.com/Expensify/App/pull/9714


Fixed update failures because of device disconnects

The problem this PR solves are "random" disconnect events during a firmware update. This happens because the lib is not checking if it is actually the to-be-updated peripheral that got disconnected. So if a completely unrelated device (or the same device with a different mac address) disconnects during the update, the update is aborted even though the target peripheral is still connected.
It's strange that this hasn't had a huge impact before (we may saw some cases without recognizing them), but I guess this may be related to changed timings caused by the latest iOS 11.3 update.
This fixes #177 and potentially a number of other issues.

O M G! Thanks! What a bummer! :)
I don't know why, but I assumed it notifies only about devices I did connect.

You only get updates for peripherals that got connected via the same CBCentralManager instance. But if the app that integrates the library is connecting to other peripherals with the same manager before (as we do, and have to because only instance of the CBCentralManager is actually working at a time), these events are received by your library as well.

You are welcome btw 😃  I'm also very happy that I got this issues solved 🎉  Have a nice weekend!

Great work ! :D, pushing  a new pod update with this fix soon! keep up the great work! :)


Forked rep to get badge

Got step file

Read step file

Last step found

Badge Issued. Congratulations!


feat: Add coordinates param to api

Coordinates are no longer returned by default in elements. Pass coordinates=true to recover this functionality.

Ah, good call! Let me know what you think of the new section in the readme.

Ah, good call! Let me know what you think of the new section in the readme.

Perfect!


Bump babel stuff to latest

babel-eslint to @babel/eslint-parser

Bump eslint to 8.4.1

remove outdated eslint-plugin-ante

Bump mocha 8.2.1 → 9.1.3
Fix the last warning path-parse

remove deprecated.md

Remove deprecated.md for real this time.
Somehow fsevents got bumped in yarn.lock

I would run standard on this thing, to conform with npm, but that will touch a lot of files.

There has been a few updates since this PR was compiled.
 @babel/cli              7.16.0  →   7.17.0
 @babel/core             7.16.5  →   7.17.2
 @babel/eslint-parser    7.16.5  →   7.17.0
 @babel/preset-env       7.16.5  →  7.16.11
 @babel/register         7.16.5  →   7.17.0
 @types/node           14.14.22  →  17.0.17
 eslint                   8.4.1  →    8.9.0
 mocha                    9.1.3  →    9.2.0

I could push on top of this.


Mute and Solo buttons don't transmit to control surface

Reported by @SmallTownSound on the slack channel:
Mute and solo do not send to control surface, but all 3 control surfaces tested send it back to Synergize.  what is sent from control surface sends a toggle, so if clicked ON on Synergize, it shows OFF on control surface. but turning it ON with control surface turns it to OFF on Synergize, so not synced.
Tried on Old ipad, New Ipad , And OSC on   Blue Stacks

Fixed for 2.2.1


docs: fix method signature and docs layout

The table of the validator methods was broken and the signature of the attach method was not correct.

Thanks for the update, this is your second PR if I'm not mistaken! Much appreciated!

You are totally welcome 👍


Update tutorial about match names against GBIF backbone

This PR provides an extensive review of tutorial about name match against GBIF Taxonomy Backbone, thus solving issue #134.
This review is needed as the function this tutorial is based on has been improved and slightly changed.
Add a note for Python users as described by @peterdesmet in #134.

Thanks a lot @ThierryO for your review. I took into account all your comments.

Good job. I think you can merge this PR.


Not skipping .gitignore directories.

I have /node_modules in my project and the script is supposed to respect it but it is not.

Hey raunak!
Could you provide me the version of dump_dir?  This is the latest version
dump_dir --version
dump_dir version: 1.0.3
commit: a83002a492c6ca878bab59b4ce0fbcbafb4b139a
built at: 2024-07-19T21:59:04Z

Sure,
dump_dir version: 1.0.3
commit: a83002a492c6ca878bab59b4ce0fbcbafb4b139a
built at: 2024-07-19T21:59:04Z

My bad, it was an issue on my end, I was running dump_dir any .\api\ from parent directory instead of going in the directory and running dump_dir any .

Thanks for your feedback regardless, I hope this tool is useful for you.

Yup, thanks for making this tool. It has become essential part of my daily workflow.

Eyyyyy incredible!
Well if you have any feature requests I am certainly open to making
improvements
On Fri, Jul 26, 2024, 12:43 p.m. Raunak @.***> wrote:

Yup, thanks for making this tool. It has become essential part of my daily
workflow.
—
Reply to this email directly, view it on GitHub
https://github.com/fargusplumdoodle/dump_dir/issues/2#issuecomment-2253361655,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI2ELTAVMQL54RLEBYD3V6TZOKRGFAVCNFSM6AAAAABLHAAAEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTGM3DCNRVGU
.
You are receiving this because you commented.Message ID:
@.***>

Hey, I was pondering if we could remove the newlines from the output we could save so many tokens.


Update numpy loader in README.md

Changed {f'ILSVRC2012_val_{i:08d}.JPEG': labels for i, labels in enumerate(json.load('real.json'))} to {f'ILSVRC2012_val_{(i+i):08d}.JPEG': labels for i, labels in enumerate(json.load('real.json'))} since the first image is ILSVRC2012_val_00000001.JPEG
It worked for me but feel free to discard this change if I am wrong.
By the way, I enjoyed reading your paper, nice work :)

That makes sense, thanks (and sorry for the super long delay, we didn't notice.)


Segmentation fault (core dumped)

Am getting an error when i try to create a silicon image !
Please see in the below test gif :

which neovim version are you using?

which neovim version are you using?
the nightly !

But as i can see it's fixed !
Thanks for the fix !


Numpy version doesn't work on M1 chip Mac

Tried running
 pip3 install numpy==1.21.0rc1 igibson
Keep getting this error, are there any known solution?
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
In numpy version 1.21 it fixes this error for the M1 chip, but when I use the fixed version, the configuration won't accept it.

On Fri, Nov 12, 2021 at 3:07 PM jshved @.***> wrote:

Tried running
pip3 install numpy==1.21.0rc1 igibson
Keep getting this error, are there any known solution?
clang: error: the clang compiler does not support 'faltivec', please use
-maltivec and include altivec.h explicitly
In numpy version 1.21 it fixes this error for the M1 chip, but when I use
the fixed version, the configuration won't accept it.

Reply to this email directly, view it on GitHub
https://github.com/StanfordVL/iGibson/issues/137, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTLZRANRJOY23UE7XKSZTLULWM2PANCNFSM5H53OA7Q
.

I tried it still didn't work.

Could you share if you managed to find a workaround for this ? I am trying to build wheel packages for our internal index so coworkers do not have to setup everything by themselves.

# If you don't have conda-forge enabled
conda config --add channels conda-forge
conda config --set channel_priority strict

# Make a new iGibson environment
conda create -n igibson python=3.8 pip
conda activate igibson

# Install iGibson
git clone git@github.com:stanfordvl/iGibson.git
cd iGibson
pip install -e .

# Run iGibson (you'll need to adjust these paths)
export GIBSON_ASSETS_PATH=$HOME/Documents/ig_data/assets
export IGIBSON_DATASET_PATH=$HOME/Documents/ig_data/ig_dataset
python igibson/examples/renderer/mesh_renderer_pbr_example.py

The numpy version installed by the pip solver (1.22.2) works fine on my m1 mac.
Here's the exact requirements.txt
aenum==3.1.8
appnope==0.1.2
asttokens==2.0.5
attrs==21.4.0
backcall==0.2.0
bddl==0.0.5
black==22.1.0
click==8.0.3
cloudpickle==2.0.0
cycler==0.11.0
decorator==5.1.1
executing==0.8.2
fonttools==4.29.1
freetype-py==2.2.0
future==0.18.2
gitdb==4.0.9
GitPython==3.1.26
GPUtil==1.4.0
gym==0.21.0
h5py==3.6.0
importlib-resources==5.4.0
iniconfig==1.1.1
ipython==8.0.1
ipython-genutils==0.2.0
jedi==0.18.1
jsonschema==4.4.0
jupyter-core==4.9.1
jupytext==1.13.6
kiwisolver==1.3.2
markdown-it-py==1.1.0
matplotlib==3.5.1
matplotlib-inline==0.1.3
mdit-py-plugins==0.3.0
mypy-extensions==0.4.3
nbformat==5.1.3
networkx==2.6.3
numpy==1.22.2
opencv-python==<IP_ADDRESS>
packaging==21.3
pandas==1.4.0
parso==0.8.3
pathspec==0.9.0
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.0.1
platformdirs==2.4.1
pluggy==1.0.0
progressbar==2.5
prompt-toolkit==3.0.26
ptyprocess==0.7.0
pure-eval==0.2.2
py==1.11.0
py360convert==0.1.0
pybullet-svl==<IP_ADDRESS>
Pygments==2.11.2
pyparsing==3.0.7
pyrsistent==0.18.1
pytest==7.0.0
python-dateutil==2.8.2
pytz==2021.3
PyYAML==6.0
scipy==1.7.3
six==1.16.0
smmap==5.0.0
stack-data==0.1.4
toml==0.10.2
tomli==2.0.0
tqdm==4.62.3
traitlets==5.1.1
transforms3d==0.3.1
trimesh==3.9.43
typing_extensions==4.0.1
urllib3==1.26.8
wcwidth==0.2.5
zipp==3.7.0


The custom game table view is listing duplicates and not refreshing correctly

If you leave the 'play > custom games > table' view open for a length of time (hours?) you the game list does not update correctly.  You will see duplicates show up in the list and new games may or may not appear.
Clicking to tiles, then back to table refreshes the game list back to what it should be.  This was happening prior to the change where custom games is no longer the default view for play.
My suspicion is there is a timeout issue with these games that is jamming things up.
Screenshots attached - the table view, clicking tiles, then immediately back to table view.  A few duplicate games - but also worth noting the list of games is very different.

Another shot after a few hours.

Another shot after a few hours.

I have also an issue to report that may very well be connected to this or have the same root cause: I often create servers, and they used to fill up rather quickly, sometimes in minutes, usually at most in 30 minutes.
Ever since 1.4.0 came out, they take agonizingly long to fill up, 1-2-3 hours sometimes, even when there is only one slot left from 12. I suspect this is because many players just don't see the game at all in their client.

@Brutus5000  Think I found the issue.  Will be doing a bit more testing to confirm.

This is most likely an issue with the comparator for the rating range column


train loss equal to 0

Hi, I try to run the train.py on METR-LA. Due to the TensorFlow version, I use the tf_upgrad_v2 to migrate the model.py to TF 2. X.
Specifically,
(1) line 76 'tf.nn.rnn_cell.GRUCell' to 'tf.compat.v1.nn.rnn_cell.GRUCell'
(2)line 80 and 87 'tf.layers.dense' to 'tf.compat.v1.layers.dense'
Then, when I run train.py and test.py, there're several issues, as follows:
(1) line 47 in test.py and line 58 in train.py, x.value() error, x is int. After I change the "x.value for x in xxx" to "x for x in xxx" it could work
(2) After 4-5 epochs, the training and validation losses become 0. The test result becomes nan. I run the code several times, the issue does not disappear. Meanwhile, the test.py is normal and outputs the results. Since the dataset doesn't contain the metr-la.h5, I use the document download from IGNNK.
Now, I am not sure of the reasons for the issues. Hope to here some suggestions. Much appreciated.

Besides, add 'tf.compat.disable_eager_execution()' at the beginning of the def placeholder(h).

Hi, I try to run the train.py on METR-LA. Due to the TensorFlow version, I use the tf_upgrad_v2 to migrate the model.py to TF 2. X. Specifically, (1) line 76 'tf.nn.rnn_cell.GRUCell' to 'tf.compat.v1.nn.rnn_cell.GRUCell' (2)line 80 and 87 'tf.layers.dense' to 'tf.compat.v1.layers.dense'
Then, when I run train.py and test.py, there're several issues, as follows: (1) line 47 in test.py and line 58 in train.py, x.value() error, x is int. After I change the "x.value for x in xxx" to "x for x in xxx" it could work (2) After 4-5 epochs, the training and validation losses become 0. The test result becomes nan. I run the code several times, the issue does not disappear. Meanwhile, the test.py is normal and outputs the results. Since the dataset doesn't contain the metr-la.h5, I use the document download from IGNNK.
Now, I am not sure of the reasons for the issues. Hope to here some suggestions. Much appreciated.

I translated their code into PyTorch. I also encountered the same issue you mentioned. And I think the problem is that they didn't normalize the inputs (so that masking NaN values in the loss function would not be difficult). However, it is causing the gradient to explode after 4 or 5 epochs.

When I got the learning rate down to 0.0001, it worked fine, but the results were not as good as in the paper

When I got the learning rate down to 0.0001, it worked fine, but the results were not as good as in the paper

Hello, may I ask if you have solved this problem now? Can you run the effect in the paper?


Add DataTable.WriteCsv with delimeter support

I do next
    let csv = new CsvWriter(target)
    dataTable.WriteCsv(csv,true) |> ignore

But cannot find how to specify delimiter or ensure that it is TAB.

I don't know F# well, but you just need to set the ValueDelimiter property on the CsvWriter.


Source: Solution Drawdown (open-source list of high-impact climate solutions)

https://docs.google.com/spreadsheets/d/1xW3cKaPvBvBWAt2MRX7-3t3Nkh9U92yDNoaxDixjLdI/edit#gid=0

Completed importing, assigning sectors where possible. About 1/4 of entries didn't easily fit into our existing sectors.


@Value generates private default constructor

according to java doc @Value is equivalent to @Getter @FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE) @AllArgsConstructor @ToString @EqualsAndHashCode
but the bytecode output on jdk11 with -parameters flag is generating a private default constructor. you can get rid of it by explicitly marking the class with @AllArgsConstructor but still - this is unexpected and causes frameworks that rely in on a single constructor via reflection to fail.
version lombo 1.16.22

This is already fixed in 1.18.2


Removing docs reidrects from website

Description
Removes docs redirects from the website build with the goal of making website building and promotion faster.
Urgency

[ ] Blocker
[x] High
[ ] Medium

Requirements

See the contribution guidelines.
Build content locally and test for formatting/links.

Blocked on https://jira.mesosphere.com/browse/DCOS_OSS-3583


Any chance to start worker without pointing the workerMap?

Hey there!
I’m trying to implement a generic jobType consumer with this library, but i met an issue. It is requried to define the jobType while creating the workerPool.
Is there any chance, how i can solve my problem?

it is not possible by design, every job type must have explicitly defined handler
if you need something like generic job type - you can use the same one for all jobs and then implement your own routing based on the job arguments

That is actually what I want. I need a consumer which read any message in the queue and can handle different types of them. in this handler.
Do you think it might be useful for this library if I can prepare a pr?

added an option to set a handler for unknown job types in https://github.com/vgarvardt/gue/pull/227 - is it something like this that you want?


Nick: Watch<PHONE_NUMBER>3014

Nick requests the watch of the watch_number<PHONE_NUMBER>3014. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


Active?

Bonjour @bamada ! 😄
I was wondering if this is still under development? We are using this package at my work, and we recently updated to NestJS 10.0.5. It causes issues because this package hasn't been updated. Would you be able to update the packages etc? Will you accept PR's?
I am simply just asking because other people have raised issues here that is unanswered.
If not, I would be glad to help maintaining and develop this package further. 😄
Nicolaj

Same.

Hello
glad to know you are using it I will now dedicate time to maintaining it properly.
I'm  going to update it with Nestjs 10.X

Hello glad to know you are using it I will now dedicate time to maintaining it properly. I'm going to update it with Nestjs 10.X

Yay! Great to hear!

Let us know if you need help


Py_Module autoinstall does not work if an older version exists

To illustrate the problem:
>>> from sos.targets_python import Py_Module
>>> Py_Module('rpy2>=3.0.1').target_exists()
ERROR: Version 2.9.4 of installed rpy2 does not match specified version >=3.0.1
False
>>> Py_Module('rpy2>=3.0.1', autoinstall=True).target_exists()
ERROR: Version 2.9.4 of installed rpy2 does not match specified version >=3.0.1

When autoinstall=True the 2nd line, I would expect the new version is installed to update the old one.
To fix the issue we should add -U to the command below:
https://github.com/vatlab/SoS/blob/c0c338cde4d5be9e39b6a904b1ee820e5a5e26ab/src/sos/targets_python.py#L74
Is that right?

Yes

Okay the problem now is this line
https://github.com/vatlab/SoS/blob/c0c338cde4d5be9e39b6a904b1ee820e5a5e26ab/src/sos/targets_python.py#L78
because after version upgrade, the module will not be reloaded. So another round of self._install check will still fail. Apparently importlib.reload can check modules but the input cannot be a string, eg. reload(rpy2) is fine but not reload('rpy2'). I'm going to search for alternatives but please let me know if you have some immediate thoughts.

-U does not sounds right because it will always upgrade to the latest version, so
Py_Module('rpy2==2.9.4')

will fail.

Fixed with test cases in
https://github.com/vatlab/SoS/blob/d33e17f25aae2e1cd313694ea504c0d9502b0c30/test/test_python3_target.py#L80


Extension issue

Issue Type: Bug
Extension Name: solidity
Extension Version: 0.0.76
OS Version: Windows_NT x64 10.0.18363
VSCode version: 1.49.1

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 15958,
		"activateCallTime": 9,
		"activateResolvedTime": 2,
		"activationReason": {
			"startup": false,
			"extensionId": {
				"value": "AzBlockchain.azure-blockchain",
				"_lower": "azblockchain.azure-blockchain"
			},
			"activationEvent": "onView:AzureBlockchain"
		}
	},
	"runtimeErrors": []
}

Hi, i am going to close this as it seems automated.


Ardupilot log v5

No more need to rebuild when changing Fligth Stack: for now, a config option MavlinkDialect is on

This is great :)  Could you add usage to the readme?


Remove Polymer

Fixes #222
Fixes #213
Closes #290
Closes #344
The full demo has some features missing compared to before. There are APIs on the React element that can be used as a stopgap, but this is hacky and should go away. However these APIs are still in use by the Polymer elements in noflo-ui. This affects:
Easyfix

[x] Navigation thumbnail shows wrong editor viewport. Not wired up in demo

Needs more API

Node and edge selection. React element need to respect props, demo needs to listen to callbacks
Node errors. React element needs to respect props, demo updated to use them
Some keyboard shortcuts might fail, as they expect API from previous Polymer element. React element should have a callback in props instead of hardcoding

Harder to fix

Focus node. React element must support props for controling graph view (pan/zoom)
Fit-to-view. Same as above
Pan editor via dragging navigation. Same as above

Not planning to fix

Autolayout. This only impacts graph state, which is outside React elements. Applications should use klayjs-noflo directly, if wanted
Clipboard handling. Apps can do this themselves, only impacts graph state

Tested briefly in noflo-ui, seems fine

@bergie there was an implicit bind of the getMenuDef callback before, that needs an explicit bind in noflo-ui now. I got a patch for it. Otherwise no changes needed

Amazing... cut the Gordian knot!

Sweet :)


harbor_config_auth.ldap_verify_cert seem to fail to apply

Either it fails to apply or it fails to fetch the state after applying it. It re-applys it on every run.
Latest provider (3.7.1) and latest tf (1.3.8)

Hello,
It should have been fixed with the 3.8.0.
You are probably still using the "BESTSELLER" provider.
Could you please try with registry.terraform.io/goharbor/harbor ?

oh, did not notice the migration. Sorry!
Switched to
 harbor = {
      # @see https://registry.terraform.io/providers/goharbor/harbor/latest
      source = "goharbor/harbor"
      version = "3.8.2"
    }

And the issue is gone. Please feel free to close the issue anytime! Thanks!


Escape forward slashes so it can read Windows paths

Currently the forward slashes in file paths in Windows are put inside a string when they get wrapped into the worker, and all the literal forward slashes in the path become escaped characters (i.e. C:\test becomes C:    est. This PR replaces all plain forward slashes with escaped forward slashes

Merged alternative fix for this in #15.


[User] Insert default for map icons when creating a new user

Yet another thing making life easier when creating new users.
Setting default icons for map when a new user is created.

got an error on a fresh user within Account-Settings, Map-Icon-Setup (within dropdown). PHP tells: Undefined variable $user_map_gridsquare_show at User-edit-View.
PS: Should consider setting "Default-QSL-Method" as well, what do you think?

Hello all,
can i propose an other way ?
we can allow icon map options directly on create user page.
i speak about that with @HB9HIL few time ago.
perhaps is better ?
i can propose something this week if you are ok
73

Hi @abarrau. Sure, it was just to make it easier when creating a new user :)
You can add to "Create user" page. And when you do, set default values, so that the user do not have to choose anything in the page if the user does not want to.

But it doesn't harm to have default values even if it can be chosen upon user creation. Just in case ...

hi,
i this it's my previous proposal need lot of changes.
the user_model add (and edit) function has a strange code  ... so a simple action, need to add lot of change ...
so lot of work (with risk) for "little" profit...
i propose we change nothing about that, and @AndreasK79 you can finish this PR ... sorry for delay

@abarrau thanks, I understand. Will update and merge later.


PMID:28218250

normal growth on potassium chloride
decreased protein localization to chromatin at highly transcribed RNA polymerase II genes during vegetative growth (cf. fypo:4161)
normal protein localization to chromatin at highly transcribed RNA polymerase II genes
increased nucleosome occupancy at highly transcribed RNA polymerase II genes
decreased nucleosome occupancy at highly transcribed RNA polymerase II genes
normal nucleosome occupancy at highly transcribed RNA polymerase II genes

normal growth on potassium chloride FYPO:0005947
decreased protein localization to chromatin at highly transcribed RNA polymerase II genes during vegetative growth FYPO:0005948
normal protein localization to chromatin at highly transcribed RNA polymerase II genes during vegetative growth FYPO:0005949
increased nucleosome occupancy at highly transcribed RNA polymerase II genes FYPO:0005950
decreased nucleosome occupancy at highly transcribed RNA polymerase II genes FYPO:0005951
normal nucleosome occupancy at highly transcribed RNA polymerase II genes FYPO:0005952
edit file: 06d5ee4cc91476c0cab5710b5db41cae133a645e
release: 69c8007f32a1eec13dcaeac7e9751013ef7d1660


Using slot with v-if and Comment causes TypeError: null is not an object (evaluating 'e.parentNode') in PROD mode

Vue version
3.5.13
Link to minimal reproduction
https://play.vuejs.org/#__PROD__eNqVVE1v2kAQ/StTX5xIYKuivaQGCWgOzaGJgFtdVcYezKbrXWs/DBHiv3d2jTGVGprc5uN53tuZ8RyCaV1HjcXgLkh0rlhtQKOx9SQVrKqlMnAAhRs4wkbJCkKChl/OuQerzZJLc0pGcRdwJR0uFbkU2oDJ1jB2hW7C8JbiSdySEQ05BquaZwbJA0gK1niDTCfDGQDLHTP5lokS1mh2iAKmA5gNIBMFzMEoVpaoNJgtwtqWUfdZoo2SopzcrLZMA9PaIkjBX0DmuSU8E/C0ePwKlSwwuiVVLfxEHzv+k92rIoeJ2tKjXmocp4HKCibTAFhBTkZGk3HrEt4eutKcPGoB+XFfhGdr5LCRqoVOVtSjaRL78Jn3Kpkr2JF5+21klPJks3eR5Rdk3n4bGUE92bwna3vbNvTkdXvT1/gwHMICK9m4mRs3vVxWFQoDO8apONv7YaNSUkUwHPZf6joTpI5tWmkwHo8hzELS8YPGPf1JUybEf/DrDj/7G5+cV7xd1tMzkvhih4NBYDTt/YaV0bOWgv6tgwNTM2RVM47qsTaM/os0uAOfcbmMc7l78DGjLA66eL7F/Pc/4s9672Jp8KRQo2owDc45k6kSTZu+X37HPdnnJI3NckJfSS5QS26dxhY2s6Ig2Rc4r/abvwI0oJW+3xsUunuUE+qQR49PA7oG8ytP7+WOok/+u1QcqYuX18QdqFfvhHY3qF3A1ybyq6H7QMxUZxR9jj6OguMfy3+TcQ==
Steps to reproduce

Open the provided reproduction link.
Click the Tab A radio button. The span with the text in A will be rendered due to the v-if directive.
Click the Tab B radio button. The in A span will disappear, and the span with the text in B will be rendered instead.
Finally, click the Tab C radio button. At this point:

An error will appear in the console: TypeError: null is not an object (evaluating 'e.parentNode').
Although nothing should be rendered (as controlled by the v-if directive), the in B span remains visible.

What is expected?
As defined in the <template> block of the reproduction example, the v-if directive should ensure that the spans are rendered or not rendered according to the specified conditions.
What is actually happening?
It appears that when clicking Tab C, the previously existing span node is not properly removed, causing the error. The error seems to occur at the following location:
https://github.com/vuejs/core/blob/6eb29d345aa73746207f80c89ee8b37ff7b949c9/packages/runtime-dom/src/nodeOps.ts#L49-L54
Interestingly, if the comment near the first v-if directive line in the example is removed, the error does not occur.
Additionally, this issue only happens in production mode and does not occur in dev mode.
System Info
No response
Any additional comments?
This issue also occurs on v3.4.24 the lowest available version in Vue SFC Playground.

This issue also occurs on v3.4.24 the lowest available version in Vue SFC Playground.

this is because the playground keeps comments in PROD mode.
It will work as expected if comments are removed in the production build.
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [
    vue({
      compilerOptions:{
        comments: false
      }
    })
  ],
})

@edison1105
Thank you for your response.
In fact, my company encountered a bug related to this issue, and it took several hours of debugging to pinpoint the root cause. Identifying the issue was particularly challenging because it was difficult to imagine that an HTML Comment Node could influence Vue’s rendering behavior.
For now, we’ve applied the suggested option across all Vue-based products in our company to prevent this issue.
That said, upon further consideration, there might be cases where HTML comments are intentionally used in some way. Given that Vue’s default configuration does not remove comments, it would be ideal if this issue could be resolved without relying on the option to disable comments.
Thanks again for the clarification!


Error occurred when creating new SCLAlertView

Error message from XCode's lldb
Assertion failure in void _UIPerformResizeOfTextViewForTextContainer(NSLayoutManager *,
UIView<NSTextContainerView> *, NSTextContainer *, NSUInteger)(), /SourceCache/UIFoundation_Sim/UIFoundation-376.14/UIFoundation/TextSystem/NSLayoutManager_Private.m:1547
2015-07-24 19:49:25.599 Go RSS[93924:1895263] <NSATSTypesetter: 0x7fe20b12ca80>: Exception Only run on the main thread! raised during typesetting layout manager <NSLayoutManager: 0x7fe20b1f2b50>
    1 containers, text backing has 0 characters
    Currently holding 0 glyphs.
    Glyph tree contents:  0 characters, 0 glyphs, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph
    Layout tree contents:  0 characters, 0 glyphs, 0 laid glyphs, 0 laid line fragments, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph, 0.00 laid glyphs per laid line fragment, 0.00 bytes per laid line fragment
, glyph range {0 0}. Ignoring...
2015-07-24 19:49:25.599 Go RSS[93924:1895263] *** Assertion failure in void _UIPerformResizeOfTextViewForTextContainer(NSLayoutManager *, UIView<NSTextContainerView> *, NSTextContainer *, NSUInteger)(), /SourceCache/UIFoundation_Sim/UIFoundation-376.14/UIFoundation/TextSystem/NSLayoutManager_Private.m:1547
2015-07-24 19:49:25.654 Go RSS[93924:1895263] <NSATSTypesetter: 0x7fe20b12ca80>: Exception Only run on the main thread! raised during typesetting layout manager <NSLayoutManager: 0x7fe20b1f2b50>
    1 containers, text backing has 0 characters
    Currently holding 0 glyphs.
    Glyph tree contents:  0 characters, 0 glyphs, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph
    Layout tree contents:  0 characters, 0 glyphs, 0 laid glyphs, 0 laid line fragments, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph, 0.00 laid glyphs per laid line fragment, 0.00 bytes per laid line fragment
, glyph range {0 0}. Ignoring...
2015-07-24 19:49:25.655 Go RSS[93924:1895263] *** Assertion failure in void _UIPerformResizeOfTextViewForTextContainer(NSLayoutManager *, UIView<NSTextContainerView> *, NSTextContainer *, NSUInteger)(), /SourceCache/UIFoundation_Sim/UIFoundation-376.14/UIFoundation/TextSystem/NSLayoutManager_Private.m:1547
2015-07-24 19:49:25.655 Go RSS[93924:1895263] <NSATSTypesetter: 0x7fe20b12ca80>: Exception Only run on the main thread! raised during typesetting layout manager <NSLayoutManager: 0x7fe20b1f2b50>
    1 containers, text backing has 0 characters
    Currently holding 0 glyphs.
    Glyph tree contents:  0 characters, 0 glyphs, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph
    Layout tree contents:  0 characters, 0 glyphs, 0 laid glyphs, 0 laid line fragments, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph, 0.00 laid glyphs per laid line fragment, 0.00 bytes per laid line fragment
, glyph range {0 0}. Ignoring...
2015-07-24 19:49:25.656 Go RSS[93924:1895263] *** Assertion failure in void _UIPerformResizeOfTextViewForTextContainer(NSLayoutManager *, UIView<NSTextContainerView> *, NSTextContainer *, NSUInteger)(), /SourceCache/UIFoundation_Sim/UIFoundation-376.14/UIFoundation/TextSystem/NSLayoutManager_Private.m:1547
2015-07-24 19:49:25.656 Go RSS[93924:1895263] <NSATSTypesetter: 0x7fe20b12ca80>: Exception Only run on the main thread! raised during typesetting layout manager <NSLayoutManager: 0x7fe20b1f2b50>
    1 containers, text backing has 0 characters
    Currently holding 0 glyphs.
    Glyph tree contents:  0 characters, 0 glyphs, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph
    Layout tree contents:  0 characters, 0 glyphs, 0 laid glyphs, 0 laid line fragments, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph, 0.00 laid glyphs per laid line fragment, 0.00 bytes per laid line fragment
, glyph range {0 0}. Ignoring...

Property initialed as
 var alert: SCLAlertView?
Code block 1
alert = nil
alert = SCLAlertView()
let txt = alert!.addTextField(title: "Enter your feed URL")
alert!.addButton("Add New Feed") {
    self.sourceString = txt.text
}
alert!.showEdit("New Feed", subTitle: "Add a new feed ")

Code block 2
alert = nil
alert = SCLAlertView()

Sorry for misunderstood, I have used it on an async thread .UI updated shouldn't be done out of main thread


Add functional test (P0 level) that tests that https://nuget.org/ redirects to www.nuget.org

This will catch future certificate issues when the certificate includes *.nuget.org but not nuget.org.
Related to https://github.com/NuGet/NuGetGallery/issues/3491.

This wouldn't have helped us in the SSL issue (https://github.com/NuGet/NuGetGallery/issues/3491), since functional tests run on staging slot.
I added a test to pingdom to cover this case.

Real time monitoring -- even better.


expose server status code

If the response if just a 204 the response field will be empty.  If the server returned a 500 error of some sort we won't know that on the front end.    Can you expose the status code so this can be detected?

#327

#327

1e1c37a fixed this


Restart browser in clean state after each test

Dear Forumer,
I want to restart the browser after each test but the close() in @AfterEach and open() in @BeforeEach cause invalid session id. What will be the solution. Please help.
The problem
Dear Forumer,
I want to restart the browser after each test but the close() in @AfterEach and open() in @BeforeEach cause invalid session id. What will be the solution. Please help.
Tell us about your environment

Selenide Version:
Chrome\Firefox\IE Version:  Chrome
Browser Driver Version:
Selenium Version: 4
OS Version: Window 10

Code To Reproduce Issue [ Good To Have ]
@BeforeEach
public void beforeEach() {
  open();
}

@AfterEach
public void afterEach() {
  close();
}

@peterwkc85

What Selenide version are you using?
What is method close()? Class Selenide doesn't have method close(). It has only closeWebDriver() and closeWindow(). Which one are you using?
What is "invalid session id" error? Can you attach full error message with stack trace?

P.S. Anyway, there is com.codeborne.selenide.junit5.BrowserStrategyExtension for re-opening browser before every test. But usually I don't recommend this approach because it makes tests much slower. Instead, I recommend to open an empty page and clear cookies&localStorage&sessionStorage before every test.

I tried to clear cookies but it doesn't logout the session.
WebDriverRunner.getWebDriver().manage().deleteAllCookies();
WebDriverRunner.getWebDriver().navigate().refresh();
Can you provide a better solution?

@peterwkc85 Hi, did you see my questions in the previous comment?
To clear session storage: Selenide.getSessionStorage().clear();.
See https://selenide.org/2021/02/11/selenide-5.18.1/

Answers to the Questions

Selenide version 6

I dont't know

I don't know

Regarding the clearSessionStorage, there is no such method available.

There is email cachel in the input when i open the next test which is need to clear the text box, What should i do?

@peterwkc85 Sorry, but how can anybody help you if you say "it causes invalid session id", but cannot explain what means "invalid session id"? You complain about method close() that does not exist, and cannot explain what method is this.
I would like to help, but don't have enough information. :(

You can ignore the previous questions about invalid session id and close() method.
Please help on the clear() method now as it is cannot clear the input text box.

@peterwkc85 I feel like you don't respect other's time and effort. :(
About $.clear() - try selenide-clear-with-shortcut, see https://selenide.org/2022/06/08/selenide-6.6.0/.


Streaming chat in DevUI

Would it be possible to use a StreamingChatModel in the DevUI if it's accessible?
This would allow to stream the response back

@jmartisk do you think this is possible without too much work?

What would that mean exactly, that the response from the model is a Multi and we would forward the events from the Multi to the UI as they arrive, over a websocket?

I can give it a shot.

I have something is working. However, it will only work when rag is disabled (and it's true by default).
Should we add a message / alert to let the user know when streaming chat is not enabled and why it's not enabled?
Would you think that a vaadin alert or a console.log is more appropriate for this?

Should we add a message / alert to let the user know when streaming chat is not enabled and why it's not enabled?

I think that's a good idea


register user error

Describe the bug
register user error
Environment
CSGHub Version: v0.9
OS: Linux
Hardware:  4c8G
Launch:  docker compose
To Reproduce
Steps to reproduce the behavior:

register user test1，login user  is ok，logout test1
register user test2，login error，error message is：ERROR: duplicate key value violates unique constraint "users_email_key"
because the email info is lost in the function "createFromCasdoorUser" in the project csghub-server

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

this bug will be fixed in v0.9.3


More WX patches?q

Looks like build failure again.  Pinch mods maybe?  Last error I see is
"___gxx_personality_v0", referenced from:
_main in idf2vrml.cpp.o
WriteHeader(IDF3_BOARD&, std::__1::basic_ofstream<char, std::__1::char_traits >&) in idf2vrml.cpp.o
MakeBoard(IDF3_BOARD&, std::__1::basic_ofstream<char, std::__1::char_traits >&) in idf2vrml.cpp.o
MakeComponents(IDF3_BOARD&, std::__1::basic_ofstream<char, std::__1::char_traits >&, bool) in idf2vrml.cpp.o
MakeOtherOutlines(IDF3_BOARD&, std::__1::basic_ofstream<char, std::__1::char_traits >&) in idf2vrml.cpp.o
GetColor(std::__1::map<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, VRML_IDS*, std::__1::less<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const, VRML_IDS*> > >&, int&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in idf2vrml.cpp.o
std::__1::basic_ofstream<char, std::__1::char_traits >::~basic_ofstream() in idf2vrml.cpp.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [kicad/kicad.app/Contents/MacOS/idf2vrml] Error 1
make[1]: *** [utils/idftools/CMakeFiles/idf2vrml.dir/all] Error 2

Hey, just to confirm, did you reinstall wxkicad and wxkython? Those formula changed and if they aren't rebuilt, kicad will fail to build.

I did a reinstall of both which downloaded the bottles.  No change in KICAD, fails to build.

I can't reproduce the problem on my machine :(.  Can you attach the ~/Library/Logs/Homebrew/kicad/* logs? Sorry, will have to scour them and see whats going on.

   Anything I can do to help troubleshoot?

Whenever you see linker errors with a bunch of missing symbols starting with std::__1, it's because you're trying to link libc++ code and stdlibc++, which won't work.
What I really need is the cmake log, and the environment output that homebrew outputs at the end of a failed build if you use --verbose.  Something is making a dependency or the formula itself being built with incompatible C++ libraries.

Also, I did a major update to all 3 formula, so please update the tap, remove kicad, wxkicad, and wxkython.  The update removes all hardcoded paths, and takes a more compatibility focused approach that should hopefully make the tap a little more robust.  Also, it will now link to the homebrew version of python by default, if this behavior is unwanted, you can force linking to the system's python by building kicad (or wxkython) with the --build-from-source flag set.
It also now correctly ignores gcc and it's libraries if installed, which sometimes could create problems.

@shaneburrell I think the best way to handle long logs at this point is simply linking to a gist of the log (http://gist.github.com).

Since last attempt I've reinstalled homebrew with a clean slate.  It fails at cmake now.
-- Found PythonInterp: /usr/bin/python2.6 (found suitable version "2.6.9", minimum required is "2.6")
-- Check for installed Python Interpreter -- found
-- Python module install path: /tmp/kicad20150624-36173-2azj6n/build/kicad/kicad.app/Contents/Frameworks/python/site-packages
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.6", minimum required is "2.6")
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named wxversion
CMake Error at CMakeLists.txt:665 (message):
wxPython does not appear to be installed on the system.

Looks like boost issue?  std::__1::basic_string
Undefined symbols for architecture x86_64:
"std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::compare(char const*) const", referenced from:
_main in idf_cylinder.cpp.o
make_vcyl(bool, bool, double, double, double, double) in idf_cylinder.cpp.o

I'm going to be on 10.11 and I'll try again when things get caught up.


Allow models to have recursive references

fixes #67

Note that this may conflict with the implementation of #61 in some cases, but I doubt it'll be an issue.


Automerge script doesn't understand "one approved one disapproved" review status

E.g. see behavior in https://github.com/quantumlib/Cirq/pull/1745

What is desired behavior?  I think in this case it makes sense that the disapprove should have to marked as stale in order to submit?
Code that would need to be modified if we change this is https://github.com/quantumlib/Cirq/blame/master/dev_tools/auto_merge.py#L731

I haven't seen this behavior for a while now and I'm sure there were PRs with both request for changes and approval on them. Putting needs-repro on it, which will mark this issue stale eventually.

Per previous comment, this doesn't seem to be happening, and last comment is 1.5 years old.  Closing.


Support micrositeExtraMdFiles with mdoc

I noticed that when switching from tut to mdoc, that the micrositeExtraMdFiles option doesn't seem to be supported. This manifests as the requested additional markdown not being copied and not showing up in the built site.
Taking a quick look at how the extra markdown is built using tut it appears that this simply isn't being done for the mdoc backend. It would be great if this was in there and I think it would be pretty straightforward to either replicate the tut logic for mdoc or generalize both.
(No promises...) but if I have some free personal time, I can see about a PR. Anyway, thanks for a great project!

I'll take a look at this. Thanks for reporting @seldridge


CSS color box is badly positioned

Seeing this on Mac:

caused by my change for #10456. I reverted the change.

@aeschli I do not see the color box at all now. Is this expected?

duplicate of #11381... Fixed but not yet in the insiders build.


Named parameters isn't defined.

Thank you for taking the time to file an issue!
This tracker is for issues related to:

Analyzer
Common Front End (CFE) and kernel
Dart core libraries ("dart:async", "dart:io", etc.)
Dart VM
dart2js
dev_compiler

Some other pieces of the Dart ecosystem are maintained elsewhere. Please
file issues in their repository:

Dart language: https://github.com/dart-lang/language
Dart website: https://github.com/dart-lang/site-www
Flutter: https://github.com/flutter/flutter
Linter: https://github.com/dart-lang/linter
dart format: https://github.com/dart-lang/dart_style

If you aren't sure, file the issue here and we'll find the right home for it.
In your issue, please include:

Dart SDK Version (dart --version)
Whether you are using Windows, MacOSX, or Linux (if applicable)
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

Missing some or all of the above might make the issue take longer or be
impossible to act on.
If you simply have a question, consider starting with Stack Overflow:
https://stackoverflow.com/questions/tagged/dart
For a real-time response, consider our Gitter channel:
https://gitter.im/dart-lang/sdk

@nissybright, I'll close this issue because it contains nothing other than the initial template text. Please create another one with the intended content, if applicable.


[IO] Ensure that native Parquet downloader supports deprecated INT96 timestamps

Is your feature request related to a problem? Please describe.
Some old Parquet files may contain int96 timestamps (written by spark)
Daft should support reading this data in its native Parquet reader.
UAC:

Unit test for reading these files
Ensure that timestamps are correctly read into timestamps with the appropriate resolution (see Arrow's read_table with the coerce_int96_timestamp_unit argument)

Findings:

Int96 Parquet values are essentially a date (date32) + nanoseconds-after-midnight (time64) (see: Parquet documentation)

This means it supports the same date range as a date32 (~5.8M years)
Int96 timestamps are always at a nanosecond resolution

The Daft/Arrow timestamp(ns) and timestamp(us) int64-based types have date ranges of 584 years and 584,000 years respectively, which makes conversions of Int96 values to these types potentially dangerous

By default, both Daft and Arrow reads Parquet int96 into timestamp(ns)
If timestamps fall within range (years 1678 — 2262 for timestamp(ns)) then there is no problem
However, if they do not, then an overflow occurs and both Daft and PyArrow will present wrong results without throwing an error

PyArrow does provide a coerce_int96_timestamp_unit  kwarg to override the default behavior of parsing int96 timestamps as timestamp(ns) to different resolutions such as ms/us, losing precision but potentially working around the overflow issues by expanding the range of timestamps

Note that this has no implication on the actual interpretation of the int96 values -- it only exists as a workaround to the overflow issues

Proposed actions:

Daft can throw an error instead of overflowing when parsing int96 timestamps to timestamp(ns)
Daft can add an argument similar to PyArrow's coerce_int96_timestamp_unit for overriding the default behavior in case it encounters dates that fall outside of the expressible range of a timestamp(ns).

Great explanation. Option 2 sounds good to me as we want to avoid read failures as well as data loss due to the precision errors.

Great explanation. Option 2 sounds good to me as we want to avoid read failures as well as data loss due to the precision errors.

Agreed - IIRC, we also have use-cases where we know that INT96 timestamps for multiple datasets are known to have been written with non-nanosecond precision (e.g. millisecond precision), and thus we must explicitly have the ability to override the assumed precision of these timestamps for correctness.

Looks like this is closed. Can we close this issue?

Thanks @raghumdani !


Fix Log Shipping command to exclude monitor procedure when server is higher than 2012

Type of Change

[X] Bug fix (non-breaking change, fixes # )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
The check for the major version should return a value but it was based on a variable that does not have that property.
Approach
Changed the check to use the correct variable and now it returns the right value
Commands to test
New-DbaLogShippingSecondaryDatabase
Screenshots

hell yes thanks a ton, will publish momentarily


gazebo_ros_pkgs: 3.5.1-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository gazebo_ros_pkgs to 3.5.1-1:

upstream repository: https://github.com/ros-simulation/gazebo_ros_pkgs
release repository: https://github.com/ros2-gbp/gazebo_ros_pkgs-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.0
previous version for package: 3.5.0-1

gazebo_dev
* colcon.pkg: build gazebo first in colcon workspace (#1192 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1192>)
  Add a colcon.pkg file to gazebo_dev with gazebo's cmake project
  name "Gazebo" listed as a dependency to support building
  gazebo from source in a colcon workspace.
  * Add colcon.pkg files for other packages
  Copy colcon.pkg to gazebo_ros, gazebo_plugins, and
  gazebo_ros_control so that --merge-install won't be required.
  Signed-off-by: Steve Peters<EMAIL_ADDRESS>* Contributors: Steve Peters

gazebo_msgs
* [ROS 2] Bridge to republish PerformanceMetrics in ROS 2 (#1147 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1147>)
  Signed-off-by: ahcorde<EMAIL_ADDRESS>* Contributors: Alejandro Hernández Cordero

gazebo_plugins
* colcon.pkg: build gazebo first in colcon workspace (#1192 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1192>)
  Add a colcon.pkg file to gazebo_dev with gazebo's cmake project
  name "Gazebo" listed as a dependency to support building
  gazebo from source in a colcon workspace.
  * Add colcon.pkg files for other packages
  Copy colcon.pkg to gazebo_ros, gazebo_plugins, and
  gazebo_ros_control so that --merge-install won't be required.
  Signed-off-by: Steve Peters<EMAIL_ADDRESS>* Fixed Parameterized testing on Rolling (#1184 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1184>)
  Signed-off-by: ahcorde<EMAIL_ADDRESS>* adding buffer to gzebo ros hand of god plugin (#1179 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1179>)
  Fixes #1178 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1178>.
* [gazebo_plugins] address warnings (#1151 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1151>)
  * use .c_str() for variadic template
  * silence warnings
  Signed-off-by: Karsten Knese<EMAIL_ADDRESS>  Signed-off-by: Steve Peters<EMAIL_ADDRESS>* Port wheel slip plugin to ros2 (forward port from eloquent) (#1148 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1148>)
  Forward port of wheel slip plugin from eloquent (#1099 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1099>)
  to foxy.
  It includes a similar change to #1111 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1111>, which moved the
  WheelSlipPlugin::Load call before the parameter callback
  so that the values from SDF/URDF are set first.
  Then the callback is changed to ignore negative values, and the
  default slip parameter values are set to -1, so that the SDF/URDF
  values are still preferred unless a different parameter value
  is specified in a launch file.
  Signed-off-by: Steve Peters<EMAIL_ADDRESS>* Added ignition common profiler to ros2 (#1141 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1141>)
  Signed-off-by: ahcorde<EMAIL_ADDRESS>* Contributors: Alejandro Hernández Cordero, Karsten Knese, Steve Macenski, Steve Peters

gazebo_ros
* colcon.pkg: build gazebo first in colcon workspace (#1192 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1192>)
  Add a colcon.pkg file to gazebo_dev with gazebo's cmake project
  name "Gazebo" listed as a dependency to support building
  gazebo from source in a colcon workspace.
  * Add colcon.pkg files for other packages
  Copy colcon.pkg to gazebo_ros, gazebo_plugins, and
  gazebo_ros_control so that --merge-install won't be required.
  Signed-off-by: Steve Peters<EMAIL_ADDRESS>* Fixed Parameterized testing on Rolling (#1184 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1184>)
  Signed-off-by: ahcorde<EMAIL_ADDRESS>* [ROS 2] Bridge to republish PerformanceMetrics in ROS 2 (#1147 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1147>)
  Signed-off-by: ahcorde<EMAIL_ADDRESS>* [Windows] Add missing visibility control. (#1150 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1150>)
* [ros2] Enable the force system on launch files (#1035 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1035>)
  Signed-off-by: Louise Poubel<EMAIL_ADDRESS>* make compile wo/ warnings on osx (#1149 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1149>)
  Signed-off-by: Karsten Knese<EMAIL_ADDRESS>* Added lockstep argument to gzserver (#1146 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1146>)
  Signed-off-by: ahcorde<EMAIL_ADDRESS>* Contributors: Alejandro Hernández Cordero, Karsten Knese, Louise Poubel, Sean Yen, Steve Peters

gazebo_ros_pkgs

No changes

Holding ROS 2 releases for planned build farm maintenance. https://discourse.ros.org/t/upcoming-maintenance-for-build-ros2-org-2020-11-25/17003/


panda-gym v2

Description

Update benchmark for latest version of panda-gym.
Motivation and Context

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes

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

Checklist:

[ ] I've read the CONTRIBUTION guide (required)
[x] I have updated the changelog accordingly (required).
[x] My change requires a change to the documentation.
[ ] I have updated the tests accordingly (required for a bug fix or a new feature).
[x] I have updated the documentation accordingly.
[x] I have reformatted the code using make format (required)
[x] I have checked the codestyle using make check-codestyle and make lint (required)
[x] I have ensured make pytest and make type both pass. (required)

Note: we are using a maximum length of 127 characters per line

Quickly looking at it, no additional tuning was in fact required?

Basic version is ready to review ;)
https://github.com/DLR-RM/rl-baselines3-zoo/pull/250
An example: https://huggingface.co/sb3/ppo-MountainCarContinuous-v0

btw, this requires gym > 0.21, right?

btw, this requires gym > 0.21, right?

Yes, so it can't be merged before #256 I think

What's the status with this PR?

panda-gym v2 requires gym==0.24. But, for the moment, SB3 requires gym==0.21. So the status is "waiting for SB3 to be compatible with gym>=0.24"


Fix & test issue #457

Description
Add package 'libmysqlclient-dev' to list of packages to be installed for some platforms.
Issues Resolved
Fix issue #457
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD

[x] New functionality includes testing.

[x] New functionality has been documented in the README if applicable

[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
The library for mysql client is missing for some platforms whereas the
documentations states "The mysql_client resource manages the MySQL
client binaries and development libraries".
This change fixes the issue by adding package 'libmysqlclient-dev' to
list of packages to be installed. I've also added spec test to check
the library file exists now.
Signed-off-by: Jean-Pierre Matsumoto<EMAIL_ADDRESS>

Thanks for the fix.


Added AppConfig class to allow configuring App.Background dynamically.

This can be used as an optimization.
This PR contains:

[x] Changelog
[X] Documentation

Closing as abandoned.


wrong label data of back_azimuth_deg

Hello.
I'm Sangwoo Han in Seismology, Geophysics and Tectonophysics Lab in Seoul National Univ. in South Korea.
First of all, thank you for your effort to make a very cool global benchmark dataset.
I found some problems in the label data of 'back_azimuth_deg'.
There are some 180-degree differences between 'back_azimuth_deg' in STEAD and back-azimuth obtained using locations of source and receiver.
I download STEAD data from mega cloud link.
I attached an image of back-azimuth differences.

Also, I gave you one example of this problem.

Trace name: 'AKGG.AV_20060814223729_EV'

I used function gps2dist_azimuth() from obspy.geodetics.base to get back-azimuth.
I also want to know the formula that you used to calculate 'back_azimuth_deg'
Please check this problem and could you reply to this?

Hi @Seismic-wave-Han , you are right. The reported value for 'AKGG.AV_20060814223729_EV' is azimuth not the back azimuth.I used the same function from Obspy. And this is how it was calculated during the compiling of the dataset:
            distanceKm, azimuth, back_azimuth = obspy.geodetics.base.gps2dist_azimuth(
                                                                        float(event_lat),
                                                                        float(event_lon),
                                                                        float(station_lat),
                                                                        float(station_lon),
                                                                        a=6378137.0,
                                                                        f=0.0033528106647474805)
            distanceKm = (distanceKm/1000);
            distance = round((distanceKm / 111), 4);
            back_azimuth = round(back_azimuth, 4)

However, I haven't figured out what went wrong yet. I checked the station lat and long and they are correct. So no flipping of the event-station coordinates. Could you tell me how many of these you found in the dataset?

Hi @smousavi05. I prepared some figures related to the error of back-azimuth (also, distance)

These figures are the back-azimuth error along with whole samples and their histogram.
Samples with errors in the 170-190 degree range are 8% of the total.
I also found the distance discrepancy with obspy.

The error of distance is nearly zero, but it shows quite a large error in some samples.
I hope this information will help you find systematic errors in STEAD.

I have downloaded all the chunks of the dataset and trying to run the code but not getting the image folder in the dataset. Can you please help

I am not sure what are you referring to? Which image folder?
On Thu, May 5, 2022, 11:45 AM Rohit-Tomar @.***> wrote:

I have downloaded all the chunks of the dataset and trying to run the code
but not getting the image folder in the dataset. Can you please help
—
Reply to this email directly, view it on GitHub
https://github.com/smousavi05/STEAD/issues/8#issuecomment-1118930169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHWAPAFCAEGJU35ZUIGXJTVIQJMDANCNFSM5I4D4R3Q
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


⚠ DDoS-Relay US-W-sfo3-01 has degraded performance

In d06ac44, DDoS-Relay US-W-sfo3-01 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 146 ms

Resolved: DDoS-Relay US-W-sfo3-01 performance has improved in d627e53 after 12 hours, 16 minutes.


Adding 'end' event

I needed an "end" event to be emitted so I added it. Also cleaned up a few things that my jslinter was complaining about.

Thank you!


Add ISdl Interface

Implements #619

Codecov Report

Merging #620 into develop will decrease coverage by 0.25%.
The diff coverage is 9.67%.

@@              Coverage Diff              @@
##             develop     #620      +/-   ##
=============================================
- Coverage      40.54%   40.29%   -0.26%
- Complexity      2399     2400       +1
=============================================
  Files            331      331
  Lines          14518    14616      +98
  Branches        1526     1559      +33
=============================================
+ Hits            5886     5889       +3
- Misses          8388     8483      +95
  Partials         244      244

Impacted Files
Coverage Δ
Complexity Δ

...smartdevicelink/proxy/SystemCapabilityManager.java
49.2% <100%> (ø)
6 <0> (ø)
:arrow_down:

...n/java/com/smartdevicelink/proxy/SdlProxyBase.java
6.02% <6.66%> (-0.07%)
6 <0> (ø)

...martdevicelink/transport/SdlBroadcastReceiver.java
4.43% <0%> (-0.3%)
3% <0%> (+1%)

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 b8e9ede...b5f9a35. Read the comment docs.


Feature Request: Build for armv6

Hi,
I've been using nichobi/sponsorblockcast on an old RPi B without problems.
After installing through apt I receive Illegal Operation on starting CastSponsorSkip.
Is providing a build vor armv6 possible?
Thanks in advance!

That should be possible! Let me add an armv6 target and see if the build passes.

Frustratingly, it seems like Debian groups together armv6 and armv7 devices and calls them both armhf. I could disable the armv7 build, but it runs faster on devices that support it so I'd rather keep it if possible. I may need to push armv6 builds to a separate package. I might call it castsponsorskip-armv6?

Alright I went ahead and replaced armv7 with armv6 for now. Can you test?

Amazing!
Sure, if you don't mind creating an issue then I might need your help with testing. I have YouTube Premium and haven't been able to test the ad skip, even though I was pretty sure it would work.


Upgraded tests to use the latest PHPUnit (6.2 at this writing)

The latest PHPUnit offers a more clean output and details on failures than previous versions.

I just looked at the CI failures. I sincerely did not know that the latest PHPUnit requires PHP 7.x.
This PR may be better to target Slim 4.x (if the decision to require PHP 7 for Slim 4.x hasn't been made).

At the moment Slim 4 is targeting 5.6. If that changes, then we'll update PHPUnit.


OCPBUGS-32844: bump go-jose to fix CVE-2024-28180

Changes

gopkg.in/square/go-jose.v2 has been deprecated
replacing with equivalent gopkg.in/go-jose/go-jose.v2 causes multiple
imports issue
replaced with security release github.com/go-jose/go-jose v2.6.3
fixes https://github.com/advisories/GHSA-c5q2-7r4c-mv6g

Signed-off-by: Avinal Kumar<EMAIL_ADDRESS>Release note
CVE-2024-28180: Upgrade go-jose to mitigate potential denial of service attacks.

/jira-refresh

/retest

/retest

Is this blocked by https://github.com/openshift/origin/pull/28904 and its cherry-picks?

/jira refresh

/retest

/test e2e-aws-ovn-builds-techpreview
/test e2e-aws-ovn-builds


Numerical errors on Turing v0.7.4

Hi all-
After updating from Turing .7.3. to .7.4, I encountered tons of numerical errors (> 3000) for several of my models, causing a convergence failure. These models worked for previous versions of the Turing.  I compared .7.3 and .7.4 using Julia 1.3.
Here is my setup for .7.3:
(v1.3) pkg> st Turing
    Status `~/.julia/environments/v1.3/Project.toml`
  [0bf59076] AdvancedHMC v0.2.14
  [31c24e10] Distributions v0.21.11
  [189a3867] Reexport v0.2.0
  [4c63d2b9] StatsFuns v0.8.0
  [fce5fe82] Turing v0.7.3 ⚲

and for .7.4 :
(v1.3) pkg> st Turing
    Status `~/.julia/environments/v1.3/Project.toml`
  [0bf59076] AdvancedHMC v0.2.14
  [31c24e10] Distributions v0.21.11
  [189a3867] Reexport v0.2.0
  [4c63d2b9] StatsFuns v0.9.2
  [fce5fe82] Turing v0.7.4

Both versions use AdvancedHMC v0.2.14. So that does not appear to be the problem or at least the exclusive problem.
An example model can be found here and it can be ran with the file called Run baseline Fan model.jl

By the way, I discovered that the problem resolved when I downgrade to StatsFuns v0.8.0.  Turing and AdvancedHMC stayed at the most current versions.

If you have a minimal working example, we can look further into it.

Sorry about that. Thanks for looking into this more. Here is a much smaller example, indicating the problem is probably with logsumexp:
using Turing, Random, Parameters, StatsFuns
import Distributions: logpdf, rand

struct MyDist{T1} <: ContinuousUnivariateDistribution
  μ::T1
end

function logpdf(d::MyDist{<:T}, data::Array{<:T1,1}) where {T,T1}
    μ = d.μ
    N = length(data)
    LLs = Array{typeof(μ),1}(undef,N)
    for i in 1:N
        LLs[i] = logpdf(Normal(μ, 1.0), data[i])
    end
    #return sum(LLs)
    return logsumexp(LLs)
end

Random.seed!(1101)

@model model(y) = begin
    N = length(y)
    μ ~ Normal(0,1)
    y ~ MyDist(μ)
end
y = rand(Normal(0,1),10)

chain = sample(model(y) ,NUTS(1000, .8),  2000)
println(chain)

As before, the model works with StatsFuns v0.8.0. In addition, the model works when logsumexp is replaced with sum regardless of version. I suspect this is the culprit.

@xukai92 any idea what could be happening here?

The problem is that the new logsumexp is not auto-differentiable:
using ForwardDiff, StatsFuns

# New StatsFuns
julia> ForwardDiff.gradient(x -> StatsFuns.logsumexp(x), rand(4))
4-element Array{Float64,1}:
 NaN
 NaN
 NaN
 NaN

# Old StatsFuns
julia> ForwardDiff.gradient(x -> StatsFuns.logsumexp(x), rand(4))
4-element Array{Float64,1}:
 0.1280594678275393
 0.3043198459775647
 0.30254704646302555
 0.2650736397318705

The problem begins at the call to reduce in logsumexp:
using ForwardDiff

function max_reduce(X::AbstractArray{T}; dims=:) where {T<:Real}
    u = reduce(max, X, dims=dims, init=log(zero(T)))
end
ForwardDiff.gradient(x ->max_reduce(x), X)

Indeed, removing log from the initial value solves the problem:
using ForwardDiff, StatsFuns, Random
import StatsFuns: logsumexp
function logsumexp(X::AbstractArray{T}; dims=:) where {T<:Real}
u = reduce(max, X, dims=dims, init=zero(T))
u isa AbstractArray || isfinite(u) || return float(u)
let u=u # avoid https://github.com/JuliaLang/julia/issues/15276
# TODO: remove the branch when JuliaLang/julia#31020 is merged.
if u isa AbstractArray
u .+ log.(sum(exp.(X .- u); dims=dims))
else
u + log(sum(x -> exp(x-u), X))
end
end
end
Random.seed!(100)
y1 = ForwardDiff.gradient(x -> StatsFuns.logsumexp(x), rand(4))
Random.seed!(100)
y2 = ForwardDiff.gradient(x -> logsumexp(x), rand(4))
y1 == y2

I submitted a pull request with StatsFuns that fixes the error. Thanks for your help!


bug: Inputs at bottom of screen disappear on focus

Type: bug
Platform: android 4.4 webview

* Create a tall page, tall enough that it scrolls off the bottom of the window.
* Add two or more inputs to the end of the page together on the same row (ie: ``)
* Add some styling to distinguish between them (eg: `style="background: red;"` `style="background: blue;"`) - See [here](http://david-byng.github.io/ionic-scroll-issue-demo/) for a demo
* Scroll down
* Tap one, then tap the other.
* After two seconds delay, input disappears (cloned during failed scroll attempt)
* Inputs should not disappear
If testing in a desktop browser, you must have pointer events enabled. In chrome, enable emulation by:

Developer tools
Press escape
Emulation tab
Select a device (eg: nexus 5)
Click Emulate
Refresh page

See here for a demo

This appears to have been resolved elsewhere. Thank you.


Bug 2252252: Fencing takes more time than expected

Signed-off-by: Elena Gershkovich<EMAIL_ADDRESS>(cherry picked from commit e544937750ce145e84991cc5d76e2c011b5976db)

@raghavendra-talur can you take a look, as this is a couple of releases old wanted to be sure there are no other repercussions in the MetroDR space

@ELENAGER Can you please rebase and also let me know if the bug is still acked for the release?

/bugzilla refresh


Dropped unmatched characters

I know that this is a repeat but bear with me. I have tried every one of these "solutions" and they haven't worked. So please help me.
[colors]
; Color Theme ==============================
; Can copy directly from Xresources #defines
base00 = #0c1014
base01 = #11151c
base02 = #103752
base03 = #0b3e53
base04 = #245361
base05 = #599cab
base06 = #99d1ce
base07 = #d3ebe9
base08 = #c23127
base09 = #d26937
base0A = #edb443
base0B = #888ca6
base0C = #4e5166
base0D = #195466
base0E = #33859e
base0F = #2aa889
; =========================================

[bar/default]
width = 100%
height = 32
radius = 0
padding = 1
fixed-center = false
bottom = false

background = ${colors.base00}
foreground = ${colors.base05}

module-margin-left = 1
module-margin-right = 1

font-0 = Homespun TT BRK:style=Regular:size=11;3
font-1 = Font Awesome 5 Free:style=Regular:size=11;3
font-2 = Font Awesome 5 Brands:style=Regular:size=11;3
font-3 = Font Awesome:style=Regular:size=11;3
font-4 = Wuncon Siji:style=Regular:size=11;3
font-5 = Unifont:style=Regular:size=11;3

modules-left = i3
modules-center = cpu memory
modules-right = now-playing vpn network battery volume date time

[module/i3]
type = internal/i3
format = <label-state> <label-mode>
wrapping-scroll = false

ws-icon-1 = "Chromium;"
ws-icon-2 = "Chat;"
ws-icon-3 = "Music;"
ws-icon-0 = "Dev;"

label-mode-foreground = ${colors.base05}
label-mode-background = ${colors.base00}

; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.base08}
label-focused-background = ${colors.base00}
label-focused-padding = 1

; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.base05}
label-unfocused-background = ${colors.base00}
label-unfocused-padding = 1

; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.base08}
label-urgent-padding = 1

[module/cpu]
type = internal/cpu
interval = 5
format = "%{F#edb443}%{F-} <label>"
format-foreground = ${colors.base05}
label = %percentage%%

[module/memory]
type = internal/memory
interval = 5
format = "%{F#195466}%{F-} <label>"
format-foreground = ${colors.base05}
label = %percentage_used%%

[module/time]
type = internal/date
interval = 1

time = %H:%M:%S
label = %time%

format = "%{F#888ca6}%{F-} <label>"
format-foreground = ${colors.base05}

[module/date]
type = internal/date
interval = 1

date = "%m/%d/%Y"
label = %date%

format = "%{F#4e5166}%{F-} <label>"
format-foreground = ${colors.base05}

[module/now-playing]
type = custom/script
exec = ~/.config/polybar/scripts/now-playing
interval = 1

[module/battery]
type = internal/battery

battery = BAT0
adapter = AC
poll-interval = 5
time-format = %H:%M
format-charging = %{F#2aa889}%{F-} <label-charging>
label-charging = %percentage%%
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %time% (%percentage%%)
label-full = %{F#2aa889}%{F-} Charged
ramp-capacity-0 = %{F#c23127}%{F-}
ramp-capacity-1 = %{F#c23127}%{F-}
ramp-capacity-2 = %{F#edb443}%{F-}
ramp-capacity-3 = %{F#edb443}%{F-}
ramp-capacity-4 = %{F#2aa889}%{F-}

[module/network]
type = internal/network
interface = wlp2s0
interval = 1
ping-interval = 3
format-connected = %{F#2aa889}%{F-} <label-connected>
label-connected = %essid%
format-disconnected = %{F#d26937}%{F-} <label-disconnected>
label-disconnected = "Not Connected"

[module/volume]
type = internal/volume
format-volume = %{F#d26937}<ramp-volume>%{F-} <label-volume>
label-volume = %percentage%%
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
format-muted = %{F#d26937}%{F-} <label-muted>
label-muted = Muted

[settings]
screenchange-reload = true

[global/wm]
margin-top = 5
margin-bottom = 5

; vim:ft=dosini

And yes, i have all fonts that is used in the config installed.

What is the output of polybar -l info default?
Are the characters that are dropped actually part of the fonts you listed in the config

Nvm.


Extra changes to how we're running tests

@anthonydresser I brought in some of your changes from https://github.com/microsoft/azuredatastudio/pull/8671 to this PR.
Let me know if that's alright!

@aaomidi do we still want this change?  Or should we close the PR?


fix(netlify): change path in deno_dist/adapter/netlify

Purpose
There is an issue when using the Netlify Adapter via deno.land/x. https://github.com/honojs/hono/blob/8de60599aafca908b6214f047571415c6e17f8ea/deno_dist/adapter/netlify/handler.ts#L4 This line references ../../index.ts but that doesn't exist in the root of deno_dist/ so we much use ../../hono.ts or ../../mod.ts. Please let me know what you prefer. Thank you!

[ ] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

Photo of error:

Hi @charkour
Looks good! Thanks!

Thank you!


Dracula for Plank

Hi! I have created Dracula theme for Plank dock.

Hey @weltonfelix!
I'm glad to see that you created a theme for Plank! Are you interested in transferring your repository to the official organization (https://github.com/dracula)? You'll continue maintaining this project, the only difference is that we can make it more visible and include it on the site (https://draculatheme.com).
I just sent you an invite to join the organization. If you accept, you'll be able to transfer the repo and we can continue with adding to the site.
Thanks for building it!

That sounds great! I just transferred it.

https://draculatheme.com/plank
Thanks @weltonfelix!


Refreshing the view

Hi. This may not be an issue, but it would be good to have a refresh-view event, or something, that would refresh the time.
My case is that I have a 60s countdown, and there's an event that adds some seconds, but the view doesn't refreshes until the next second is gone.
I tried to manipulate the code but couldn't figure it out how to do it.
Thanks!

@felipe-perestrelo
May Be You could use Callback event for that  like this  finish-callback="callbackTimer.finished()"


Add rule for classes/functions that start their body with a blank line

class Foo:

    def bar(self):
        pass

def foo():

    pass

It looks like there's no rule for this at all (tested w/ --select ALL), even though it looks pretty weird and would even be easy to auto-fix.
There are rules for similar issues when docstrings are involved (e.g. D201), but nothing that does the same in undocumented code.

If you have a suggestion where to best place
such a rule I wouldn't mind looking into implementing this.


Fixed inconsistency re: PVIs in 1st 6 months

@leannep: Keith @bechtol pointed out an inconsistency between Table 5 and Table 6 with regards to the availability of PVIs within 3 days after observation during the first 6 months of LSST. This PR is to patch this, by making the two Tables consistent about PVI access prior to DP2 being TBD.

Argh, sorry. Rows removed, figure replaced.


metadata.json: No such file or directory while creating the tiles

Hi,
Whenever the geojson data changes, I have created this routine where I trigger running the set of Tippecanoe commands with mentioned layer and folder .
I used to create a new directory(e.g. map_tiles_new, where already existing map_tiles folder will have the outdated tiles) and there I used to run the commands for fresh tiles. At the end I used to  replace the map_tiles_new folder with map_tiles folder
example command :
tippecanoe  --minimum-zoom=5 --maximum-zoom=6 --full-detail=18 --no-tile-compression --no-tile-size-limit --detect-longitude-wraparound --no-tiny-polygon-reduction  --progress-interval=3  --output-to-directory 'layer1' -l 'layer1' /home/ubuntu/data/*.geojson
But now a days I am having this weird issue where if I run this command it will get completed to 100% but at the end it gives this error 'layer1/metadata.json: No such file or directory'. The map_tiles_new will have nothing there but the inode stat(IUsed) increases after the completion.
Any help ? And why do we need this metadata.json file ?

The metadata.json file contains general information about the tileset: its name, the maxzoom and minzoom, the names of the layers, etc. If your application doesn't need it, then that's fine, but the Mapbox uploader insists upon it being there. It's the same information that documented here in the mbtiles spec: https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md#vector-tileset-metadata
It looks like the problem with creating the metadata.json file is that Tippecanoe doesn't actually create the directory you specified with --output-to-directory until it tries to create the first tile, so if your data does not actually contain any valid geometries, the directory is never created and creating the metadata.json file within it fails.
I'll fix that. Thanks for the report.

This will be fixed in https://github.com/mapbox/tippecanoe/pull/645

@ericfischer Thanks for the quick fix. So the source of this error is because of invalid feature geometries in geojson files? Surprisingly if I use --force option while running the command it works fine without throwing above error and the tiles are as expected.

That was the way that I found to reproduce it: an input file that has features (so it doesn't stop early with a complaint that there are no features) but with them all off the edge of the earth so no tiles are actually generated.
Maybe there is some other way to trigger it. If you found another way, let me know.
That is weird that --force would make a difference, since if anything that should be removing the metadata.json, not creating it. Maybe it is removing an old one that has the wrong permissions or something?


Catch delta table not found error

when the delta table isn't found, surface this error to the user.

The docformatter hook runs without error locally, it grates like sandpaper against my soul that this hook would run differently on the server.

I think it's cool that docformatter won't tell me which file is incorrect, it's like a fun little scavenger hunt.


print job

[Enter feedback here]

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

ID: d1b19891-f4af-5486-bf2b-9fd134b33bce
Version Independent ID: 0ab408db-7b1e-e62a-d689-61b163e1e8fe
Content: Get-PrintJob (printmanagement)
Content Source: docset/windows/printmanagement/Get-PrintJob.md
Product: w10
Technology: powershell-windows
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

The issue is missing feedback.


Feature/auth

Summary

Adding authentication for updating and deleting users.
Refactoring the creation of a new user and encrypts the password.

Changes according to feedback and adds missing fields in the restaurant get all and get by id services


Make Contents a sidebar instead of at the top of the page

What we are currently doing:

Fixed in latest release


Backfilling issue with selector rule configuration parameters

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
In shenyu admin, under the plugin list menu, after configuring the rules for the selector, the editing page does not fill in parameters
Expected Behavior
No response
Steps To Reproduce
No response
Environment
ShenYu version(s):2.6.0

Debug logs
No response
Anything else?

thanks for your feedback, we will fix it

Thank you for your feedback! I think I know where the bug is and I will fix it today.

it has fixed in https://github.com/apache/shenyu-dashboard/pull/385


Adding Contributing Guidelines

Add proper guidelines for our contributors which they should follow while contributing to this repo.
Take help of Contributing Templates.

I could work on this!


Introduce sign_with method in keystore

This PR is part of the effort on implementing Remote signing.
The change introduces sign_with method where the caller passes the public key and the key type ID. The pair matching against those parameters is done within the store rather than outside of it so that the call site isn't responsible about signing implementation details.

refs #4689

Before merging, I would like to test this on one of our Kusama validators.

Opps, screwed something up... sorry about that and i'll fix it

Deployed to one validator.

@ddorgan your silence means we are not seeing issues on that validator?!?


Indicate what remote service exactly is not available when things fail

Is your feature request related to a problem? Please describe.
My release failed with the following exception:
Error:  Failed to execute goal org.jreleaser:jreleaser-maven-plugin:1.7.0:full-release (default-cli) on project ttcli: Execution default-cli of goal org.jreleaser:jreleaser-maven-plugin:1.7.0:full-release failed: Unexpected error when creating release: org.jreleaser.sdk.commons.RestAPIException: 503: Service Unavailable -> [Help 1]

(See https://github.com/wimdeblauwe/ttcli/actions/runs/5622632049/job/15235883963 for the full logs)
Unfortunately, I have no idea exactly what remote service is not available (brew, chocately, ... ?). It would be nice if the exception could also print the URL it is trying to reach.
Describe the solution you'd like
It would be nice if the exception could also print the URL it is trying to reach.

Based on the log the problem happened posting the release to Github, not with the packages.
However, adding URLs to the trace log would be OK.


game lags every 5 seconds.

Hello, sailro!
After installing the trainer, it seems to be lagging.
Remove the trainer and its be fine.
can u help me?

Found the reason why the game is lagging
It's because of the quest trainer. If you turn it off, there is no lag.

Stuttering issue specially in a big map like Street of Tarkov, Costums etc.

[Exception] : NullReferenceException
UnityEngine.Renderer.get_material () (at <85d1d3e7744a4a47b5f51883bf40bba2>:0)
EFT.Trainer.Features.Players.ResetShaders (System.Collections.Generic.Dictionary`2[TKey,TValue] cache) (at <8e92675741524e7d82a4f525fe26ae7f>:0)
EFT.Trainer.Features.Players.OnGUI () (at <8e92675741524e7d82a4f525fe26ae7f>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class312:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

error spams at least 5 times per second


yarn start fails with error

Failed to compile. (it does work with npm)
/Users/olafbecker/dev/src/conflict_check/src/reducers/index.ts
TypeScript error: Argument of type '{ todoList: (state: any, action: Action<any>) => any; }' is not assignable to parameter of type 'ReducersMapObject'.
  Property 'todoList' is incompatible with index signature.
    Type '(state: any, action: Action<any>) => any' is not assignable to type 'Reducer<any>'.
      Types of parameters 'action' and 'action' are incompatible.
        Property 'payload' is missing in type 'AnyAction' but required in type 'Action<any>'.  TS2345

     9 | }
    10 |
  > 11 | export default (history: History) => combineReducers({
       |                                                      ^
    12 |   ...todoReducer
    13 | });
    14 |

+1 here

should be solved in latest commit