Issue while running this example

Whenever I try to run this example this error pops while running any python statement in the app
Error: MissingPluginException(No implementation found for method runPythonScript on channel chaquopy)
at Object.throw_ [as throw] (http://localhost:59989/dart_sdk.js:5348:11)
at MethodChannel._invokeMethod (http://localhost:59989/packages/flutter/src/services/system_channels.dart.lib.js:962:21)
at _invokeMethod.next ()
at http://localhost:59989/dart_sdk.js:39230:33
at _RootZone.runUnary (http://localhost:59989/dart_sdk.js:39087:58)
at _FutureListener.thenAwait.handleValue (http://localhost:59989/dart_sdk.js:34073:29)
at handleValueCallback (http://localhost:59989/dart_sdk.js:34633:49)
at Function._propagateToListeners (http://localhost:59989/dart_sdk.js:34671:17)
at _Future.new.[_completeWithValue] (http://localhost:59989/dart_sdk.js:34513:23)
at async._AsyncCallbackEntry.new.callback (http://localhost:59989/dart_sdk.js:34536:35)
at Object._microtaskLoop (http://localhost:59989/dart_sdk.js:39374:13)
at _startMicrotaskLoop (http://localhost:59989/dart_sdk.js:39380:13)
at http://localhost:59989/dart_sdk.js:34887:9
any solution to this??

can you post all the code?

Nope Script.py is same didnt even touch it just downloaded it and put it into the python file in the project
pubspec.yaml
name: try_chaq
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
chaquopy: ^0.0.9
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
plugin:
platforms:
android:
package: com.chaquopy.chaquopy
pluginClass: ChaquopyPlugin
app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.android.application'
apply plugin: 'com.chaquo.python'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 30
sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
    applicationId "com.example.try_chaq"
    minSdkVersion 16
    targetSdkVersion 30
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
    ndk {
        abiFilters "armeabi-v7a","x86"
    }
    python {

        buildPython "C:/Users/prakhar12/AppData/Local/Programs/Python/Python38/python.exe"

        pip {
            install "numpy==1.17.4"
            install "pandas==0.25.3"
        }
    }
    android {
        sourceSets {
            main {
                python.srcDir "src/main/python"
            }
        }
    }
}
buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}

}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
android/gradle
package android
buildscript {
ext.kotlin_version = '1.4.31'
repositories {
google()
jcenter()
maven { url "https://chaquo.com/maven" }
}
dependencies {
    classpath 'com.android.tools.build:gradle:4.0.1'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath "com.chaquo.python:gradle:9.1.0"
}

}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
the main.dart and chaquopy.dart are the same as your example code , if you want I can mail the project files over to you as well if this isnt clear.

kindly sync gradle before use. you can do it by going into android directory and then running the following command 👍
./gradlew --refresh-dependencies

kindly sync gradle before use. you can do it by going into android directory and then running the following command 👍
./gradlew --refresh-dependencies

I tried its showing this error
Build file 'C:\Users\prakhar12\StudioProjects\try_chaq\android\build.gradle' should not contain a package statement.

kindly sync gradle before use. you can do it by going into android directory and then running the following command 👍
./gradlew --refresh-dependencies

I tried its showing this error
Build file 'C:\Users\prakhar12\StudioProjects\try_chaq\android\build.gradle' should not contain a package statement.

The sync was succesful after I removed "package android" line from android/build.gradle but the error is still there

it's different issue, please resolve it on your own. This is for chaquopy_flutter plugin related bugs only. for android related help use stackoverflow. thanks.


Angular 12 support

fix #1

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

v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Add back linscan-entry PR benchmarking

The PR wasn't run in the past, since Sandmark didn't support custom versions of OCaml for PRs and only supported 5.1.0. We now support custom runs running with different versions of OCaml
Related #12 and e1bf8847bc0cfbd9276f9464bbe407a5133d8394

Closing stale PR


Suggestion:  Azure Event Grid Viewer inclusion is overkill and confusing, use Queues instead

This is just a suggestion from my experience using these pages.  This article is helpful at hooking up Events with your Azure Communication Services.
However, at some point it asks you to deploy an entire service utilizing both SignalR and a separate web app.  From a purely demo perspective this might be fine, but in any real subscription (even one used for dev or qa purposes), it's uncomfortable to just click a button to automatically deploy some services to it.  Additionally, the "accompanying blog post" that you link to is from 2018 and references .NET Core RC1.  While the actual underlying code seems to have been more recently updated, this does not give me much confidence in actually deploying the code.
It seems far simpler to setup your Event Grid with a storage queues account and drop the messages in the queue as they come in.  There is very little to deploy (just a new queue), has virtually no cost, they're easy to find, and other than the need to copy/paste them into a better viewer, they're just as easy to see as they come in.

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

ID: c85bf1e1-94d9-3b11-3636-6cbe9cc793e5
Version Independent ID: f77bf9b9-c192-a5cd-05a9-fcadff6c5a65
Content: Quickstart - Handle EMAIL and delivery report events - Azure Communication Services
Content Source: articles/communication-services/quickstarts/email/handle-email-events.md
Service: azure-communication-services
Sub-service: email
GitHub Login: @Anmolbohra
Microsoft Alias: anmolbohra

FYI -- I've been trying to build a functioning email service (with knowledge of delivery status) and finding the documentation difficult to follow.  I added 4 issues to various pages but they all relate around this issue.  Adding the links here in case it's helpful.
https://github.com/MicrosoftDocs/azure-docs/issues/111221
https://github.com/MicrosoftDocs/azure-docs/issues/111222
https://github.com/MicrosoftDocs/azure-docs/issues/111225
https://github.com/MicrosoftDocs/azure-docs/issues/111224

Hi @DonThompson thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hello @DonThompson , thank you for your feedback. Yes, there is an option to use storage queues. The documentation just gives one example on how these events could be consumed. For more information on other ways and tactics, EventGrid has a good amount of documentation on that. But thank you, I'll look into updating the documentation.

#please-close


Add Option to Calculate Median AUROC

🚀 Feature

Allow the user to calculate the median area under the receiver operating characteristic (AUROC).
Motivation

In a classification setting where each sample can vary widely in size (e.g. graph neural networks with differing input graph sizes), it would be desirable to choose the median AUROC as the final AUROC value for a given epoch.
Pitch

A simple option called "median" could be added to TorchMetric's existing AUROC function that allows users to specify that they would like the final AUROC value computed to be the median AUROC value computed over the current epoch.

Do you mind clarifying what you mean by 'median over the epoch'? Do you mean AUROC is computed separately per batch and then all the per-batch and then you want to store them until the end of the epoch and compute the median?
If you are using Lightning, you can do that right now by returning appropriate things from your <phase>_step and then computing median in <phase>_epoch_end for example.
In terms of metrics, I think we can have a meter similar to AverageMeter that will compute median, but this will likely requiring storing the entire history of per-batch values.

@maximsch2,
Thank you for reminding me of the <phase>_step and <phase>_epoch_end hooks in Lightning. I should easily be able to implement a solution to calculate the median AUROC of all the validation and testing dataset batches (separately). My only concern is, in the solution I have outlined below, will DDP facilitate aggregation of all the validation AUROC values for each batch when I go to iterate over all the generated scores in validation_epoch_end?
`    def validation_step(self, batch, batch_idx):
"""Lightning calls this inside the validation loop."""
# Make a forward pass through the network for an entire batch of validation graph pairs
graphs1, graphs2, labels = batch[0], batch[1], torch.flatten(torch.tensor(batch[2][0], device=self.device))
logits = torch.flatten(self(graphs1, graphs2))
    # Make predictions
    preds = torch.round(torch.sigmoid(logits))
    int_labels = labels.int()

    # Calculate the batch loss
    bce = self.bce(logits, labels)  # Calculate BCE of a single batch
    self.val_acc(preds, int_labels)  # Calculate Accuracy of a single batch
    val_auroc = self.val_auroc(preds, int_labels)  # Calculate AUROC of a single batch
    self.val_auprc(preds, int_labels)  # Calculate AveragePrecision of a batch

    # Log validation step metric(s)
    self.log('val_bce', bce, sync_dist=True)

    return {'loss': bce, 'val_auroc': val_auroc}

def validation_epoch_end(self, outputs):
    """Lightning calls this at the end of every validation epoch."""
    self.log('val_acc', self.val_acc.compute())  # Log Accuracy of an epoch
    val_aurocs = torch.tensor([output_dict['val_auroc'] for output_dict in outputs])
    self.log('med_val_auroc', torch.median(val_aurocs))  # Log MedAUROC of an epoch
    self.log('val_auprc', self.val_auprc.compute())  # Log AveragePrecision of an epoch
    self.val_acc.reset()
    self.val_auroc.reset()
    self.val_auprc.reset()`

No, I think you'll need to communicate those yourself, check out self.gather_all_tensors method on LightningModule for that. _epoch_end hook will be called on all workers, but only rank 0 will log, so you want to gather results to that place. There will be a memory cost of aggregating all the results on one node, so be mindful of the size of your dataset there.
If your dataset size makes this impractical, then there are tricks we can play and potentially provide from torchmetrics:
Similar to AverageMeter we can have something like ApproximatePercentileMeter that would either do some sort of reservoir-sampling or binning based strategy to find the median (or another percentile)

@maximsch2,
Do you possibly know of any examples I can reference for how to properly use self.all_gather (is this the function you are referring to?) for my LightningModules to collect metric values?

@amorehead this should work:
def validation_step(self, batch, batch_idx):
    """Lightning calls this inside the validation loop."""
    # Make a forward pass through the network for an entire batch of validation graph pairs
    graphs1, graphs2, labels = batch[0], batch[1], torch.flatten(torch.tensor(batch[2][0], device=self.device))
    logits = torch.flatten(self(graphs1, graphs2))

    # Make predictions
    preds = torch.round(torch.sigmoid(logits))
    int_labels = labels.int()

    # Calculate the batch loss
    bce = self.bce(logits, labels)  # Calculate BCE of a single batch
    self.val_acc(preds, int_labels)  # Calculate Accuracy of a single batch
    val_auroc = self.val_auroc(preds, int_labels)  # Calculate AUROC of a single batch
    self.val_auprc(preds, int_labels)  # Calculate AveragePrecision of a batch

    # Log validation step metric(s)
    self.log('val_bce', bce, sync_dist=True)

    return {'loss': bce, 'val_auroc': val_auroc}

def validation_epoch_end(self, outputs):
    """Lightning calls this at the end of every validation epoch."""
    # concatenate for the device
    val_aurocs = torch.cat([output_dict['val_auroc'] for output_dict in outputs]), dim=0)
    # concatenate over all devices
    val_aurocs = torch.cat(self.all_gather(val_aurocs), dim=0)

    self.log('val_acc', self.val_acc.compute())  # Log Accuracy of an epoch
    self.log('med_val_auroc', torch.median(val_aurocs))  # Log MedAUROC of an epoch
    self.log('val_auprc', self.val_auprc.compute())  # Log AveragePrecision of an epoch
    self.val_acc.reset()
    self.val_auroc.reset()
    self.val_auprc.reset()

@SkafteNicki,
I'll give your suggestion a try to see how it goes. Thank you very much for the quick reply!

@SkafteNicki,
Just to double-check, what should the size (dimensions) of val_aurocs be after executing "val_aurocs = torch.cat([output_dict['val_auroc'] for output_dict in outputs]), dim=0)"?


CC: WebApi "Always on" generating fail requests every 5 min

The deployed web api service has "Always On" turned on, which will have the front-end load balancer to send a request to the application root every 5 minutes: https://learn.microsoft.com/en-us/azure/app-service/configure-common?tabs=portal.
This can be seen from application insight:

We probably don't want to disable "Always On". We can map the application root to the health check end point or come up with better solutions.

Now using health checks to keep app always on


Unable to upload file on IE9

The following error is shown:
SEC7111: HTTPS security is compromised by res://ieframe.dll/http_400.htm
SEC7111: HTTPS security is compromised by res://ieframe.dll/ErrorPageTemplate.css
SEC7111: HTTPS security is compromised by res://ieframe.dll/errorPageStrings.js
SEC7111: HTTPS security is compromised by res://ieframe.dll/httpErrorPagesScripts.js
SEC7111: HTTPS security is compromised by res://ieframe.dll/info_48.png
SEC7111: HTTPS security is compromised by res://ieframe.dll/bullet.png
SEC7111: HTTPS security is compromised by res://ieframe.dll/bullet.png
SEC7111: HTTPS security is compromised by res://ieframe.dll/bullet.png
SEC7111: HTTPS security is compromised by res://ieframe.dll/down.png
SEC7111: HTTPS security is compromised by res://ieframe.dll/background_gradient.jpg
SCRIPT1014: Invalid character
require-jquery.3f5c3fe4.js, line 1 character 52163
SEC7111: HTTPS security is compromised by res://ieframe.dll/down.png

Most of these points towards an issue with the invalid cert. However, one of the lines is pointing towards a real code issue/production build issue.

Assigning to @mrvisser for investigation

The invalid character error is a red herring for the file just not being uploaded properly. Seems we can't disable the file input element lest IE9 nuke it from DOM.

Closing in favour of associated PR


Mappings for 'Esc' KeyboardEvent key values are missing.

KeyboardEvent key values in keyboard_maps.dart have mappings for 'Escape' but not for the older 'Esc' key values.
These values were used by older IE and Firefox browsers, and are still being generated by the Cobalt browser.
(Specifically, this is causing problems when running a Flutter-Web app on Cobalt and using the back button on the TV remote.  The KeyboardEvent generated by Cobalt has an 'Esc' key value, which then does not get interpreted by Flutter as an LocalKeyboardKey.escape event.)
See the note on the 'Escape' value here:
https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#ui_keys

cc @dkwingsmt

Hi @egramond, Thanks for filing the issue. Can you please share the steps to verify the issue along with the output of flutter doctor -v?
Thanks

This is a bit tricky to reproduce, as it requires running Flutter-Web on a Cobalt browser (or some really old Firefox browser).
There is more details on our internal bug at: b/236048950
I made an attempt at fixing the issue that was wrong because I was editing a generated file, but it did have a unit test that catches the issue. You can see it here:
https://github.com/flutter/flutter/pull/106059/commits/58fa5754dc31dab90f0068615654a409f9be8fe2#diff-ac9c378fae8af8f4ffb68fad0b56e14f9f15ab797a0e7271a3690317a4df9c59

Thanks for the info @egramond, Looks like the bug is identified and a related PR is ready to be merged. Labeling it as a valid bug.


Have contribution points for markdown extensions that are file specific

I'd like to add a bunch of extensions to the markdown preview (i.e. custom CSS, potentially my own plugins and a custom script), but not for the general markdown preview, but only for a custom file type. As far as I can tell, that is not possible right now? Is that something that could be added?

Can you share more information about the use case for this?

Sure!
I maintain the julia extension and I'd like to use it there.
The scenario is that we have a custom file type with the ending .jmd (julia markdown). That format is a little bit like R markdown/notebooks, in that one can have julia code blocks in there, and then "weave" these docs, so that these code blocks run and the output of the code block gets inserted into the document that is generated from the jmd file.
Ideally I'd like to have a scenario where one can have the jmd file open in the text editor on the right, with the markdown preview for it on the left. And then one can run individual code cells on the left, and the preview on the right automatically inserts the output from the code runs into the preview.
I believe I could do all of this with the existing extension points in theory, but of course I a) only want that functionality for jmd files, not for generic md files, and b) I want this to always happen for jmd files, so essentially I don't want other extensions to be able to add say another plugin, CSS or something like that for jmd files. And ideally I would want to reuse the markdown preview extension for this, and not copy-paste all the code in it over into our own extension. Plus, it would be nice if we didn't have to add a new command a la "Julia Markdown preview", but could just hook into the existing preview commands.
Let me know if this is unclear or you need more info!

Thanks. For your use case, you do want .jmd files to be treated essentially just like normal markdown files (but with these special contributions for the preview)? Essentially, does your extension set:
	"files.associations": {
		"*.mjd": "markdown"
	}

to re-use our built-in markdown extensions features, or does it provide its own julia markdown language?
I ask because another way this could be implemented is exposing a Show preview api from the markdown extension. That would make sense if you define a separate language instead of reusing the default markdown one

We define it as its own language with id juliamarkdown, that seemed generally safer and made it easier to for example have our language server support those files directly.
So I think your second suggestion probably makes most sense for us. For example an API a la your suggested Show preview that I can configure to use a certain number of markdown extensions or something like that.

Based on discussion, closing in favor of #75612


Rename functions whose deprecated variants have been removed

Notes:

Pull requests cannot be accepted until the PR follows the contributing guidelines. In particular, each commit must have at least one Signed-off-by: line from the committer to certify that the contribution is made under the terms of the Developer Certificate of Origin.
This is just a template, so feel free to use/remove the unnecessary things

Description
A few sentences describing the overall goals of the pull request's commits.
Status
READY/IN DEVELOPMENT/HOLD
Requires Backporting
When there is a bug fix, it should be backported to all maintained and supported branches.
Changes do not have to be backported if:

This PR is a new feature\enhancement
This PR contains changes in the API. If this is true, and there is a need for the fix to be backported, the fix should be handled differently in the legacy branch

Yes | NO
Which branch?
Migrations
If there is any API change, what's the incentive and logic for it.
YES | NO
Additional comments
Any additional information that could be of interest
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

Steps to test or reproduce
Outline the steps to test or reproduce the PR here.

Please remove commit 442fdc22eac7ae24c507543529a887ec33482165 from this PR. It's already been merged.

Please remove commit 442fdc2 from this PR. It's already been merged.
This is a draft PR which I created for some purpose and seems that forgot about it.
Can I just close and delete it?

Oh yes the topic did seem familar. Closing.


tests: counter: disable driver debug message

to avoid log log in test report, disable driver debug message
Signed-off-by: Hake Huang<EMAIL_ADDRESS>

@ulfalizer can you help to review, thanks in advance


Resolve deprecation warning for Python 3.9

Python 3.8 creates warnings that fail on stringent testing:
`aiodataloader.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Iterable, namedtuple
-- Docs: https://docs.pytest.org/en/latest/warnings.html`

I just came to make this same PR, and I see it has been sitting here for a few months already.
Is this project dead? Do you need someone to take it over or help keep it moving?

@syrusakbary This project dead?

I'm thinking of forking and releasing if it is.

Sorry for the delay, I've been working in other stuff. This PR looks good to merge

@syrusakbary Understandable. It is, afterall, the nature of open source. If you need any help maintaining, please let me know.


search on place broken

as a user I want to search on a a place name to explore healthsites in this area.
cape town
https://<IP_ADDRESS>/map?place=cape town

this seems to be working, can you test again ?


Though I'm the freshman for neovim, so the code in this PR is terrible, but I wish can improve lspsaga as best as I can.
I ADD some stuff might be useful, but the code is definitely not the best, some implements is stupid.
New feature:

ADD float term config

    float_term = {
        winblend = 25,                                 -- winblen of float_term
        shadow_background = false,           -- wether show dark background
    },

definition preview quit key config

definition_preview_quit = '<C-c>',      -- default to <C-c>

autojump on symbol in preview window
this is implements by this

local res = vim.fn.expand('<cword>')
open definition preview window
vim.fn.search(res) to jump on result
...

auto highlight finder's result without affect any native register
this is implements by

let g:search = @/
set hls
let @/ = expand('<cword>')
open_finder with result highlight in search
...
close_finder with let @/ = g:search
set nohls

BUGS:

if float_term is exit by user not hind by lspsaga, re open it will cause error (so we might need two option like open_new / resume floating window)

It's just my idea, I'm just trying to improve lspsaga's experience ( the way I implement it's not the best way but I keep trying)
Hope it can help you, even if it reduces the workload a little, wish you have a good day sir :100:
best wishes

no need use this way


Add simple 'read_gemfile' API

From @bitops on September 18, 2013 22:31
It would be quite convenient if Bundler exposed a simple API like Bundler.read_gemfile(path_to_gemfile) which took the path to a Gemfile, analyzed its dependencies, and returned a list of Gem specifications, similar to Bundler.setup. This API should just work without having to mess with environments or any such thing.
Copied from original issue: bundler/bundler-features#25

From @segiddins on March 8, 2015 0:25
This is already what a Bundler::Definition does under the hood...

I'm happy to close this as something a plugin should do

@segiddins do we have a list of desired plugins somewhere? Also do we explicitly require more code changes past 1.12 to allow people to create plugins?

you can already require 'bundler' so no, explicit changes are not required for this type of plugin. And I don't think these are really desired plugins per se, but more the sort of thing our users might want to make as plugins since it's functionality not core to bundler itself that we don't want to have to maintain

Gotcha, so the original creator can implement this feature on their own if they so desire, which means no changes are required on our part. Closing -


More tests

Codecov Report

Merging #1179 into develop will decrease coverage by 1.64%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1179      +/-   ##
===========================================
- Coverage    95.88%   94.24%   -1.65%
===========================================
  Files           48       32      -16
  Lines         3552     2049    -1503
===========================================
- Hits          3406     1931    -1475
+ Misses         146      118      -28


Fix: markdown render api change due to deprecation

closes #177
closes #781

@blacksmithgu I'm sorry for the ping but this just solves a ancient problem with obsidian-dataview with big impact and public interest. (also see my other pr's)

just tried this on android..
IT WORKS!!
gosh now I can finally go to bed.. 11:07 PM here..

behaviors for #1752, #1759, #2228 and #1075 have to be tested against master after this merge.

@blacksmithgu would you mind doing a release? this code change literally fixes embeds for everyone on this planet and even allows for recursion.


uuid field support

Fixed wrong class declaration.

Thanks for the contribution! A new release 0.12.0 is on it's way: https://pypi.python.org/pypi/django-autofixture/

Thank you!


Do we support event filtering？

I would also like to under how it will be supported in EM.

@ewcchan yes, this feature is on our roadmap.

@ewcchan yes, this feature is on our roadmap.

Thanks for the info.

Superseded by https://github.com/apache/eventmesh/issues/825 and https://github.com/apache/eventmesh/issues/3263


Multiple CUDA contexts with digits-server

To reproduce:

Turn off device_query caching

Change the default value for force_reload to True here

Run digits-server

After https://github.com/NVIDIA/DIGITS/pull/844, you should see this error in the server output:
...
cudaGetDeviceProperties() failed with error #3
...
return get_devices()[int(device_id)]
IndexError: list index out of range
...

gunicorn does a fork of the DIGITS server, and the server creates a CUDA context in the parent before forking. Then, when the child tries to call cudaGetDevicesProperties(), it fails with an initialization error. We need to make sure we don't make any CUDA calls in the DIGITS server before forking when running with gunicorn, if possible.

No longer an issue because gunicorn was removed with https://github.com/NVIDIA/DIGITS/pull/1127.


add run command code base

one of small Prs built from https://github.com/giantswarm/etcd-cluster-migrator/pull/1
the migration expects that cluster was created as a single node cluster and then it was upgraded to 3 nodes. So 1 etcd is already bootstrapped and the other two are not.
The whole process of adding node consist of 2 phases:
1 -  changing etcd3.service on the node so the initial cluster state is set for a node to join the cluster and then restarting the etcd3 service. This is done via pod which executes commands on the node.
2 - adding a new node to the etcdcluster database via etcd API
After that, we wait until the etcd node sync data and cluster is available again
This process is the same for the second and third node.
run command functionality creates a job on a specific node and executed command in the host namespace ( like executing from the machine itself. The commands are saved into the CM and mounted as volume do the pod.
Circle CI is red due code spread into multiple PRs, but as you can on the original big PR its green.
Other related PRs:
base components  - https://github.com/giantswarm/etcd-cluster-migrator/pull/2
migration code - https://github.com/giantswarm/etcd-cluster-migrator/pull/4

1 - changing etcd3.service on the node so the initial cluster state is set for a node to join the cluster and then restarting the etcd3 service. This is done via pod which executes commands on the node.

Why do you even need this? the --initial-cluster-state flag is ignored if the etcd node is already bootstrapped. You can remove it AFAIK. You just need to etcdctl member add the other two nodes and you're good to go. Am I wrong?

Why do you even need this? the --initial-cluster-state flag is ignored if the etcd node is already bootstrapped. You can remove it AFAIK. You just need to etcdctl member add the other two nodes and you're good to go. Am I wrong?

node is not bootstrapped until it joins a cluster so you need to set proper initial cluster state


[Enhancement] All About Air!

Changelog
The following aims to add in new triggers, conditions and mechanics having to deal with player air values.
Triggers

Air: Will trigger whenever a player gains or loses air. Players can choose what type to trigger for whether it be decreasing or increasing.

Mechanics

Air Set: Set's the targets value to a specific air amount. This is calculated in ticks and is bounded by the targets maximum air and -20.

Air Modify: Modifies the targets air value by a specified amount. This can be a negative or positive number and will add/subtract accordingly.

Conditions

Air: Will fire when a targets air value is between two numbers, measured in ticks,

You deleted my tests…
Speaking of, it would be good if you can add some for your new components

Testing code? Ew never...


navigator.geolocation.getCurrentPosition is very slow (Windows 10 mobile)

Hi,
Why in Windows 10 mobile the navigator.geolocation.getCurrentPosition return often Time Out ?
Thanks!

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link

I do not understand.
It means I have to wait for a new version?
Thanks

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link

This is not the place to ask questions, you can ask on https://cordova.slack.com or maybe http://stackoverflow.com/
Can you please close the PR?

Cordova CI Build has one or more failures.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link


implement class bmpl::frmt::MultiFilesBAHeaders

This task is a sub-part of #112 .
The related class is a helper to  get the next BMP image from a file.

Completed. Compiles. Still to be tested.


Add SwiftLint 0.56.2

Associated release: https://github.com/realm/SwiftLint/releases/tag/0.56.2

Hello @jpsim, modules you maintain (swiftlint) have been updated in this PR. Please review the changes.

looks like a failure

BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 sounds like it could resolve the failure. Let's see ...


For switch-string, if there is special char like \n in the case, it will print in another line

For the code below:
case "\n":  $out_string .= "\n"; break;
The \n is not encoded, vld will print the opcode after \n in another line.  When print switch-string table, should encode the key and value.

I have fixed the issue and created a pull request. Please review it.

@derickr  I know you are busy, can you take a little time to review whether the code is OK?

I had merged this on April 14th already, but I had forgotten to push my changes to GitHub. Should be there now, and thanks!


[Integration]: cASPER BRIDGE

Project name
Casper Bridge
URL to be whitelisted
https://casper-swap.netlify.app
Code audit/review URL if available
https://github.com/ferrumnet/casper-bridge-frontend
Project description
This repository contains the frontend implementation for the shell application for completing EVM to NON EVM token swaps between casper and evm networks mainly.
Project's phase
Design
Who is the project owner?
Private person
Project owner's name
Nick odio
What kind of Web3 functionality will you be offering in your product?
token bridge
Contact details
N/A
Link to the code
https://github.com/ferrumnet/casper-bridge-frontend
Is this a project by an enterprise partner of Casper Association or CasperLabs?
Yes
Grant/proposal number if this is a project funded by the DEVxDAO
N/A

Dear @ibraheemkabir ,
I verified the next steps with the team developing and managing Signer and the new Casper Wallet. The recommended direction is to integrate your application directly with Casper Wallet. Casper Wallet is Live. You can find the details like reference integration, FAQs and other info from here.
Please check and let me know in case of any challenges in integrating with Casper Wallet.


Add prettier-browser

This is a very handy way of playing out with prettier without having to install it. People have already been using it actively in the issues. Putting it directly inside of the repo would be better than on mine.
Result can be seen here: https://vjeux.github.io/prettier-browser/
Once this is merged in, need to enable github pages in the docs/ folder in the master branch.

Right now, you need to manually run npm run build:docs in order to generate it. Need to do it when you do a new release. Also, need to bump the version number in the html file. All this can probably be automated in the future.

Okay, moved to docs/

I don't think the failing test is my fault...

The test is weird. It should be fixed. Have you rebased onto latest master?

https://github.com/jlongster/prettier/pull/124 passed so I bet you haven't rebased on latest master. We can ignore the failure.

Awesome thanks!

I think a note in README will be nice.

You can also add the url as the website field of github, it has a lot of distribution. (until there's a real website of course!)

I like url in website field of github.


Add table aws_servicecatalog_product. closes #1637

Integration test logs

Logs

No env file present for the current environment:  staging
 Falling back to .env config
No env file present for the current environment:  staging
customEnv TURBOT_TEST_EXPECTED_TIMEOUT undefined

SETUP: tests/aws_servicecatalog_product []

PRETEST: tests/aws_servicecatalog_product

TEST: tests/aws_servicecatalog_product
Running terraform
data.aws_canonical_user_id.current_user: Reading...
data.aws_partition.current: Reading...
data.aws_caller_identity.current: Reading...
data.aws_region.primary: Reading...
aws_cloudformation_stack.named_test_resource: Refreshing state... [id=arn:aws:cloudformation:us-west-2:232543242545:stack/turbottest76249/7bcf1180-d2f2-11ed-84f9-0abf3e889d17]
data.aws_region.primary: Read complete after 0s [id=us-west-2]
data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_region.alternate: Reading...
data.aws_region.alternate: Read complete after 0s [id=us-east-2]
data.aws_caller_identity.current: Read complete after 1s [id=232543242545]
data.null_data_source.resource: Reading...
data.null_data_source.resource: Read complete after 0s [id=static]
aws_servicecatalog_product.named_test_resource: Refreshing state... [id=prod-ixhfhhomvj5nc]
data.aws_canonical_user_id.current_user: Read complete after 2s [id=d1a8fb36ce85e6f4a77eec13f53958565ce292fb0c7f8fce671bb0a9eb25dd40]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # aws_cloudformation_stack.named_test_resource must be replaced
-/+ resource "aws_cloudformation_stack" "named_test_resource" {
      - disable_rollback   = false -> null
      ~ id                 = "arn:aws:cloudformation:us-west-2:232543242545:stack/turbottest76249/7bcf1180-d2f2-11ed-84f9-0abf3e889d17" -> (known after apply)
      ~ name               = "turbottest76249" -> "turbottest41153" # forces replacement
      ~ outputs            = {} -> (known after apply)
      ~ parameters         = {} -> (known after apply)
      + policy_body        = (known after apply)
      - tags               = {} -> null
      ~ tags_all           = {} -> (known after apply)
      - timeout_in_minutes = 0 -> null
        # (1 unchanged attribute hidden)
    }

  # aws_servicecatalog_product.named_test_resource will be updated in-place
  ~ resource "aws_servicecatalog_product" "named_test_resource" {
        id               = "prod-ixhfhhomvj5nc"
      ~ name             = "turbottest76249" -> "turbottest41153"
      ~ owner            = "turbottest76249" -> "turbottest41153"
        tags             = {
            "foo" = "bar"
        }
        # (7 unchanged attributes hidden)

      ~ provisioning_artifact_parameters {
          ~ template_physical_id        = "arn:aws:cloudformation:us-west-2:232543242545:stack/turbottest76249/7bcf1180-d2f2-11ed-84f9-0abf3e889d17" -> (known after apply)
            # (2 unchanged attributes hidden)
        }
    }

Plan: 1 to add, 1 to change, 1 to destroy.

Changes to Outputs:
  ~ resource_name = "turbottest76249" -> "turbottest41153"
aws_cloudformation_stack.named_test_resource: Destroying... [id=arn:aws:cloudformation:us-west-2:232543242545:stack/turbottest76249/7bcf1180-d2f2-11ed-84f9-0abf3e889d17]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 10s elapsed]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 20s elapsed]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 30s elapsed]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 40s elapsed]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 50s elapsed]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 1m0s elapsed]
aws_cloudformation_stack.named_test_resource: Still destroying... [id=arn:aws:cloudformation:us-west-2:632902...9/7bcf1180-d2f2-11ed-84f9-0abf3e889d17, 1m10s elapsed]
aws_cloudformation_stack.named_test_resource: Destruction complete after 1m15s
aws_cloudformation_stack.named_test_resource: Creating...
aws_cloudformation_stack.named_test_resource: Still creating... [10s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [20s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [30s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [40s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [50s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [1m0s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [1m10s elapsed]
aws_cloudformation_stack.named_test_resource: Still creating... [1m20s elapsed]
aws_cloudformation_stack.named_test_resource: Creation complete after 1m27s [id=arn:aws:cloudformation:us-west-2:232543242545:stack/turbottest41153/4a9e07f0-d2f3-11ed-b365-02afcaec5883]
aws_servicecatalog_product.named_test_resource: Modifying... [id=prod-ixhfhhomvj5nc]
aws_servicecatalog_product.named_test_resource: Modifications complete after 4s [id=prod-ixhfhhomvj5nc]

Warning: Deprecated

  with data.null_data_source.resource,
  on variables.tf line 44, in data "null_data_source" "resource":
  44: data "null_data_source" "resource" {

The null_data_source was historically used to construct intermediate values
to re-use elsewhere in configuration, the same can now be achieved using
locals

(and one more similar warning elsewhere)

Apply complete! Resources: 1 added, 1 changed, 1 destroyed.

Outputs:

aws_account = "232543242545"
aws_region = "us-west-2"
resource_aka = "arn:aws:catalog:us-west-2:232543242545:product/prod-ixhfhhomvj5nc"
resource_id = "prod-ixhfhhomvj5nc"
resource_name = "turbottest41153"

Running SQL query: test-get-query.sql
[
  {
    "name": "turbottest41153",
    "product_id": "prod-ixhfhhomvj5nc"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "name": "turbottest41153"
  }
]
✔ PASSED

Running SQL query: test-notfound-query.sql
null
✔ PASSED

Running SQL query: test-turbot-query.sql
[
  {
    "account_id": "232543242545",
    "akas": [
      "arn:aws:catalog:us-west-2:232543242545:product/prod-ixhfhhomvj5nc"
    ],
    "name": "turbottest41153",
    "region": "us-west-2",
    "title": "turbottest41153"
  }
]
✔ PASSED

TEARDOWN: tests/aws_servicecatalog_product

SUMMARY:

1/1 passed.

Example query results

Results
> select name, id, product_id, support_email, type, launch_paths, region from aws_silverwater.aws_servicecatalog_product
+------------------------------+------------------------+--------------------+--------------------+--------------------------+--------------+----------------+
| name                         | id                     | product_id         | support_email      | type                     | launch_paths | region         |
+------------------------------+------------------------+--------------------+--------------------+--------------------------+--------------+----------------+
| Turbot Enterprise            | prodview-s3n4ohyhfeqwi | prod-dhsaieuenbcnf |<EMAIL_ADDRESS>| CLOUD_FORMATION_TEMPLATE | <null>       | ap-southeast-1 |
| Turbot Enterprise Foundation | prodview-3h7e42hpheqwj | prod-dsahsajdioeen |<EMAIL_ADDRESS>| CLOUD_FORMATION_TEMPLATE | <null>       | ap-southeast-1 |
| Turbot Enterprise Database   | prodview-qb6olhac4hewq | prod-l5moplbdasakh |<EMAIL_ADDRESS>| CLOUD_FORMATION_TEMPLATE | <null>       | ap-southeast-1 |
+------------------------------+------------------------+--------------------+--------------------+--------------------------+--------------+----------------+

> select name, id, product_id, support_email, type, launch_paths, region from aws_silverwater.aws_servicecatalog_product where product_id = 'prod-l5mopl3eslmtm'
+----------------------------+------------------------+--------------------+--------------------+--------------------------+-------------------------------------------------------------+----------------+
| name                       | id                     | product_id         | support_email      | type                     | launch_paths                                                | region         |
+----------------------------+------------------------+--------------------+--------------------+--------------------------+-------------------------------------------------------------+----------------+
| Turbot Enterprise Database | prodview-s3n4ohyhfeqwi | prod-l5moplbdasakh |<EMAIL_ADDRESS>| CLOUD_FORMATION_TEMPLATE | [{"Id":"lpv2-u67uen7334wzs","Name":"Turbot [Development]"}] | ap-southeast-1 |
+----------------------------+------------------------+--------------------+--------------------+--------------------------+-------------------------------------------------------------+----------------+

@ParthaI please add the example query doc for this table.

@ParthaI I think we need to add support for optional quals in the ListConfig per https://docs.aws.amazon.com/servicecatalog/latest/dg/API_SearchProducts.html


Mention better diagnostics when unable to delete files in release notes

Follow up to https://github.com/gradle/gradle/pull/26011
and https://github.com/gradle/gradle/pull/26464
that fixed https://github.com/gradle/gradle/issues/25984

Thanks Laura!
@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


snowflake_schema is not idempotent

Provider Version
$ terraform version
Terraform v0.14.11
+ provider registry.terraform.io/chanzuckerberg/snowflake v0.25.24

Terraform Version
$ terraform version
Terraform v0.14.11
+ provider registry.terraform.io/chanzuckerberg/snowflake v0.25.24

Describe the bug
snowflake_schema is not idempotent.
Expected behavior
snowflake_schema is idempotent.
Code samples and commands
Create a snowflake_schema object managed by Terraform.
Then delete or rename it out-of-band from Terraform. Eg. ALTER SCHEMA "MY_DB"."MY_SCHEMA" RENAME TO "MY_DB"."MY_SCHEMA_BACKUP";.
Then run a plan/apply. It will error out saying:
Error: 002003 (02000): SQL compilation error:
Schema 'MY_DB.MY_SCHEMA' does not exist or not authorized.

Terraform should instead understand that the schema no longer exists and should offer to recreate it.

@MorganGellert were you able to find a workaround for the issue? I'm running into a similar problem but with pipe objects referencing a renamed schema

I ended up working around this by:

Dropping all affected STAGEs and PIPEs from the Snowflake database
Removing resources from the Terraform state (eg terraform state rm 'module.my_snowflake.snowflake_stage.my_stage)
Rerunning my CICD pipeline to recreate and bring the resources back under Terraform's management.

However, this solution is not workable for everyone since it forces (extra) downtime due to having to delete and recreate resources. Destroying via Terraform also doesn't work because of this issue.

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.


[MSIX] Side-loading fails if the user is not a member of the admin group

This may be an external bug.
Side-loading the PowerToys package, suing App Installer, fails if the user is not a member of the admin group.
It works if installed using Add-AppxPackage .\PowerToys.msixbundle.
The error is:

does the computer already have the cert installed?

For external reference, as this is currently self-signed in this scenario, we need to verify on a properly signed MSIX and our main use case is store install.

does the computer already have the cert installed?

Yes.
In this scenario, App Installer fails to start, it doesn't show any UI and I suspect it fails before reading the package.

Tested on two different machines (Windows 10 Pro and Windows 10 Home) and the problem doesn't reproduce anymore.


Error calling rs_wait_for_frames ( device:0x1ef4130 ):  Timeout waiting for frames.

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ SR300 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Linux (Ubuntu 16)

Kernel Version (Linux Only)
(4.15)

Platform
PC

SDK Version
{ legacy / 2.17.1}

Segment
{Robot/

Issue Description
I follow https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md. And I can run realsense-viewer successfully. But when I roslaunch wrist_camera.launch. There are some problems. It show
[ WARN] [1548052175.573291881]: /camera/driver - Detected unvalidated firmware:
-<PHONE_NUMBER>46's current camera firmware is <IP_ADDRESS>, Validated camera firmware is <IP_ADDRESS>
and
[ERROR] [1548052181.490165342]: /camera/driver - Error calling rs_wait_for_frames ( device:0x1ef4130 ):
Timeout waiting for frames.
I don't now what to do.
Details are as follows：
... logging to /home/baifan/.ros/log/c9163d90-1d45-11e9-a47e-7c2a3166d0dc/roslaunch-baifan-TM1801-6024.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://baifan-TM1801:46575/
SUMMARY
PARAMETERS

/camera/camera_nodelet_manager/num_worker_threads: 4
/camera/depth_rectify_depth/interpolation: 0
/camera/driver/base_frame_id: camera_link
/camera/driver/camera_type: SR300
/camera/driver/color_fps: 30
/camera/driver/color_frame_id: camera_rgb_frame
/camera/driver/color_height: 480
/camera/driver/color_optical_frame_id: camera_rgb_optica...
/camera/driver/color_width: 640
/camera/driver/depth_fps: 30
/camera/driver/depth_frame_id: camera_depth_frame
/camera/driver/depth_height: 480
/camera/driver/depth_optical_frame_id: camera_depth_opti...
/camera/driver/depth_width: 640
/camera/driver/enable_color: True
/camera/driver/enable_depth: True
/camera/driver/enable_fisheye: False
/camera/driver/enable_imu: False
/camera/driver/enable_ir2: True
/camera/driver/enable_ir: True
/camera/driver/enable_pointcloud: False
/camera/driver/enable_tf: True
/camera/driver/fisheye_frame_id: camera_fisheye_frame
/camera/driver/fisheye_optical_frame_id: camera_fisheye_op...
/camera/driver/imu_frame_id: camera_imu_frame
/camera/driver/imu_optical_frame_id: camera_imu_optica...
/camera/driver/ir2_frame_id: camera_ir2_frame
/camera/driver/ir2_optical_frame_id: camera_ir2_optica...
/camera/driver/ir_frame_id: camera_ir_frame
/camera/driver/ir_optical_frame_id: camera_ir_optical...
/camera/driver/mode: manual
/camera/driver/serial_no:
/camera/driver/sr300_auto_range_enable_laser: 0
/camera/driver/usb_port_id:
/camera/points_xyzrgb_sw_registered/queue_size: 100
/rosdistro: kinetic
/rosversion: 1.12.14

NODES
/camera/
camera_nodelet_manager (nodelet/nodelet)
depth_metric (nodelet/nodelet)
depth_metric_rect (nodelet/nodelet)
depth_points (nodelet/nodelet)
depth_rectify_depth (nodelet/nodelet)
depth_registered_sw_metric_rect (nodelet/nodelet)
driver (nodelet/nodelet)
ir_rectify_ir (nodelet/nodelet)
points_xyzrgb_sw_registered (nodelet/nodelet)
register_depth_rgb (nodelet/nodelet)
rgb_debayer (nodelet/nodelet)
rgb_rectify_color (nodelet/nodelet)
rgb_rectify_mono (nodelet/nodelet)
/
convert_depth_to_m (nodelet/nodelet)
realsense_link_broadcaster (tf/static_transform_publisher)
standalone_nodelet (nodelet/nodelet)
ROS_MASTER_URI=http://localhost:11311
process[camera/camera_nodelet_manager-1]: started with pid [6051]
process[camera/driver-2]: started with pid [6052]
process[camera/rgb_debayer-3]: started with pid [6053]
process[camera/rgb_rectify_mono-4]: started with pid [6054]
process[camera/rgb_rectify_color-5]: started with pid [6066]
process[camera/ir_rectify_ir-6]: started with pid [6078]
process[camera/depth_rectify_depth-7]: started with pid [6091]
process[camera/depth_metric_rect-8]: started with pid [6102]
process[camera/depth_metric-9]: started with pid [6115]
process[camera/depth_points-10]: started with pid [6132]
process[camera/register_depth_rgb-11]: started with pid [6143]
[ INFO] [1548052174.925630605]: Initializing nodelet with 4 worker threads.
process[camera/points_xyzrgb_sw_registered-12]: started with pid [6159]
process[camera/depth_registered_sw_metric_rect-13]: started with pid [6180]
process[standalone_nodelet-14]: started with pid [6197]
process[convert_depth_to_m-15]: started with pid [6212]
process[realsense_link_broadcaster-16]: started with pid [6230]
Intel RealSense F200_camera ; <IP_ADDRESS>
Intel RealSense LR200_camera ; <IP_ADDRESS>
Intel RealSense R200_camera ; <IP_ADDRESS>
Intel RealSense SR300_camera ; <IP_ADDRESS>
Intel RealSense ZR300_adapter ; <IP_ADDRESS>
Intel RealSense ZR300_camera ; <IP_ADDRESS>
Intel RealSense ZR300_motion_module ; <IP_ADDRESS>
[ INFO] [1548052175.573183462]: /camera/driver - Detected the following camera:
- Serial No:<PHONE_NUMBER>46, USB Port ID: 2-2-1-1, Name: Intel RealSense SR300, Camera FW: <IP_ADDRESS>
[ WARN] [1548052175.573291881]: /camera/driver - Detected unvalidated firmware:
-<PHONE_NUMBER>46's current camera firmware is <IP_ADDRESS>, Validated camera firmware is <IP_ADDRESS>
[ INFO] [1548052175.573365046]: /camera/driver - Connecting to camera with Serial No:<PHONE_NUMBER>46, USB Port ID: 2-2-1-1
[ INFO] [1548052175.749279013]: /camera/driver - Setting static camera options
[ INFO] [1548052175.749994844]: /camera/driver - Enabling Depth in manual mode
[ INFO] [1548052175.753628355]: /camera/driver - Enabling Color in manual mode
[ INFO] [1548052175.753932089]: /camera/driver - Enabling IR in manual mode
[ INFO] [1548052175.754151342]: /camera/driver - Starting camera
[ INFO] [1548052175.758592717]: /camera/driver - Publishing camera transforms (/tf_static)
[ INFO] [1548052175.758706424]: /camera/driver - Setting dynamic camera options
[ERROR] [1548052181.490165342]: /camera/driver - Error calling rs_wait_for_frames ( device:0x1ef4130 ):
Timeout waiting for frames.
[camera/camera_nodelet_manager-1] process has finished cleanly
log file: /home/baifan/.ros/log/c9163d90-1d45-11e9-a47e-7c2a3166d0dc/camera-camera_nodelet_manager-1*.log
[camera/driver-2] process has finished cleanly
log file: /home/baifan/.ros/log/c9163d90-1d45-11e9-a47e-7c2a3166d0dc/camera-driver-2*.log
Can you help me? I am a tiro. Thank you!

Hi @bf826989019,
Is the issue clarified/resolved with the correct wrapper and librealsense? If no support required, will close this.

I haven’t tried it yet. I will ask you in time after I have experimented. Thank you.

have you solved this problem? I also met this problem and had no thoughts


Dynamic token lifespan based on user input

I have the option config.token_lifespan set in my initializer for Devise Token Auth, but I want it to be dynamic.
For example, most websites have a checkbox for "Remember Me" or "Stay Signed In"
How (with DTA) can I set the default lifespan to 2 hours, but months long if the user hits the checkbox?

@matisoffn Did you solve that? if so, could you share the solution? Tks

+1

You can achieve it with #704


Ccls snippets not working

Describe the bug
Some time ago snippets just stopped appearing using the ccls language server, maybe after an update. Using the same client capabilities with clangd woks as expected. I'm not sure if this is a bug with compe, if it's a bug with lsp-config please tell me.
To Reproduce
relevant part of the configuration
local lspconfig = require('lspconfig')

local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport = {
  properties = {
    'documentation',
    'detail',
    'additionalTextEdits',
  }
}

lspconfig.ccls.setup {
	capabilities = capabilities,
	init_options = {
		cache = {
			directory = "/tmp/ccls"
		},
		index = {
			threads = 4;
		},
	}
}

Actual behavior
using ccls:

Expected behavior
using clangd:

using this client configuration:
lspconfig.clangd.setup {
	capabilities = capabilities
}

But clangd is buggy with their imports, and ccls used to provide better snippets.

@toniz4 If this problem caused by updating nvim-compe, Please git bisect it.

Tried going back some releases, but i didn't find a working commit. Tried the same thing with lsp-config with no success. There is any way I can debug this?

Please provide your config. Do you set up mapping for confirmation?

Here is my nvim configuration: https://github.com/toniz4/neovim-config

Do you set up mapping for confirmation?

Yes, all the important configuration is at lua/modules/lsp.lua, but snippets works fine with clangd, lua-lsp-server and gopls.


Add a file code file written in C++ of linear search

Add a file code file written in C++ of linear search

I would like to solve this issue.


Adding applypatch sample for <IP_ADDRESS>

This resolves #496 by creating the correct sample for <IP_ADDRESS>.
Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Done, done and done. Note that the <IP_ADDRESS> folder didn't have an empty 001 directory, so I created them in both locations.

Thank you.


Unable to retrieve child resources "ProducerError: Electron Net Error"

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.31.2
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20231003.6
Platform
Windows
OS Version
No response
Bug Description

I added a self-signed certificate (.pfx and pw) to the VS Code Azurite extension settings.
Closed VS Code and Storage Explorer.
Reopened them both.
Started the Azurite Services (Blob, Table and Queue) in VS Code. They all open as "HTTPS"
Opened Storage Explorer
Clicked on Emulator & Attached then expanded (Emulator - Default Ports) (Key) then Blob Containers
Error appeared:Unable to retrieve child resources

ProducerError:{
  "name": "Electron Net Error",
  "message": "net::ERR_EMPTY_RESPONSE",
  "stack": "Error: net::ERR_EMPTY_RESPONSE\n    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49935)\n    at SimpleURLLoaderWrapper.emit (node:events:513:28)",
  "cause": {}
}

If I remove the path to cert.pfx and pw for the cert from the VS Code Azurite Extension Settings, then close and reopen everything, start the services, etc., there is no error and the Emulator Blob Containers open as normal. Though everything is now HTTP. I need to enable HTTPS.

How do I properly enable HTTPS between VS Code Azurite Extension and Azure Storage Explorer?
Steps to Reproduce

I added a self-signed certificate (.pfx and pw) to the VS Code Azurite extension settings.
Closed VS Code and Storage Explorer.
Reopened them both.
Started the Azurite Services (Blob, Table and Queue) in VS Code. They all open as "HTTPS"
Opened Storage Explorer
Clicked on Emulator & Attached then expanded (Emulator - Default Ports) (Key) then Blob Containers
Error appeared:

Actual Experience
See above
Expected Experience
Azurite would connect to Storage Explorer using HTTPS
Additional Context
Captured above.

Anything you can do to unblock here would be great. I'm unable to test an Azure Function (queue-triggered that downloads a blob).
Thank you!

@ericthomas1 thank you for opening the issue!
Can you please:

Since you're needing to rely on a manually imported certificate please go to Settings (gear on the left) > Application > Proxy, and first uncheck "Auto Manage Proxy Settings", then set the dropdown to "Do Not Use Proxy".
Can you confirm for us how you imported your self signed certificate into Storage Explorer? Specifically, did you convert it to a base 12 .cer file?

Hello @MRayermannMSFT,

Completed
I created a self-signed .pfx cert using PowerShell.

Are the instructions for creating a base 12 .cer file documented?

@ericthomas1  to convert to base12 .cer file, you can:

Right click on the file > "Open"
Go to "Details" tab
Click "Copy to File..."
Go through the wizard and choose "Base-64 encoded X.509 (.CER) when prompted
Finish the Wizard

I think I have it...
Steps:

openssl req -newkey rsa:2048 -x509 -nodes -keyout key.pem -new -out cert.pem -sha256 -days 365 -addext "subjectAltName=IP:<IP_ADDRESS>" -subj "/C=CO/ST=ST/L=LO/O=OR/OU=OU/CN=CN"
certutil –addstore -enterprise –f "Root" cert.pem
Add cert.pem and key.pem to the Azurite VS Code Extension Extension Settings
Start the Azurite VS Code Extensions. All show https
Import cert.pem  into Storage Explorer via the Edit -> SSL Certificates -> Import Certificates dialog
Restarted Storage Explorer
Connect to an Emulated Storage Account:

In Storage Explorer, click Connect (plug icon)
Select Storage Account or Service
Select Connection String
Name the Connection and paste in the HTTPS Connection String: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://<IP_ADDRESS>:10000/devstoreaccount1;QueueEndpoint=http://<IP_ADDRESS>:10001/devstoreaccount1;TableEndpoint=http://<IP_ADDRESS>:10002/devstoreaccount1;


Fix the ISSUE #630

Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.

Issue Title
Please enter the title of the issue related to your pull request.
#630  [Code Addition Request]: Linear regression using gradient decent.

[x] I have provided the issue title.

Info about the Related Issue
What's the goal of the project?
This is gradient decent based linear regression machine learning model

[x] I have described the aim of the project.

Name
Please mention your name.
Suvadip Sana

[x] I have provided my name.

GitHub ID
Please mention your GitHub ID.
Suvadip-sana

[x] I have provided my GitHub ID.

Email ID
Please mention your email ID for further communication.
<EMAIL_ADDRESS>
[x] I have provided my email ID.

Identify Yourself
Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
gssoc-extd & hacktoberfest contributer

[x] I have mentioned my participant role.

Closes
Enter the issue number that will be closed through this PR.
*Closes: #630 *

[x] I have provided the issue number.

Type of Change
Select the type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Describe how your changes have been tested.
*Tested in Jupyter notebook in my local machine.

[x] I have described my testing process.

Checklist
Please confirm the following:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@UTSAVS26   Please merge this asap if possible.


Nonrigid deformation not working for 3D to 2D projection

Hi,
Thanks for your CPD implementation.
I'm having trouble matching a 3D model to points extracted from a 2D picture. It works fine with the affine deformation, but the result is not very precise (I'm guessing because the pinhole camera model needs nonrigid deformation).
When I try the nonrigid deformation, the source data is not modified and the error is unbelievably small. I don't understand, am I doing anything wrong or is there a problem with the deformable_registration class? I'm attaching my code (very close to the example code) and the results in both cases.
Thanks,
Gaetan
from functools import partial
from mpl_toolkits.mplot3d import Axes3D
from pycpd import deformable_registration, affine_registration
import time

def visualize(iteration, error, X, Y, ax):
    plt.cla()
    ax.scatter(X[:,0],  X[:,1], X[:,2], color='red', label='Target')
    ax.scatter(Y[:,0],  Y[:,1], Y[:,2], color='blue', label='Source')
    ax.text2D(0.87, 0.92, 'Iteration: {:d}\nError: {:06.4f}'.format(iteration, error), horizontalalignment='center', verticalalignment='center', transform=ax.transAxes, fontsize='x-large')
    ax.legend(loc='upper left', fontsize='x-large')
    plt.draw()
    plt.pause(0.001)

target = np.loadtxt("PointClouds/" + testp[:-4] + ".pcd", skiprows = 11)
X1 = np.zeros((target.shape[0], target.shape[1] + 1))
X1[:,:-1] = target
X2 = np.ones((target.shape[0], target.shape[1] + 1))
X2[:,:-1] = target
X = np.vstack((X1, X2))

source = np.loadtxt('SmallFrame.pcd', skiprows = 11)
Y1 = np.zeros((source.shape[0], source.shape[1] + 1))
Y1[:,:-1] = source
Y2 = np.ones((source.shape[0], source.shape[1] + 1))
Y2[:,:-1] = source
Y = np.vstack((Y1, Y2))

fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
callback = partial(visualize, ax=ax)

reg = deformable_registration(**{ 'X': X, 'Y': Y })
reg.register(callback)
plt.show()

Affine:

Nonrigid:

You can set alpha to a smaller value. This will reduce the regularization force that keeps the point together during non-rigid transformation.
With that being said, non-rigid deformation is not a suitable transformation for modelling a 3D-to-2D projection. You should look into a projection matrix. Unfortunately, I have not implemented such a transformation, and I do not intend to as this was not covered in the original CPD paper.


Support  literal object as body in json in expectation

Hello,
I used expectation's deserializers in java. If I specifig body as literal object then body in expectation is null. But stringified object ('xxx \n xxx\n xxx\n') is not human readable.
I saw issue #204. And I decide that body can be stringified object only, and cannot be literal object. How hardly is to support deserialization from object?
It it true place?:
https://github.com/jamesdbloom/mockserver/blob/master/mockserver-core/src/main/java/org/mockserver/client/serialization/deserializers/body/BodyDTODeserializer.java#L78 ?

What type of client are you using, javascript, java, ruby, etc?
Objects need to be serialised so they can be sent to MockServer over the network so they will always need to be converted into a string.
I have add some static build methods so you can specify the json body as an object as follows:
json(new TestObject())

In addition if you want to avoid specifying the object as a string literal using something to convert the object to a string literal, for example:
in java:
new ObjectMapper().writeValueAsString(...)

in javascript:
JSON.stringify(...)

I'm going to close this issue as there is nothing further to add.  The next release in the next week or so will include the static json builder methods that now accept object, as follows:
json(new TestObject())

We used logged json files for testing in java. This test data is not readable.


[Doc Improvement][Add a note to raise service request to already published apps][2651838]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 0104f7f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 5d596d3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 15052ea:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 57bcc63:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 577ce9a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit d78a719:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

I have resolved the conversation.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 32d7720:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit c3c9a2d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:warning:Warning
View
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md

Line 61, Column 153: [Warning: file-not-found - See documentation] Invalid file link: '~/concepts/build-and-test/manage-your-apps-in-developer-portal'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 8fe61ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/build-and-test/teams-developer-portal.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 1ea2b46:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


No vendor folder in node-sass at Hello World example

Hi, I tried serving the default Hello-World app.
I cannot serve the webapp using npm run serve due to no vendor folder in downloaded node-sass.
Error Message & Stack Trace
ERROR in ./~/css-loader!./~/sass-loader!./~/postcss-loader!./src/index.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:945:18)
    at Object.getInstalledBinaries (/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/node-sass/lib/extensions.js:119:13)
    at foundBinariesList (/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/node-sass/lib/errors.js:45:5)
    at Object.<anonymous> (/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/node-sass/lib/index.js:15:28)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/touchtenmac-14/Documents/PHOEN/finance-tracker/node_modules/sass-loader/index.js:4:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
 @ ./src/index.scss 4:14-158

Environment

node-sass version 3.8.0
generator-fountain-angular1 version 0.6.0

node-sass version in package json is "node-sass": "^3.4.2"

Used Technologies:

angular1
sass
webpack
plain javascript

Solution
After searching to multiple threads,
this issue caused by changes made from node-sass 3.4.x to higher version.
I can fix this serving issue by rebuild the node-sass using this command:
npm rebuild node-sass
I found the solution in this issue thread davezuko/react-redux-starter-kit#791

Hi @phoenleo Which versions of node/npm do you have ?

Hi @micaelmbagira,
I use node ver 6.2.2 and npm ver 3.10.6

Alright, I see you've found a solution. Probably something went wrong during the npm install...

@micaelmbagira I just ran into this exact same issue as @phoenleo and his solution worked for me as well

I had the same problem node-sass vendor not found each i ran "npm run dev".
laravel 5.4
node 7.10.0
npm 4.2.0
I did notice when i check node-module\node-sass that the vendor folder is missing. But after a few research online and lots of try and error, i found the simple solution is to rebuild the sass module by simply running:

npm rebuild node-sass
npm run dev

I am also facing same problem from couple of days , now its done . Thanks Man


nacmartin/phpexecjs

I have read the docs on nacmartin/phpexecjs site,
I couldn't get v8js running as an extension on wamp, however the EXternalRuntime doesn't seem to fire either
as the system is still crashing with
An exception has been thrown during the rendering of a template ("PhpExecJs: Cannot autodetect any JavaScript runtime") in recipe\home.html.twig at line 4.

I have the same problem. Anyone can help?

Mmm. I'll have a look at it. It looks like phpexecjs can't find node.exe. I will have to install Windows first, though.

Yes it's true. i found solution. Tomorrow I will send pull request.

Nice! Thanks! Note that there is an ongoing PR for this exact issue: https://github.com/nacmartin/phpexecjs/pull/3/files
I looked at it, but

I have to install windows first and I have had two quite busy weeks.
I don't like that it tries to look for the binary node.exe in addition to node as if it was a separate engine. If we add more runners (spidermonkey, ...) then every runner will have to be duplicated with .exe added.  Ideally, it should detect if it is running in Windows and try to find the binary with .exe or some other way particular to Windows.

This is exactly the same what I did.

I've added node.exe to Runtimer autodetector and changed findBinaryPath method.

@bartosz-malec any progress with the PR?

getting the same error. Any fix?

Ok, this should be fixed now by https://github.com/nacmartin/phpexecjs/commit/4b95e346f589d5e67bd4ce15cec73ae50eb40a16

Having a similar problem I think ?
Not sure why it wants to run phpexecjs from AppData\Local\Temp
getting

An exception has been thrown during the rendering of a template ("The exit status code '1' says something went wrong:
stderr: "'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
"
stdout: ""
command: C:\Program Files\nodejs\node.exe C:\Users\Razva\AppData\Local\Temp\nacmartin_phpexecjs57e39ce961d449.83094437.js.") in recipe\home.html.twig at line 4

For the sake of reporting, this should have been fixed by https://github.com/nacmartin/phpexecjs/pull/7


Reverse and Delay don't work properly together

When using delay together with direction:'reverse' the animation starts immediately instead of waiting the delay amount.
Ideally, it should work as gsap.from, the property should be set immediately and the reversed animation should start after the provided delay.
Here the example:
https://codepen.io/abusedmedia/pen/dyYEZxW?editors=0010

Since it's reversed, I believe you actually want to use endDelay instead of delay.

That's correct indeed. It works as expected. I was misled by how gsap actually works. Thanks for the tip.


sending more than one stat (delimitted by \n) for bufferedclient over udp

Currently, buffered client optimizes only at the level of each "key" being updated if many of them come before a flush happens.
However, SendEvent is called for each key, and then an fmt.Fprintf(c.conn...) for every stat in that event. This leads to quite a lot of udp traffic.
The statsd protocol supports sending more than one stat by separating by \n. By doing so, we will reduce the number of fmt.Fprintf(c.conn...) calls, thereby reducing udp traffic.

done


re-export will cause problem?

// main.js
import { ns } from './file1'
console.log(ns.a);

// file1.js
import defer * as ns from './file2'
export {ns}

// file2.js
export let a = 10;

In this case, we execute main.js, when will file2 be executed?
According to spec, after Instantiate, ns will binding with file2, but main.js doesn't use defer, it will assume file1 already evaluated, and get  a is not initialized error.

Hi @LMM-7xyx
File2 will be executed on line 2 of main at ns.a.

In namespace getproperty, file2 doesn't mark defer, it will still evaluate?  It seems file2's execute point changed since current import spec will execute file2 in line1, and developer doesn't change main.js file.

thanks。I have another question，why doesn‘t support import defer ｛x｝from “./
file” and choose namespace import. Is there any potential risks? Because I thought  nameSpace import is low efficiency.

Given:
import defer｛x｝from “./file”;

export function f() {
   return x;
}

Then return x would trigger the evaluation of the import. The concern is that this is too subtle. And in a larger file developers would too easily miss where state could change.
With a namespace import the trigger is always a property access ns.x, this is less surprising that it can have side-effects because properties can be getters. So it is already the case that a property access can cause other code to evaluate.

// main.js
import defer * as ns2 from './file1'
console.log(ns2.ns1.a);

// file1.js
import defer * as ns1 from './file2'
export {ns1}

// file2.js
export let a = 10;

In this case, we execute main.js, will file1 be executed? and when?

It will be executed when accessing ns2.ns1, regardless of what ns1 actually is.

// main.js
import defer { a } from './file1'
console.log(a);

// file1.js
import defer { a } from './file2'
export { a }

// file2.js
export let a = 10;

Thx. what about this case?

No, import defer only works with namespace imports.


BC: Drop Bower support

Hey!
Bower is deprecated :( See https://bower.io/blog/
Thank

Released as https://www.npmjs.com/package/js-acl/v/1.0.0
Thank you for your contribution ;)


Merge 2.0 docs to master

@Conorbro
We've stuff editing both master and 2.0, so I want to sync up to avoid too many conflicts.

👍


Improve YAFFS signature

The current, simple YAFFS signature has several flaws, and a regression in not being able to detect yaffs2 images (read: images created with mkyaffs2image tool) since https://github.com/ReFirmLabs/binwalk/commit/46d8a3231d47002cc6d02837d207110858b70cd3.
Therefore, the current signature failed to find valid YAFFS images during tests, both with generated test images and in a real world scientific use-case examining an Android device NAND dump.
Unfortunately, the YAFFS on-disk format is poorly documented and mainly defined by the memory layout of the reference implementation found here: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blob;f=yaffs_guts.h;h=74ded0be526f1f44c91ce90a6d54cc52bb338cf0;hb=HEAD#l329
I propose the signatures in the attached commit, where we recognize the start of an object header defined by yaffs_obj_hdr, with the values being encoded depending on platform endianess:
u32 type  /* enum yaffs_obj_type, valid 1-5  */
u32 parent_obj_id; /* 1 for root objects we recognize */
u16 sum_no_longer_used; /* checksum of name. Not used by YAFFS and memset to 0xFF */
YCHAR name[YAFFS_MAX_NAME_LENGTH + 1];

Notes:

mkyaffsimage always writes a root directory with empty name, then processing the target directory contents.
mkyaffs2image directly proceeds to writing entries with the appropriate u32 YAFFS_OBJECT_TYPE (1-5 valid), each with parent id

From a test set of 9 images generated with different contents and versions of the reference implementation, the old signature recognized 5, while the improved signature recognized all images and displayed additional data where appropriate (root file name). Attached for reference are the test images, as well as the old and new logs generated when executing binwalk directly on these files.
Various remaining parameters (NAND layout, ECC, etc.) do not seem to have an effect on the object header examined here.
Correct execution could also be verified with the device dump in question.
binwalk_old.log
binwalk_new.log
testimages.tar.gz

Ping @devttys0 as potential code owner to thank for his awesome work on the binwalk signature magic :+1: Glad to answer any questions.

Thanks! This has been integrated into Binwalk v3.


Add git_aliases to index

@mjcdiggity Thanks. What about turning all those slow aliases that need to be evaluated at the start of the shell (every time) to functions, that fish will load lazily and guarantee no change in startup time.

@bucaran aye aye captain!


[zh] Update _index.md

Sync doc about extend-kubernetes

/retitle [zh] Update _index.md

This one is being reworked, see #32087

/close


Fix: support tenant label by updating version of null-label module for aws_dynamodb_table

what

Bump null-label module for aws_dynamodb_table resource to 0.25.0 in order to support tenant label.

why

context.tf in this module supports tenant because its instantiation of null-label has been auto-updated to 0.25.0, but the instantiation of null-label module for the aws_dynamodb_table resource has not been updated.

references

https://github.com/cloudposse/terraform-null-label/releases/tag/0.25.0

/test all


IO does not appear to be asynchronous with the compute phase

Around line 261 in dlio_benchmark/dlio_benchmark/main.py, there is the main loop to read and simulate the computation time.
    loader = self.framework.get_loader(dataset_type=DatasetType.TRAIN)
    t0 = time()
    for batch in dlp.iter(loader.next()):
        self.stats.batch_loaded(epoch, overall_step, block, t0)

When I run my code with native_dali (I understand this isn't fully supported yet).  The first step reports a reasonable process, but all subsequent response are much larger.
I have been adjusting my .yaml file for the resnet50_h100 case.  My current computation_time is 0.1 seconds.  If I set the computation_time to zero, the actual time reported is ~0.055 sections, which is the fastest my storage can do for this configuration.
The time reported for loaded, which is the from the batch_loaded() function for all steps > 1 is the actual IO time.  So the processed time is the IO time plus the computational time.  It's as if IO is not being done asynchronously.
Until the dali reader is fixed, I can't test that.  I want to get this written down in case it also affects the dali reader.
[INFO] 2024-04-02T17:40:01.359388 Rank 0 step 1: loaded 400 samples in 9.298324584960938e-05 s
[INFO] 2024-04-02T17:40:01.479351 Rank 0 step 1 processed 400 samples in 0.12005329132080078 s
[INFO] 2024-04-02T17:40:01.534976 Rank 0 step 2: loaded 400 samples in 0.05459904670715332 s
[INFO] 2024-04-02T17:40:01.636629 Rank 0 step 2 processed 400 samples in 0.15625238418579102 s

Yes, we are aware of this issue. There is some CPU function blocking the I/O call in native_dali. We are working on a PR to address that.


Unlinking file with versions won't unlink main file

I'm having an issue:
When I delete a file for which I have generated a thumbnail, the thumnail file (in the file system) is deleted, but not the original file downloaded.
I'm using Meteor-Files 1.9.11* with Meteor 1.7 on Mac OS 10.12.6 with Version 68.0.3440.106 (Official Build) (64-bit).
This is a server issue.  A file which I think should be deleted/unlinked is not, and there's no good way I can see to do that.
When I look at server.js, unlink is defined at line 1471 and my read of this code suggests that the bug is here.  If there is a versions object, then all the versions are deleted, but the original is not.
Maybe there is an intended way to use this that I don't understand, but it seems to me that instead of an else clause that deletes the primary file, it should always delete the primary file, after checking to see if their are versions, and so on.
Here's a debug log, with one line added by my code (beginning with [Thumbnail])
I20180904-14:39:45.386(-7)? [FilesCollection] [download(/cdn/storage/Images/HEq5wvcB35fmeaida/original/HEq5wvcB35fmeaida.jpg, original)]
I20180904-14:39:45.387(-7)? [FilesCollection] [serve(assets/app/uploads/Images/HEq5wvcB35fmeaida.jpg, original)] [200]
I20180904-14:39:45.392(-7)? [FilesCollection] [_preCollectionCursor.observe] [removed]: HEq5wvcB35fmeaida
I20180904-14:39:45.462(-7)? [FilesCollection] [findOne("HEq5wvcB35fmeaida", undefined)]
I20180904-14:39:45.467(-7)? [Thumbnail] generated and linked for  HEq5wvcB35fmeaida
I20180904-14:39:45.512(-7)? [FilesCollection] [download(/cdn/storage/Images/HEq5wvcB35fmeaida/thumbnail/HEq5wvcB35fmeaida.png, thumbnail)]
I20180904-14:39:45.513(-7)? [FilesCollection] [serve(assets/app/uploads/Images/thumbnail-HEq5wvcB35fmeaida.png, thumbnail)] [200]
I20180904-14:40:03.688(-7)? [FilesCollection] [remove({"_id":"HEq5wvcB35fmeaida"})]
I20180904-14:40:03.694(-7)? [FilesCollection] [unlink(HEq5wvcB35fmeaida, undefined)]

I plan to work around this for now by grabbing the path to the primary and using fs to delete it myself after calling remove(), unless you have a better suggestion.

Hello @gischer ,
Do you have any updates on this one? Sorry for the late reply.
If it's still relevant, could you post a code used to call .remove() method?

Just a remark
const fileRef = Images.find(imageId).fetch()[0];
You could do
const fileRef = Images.findOne(imageId).get();

Hello @gischer,

When I look at server.js, unlink is defined at line 1471 and my read of this code suggests that the bug is here. If there is a versions object, then all the versions are deleted, but the original is not.

versions object always has original object where fileObj.versions.original.path === fileObj.path
And we can not reproduce same issue. Try latest available package release, maybe it's solved.
Feel free to reopen it in case if the issue is still persists on your end.


Instructions to compile insufficient for Fedora 36

Issue

Key
Value

OS
Fedora Linux 36 (KDE Plasma) x86_64

Host
Laptop (12th Gen Intel Core) A4

Kernel
5.18.19-200.fc36.x86_64

Shell
zsh 5.8.1

Resolution
2256x1504, 3440x1440

DE
Plasma 5.25.4

WM
KWin

Terminal
konsole

CPU
12th Gen Intel i5-1240P (16) @ 4.400GHz

GPU
Intel Alder Lake-P

Memory
31806MiB

$ dnf install git libusb-1.0-0-dev pkg-config
2 . $ git clone --depth=1 https://github.com/raspberrypi/usbboot
$ cd usbboot; make

Output

cc -Wall -Wextra -g -o rpiboot main.c `pkg-config --cflags --libs libusb-1.0` -DGIT_VER="\"1e651a88\"" -DPKG_VER="\"20220815~145439\""
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libusb-1.0', required by 'virtual:world', not found
main.c:1:10: fatal error: libusb.h: No such file or directory
    1 | #include <libusb.h>
      |          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:4: rpiboot] Error 1

Attempted Fixes
I tried installing pkgconf and ncurses-compat-libs through dnf.

We can't offer specific Fedora support, but you could try installing pkgconf separately, before libusb-1.0-0-dev.

Thanks! Yep, figured this was user error on my part.
Working fix
rm -rfv "<your path here>" # /home/user/usbboot in my case
sudo dnf install libusb1-devel
git clone --depth=1 https://github.com/raspberrypi/usbboot
cd usbboot
make

👍