Invitation Codes

Invitation Codes
:recycle: Current situation & Problem
There is a new collection in Firestore called invitation code bucket called invitationCodes. During onboarding, we sign the user in anonymously so we can check if they have a valid code. If they do, we assign that code to their new de-anonymized account and remove it from invitationCodes so it cannot be used again. Some kind of verification step like this hedges against spam and unapproved use.
:gear: Release Notes

Adds an authentication step to onboarding whereby the user confirms against valid Firebase invitation codes that they are enrolled in the study.

:books: Documentation
See Firebase documentation.
:white_check_mark: Testing
TBD.
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

@MatthewTurk247 Looks like some of the REUSE checks are still failing, you will most likely need to add <...>.license files for the remaining files: https://github.com/StanfordBDHG/PediatricAppleWatchStudy/actions/runs/8422279017/job/23061206134?pr=54#step:4:7

@MatthewTurk247 This release should unblock your issue thanks to @Supereg: https://github.com/StanfordSpezi/SpeziFirebase/releases/tag/1.1.0

@PSchmiedmayer, the onboarding flow is almost there, but a failed account operation error still shows up, even though linking appears to work just fine in Firebase emulator now. And if I tap the sign-up button again, the error message says that the account already exists. I have a feeling that one or two lines of code might be missing somewhere, or something needs to be removed, but I cannot quite put a finger on it.


Ci/workflows

Pull Request Test Coverage Report for Build 433837388

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.214%

Totals

Change from base Build 420856172:
0.0%

Covered Lines:
51

Relevant Lines:
51

💛  - Coveralls


Why does this not have pricing for windows instances

As we all know, windows instances have different pricing, is there any reason why windows instances pricing is not available here?

Hi NyamLZ,
We primarily use this service to support our other projects so the information we expose through the cloudinfo service is driven by the requirements of those projects.
(You can read more on this here)
While there are quite a lot of enhancements on our roadmap the timing and releasing of these depend on the other projects.
If your use case requires additional information we are always open for PR's. Thanks.


file_fdw extension

Hello,
I would like to use file_fdw extension in pipelinedb. Is there any easy way to install it without manually building whole base from source? I am using Ubuntu 16.04 vm.

Hi @backend-baron!

I would like to use file_fdw extension in pipelinedb. Is there any easy way to install it without manually building whole base from source? I am using Ubuntu 16.04 vm.

You just need to build the file_fdw extension against an existing PipelineDB installation--you don't need to build all of PipelineDB. With PipelineDB installed on your system and the binary directory on your $PATH, you should be able to just do this within the file_fdw directory:
make
make install

You may need to manually specify the pg_config path, which extensions need to know about:
make PG_CONFIG=/path/to/pipelinedb/bin/pg_config
make PG_CONFIG=/path/to/pipelinedb/bin/pg_config install
Please let us know if you have any issues building/using file_fdw!

Hi,
Unfortunately when I run make from file_fdw directory I get error about Makefile.global and contrib-global.mk files missing. From what I understand I can set those paths manually in Makefile but I can't see any Makefile.global in src directory.

@backend-baron that is most likely because pg_config isn't being found. What output do you see when you run the pg_config command?

BINDIR = /usr/lib/pipelinedb/bin
DOCDIR = /usr/lib/pipelinedb/share/doc/pipelinedb
HTMLDIR = /usr/lib/pipelinedb/share/doc/pipelinedb
INCLUDEDIR = /usr/lib/pipelinedb/include
PKGINCLUDEDIR = /usr/lib/pipelinedb/include/pipelinedb
INCLUDEDIR-SERVER = /usr/lib/pipelinedb/include/pipelinedb/server
LIBDIR = /usr/lib/pipelinedb/lib
PKGLIBDIR = /usr/lib/pipelinedb/lib/pipelinedb
LOCALEDIR = /usr/lib/pipelinedb/share/locale
MANDIR = /usr/lib/pipelinedb/share/man
SHAREDIR = /usr/lib/pipelinedb/share/pipelinedb
SYSCONFDIR = /usr/lib/pipelinedb/etc/pipelinedb
PGXS = /usr/lib/pipelinedb/lib/pipelinedb/pgxs/src/makefiles/pgxs.mk
CONFIGURE = 'PIPELINE_VERSION=0.9.7' 'PIPELINE_REVISION=95ab563fac0802c424a269e597ac711de7c0cdce' '--prefix=/usr/lib/pipelinedb' '--with-system-tzdata=/usr/share/zoneinfo' 'CFLAGS=-g -O2' '--disable-rpath'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2
CFLAGS_SL = -fpic
LDFLAGS = -L../../../src/common -Wl,--as-needed
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpthread /usr/lib/libzmq.a -lstdc++ -lpgcommon -lpgport -lz -lreadline -lrt -lcrypt -ldl -lm
VERSION = PostgreSQL 9.5.3
By the way while running make I specified path manually like you mentioned in previous comment.

With that flag everything worked fine.
Thank you a lot @derekjn .

@backend-baron thanks for following up--we're happy to hear that!


Fix early frames and initial virtual address space allocation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

rmode is actually not a kernel section.
in_kernel_section is misleading in that case.

Hmm, I'd argue that rmode is part of the kernel itself. But, please suggest alternative classification.


config fe external service as sessionaffinity

client has session affinity with fe will be the best for use, and the webui (one service of doris ) should keep session affinity to fe.

fixed #160


Feat: add a FunLike and an EmbeddingLike instance

Backported in leanprover-community/mathlib#18198.

Is there a corresponding mathlib3 PR for this mathlib4 PR? Right now the idea is that we keep the two repos in sync unless there are things in mathlib3 which don't work any more in mathlib4, right?

Is there a corresponding mathlib3 PR for this mathlib4 PR? Right now the idea is that we keep the two repos in sync unless there are things in mathlib3 which don't work any more in mathlib4, right?

Backported.

bors merge


viewCount, int.Parse error large or small

Hello! At some points, retrieving the view count caused an error

At the moment, I changed it to long, and so far there haven't been any errors, but I might have done something wrong and should have left it as int.
var views = long.Parse((string?)videoDetail?["viewCount"]);
line 144 on YouTubeSearchClient
The search was conducted using "https://github.com/UnidentifiedX/YTSearch.NET/issues/6" from the topic "beautiful girls"

Yeah, would have to change that as videos with super big view counts like baby shark go over the 32bit int limit.
If you could create a pull request that would be awesome 👍
Or I can do so if you would like.


add context to build action

Signed-off-by: Akhil Mohan<EMAIL_ADDRESS>Pull Request template
Why is this PR required? What issue does it fix?:
What this PR does?:
Does this PR require any upgrade changes?:
If the changes in this PR are manually verified, list down the scenarios covered::
Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[ ] Fixes #
[ ] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Has the change log section been updated?
[ ] Commit has unit tests
[ ] Commit has integration tests
[ ] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
[ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

PLEASE REMOVE BELOW INFORMATION BEFORE SUBMITTING
The PR title message must follow convention:
<type>(<scope>): <subject>.
Where:
Most common types are:
* feat        - for new features, not a new feature for build script
* fix         - for bug fixes or improvements, not a fix for build script
* chore       - changes not related to production code
* docs        - changes related to documentation
* style       - formatting, missing semi colons, linting fix etc; no significant production code changes
* test        - adding missing tests, refactoring tests; no production code change
* refactor    - refactoring production code, eg. renaming a variable or function name, there should not be any significant production code changes
* cherry-pick - if PR is merged in master branch and raised to release branch(like v0.4.x)
IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #8 (37ba14c) into master (0e11c48) will increase coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   48.38%   48.55%   +0.17%
==========================================
  Files          73       73
  Lines        3365     3365
==========================================
+ Hits         1628     1634       +6
+ Misses       1580     1576       -4
+ Partials      157      155       -2

Impacted Files
Coverage Δ

cmd/ndm_daemonset/probe/eventhandler.go
50.90% <0.00%> (+10.90%)
:arrow_up:

Continue to review full report at Codecov.

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


Update docs release 0.12

Description of changes:
Updating artifacts doc for release-0.12.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.12

/cherrypick release-0.12


Steps or feature to add Anki Deck

As a temporary hack, I have done the following:

From Anki, export card deck as *.txt by going to File > Export
In the text file:
(i) Replace TABS with newlines
(ii) In the beginning of the file, enter the following: "b"
(iii) In the end of the file, add a newline, followed by "e", and 2 newlines.
(iv) Save the text file as, say "clanki_import"
clanki < clanki_import

The above method can be used for a basic deck


Extension API not working on IE11

Hello,
I am facing a problem using the tableau extension api V 1.0.0, I am working on an extension that uses a Popup for configuration, the popup uses the api to retrieve data from the dashboard. On tableau desktop the extension works fine, on the following browsers, the extension works fine as well : Firefox V64.0.2, Chromium Version 47.0.2526.0, Google chrome V71, Microsoft Edge.
When tested under IE11, The popup shows empty : only the html components are displayed, it seems that the popup gets stuck at the initialization of the extension, when I refresh the page i get the following output :

it appears that this error comes from the check test used on the extensions API :
function doCrossFrameBootstrap(thisWindow, internalContractVersion) {
    return new Promise(function (resolve, reject) {
        var parent;
        // Normally, we are running inside an iframe.  The exception to this is
        // when we are running as an extension inside a dialog as part of the UINamespace
        // functionality.  In that case, we want the opener of this window rather than the parent.
        if (!inIframe(thisWindow)) {
            parent = thisWindow.opener;
        }
        else {
            parent = thisWindow.parent;
        }
        if (!parent) {
            reject('This extension is not running inside an iframe, desktop, or popup window. Initialization failed.');
        }
...

I tried to set the window.opener myself (as i know the opening window) but got another error :
Unhandled promise rejection ... the object doesn't support property or method postMessage

which originates from the following code :
var onUnhandled = function (promise) {
  task.call(global, function () {
    var value = promise._v;
    var unhandled = isUnhandled(promise);
    var result, handler, console;
    if (unhandled) {
      result = perform(function () {
        if (isNode) {
          process.emit('unhandledRejection', value, promise);
        } else if (handler = global.onunhandledrejection) {
          handler({ promise: promise, reason: value });
        } else if ((console = global.console) && console.error) {
          console.error('Unhandled promise rejection', value);
        }
      });
      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
      promise._h = isNode || isUnhandled(promise) ? 2 : 1;
    } promise._a = undefined;
    if (unhandled && result.e) throw result.v;
  });
};

Thank you in advance

Hi John
I am also encountering similar issue, our Tableau Server is on 2018.3.1 and using i am using Export to Excel (TheInformationLab_ExportAll.trex) which works fine in Chrome, but doesn't work on IE 11. Our company standard browser is IE not all users uses Chrome.
Request your inputs on above issue is great help to us.
Thanks..
Vijay

Hi
I am also encountering similar issue, my server version is 2019.1. The extension works fine on chrome and on IE there is no error and only the html elements are loaded. I am using extension 1.1.0 let me know about the alternatives
Thanks

Hello,
I'm also developing an extension and I'm having issues with IE.
The issue you are having seems to be related to promise. Have you tried using polyfill?
 quickest way, just had this on the index.
The issue that I'm having is related to dialogs. I have the extension working as expected, although when I use displayDialogAsync, the dialog pops open and renders the html but does not run the initializeDialogAsync. Does anyone have any idea?

Vijay:
Unfortunately, it looks like Export All uses syntax that is not supported in IE11. We will reach out to the author.
jacksjp:
As mentioned, polyfills can help. Can you open the debugger and look for errors in the console. Often that will pinpoint the problem.
bggoxp:
Are you using arrow functions? Does the console say anything helpful?
John

Hey John, thanks. I opened another issue (you already commented there)
Thanks!
https://github.com/tableau/extensions-api/issues/215

Thanks John for your reply...

@johnDance  Is there any update on the Export all extension working on IE11 ? Please help - Thank you

@DataPalla - I'm checking with our developer evangelists.

@DataPalla - We have reached out to the developer, but have not heard anything back. Sorry.

Closing out based on age. If this is still an issue, please reopen with a comment on the latest status and we can revisit.
Also, in 2020 Tableau officially stopped supporting IE11, so these types of issues would probably not be fixed


Container Not Found / Time out

I'm trying to have 2 modules, where one handles the blob upload and another takes pictures and saves them into a volume. However this documentation is confusing. I would like to see a full deployment.template example. Specifically, I want to see an example where 2 modules coordinate because we have the ImageUploader (azure-blob-storage:latest) and any other module to use it.
I am getting the output:

But in my portal I have:

I have tried using python to create a container In Primary :
from azure.storage.blob import BlockBlobService
block_blob_service = BlockBlobService(account_name='image_uploading', account_key='some_key')
container_name = 'quickstartblobs'
block_blob_service.create_container(container_name)
# or
block_blob_service.list_blobs(container_name)

Per advice from python blobs but I get connection errors:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/envs/master36/lib/python3.6/site-packages/azure/storage/blob/baseblobservice.py", line 693, in create_container
    self._perform_request(request, expected_errors=[_CONTAINER_ALREADY_EXISTS_ERROR_CODE])
  File "/opt/conda/envs/master36/lib/python3.6/site-packages/azure/storage/common/storageclient.py", line 446, in _perform_request
    raise ex
  File "/opt/conda/envs/master36/lib/python3.6/site-packages/azure/storage/common/storageclient.py", line 377, in _perform_request
    raise _wrap_exception(ex, AzureException)
azure.common.AzureException: HTTPSConnectionPool(host='image_uploading.blob.core.windows.net', port=443): Max retries exceeded with url: /quickstartblobs?restype=container (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5a0e901710>: Failed to establish a new connection: [Errno -2] Name or service not known',))

My modules are set up as:
Takes pictures, saves to a volume "primary-images"
"Primary": {
  "version": "0.1.3",
  "type": "docker",
  "status": "running",
  "restartPolicy": "always",
  "settings": {
    "image": "$CONTAINER_REGISTRY_ADDRESS/primary:latest",
    "createOptions": {
      "HostConfig": {
        "PortBindings": {
          "5012/tcp": [{"HostPort": 5014}],
          "11002/tcp": [{"HostPort":11002}]
        },
        "Binds": ["/dev/video0:/dev/video0"],
      "Devices": [{"PathOnHost": "/dev/video0","PathInContainer": "/dev/video0","CgroupPermissions": "mrw"}]},
      "Volumes": {"primary-images": {}}
    }
  }
},

Binds to the volume "primary-images"
"ImageUploader":{
  "version": "0.0.8",
  "type": "docker",
  "status": "running",
  "restartPolicy": "always",
  "settings": {
    "image": "mcr.microsoft.com/azure-blob-storage:latest",
    "createOptions": {
      "Env":[
       "LOCAL_STORAGE_ACCOUNT_NAME=image_uploading",
       "LOCAL_STORAGE_ACCOUNT_KEY=some_key"
      ],
      "HostConfig":{
        "Binds": ["primary-images:/blobroot"],
        "PortBindings":{
          "11002/tcp": [{"HostPort":11002}]
        }
      }
    }
  }
}

And the properties are:
"$edgeHub": { "properties.desired": " . . ." },
"ImageUploader":{
  "properties.desired": {
    "deviceAutoDeleteProperties": {
      "deleteOn": true,
      "deleteAfterMinutes": 5,
      "retainWhileUploading": true
    },
    "deviceToCloudUploadProperties": {
      "uploadOn": true,
      "uploadOrder": "NewestFirst",
      "cloudStorageConnectionString": "DefaultEndpointsProtocol=https;AccountName=from_portal_account_name;AccountKey=from_portal_account_key;EndpointSuffix=core.windows.net",
      "storageContainersForUpload": {
        "primary-images": {
          "target": "primary-images"
        }
      },
      "deleteAfterUpload": true
    }
  }
}

Per: Update Property Link, "Allows you to specify the container names you want to upload to Azure. This module allows you to specify both source and target container names."

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

ID: d574f299-1f45-ad1b-755f-ced23163a60a
Version Independent ID: 54532d7c-60b0-8522-9455-4ec094af9cb4
Content: Deploy the Azure Blob Storage module to devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-deploy-blob.md
Service: iot-edge
GitHub Login: @arduppal
Microsoft Alias: arduppal

@josiahlaivins Thanks for the feedback! We are currently investigating and will update you shortly.

Is there are any feedback about this? We have blob storage working via direct upload in docker container Manager:
block_blob_service = BlobServiceClient.from_connection_string('DefaultEndpointsProtocol=https;AccountName=non_local_account;AccountKey=non_local_key;EndpointSuffix=core.windows.net')  # type: BlobServiceClient
self.block_blob_service.create_container('hello_container')

But using the the ImageUploader docker container mcr.microsoft.com/azure-blob-storage:latest's local account does not work still.

@josiahlaivins :- as per the document the DefaultEndpointsProtocol is "http" and there is no EndPointSuffix when connecting to local storage account. And I don't see the blobEndpoint in your example either.
Format per the document: DefaultEndpointsProtocol=http;BlobEndpoint=http://:11002/;AccountName=;AccountKey=;

@arduppal Thanks for the clarification. I changed it to:
self.super_str = 'DefaultEndpointsProtocol=http;AccountName=image_uploading;AccountKey=some_key;BlobEndpoint=http://ImageUploader:11002/image_uploading;'
self.block_blob_service = BlobServiceClient.from_connection_string(self.super_str)

However, I attempt to do an action like:
self.block_blob_service.create_container('hello_container')

It hangs outputing:
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): imageuploader:11002
DEBUG:urllib3.connectionpool:Starting new HTTP connection (2): imageuploader:11002
DEBUG:urllib3.connectionpool:Starting new HTTP connection (3): imageuploader:11002
DEBUG:urllib3.connectionpool:Starting new HTTP connection (4): imageuploader:11002
Unexpected error <urllib3.connection.HTTPConnection object at 0x7f251cad89e8>: Failed to establish a new connection: [Errno -2] Name or service not known from IoTHub

And the ImageUploader module (mcr.microsoft.com/azure-blob-storage:latest) outputs:
[2019-09-30 18:10:57.967] [info    ] [tid 5226] Microsoft.Azure.Devices.BlobStorage.Common.PolicyManager: A change in configuration has been detected.
[2019-09-30 18:11:28.164] [info    ] [tid 5226] [ContainerInterface.cc:148] [ListBlobContainers] ListContainers received. ContainerNamePrefix:null ContainerNameStart:null MaxContainerNames:10
[2019-09-30 18:11:28.164] [info    ] [tid 5226] [ContainerInterface.cc:168] [ListBlobContainers] ListContainers completed. ContainerEntryCount:0 NextContainerName:null
[2019-09-30 18:16:28.167] [info    ] [tid 5353] [ContainerInterface.cc:148] [ListBlobContainers] ListContainers received. ContainerNamePrefix:null ContainerNameStart:null MaxContainerNames:10
[2019-09-30 18:16:28.167] [info    ] [tid 5353] [ContainerInterface.cc:168] [ListBlobContainers] ListContainers completed. ContainerEntryCount:0 NextContainerName:null
[2019-09-30 18:21:28.169] [info    ] [tid 5528] [ContainerInterface.cc:148] [ListBlobContainers] ListContainers received. ContainerNamePrefix:null ContainerNameStart:null MaxContainerNames:10
[2019-09-30 18:21:28.169] [info    ] [tid 5528] [ContainerInterface.cc:168] [ListBlobContainers] ListContainers completed. ContainerEntryCount:0 NextContainerName:null

One interesting note is that the ImageUploader module does not react at all to me executing that BlobContainer code in Primary, which tells me the 2 do not seem to know each other exists?
I am PortBindings both of them to "11002/tcp": [{"HostPort":"11002"}] so they can see each other, is that the correct logic?

@josiahlaivin:- Is ImageUploader the name of your blob storage module?
If yes, you need to change it to smallcase "imageuploader"
where is this code running?
self.super_str = 'DefaultEndpointsProtocol=http;AccountName=image_uploading;AccountKey=some_key;BlobEndpoint=http://ImageUploader:11002/image_uploading;'
self.block_blob_service = BlobServiceClient.from_connection_string(self.super_str)
If it running outside of IotEdge device, such that the device running this code can talk to the iot device, you need to provide IP address of the iot device in your BlobEndPoint.
And if it is running as another module in the same IoT device provide the blob storage module name in small caps

@josiahlaivins Did you get a chance to see the previous comment?

Yes, I will test this this week to see if it works, thank you for the responses!

From: Alberto Vega<EMAIL_ADDRESS>Sent: Thursday, October 3, 2019 12:30:21 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Josiah Laivins<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Container Not Found / Time out (#39607)
@josiahlaivinshttps://github.com/josiahlaivins Did you get a chance to see the previous comment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/39607?email_source=notifications&email_token=ANIGOIDVNGLYK7JUDDKLLATQMYMZ3A5CNFSM4I24K632YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIY3FY#issuecomment-538021271, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANIGOIDS53TXV7WW4NC4OF3QMYMZ3ANCNFSM4I24K63Q.

I thought I sent my reply here, must have not saved.
@arduppal and  @Alberto-Vega-MSFT
I updated the string being passed in I have 2 modules Primary and imageuploader on the same device.
After some fixes, they are communicating now. However any actual blob / container commands fail.
Primary
super_str = 'DefaultEndpointsProtocol=http;AccountName=imageuploading;AccountKey=some_key;BlobEndpoint=http://imageuploader:11002/imageuploading;'
block_blob_service = BlobServiceClient.from_connection_string(super_str)

try:
    block_blob_service.create_container('helloblob')
except ResourceExistsError as e:
    print('Container already exists)

Output on execution
x-ms-client-request-id: [...]
x-ms-date:Wed, 09 Oct 2019 19:20:31 GMT
x-ms-version:2019-02-02
/helloblob/helloblob
restype:container'.
   at Microsoft.Cis.Services.Nephos.Common.Authentication.NephosAuthenticationManager.SharedKeyAuthenticate(String stringToSign, String requestSignature, AuthenticationInformation authInfo)
   at Microsoft.Cis.Services.Nephos.Common.Authentication.NephosAuthenticationManager.AuthenticateImpl(IStorageAccount storageAccount, RequestContext requestContext, NephosUriComponents uriComponents, GetStringToSignCallback getStringToSignCallback, TimeSpan timeout, AsyncIteratorContext`1 context)+MoveNext()
   at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin)
   --- End of inner exception stack trace ---
   at Microsoft.Cis.Services.Nephos.Common.Authentication.NephosAuthenticationManager.EndAuthenticate(IAsyncResult asyncResult)
   at Microsoft.Cis.Services.Nephos.Common.Authentication.XFEBlobAuthenticationManager.AuthenticateImpl(IStorageAccount storageAccount, RequestContext requestContext, NephosUriComponents uriComponents, GetStringToSignCallback getStringToSignCallback, TimeSpan timeout, AsyncIteratorContext`1 context)+MoveNext()
   at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin)
   --- End of inner exception stack trace ---
   at Microsoft.Cis.Services.Nephos.Common.Authentication.XFEBlobAuthenticationManager.EndAuthenticate(IAsyncResult asyncResult)
   at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.ProcessImpl(AsyncIteratorContext`1 async)+MoveNext() from IoTHub

imageuploader (json)
"imageuploader":{
  "properties.desired": {
    "deviceAutoDeleteProperties": {
      "deleteOn": true,
      "deleteAfterMinutes": 5,
      "retainWhileUploading": true
    },
    "deviceToCloudUploadProperties": {
      "uploadOn": true,
      "uploadOrder": "NewestFirst",
      "cloudStorageConnectionString": "DefaultEndpointsProtocol=https;AccountName=storage_account_name;AccountKey=storage_account_access_key;EndpointSuffix=core.windows.net",
      "storageContainersForUpload": {
            "imageuploading": {
              "target": "%m-%c"
            }
      },
      "deleteAfterUpload": true
    }
  }
}

Output in reaction to Primary
[2019-10-09 19:19:09.487] [error   ] [tid 4754] [BlobInterface.cc:1291] [ListBlobsInOrder] ListBlobsInOrder failed. Container:imageuploading Error:39987
[2019-10-09 19:19:10.492] [info    ] [tid 4754] [BlobInterface.cc:1253] [ListBlobsInOrder] ListBlobsInOrder received. Container:imageuploading BlobNameStart:null MaxBlobNames:1 OrderType:1 Flags:1
[2019-10-09 19:19:10.492] [error   ] [tid 4754] [MetaStore.cc:1757] [ListBlobsInOrder] Container not found. Name:imageuploading
[2019-10-09 19:19:10.492] [error   ] [tid 4754] [BlobInterface.cc:1291] [ListBlobsInOrder] ListBlobsInOrder failed. Container:imageuploading Error:39987
[2019-10-09 19:19:11.398] [info    ] [tid 60] Info: Accepting {0} request for '{1}'. RemoteEndPoint='{2}', Via='{3}', Expect='{4}', Connection='{5}', Version='{6}', ClientRequestId='{7}', UserAgent='{8}' DurationStayedInQueueInMs='{9}', RemainingRequestsInQueueAtEnqueue='{10}', RemainingRequestsInQueueAtDequeue='{11}', WasInHighPriorityQueue='{12}', ToSetKeepAliveToFalse='{13}', ActiveWorkerThreads='{14}', ActiveCompletionThreads='{15}' PassedInActivityId={16}, EnqueueTime={17}, DequeueTime={18}, RequestTraceActvityId = '{19}', p0="PUT", p1="http://imageuploader:11002/hellotha?restype=container", p2="<IP_ADDRESS>:56284", p3="", p4="", p5="keep-alive", p6="2019-02-02", p7="ac713e9a-eac9-11e9-a1df-0242ac120007", p8="azsdk-python-storage-blob/12.0.0", p9="0.0331", p10="0", p11="0", p12="False", p13="False", p14="0", p15="0", p16="null", p17="2019-10-09T19:19:11.3982437Z", p18="2019-10-09T19:19:11.3982694Z", p19="d93a1512-74fa-4401-9106-a5873146df5e"
[2019-10-09 19:19:11.398] [info    ] [tid 4756] Info_debug: Authentication Debug. stringToSign: {0}, p0="PUT application/xml; charset=utf-8
x-ms-client-request-id:ac713e9a-eac9-11e9-a1df-0242ac120007
x-ms-date:Wed, 09 Oct 2019 19:19:11 GMT
x-ms-version:2019-02-02
/hellotha/hellotha
restype:container"
[2019-10-09 19:19:11.398] [info    ] [tid 4756] AuthenticationFailure: SecurityWarning: Authentication attempt failed against key {0}., p0="1"
[2019-10-09 19:19:11.398] [info    ] [tid 4756] AuthenticationFailure: SecurityWarning: Authentication failed

...

[2019-10-09 19:20:31.332] [info    ] [tid 4754] Info_debug: Setting status description as "{0}", p0="Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature."
 Container:imageuploading BlobNameStart:null MaxBlobNames:1 OrderType:1 Flags:1
[2019-10-09 19:20:31.534] [error   ] [tid 4754] [MetaStore.cc:1757] [ListBlobsInOrder] Container not found. Name:imageuploading
[2019-10-09 19:20:31.534] [error   ] [tid 4754] [BlobInterface.cc:1291] [ListBlobsInOrder] ListB

Hi @josiahlaivins, this might be a problem with the Python SDK. In the logs above, the request string p1="http://imageuploader:11002/hellotha?restype=container" looks malformed, it should be p1="http://imageuploader:11002/<account name>/hellotha?restype=container". This is used to generate the signature string, so the authentication errors are likely a result of that.
I was able to reproduce this using the BlobServiceClient API from the July preview version of the Azure Python SDK, but the BlockBlobService API from the stable version still works for me. Could you try using that instead and see if it works?
I don't think the "container not found" messages are related -- this is just the cloud upload module trying to find a source container that doesn't exist yet, but it should not affect incoming API calls.

Ah, interesting I will look into downgrading to see if this fixes the problem.

After downgrading, everything works now. Thanks for you all's help.

Hi @josiahlaivins, this might be a problem with the Python SDK. In the logs above, the request string p1="http://imageuploader:11002/hellotha?restype=container" looks malformed, it should be p1="http://imageuploader:11002/<account name>/hellotha?restype=container". This is used to generate the signature string, so the authentication errors are likely a result of that.
I was able to reproduce this using the BlobServiceClient API from the July preview version of the Azure Python SDK (version '12.0.0b4'), but the BlockBlobService API from the stable version still works for me. Could you try using that instead and see if it works?
I don't think the "container not found" messages are related -- this is just the cloud upload module trying to find a source container that doesn't exist yet, but it should not affect incoming API calls.

I"m having a similar issue trying to create a container - what exactly do you mean by downgrading the SDK? I'm using a pip requirements.txt file to manage dependencies in a docker container - I'm using azure-storage==0.36.0. Do you mean to say I can change that to the penultimate release and it ought to work?
I'll try that now.
In the mean time, here's my stack overflow post.
https://stackoverflow.com/questions/58666429/azure-storage-blob-create-container-fails-in-dockerized-django-app

azure-storage? We changed from azure-storage-blob==12.0.0b3 to  azure-storage-blob==2.1.0. The pre release is still buggy it seems at the moment.

Ah, ok. I'm already using azure-storage-blob==2.1.0 and still having this problem.

I found the problem. My pip requirements doc only had what I assumed to be the relevant modules (azure-storage-logging and azure-storage-blob).
I installed the entire azure package and then did pip freeze >> requirements.txt and it ran fine after that.
It was strange though, because without the entire package, I was able to create the container from the REPL, just not from a django view. Anyhow, it's resolved - thanks for dropping back by.


Android SDK 30 - albumName is ignored when saving videos

When building for Android SDK 30, the albumName parameter of GallerySaver.saveVideo does not work.
The video is saved to the Movies-folder without any album.
GallerySaver.saveImage is working fine.

@m-schmailzl you can try add android:requestLegacyExternalStorage="true" to your  element in the manifest, it 's worked for me.

@m-schmailzl you can try add android:requestLegacyExternalStorage="true" to your <application> element in the manifest, it 's worked for me.

requestLegacyExternalStorage is not available for SDK 30.
At the moment I am forced to build for SDK 29 but starting in August, Google will force SDK 30 in Google Play.

same problem here. videos saved in 'Movies' folder instead of the same folder for images.
api level 30

someone know how to fix it?

Anyone solve this to SDK 30? It's creating a "Movies" album and cannot change this. Please any update on this? Very important feature. Thank you.

The PR of BecoStopclub has been merged and the issue is fixed.


Please include deleting personal data in Log Analytics link

ASC stores some data in Log Analytics workspace. Please include somewhere the link to deleting personal data in Log Analytics:
https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-personal-data-mgmt

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

ID: 2cdee352-9609-2d22-1d1a-5edbfcd7fdca
Version Independent ID: 75a8a714-6ec5-e5b1-c933-1e8f9713530c
Content: Manage user data in Azure Security Center
Content Source: articles/security-center/security-center-privacy.md
Service: security-center
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

@slavizh Thanks for your feedback! We will investigate and update soon on it.

@slavizh Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@slavish - Thank you for your suggestion. A link to information on how to delete personal data in Log Analytics has been added to article titled Manage user data found in an Azure Security Center investigation.

#please-close
Update is in PR #58435

@slavizh - Thank you for your suggestion. A link to information on how to delete personal data in Log Analytics has been added to article titled Manage user data found in an Azure Security Center investigation.


[3.0]Fix concurrent modification exception of stated urls

fix #9735

Codecov Report

Merging #9777 (6850b63) into 3.0 (e9175a6) will decrease coverage by 0.23%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                3.0    #9777      +/-   ##
============================================
- Coverage     65.61%   65.38%   -0.24%
  Complexity      317      317
============================================
  Files          1206     1206
  Lines         52337    52303      -34
  Branches       7942     7914      -28
============================================
- Hits          34342    34198     -144
- Misses        14245    14338      +93
- Partials       3750     3767      +17

Impacted Files
Coverage Δ

...java/org/apache/dubbo/rpc/model/ProviderModel.java
49.23% <0.00%> (ø)

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
55.55% <0.00%> (-33.34%)
:arrow_down:

...ng/zookeeper/curator5/Curator5ZookeeperClient.java
43.47% <0.00%> (-26.09%)
:arrow_down:

.../remoting/api/SingleProtocolConnectionManager.java
61.53% <0.00%> (-23.08%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

...ubbo/registry/client/AbstractServiceDiscovery.java
74.57% <0.00%> (-8.48%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../common/threadpool/serial/SerializingExecutor.java
70.37% <0.00%> (-7.41%)
:arrow_down:

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
:arrow_down:

... and 40 more

Continue to review full report at Codecov.

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


When updating the marketplace.visualstudio.com to netcore3.1?

https://marketplace.visualstudio.com/items?itemName=VolkanCeylan.SereneSerenityApplicationTemplate
When updating the marketplace.visualstudio.com to netcore3.1?
Please.
Thank you very much!

I won't soon, not everybody has VS 2019

It's updated and .NET Core version is separated from MVC version as it only supports VS2019


ServiceNotFoundException

I'm trying to install the Bundle, but a ServiceNotFoundException appears in my Symfony Bundle (src\Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass line 58 ).
The service "paypal_web_checkout.manager" has a dependency on a non-existent service "payment.event.dispatcher"

Any idea? I'm using Symfony v.2.6.3
Thanks for your time.

Hi @jpintor14
Let's take a look! :D Thanks for your reporting! ^^
ping @mickaelandrieu @alch

Hi @jpintor14,
can you check the PaymentCoreBundle is in your vendors and if the service "payment.event.dispatcher" is in your container ?
(https://github.com/PaymentSuite/PaymentCoreBundle/blob/master/Resources/config/services.yml)
You can call this command:
php app/console container:debug payment.event.dispatcher

I'm not sure, but you probably need to add the PaymentCoreBundle to the list of bundles in app/AppKernel.php file.

Yes, CoreBundle is in vendor directory, so I added it in AppKernel, but the cmd also display me the error:

You must implement a PaymentBridgeBundle containing a PaymentBridge Service to make it work. Check de docs for more information:
http://payment-suite.readthedocs.org/en/latest/configuration.html#paymentbridge-service

Ok, here's my problem, I had to add in services.yml::
payment.bridge:
        class: YourProjectName\PaymentBridgeBundle\Services\PaymentBridge

Now I'm going to test the Bundle!
Thanks alot for your advice.

:+1:


[FEATURE]-Replace Codec Class Directory History with a Stack instead of a List

Is your feature request related to a problem? Please describe.
A stack is a first in-last out data structure that is designed to hold history relatively easily
Describe the solution you'd like
Change the IHasDirectory interface to use a Stack<CodecDirectory> instead of a List<CodecDirectory> and fix implementations in the Device classes
Describe alternatives you've considered
The List is a possiblity, but is more cumbersome to use and more prone to errors due to removing and adding items.

Maybe, in order to keep backwards compatibility, we'll have to add this as a property for the Interface and deprecate the list-based property

Adding a new interface, IHasDirectoryHistoryStack that can be implemented as needed for devices. It inherits from IHasDirectory, and adds a get-only property called DirectoryBrowseHistoryStack that is a Stack<CodecDirectory>


Add JAX-B dependencies to POM

From Java 9, JAX-B is not included in the JSE.
AbstractSiteMap imports javax.xml.bind.DatatypeConverter.
There is a workaround parameter for Java 9, but the correct solution is to add dependencies.
See also: https://docs.oracle.com/javase/9/migrate/#GUID-F640FA9D-FB66-4D85-AD2B-D931174C09A3, https://stackoverflow.com/a/43574427/9141985

Thakns @YossiTamari would you like to submit a PR?

Too much work... I just used --add-modules java.xml.bind locally. The lines that need to be added in the POM are in the SO answer I mentioned.

It would probably be better to avoid the use of this class altogether and rely on the core Java SE code. That would also be one less dependency that we'd have to deal with.
I have seen this java.time.format.DateFormatter.ISO_OFFSET_DATE_TIME  being used as a replacement in this patch

Agreed. It will probably also simplify the code, by removing the W3C_NO_SECONDS_PATTERN section.


insertable-streams example gaps

Some questions:

the example shows only how to transform sended stream frames in golang code, not so clear how to setup custom transformation routine on the reciver side;
also not so clear why the golang code has no any specific stuff to instruct the reciver that the sender is using insertable streams, means that code wich encrypts frames has the only difference (in comparison with others examples) in lines mentioned above.
@Sean-Der could you please comment on this?

Hi @UladzimirTrehubenka
1.) The transformation on the client side is here
2.) I don't believe WebRTC has a mechanism for that unfortunately. Nothing in the protocol lets you say 'This frame was modified with insertable streams'.
I am going to resolve but feel free to ask more questions here or on Slack thanks!

JS code has
insertableStreams = transceiver.receiver.createEncodedVideoStreams()
const reader = insertableStreams.readable.getReader()
const writer = insertableStreams.writable.getWriter()

But golang implementation has no appropriate calls for obtain
reader/writer from receiver object in OnTrack callback function
rtcConn.OnTrack(func(track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver) {...})

Insertable streams golang example, both audio/video publisher/subscriber
Don't ask me how I came up with this specific video frame processing, it was hard...


Script not working with my settings

Hi ! I trying with this settings but not display any data from server
`

My Radio Station

Now Playing:

Listeners: /

You just missed

`
How it's possible to solve this ?

Hi,
Change the last script tag to the following:

The port was included in the host param :)

Same results after this exchange: http://imgur.com/jWbHoT6
[img]http://i.imgur.com/jWbHoT6.png[/img]
It's possible to make this working for this stations ?

I try with other stations, but same error.
`My Radio Station

Now Playing:
Listeners: /
You just missed

`

My Radio Station

Now Playing:
Listeners: /
You just missed

Ahh sorry, just realised your steam is shoutcast V1, you will need to get some sort of server side solution for this, JSON functionality was only introduced to DNAS v2.
Something like this will do the trick https://github.com/Wavestreaming/SHOUTcast-PHP-Class


Gracefully handle interrupt during installation

Problem description
I have broken the installed environment several times in the following situation.

I have a git project using pixi, and I have direnv for automatic activation of the environment.
I switch to an old commit to quickly check something out.
direnv triggers pixi environment update.
I interrupt the update because I don't need it.
I then switch back to the latest commit.

On multiple occasions this resulted in a broken environment without pixi being aware about it. To fix it I needed to delete the .pixi folder, and install the environment again. It would be better if the interrupt resulted in a rollback of the installation.

Thanks for the report, is this a new problem or did you see this over an extended period already?

At least a few months. Sorry that I don't provide a reproduction script, it seems hard to do reliably because I assume the breaking depends on when the update is interruped.

Okay thanks, I could think of situations where this would happen as we don't have added behavior on termination of the process. Which could indeed result in a broken prefix. To understand the issue correctly, is the biggest problem that it doesn't fix itself on a rerun or that it leave a broken state?

Not sure what to consider the biggest problem.
If performance or complexity were not an issue, then indeed doing a rollback on interrupt would be best. Repairing would be second best. Detecting that something is wrong third best because already seeing the errors that may arise is confusing (random Python code fails because of version mismatches).


Bug: CultureInfo cannot be serialized

CerasSerializer is not able to serialize CultureInfo. Introducing SerializerConfig with ConstructBy didn't help.
Repro steps

Create a very simple type with property of type CultureInfo
Run CerasSerializer.Serialize() -> Exception

Platform
.NET 8, VS 2022

The exception message tells you the problem and how to solve it...


double free malloc error in generator returning reference

Reporting a bug
I'm trying to make a generator that returns a reference to the same array, stored in the generator (i.e. not a copy):
from numba import njit
import numpy as np

@njit
def generator():
    z = np.zeros(shape=(3,), dtype=np.int32)
    for i in range(3):    # bug hits on i=2
        z[i] = 1
        yield z    # no bug if return z.copy()

for g in generator():
    print(g)

The bug does not happen if I return a copy. Also it occurs at the 3rd iteration, which maybe implies that something related to malloc is happening at each loop?
EDIT:
Perhaps some useful clues:
from numba import njit
import numpy as np

@njit
def generator():
    z = np.zeros(shape=(4,), dtype=np.int32)
    z[0] = 1
    yield z
    z[0] = 0
    yield z

for g in generator():
    print(g)

# [1 0 0 0]
# [-555819298 -555819298 -555819298 -555819298]

from numba import njit
import numpy as np

@njit
def generator_bug(x):
    for i in range(3):
        x[i] = 1
        yield x

@njit
def generator_no_bug(x):
    x[0] = 1
    yield x
    x[1] = 1
    yield x
    x[2] = 1
    yield x

z = np.zeros(shape=(3,), dtype=np.int32)

for g in generator_no_bug(z):
    print(g)

# [1 0 0]
# [1 1 0]
# [1 1 1]

for g in generator_bug(z):
    print(g)

# [1 0 0]
# [1 1 0]
# python(60553,0x2087fc100) malloc: Double free of object 0x1187f3aa0
# python(60553,0x2087fc100) malloc: *** set a breakpoint in malloc_error_break to debug
# Abort trap: 6

I think it's invalid decref, commenting this fixes it:
https://github.com/numba/numba/blob/291269b7a256f44ae3af84aef611de87eb5a8433/numba/core/generators.py#L353-L355
This appears to have been written at a time when lowering.storevar behaved significantly differently to how it does on current main.

I can make a PR that removes that and see if it causes any new leaks.

Tested removing this and it causes a bunch of leaks in various tests in numba.tests.test_generators.TestNrtArrayGen

Tested removing this and it causes a bunch of leaks in various tests in numba.tests.test_generators.TestNrtArrayGen

Thanks for trying it. Once the 0.57 release is done would be good to see what's causing it to fail. The logs look like it's largely unexpected (too high) refcounts on Python objects.


Allow setting of valid attributes and operators

This issue was moved to mwayi/Merlin#1

This issue was moved to mwayi/Merlin#2


What to do with package that requires autotools and configure and make to build...

I hesitate to ask, but....  I've been reading my mail in vm for a very long time.  Its definitely moribund, if not mostly dead, but it works.
I've switched nearly all of my emacs set up to use use-package (aka straight-use-package), but I'm still wiring up my vm by hand from a copy of it's 8.2.0b release.
While this might be a job for Miracle Max the Wizard ("mostly dead", obligatory Princess Bride ref), I wanted to see what I could do about it.
I was fascinated to discover that straight would happily 'use-package' it, but not in the least surprised that it didn't work.
It turns out that it's mirrored here:  https://github.com/emacsmirror/vm and that's what straight's picking up.  That tree, however, seems to need to have autotools called on it, then configure (with a bit of extra info to tie it into bbdb in my case).
And then, there are a couple bits that don't actually work; they removed the bundled vcard.el for reasons their commit doesn't specify, but didn't commit it out of the Makefile.in.  Nor the vm-vcard.el that was using it.....    There's also a use of &optional &rest ... that irritates emacs and that I've fixed before by just removing the &optional).
So, at a minimum seems like I should fork the repo, fix those bits, then have straight use my fork (and branch).
For experimenting, I've cloned the repo, run autoconf and then configure.  It makes successfully, albeit without the bbdb bits.  So in addition to asking about a straight-approved way of calling autoconf and then make, I suppose I should also ask if there's a non-ugly way to get at the path where straight has built bbdb for me?
Thanks

There is no user-facing way to get the build directory currently; see https://github.com/raxod502/straight.el/issues/274. You can use
(straight--build-dir "vm")

Perhaps you want something like
(defun my-vm-build (package &rest _)
  (when (string= package "vm")
    (let ((default-directory (straight--build-dir "vm")))
      (straight--get-call "autoconf")
      (straight--get-call "./configure")
      (straight--get-call "make"))))

(add-hook 'straight-use-package-pre-build-functions #'my-vm-build)

although it is completely untested -- you will have to spend some time playing around with things to get it to work how you want.
See https://github.com/raxod502/straight.el/issues/115 (as per https://github.com/dimitri/el-get/blob/5534e20b8a9d071f43285161a453924cc42ccd5b/recipes/vm.rcp) and https://github.com/raxod502/straight.el/issues/72 for proper support.

Neat, thank you.  I have it [almost working], with this, which grabs the right branch of my fork of the project and builds it with the extra args to hook up bbd.  BUT, see below
(defun my-vm-build (package &rest _)
  (when (string= package "vm")
    (let ((default-directory (straight--repos-dir "vm")))
      (straight--get-call "autoconf")
      (straight--get-call (concat default-directory "/configure")
                          (concat "--with-other-dirs=" (straight--build-dir "bbdb")))
      (straight--get-call "make"))))
(add-hook 'straight-use-package-pre-build-functions #'my-vm-build)

(use-package vm
  :straight (vm :type git :host github :repo "emacsmirror/vm"
                :fork (:host github
                             :repo "hartzell/vm"
                             :branch "wip")
                :no-byte-compile t
)
  :init
  (require 'cl)
  :commands (vm)
  :config
  ;;  [elided]
)

My first attempt, without the :no-byte-compile t bit, would hang up.  If I killed it after a while, the next time I started emacs thigns seemed ok.
I ended up inserting (debug) at various points in the straight code and setting debug-on-quit to t and eventually figuring out that it was the byte compilation step and that I could disable it with the relevant knob.
But, there are a bunch of elc files sitting in the build directory courtesy of my/your hook function that I'd love to link into the build dir.  Any way to do that?

On the other hand, I just set up the symlinks for the elc files between the build and repos directory and didn't notice an appreciable difference in startup times.  Perhaps I should just declare victory and move on.....

You should be able to link the .elc files using a custom :files directive. It might be desirable to make it so that if the .elc files already exist, then they won't be recompiled even if you don't specify :no-byte-compile t. Feel free to open another issue if that feature is important to you.
Anything else troubling you?

I'll play with files.  Thanks for all the hints and suggestions.  Straight's great!

For posterity's sake (as if there are any other vm users running around...), here's what I ended up with:
(use-package vm
  :straight (vm :type git :host github :repo "emacsmirror/vm"
                :fork (:host github
                             :repo "hartzell/vm"
                             :branch "oldie")
                :no-byte-compile t
                :files (:defaults "lisp/*.elc")
                )
  :commands (vm)

  :init
  (require 'cl)
  :config
  ;; Make VM your default mail agent in Emacs
  (setq mail-user-agent 'vm-user-agent)
  ;; [and etc...]
  )

Ah,

The fact that the hook is run when the package is unmodified (and hence does not need to be rebuilt) is a bug. Feel free to submit a pull request fixing that. It's an easy change.


Added draft of version 1.9 CHANGELOG

Handing this over to @jlstevens, feel free to make any edits you want.

Looks great. Time to release!


Allow verification of U2F devices

[x] Improve logging
[x] Trigger error cases and verify handling
[x] Cancel button

@DRvanR

@DRvanR Please review the other commits as well *wink-wink*

:+1:


Fix diff_drive_skid test

A recent update to DART changed the way the slip parameter is implemented. Part of this change removed the small amount of slip each surface had by default. This in turn broke this test because the vehicle would not steer as some amount of slip is needed in the lateral direction. The solution is to lower the coefficient of friction in the lateral direction so the friction in that direction can be overcome by the steering force.
I believe this should also fix test failures on Focal since the DART version used there does not support the slip parameter.

Not sure why the GIthub CI Action is not running for this PR.

Can we update the required ign-physics version to 1.9?

Can we update the required ign-physics version to 1.9?

Yup. https://github.com/ignitionrobotics/ign-gazebo/pull/357/commits/f9d82ca54c7b2ae334a9ff008a329d75271b129a

CI Looks good. The two failing tests are not caused by this PR.


Fix config validation for feast.jobs.metrics.host

What this PR does / why we need it:
Current validation rule for feast.jobs.metrics.host will fail when specifying a valid hostname for StatsD Server because it expects a URL.
feast.jobs.metrics.host is used to connect to a metrics server e.g StatsD Server.
To support more variety of metrics server (which may work at TCP or UDP layer) host value
should probably be just a DNS hostname or IP address, e.g. <IP_ADDRESS> or localhost as opposed to http://<IP_ADDRESS>. The latter for instance cannot be used as an argument to connect to StatsD UDP server.

Another option is to include additional field like protocol when specifying the target for metrics server.

Which issue(s) this PR fixes:

NA
Does this PR introduce a user-facing change?:

NA

/lgtm


What's the reason behind rounding to multiples of two

I have been facing size issues with the screenshots generated. Most times I find it offset by 1 pixel. Just now going thru the code pointed me out this. Please add this to the documentation if this is unavoidable.
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/22db625717068e39d0d43aa935df275f70ba1eb0/lib/options/videosize.js#L95

Because many codecs require multiples of two (eg. x264)

Is this documented anywhere?
Related: RyanAfrish7/thumbsupply#6


Is there a way to initialize Mistral from a locally downloaded checkpoint?

I have tried using
initialize_from_hf: "/path/to/mistral_checkpoint
use_hf_model_config: true
But it tries to go to HF website to get the model checkpoint?
Is it a bug?

yep. seems like a bug. i'm on vacation for another week so I don't know if I'll be able to get to this before then. Are you able to make a private HF repo?

Is there any update on this bug?


fix(macros-core): optional dependency on cargo

fixes #1021

This is now the third PR to do the same thing, see also: #2927, #2922

@abonander Sorry, I did not mean to create more work for maintainers. The other two PRs are not linked to the issue, so I missed them.
I am using this PR in our bazel build system. I am happy to take any solution. https://github.com/launchbadge/sqlx/pull/2927 seems to be the least invasive. The trick with lazy evalution is actually quite nice. Semantically, it is very similar to what I did. So maybe this one could be merged?

Closing in favor of #2927.


Clone button

Clone functionality is useless on single types, might be a good idea to disable it on that type of content. What do you think?
Thank you.

@danestves What do you think?

Hi sorry didn't see the issue, a lot of notifications, you have right with this. This going to be difficult because we need to touch the files from the extensions folder but let me see how to hide it and put a new version for that!


Update obsolete links to Spyder main website, docs, google group/mailing list and download

Although this project packages rather old (6+ mo - 3+ year) versions of Spyder that are long unsupported, we want to make sure your users and yourselves have up to date links to the Spyder project itself, its documentation, mailing list and downloads, rather than resources older and often more out of date than even the oldest Spyder builds bundled here. To be clear, I don't mean to imply anything negative about your project, and we're glad to see you're using Spyder in a novel manner downstream. Rather, some of this is a result of recent changes and shifts in our online platforms, and most of the remainder is a result of the links and information in the Spyder builds you package being themselves out of date on our end originally, even when we released them.
Therefore, as part of the much larger effort in spyder-ide/spyder-docs#39 , this PR updates your links and those in your downstream builds of Spyder to point to:

Our main website, which replaced our Github dev page and our obsolete and soon to be removed HTTP PyHosted docs as the main project hub and entry point for general users (including general information, our up to date docs, our blog/news, and direct links to all our other project resources)
Our new docs site, which replaces links to our docs specifically, replacing the aforementioned HTTP PyHosted docs which will finally be gone soon
The updated URL to the modern and HTTPS version of our Google Group, replacing the old and HTTP one (which currently redirects)
The download section of our main site, which replaces the broken link to our individual releases page, and the link to the current and HTTPS Anaconda download page, which replaces the old HTTP link to the Contuum download page (which currently redirects)

Furthermore, it also fixes/updates:

Our author(s) and mailing list contact email; to The Spyder Project Contributors to properly recognize the >100 contributors to Spyder and provide our mailing list/discussion group email to those interested, from just Pierre and no email at all
Our modern full name and short description with proper capitalization, which as of ~6+ months ago is officially "The Scientific Python Development Environment", not "Scientific PYthon Development EnviroNment", not to mention is certainly not "Scientific Python Development EnvironmEnt" (i.e. "Pydee", what we were called for a brief period 9+ years ago at the very beginning of our existence, and we are certainly no longer anything close to "an alternative to IDLE", as we are quite far from a toy
The long description to something representative of the Spyder versions included, from something riddled with errors, inaccuracies and out of date even for old versions

Hopefully this is helpful and acceptable to you, and thanks again for using Spyder! Best of luck with your project, and let us know if you have any questions for our end.

Also, I noticed you have this Writing Plugins for Spyder page on your site that has a long out of date link (to the Spyder Bitbucket, that has been obsolete for about 5 years now since we moved to Github, but still ranks quite highly in some Snyder-related Google searches. I understand the page itself is quite out of date, but would consider at least updating the link to point to our Github (and perhaps as a courtesy, inline-linking the Spyder name itself to our main site as demonstrated), so as to not direct people to the wrong place? Thanks!
Finally, feel free to submit any of your added features, enhancements, and fixes upstream to our main repo, and we'd be glad to consider them for inclusion into mainline Spyder so you can get them out to our x00,00s of active users and help harmonize it with your distribution, potentially leading to less maintenance burden for you in the future and more of your domain-specific functionality for everyone. I have no specific idea if its practicable without reviewing them, but just wanted to extend the offer.
Thanks!

Hi @CAM-Gerlach, thanks for these updates! I think everything looks okay. The only question I have is about anaconda.com vs anaconda.org - when I search for Anaconda in Google I get the latter but in your changes you supplied the former. I was wondering what the difference is between the two?
I think the main reason for holding back the version was that we had trouble figuring out how to make our Spyder plugins available via Anaconda 'out-of-the-box'. @kirichoi might know more about the specifics. In our research, having the plugins working is pretty essential, especially for importing certain file types, so we were just trying to make do with what was workable for us.
I'm okay with merging this. @kirichoi, any thoughts?

The only question I have is about anaconda.com vs anaconda.org - when I search for Anaconda in Google I get the latter but in your changes you supplied the former. I was wondering what the difference is between the two?

It's actually rather confusing (including myself, until recently) unless one is intimately familiar with what both are and a specific setting in Google webmaster tools. Anaconda.com is the Anaconda distribution website and the Anaconda site, where one can download Anaconda itself, etc. Anaconda.org hosts conda (and maybe Miniconda; can't remember), the information on the defaults-channel packages, and conda-forge. I believe they have set something up in Google webmaster tools that makes them be treated as the same website for PageRank purposes and Anaconda.org always get priority over Anaconda.com, which boosts their total rank but make it essentially impossible to find anything on Anaconda.com without specifically typing "Anaconda.com" as a search term, and thus folks who are unaware will never find Anaconda.

think the main reason for holding back the version was that we had trouble figuring out how to make our Spyder plugins available via Anaconda 'out-of-the-box'.

Have you considered just hosting them on PyPI, and conda-forge/your own channel, as we do for all our plugins? Its not too hard to set either of those up, very likely much less so than your current maintenance burden plus not getting the benefit of nearly a year of Spyder releases with many more on the way. However, I'm not intimately familiar with your specific needs so I can't say for sure.
Thanks!

@0u812 Also, any idea about updating the links on the site? I also found this page, although its PageRank isn't as high.

Thanks for the contribution. The main reason for holding back was because of our publications; we needed to make sure that everything works while the publications are accepted. Our next version, which are scheduled to release soon, will feature the latest version of Spyder. Our plugins are in fact ready to be deployed through PyPI, I believe.
We will be updating the links on the website. There are a lot of obsolete material there so it might take some time.

Thanks @kirichoi and @0u812 ! Best of luck with everything!

I'd like to add that I greatly appreciate the spyder IDE, for novice users
in particular it a great tool for them to quickly get started.
Herbert Sauro
On Fri, Aug 3, 2018 at 11:30 AM C.A.M. Gerlach<EMAIL_ADDRESS>wrote:

Thanks @kirichoi https://github.com/kirichoi and @0u812
https://github.com/0u812 ! Best of luck with everything!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/pull/386#issuecomment-410338158,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDr0fZgkhBW0z6fJMTpe79WInMNC8ks5uNJX9gaJpZM4VtyeA
.

--
Herbert Sauro, Associate Professor
University of Washington, Bioengineering
206-685-2119, www.sys-bio.org
<EMAIL_ADDRESS>Books: http://books.analogmachine.org/

Thanks for the kind words, @hsauro ! We've really tried to make it more accessible to newer users in recent versions over the past 6-9 months, with numerous usability improvements, better UI text, fewer bugs, and overhauled documentation in the latest 3.x releases, as well as working on the bigger new features and core enhancements in Spyder 4 that should appeal to a wide variety of users (with better and much more reliable autocomplete/introspection/help, GUI package and environment management, built-in new project templates, a welcome screen, keyboard shortcut presets to emulate other applications, and further expansion of our documentation being a few of the most relevant to beginners).


feat(Popup): add role and tabindex for a11y

If the Popup content area does not have a cancel button, It is necessary to tell the device where to cancel the Popup.

👍🏻

Thank you for your contribution. At present, the a11y of vant still has a lot of room for improvement. Looking forward to more improvements ^_^


CGFormer Performance Metrics Request on SemanticKITTI Validation Set

Hi, I am reaching out to inquire about the performance metrics of CGFormer on the SemanticKITTI validation set.
Could you please provide the 2 metrics:

precision;
recall;

Your assistance would be greatly appreciated for our ongoing research.

Thank you for your quick reply. What is the FLOPS (G) of the model?

Thank you for your quick reply. What is the FLOPS (G) of the model?
We estimate the FLOPs using the thop library, whose value is 314.47G.


feat: add build_macos_ninja.sh for vscode with clangd support & typo fix

Thank you for your contribution!
We will accept the typo and flaw fixes.
After internal discussion, we choose to skip the clangd configuration part, as it is related to personal development environment configuration.


[pwrmgr] Waive Verilator lint warning about "abort" name

would it be better if i just changed the keyword from abort?

That works too! I wasn't sure whether this is now used in software somewhere too.

ah good point. I kind of forgot there is already a DIF...so i guess this
would change a few things.
Maybe we just go with this :)
On Tue, Mar 23, 2021 at 10:49 AM Rupert Swarbrick @.***>
wrote:

That works too! I wasn't sure whether this is now used in software
somewhere too.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/5747#issuecomment-805104461,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTIBYEOQFWMXQO4GRLTFDIBHANCNFSM4ZVH5QKA
.


Game Crashes during Initialization [Bug]:

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
(Steam)
I tried opening Modded BTD6 after a while of not playing. Updated MelonLoader and wiped old mods and put in a new instance of BTD6ModHelper. But the game kept crashing. I tried completely uninstalling and reinstalling both BTD6 and MelonLoader, even on different drives, then uninstalled and reinstalled Visual C++ and Net 6.0 Framework. I then got a fresh install of both BTD6 and MelonLoader, still getting stuck at the same process in initializing the game.
Latest.log
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Duplicate of #541


Strange dependency on com.google.vr.cardboard

I'm not sure whether this is intended, but I've observed a crash within the ViroViewARCore instantiation code when Google Cardboard is not installed on the device.
When you create an instance using ViroViewARCore(context, startupListener) or ViroViewARCore(context, startupListener, rendererConfig) the construction code goes straight into an init() block, but using any of the Android View constructor methods (such as ViroViewARCore(context)) causes the construction code to run the following check...
if(ContextUtils.getActivity(context) == null) {
    throw new IllegalArgumentException("An Activity Context is required for Viro functionality.");
} else {
    this.init(context, (ViroViewARCore.StartupListener)null);
}

This would be fine, but ContextUtils is acquired from com.google.vr.cardboard.ContextUtils. Running this code on a device without Google Cardboard installed causes the following exception...
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/vr/cardboard/ContextUtils;
                at com.viro.core.ViroViewARCore.<init>(ViroViewARCore.java:374)
                at com.viro.core.ViroViewARCore.<init>(ViroViewARCore.java:362)
                at com.viro.core.ViroViewARCore.<init>(ViroViewARCore.java:352)
                at ...

So my questions are: why is this check utilised in some of the construction paths but not others, and why is there a single dependency on Google Cardboard for a utility class? I am anticipating being able to use this "ARCore" view with just ARCore installed, so could we please remove the dependency? :)

Worth noting for anyone having the same problem that calling one of the ViroCore-specific constructors circumvents the issue (e.g. ViroViewARCore(context, null, null).

Whoa, good catch! Legit bug. We've removed that dependency on ContextUtils. Should be fixed in an upcoming release that's coming soon.
In the meantime, what version of ViroCore are you using? Do you have a gvr_common directory where you placed the gvr-common-sdk-xxx.aar file, along with the build.gradle file? If yes, can you ensure it's the right version for the ViroCore version you are using? While we get this bug fix out to release, if you prefer using Android view constructors in your code, download the right version of gvr_common sdk from our release page here -> https://virocore.viromedia.com/docs/releases following the instructions for build.gradle. The ContextUtil class that you are seeing in the crash comes from this library (which gets bundled into the app), so shouldnt require Cardboard being installed on the device. You can remove this library once you upgrade to our next upcoming release. Apologies for the inconvenience.

We're on the latest version (1.7.2). Apologies, I should have specified in my original post.
Great to hear you're working on a fix! Thanks for the tip, but for now I'd prefer calling ViroViewARCore(context, null, null) to importing a dependency we don't otherwise use. I'll keep an eye out for the next update. :)
Love your team's work!

This was fixed in ViroCore 1.10.0
Release notes and upgrade instructions here -> https://virocore.viromedia.com/docs/releases


Update README.md

trained and add the trained SoftMaskedBert、macbert4csc及bert4csc checkpoint model file download info in README.md

this PR update is relate to issue issue#4

this update is complete , please verify and merge, thanks.


getpeak

Hey, thank you for testing and contributing to wavesurfer.js!
Please make sure you can check all of these points below before opening an issue:
(You don't have to post this section)

[ ] I have checked the FAQ and it doesn't solve my problem.
[ ] I have checked the documentation and it doesn't solve my problem
[ ] I have searched for already open issues which desribe my problem.
[ ] The issue I'm having is related to and caused by wavesurfer.js, not by other software (which maybe packages and uses wavesurfer incorrectly) – In that case you should open the issue on the respective project pages.

Please make sure you provide the following information (if applicable):
Wavesurfer.js version(s):
Browser version(s):
Code needed to reproduce the issue:
(Please reduce your code as much as possible and only post the minimum code needed to reproduce the issue. A Code pen is an excellent way to share such code)
Use behaviour needed to reproduce the issue:

@15838028035 can you stop opening non-sense tickets? I've never banned someone on github but I will.


FIPS Compliance for 3.2

Description
What did you change and why?

Break the FIPS page into:

About FIPS 140-2 Compliance in Kong Gateway
contains all the intro material as well as the extra stuff about hashing?
Install and Configure the FIPS compliant package
contains all the info from the install and configure sections in the current FIPS doc
FIPS 140-2 Compliant Plugins
reference doc with list of the compliant plugins and any other associated reference material from the draft doc

Will update more possibly, see Jira ticket for more details about the proposed AC.
Include any supporting resources, e.g. link to a Jira ticket, GH issue, FTI, Slack, Aha, etc.
DOCU-2902
Testing instructions
Netlify link:
Checklist

[x] Review label added
[x] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

@raoxiaoyan Hi! I started adding the information from your FIPS draft to the Gateway FIPS docs. You'll see I broke out some of the FIPS pages so I could add more info about the implementation details, compliant plugins, and installing the FIPS package. Note: I haven't done a copy edit, so this is still very much a draft.
I had a few questions about this though:

Are the steps to install and configure the FIPS package accurate for 3.2, or do I need to make changes?
For versions 3.1.x and greater, we display this message: "This package provides compliance for the core Kong Gateway product and all out of the box plugins." But based on your info in the Google draft doc you shared, I'm not sure if this is accurate for 3.1.x, though it sounds like it's accurate for 3.2.x?

Thanks in advance!


cmd: small fixes

Signed-off-by: zhouhao<EMAIL_ADDRESS>

not really needed. If a rename would be needed at all, i would expect it to be something like createAction or similar.

not really needed. If a rename would be needed at all, i would expect it to be something like createAction or similar.

ok,I just want them to be in the same format.

LGTM


java.lang.NoClassDefFoundError for my own package class ? on pre lollipop Devices

Also happen for other dependencies too...
What is Solution for Pre Lollipop Devices ?

Strange behavior after add MD

Usually that means you have Proguard enabled and have to add the class to Proguard exclusions.

Not using Proguard..


Do not create review app for updates to README

Not sure if this works!

Not sure if this works!

I guess it kinda works... 🤣  https://github.com/DFE-Digital/teaching-vacancies/pull/3451/checks?check_run_id=2566620996

Review app deployed to https://teaching-vacancies-review-pr-3451.london.cloudapps.digital


[tests-only] [full-ci] add test for downloading space

Description
This PR adds the API test scenario for downloading space.
Related Issue

ApiTest. next iteration
Motivation and Context

There was no test coverage for api test to download space and check the content of archive. So, this PR covers the required scenario test case.
How Has This Been Tested?

test environment:
locally
CI

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

TODO:
Scenarios to add:

space member downloads space
space-admin downloads other's space


Empty audit issue

This took a sec to track down. I assumed at first it must be a problem with the data_list, but that was spurious -- I did leave some tuning in there anyway, but it's harmless.
The real problem was that since the dunder nova dict is a proper lazy loader and not a kludged loader, accessing the cache in the property under-dict is spurious now. The correct way is to iterate the items and keys of the dictionary itself.

@jettero This is also not working.
I ran hubble.audit and got following error: (last lines of log)
06:53:17 [INFO ] Client-Request-ID=a9313b4c-e1e8-11ea-9b37-0242ac110002 Outgoing request: Method=GET, Path=/hubblestackdata/ndtrack/ndtrack_win_args, Query={'snapshot': None, 'timeout': None, 'sv': '2017-04-17', 'si': 'prod_locb_rl_policy', 'sr': 'c', 'sig': 'REDACTED'}, Headers={'x-ms-lease-id': None, 'If-Modified-Since': None, 'If-Unmodified-Since': None, 'If-Match': None, 'If-None-Match': None, 'x-ms-range': 'bytes=0-33554431', 'x-ms-version': '2019-02-02', 'User-Agent': 'Azure-Storage/2.1.0-2.1.0 (Python CPython 3.6.10; Linux 4.19.76-linuxkit)', 'x-ms-client-request-id': 'a9313b4c-e1e8-11ea-9b37-0242ac110002', 'x-ms-date': 'Wed, 19 Aug 2020 06:53:17 GMT'}.
06:53:17 [INFO ] Client-Request-ID=a9313b4c-e1e8-11ea-9b37-0242ac110002 Receiving Response: Server-Timestamp=Wed, 19 Aug 2020 06:53:17 GMT, Server-Request-ID=662732bc-301e-00be-39f5-75fbcd000000, HTTP Status Code=206, Message=Partial Content, Headers={'content-length': '606', 'content-type': 'application/octet-stream', 'content-range': 'bytes 0-605/606', 'last-modified': 'Mon, 21 Oct 2019 08:42:18 GMT', 'accept-ranges': 'bytes', 'etag': '"0x8D7560295068A73"', 'server': 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id': '662732bc-301e-00be-39f5-75fbcd000000', 'x-ms-client-request-id': 'a9313b4c-e1e8-11ea-9b37-0242ac110002', 'x-ms-version': '2019-02-02', 'x-ms-creation-time': 'Mon, 21 Oct 2019 08:42:18 GMT', 'x-ms-blob-content-md5': 'fcWvzhqRY+TQ7cfKKBTuwQ==', 'x-ms-lease-status': 'unlocked', 'x-ms-lease-state': 'available', 'x-ms-blob-type': 'BlockBlob', 'x-ms-server-encrypted': 'true', 'date': 'Wed, 19 Aug 2020 06:53:17 GMT'}.
06:53:17 [INFO ] Executing user-requested function hubble.audit
06:53:17 [ERROR] Failed to import module hubble, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/hubble_build/hubblestack/loader.py", line 869, in _load_module
mod = spec.loader.load_module()
File "", line 399, in _check_name_wrapper
File "", line 823, in load_module
File "", line 682, in load_module
File "", line 265, in _load_module_shim
File "", line 684, in _load
File "", line 665, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/hubble_build/hubblestack/extmods/modules/hubble.py", line 674
ret = {'loaded': list(nova)),
^
SyntaxError: invalid syntax
06:53:26 [ERROR] Function hubble.audit is not available, or not valid.

This is taking much longer than I expected. And, this issue remains there from last few commits.
Can you please test your code by running "hubble.audit" before pushing a commit.

It definitely worked for me by simply running hubble -vvv hubble.audit

My hunch is that you need to git clean or use the right python version or something, but without further information, it's hard to guess.

No, on second thought, some minor typo worked its way in before I pushed to github I guess.


fix(version no): removed the version of fabric8-maven-plugin

the latest version no of fabric8-maven-plugin is already updated in the parent booster-parent repo. hence removed from the child repo.

Wow, that's a bug! Thanks for catching it.


Create vowel_or_consonant.java

checks the alphabet is vowel or consonant

@iqrafirdose Your PR has been merged successfully, Thank you for your contribution.
Give repo a star if it was useful.
Happy hacking.


Slide Action V2

Aim while Sliding
Variable-length Slide based on Velocity and/or Input
Auto-Slide on Max Slope Angle

Add Variable Particles and Sounds depending on Surface with Vertex Paint support


RPM package of the go binary

[ ] Add RPM for release binaries

[x] initial spec
[ ] add to build pipeline

Initial version: https://github.com/gbraad/go-hvkvp/commit/92a37cdc61a717b1a0c65ac5e7de9fce3622210f
manually created with CentOS7 and Fedora26
$ yum/dnf install -y createrepo rpm-build
$ cp go-hvk-0.0.3.tar.gz ~/rpmbuild/SOURCES
$ rpmbuild -bb hvkvp.spec

$ docker run --name=centos7 centos:7
$ docker exec centos7 mkdir -p /root/rpmbuild/SOURCES
$ docker cp go-hvkvp-0.0.3.tar.gz centos7:/root/rpmbuild/SOURCES
$ docker cp hvkvp.spec centos7:/root/rpmbuild/SPECS
$ docker exec centos7 rpmbuild -bb /root/rpmbuild/SPECS/hvkvp.spec
$ docker cp centos7:/root/rpmbuild/RPMS/x86_64/go-hvkvp-0.0.3-1.el7.centos.x86_64.rpm public


OpenSSL Unknown Algorithm

Using keypair auth:
[1618273502356] ERROR (ext): ERROR: Error opening connection error:13000077:PKCS8 routines:OPENSSL_internal:UNKNOWN_ALGORITHM, {"code":-32001,"data":{"driver":"Snowflake","driverOptions":{}}}

Private key was generated using LibreSSL 2.8.3 in PKCS8 format

Same error message for me. Key works everywhere else I use it (DBeaver, snowsql, dbt, etc).

Same here. Anyone found a fix for this?

I saw this when I was using "snowflake-sdk" npm module in my project. The fact this also uses it (I haven't used sqltools-snowflake-driver, or know anything about it, was just linked here and wanted to provide some possible help) is a bit suspicious. The root cause points to "snowflake-sdk" by this reasoning.

Has anyone found a workaround to this issue? I still see the same situation:


Windows: clear Crystal::System::Process#@completion_key after use

This breaks a GC finalization cycle found in https://forum.crystal-lang.org/t/how-to-implement-resonable-process-timeout/6207/7.

I'm wondering: Does this mean we can remove the ensure block in thread_spec.cr mentioned in https://forum.crystal-lang.org/t/how-to-implement-resonable-process-timeout/6207/7 ?

That's unrelated, it's due to thread being reachable from its own @func's closure data


input: switch completely to survey package for all user inputs

Use the go survey package for all user inputs.

#17


Improve part list

I wanted for a long time to replace the part list with something that lets me add, change or delete entries without having to re-populate the entire list every time a change is made.
I think the way to go is using a DataViewCtrl in combination with a PyDataViewModel.
That also allows to sort the columns using anatural sort algorithm without having the database to do the sorting.

I'm currently working on a POC but that takes some time as it is a massive change

For those who are interested, I created a small test wx frame that uses DataViewCtrl and a data model PyDataViewModel.
DataViewCtrl: https://gist.github.com/Bouni/28651a1a6cc2dd4d2749612097801f97
datamodel: https://gist.github.com/Bouni/659b6f8a10132b6536a010f83f785c02

Natural Sort works without database, adding elements, modifiying elements and deleting elements works as well.
Still to do: Select alike, center icons

@Bouni what would the purpose be to add/update/remove entries or is that just showing the low level functionality of not having to rebuild the list each time?

Yes, Just test if everything we need works. With buttons for this test but later  automatically

Ok, so I added the datamodel and the DataViewCtrl into the Plugin as a basic test and it seems to work fine!

All Sorting is done without the database, I only poulate the List initialy from the database

I work on a PR that integrate this into the plugin, the changes will quite extensive as a lot of logic is no longer necessary


Problem when training code for center net only

when i trained this model, question raised that :
`
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/home/zhouxukun/miniconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
fn(i, *args)
File "/data1/zhouxukun/fcsgg/detectron2/detectron2/engine/launch.py", line 94, in _distributed_worker
main_func(*args)
File "/data1/zhouxukun/fcsgg/tools/train_net.py", line 148, in main
return trainer.train()
File "/data1/zhouxukun/fcsgg/detectron2/detectron2/engine/defaults.py", line 410, in train
super().train(self.start_iter, self.max_iter)
File "/data1/zhouxukun/fcsgg/detectron2/detectron2/engine/train_loop.py", line 142, in train
self.run_step()
File "/data1/zhouxukun/fcsgg/detectron2/detectron2/engine/train_loop.py", line 235, in run_step
loss_dict = self.model(data)
File "/home/zhouxukun/miniconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/zhouxukun/miniconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 886, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/home/zhouxukun/miniconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/data1/zhouxukun/fcsgg/fcsgg/modeling/meta_arch/onestage_detector.py", line 297, in forward
self.preprocess_gt(gt_scene_graphs, images.tensor.shape[-2:], image_ids)
File "/data1/zhouxukun/fcsgg/fcsgg/modeling/meta_arch/onestage_detector.py", line 261, in preprocess_gt
gt_scene_graphs[i] = self.gt_gen(x, image_size, image_id, training=self.training)
File "/data1/zhouxukun/fcsgg/fcsgg/data/detection_utils.py", line 639, in call
training=training)
File "/data1/zhouxukun/fcsgg/fcsgg/data/detection_utils.py", line 540, in generate_gt_scale
range_side = torch.tensor(size_range)
RuntimeError: Could not infer dtype of NoneType
`
How to solve it?

Also when i tried to use different scale, for example, with no output scale, the model tends to get nan value at 12 iteration. So any helpful solutions?

Also what does the function : check_image_size defined for ? i tried to train the model but failed several times by this functions?

Please attach the config you were using. Loss becomes NaN normally is because you set a too large learning rate. check_image_size you may need to check detectron2, I remember it checks if the image size (tensor shape) matches what is defined in the dataset dict.

Please attach the config you were using. Loss becomes NaN normally is because you set a too large learning rate. check_image_size you may need to check detectron2, I remember it checks if the image size (tensor shape) matches what is defined in the dataset dict.

The config file is Base-CenterNet.yaml

You could try set cfg.INPUT.GT_SCALE_AWARE to False.


A Survey on Transactional Stream Processing / Shuhao Zhang, Juan Soto, Volker Markl

URL: https://arxiv.org/pdf/2208.09827.pdf
Review (1-2 sentences): The authors made a big research on different stream processing systems and their transactional guarantees. You will find a classification of transactional stream processing systems, and tradeoffs in the design of real implementations.

Published in Digest #23.


[Event Request] Application “Tests-ERM”, Codeunit 132522 "Sales-Calc. Discount Test"

[Event Request] Application “Tests-ERM”, Codeunit 132522 "Sales-Calc. Discount Test"

Could you please insert an OnTestInitialize at the beginning of procedure Initialize?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Disable nondeterministic implementation for max_pool2d_backward

We disable the nondeterministic implementation of max_pool2d_backward by default, so that to avoid potential accuracy issues.
The background is that we encountered eager two-run-differ problems with alexnet (without enabling deterministic). However, CUDA could run without enabling it. To align with the CUDA's behavior, we decided to always go to the deterministic path in this kernel.
This PR adds a flag XPU_ALLOW_UNDETERMINISTIC. In the future, we may enable this path for performance consideration.

Please fix compilation error.


Cannot run the training commands in the Readme.md

I have a problem running all these commands.
Specifically, by running the 'Place' task
python main.py --task "place" --algo ppo --use-gae --lr 2.5e-4 --clip-param 0.1 --value-loss-coef 0.5 --num-processes 1 --num-steps 2840 --num-mini-batch 4 --log-interval 1 --use-linear-lr-decay --entropy-coef 0.01

Firstly, it has the error : FileNotFoundError: [Errno 2] No such file or directory './result/result.txt'
I manually mkdir ./result and then the error is as follows:

I tried running the 'Joint Macro/Standard cell Placement' task:
python EDA-AI/main.py --task "fullplace" --algo ppo --use-gae --lr 2.5e-4 --clip-param 0.1 --value-loss-coef 0.5 --num-processes 1 --num-steps 2840 --num-mini-batch 4 --log-interval 1 --use-linear-lr-decay --entropy-coef 0.01

It also has the error : FileNotFoundError: [Errno 2] No such file or directory './DeepPlace/result/result.txt'
I manually mkdir ./DeepPlace/result
Then it said: FileNotFoundError: [Errno 2] No such file or directory './DeepPlace/data/n_edges_710.dat'

This cannot be fixed by manually mkdir ./DeepPlace/data, there is no  n_edges_710.dat in this directory.

It seems that you first need to update your code and then create a new folder named "result" under EDA/AI.

There is a solution for your first question in the previous Issus: https://github.com/Thinklab-SJTU/EDA-AI/issues/10#issuecomment-1128276403. Hope that will be helpful.
There is no need to create ./DeepPlace/result. Just try

cd ..
python EDA-AI/main.py --task "fullplace" --algo ppo --use-gae --lr 2.5e-4 --clip-param 0.1 --value-loss-coef 0.5 --num-processes 1 --num-steps 2840 --num-mini-batch 4 --log-interval 1 --use-linear-lr-decay --entropy-coef 0.01

I found the solution to the first problem in https://github.com/Thinklab-SJTU/EDA-AI/issues/10 and it works!
The second one is about the fullplace_env.py, some paths are fixed and should be corrected.
Also, you may need to change PlaceObj.py in Line 577, pass a value not the tensor to fill_()


Add nginxreceiver and normalizesumsprocessor

Do Not Merge before opentelemetry-operations-collector#46.
Additions:

A new receiver of type nginx, which is supported on both windows and linux
A new validation tag, url, which performs some minimal validation on nginx's endpoint field
A new processor type, normalizesums, which is useful for any receiver that submits counter metrics to google cloud monitoring (include nginx)
Several golden config test cases for nginx, both valid and invalid

QQ: Is this PR meant to have a documentation markdown file on how to set up and configure the receiver, or is that a different PR?

The code itself LGTM except we could revert the temporary .gitmodules change now.
Besides the documentation need Josh mentioned, we'd also like to get a successful integration test run. This requires some collaboration with @martijnvans . The initial integration test PR is at https://github.com/GoogleCloudPlatform/ops-agent/pull/154.

I am sending https://github.com/GoogleCloudPlatform/ops-agent/pull/157 with  clarified instructions for how to test a new application.

QQ: Is this PR meant to have a documentation markdown file on how to set up and configure the receiver, or is that a different PR?

I will add documentation before marking this PR ready for review.

The code itself LGTM except we could revert the temporary .gitmodules change now.
Besides the documentation need Josh mentioned, we'd also like to get a successful integration test run. This requires some collaboration with @martijnvans . The initial integration test PR is at #154.

I am sending #157 with clarified instructions for how to test a new application.

I'm following these threads, and will add an integration test when they are merged.

As discussed today, there will be two follow up PRs, one for docs, and the other for the integration test.

Per discussion offline:

We are merging this PR to an nginx branch and push follow up doc and integration PRs there first. Once the launch is approved internally, we will get this nginx branch merged to the master branch. This way other bug fixes and features on the master branch can be released any time.

@jsuereth @quentinmit - Any additional comments?


Name EC2 hosts

If we set the ec2 instance hostnames then we'll get better logs and info when ssh-ing (we're nearly there, with internal DNS setup, adding the hostname is the last part)

Note: might be able to just pull the dns name via the userdata (or by querying the internal dns config) on the startup script...


[6.1.0] syncValidateFailed set to true after calling initialize

On some of my wizard-style forms, I manually call the initialize action creator to initialize the form.
In 6.0.5, if I initialized the form I would then be able to to submit the form immediately. In 6.1.0, syncValidateFailed is getting set to true and I can't submit until I update a field at which point the sync errors are reevaluated and syncValidateFailed goes away.
I do have a field that's failing sync validation, however it isn't registered at the time so this shouldn't be causing the issue.

This must be related to #1892 #1819.

+1 for this error. syncValidateFailed field will not go away until you fill in form and change its value.

+1 syncValidateFailed will go away after the second redux-form/CHANGE event dispatched.

The wizard example is broken as well:
http://redux-form.com/6.1.0/examples/wizard/

I'm seeing the same thing as @letranloc. Does #1945 solve this? and what's the ETA for release?
Thanks @ortex and @erikras!

Published fix in v6.1.1.


Remove an unused type parameter from Command::spawn()

And write a test for all the methods.

Thanks! Should I release a new version?

Not yet IMO, let me keep trying to get fd working


Use function for sidebar col width and responsive offcanvas

Maybe instead of functions, we should use filters/actions?

Sure! Just quickly wrote this for the sidebar.php
<div class="<?= apply_filters('bootscore_sidebar_cols', 'col-md-4 col-lg-3'); ?> order-first order-md-last">

With this people can do the following in their child theme:
add_filter('bootscore_sidebar_cols', 'bootscore_sidebar_cols_function');
function bootscore_sidebar_cols_function($string) {
  return 'col-lg-4';
}

Which will then override col-md-4 col-lg-3.
Maybe we should do this too with the containers?

The thing is that we have to do this with containers and main-col as well. Means that we must edit all files again, rewrite the docs and keep existing functions in the trash file to not create breaking changes. I'm fine with the functions right now and we can adress this to v6?

Sure, we can make a big breaking change for this with v6. Seems like a good plan.


Prevent LLM request on querying a tree with a single root node

I have a tree index with non uniform shape. Some of the nodes have only a single child, and there is only one root node.
It seems like the tree_index query could be optimized something like:
cur_node_list = get_sorted_node_list(cur_nodes)
if len(cur_node_list) == 1:
    # jump to recursive call on leaf node

I am happy to make the PR to do this if the maintainers would like.

The bug that brought me to this is that the LLM is more likely to select an invalid answer (e.g. ANSWER 4.) if there is only one node choice for it to pick.

@kpister thanks for surfacing, apologies for the delay. if you wanted to open a PR feel free to!


VK_KHR_descriptor_update_template not supported

Description
See title. VK_KHR_descriptor_update_template is now required by DXVK and it's part of the 1.1 core specification, so it would be nice to have support for it in RenderDoc as well.
Environment

RenderDoc build: v1.0
Operating System: Arch Linux
API: Vulkan

This should now be supported - I wasn't set up to test DXVK but I did find another program that used update templates and the capture/replay worked correctly there.
Please let me know if you run into any problems with the latest code.


feat: levels.fyi to company pages 💸

re: pull request #332
Closes #320
Description ✏

Added the Levels.fyi logo to the following images folder.
Added Levels.fyi link to companies page.
Implemented w/ Tooltip component.
Added 'levels-fyi' to query function argument.

Type of Change 🐞

[x] Feature - A non-breaking change which adds functionality.
[ ] Fix - A non-breaking change which fixes an issue.
[ ] Refactor - A change that neither fixes a bug nor adds a feature.
[ ] Documentation - A change only to in-code or markdown documentation.
[ ] Tests - A change that adds missing unit/integration tests.
[ ] Chore - A change that is likely none of the above.

Checklist ✅

[x] I have done a self-review of my code.
[ ] I have manually tested my code (if applicable).
[ ] I have added/updated any relevant documentation (if applicable).

fixed the format issue in PR #330 while testing. Closes #321


Add n_tables accessor to Hashbits

Companion to #879
This adds khmer::Hashbits::n_tables() as a convenience method.

[ ] Is it mergeable?
[ ] Did it pass the tests?
[ ] If it introduces new functionality in scripts/ is it tested?
Check for code coverage with make clean diff-cover
[ ] Is it well formatted? Look at make pep8, make diff_pylint_report,
make cppcheck, and make doc output. Use make format and manual
fixing as needed.
[ ] Did it change the command-line interface? Only additions are allowed
without a major version increment. Changing file formats also requires a
major version number increment.
[ ] Is it documented in the ChangeLog?
http://en.wikipedia.org/wiki/Changelog#Format
[ ] Was a spellchecker run on the source code and documentation after
changes were made?

@mr-c: Any desire for these to appear in python-land? I could add that to this PR

retest this please

@kdmurray91 Naw, another day. Thanks!