Compilation bug with FSharp.Core 4.5.1, works with 4.5.0

After upgrading from FSharp.Core 4.5.0 to 4.5.1, I get the following cryptic error when compiling in VS2017:
E:\A\_work\80\s\src\fsharp\FSharp.Core\async.fsi(450,16): error FS0073: internal error: CodeGen check: type checking did not quantify the correct number of type variables for this method, #parentTypars = 1, #ctps = 1, #mtps = 0, #thisArgTys = 2
Reverting to 4.5.0 fixes the problem. I have no idea what causes it, since none of my code is referenced in the error. Unfortunately I can't share the solution since it's a work project.
Let me know if I can provide further info.

Ah, a warning, I see. I have "treat warnings as errors" turned on, so this stops me from compiling.


 then I'll merge.

coulf you reformat your commit message to match https://github.com/rycee/home-manager/blob/master/CONTRIBUTING.md#commits please ? like "dconf: allow values..." then I'll merge.

Fixed! Sorry I didn't notice that part of the contributing guidelines before opening a PR.

Thanks! Rebased to master in c5f35b7ff942d7f5875c0b772b7551c03b431c91.

@rycee i think you can rebase from github interface which is better because then we can see from the ui the effective pr status

@teto I'm not so fond of rebasing through the github interface since the generated commits on master don't get signed. I agree that if there has been substantial discussion on the PR before rebasing it would be good to have a link back. Perhaps that could be added through amending the commit message to contain something like "See discussion in #blah"?


Improperly tagged name

I called probablepeople.tag("ALLIN JOHN FRAWLEY") and it returned the following:
probablepeople.RepeatedLabelError:
ERROR: Unable to tag this string because more than one area of the string has the same label
ORIGINAL STRING:  ALLIN JOHN FRAWLEY
PARSED TOKENS:    [('ALLIN', 'Surname'), ('JOHN', 'GivenName'), ('FRAWLEY', 'Surname')]
UNCERTAIN LABEL:  Surname
Ideally it should be interpreting "ALLIN" as a given name because of its position and the fact that "Allin" is an alternative of "Allen".

I forgot to mention in the first report—the tagger should also interpret "JOHN" as the middle name, for the same reason.


Cannot retrieve system input exclusion status

Filled as per this comment of #55.
I need a way to get data about system inputs exclusion status.
This is a piece of info exposed by the server response to the query along with other additional details.
Currently the query function simply ignores these details.
The same stands for sectors.
The first solution that comes into my mind is adding a def rawquery(self, query, callback): function which returns the result of invoking callback passing the data as returned by the server.
(Probably there are more pythonic ways to achieve the same)
This is an excerpt of the whole set of attributes exposed by the server api respectively for sectors and inputs.
SECTORS
'Active' = {bool} False
'ActivePartial' = {bool} False
'Max' = {bool} False
'Activable' = {bool} True
'ActivablePartial' = {bool} False
'InUse' = {bool} True
'Id' = {int} 7010
'Index' = {int} 0
'Element' = {int} 1
'CommandId' = {int} 0
'InProgress' = {bool} False

INPUTS
'Alarm' = {bool} False
'MemoryAlarm' = {bool} False
'Excluded' = {bool} False
'InUse' = {bool} True
'IsVideo' = {bool} False
'Id' = {int} 26114
'Index' = {int} 0
'Element' = {int} 1
'CommandId' = {int} 0
'InProgress' = {bool} False

I'm currently working in making ElmoClient lightweight with the only responsibility of handling the connection and making API calls. This means that I'm going to include the raw query and then let an external component (e.g. the Device object I'm adding in another branch) handle what is active/not active or included/excluded.
I will close this issue once all PRs are merged into master.

#72 exposes the excluded field from the returned query. It doesn't implement your feature, but handles the use case of this specific GitHub issue. The full feature will be implemented in another PR.


Add Infusate ListView and template and sample list cleitn-side pagination

Summary Change Description

Followed the QuickStart guide for Bootstrap upgrade:
upgraded Bootstrap from version 5.0.2 to 5.1.3
upgraded Bootstrap-Table from version 1.18.3 to 1.21.1
Added ListView and template for infusate list
Added client-side pagination for sample list
Added test code for infusate list page (test_vews.py with tag "compound")

Affected Issue Numbers

Resolves #520
Resolves #517
Resolves part of #518

Code Review Notes

Need more work on server-side pagination for sample list, add client-side pagination for sample list for now
Boostrap-Table "table-page-list" default to 10 per page. Remove 10 from the list, the display still go with 10 per page as default. So include the value to avoid confusion. Actually I wanted to go with 25 or 50 per page as default.

Checklist

[x] All issue requirements satisfied (or no linked issues)
[ ] Linting passes.
[x] Migrations created & committed (or no model changes)
Tests

[x] Tests implemented (or no code changes)
[x] All multi_working tag tests pass locally
[x] All example load tests pass (remotely) (or their failures predated and are unrelated to this branch)
[ ] @tag("multi_working") added to newly passing test functions/classes (or no newly passing tests)
[ ] @tag("multi_broken"), @tag("multi_unknown"), or @tag("multi_mixed") removed from newly passing test functions/classes (or no newly passing tests)

@lparsons Thanks for catching the sort issue. I think it was sorted based on id for a column with hyperlink, but it should be sorted based on html values. I will do some research to see if I can come up with a quick fix. I'll log a new issue as this issue also affects other list pages.

I also tested the web page for sample_list, sorting seems to work for me, too. I'll go through other list pages to see what other quick improvements I can make for soft launch and log them in a new issue.

Looks like there are some inconsistencies with JavaScript Standard Style in htmlSorter.js:
2022-10-04 18:51:43 [INFO]   File:[/github/workspace/static/js/htmlSorter.js]
2022-10-04 18:51:44 [ERROR]   Found errors in [standard] linter!
2022-10-04 18:51:44 [ERROR]   Error code: 1. Command output:
------
standard: Use JavaScript Standard Style (https://standardjs.com/)
standard: Some warnings are present which will be errors in the next version (https://standardjs.com/)
standard: Run `standard --fix` to automatically fix some problems.
  /github/workspace/static/js/htmlSorter.js:3:10: 'htmlSorter' is defined but never used. (no-unused-vars)
  /github/workspace/static/js/htmlSorter.js:3:20: Missing space before function parentheses. (space-before-function-paren)
  /github/workspace/static/js/htmlSorter.js:4:1: Expected indentation of 2 spaces but found 4. (indent)
  /github/workspace/static/js/htmlSorter.js:4:5: Unexpected var, use let or const instead. (no-var) (warning)
  /github/workspace/static/js/htmlSorter.js:4:9: 'a' is already defined. (no-redeclare)
  /github/workspace/static/js/htmlSorter.js:4:13: '$' is not defined. (no-undef)
  /github/workspace/static/js/htmlSorter.js:4:24: Extra semicolon. (semi)
  /github/workspace/static/js/htmlSorter.js:5:1: Expected indentation of 2 spaces but found 4. (indent)
  /github/workspace/static/js/htmlSorter.js:5:5: Unexpected var, use let or const instead. (no-var) (warning)
  /github/workspace/static/js/htmlSorter.js:5:9: 'b' is already defined. (no-redeclare)
  /github/workspace/static/js/htmlSorter.js:5:13: '$' is not defined. (no-undef)
  /github/workspace/static/js/htmlSorter.js:5:24: Extra semicolon. (semi)
  /github/workspace/static/js/htmlSorter.js:6:1: Expected indentation of 2 spaces but found 4. (indent)
  /github/workspace/static/js/htmlSorter.js:6:5: Expected space(s) after "if". (keyword-spacing)
  /github/workspace/static/js/htmlSorter.js:6:24: Extra semicolon. (semi)
  /github/workspace/static/js/htmlSorter.js:7:1: Expected indentation of 2 spaces but found 4. (indent)
  /github/workspace/static/js/htmlSorter.js:7:5: Expected space(s) after "if". (keyword-spacing)
  /github/workspace/static/js/htmlSorter.js:7:23: Extra semicolon. (semi)
  /github/workspace/static/js/htmlSorter.js:8:1: Expected indentation of 2 spaces but found 4. (indent)
  /github/workspace/static/js/htmlSorter.js:8:13: Extra semicolon. (semi)
------

@lparsons yeah, looking into the code right now. Do you know if there is a quick method to linter javaScript locally before pushing it to GitHub?

I had to disable eslint for htmlSorter.js. Replacing "var" with "let" as suggested by eslint, then the sorting stopped working.

I had to disable eslint for htmlSorter.js. Replacing "var" with "let" as suggested by eslint, then the sorting stopped working.

I'm not clear on all of the best practices in this case, would be nice to get this all cleaned up in the future. For example, re-declaring the variables a and b doesn't seem like the "right" thing to do here. It would likely be better to use new variables for the text rather than those passed into the function.
Also, unrelated to the style issues, it seems like this would be better to include in the base template so it doesn't have to be added to each list template individually, but I could be missing something.

@lparsons My experience with JavaScript is very limited. Found this ref which included the solution from the Bootstrap-Table developer (wenzhixin).  I only tried to replace "var" with "let", then it stopped working, so I thought it might be better to use the code he wrote without modifications.
I agree it's better to add the script to base.html. Thanks for the suggestion.

@lparsons I added data-height and data-virtual-scrollattributes to infusate.html. It seems to be a better solution for a page with <1000 rows than client-side pagination, if combining with sort and filter features. It could also be the solution for issue#534.  What do you think?


Extension not showing

Hi
Ive tried a few time to install the extension on 2 separate google colab accounts, one a completely fresh install of Stable diffusion. The extension process works(and shows up in the extensions list) but on all occasions neither the 'Depth' tab shows up (after several restarts of the UI) or does it show in the scripts on img2img etc. Ive tried everything before resorting to messaging!

I've been fighting this one for about a week but know too little about these processes to solve it.
I wish I could be of help since I REALLY need to solve this too. Assuming you're using Colab, do you see any "module missing" errors when you run the code?
When I get to the code to run Stable Diffusion, it usually starts telling me it can't locate "trimesh"
Then after pip installing "trimesh" I get the error MOduleNotFoundError: No module named 'vispy.visuals.text._sdf_cpu'
pip installing vispy doesn't solve it, and that's where I usually give up.
There was a thread here were someone claimed to fix some issues by running a script. I'll paste this below.
For some reason, between various errors, and trying code back and forth, I ONCE got this working for about an hour... and then of course it never worked again when I tried restarting the notebook and running all the code.
Essentially back to square one.
This is the code that someone reported to work. TBH I'm not sure where in the order it should go, I guess before starting the SD code? As below:
#@title
import launch
import platform
import sys
if sys.version_info < (3, 8):
launch.run_pip("install importlib-metadata", "importlib-metadata for depthmap script")
import importlib_metadata
else:
import importlib.metadata as importlib_metadata
if not launch.is_installed('packaging'):
launch.run_pip("install packaging", "packaging requirement for depthmap script")
from packaging.version import Version
def ensure(module_name, min_version=None):
if launch.is_installed(module_name):
if min_version is None or Version(importlib_metadata.version(module_name)) >= Version(min_version):
return
requirement = f'{module_name}>={min_version}' if min_version is not None else module_name
cmd = f'install "{requirement}"'
msg = f'{requirement} requirement for depthmap script'
launch.run_pip(cmd, msg)
if not launch.is_installed("timm"): #0.6.7  #  For midas
launch.run_pip('install --force-reinstall "timm==0.6.12"', "timm requirement for depthmap script")
ensure('matplotlib')
ensure('trimesh')
ensure('numba', '0.57.0')
ensure('vispy')
ensure('rembg')
if not launch.is_installed("moviepy"):
launch.run_pip('install "moviepy==1.0.2"', "moviepy requirement for depthmap script")
ensure('transforms3d', '0.4.1')
ensure('imageio')  # 2.4.1
ensure('imageio-ffmpeg')
if not launch.is_installed("networkx"):
launch.run_pip('install "networkx==2.5"', "networkx requirement for depthmap script")
if platform.system() == 'Windows':
ensure('pyqt5')
if platform.system() == 'Darwin':
ensure('pyqt6')

After re-installing trimesh, this is my result when running the stable diffusion code:
2023-06-27 05:27:53,647 - ControlNet - INFO - ControlNet v1.1.227
ControlNet preprocessor location: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-06-27 05:27:53,890 - ControlNet - INFO - ControlNet v1.1.227
Error loading script: depthmap.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 59, in
from inpaint.mesh import write_mesh, read_mesh, output_3d_photo
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/inpaint/mesh.py", line 12, in
from vispy import scene, io
File "/usr/local/lib/python3.10/dist-packages/vispy/scene/init.py", line 33, in
from .visuals import *  # noqa
File "/usr/local/lib/python3.10/dist-packages/vispy/scene/visuals.py", line 18, in
from .. import visuals
File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/init.py", line 14, in
from .axis import AxisVisual  # noqa
File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/axis.py", line 13, in
from .text import TextVisual
File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/text/init.py", line 7, in
from .text import TextVisual  # noqa
File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/text/text.py", line 18, in
from ._sdf_cpu import _calc_distance_field
ModuleNotFoundError: No module named 'vispy.visuals.text._sdf_cpu'

I've been fighting this one for about a week but know too little about these processes to solve it. I wish I could be of help since I REALLY need to solve this too. Assuming you're using Colab, do you see any "module missing" errors when you run the code? When I get to the code to run Stable Diffusion, it usually starts telling me it can't locate "trimesh" Then after pip installing "trimesh" I get the error "Error loading script: depthmap.py" and ModuleNotFoundError: No module named 'vispy.visuals.text._sdf_cpu'
pip installing vispy doesn't solve it, and that's where I usually give up. There was a thread here were someone claimed to fix some issues by running a script. I tried adding this to the notebook and for some reason, between various errors, and trying re-installing trimesh and vispy with pip install code back and forth, this worked for me ONCE and I got the depth tabs and UI for about an hour... and then disconnected and I went home for the day. ...and then of course it never worked again when I tried restarting the notebook and running all the code. Essentially back to square one.
I tried pasting the code here, but the indents all disappeared. You might fishing around in the "Issues" threads. In my case, it was returning errors and I had to ask Chat GPT what the problem was, and was told that it was missing essential indents. You may need to check and do the same.

Hi. Yes, Im using Colab. Ive not had any errors, just not had any success either. Im hoping it will be resolved at some point, but the more I cant use it the more I need it! (its actually essential for my work) Thanks for the code :-)

Oof. Sorry to hear. If you ever get it going, please update this thread. I could use a lifeline.

Actually sorry to ask, are you using a notebook you made from scratch or are you using a notebook from someone else?
I was trying to use a notebook by "TheLastBen" as a starter.

I'm not using collab but I am having the same problem as well. I have it installed but the tab is not showing up in my UI nor is it showing up in my scripts drop-down. Any help would be great :)

@Jacksmind @ChromaBenDada @Pwhite95
There is a fresh-from-the-oven update available. Please update and try again, does it fix the issue?
I just tested fast_stable_diffusion_automatic1111 Colab notebook and it works on my machine it loads on the remote machine. There is an issue that prevents it from displaying images that requires some more digging - but at least you can get the images from the "output" folder in the Google Drive.

@semjon00 Thanks for responding.
No the problem persists.
When running the cell to "Start SD" it first tells me that "trimesh" is missing. After pip installing, the next time around it tells me that the "vispy...cpu" item is missing as described above. I tried re-installing vispy from source, but no luck.
I could update the extension in the UI, but the Depth tab still doesn't appear reliably.
"Error loading depthmap.py" and " ImportError: cannot import name 'config' from 'vispy' (unknown location)" are a thing now.

After re-installing trimesh, this is my result when running the stable diffusion code. Note errors with "depthmap.py" and "vispy...":
2023-06-27 05:27:53,647 - ControlNet - INFO - ControlNet v1.1.227 ControlNet preprocessor location: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads 2023-06-27 05:27:53,890 - ControlNet - INFO - ControlNet v1.1.227 Error loading script: depthmap.py Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 59, in from inpaint.mesh import write_mesh, read_mesh, output_3d_photo File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/inpaint/mesh.py", line 12, in from vispy import scene, io File "/usr/local/lib/python3.10/dist-packages/vispy/scene/init.py", line 33, in from .visuals import * # noqa File "/usr/local/lib/python3.10/dist-packages/vispy/scene/visuals.py", line 18, in from .. import visuals File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/init.py", line 14, in from .axis import AxisVisual # noqa File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/axis.py", line 13, in from .text import TextVisual File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/text/init.py", line 7, in from .text import TextVisual # noqa File "/usr/local/lib/python3.10/dist-packages/vispy/visuals/text/text.py", line 18, in from ._sdf_cpu import _calc_distance_field ModuleNotFoundError: No module named 'vispy.visuals.text._sdf_cpu'

Yes, I have the same. Think its a lame duck onColab for now :-(

@Jacksmind
I realized today I can get everything running for one session if I:

delete the SD folder from Google Drive
run all the cells in order again (currently using model 1.5 and canny for controlnet)
re-install the High Def Extension
Quit (trying to restart fails for me)
Re-run the SD launcher
entering the web UI gives access to the Depthmap tab.
I was able to knock out a few models before I crashed.
Attempting to relaunch everything again from this install doesn't work and starts giving trimesh and vispy errors again.
So starting over from 1 seems to more or less get it rolling again.
Unfortunately I ran out of Colab units in the process of troubleshooting, so I can't say this will work every time with confidence, but doing this has worked a couple times.
Give it a try?

I followed these instructions and it worked:

Delete the sd folder
Google fast_stable_diffusion_AUTOMATIC1111 and open the first link
Click "Connect Google Drive", "Install/Update AUTOMATIC1111 repo", "Requirements", "Start Stable-Diffusion". Please do not click "Model Download/Load" as the extension can be used without SD model(s). Please do not install ControlNet (unless you need it).
Open the interface, install the Depth Maps extension, then click "Apply and quit"
After all this is done, click "Start Stable-Diffusion". Here I see "Depth" tab, it does not disappear if I restart the WebUI.

Free Google Colab is not a good/reliable way to use WebUI. Maybe try alternatives?

If you have further issues, please provide the full console output.

I followed your instructions to the letter and can confirm that it works well. I got a few errors during the process of generating 3D images (stopped if I turned off 'Show depth map) but all in all, excellent. Thank you semjon00


Cannot login after switching to Google account

A week ago I tried to login to my Nest account and then I was asked to switch my Nest account to Google account, which I did. From that time I am no longer seeing any data updates. I guess it is because the old login method no longer works. Even if I enter my Google account credentials it returns HTTP 400.
Is there any workaround for it?

Hi @shaman79,
Yes, Google killed 'Works with Nest' program and Nest APIs when acquiring the company.
So, when you switched to Google account, nest-datagraph stop working.
I haven't time and Nest thermostat yet to work on it but feel free to open a PR if you find a working solution.
Cheers,
Guillaume


Azure - credentialsConfig

Describe the bug:
I'm trying to add an Azure secret engine with some roles using 'credentialsConfig' to authenticate to Azure.
Here's the YAML section:
...
credentialsConfig:
  env: AZURE_AUTH_LOCATION
  path: /etc/azure/credentials
  secretName: azure-creds
externalConfig:
  secrets:
    - configuration:
        roles:
          - azure_roles: >-
               '[{"role_name": "xxx", "scope":  "/subscriptions/yyy/resourceGroups/zzz"}]'
            name: dns-role
            policies: []
            startupSecrets: []
            ttl: 1h
      description: Azure Secret Backend
      path: azure
      type: azure
...

However it seems the vault-configurer does not use the credentials to configure the secret engine and I get "subscription_id is required" in the logs.
Expected behaviour:
The vault configurer uses the credentials to configure the secret engine.
Steps to reproduce the bug:
Try to configure the Azure secret engine using 'credentialsConfig' to manage the authentication part.
Additional context:
Everything works fine if I configure the secret engine myself without using the 'credentialsConfig' :
...
secretEngines:
  - type: azure
    path: azure
    description: Azure Secret Backend
    configuration:
      config:
        - subscription_id: "${env `AZURE_SUBSCRIPTION_ID`}"
          tenant_id: "${env `$AZURE_TENANT_ID`}"
          client_id: "${env `$AZURE_CLIENT_ID`}"
          client_secret: "${env `$AZURE_CLIENT_SECRET`}"
      roles:
        - name: dns-role
          ttl: 1h
          azure_roles: '[{"role_name": "xxx", "scope":  "/subscriptions/yyy/resourceGroups/zzz"}]'
...

However, I don't want the secrets to being exposed as environment variables.
Environment details:

Kubernetes version (e.g. v1.10.2): v1.24.6+5658434
Cloud-provider/provisioner (e.g. AKS, GKE, EKS, PKE etc): Openshift on Azure
bank-vaults version (e.g. 0.4.17):  1.17.0
Install method (e.g. helm or static manifests): Helm

/kind bug

Hi @itmwiw, thanks for using Bank-Vaults! File-based authentication via credentialsConfig is currently only possible when using Azure's Key Vault to store the Vault unseal keys and root token. For the Azure secrets engine only the second method mentioned by you (with env variables) works as per Vault's own documentation. Although I think it wouldn't be impossible to implement it as a feature within Bank-Vaults if you have time to contribute a solution 🙂

Hi @itmwiw,
Thank you for bringing this up. If you’re still interested in having this implemented, please feel free to comment on this issue. For now, I will close it due to the current lack of interest.


Can't uninstall Vagrant VM ware Utility

@amangeldizhusubaliev Said that I don't have installed Vagrant VM ware Utility. So when it shouldn't be available for deletion.
https://files.slack.com/files-pri/T6FV09UF3-FCDHA1Q2F/download/ice_video_20180823-120004.webm

was able to uninstall and install again the component
fixed in prod


ODATA filtering on lists and listitems is not working consistently ~ update documentation to indicate which fields support $filter

Using $filter on a list query (e.g. https://graph.microsoft.com/v1.0/sites/{siteid}/lists?$filter=displayName eq 'My List') only works when filtering on the displayName property...all others seem to fail with below error. Would be good to indicate in the docs which properties support $filter, a bit like is done for users and groups
{
    "error": {
        "code": "invalidRequest",
        "message": "The provided filter statement is not supported",
        "innerError": {
            "date": "2020-09-07T18:43:43",
            "request-id": "044ec60c-4e7d-4d65-90a1-a20d8d08ee2f"
        }
    }
}

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

ID: 1d0ccff7-e177-0d55-d5c5-1fb9cf728638
Version Independent ID: 8955ee30-5dc2-43f3-105d-78d8baf6d727
Content: List the SharePoint lists in a site - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/list-list.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Radiobutton not announced on iOS

Internal: b/142419527, b/276298238
On Android, Radio and RadioListTile widgets are given a semantic hint of "radio button". However, this doesn't seem to happen on iOS. As it is, iOS users have no way to know the elements are radio buttons (and not checkboxes).
repro case:
import 'package:mobile.flutter.google_material.components/google_material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'radio issue repro',
      theme: GoogleMaterial.theme(),
      home: Scaffold(
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Radio(),
            RadioListTile(
              title: Text('item 1'),
            ),
            RadioListTile(
              title: Text('item 2'),
            ),
          ],
        ),
      ),
    );
  }
}

on Android, the first RadioListTile is announced as "checked, item 1, radio button, disabled"
on iOS, that same RadioListTile is announced as "selected, item 1, dim"

it's announce Item 1,  switch button, on not as s "selected, item 1, dim"

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-7.1.pre, on Mac OS X 10.15.6 19G73, locale
    en-GB)
    • Flutter version 1.20.0-7.1.pre at /Users/taha/Code/flutter_dev
    • Framework revision 7736f3bc90 (6 days ago), 2020-07-10 16:33:05 -0700
    • Engine revision d48085141c
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version
    30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google
      Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (5 available)
    • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64  •
      Android 10 (API 29)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            •
      iOS 13.6
    • macOS (desktop)        • macos                     • darwin-x64     •
      Mac OS X 10.15.6 19G73
    • Web Server (web)       • web-server                • web-javascript •
      Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 83.0.4103.116

• No issues found!

Reproducible on the latest versions of stable and master.

recording(audio will need to be turned on)
https://user-images.githubusercontent.com/88313112/197183630-76f2b5e2-2d53-4123-888b-948cd801ba2b.MP4

code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'radio issue repro',
      home: Scaffold(
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Radio(
              value: "radioOneValue",
              groupValue: "groupOne",
              onChanged: (val) {},
            ),
            RadioListTile(
              title: const Text('item 1'),
              value: "item1",
              onChanged: (val) {},
              groupValue: "groupTwo",
            ),
            RadioListTile(
              title: const Text('item 2'),
              groupValue: "groupTwo",
              onChanged: (val) {},
              value: "item2",
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.5, on macOS 12.6 21G115 darwin-arm, locale en-GB)
    • Flutter version 3.3.5 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d9111f6402 (2 days ago), 2022-10-19 12:27:13 -0700
    • Engine revision 3ad69d7be3
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • Nexus (mobile)         • 00008020-001875E83A38002E            • ios            • iOS 16.0.2 20A380
    • iPhone 14 Pro (mobile) • 4302007A-B132-4B89-887A-C5993FCA3284 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 106.0.5249.119
    ! Error: Nexus is busy: Fetching debug symbols for Nexus. Xcode will continue when Nexus is finished. (code -10)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.5.0-10.0.pre.17, on macOS 12.6 21G115 darwin-arm64, locale en-GB)
    • Flutter version 3.5.0-10.0.pre.17 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 59d26c481a (11 hours ago), 2022-10-20 20:05:08 -0400
    • Engine revision f24ea1a04d
    • Dart version 2.19.0 (build 2.19.0-324.0.dev)
    • DevTools version 2.18.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • Nexus (mobile)         • 00008020-001875E83A38002E            • ios            • iOS 16.0.2 20A380
    • iPhone 14 Pro (mobile) • 4302007A-B132-4B89-887A-C5993FCA3284 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

Marking as P2 because b/276298238 has been marked as P1.

cc @hangyujin

I don't think there is a radio button equivalent in objective c iOS, they only has RadioButton in swiftUI, and it would be treated as button.
Right now the Radio/RadioListTile is announced as switch button, The fix will then be making it a button instead.

I don't believe this fix was correct. The change completely removes all contextual information about the selection state. Per https://developer.apple.com/forums/thread/716960, radio buttons should still include the selection state at a minimum.

Internal bug b/279533883

Thanks for pointing this out, I wasn't able to find official guideline on radiobutton, as well as a native iOS equivalent. I will go ahead and test whether selected trait actually does anything to voiceover and adjust the semantics accordingly

just finished testing, it looks like we just need to assign the isSelected in the framework. The change is relatively simple.
filed an issue https://github.com/flutter/flutter/issues/125495


fix: Tracing logging with request logging

Proposed changes
Currently, http_request is lost when otel is add.
like this
{"level":"info","msg":"started handling request","otel":{"span_id":"00f067aa0ba902b7","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736"},"span_id":"00f067aa0ba902b7","time":"2020-06-11T09:51:23+09:00","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736"}
{"audience":"application","error":{"message":"invalid_request","reason":"The POST body can not be empty.","status":"Bad Request","status_code":400},"level":"error","msg":"An error occurred","otel":{"span_id":"00f067aa0ba902b7","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736"},"service_name":"","service_version":"","span_id":"00f067aa0ba902b7","time":"2020-06-11T09:51:23+09:00","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736"}
{"http_response":{"status":400,"text_status":"Bad Request","took":299050},"level":"info","msg":"completed handling request","otel":{"span_id":"00f067aa0ba902b7","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736"},"span_id":"00f067aa0ba902b7","time":"2020-06-11T09:51:23+09:00","trace_id":"4bf92f3577b34da6a3ce929d0e0e4736"}

So I fixed it.
Checklist

[x] I have read the contributing guidelines
[x] I have read the security policy
[x] I confirm that this pull request does not address a security
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got green light (please contact
<EMAIL_ADDRESS>from the maintainers to push
the changes.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation within the code base (if appropriate)

Thank you!


LegacyIAccessiblePattern for DataGrids

I'm new to github.com and FlaUI.  This is not an issue, but just a question.  I am trying to obtain the LegacyIAccessible State value for the rows in a DataGridView table in C#.
I was using the UIAComWrapper to retrieve the LegacyIAccessible State value to determine which row was selected.  And it worked perfectly, until now.  I'm not sure what happened, but it now returns a state value of 0 for all rows while Inspect.exe shows that the value is definitely not zero.  According to Inspect, the DGV I'm looking at has no pattern available (nor does not have support for any pattern) except IsLegacyIAccessiblePatternAvailable.
I know this isn't much information, but would FlaUI be a possible solution for me to use to obtain those values accurately and more consistently?  If more info is needed, I'll do my best to provide answers.  Thanks.

Hi
First: Is is possible to provide the application you try to test? If not, can you provide some screenshots showing the datagridview / cells in any of the inspect tools?
Thanks

Attached are the Inspect.exe screenshots for the DGV, it's Rows, and the cells in each row.  I've actually coded a work around, although not very efficient.  Since only the LegacyAccessible.State value was incorrect, I decided to capture the LegacyAccessible.Value of each row before and after a row is added.  Luckily for me, every time a row is added to the DGV, it is automatically selected, so I am able to determine which row is selected simply by comparing the before and after.  But I still would like to know why UIAComWrapper reports the State value as 0, and for one or two of the rows are an int value of around 94834 (I think).

But there's even a bigger problem I'm facing now where I can't even get to an element towards the end of my script.  When I keep running FindFirst, it returns null when I know it's loaded on the UI and Inspect can see it.  I am able to find the element when I execute that code in the beginning of my script 100% of the time, but after part of my script is executed, it seems to no longer be able find it.  And immediately after I stop the debugger, Inspect.exe finds it easily.  I've tried UIAutomationClient COM library, UIAComWrapper,
IUIAutomationElementArray array = element.FindAll(UIAutomationClient.TreeScope.TreeScope_Descendants, automation.CreateTrueCondition()),
IUIAutomationElement elementWalker = automation.RawViewWalker.GetFirstChildElement(element);
.NET UIAutomationClient has never been able to see it.  But this may be an issue for another time/place.

I used the UIClientAutomation.dll in the COM library and it seems to work now.  I'm not 100% sure if it's because I'm using a different .dll reference now, or if it's because I'm performing the validation of the LegacyIAccessible state in a different class library that I've created.
I only say that because the other problem that I faced, where I couldn't find an automation element via code, but it appeared in Inspect.exe.  I'm not sure why, but it seems like it couldn't find it when I performed automation element searches within the same class library.  Moving all automation element searches to their own library allowed me to find that specific element.
I did find the article below that seems to make automation elements pretty delicate to use and could cause some problems.  For now, I'm just going to use the different class library.  If any other difficult problems occur, I'll try executing my searches on different threads.
https://docs.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-threading-issues


refactor: attempt to remove request

So upon a closer look...  the test this is changing appears to be of little value.  It's entirely possible I don't understand why this is doing what, but check this out, and read closely:

describe('Error Reporting API', () => {
  [
    {
      name: 'when a valid API key is given',
      getKey: () => env.apiKey,
      message: 'Message cannot be empty.',
      statusCode: 400,
    },
    {
      name: 'when an empty API key is given',
      getKey: () => '',
      message: 'The request is missing a valid API key.',
      // TODO: Determine if 403 is the correct expected status code.
      //       Prior to the code migration, the expected status code
      //       was 400.  However, the service is now reporting 403.
      statusCode: 403,
    },
    {
      name: 'when an invalid API key is given',
      getKey: () => env.apiKey.slice(1) + env.apiKey[0],
      message: 'API key not valid. Please pass a valid API key.',
      statusCode: 400,
    },
  ].forEach(testCase => {
    it(`should return an expected message ${
      testCase.name
    }`, function(this, done) {
      this.timeout(60000);
      const API = 'https://clouderrorreporting.googleapis.com/v1beta1';
      const key = testCase.getKey();
      teenyRequest(
        {
          method: 'POST',
          url: `${API}/projects/${env.projectId}/events:report?key=${key}`,
          json: {},
        },
        (err, response, body) => {
          assert.ok(!err && body.error);
          assert.strictEqual(response.statusCode, testCase.statusCode);
          assert.strictEqual(body.error.message, testCase.message);
          done();
        }
      );
    });
  });
});

How is this doing anything but testing the backend API?  It doesn't even look like it uses the client library?

I agree it looks like it is just verifying that the service is returning the correct messages and codes in certain error conditions.  @ofrobots is there a reason why we are doing this check?  It doesn't use the library directly, but it is good to have tests that make sure the API is returning status codes that are expected.

I don't remember the reason. I'm okay with deleting the test.


Modify links in readme

Since the readme is included in the documentation generated by Jazzy, we want the links in the readme to be valid from the Jazzy documentation.
Unfortunately, links with a relative path (e.g. Documentation/Quickstart.md) are not updated by Jazzy to point to the proper location. As a result, we should replace relative links with absolute links.

Fixed with 123e051c732bc233d9e4e3bf1261a8b6d4f46755


linting for jsx files

Did the manual regression testing, everything checks out.

:heart: This is great.

@krl @travisperson what sort of testing should we put in place for the webui?


Make rrc_textinput on Android a shared library

Summary:
Making rrc_textinput allows other libraries (namely react-native-live-markdown) to rely on types related to text inputs on Android. Currently, with static linking, type information is duplicated causing dynamic_casts to fail.
Changelog:
[ANDROID] [CHANGED] - Change rrc_textinput to be a dynamic library
Test Plan:
Run RNTester and see that everything works as before

@j-piasecki I think we won't be merging this as we're going in the opposite direction of having a single libreactnative.so library.


[Bug]

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
On Windows 11 (at least in the preview release), it will not let me share the screen with audio working, it says I must go back to Windows 10 for it to work. When it works fine on normal Discord Canary.
Expected Behavior
I expected for it to work after a while but I understand I'm on a early version of Windows 11
Steps To Reproduce

Just run BetterDiscord
Connect to a VC
Click "Share Screen"
Under the screen or window being shared, it'll say: "Audio sharing may not work on your Windows version. Please upgrade to the latest Windows 10."

Operating System
Windows
Discord Version
Canary
BetterDiscord Version
v1.3.0
Anything else?
BD Screenshot of sharing screen.

Discord Canary screenshot of the same thing.

Is this an issue only while BetterDiscord is installed? If not, then it's a Discord issue.

It is indeed, however it works like normal on Canary.
On Mon, Aug 21, 2023, 18:47 voidloops @.***> wrote:

Is this an issue only while BetterDiscord is installed? If not, then it's
a Discord issue.
—
Reply to this email directly, view it on GitHub
https://github.com/BetterDiscord/BetterDiscord/issues/1659#issuecomment-1687163414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUV2OJ65GE6VVTTXQ4VJYLXWPQRXANCNFSM6AAAAAA3ZA362E
.
You are receiving this because you authored the thread.Message ID:
@.***>

So you've tried Canary both with BD installed and uninstalled? Or is this BD installed on Stable vs normal Canary?

both canary, just installed vs uninstalled BD
On Mon, Aug 21, 2023 at 8:11 PM Zerebos @.***> wrote:

So you've tried Canary both with BD installed and uninstalled? Or is this
BD installed on Stable vs normal Canary?
—
Reply to this email directly, view it on GitHub
https://github.com/BetterDiscord/BetterDiscord/issues/1659#issuecomment-1687226187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUV2ONT5XZNFYLWG2SF5DDXWP2MTANCNFSM6AAAAAA3ZA362E
.
You are receiving this because you authored the thread.Message ID:
@.***>

since this is an old bug, i think it was just compatibility issues. older versions of bd can bug out on newer versions of discord. especially since soul was on 1.3.0 and the latest update at that time was 1.9.3

@S0ULL355 If you still experience this with latest version of Discord and BetterDiscord let me know.


CTS segfault

Discovered while testing #4607, but happens on latest master.
To reproduce:

untar cts_L1MetadataArray_asap7_test_2024-02-07_08-32.tar.gz
./run-me-L1MetadataArray-asap7-test.sh

Output:
OpenROAD v2.0-12118-gaae607e89
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
clock_tree_synthesis -sink_clustering_enable -balance_levels -distance_between_buffers 60
[INFO CTS-0050] Root buffer is BUFx24_ASAP7_75t_R.
[INFO CTS-0051] Sink buffer is BUFx24_ASAP7_75t_R.
[INFO CTS-0052] The following clock buffers will be used for CTS:
                    BUFx24_ASAP7_75t_R
[INFO CTS-0049] Characterization buffer is BUFx24_ASAP7_75t_R.
[INFO CTS-0007] Net "clock" found for clock "clock".
Signal 11 received
Stack trace:
 0# 0x0000562ECFC293F3 in openroad
 1# 0x00007F0A69242990 in /lib/x86_64-linux-gnu/libc.so.6
 2# sta::ConcreteCell::findPort(char const*) const in openroad
 3# cts::TritonCTS::separateMacroRegSinks(odb::dbNet*&, cts::Clock&, std::unordered_set<odb::dbMaster*, std::hash<odb::dbMaster*>, std::equal_to<odb::dbMaster*>, std::allocator<odb::dbMaster*> > const&, std::vector<std::pair<odb::dbInst*, odb::dbMTerm*>, std::allocator<std::pair<odb::dbInst*, odb::dbMTerm*> > >&, std::vector<std::pair<odb::dbInst*, odb::dbMTerm*>, std::allocator<std::pair<odb::dbInst*, odb::dbMTerm*> > >&) in openroad
 4# cts::TritonCTS::initClockTreeForMacrosAndRegs(odb::dbNet*&, std::unordered_set<odb::dbMaster*, std::hash<odb::dbMaster*>, std::equal_to<odb::dbMaster*>, std::allocator<odb::dbMaster*> > const&, cts::Clock&, cts::TreeBuilder*) in openroad
 5# cts::TritonCTS::initClock(odb::dbNet*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cts::TreeBuilder*) in openroad
 6# cts::TritonCTS::initOneClockTree(odb::dbNet*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cts::TreeBuilder*) in openroad
 7# cts::TritonCTS::populateTritonCTS() in openroad
 8# cts::TritonCTS::runTritonCts() in openroad
 9# 0x0000562ED02D1F39 in openroad
10# TclNRRunCallbacks in /lib/x86_64-linux-gnu/libtcl8.6.so
11# 0x00007F0A6DB08C43 in /lib/x86_64-linux-gnu/libtcl8.6.so
12# Tcl_EvalEx in /lib/x86_64-linux-gnu/libtcl8.6.so
13# Tcl_Eval in /lib/x86_64-linux-gnu/libtcl8.6.so
14# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in openroad
15# ord::tclAppInit(Tcl_Interp*) in openroad
16# Tcl_MainEx in /lib/x86_64-linux-gnu/libtcl8.6.so
17# main in openroad
18# 0x00007F0A69228150 in /lib/x86_64-linux-gnu/libc.so.6
19# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
20# _start in openroad
./run-me-L1MetadataArray-asap7-test.sh: line 7: 910602 Segmentation fault      (core dumped) openroad -no_init ${SCRIPTS_DIR}/cts.tcl

@precisionmoon FYI, #4607 is not needed to reproduce this problem.

@oharboe, thanks much for bringing this to my attention.   You are correct.  The issue is not related to the new insertion delay enhancement.   Some APIs need to be bullet proofed.  The fix has been checked into https://github.com/The-OpenROAD-Project/OpenROAD/pull/4607.

I'm closing this since PR #4607 has been merged.


support for extra class annotations

When other class annotations (such as @SerialVersionUID) are required, the macro can't work: "Annotation is only supported on case class"

We can use match resolve it, like this:
      val (className, fields) = classDecl match {
        case q"$mods class $className(..$fields) extends ..$bases { ..$body }" =>
          if (!mods.asInstanceOf[Modifiers].hasFlag(Flag.CASE)) {
            c.abort(c.enclosingPosition, s"Annotation is only supported on case class. classDef: $classDecl, mods: $mods")
          } else {
            (className, fields)
          }
        case _ => c.abort(c.enclosingPosition, s"Annotation is only supported on case class. classDef: $classDecl")
      }


MERN features

Description 📜
Fixes #1093
Includes the following content:

What are Components and of how many type ?
Class Component, how to create one and its class properties
Functional Components, how to create one and its advantages over class components
Converting a function to class
Introduction to hooks and what they offer
Data Fetching using the Fetch API through useEffect() hook for functional component
Data Fetching using the Axios API through componentDidMount() method for class components
External References

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] MERN

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Hey @saloni-15 I have made the changes, Kindly review them.

Hey @GyaniRoman23 it looks great but from next time please do not add additional topics there is separate issue for fetching data

Sure. Actually I was unsure about a few topics as they were somehow linked up to one another, so I asked @v-rohan for it, but I didn't got any reply so following my intuition I included a few topics in brief. But from next time, I will surely adhere to the given instructions.

Hey @GyaniRoman23 it looks great but from next time please do not add additional topics there is separate issue for fetching data

Sure. Actually I was unsure about a few topics as they were somehow linked up to one another, so I asked @v-rohan for it, but I didn't got any reply so following my intuition I included a few topics in brief. But from next time, I will surely adhere to the given instructions.

Ohk cool! And it is a really great PR. Content is nicely written ✨


Angles in camPosList

Hello, can you tell me, how to calculate the real angles value from camPosList.txt? And  where the reference point is located?
Greetings

@Olkaaaaaa12 I'm not sure if I understand what you mean by "real angle value". With respect to what do you want to calculate angles? The cameras are all looking at the point (0, 0, 0) and each row in camPosList.txt belogs to a position where each camera is located on in 3D space. In fact, the cameras are located on vertices of a dodecahedron, if that helps.

I want to use only depthReconstruction code so I need to know how I should generate dataset for it. And in camPosList is the list of angles but they are transformed and I have to know what are the real angles value in degrees or radians. Thank you

@Olkaaaaaa12 I think you should look at the rendering code in  	zip-depth_render_reconstruction.zip


Revert "Add vespa program to vespa-clients RPM"

Reverts vespa-engine/vespa#20069
RPM building failed:
07:56:07 Processing files: vespa-7.504.2-1.el8.x86_64
07:56:07 error: Missing build-id in /vespa/vespa-rpmbuild/BUILDROOT/vespa-7.504.2-1.el8.x86_64/opt/vespa/bin/vespa
07:56:07 error: Generating build-id links failed
07:56:07
07:56:07
07:56:07 RPM build errors:
07:56:07     Missing build-id in /vespa/vespa-rpmbuild/BUILDROOT/vespa-7.504.2-1.el8.x86_64/opt/vespa/bin/vespa
07:56:07     Generating build-id links failed

Apparently this comes from RPM verifying the binaries contains a GNU build-id, which a go binary do not have by default (they make their own build-id).  https://github.com/rpm-software-management/rpm/issues/367 contains a discussion of this issue.
The alternatives I see are:
A. Specify -ldflags=-linkmode=external with the go build command.
B. Disable build-id checking for vespa-clients RPM with %global _missing_build_ids_terminate_build 0

I think B is ok.

Alright, implemented in #20077 .


FLUENT: White Play button

**Describe the bug
White Play button using Fluent skin
To Reproduce
Steps to reproduce the behavior:

Open spotify
See the play button is white

Screenshots

Specifics:

OS: Windows 10 21H1 / 19043.1266
Spotify version: <IP_ADDRESS>2.gb7409abc
Spicetify version: 2.7
Theme name: Fluent (Latest Version)

I even cleared backup, redownloaded the theme file, etc. Same issue**

Where can I find these logs?
@williamckha

same issue here, only using fluent and the hide-podcasts

Is this still happening @Krappa420 ?


Receiving 'Datasource was invalidated' notification

Discussed in https://github.com/dbeaver/dbeaver/discussions/15936

Originally posted by alanneese March  1, 2022

System information:

Windows 10
DBeaver <IP_ADDRESS>202200327

Connection specification:

Database name : jhj7bqbh_menudb
Driver name : MySQL 5
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
I keep getting the notification from DBeaver 'Datasource was invalidated'  Live connection count: 2/2
Steps to reproduce, if exist:
Just access my database and run a query.
Include any warning/errors/backtraces from the logs

eclipse.buildId=unknown
java.version=11.0.12
java.vendor=Eclipse Foundation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64
org.jkiss.dbeaver.model
Error
Tue Mar 01 15:11:21 CST 2022
Cannot determine transaction isolation level due to connection hanging. Setting to NONE.

@alanneese could you provide a video with the issue? is it reproducible against 22.0.2?

There has been no update on the issue for a long time.  If it is still reproducible - feel free to reopen it

Please click on this link https://screenrec.com/share/ZY9Vuq5F0g.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Wed, Apr 6, 2022 at 2:01 AM Dziyana @.***> wrote:

@alanneese https://github.com/alanneese could you provide a video with
the issue? is it reproducible against 22.0.2?
—
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/16092#issuecomment-1089895134,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALRGRYB5PZA2JLUIKWXTTTVDUZDLANCNFSM5SUDUO2Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Customization of git describe match pattern

Hi,
I build several applications from the same git repo. All applications must be versioned independently, but still by using git tags.
Currently, the app-versioning plugin only allows processing the latest git tag, which wouldn't work in my setup.
Is there a possibility that users of the plugin could get a hook into the parameters for git describe? Specifically, providing the --match  glob pattern.
Being able to add a match pattern would allow me to single-out the relevant application-specific git tag.
I know this is probably a niche use case, but I see that the support is almost there. GitClient offers the functionality already:
    fun describeLatestTag(pattern: String? = null): String? {
        val command = buildList {
            add("git")
            add("describe")
            if (pattern != null) {
                add("--match")
                add(pattern)
            }
            add("--tags")
            add("--long")
        }
        return runCatching { command.execute(projectDir) }.getOrNull()
    }

but describeLatestTag is currently invoked without args.

Tag matching is something I explored a little bit but decided to hold until I come across some real use cases. This is a great use case!
In the original version I was using the --match pattern to find the latest tag that looks like a SemVer, but that was insufficient as I needed a fully SemVer compliant tag to extract the components, or force user to use overrideVersionCode to compute versionCode if the tag isn't SemVer.
I can explore adding the match pattern to the plugin configuration which seems to be a reasonable way to opt-in to the custom tag filtering behavior.
BTW can you share how you define different tags for multiple applications? in other words what --match pattern would you use to find the tag for one application?
Another use case I can imagine is having a single application module with multiple product flavors to build multiple applications, in which case the plugin is only applied once and so we need a way to specify different match pattern based on the build variant.
appVersioning {
  overrideVersionCode { gitTag, providers ->
    ...
  }
  tagFilter { variantName ->
    when (variantName) {
      "paidRelease" -> <pattern1>
      "freeRelease" -> <pattern2>
      ...
    }
  }
}

Any thoughts?

Appreciate the feedback.

BTW can you share how you define different tags for multiple applications? in other words what --match pattern would you use to find the tag for one application?

Still in early stages, but my current plan is to define a custom "app identifier" and let that be part of the semver build meta data section (https://semver.org/#spec-item-10).
So, something like: 1.5.7+<app identifier>.
Don't exactly know what to use as an app identifier yet, but ofc it has to be unique in the repo.. and immutable once declared :)
I guess a glob match pattern could be something like "[0-9].[0-9].[0-9]+" for that. Haven't tried yet, but something could like that.
Regarding the multiple flavors -> multiple applications:
I guess it depends on if you really need the flavors to be versioned and released independently. But yeah, something like what you propose on a per-variant basis could work I guess.
As an aside, I could see that accessing the current variant in the overrideVersion<Name|Code> lambda would be useful.
I have some rules around versionName based on the variant info. For example, if the variant is not a "production" flavor and "release" build type I add extra information to the versionName such as commit hash and commits-since-tag. If the variant is production release, all this information is not included and the versionName is plain major.minor.patch.

+1 for:

I can explore adding the match pattern to the plugin configuration which seems to be a reasonable way to opt-in to the custom tag filtering behavior.

btw :)

Thanks for the feedback. I've wanted to add build variant info to the overrideVersion<Code|Name lambdas for a while but kind of been waiting for someone else to propose it so I know there are actual use cases:)
I'll play with tag filtering in both your multiple app modules and the single app multiple flavor setups to see how it works in practice.
I may reach out at some point to get your feedback as I don't have many real projects to battle test the plugin for all the use cases it supports and the best I can do is simulate different ways of consuming the plugin in integration tests:)

No probs, happy to help out if I can.
Just reach out when/if you need some early feedback.
On Fri, Oct 30, 2020, 17:00 Yang<EMAIL_ADDRESS>wrote:

Thanks for the feedback. I've wanted to add build variant info to the
overrideVersion<Code|Name lambdas for a while but kind of been waiting
for someone else to propose it so I know there are actual use cases:)
I'll play with tag filtering in both your multiple app modules and the
single app multiple flavor setups to see how it works in practice.
I may reach out at some point to get your feedback as I don't have many
real projects to battle test the plugin for all the use cases it supports
and the best I can do is simulate different ways of consuming the plugin in
integration tests:)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ReactiveCircus/app-versioning/issues/6#issuecomment-719639719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJD7MOC7FARV6TX4RZMYDTSNLPI7ANCNFSM4TE7VT4A
.

@ychescale9 Do you need any help in getting this issue resolved?

I got most of the work done but have been procrastinating writing tests😅.
If you don't mind could you share some of your tag patterns you intend to use in your project so I can write some integration tests to make sure your cases are covered?
BTW this is all going to require AGP 4.0.0-beta01 or above. If there are major changes in AGP 7.0 we might drop support for AGP 4 at some point.
I'll prioritize this and hopefully land this before Christmas.

I guess it was my turn to procrastinate :)
The tag pattern we are using is:
<maj>.<min>.<patch>[-<pre-release version>]+<app identifier>
Examples of tags:
1.5.8+appA
2.29.0-RC01+testApp
10.87.9-alpha04+old-app

The basic git describe glob pattern I'm applying right now is ie:
git describe --match "[0-9]*.[0-9]*.[0-9]*+old-app"
But basically I'm just looking for filtering on the app identifier so this would be enough:
git describe --match "*+old-app"
Let me know if it helps out.


Error on save after on latest NeoVim

Getting this error when saving
Error detected while processing BufWritePost Autocommands for "<buffer=1>":
E5108: Error executing lua vim/shared.lua:0: attempt to index a boolean value
stack traceback:
        vim/shared.lua: in function 'tbl_get'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1214: in function 'fn'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:164: in function 'for_each_buffer_client'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1211: in function '_text_document_did_save_handler'
        [string ":lua"]:1: in main chunk

after updating NeoVim to a recent commit which includes the changes introduced in this PR: https://github.com/neovim/neovim/pull/18193.
My setup looks like this:
  local null_ls = require("null-ls")
  local eslint = require("eslint")

  null_ls.setup()

  eslint.setup({
    bin = 'eslint_d', -- `eslint` or `eslint_d` (eslint_d uses a global binary and is faster)
    code_actions = {
      enable = true,
      apply_on_save = {
        enable = false,
        types = { "problem", "suggestion" }, -- "directive", "problem", "suggestion", "layout"
      },
      disable_rule_comment = {
        enable = true,
        location = "separate_line", -- or `same_line`
      },
    },
    diagnostics = {
      enable = true,
      report_unused_disable_directives = false,
      run_on = "save", -- or `save`
    },
  })

Sorry for the looong delay. I think it got fixed with https://github.com/MunifTanjim/eslint.nvim/pull/3

Let's re-open if the issue still exists.


Additional input to the network mid-way (e.g. after conv. layers)

I'd like to extend the CNN-LSTM example to include additional information that should be passed through the CNN, but added directly to the LSTM alongside the features extracted with the CNN. How would I do that?
I imagine that is relevant in many use cases as there's often interesting metadata associated with images or text. For instance, I have a case similar to the CNN-LSTM text example, where I also have the time of day, geographical location and other information related to the text being examined. The dimensions of the added metadata to the LSTM is only ~10 with some features being one-hot encoded and others being continuous.

I've found that this can be done with the Graph model. Thanks for such a useful library!

To anyone interested - this is how it can be done using the Sequential model:

'''Train a recurrent convolutional network on the IMDB sentiment
classification task.

GPU command:
    THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python imdb_lstm.py

Get to 0.8498 test accuracy after 2 epochs. 41s/epoch on K520 GPU.
'''

from __future__ import print_function
import numpy as np
np.random.seed(1337)  # for reproducibility

from keras.preprocessing import sequence
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, Merge
from keras.layers.embeddings import Embedding
from keras.layers.recurrent import LSTM, GRU, SimpleRNN
from keras.layers.convolutional import Convolution1D, MaxPooling1D
from keras.datasets import imdb

# Embedding
max_features = 20000
maxlen = 100
embedding_size = 128

# Convolution
filter_length = 3
nb_filter = 64
pool_length = 2

# LSTM
lstm_output_size = 70

# Training
batch_size = 30
nb_epoch = 2

'''
Note:
batch_size is highly sensitive.
Only 2 epochs are needed as the dataset is very small.
'''

print('Loading data...')
(X_train, y_train), (X_test, y_test) = imdb.load_data(nb_words=max_features, test_split=0.2)

print(len(X_train), 'train sequences')
print(len(X_test), 'test sequences')

print('Pad sequences (samples x time)')
X_train = sequence.pad_sequences(X_train, maxlen=maxlen)
X_test = sequence.pad_sequences(X_test, maxlen=maxlen)
print('X_train shape:', X_train.shape)
print('X_test shape:', X_test.shape)

X_train_ex = np.hstack((np.zeros(shape=(20000, 40, 3)), np.ones(shape=(20000, 9, 3))))
print(X_train_ex.shape)
X_test_ex = X_train_ex[0:5000, :, :]
print('Build model...')

model = Sequential()

convnet = Sequential()
convnet.add(Embedding(max_features, embedding_size, input_length=maxlen))
convnet.add(Dropout(0.25))
convnet.add(Convolution1D(nb_filter=nb_filter,
                        filter_length=filter_length,
                        border_mode='valid',
                        activation='relu',
                        subsample_length=1))
convnet.add(MaxPooling1D(pool_length=pool_length))
print(convnet.output_shape)

extra = Sequential()
extra.add(Activation('linear', input_shape=(49,3)))
print(extra.output_shape)

model.add(Merge([convnet, extra], mode='concat', concat_axis=2))
print(model.output_shape)

model.add(LSTM(lstm_output_size))
model.add(Dense(1))
model.add(Activation('sigmoid'))

model.compile(loss='binary_crossentropy',
              optimizer='adam',
              class_mode='binary')

print('Train...')
model.fit([X_train, X_train_ex], y_train, batch_size=batch_size, nb_epoch=nb_epoch,
          validation_data=([X_test, X_test_ex], y_test), show_accuracy=True)
score, acc = model.evaluate([X_test, X_test_ex], y_test, batch_size=batch_size,
                            show_accuracy=True)
print('Test score:', score)
print('Test accuracy:', acc)

@PiranjaF ，It‘s so cool.But i  dont understand why the value is 'concat_axis=2'? Does the concat_axis be set the -1 or 1? Do you expmain its mean,please. Thanks.

Has this been modified for the most latest version of keras?


runtime: SIGILL: illegal instruction

Hello, I use go 1.5.2 and trying to build x/crypto from master. I see the following:
[   67s] /usr/lib64/go/pkg/tool/linux_amd64/link -o $WORK/golang.org/x/crypto/pkcs12/internal/rc2/_test/rc2.test -L $WORK/golang.org/x/crypto/pkcs12/internal/rc2/_test -L $WORK -w -extld=gcc -buildmode=exe $WORK/golang.org/x/crypto/pkcs12/internal/rc2/_test/main.a
[   68s] SIGILL: illegal instruction
[   68s] PC=0x7ffd07d7ac99 m=5
[   68s]
[   68s] goroutine 0 [idle]:
[   68s]
[   68s] goroutine 3 [running]:
[   68s] runtime.systemstack_switch()
[   68s] 	/usr/lib64/go/src/runtime/asm_amd64.s:216 fp=0xc820028f58 sp=0xc820028f50
[   68s] runtime.gosweepone(0x1)
[   68s] 	/usr/lib64/go/src/runtime/mgcsweep.go:110 +0x3d fp=0xc820028f80 sp=0xc820028f58
[   68s] runtime.bgsweep(0xc820016070)
[   68s] 	/usr/lib64/go/src/runtime/mgcsweep.go:54 +0xb6 fp=0xc820028fb8 sp=0xc820028f80
[   68s] runtime.goexit()
[   68s] 	/usr/lib64/go/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc820028fc0 sp=0xc820028fb8
[   68s] created by runtime.gcenable
[   68s] 	/usr/lib64/go/src/runtime/mgc.go:206 +0x53
[   68s]
[   68s] goroutine 1 [chan receive]:
[   68s] testing.RunTests(0x5d41f8, 0x65e940, 0x3, 0x3, 0xc82000a701)
[   68s] 	/usr/lib64/go/src/testing/testing.go:562 +0x8ad
[   68s] testing.(*M).Run(0xc820047f08, 0xc82000a740)
[   68s] 	/usr/lib64/go/src/testing/testing.go:494 +0x70
[   68s] main.main()
[   68s] 	golang.org/x/crypto/cast5/_test/_testmain.go:58 +0x116
[   68s]
[   68s] goroutine 6 [runnable]:
[   68s] golang.org/x/crypto/cast5.(*Cipher).Encrypt(0xc82048c280, 0xc82000a840, 0x8, 0x10, 0xc82000a840, 0x8, 0x10)
[   68s] 	/home/abuild/rpmbuild/BUILD/go/src/golang.org/x/crypto/cast5/cast5.go:33
[   68s] golang.org/x/crypto/cast5.iterate(0xf4240, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
[   68s] 	/home/abuild/rpmbuild/BUILD/go/src/golang.org/x/crypto/cast5/cast5_test.go:84 +0x2b6
[   68s] golang.org/x/crypto/cast5.TestFull(0xc820096090)
[   68s] 	/home/abuild/rpmbuild/BUILD/go/src/golang.org/x/crypto/cast5/cast5_test.go:60 +0x69
[   68s] testing.tRunner(0xc820096090, 0x65e958)
[   68s] 	/usr/lib64/go/src/testing/testing.go:456 +0x98
[   68s] created by testing.RunTests
[   68s] 	/usr/lib64/go/src/testing/testing.go:561 +0x86d
[   68s]
[   68s] rax    0x3a
[   68s] rbx    0x1
[   68s] rcx    0x7f3134976d38
[   68s] rdx    0x2
[   68s] rdi    0x1
[   68s] rsi    0xc820065c40
[   68s] rbp    0xc820065c30
[   68s] rsp    0xc820065c00
[   68s] r8     0x668440
[   68s] r9     0x7f3134976d98
[   68s] r10    0x0
[   68s] r11    0x202
[   68s] r12    0x706a
[   68s] r13    0xc820065c0c
[   68s] r14    0x9d8b400000000
[   68s] r15    0x8
[   68s] rip    0x7ffd07d7ac99
[   68s] rflags 0x10246
[   68s] cs     0x33
[   68s] fs     0x0
[   68s] gs     0x0
[   68s] FAIL	golang.org/x/crypto/cast5	11.346s
[   68s] ok  	golang.org/x/crypto/curve25519	0.032s
[   68s] ok  	golang.org/x/crypto/hkdf	0.010s
[   68s] ok  	golang.org/x/crypto/md4	0.018s
[   68s] ok  	golang.org/x/crypto/nacl/box	0.027s
[   68s] ok  	golang.org/x/crypto/nacl/secretbox	0.022s
[   68s] ok  	golang.org/x/crypto/ocsp	0.049s
[   68s] ok  	golang.org/x/crypto/openpgp	1.752s
[   68s] ok  	golang.org/x/crypto/openpgp/armor	0.006s
[   68s] ok  	golang.org/x/crypto/openpgp/clearsign	0.099s
[   68s] ok  	golang.org/x/crypto/openpgp/elgamal	0.080s
[   68s] ?   	golang.org/x/crypto/openpgp/errors	[no test files]

Is this repeatable?  This looks like a crash in the runtime during GC.  The PC value is strange, though.  What processor are you using?

This issue is transient. CPU is
[   53s] processor	: 0
[   53s] vendor_id	: AuthenticAMD
[   53s] cpu family	: 16
[   53s] model		: 9
[   53s] model name	: AMD Opteron(tm) Processor 6180 SE
[   53s] stepping	: 1
[   53s] microcode	: 0x1000065
[   53s] cpu MHz		: 2499.853
[   53s] cache size	: 512 KB
[   53s] physical id	: 0
[   53s] siblings	: 1
[   53s] core id		: 0
[   53s] cpu cores	: 1
[   53s] apicid		: 0
[   53s] initial apicid	: 0
[   53s] fpu		: yes
[   53s] fpu_exception	: yes
[   53s] cpuid level	: 5
[   53s] wp		: yes
[   53s] flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 x2apic popcnt hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw npt nrip_save vmmcall
[   53s] bugs		: tlb_mmatch fxsave_leak sysret_ss_attrs
[   53s] bogomips	: 4999.70
[   53s] TLB size	: 1024 4K pages
[   53s] clflush size	: 64
[   53s] cache_alignment	: 64
[   53s] address sizes	: 42 bits physical, 48 bits virtual
[   53s] power management:

/cc @aclements
This reminds me of the mcall bug that led to this big comment, but that comment does not apply here:
// mcall switches from the g to the g0 stack and invokes fn(g),
// where g is the goroutine that made the call.
// mcall saves g's current PC/SP in g->sched so that it can be restored later.
// It is up to fn to arrange for that later execution, typically by recording
// g in a data structure, causing something to call ready(g) later.
// mcall returns to the original goroutine g later, when g has been rescheduled.
// fn must not return at all; typically it ends by calling schedule, to let the m
// run other goroutines.
//
// mcall can only be called from g stacks (not g0, not gsignal).
//
// This must NOT be go:noescape: if fn is a stack-allocated closure,
// fn puts g on a run queue, and g executes before fn returns, the
// closure will be invalidated while it is still executing.

Nonetheless, it seems like somehow systemstack has jumped to the wrong code, perhaps because the closure is corrupt. I wondered if maybe the stack was being shrunk but I don't see how that would be allowed before systemstack got a chance to do its jump.

@rsc, @matwey's other SIGILL report from gogo/protobuf#131 doesn't have a systemstack in it.
@matwey, since you've been able to reproduce this multiple times, could you post a few more failures? Then we can look for patterns.

I wouldn't say that I am able to reproduce this on demand, but when I will be see similar issue again I will attach the trace here.

Also please export GOTRACEBACK=system in your environment, which will give us more information if you can reproduce the problem again. Thanks.

@matwey, have you seen this recently (in particular, with a more recent Go than 1.5.2)?

I am planning to test with 1.6. But unfortunately, I can not retest right now. So, if you are concerned about open issue, please close this, I'll reopen when/if the issue appears with 1.6

@matwey, sounds good. Thanks for the update.


Package and classes error

Hi, If i clone the project in my local, project is fully error occurred. So what can i do?

Try running
gradle clean assembly eclipse and then re-import the project into Eclipse IDE


Review for AppRepository

Should we derive App as AppAssociate? In AppRepository we have:
public override async Task<App?> Create(App entity, CancellationToken cancellationToken = default)
{
    cancellationToken.ThrowIfCancellationRequested();

    var newSite = await base.Create(entity, cancellationToken);

    if (newSite == null)
        return null;

    newSite.AppId = newSite.Id;

    return await Update(newSite, cancellationToken);
}

Multi-app feature is removed


[WIP] Refactor cosigned to take advantage of duck typing.

With this change, the webhook can take advantage of duck typing to parse all of the "Pod Specable" types currently supported.
This also takes advantage of the knative.dev/pkg webhook infrastructure to reduce boilerplate and eliminate the need for cert-manager.
Lastly, this starts to sketch out some cosigned e2e tests to verify that things work.
Signed-off-by: Matt Moore<EMAIL_ADDRESS>

TODO list for myself:

[ ] Change the exclude label to an include label, and label the namespace for tests.
[ ] Add coverage for a PodSpecable in addition to Pod (given ./cmd/sample maybe Job?)
[ ] Split off the :nonroot base image as separate PR.
[ ] Split off the fulcioroot package split as separate PR.

Ok, added a Job test, and broke off: https://github.com/sigstore/cosign/pull/638 and https://github.com/sigstore/cosign/pull/639 (will rebase this when those merge)

Cc @hectorj2f FYI
This looks good to me, but let me know if you have any concerns

@mattmoor I will have another look and manually test these changes tomorrow.


rocAL - Install Path Errors

CMakeList errors for rocAL
FIX

Include files

DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mivisionx/rocAL)

Scripts

install(DIRECTORY FILES DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/mivisionx/rocAL)

@paveltc need to track this issue

Fixed on TOT


Create model for diabetics dataset

by using support vector machine. grid search and removing outliers 80% accuracy

nice

thank you. would you mind can you please mark my contribution as hacktoberfest participation.


Using '--orderby' and '--top' without' '--detail' in 'az acr repository show-tags'

Executing 'az acr repository show-tags -n MyRegistry --repository MyRepository --top 10 --orderby time_desc' (without the --detail flag) returns two warnings stating that the ordby and top flags are ignored when using them without the detail flag, yet the command still returns the top 10 tags ordered descending by time (if they're omitted all tags are shown unordered). I personally don't see a reason why the flags should only be used with --detail, therefor I suggest the warnings to be removed.

The change is breaking to existing users.
@tjprescott Do you folks have any recommendation, we would potentially remove the --detail options and make that output the default since its definitely the more useful command anyway.

If I understand correctly, @GHSimeon  is simply suggesting removing the warning in CLI since the things it warns won't work does work. That wouldn't be a breaking change unless I'm missing something.

Yes.
/cc @hkuadithya can you pick this up?

@sajayantony I'll create a task and start working on it. Thanks.

@GHSimeon Could you upgrade your CLI and try again?

@djyou Sorry for the late reply. I checked and the warnings aren't displayed anymore.
@hkuadithya I can't remember which version that was, sorry. Probably the latest one though as I was using the CLI from within the Azure CLI task in Azure Pipelines.
Thank you.

@GHSimeon @tjprescott Could we please this issue in that case.


New Feed

In case you're interested, I've resumed my honeypot operations recently.
You can find the feed of malicious SSH authentication attempts over at https://blocklists.0dave.ch/ssh.txt
The list is updated once per day and contains the previous day's data.

I am always interested. Will add it to the repo asap.


Fix Pass static analysis errors

Thank you, flutter_lints has been included and analysis warnings have been fixed.


Can't read devices, ZNDMWG03LM 1.4.6_0012

2020-09-11 17:40:00 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] Can't read devices: 'dev_list'
2020-09-11 17:40:00 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Try enable telnet
2020-09-11 17:40:00 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Read devices
2020-09-11 17:40:00 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] Can't read devices: 'dev_list'
2020-09-11 17:40:00 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Try enable telnet
2020-09-11 17:40:00 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Read devices
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] Can't read devices: 'dev_list'
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Try enable telnet
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Read devices
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] Can't read devices: 'dev_list'
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Try enable telnet
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] <IP_ADDRESS> | Read devices
2020-09-11 17:40:01 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.gateway3] Can't read devices: 'dev_list'

v0.2.4 - solved


chore(AnalyticsData): Delete old style files.

I think we should also copy files like these:
src/V1beta/resources/beta_analytics_data_descriptor_config.php
src/V1beta/resources/beta_analytics_data_rest_client_config.php
So I also changed the copy_excludes pattern.

Closing in favor of #4993


chore(master): release 1.1.261

:robot: I have created a release beep boop
1.1.261 (2023-11-28)
Miscellaneous

deps: update dependency vite to v5.0.3 (79d952d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.261 :sunflower:


descheduler should work with the same policy for scheduler

Scheduler calculate scores for each pod during binding with sheduler policy.
Maybe descheduler could use the same policy and calculate scores for each pod currently running, get the score for best node and current node, helping making the decision of deschedule by calculating diffrence of best score and current score.

/kind feature

This is an interesting idea, especially with the scheduler framework we should be able to get scores from the default scheduler plugins and consider those.
I think it would be nice if, perhaps part of a larger refactor, we used some kind of similar framework approach in the descheduler (as opposed to how it currently runs by just running the strategy functions in an abritrary order)

+1
A similar idea was mentioned in this comment ... https://github.com/kubernetes-sigs/descheduler/issues/184#issuecomment-557627594.
@damemi is SIG Scheduling going to move forward with moving kube-scheduler code to staging? It seems like this would make it easier to implement this feature.

@damemi is SIG Scheduling going to move forward with moving kube-scheduler code to staging?

I'll be pushing on this to make at least some progress for 1.19, yeah. There's also work being done to move the default plugins into their own repo https://github.com/kubernetes-sigs/scheduler-plugins
I think the descheduler might need its own design doc for how to implement a refactor like this. Wouldn't hurt at least

/remove-lifecycle stale

/remove-lifecycle stale

Currently blocking the upstream effort to move the scheduler plugin code to staging is this PR to initialize and external repo for helper functions: https://github.com/kubernetes/kubernetes/pull/92507

/remove-lifecycle stale

/remove-lifecycle stale

/reopen
/remove-lifecycle rotten


Idea: Add pre/post commands

I miss this from npm scripts =)
What is it was implemented like so?
// if pre
if(cmd['pre' + cmdName ]) {
 // if matching pre command exists run it
 cmd['pre' + cmdName ]()
}

// do normal command
cmd[cmdName ]()

// if post
if(cmd['post' + cmdName ]) {
 // if matching post command exists run it
 cmd['post' + cmdName ]()
}

One thing I'd be worried about is people would expect things to work the same way that normal lifecycle hooks work (like install). So someone may try to make a prepublish script expecting it to run when they run npm publish but it wouldn't. Any ideas of how to combat that?

Hmmmm perhaps for odd cases like that we console.log a warning if they have one of 'wierd' npm script commands.
warning 'commandXYZ' won't run like npm scripts. See issue [link to long npm github thread]
I can't remember which work not how you'd expect. I'm sure you do though =)

Hmmm, that could get really annoying. Let's just document it and let people do whatever you want. I'm good to accept a PR for this. The relevant code is here and here. I think that we should probably have an intermediary function that we call there which will look up the pre/post scripts for the given script. Here are a few variations of what should work I think:
{
  prefoo: 'echo prefoo', // thinking I'd be ok without this one...
  foo: 'echo foo',
  postfoo: 'echo postfoo', // and this one... I think if you want pre/post, make in an object with pre/post. Thoughts?
  bar: {
    pre: 'echo prebar',
    default: 'echo bar',
    post: 'echo postbar',
  },
  baz: {
    default: {
      pre: 'echo prebaz',
      script: 'echo baz',
      post: 'echo postbaz',
    },
    foobar: {
      pre: 'echo prefoobar',
      script: 'echo foobar',
      post: 'echo postfoobar',
    }
  }
}

@kentcdodds

I think if you want pre/post, make in an object with pre/post. Thoughts?

I agree
I want to sign up for this, but here is a change I wish to propose. Thoughts?
{
    prefoo: 'echo prefoo', // thinking I'd be ok without this one...
    foo: 'echo foo',
    postfoo: 'echo postfoo', // and this one... I think if you want pre/post, make in an object with pre/post. Thoughts?
    bar: {
      pre: 'echo prebar',
-     default: 'echo bar',
+     script: 'echo bar',
      post: 'echo postbar',
    },
    baz: {
      default: {
        pre: 'echo prebaz',
        script: 'echo baz',
        post: 'echo postbaz',
      },
      foobar: {
        pre: 'echo prefoobar',
        script: 'echo foobar',
        post: 'echo postfoobar',
      },
    },
  }

We've decided to not do this. See #83 for more info.


How to delete a single file from queue?

For example I'm uploading 10 files and want to remove 1 single file from queue.
Is that possible to remove a single file?

I join the question!!!


List every world templates keys existing in api-8

SpongeVanilla version: 1.16.4-8.0.0 (commit 3753b5e3630bb22f25402d1f8452f7eb8afb7ce2
Java version: 8
Operating System: Windows 10
Plugins: Cosmos

Hey!
Currently in the world manager of the api-8 we have no way to list every existing templates keys like we do for the world keys.
Would be nice to have a command like the following one :
List<ResourceKey> templateKeys();
For example:

Here my template key would be cosmos:need
This would be useful to load templates generated by another plugin for example.
Currently, if I'm not using the template directly after I generated it, I can't retrieve its key anymore with the api.
Thanks for reading this issue

Added: https://github.com/SpongePowered/Sponge/commit/a57b24dd57792c5dc649f2a28d4427fda1a11ac4


Access Violation on startup

With the update to version 1.4.64, if PoB is closed while window is on the non-primary monitor, PoB crashes with an access violation (see attached image)

Were you experiencing #336 before 1.4.64? If so, then we'll continue in there, as this is almost certainly related.

Nope, I have not experienced any of the issues outlined in #336.
I can provide more details of my pc setup tomorrow when I'm back at work, however iirc I have my main monitor using an ATI graphics card and second monitor using on-board intel graphics. PC is on Windows 10.
I have no issues moving or resizing PoB between monitors, the startup error only occurs if the application was closed on the second monitor.
Additionally removing the contents of Launch.cfg didn't help, but deleting Settings.xml did seem to fix the issue (e.g. close PoB > delete Settings.xml > open PoB > same AV > open PoB again > opens without any problems)

That is quite unusual. As far as I can tell, the crash is occurring within your graphics driver during OpenGL initialisation; I have no idea why, though, and the only thing I can really suggest at the moment is updating your drivers.

I'm having exactly the same issue. I tried upgrade my drivers but it didn't solve it.


add some badges to README

Description
add badges to the top of readme.md file, since the badges will be colorful and more attractive at the top of README.md file than the text the users will like it and after linking the badges it will also help them to navigate to different sections/ webpages like PRs, issues, contributors, etc.

Solution
I will add some badges and also will add links related to them to the top so that the README.md file will look more interactive and awesome.
Working under/as

[x] LGMSOC
[ ] Contributor

@kashish-ag should I make these changes??

Sure Umesh.

Can I work on this also can there be multiple badges ?


AJAX Image loading

Hey,
this plugin is amazing! Is it possible to add photos with AJAX to reduce load times? My Scenario is a photographer site with many photos (50+).
Thanks, Jannis

Hi JLeifeld, thanks! Glad you liked it. At this point I'm not considering implementing this kind of functionality because I think it's better to keep it as a simpler plugin aimed to more low level implementations, so more higher level implementations with complex features like the one you suggested can be implemented by other developers by creating parallel projects, not by adding this functionalities to this plugin.
For example, is should be relatively simple to keep adding more items programmatically via javascript to the mosaic (for example, as a result of an ajax query, as you suggested), and then call the "fit" method on the plugin to make it appear correctly placed on the mosaic.
You can add new items to the mosaic DIV programmatically by doing something like:
$('#mosaic').append('');
And then, ask the plugin to refit all the items again by doing:
$('#mosaic').Mosaic('fit');
That should work.
Thanks!


Preview audio only without streaming

Is there any way to run the audio process (including custom audio processors) but without actually starting the stream?
I would like to be able to process the audio and pass some analysis to the UI before I start to stream or record.

Hello,
Microphone is only opened when you startStream/startRecord so you can create your own microphone meanwhile and stop it before startStream/startRecord.
    MicrophoneManager microphoneManager = new MicrophoneManager(new GetMicrophoneData() {
      @Override
      public void inputPCMData(Frame frame) {

      }
    });
    microphoneManager.setCustomAudioEffect(new CustomAudioEffect() {
      @Override
      public byte[] process(byte[] pcmBuffer) {
        return pcmBuffer;
      }
    });
    //create microphone with parameters (equivalent to prepareAudio)
    microphoneManager.createMicrophone();
    //start microphone and you can receive buffers
    microphoneManager.start();
    //stop microphone before prepareAudio to avoid problems with library microphone instance.
    //the idea is call prepareAudio and startStream after stop this instance because only 1 MicrophoneManger at time is available.
    microphoneManager.stop();

Thank you!
Issue closed, you can open other issue if you have any problem