List of servers returned by --list is not consistent

Some servers (regular ones) appear in the list then, when fetching the list with --list a few minutes later, they are gone.
I have as well noticed that the list feature sometimes don't return servers closer than ~400km

I'm experiencing the same. It's strange that --list --debug output is missing all the servers from my country, but when I do the exact same GET request speedtest-cli is doing via curl, I see them just fine. It worked without problems a few days back (definitely worked fine on 2020-10-03). I'm normally using server 1363.
python3 speedtest-cli --list --debug 2>&1 >debug.txt

debug.txt
curl -sSL 'http://www.speedtest.net/speedtest-servers-static.php?threads=8&x=1602082198880.0' -o curl.txt

curl.txt

Thanks for your update @Disassembler0 - I see the same as you do. That is annoying as I cannot cron a job with a specific server as it is not deterministic if the server will be available a the time of run.

I am having the same issue, cronjob to run an automated python script for me is useless. The server list does not return a full list of servers as it always has this seems to have broken recently or just been very inconsistent as of recently so it only works randomly now.


Add variant ID to 'utilities' -> 'merge variants' in admin interface

One of the use cases for merging variants is where we have inadvertently created two variants, each with a set of evidence items but the variants are duplicates.  Sometimes even the name is an exact match.  When the variant names are identical, it is hard to tell which to "keep" in the merge action of the admin interface.
This could be made unambiguous by displaying the IDs of the entities to be merged along with the variant name and gene name that are currently shown.
Overall this utility is working nicely and is very helpful!

Added in master!


Runtime environment configuration

Coverage remained the same at 100.0% when pulling 1bc46e4d6f35cb21ee7013e52cf4f412b0166d07 on minor/runtime-config into aafb09a5a86e68b89d70db3eb3c0751c70297570 on master.


Replace references to sponsors with use cases names

In an effort to generalize, we need to move away from naming things in METplus by sponsors and rather name it by use case.
USWRP = qpf
SBU = feature_relative  (other than in tc2cyclone_relative.py)
ExTC = feature or feature_relative
This may be a separate issue but putting it here for now...
Also - we need to figure out how to allow specific references to models in the .conf but not have that embedded in .py code
GFS = remove GFS from GFS_FCST_FILE_TMPL and GFS_ANLY_FILE_TMPL (see met_util.py)

This has been resolved. We changed all conf items to start with FCST_ if they correspond to model data and OBS_ if they correspond to observation data. References to specific data sources have also been removed from the code.


Can this be made available in the command palette?

Bonjour,
Thanks for this nice plugin that is simple and do the job.
Is there a way to use the plugin without the mouse?
I can't find obsius from the command palette.

I've added commands in the new version, 1.1.0.
Thanks for the suggestion 👍


RAM use for Af diversity_stats

For some reason, running af.diversity_stats uses an enormous amount of RAM (at least on Colab and Datalab). It crashes even my Pro sessions with 12GB of RAM. I tried:
af1.diversity_stats(
cohorts="cohort_admin2_year",
cohort_size=10,
region="3RL:1,000,000-2,000,000",
sample_query="country == 'Gabon'",
site_mask='funestus',
site_class="CDS_DEG_4"
)
and the same for Ghana (resp. 40 samples in one cohort and 31+29 in 2 cohorts) that fail in the same way.
Trying the same thing with Ag works fine (though, it also crashes due to RAM use if 'site_mask' is dropped). I tested on Gabon with 5 cohorts including 3 that have more than 60 samples.

Thanks Jon, that shouldn't be happening, especially when you're only providing a relatively small genome region for the diversity computation.

The higher memory use is triggered by the site_class parameter:

Hi @jonbrenas, just to mention I have a solution to this over in #501.


[DOCFIX] Update headers in right menu to redirect to section

What changes are proposed in this pull request?
Update headers so that once it's clicked in the right side menu, it redirects to its section, instead of external aws link
Why are the changes needed?
menu should redirect to section
Does this PR introduce any user facing changes?
n/a

alluxio-bot, merge this please


[2.1rc1/0] SubCCB-Animations Bug?

If you have a spritesheet timeline in a CCSprite CCB file (a monkey scratching). This animation will appear in CocosBuilder when placed in the Level. However it does not play on xCode/iOS.
Reverting to CCBReader+CCBAnimationManger/CocosBuilder 2.1Beta2 and it works as expected. Unfortunately the Beta build is not suitable for our game (several other bugs), so will have to progress on the RCs.
The issue appears to be with the CocosBuilder xCode libraries and not the application - to some degree... The Beta will play the sub-CCB animation but we are unable to animate the CCB in a CCLayer -> this was fixed in RC0 but appears to have damaged playing CCB files. I believe issue 105 was to correct this behavior?

@vlidholt has any progress been made to this issue in later releases or may be in sprite builder that can be fixed in cocosbuilder as well ?
I seem to face the same issue as mentioned in the thread below -
http://discuss.cocos2d-x.org/t/bugs-ccb-file-sub-ccbfile-cannot-run-loop-animation/7264


No dot (.) in the regex (Define roles and their associated permissions)

The documentation states in Define roles and their associated permissions, that it is not allowed to us the dot (.) in the regex.
Today I stumbled over this limitation and I have the following suggestions:

The best solution of course would be to remove this limitation, because it is awkward to offer regex but at the same time limit it in such way
Explain in the documentation, what the reason for this limitation is.
Add examples, how this could be completely replaced (workaround)

. == (\S|\s) and .* == (\S|\s)*
[.], [\.] or \. == \x2E

This would have helped me today.

thx, will add this to the docs and example files

Can you please try if dots are working (regardless of the documented limitation) if you are on ES >= 5.0.0

I did try dots first, and it did not work, but I did not dig into the details, after I saw the comment in the documentation.


Support primary keys which are not called "id"

Moin ;)
This PR lifts the restriction that only primary keys with the name id are supported in Backpex by getting the primary key from Ecto.
It can now support schemas like this:
  @primary_key false
  schema "short_links" do
    field :short_key, :string, primary_key: true
    field :url, :string

    belongs_to :product, Demo.Product, type: :binary_id

    timestamps()
  end

I've added an example called "Short Links" (which are linked to products) to the demo to show it in action.
I also sneaked in a helpful error message for a problem that took me a while to debug (using something_id instead of something in a field).
This was implemented while playing around with Backpex in order to maybe use it with Partey.io.
It is

my first "bigger" implementation in Elixir
my first-ever Elixir PR
My first time using Backpex at all

so feel free to give feedback if anything is not feeling correct for an Elixir codebase.
This basically replaces all occurrences of .id with something else, except in cases where a LiveView id is referenced.
Each LiveResource now has a function called get_primary_key_field which can be used to directly access the primary field info.

I've fixed the linting issue :)

Moin @EyMaddis! Thanks for the pull request! This will make it much easier to use Backpex in projects with different requirements 🚀 I will give you feedback on the PR by the end of the week 🙂

New version :)

linting issues in demo fixed as well

Thanks again for the contribution! 🎉 @EyMaddis
I made some minor changes:

Remove prerequisites.md: We recently moved these instructions to installation.md
Improve validation of short_links

Ensure short_link is URL-safe
Ensure short_link is unique (also added a unique index to the migration)

Add prompt to product select field when creating or updating short links since the field is nullable
Update Backpex.Fields.HasMany: I recently refactored the field and needed to adjust it to fetch the primary key from the live resource

You're welcome :)
(It might actually be a good idea to have something that has invalid URL segments to test that the automatic URL encoded works :) )


Three.js demo not playing

It previously was working. this demo (for example) does not load the video automatically.
http://bfred-it.github.io/iphone-inline-video/demo/threejs.html
perhaps apple wants the user to have some interaction if so. would there be a way to play the video without activating the AVVideoController that takes the full screen?
although this demo works http://bfred-it.github.io/iphone-inline-video/demo/
it doesn't support webgl.

It might have been because of non-HTTPS urls appearing in my demo. I removed them and it works.
The interaction requirement is cancelled by IIV when there is no audio.
This is a screencast on Browserstack on a real iOS 9 device. My internet connection is so slow so it's short and stuttery, but it works without interaction.


Upgrade to 1.1.0

Upgrade to 1.1.0
Clean up outdated Radix Colors docs

The number of scales is a all over the shop on the Colors and Themes websites at the moment.

@benoitgrelard hated that too, updated in https://github.com/radix-ui/website/pull/692/commits/76a46907e9d85317584a54caf4147a9dc84b8720 to not reference the number of scales anywhere


Address the ambiguity of error reporting on 2 accucor files with the same name

Comment in DataRepo/views/loading/validation.py explains the issue and 1 possible resolution:

# TODO: create_yaml() *could* raise ValueError or KeyError if the required sample file is not provided or if 2
# accucor/isocorr files have the same name, but there should be checks on the submitted form data in the Django
# form which should call form_invalid in those cases, so instead of adding a graceful exception to the user
# *here* to catch those cases, add those checks to the form validation.  Check that the required sample file is
# provided and that none of the accucor/isocorr files have the same name)

Though it may be possible to handle the same names without a requirement that they be different and it would probably be a good idea to not require a sample file.
Originally posted by @hepcat72 in https://github.com/Princeton-LSI-ResearchComputing/tracebase/pull/660#discussion_r1138895168

This is done.  I had added a DuplicatePeakAnnotationFileName exception.


bad handshake

Hello,
I followed the tutorial, and registered in the Azure AD as native app, but got the following error when I updated the Client ID. I've searched everywhere within Azure documentations, and googled SSL related issues, but could not get this error to go away. Has there been an update within ADAL that needs further updates?
requests.exceptions.SSLError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /common/oauth2/devicecode?api-version=1.0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),))

Closing this issue as we are archiving this repository. Please see https://github.com/microsoftgraph/msgraph-training-pythondjangoapp for a Python sample.


Is there any way to insert data to collection through mongotron gui?

Hi,
when i try to put some data by
db.users.insert({
name:"username",
type:"FOOL"
});

i'm getting error:
Error : db.startup_log.insert is not a function TypeError: db.users.insert is not a function at evalmachine.:1:16 at ContextifyScript.Script.runInNewContext (vm.js:18:15) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:170:23 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18) at new Promise (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:76:14) at _eval (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:140:10) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:39:9 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18)

is there even possibility to add data in that way?

Yea try insertOne or insertMany, mongotron's API is just a wrapper around the Node ha Mongodb driver, so you can always look at their docs for the methods you can use.
Sent from my iPhone

On May 15, 2016, at 10:26 AM, Kudłaty<EMAIL_ADDRESS>wrote:
Hi,
when i try to put some data by
db.users.insert({
name:"username",
type:"FOOL"
}
i'm getting error:
Error : db.startup_log.insert is not a function TypeError: db.users.insert is not a function at evalmachine.:1:16 at ContextifyScript.Script.runInNewContext (vm.js:18:15) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:170:23 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18) at new Promise (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:76:14) at _eval (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:140:10) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:39:9 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/no
de_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18)
is there even possibility to add data in that way?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

i'm begginer with MongoDB, thanks for advice, it worked 👍
Have you thought about adding "insert with GUI" feature?
for instance add item button would display view with template based on existing items - it would be brilliant ;)

that's a great idea! If it's something you'd like to see in Mongotron do
you mind creating a new issue for it and putting in as much info/detail as
you can think of how the feature might work? Thanks!
On Sun, May 15, 2016 at 4:13 PM, Kudłaty<EMAIL_ADDRESS>wrote:

i'm begginer with MongoDB, thanks for advice, it worked 👍
Have you thought about adding "insert with GUI" feature?
for instance add item button would display view with template based on
existing items - it would be brilliant ;)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/officert/mongotron/issues/135#issuecomment-219307866


feat: Add Free Stuff Filter

Fixes #1609
Changes:

Add Filter Search fragment (Currently Added Free stuff filter only - working)
Display Free events only after applying filter

Screenshots for the change:

Notice PGConf APAC its PAID event. After applying filter. Its not shown in the list

@aggarwalpulkit596  Please review this

@iamareebjamal EventBrite has also put option to change location , date and type. Should I also put these filters ? Currently Put Free event filter

In future PRs


sqls: Issue pr response resolve reriod (#207)

sqls: add issue_pr-resolve_til1stresponse-average_period statistic function (#207)

Why all the component names are issue_pr-resolve_til1stresponse-average_period? Why do you use underscore and dash together and what does "til1st" mean?

Why all the component names are issue_pr-resolve_til1stresponse-average_period? Why do you use underscore and dash together and what does "til1st" mean?
issue_pr-resolve_til1stresponse-average_period means the [resolve average period]  and [until first response average period] of [Issue, PR]. Dash split differet phases within the square brackets.

Alright, but I think it's really hard to understand, you can put it into the description in manifest and there are some typos in the description right now that you need to fix.

I changed the directory name to ‘action-statistical-characteristics’ in a913fa5, and revised the 'description' in file 'manifest.json'.
ps: Key Change: Add another anyHeavy in file 'sql' for the outer GROUP BY.

Only to find that I added another anyHeavy in wrong place in a913fa5... I exchanged the 2nd line with 10th in 54377f9.

The component is used to calculate the average the median response and resolve period for issues, can you also add pull request stats into it too?

I don't know those defination of PR: id，open time，interact time，close time. Please check my opinion:

[ ] id: a hash of pull_commits;
[ ] open time: min created_at type 'PullRequestEvent' and action 'opened'
[ ] interact time: min created_at type IN ['IssueCommentEvent', 'PullRequestEvent'] action IN ['created', 'closed'] and human valid filters.
[ ] close time: min created_at type 'PullRequestEvent' and action 'closed'

Sorry for the late reply. There are some points I need to clarify here.

PR uses all fields of Issue and with more fields like review comment, which means you can also use issue_number to identify a single PR in a repo.
For interact, PR need to add a type PullRequestReviewCommentEvent in the condition.

Sorry for the late reply. There are some points I need to clarify here.

PR uses all fields of Issue and with more fields like review comment, which means you can also use issue_number to identify a single PR in a repo.
For interact, PR need to add a type PullRequestReviewCommentEvent in the condition.

Sorry for the late reply. There are some points I need to clarify here.

PR uses all fields of Issue and with more fields like review comment, which means you can also use issue_number to identify a single PR in a repo.
For interact, PR need to add a type PullRequestReviewCommentEvent in the condition.
Thanks! I added the type PullRequestReviewCommentEvent in the condition for the interact of PR.

Sorry for the late reply. There are some points I need to clarify here.

PR uses all fields of Issue and with more fields like review comment, which means you can also use issue_number to identify a single PR in a repo.
For interact, PR need to add a type PullRequestReviewCommentEvent in the condition.
Thanks! I added the type PullRequestReviewCommentEvent in the condition for the interact of PR.


Analyzer should pull bucket from event, not environment variables

Background
Right now, the analyzer uses os.environ['S3_BUCKET_NAME'] to determine which bucket to download binaries from. The problem with this approach is that the analyzer can never be invoked for any other bucket. If the bucket name were pulled from the event notification instead of an environment variable, the analyzer could be invoked directly for any S3 object.
In particular, this would make it easy for users to manually add event notifications for their existing S3 buckets.
Desired Change
Use the bucket name from the event notification instead of an environment variable.

The documentation should be updated with instructions on how to use BinaryAlert to analyze existing S3 buckets

@austinbyers it looks like hooking up the events works great, but I'm having trouble with the analyze_all invocation on a different bucket.. basically cloned a batcher and its' associated policies and hooked it up to an existing bucket.  However, every attempt to run it is failing with a AccessDenied for ListObjectsV2.
Also, for all this stuff, there doesn't seem to be a clean way to add configuration for an alternate bucket without editing all the BinaryAlert files in the source tree.  Thoughts on this also welcome.

@rafalyesware You're right - there's no clean way to specify multiple/alternate buckets at the moment. Can you share a little bit more about your use case? Do you have multiple S3 buckets that you want to send to BinaryAlert, and then the batcher would enqueue the objects in all of the different buckets? Do you use the auto-created BinaryAlert bucket in addition to existing ones?
I'm happy to add something to help with this in the next upcoming BA release if it's relatively straightforward, which it sounds like it might be.
In the meantime, the batcher permissions you're talking about are defined here: https://github.com/airbnb/binaryalert/blob/5a35e019c4c8ef53fb5be4bdb5a797d69fa4ef11/terraform/lambda_iam.tf#L73-L102
You'll need to modify those permissions to add a statement to list buckets in your existing S3 bucket

You can also modify the Batcher environment variables so that the batcher looks at a different bucket:
https://github.com/airbnb/binaryalert/blob/cebb706fa1736888accf1467528b9f860c683530/terraform/lambda.tf#L45-L51
Changing the S3_BUCKET_NAME environment variable, combined with the new permissions, should work (and then you wouldn't need to make a new batcher function).

Thanks for the feedback @austinbyers. It doesn't look like that policy is used anywhere, at least in master...
As for my use case, I could get by on just overriding the default bucket make but thought it would be good to keep that for at the very least testing.

Each lambda function needs its own policies to interact with the various AWS resources, and those policies are all defined in terraform/lambda_iam.tf, which are attached to the Lambda execution role


Support Source Maps

Leverage source map support available in htlengine, v1.0.4

Tests are missing, reopening...


[SPARK-48302][PYTHON] Preserve nulls in map columns in PyArrow Tables

What changes were proposed in this pull request?
This is a small follow-up to #46529. It fixes a known issue affecting PyArrow Tables passed to spark.createDataFrame(). After this PR, if the user is running PyArrow 17.0.0 or higher, null values in MapArray columns containing nested fields or timestamps will be preserved.
Why are the changes needed?
Before this PR, null values in MapArray columns containing nested fields or timestamps are replaced by empty lists when a PyArrow Table is passed to spark.createDataFrame().
Does this PR introduce any user-facing change?
It prevents loss of nulls in the case described above. There are no other user-facing changes.
How was this patch tested?
A test is included.
Was this patch authored or co-authored using generative AI tooling?
No

@jorisvandenbossche does this look OK to you?

@ianmcook let's just merge this. I think it's fine

On the PyArrow side there were some issues with the initial implementation of this, but they are fixed now in https://github.com/apache/arrow/pull/41956 and will be released in version 17.0.0. So I think this PR is good to merge.

Merged to master.


unix: allow nesting of kqueue fds in uv_poll_start

kqueue file descriptors don't support ioctl(FIONBIO) (or any other ioctl
for that matter) so retry using fcntl(F_GETFL) + fcntl(F_SETFL) when we
receive a ENOTTY error.
Fixes: https://github.com/libuv/libuv/issues/883
CI: https://ci.nodejs.org/job/libuv-test-commit/51/
R=@saghul?

LGTM

Small fix-up for Solaris, I forgot to include <sys/ioctl.h>: https://ci.nodejs.org/job/libuv-test-commit/53/

Looks like it's still failing:
src/unix/core.c: In function 'uv__nonblock_fast':
src/unix/core.c:521:19: error: 'FIONBIO' undeclared (first use in this function)
     r = ioctl(fd, FIONBIO, &set);
                   ^
src/unix/core.c:521:19: note: each undeclared identifier is reported only once for each function it appears in
src/unix/core.c: In function 'uv__cloexec_fast':
src/unix/core.c:535:25: error: 'FIOCLEX' undeclared (first use in this function)
     r = ioctl(fd, set ? FIOCLEX : FIONCLEX);
                         ^
src/unix/core.c:535:35: error: 'FIONCLEX' undeclared (first use in this function)
     r = ioctl(fd, set ? FIOCLEX : FIONCLEX);

Okay, one more fix-up: https://ci.nodejs.org/job/libuv-test-commit/54/

Solaris is fixed now, LGTM!

Landed in c5c419f, thanks for the review.
I snuck in a small rename of uv__nonblock_slow/uv__nonblock_fast to uv__nonblock_fcntl/uv__nonblock_ioctl and likewise for the cloexec functions.  I think they're more clear and honest about what the functions do.

👍


carthage copy-framework fails

When I execute carthage copy-frameworks, I'm getting this error:
Failed to read file or folder at  ${SRC_ROOT}/Carthage/Build/iOS/FirebaseAnalytics.framework

I found out, according to this issue https://github.com/Carthage/Carthage/issues/1079, that carthage check for a Info.plist file inside each framework.
How do you embed the framework inside your project without carthage copy-frameworks?

Did you get it working? I am having struggles with implementing Firebase via Carthage too. I cannot get it to work.

May I know which xcode version are you using?
I only tested this with xCode 8.0 and swift 3.0

For me Xcode 8.2 and Swift 3.0

Everything is working for me when I run the app on the simulator or on the phone. But when I try to archive the app I get the following error:

Invalid architecture UUIDs: Could not parse UUIDs using dwarfdump

@soheilbm Have you tried to archive an app using this dependency and does it work?

@jsslai I'm already using it for production. Are you using carthage copy Framework script as well? https://github.com/Carthage/Carthage#getting-started

@soheilbm Yeah I also have other dependencies used with Carthage and they are working. I ended up adding Firebase static framework manually. I guess there was something wrong with my setup (app + framework which uses Firebase). Maybe I forget to include every Firebase dependency in my app target.

I'm running into the same issue.  It seems that the copy-frameworks script requires Info.plist files in order to work.  I'm not quite sure how this is working for you @soheilbm.  Could your projects be set up differently?
In any case, the solution is simple, add the missing Info.plist files.  I'm happy to submit a PR.

@maguro I added those libraries without info.plist inside the linked library in xcode. And those with info.plist I added them to copy-framework script.
I've been quite busy lately but if you can submit a pr it would be great. 👍


Updates to topic model code for paper and other misc stuff

Hi @maitetaboada please merge when you can. This contains our latest topic model code and the right link to the Frontier paper. Thanks!


Unable to use redbird on Ubuntu 12.04

var proxy = require('redbird')({port: 80, xfwd: false});
proxy.register("some.net", "http://<IP_ADDRESS>:8080");
proxy.register("some.net/node", "http://<IP_ADDRESS>:3000");
node_modules/redbird/lib/proxy.js:401
function renewCertificate() {
^^^^^^^^
SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/enutritionista/node_modules/redbird/index.js:3:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

what version of node are you using? you should use 4+.

No activity for about a month here, so it seems that the issue can be closed because it's related to node version


Using HTML5Backend breaks usage of DnD API on Dom elements

Describe the bug
I wanted to use the dnd api alone in a part of my App for performance issue but drag and drop didn't worked.
Reproduction

Drag me

Steps to reproduce the behavior:

SImply create a div or any other element with the draggable attribute

Expected behavior
Being able to drag the element
Desktop (please complete the following information):

OS: Ubuntu 20.04
Browser Chromium/Firefox latest versions

Solution
stop propagation for the 3 drag event on the div

 {
        e.stopPropagation();
      }}
      onDragEnd={e => {
        e.stopPropagation();
      }}
      onDrag={e => {
        e.stopPropagation();
      }}
>
DRAG ME

I wonder if react-dnd's HTML5 backend could take some sort of container argument at construction-time instead of adding event listeners to window, which may avoid breaking other things on the page that use drag and drop.

I wonder if react-dnd's HTML5 backend could take some sort of container argument at construction-time instead of adding event listeners to window, which may avoid breaking other things on the page that use drag and drop.

onAhara AdvisorsAhara Advisors


[VAX-893] Android support current broken.

Was just testing the expo and RN examples in Android. Both throw this error:
Queries can be performed using SQLiteDatabase query or rawQuery methods only.
There's a few results online, e.g.: https://www.b4x.com/android/forum/threads/sqlite-and-pragma.16410/
Needs more investigation but seems like we need to change the functions we're using to execute SQL statements. This currently blocks anything working on Android.
From SyncLinear.com | VAX-893

We've identified the cause. There is a fix already available for Expo, but we need to investigate RN driver

Additional details can be found here:

We now have Expo working, but still missing React Native

We now have Expo working, but still missing React Native

Actually, expo-sqlite pushed a workaround but we are not yet using it.

This was fixed in https://github.com/electric-sql/electric/pull/592 and is now released in electric-sql v0.7.0.


Reversed state on cover

[x] I have read the Readme, including the Advanced section regarding debugging.

Describe the bug
I have 5 identical shutters and only 2 shutters do not go back to right state on Home assistant.
Expected behavior
I would like that home assistant give me the right state.
Screenshots
All my shutters are closed but in the screenshot, you can see that the "Volet Buanderie" and "Volet Palier" are opened. All my shutters are exactly the same, so I don't undertand why only those two shutters do not have the good state.

Environment (please complete the following information):

ha-tahoma version:2.4.1
Home Assistant version: Home Assistant 2021.1.4
Platform: cover

Device: (if your problem is related to a specific device)

Model:
Ui class RollerShutter
Widget PositionableTiltedRollerShutter
Controllable name io:RollerShutterVeluxIOComponent

Additional context
Add any other context about the problem here.

Thanks for reporting. This is weird behavior indeed.. Could you share the states (or a screenshot) of the cover that shows the right behavior and one of a cover that shows the wrong behavior?
How does this show on tahomalink.com / the mobile app? I am afraid that this is not an issue in our integration, but rather in the state we retrieve from the tahomalink.com API. Especially since the action buttons are not reversed on your screenshot.

Thanks for reporting. This is weird behavior indeed.. Could you share the states (or a screenshot) of the cover that shows the right behavior and one of a cover that shows the wrong behavior?
How does this show on tahomalink.com / the mobile app? I am afraid that this is not an issue in our integration, but rather in the state we retrieve from the tahomalink.com API. Especially since the action buttons are not reversed on your screenshot.

Here is the screenshot of  shutter state in home assistant

Here is the screenshot of my appmobile

Here is the screenshot of tahomalink

thank you in advance

Here is the screenshot of  shutter state in home assistant

Here is the screenshot of my appmobile

Here is the screenshot of tahomalink

thank you in advance

It seems that there is an issue in the latest version of ha-tahoma or changes have been made on the side of Somfy TaHoma...
We have had these issues in the past as well, however when we reverse the state, someone else will have issues with exactly the same device. We need to investigate more, will let you know when I do require more details.
What is the type (TaHoma vs Connexoon) of your hub and the firmware version of your hub?
(possible duplicate of #352 and #351)

It seems that there is an issue in the latest version of ha-tahoma or changes have been made on the side of Somfy TaHoma...
We have had these issues in the past as well, however when we reverse the state, someone else will have issues with exactly the same device. We need to investigate more, will let you know when I do require more details.
What is the type (TaHoma vs Connexoon) of your hub and the firmware version of your hub?
(possible duplicate of #352 and #351)

My box is the tahoma and the firmware version is 3.17.1(324)

My box is the tahoma and the firmware version is 3.17.1(324)

I have the exact same issue. It started a few months ago, well before Somfys Tahoma update for native homekit support, I can confirm even there official Apple Homekit awning has the same issue with the states being reversed. (firmware 2020.6.4)

I have the exact same issue. It started a few months ago, well before Somfys Tahoma update for native homekit support, I can confirm even there official Apple Homekit awning has the same issue with the states being reversed. (firmware 2020.6.4)

@sergiojus is this issue still present? Please update to the latest version of the integration (2.4.7) and reboot your TaHoma hub.
@Steve3581 could you please share your device states here? You can pull them from /developer-tools/state.
It looks like a bug on the Somfy side, since they report OpenClosedState as open instead of closed. See screenshot of @sergiojus in the first post. It is possible that the tahomalink ui looks for the position integer as well, however this should not be necessary...

Hello
I agree its on the Somfy side, that said their update to the Tahoma box last week seems to have fixed the issue on their native homekit support in my case.

I update to the latest version of the integration (2.4.7) and reboot your TaHoma hub. The problem is still present.
I also uninstalled the integration hacs and the integration HA, I reboot HA and reboot TahomaHub. I resinstalled the integration hacs, I reboot HA, and I installed the integration HA.
But The problem is still present

@sergiojus, @Steve3581, is this issue still present?
I would like to see if I can tackle this issue this week. Is anyone willing to work with me via Discord to see if we can debug / fix this issue? Would be great to have this solved before the integration is added to core.
Join us on Discord (https://discord.gg/3Wpn6q9z or add iMick#1903, to discuss in more detail. Eventually the easiest would be if you are able to change your password temporarily and share your credentials privately, so I can have a quick look and see how to fix it :).


"CONSTANȚA" is listed in the drop-down menu

Description:
When user writes "CONSTANȚA" the location appears in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "CONSTANȚA"

Expected results
The location appears in the drop-down menu as "Municipiul CONSTANȚA, CONSTANȚA"


WASM build fails

tl;dr
WASM build fails, i.e. cargo build --target=wasm32-unknown-unknown fails.
Note that wasm build probably requires running rustup target add wasm32-unknown-unknown first.
Problem
The build fails with the following error.
error: the wasm*-unknown-unknown targets are not supported by default, you may need to enable the "js" feature. For more information see: https://docs.rs/getrandom/#webassembly-support
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.15/src/lib.rs:342:9
    |
342 | /         compile_error!("the wasm*-unknown-unknown targets are not supported by \
343 | |                         default, you may need to enable the \"js\" feature. \
344 | |                         For more information see: \
345 | |                         https://docs.rs/getrandom/#webassembly-support");
    | |________________________________________________________________________^

   Compiling libm v0.2.8
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.15/src/lib.rs:398:9
    |
398 |         imp::getrandom_inner(dest)?;
    |         ^^^ use of undeclared crate or module `imp`

getrandom is a dependency of proptest. See it for yourself with cargo tree.
Solutions
I am not very familiar with proptest nor the internals of this project.
Having that said I currently have several possible solutions.
1. Don't share workspace with msgpack-value
Remove proptest as a default feature. Also remove msgpack-value from default members. Both are required.
If feels like only the former is required because default-features=false is used. However since the workspace is shared with it, the features are unified. Which means the default feature proptest from msgpack-value is also used in the top level package, hence the flag is not doing anything.
The cons for this is that, if anyone is (for whatever reason) already relying on "proptest" feature as being the default of this library, then it would be a breaking change.
2. Remove proptest as defaults
Why is a "test" feature a default feature? Just remove it! IOW remove them from Cargo.toml in both the root and msgpack-value.
The cons of doing this is, the developer would have to run
cargo build --all-features or a similar command to verify all features build. cargo test should not be affected. Plus the same as above, changing default features could affect projects that depend on this.
3. Impose it on the user of the library
(I personally do not like this much because it requires user action, i.e. all projects that depend on this project.)
The user of the library could put
msgpack-schema = {version = "1.1.0", default-features = false }
in their Cargo.toml.
So add a note in README mentioning that "if you want WASM then put default-features=false".

Changing the default feature set requires a major version bump. It will not be short until we will release 2.0.0, as the crate itself is pretty stable.
For the moment please use the default-features=false switch, which is not an uncommon practice I think, though.
Anyway, we are happy to merge your pull request if you update the README to inform new users who want to use this crate with the wasm backend.


完善一下后台设置功能

能在后台控制面板直接设置附件大小啊等等那些,每次都要编辑app.ini又要重启生效,这样不好吧

Please speak English.

Improve the background setting function.  You can set the size of the attachment directly in the background control panel, and so on. Every time you edit app. ini, you have to restart it. That's not good?


The generate_voice function returns just none

I had to dig a little bit into the code and output a response, in the end I get it, even if I use an example

from types import MappingProxyType, DynamicClassAttribute
ImportError: cannot import name 'MappingProxyType' from 'types' (/Users/mac-37/Documents/PyCharacterAI/PyCharacterAI/types/init.py)
Could you please help me with the above error?
Actually I think the types folder is conflicting with the inbuilt types module.So when I change the folder name to custom_types it throws me the below error.
from PyCharacterAI.custom_types.message import Message, MessageHistory, OutgoingMessage, Reply

ModuleNotFoundError: No module named 'PyCharacterAI.custom_types'

I need help that how you run this project? Is there any command for it because it couldn't found anything similar in Readme file?

I downloaded the repository and just added print(response), sorry if I misunderstood you

Hi. At the time this issue was created, the library was very outdated. A lot of things have changed in the api over the last year, so I've released a new version 2.0 that fixes many bugs and includes many new features, but unfortunately breaks backwards compatibility. If you are still interested in this project, you can check out the new version and read the documentation.


fix(modal): height issue due to antd version upgrade

Context
The upgrade of the Ant Design library from version 5.13 to 5.17 in this commit introduced a different version of rc-dialog, which places an additional wrapper around dialogs.

This wrapper does not have a specified height, preventing all children from adapting their height to previous ancestors.
The new element is inserted as the direct parent of our .mia-platform-modal-content node, so the new style introduced by this PR fixes the issue.
Addressed issue
Closes #596
Checklist

[x] commit message and branch name follow conventions
[ ] tests are included
[ ] changes are accessible and documented from components stories
[ ] typings are updated or integrated accordingly with your changes
[ ] all added components are exported from index file (if necessary)
[ ] all added files include Apache 2.0 license
[x] you are not committing extraneous files or sensitive data
[x] the browser console does not have any logged errors
[ ] necessary labels have been applied to this pull request (enhancement, bug, ecc.)

This is the antd issue that was fixed introducing the undesirable wrapper:
https://github.com/ant-design/ant-design/issues/40380

This is the antd issue that was fixed introducing the undesirable wrapper:
https://github.com/ant-design/ant-design/issues/40380


About sorting logic

Requirement - what kind of business use case are you trying to solve?
Easily find the top 10 slowest request on the last hour or last day.
Problem - what in Jaeger blocks you from solving the requirement?
Right now, when I select the last hour traces, limit them to 20 and sort by "Longest First", I get the longest first among the last 20 traces.

Proposal - what do you suggest to solve the problem or improve the existing situation?
For the same scenario, I expect to see to top 20 longest request on the last hour.
Any open questions to address
Is this a known limitation?
Are there any plan do address it?
How hard would it be to implement this?
Thanks by advance 🙂

Which storage are you using? If you'd be interested in contributing a fix, this would be a good starting point for Elasticsearch (Cassandra's is at a similar place):
https://github.com/jaegertracing/jaeger/blob/df4a5e086adec8d51c6c3dabd9c4eca3967f3a1d/plugin/storage/es/spanstore/reader.go#L193-L205

We use ElasticSearch. However, I don't know GoLang so that's pretty hard for me to contribute this feature. 😕

I can try to find some colleagues to help on the Go part though.
In addition, there are some changes to be done on the UI part to support sorting on the server-side.
What about something like this?


Update README.md with instructions for Windows users

To perform the install on Windows an external dependency is required (gcc). The README.md needs updating with the details of how to do this.

I made a mistake, there is no need for gcc. The issue was with my default install of golang on windows having the GCO_ENABLED environment variable set tot 1. By setting this to 0 everything works without the need for gcc. I've updated the README.md to explain this.


documentation

Considering that this package (and others under the brainglobe umbrella) expose an API, we should think about documentation.
I don't have much experience with this kind of documentation, but building it with sphinx from the docstrings seems like the easiest way. Does anyone have any other ideas or objections?
We should also decide on a standard format. braintlas-api looks to be using the numpy format currently. Ideally I'd like to move to the default sphinx/reST format, mostly because it's the format already used by brainrender, cellfinder, amap etc.

Youp! I was waiting for it (writing docs) a bit as I guess that in these first times of development and testing on our side things might change fast and in my experience it's quite easy to forget outdated docs around.
I personally don't like much the sphinx/reST format and would prefer either Numpy or Google format + napoleon sphinx tool. It should be possible to convert the docs format from one version to the other using something like this although I have not tried!
But I have no strong opinion there and would comply to the sphinx/reST format if you like it more

I was thinking that writing docs could be more useful for development (so that other developers can better understand what things do).
I also don't have a strong opinion about the docstring format. My main reason is that amap/cellfinder etc use reST, but as long as it's one of the ones that PyCharm can do automatically, I don't mind.

I don't mind either, as long as I don't have to manually change brainrender's format. I did that a while ago to start using reST and it's not fun :P

related to the ongoing discussion over here: https://github.com/brainglobe/brainatlas-api/pull/40#issuecomment-644635345
It would be good if the docs included a table with an overview of available atlases

I don't have much experience with this kind of documentation, but building it with sphinx from the docstrings seems like the easiest way

@adamltyson  @vigji  is this what we're going for in the end?

I think so. I think I would favour API docs automatically generated from the docstrings, in addition to a small amount of manually edited markdown illustrating general concepts, and any user-facing command-line tools.

any news on that front? I am reviewing for JOSS and that is the only problem I see. At least the docstrings of the BrainGlobeAtlas class should be exposed in the documentation (although help(BrainGlobeAtlas) does the job).
On a more minor note, one item for the review is:

Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

It is quite implicit as the code is on github, but perhaps you can add a small paragraph to the README so I can check off the item.

Hi,
I've added a short paragraph to the README (on the main branch) and to the docs with very simple guidelines for contributing.
Regarding the docstrings, I have generate docs like these for brainrender and added them to the docs online: https://docs.brainglobe.info/autogenerate-docs/bg_atlas/core
Hope this is what you had in mind, but please do let use know if there is a better way to document this.

Great, thanks!

I guess we can close this. Long term there's some aesthetical improvements that can happen on the markdown generated docs but that is minor

Hey, do you want to open an issue in pydoc2md with suggestions for improving things?


not able to find android-deep-linking folder

http://search-codelabs.appspot.com/codelabs/android-deep-linking#3  : this link say to select android-deep-linking folder, but there is no folder of deep-linking, there is only five folder

app-indexing
app-indexing-start
recipe-app-start
search-action
recipe-app-website
plz help me..  i want to learn how its work.

@zayna-shahzad please, help us

@ZeroCool00 I have found the another solution.
Just start 'app-indexing' application
Suppose it's just a typo

android-deep-linking folder was renamed to app-indexing-start in this commit afed97ac8ea9643efb4929957dd719220e5886d5


Redis async

I'm searching for PHP redis async client becouse I need a listener for "pubsub".
I see that all clients seems to be not async except of predis/predis-async that is based on React.
there would be a way to make redis client async on top of workerman/libevent?

You can use redis-react in workerman.
Install
composer require clue/redis-react
Usage
<?php
require_once __DIR__ . '/vendor/autoload.php';
use Clue\React\Redis\Factory;
use Clue\React\Redis\Client;
use Workerman\Worker;

$worker = new Worker('tcp://<IP_ADDRESS>:6161');

$worker->onWorkerStart = function() {
    global $factory;
    $loop    = Worker::getEventLoop();
    $factory = new Factory($loop);
};

$worker->onMessage = function($connection, $data) {
    global $factory;
    $factory->createClient('localhost:6379')->then(function (Client $client) use ($connection) {
        $client->set('greeting', 'Hello world');
        $client->append('greeting', '!');

        $client->get('greeting')->then(function ($greeting) use ($connection){
            // Hello world!
            echo $greeting . PHP_EOL;
            $connection->send($greeting);
        });

        $client->incr('invocation')->then(function ($n) use ($connection){
            echo 'This is invocation #' . $n . PHP_EOL;
            $connection->send($n);
        });
    });
};

Worker::runAll();

Thanks you


Fix insert button.

Proposed changes
I have changed the add button because it was not rendering properly under windows:
Before:

After:

I have copied the style from the add button on the right to make it visually more consistent.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

thx! lgtm


Please add POST method in async

Currently type async only supports GET method. Could you please also add POST method.
Thank you.

Oh,I've hardcoded the ajax request method  to GET, I'll make this with an option 'type' with default value  'GET' under the option 'async'.

I already added a pull request and added option to select async method type and attach data to request.


feat(applcation) Add Application Services

Add Application Services
fix #90
Signed-off-by: zhuhuijun<EMAIL_ADDRESS>

@Ghostbaby Sorry but please rebase ...


Rename project: vim-webdevicons to vim-devicons ?

Rename project: vim-webdevicons to vim-devicons ?
Reasoning - icons are not web development specific and this name would now more accurately match the intended scope.
Any thoughts?
Vote: http://poll.gitrun.com/ryanoasis/vim-webdevicons/issues/64

+1

+1

+1

+1

+1

+1

:+1:

+1

+1

+1

+1

Closing, will be done in #76 and #77


Command npx capi does not work

Bug Report
Current Behavior
Following this part of the documentation the command npx capi does not seem to work; Rather it returns the following:
➜  npx capi
npm ERR! could not determine executable to run

Expected Behavior
Upon running the command, one should see the message Capi server listening at "http://localhost:4646".
Steps To Reproduce
run npx capi
Environment

Node:  v18.14.2

Additional Information

Yes, CLI is not yet supported on NodeJS; duplicate of #604

It is clearly mentioned in the documentation that With NodeJS; Shouldn't that be removed from the documentation then - and add that CLI is not supported?
Especially when this is closed as "not planned";

The docs also say:

The documentation may not reflect the current implementation.

We're pre v0.1.0. And "not planned" in GitHub includes duplicate:

The docs also say:

The documentation may not reflect the current implementation.

Where?

Yes, the README says that, and docs.capi.dev (which is only linked to from the readme) has a large "under construction" disclaimer at the top.

which is only linked to from the readme)

IMO, the documentation should correspond to the "current running version" - IMO it should not be linked until there is corresponding version.
We have, a similar approach, with Zombienet documentation (also labeled "under heavy construction") - it may be missing functionalities and/or having some bugs - but what is there, works and devs can follow the docs/tutorials in order to baby-step through it.
It also has paid off, since people follow it and provide us feedback and/or open issues on discrepancies;
In any case - this is just my feedback and my opinion, and I do not mean to make any harsh judgements or anything similar;

IMO, the documentation should correspond to the "current version" - it should not be linked until there is corresponding version.

Agreed, and we'll be following this approach for v0.1.0 and beyond 🙂


Updating auth resource results in custom modules in PostConfirmation parameters.json being removed

Describe the bug
I've got a post-confirmation lambda trigger where I've added a separate module of create-new-user(.js). This gets removed whenever I update auth.
Amplify CLI Version
4.44.0
To Reproduce
Add a post-confirmation trigger. Create a new module i.e create-new-user.js in the lambda src directory. Add this new module to the comma-separated modules param in the functions parameters.json file.
{
	"modules": "add-to-group,create-new-user",
	"resourceName": "yourProjectPostConfirmation"
}

Update auth lambda triggers and see that this new module is removed by Amplify.
Expected behavior
Custom modules can be added without worrying about whether they will be inadvertently removed.
Maybe have the option to add multiple "modules" with the CLI.

@kylekirkby Marking this an an enhancement because auth in general does not support updates very well (there are lots of cases where modified configuration will be overwritten) and we need to address this holistically. For now you'll have to make sure to add your custom module back to the parameters.json file if you go through the amplify update auth flow after making manual changes

Hi @kylekirkby
You can also add one custom module with amplify update auth
? What functionality do you want to use for Post Confirmation (Press <space> to select, <a> to toggle all, <i> to invert selection)
❯◯ Learn More
 ──────────────
 ◉ Add User To Group
 ◉ Create your own module

This will maintain your custom module while you do amplify update auth
@edwardfoyle  is correct , if you want to add more modules , then after updating you need to add those in parameters.json file after update auth command.

Hi @edwardfoyle / @akshbhu ,
Thanks for the update! I did see this option but for some reason, I thought it was one or the other 🤷🏼♂.
Cheers!


class-level instance variables

hey folks,
I'm looking at using the base protobuf class and wrapping business logic around it in a separate class, using class inheritance.  However, this doesn't work in this library:
require 'protobuf'
require 'protobuf/message'
module Corp
  module Protobuf
    class Error < ::Protobuf::Message
      required :string, :foo, 1
    end
  end
end
module Corp
  class ErrorHandler < Corp::Protobuf::Error
  end
end
# this works
Corp::Protobuf::Error.new(foo: :bar).encode #=> "\n\x03bar"
#this does not
Corp::ErrorHandler.new(foo: :bar).encode #=> ""

The root issue is within lib/protobuf/message/fields.rb and the fact that there is a somewhat hidden class instance variable @field_store and a bunch of class instance variables uses for memoization.  The module doesn't define it as a class instance variable, obviously, but it extends the message class, which makes it a class instance variable.
Is this intended behavior?  Do you think it is worth fixing?  If so, and since active_support is already included, I think mattr_accessor will do the trick (I can submit a patch and find out :)  And of course I can change my class to use the protobuf as an internal object and forgo inheritance all together.
thoughts?  And thank you for the library!

@skippy definitely not intended. I extracted a bunch of class-level methods from Message about a year ago and obviously didn't have a test for what you're doing. Would love to see a PR fixing it. :+1:

Fixed under v3.4.4.

thanks!


Where are the sources on Windows?

What's the path of the sources file on Windows?

What's the path of the sources directory in Windows?

@GalGreenfield what do you mean exactly when you say "sources"?
If you mean the .gpm folder it's in the home directory of the user.

What's the path of the sources directory in Windows?

@GalGreenfield what do you mean exactly when you say "sources"?
If you mean the .gpm folder it's in the home directory of the user.

Firstly, do notice the my update of the post - I re-read the docs and its a file.
And I mean the file sources.list - on Linux it's where you said - I'm asking where it is on Windows.

And I mean the file sources.list - on Linux it's where you said - I'm asking where it is on Windows.

On Windows it is in the "same location" : $home/.gpm/sources.list. But it does not exist by default: it must be created.

And I mean the file sources.list - on Linux it's where you said - I'm asking where it is on Windows.

On Windows it is in the "same location" : $home/.gpm/sources.list. But it does not exist by default: it must be created.

But Windows does not have a $home directory as it doesn't use Linux's file system.

bump

More than half a year and still no reply.
So where am I supposed to create sources.list on Windows?

More than half a year and still no reply.

@GalGreenfield more than a year and you apparently did not even try: yes, there is a $home on Windows.

You can also use a search engine:

https://stackoverflow.com/questions/9228950/what-is-the-alternative-for-users-home-directory-on-windows-command-prompt
https://stackoverflow.com/questions/54983954/is-there-an-alias-for-the-home-folder-in-windows-10

And you can also simply read the docs of dirs (used here):
https://docs.rs/dirs/4.0.0/dirs/fn.home_dir.html


Date.toLocaleString does not honour the arguments passed. The api take the operating system timezone

[prequsite: operating system timezone where grall vm is executing shouldn't be 'America/New_York'. for experiment keep it GMT
Executing the following code
new Date().toLocaleString('en-US', { timeZone: 'America/New_York' })
in gralljs
will give the GMT date [i.e. the timezone of operating system].
If we run the same code in ECMA compliant engine (chrome, etc..)
output will be in the timezone as per the arguments provided.
Details:
Gralljs :    20.3.0
GrallSDK: 20.3.0
OS: Mac os Catlina.

Note that the behavior that you expect is not covered by ECMAScript Language Specification. See the definition of Date.prototype.toLocaleString() there. You assume the behavior of  Date.prototype.toLocaleString() from ECMAScript Internationalization API Specification (see the corresponding section there). GraalJS does not have the internationalization API enabled by default. You have to enable it using js.intl-402 option. Does your test-case work on your machine when you enable internationalization API?

Thanks @iamstolis.
After enabling js.intl-402 on the grallvm the code works as expected.
There was a gap in my understanding about default behaviour of js.intl-402 in grallvm settings.


Initializing the ili9341 affects the touch

I experience a very strange behavior with my board, maybe you can assist troubleshooting:
I'm using a board esp32-2432s028r that use ili9341 for display and xpt2064 for touch.
Normally, the touch is pretty accurate, meaning if I don't make a move of the pen on the display the data comes pretty consistent between samples.
Once I initialize the Ili9341 with mipidsi , the x data of the touch becomes very very noisy. It still reflects changes along the x axis, but it is very jumpy (so instead of a delta of less than 12 between samples it is over 100 between samples)

Any ideas what could cause that?

I thought it may have to do with me using SPIInterfaceNoCS and not using the cs pin, even though the board use different SPI buses for each of the devices. So I tried to use the cs with SPIInterface::new but then I faced with an issue with rust where it complains:
    |
118 |         let di_cs= io.pins.gpio15.into_push_pull_output();
    |             ----- move occurs because `di_cs` has type `GpioPin<Output<esp32_hal::gpio::PushPull>, 15>`, which does not implement the `Copy` trait
...
127 |             di_cs,
    |             ----- value moved here
...
134 |         let di = SPIInterface::new(di_spi, di_dc, di_cs);
    |                                                   ^^^^^ value used here after move

Even though my code for cs and dc is the same and I didn't see any difference between cs and dc in SPIInterface code.

Any ideas on this one?

Sorry this issue somehow crept through the cracks. Is this still relevant? It seems odd that you'd get issues with two separate SPI buses.
Are they completely exclusive? e.g. each bus has separate pins all around?


Where to add desktop client which uses At.js?

TeamworkChat uses At.js. I'm not sure how I should add it to the Sites wiki page though. Right now, there's just Windows & Mac desktop clients. So no "site" really.
( Coming soon are iOS & Android apps, a Linux desktop app, a web version and another web version I can't talk about yet :) )
Examples:

Wow, That is pretty cool!
Thanks for putting your product in the list ( sites ), it's my pleasure.
I changed the sites to Products using At.js, how about it?

BTW. I'm meeting you team (on your website.). :smile:

Done. Keep up the good work :D


Array operator ALL IN index utilizing

Hi
Any plan in the near future for ALL IN/ANY IN array operators to use hash index instead of table scan? ( similar to #2228 )
if not, whats the alternate way to achieve same result with better performance for following query:
// document sample
{
_key: '123',
numArr: [5, 12, 15, 4]
}

// query sample
for d in Docs
filter [5,4] ALL IN d.numArr
return d

Best regards

Sorry, we haven't scheduled this yet - so it will definitely not be in 3.2. But its one of the things we want to do in subsequent releases.


Google.yml

Sorry, I don't understand why your sending this PR. Please explain what you're trying to do.


INTPYTHON-348 Update raw_query tests for raw_mql

feature: https://github.com/mongodb-labs/django-mongodb/pull/183

Looks to be on the right track.

Superseded by #12


⚠ Adacta-fintech.com has degraded performance

In b33b5e6, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1356 ms

Resolved: Adacta-fintech.com performance has improved in 7feff1e after 8 minutes.


dropdown menu only opens when tapping on very center

This problem still exists and I cannot fix it.
Can you please help with this?

It works on the entire title text for me!

It works on the entire title text for me!

Well, It doesn't work for me. And many people here having the same problem.
Any idea how to make it stable for all conditions?


Port Reusable Security Actions to block/ospo and use them

From security.yml:
TBD54566975/open-source-programs/.github/workflows/security.yml@main

Move from TBD org to block/ospo and change the reference in this project

Verified done by linked PRs


showing dcpr request links based on access permissions

@Samweli @Fanevanjanahary based on your previous review, i've adjusted the facets regarding dcpr requests to show links only when the user is permitted to show relative section, check the below examples:

the user is an admin and able to follow all links:

users are random testers and have permission to list public requests and requests made by themselves

i've used the later because it's less expensive as it can retrieve the count of the packages only without the packages themselves,

@Mohab25 the package_list action only returns the list of packages names strings, I was wondering whether this hinders the performance since it is only a list of strings.

@Samweli change the package search to list, thanks for the hint, packages names won't be a performance issue.


Can you please add a prop to disable autotranslate to English?

First of all, thank you for creating this awesome hook. The hook is automatically translating the transcribed text to English. Will it be possible to add a prop so that we can choose to set this translation to on or off? Additionally, instead of passing the server link, can we just also pass a function instead? The function then connects with the API directly & returns the response object.
Thank you once again.

@sanesanyo thank you for these great ideas, I will add these features in the next release.

Thanks. When will be the next release? Just to be clear, I do not want auto-transcribe to be set to false but the automatically translating the transcribed text to English to false i.e. the transcribed output should be in the original language. As of now, it is English. It will be great if you could push this feature as soon as possible :).
Cheers


Integrate with Automatic/Continuous Testing

We should use a test-runner that tests PRs and maybe even does continuous testing.  TensorFlow tends to use Jenkins. However, K8S has produced an awesome runner called Prow. Since this is a K8S + TF project, I think it would be a great fit.
I'll take a look at doing that integration.

This is done. \o/


[BUG] getcomics.info no longer exists, it's now getcomics.org

Getcomics.info no longer resolves, the website has changed to getcomics.org. This causes a crash on clicking the search button. Replacing getcomics.info with getcomics.org fixes it.

How do I change this myself?

Hey I actually forked this and am working (very slowly) on modernizing it/making it cross platform. There's a build here that seems to currently work: https://github.com/nixcamic/Monobus/releases/tag/v0.0.1

Awesome! Thank You!

It keeps saying i need to update .NET to run it even though I did. Am I doing something wrong? I downloaded the source code, unzipped, and downloaded the .exe and put it in the same folder as the source code.

Okay, last message here. I'm running 11 w/ updates installed. I thought to create an issue on your project but couldn't find the option. I'm still relatively new to github, so maybe I'm just overlooking something, but I can't find the option on your project.

Ah I had them disabled haha. It should work now. Yeah I've tried it on a few of my machines and it's worked on all of them, include a screenshot or exact wording in the issue you open over there.


Improve interface segregation for ReQL query commands

Issue summary
Each function in the RethinkDB API (ReQL commands) has a set of commands in the return type interface that can be called (chained / fluent interface).
We need to improve the simplicity of the ReQL query command interface segregation. Currently the interface inheritance is really confusing for current and new developers and might violate the interface segregation SOLID principle in near future.
It is easy to make a mistake at the moment by using the wrong interface as a return type of a ReQL command. Favourable each function will return it's own interface with it's own set of (submodules) functions.
For more information about interface segregation, see:
https://www.oodesign.com/interface-segregation-principle.html
Issue checklist

[x] Propose interface segregation
[x] Implement new interfaces

The following sections can be removed only, whenever they are not applicable or you have a simple question.
Actual Behavior
What is it doing now?

We have too much confusing interfaces.
New API functions might not support all methods in our current query interfaces. Causing polluted interfaces and violating the interface segregation SOLID principle.

Expected Behavior

A new ReQL command should be easy to implement.
Current and new ReQL commands should favourable have their own segregated interface.

Currently i've seen 11 differents interfaces:
We could use them in return of operators to improve the autocomplete too

RethinkInterface db
TableInterface between
ValueInterface not
BoolInterface eq
SequenceInterface eq_join
StreamInterface zip
ArrayInterface zip
SelectionInterface order_by
BinaryInterface count
StringInterface count
ObjectInterface count

That is a good idea @Th3Mouk , but will the return type not mismatch with the PHPdoc in that case?

It can, but now with PHP7.1 return types and nullable, phpdoc is not so relevant, I omit personally some informations that already appear in the method signature. It seems that I don't really understand the purpose of this issue, is the aims about split current interface ? And create new "MetaInterface" ?

Hey @Th3Mouk
I agree fully on PHPdocs, according to clean code we should always use meaningful names and functions. PHPdocs are optional with PHP7 strict types.
This issue is not meant for that case however.
ReQL has different return methods for different functions, since the interface is mostly fluent, using shared or compound interfaces causes a complex problem of which interface to implement and keeping the return types correct.
By creating more interfaces for each specific method or method type, we can manage the interfaces more easy, and keep interface segregation satisfied as much as possible.
I think beyond the current implementation the extending of interfaces is becoming problematic to comprehend.

Approach
The interfaces and compound interfaces were too confusing to comprehend.
Research
I wanted to eliminate the inheritance in the interfaces, and have one interface per object, no more interface inheritance or compound interfaces. This will simplify the understanding of what return type to use. I also wanted to eliminate the huge inheritance chain on some object.
Solution
So I have decided to move the reusable methods to traits and eliminated the interfaces completely, since you have a direct contract anyway with the called method return type.

The solution has been implemented.


Could you please the launcher to launch latest genshin impact for Mac m1

The feature is deployed for intel mac and not M1 , if you guys are ok I am a software developer from india , would love to contribute on the project, can we connect and discuss

any update on this?

Ask apple, it's a rosetta issue.
https://developer.apple.com/forums/thread/743838

fixed

how is this fixed , i don't see it fixed in my app @3Shain

Why don't you fork, make your modifications and create a PR then?

I was just asking as it was commented fixed and closed ,i thought i was missing something. Why so furious bro

Uh? Who is furious? I've just pointed out what everyone does (including myself) to propose a feature.


Support Seneca SSO or account proof for identifying Seneca Users

This extension is based on the idea that we have a community of users, namely, people at Seneca using VSCode.
To achieve this, we'll need to be able to authenticate everyone somehow.  An obvious choice might be to use Seneca's SSO, which we already do in Telescope.  We might also use some lighter-weight email-proof flow, where we send a code to the Seneca account email for the user, and they have to prove they own that account and can give it back to us.
I notice that VSCode's Extension API also supports the idea of authentication providers, see https://www.eliostruyf.com/create-authentication-provider-visual-studio-code/.

Here's how it looks if you bake the authentication provider directly into VSCode:
https://user-images.githubusercontent.com/427398/199771528-972a5f07-5ef3-4487-b216-2a713463f38a.mp4

Two existing provider extensions:

https://github.com/microsoft/vscode/tree/main/extensions/github-authentication
https://github.com/microsoft/vscode/tree/main/extensions/microsoft-authentication

Hi, I would like to try to figure this out as part of the release 0.4 if possible.

@gulyapulya this is going to be a significant task.  I've been speaking with Seneca ITS, and it's doable, but I don't want to set you on a path that is going to be overly painful.  I'm wondering if this is better left for OSD700/DPS911 next term.  However, I'd also be open to you doing a bunch of this now, and splitting off remaining work for the next term (i.e., someone else could take it over if you can't finish).
For example, we could use a test OAuth provider to simulate what Seneca's SSO will do, and get that working in general, then map onto own own auth backend later.
Let me know what you think.

Sorry for my late reply, I have been thinking about it a lot and I totally agree with you. I already started learning about it but I think it is better for me to take the OSD700 next semester to fully work on this.


[FEATURE] CLI Tool

Is your feature request related to a problem? Please describe.
Since ibet-Prime by itself has no GUI, I would like to add a CLI tool to call the API more easily.
Describe the solution you'd like
Create a CLI tool to use the main functions of ibet-Prime.

Currently there is no strong request for this as swagger is sufficient. Closed.


Prevent error with file and space

Preserve name spacing when webp run

Hello @camlafit,
thanks for your pull request and your contribution.


Investigate Community page enhancements

There may be ways to encourage members of the community to become more active:

Add a calendar widget.
Similar to buildpacks.io, we could add a calendar widget indicating upcoming meetings that members of the paketo community can attend. Even though there is currently only one meeting, there may be more weekly meetings in the future. It would be nice to have a place where users can see a snapshot

Add a shout-outs section
We can highlight members who have contributed to the Paketo Buildpacks projects directly on website.

Now that we're talking about https://github.com/paketo-buildpacks/community/issues/88, the calendar widget might be more worth adding.


Angular 9 - Bottom Navigation - Tabs

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 6.7.4
Cross-platform modules:
Android Runtime:
iOS Runtime: 13.5
Plugin(s):
NativeScript-Angular: ^9.0.0
Angular: ^9.1.0

Describe the bug
Using angular 9 with BottomNavigation and a tabs (lazy loding modules)
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1   0x10784a60e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2   0x10788b548 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
3   0x10828c222 ffi_closure_unix64_inner
4   0x10828cc4a ffi_closure_unix64
5   0x7fff23d67245 _CFXRegistrationPost1
6   0x7fff23d66fb1 ___CFXNotificationPost_block_invoke
7   0x7fff23e64513 -[_CFXNotificationRegistrar find:object:observer:enumerator:]
8   0x7fff23d66906 _CFXNotificationPost
9   0x7fff2591a26b -[NSNotificationCenter postNotificationName:object:userInfo:]
10  0x7fff48c8419e -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]
11  0x7fff48c89bf9 -[UIApplication _runWithMainScene:transitionContext:completion:]
12  0x7fff4839225d -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]
13  0x7fff4889dcc1 _UIScenePerformActionsWithLifecycleActionMask
14  0x7fff48392d6f __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke
15  0x7fff4839277e -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]
16  0x7fff48392b9c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
17  0x7fff48392431 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]
18  0x7fff48396a22 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2
19  0x7fff487b3dad +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:]
20  0x7fff488bc41e _UISceneSettingsDiffActionPerformChangesWithTransitionContext
21  0x7fff4839673d __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke
22  0x7fff488bc321 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext
23  0x7fff483965ab -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]
24  0x7fff481eafa8 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke
25  0x7fff481e9b67 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]
26  0x7fff481eacd2 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:]
27  0x7fff48c88141 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:]
28  0x7fff487da8dc -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]
29  0x7fff36cacd2e -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:]
30  0x7fff36cd2dc1 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154
31  0x7fff36cb7757 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
JavaScript stack trace:
file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:382:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:411:0
at forEach([native code])
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:410:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:558:0
at applyAllNativeSetters(file: node_modules/@nativescript/core/ui/core/properties/properties.js:1048:0)
at initNativeView(file: node_modules/@nativescript/core/ui/core/properties/properties.js:992:0)
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:647:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:278:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:232:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:214:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:317:75
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:310:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:317:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:42:0
at makeKeyAndVisible([native code])
at file: node_modules/@nativescript/core/application/application.ios.js:252:0
at file: node_modules/@nativescript/core/application/application.ios.js:174:0
at file: node_modules/@nativescript/core/application/application.ios.js:163:0
at [native code]
at file: node_modules/@nativescript/core/application/application.ios.js:36:0
at UIApplicationMain([native code])
at run(file: node_modules/@nativescript/core/application/application.ios.js:312:0)
at file: node_modules/@nativescript/angular/platform-common.js:211:0
at file: node_modules/@nativescript/angular/platform-common.js:112:0
at file: node_modules/@nativescript/angular/platform-common.js:92:0
at file:///app/bundle.js:263:144
at ./main.ts(file:///app/bundle.js:268:34)
at __webpack_req<…>
JavaScript error:
file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:382:0: JS ERROR TypeError: null is not an object (evaluating 'item.content.ios')
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: TypeError: null is not an object (evaluating 'item.content.ios')
at
file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:382:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:411:0
at forEach([native code])
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:410:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:558:0
at applyAllNativeSetters(file: node_modules/@nativescript/core/ui/core/properties/properties.js:1048:0)
at initNativeView(file: node_modules/@nativescript/core/ui/core/properties/properties.js:992:0)
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:647:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:278:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:232:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:214:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:317:75
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:310:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:317:0
at file: node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.ios.js:42:0
at makeKeyAndVisible([native code])
at file: node_modules/@nativescript/core/application/application.ios.js:252:0
at file: node_modules/@nativescript/core/application/application.ios.js:174:0
at file: node_modules/@nativescript/core/application/application.ios.js:163:0
at [native code]
at file: node_modules/@nativescript/core/application/application.ios.js:36:0
at UIApplicationMain([native code])
at run(file: node_modules/@nativescript/core/application/application.ios.js:312:0)
at file: node_modules/@nativescript/angular/platform-common.js:211:0
at <…>
NativeScript caught signal 6.
Native Stack:
1   0x10789b251 sig_handler(int)
2   0x7fff51c005fd _sigtramp
3   0x7fff51af4f39 itoa64
4   0x7fff51af0b7c abort
5   0x7fff4f9f7858 abort_message
6   0x7fff4f9e8cbf demangling_unexpected_handler()
7   0x7fff50ba8c0b _objc_terminate()
8   0x7fff4f9f6c87 std::__terminate(void (*)())
9   0x7fff4f9f6c29 std::terminate()
10  0x7fff519e38df _dispatch_client_callout
11  0x7fff519e6292 _dispatch_block_invoke_direct
12  0x7fff36cf86e9 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
13  0x7fff36cf83d7 -[FBSSerialQueue _queue_performNextIfPossible]
14  0x7fff36cf88e6 -[FBSSerialQueue _performNextFromRunLoopSource]
15  0x7fff23da0d31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16  0x7fff23da0c5c __CFRunLoopDoSource0
17  0x7fff23da0434 __CFRunLoopDoSources0
18  0x7fff23d9b02e __CFRunLoopRun
19  0x7fff23d9a944 CFRunLoopRunSpecific
20  0x7fff38ba6c1a GSEventRunModal
21  0x7fff48c8b9ec UIApplicationMain
22  0x10828ca8d ffi_call_unix64
23  0x10f4ec950
JS Stack:
UIApplicationMain([native code])
at run(file: node_modules/@nativescript/core/application/application.ios.js:312:0)
at file: node_modules/@nativescript/angular/platform-common.js:211:0
at file: node_modules/@nativescript/angular/platform-common.js:112:0
at file: node_modules/@nativescript/angular/platform-common.js:92:0
at file:///app/bundle.js:263:144
at ./main.ts(file:///app/bundle.js:268:34)
at __webpack_require__(file: src/webpack/bootstrap:750:0)
at checkDeferredModules(file: src/webpack/bootstrap:43:0)
at webpackJsonpCallback(file: src/webpack/bootstrap:30:0)
at anonymous(file:///app/bundle.js:2:61)
at evaluate([native code])
at moduleEvaluation
at
at asyncFunctionResume
at
at promiseReactionJob

To Reproduce

using the nativescript create command with --template tns-template-tab-navigation-ng
upgrade to angular 9 wit hthe documentation by @NathanWalker

Expected behavior
Tabs are working with page routes
Additional context
Seems just to be broken for me on ng 9, before the upgrade everything worked fine
Current debugging information:

In the BottomNavigation function getViewController the item.content is every time null when I use a <page-router-outlet> in combination with a name (named outlet) other wise the content is existing (a frame)

maybe this can help you too -> I think the reason why this happens is that the frames are getting removed but I don't know why
Left side: angular 8 - working
Right side: angular 9 - not working

If I disable Ivy everything works

I'm having the exact same issue

Any progress on this? I have the same issue :(

I'm having the same issue and after 1 day working, i found a solution for the problem.
Just wrap  page-router-outlet with StackLayout.
...

<TabContentItem>
     <StackLayout>
         <page-router-outlet name="homeTab"></page-router-outlet>
     </StackLayout>
 </TabContentItem>

 ...

at least, it's work fine in my project

Ok cool, I will try it! Thx 🙏🏻

Yes! It works. Tnx.  🙏🏻


Is websockets required?

I'm trying to run the controller to autoload and I never get the data back.  Using the Developer Tools in Chrome, I could see the page is getting stuck on the request.  The page (ASP.NET MVC) does work.  If I don't use jsgrid, I can get back the json string.
When I look at js-grid, it is waiting forever for my server script using Websockets.  Is that normal?  I don't use websockets that I know of.  Does it not use "regular" Ajax?  Thanks.  I have tried to find the answer in the documentation and elsewhere.
 $(document).ready(function () {

            $("#jsGrid").jsGrid({
                width: "100%",
                height: "400px",

                inserting: true,
                editing: true,
                sorting: true,
                paging: true,
                autoload: true,
                controller: {
                    loadData: function () {
                        var d = $.Deferred();

                        $.ajax({
                            url: "/HelloWorld/WelcomeJson",
                            dataType: "json"
                        }).done(function (response) {
                            alert(response);
                            d.resolve(response.value);
                        });

                        return d.promise();
                    }
                },

                fields: [
                    { name: "last_name", type: "text", width: 150, validate: "required" },
                    { type: "control" }
                ]
            });
        });

I was not pulling the data back correctly.  I ended up with this,
var myItems = new[] { new { lastName = "somename", itemCount = 1 } }.**ToList()**;
return Json(myItems);

js-grid doesn't use web sockets. Usual REST is the best fit for back-end.


Security Question: Custom signing keys for tenant

I am currently implementing an OpenIDConnect-like flow for Microsoft Entra ID. While investigating this, I ran across the claim that Microsoft allows tenant-specific signing keys (link to GitHub comment). This made me think of a possible forgery attack if these keys are also allowed to be uploaded by tenant owners. I suspect that Microsoft does not permit some aspects of this attack to happen but I could not find documentation that explicitly addressed the assumptions behind it. Any pointers would be very helpful.
The concern is that tenant owners can create valid OIDC tokens with claims that they do not actually own, and can thus spoof identities.
Let's say I'm the tenant owner of a tenant with tenant_id=XYZ.

Is it possible to upload a custom signing key so that it appears at https://login.microsoftonline.com/XYZ/discovery/v2.0/keys?

If so, then what prevents the following attack?
I create a custom set of claims to spoof a user from tenant ABC (perhaps I have an expired ID token from them) with the issuer URL as my tenanted issuer URL (https://login.microsoftonline.com/XYZ/v2.0/), update the expiration time, and sign the token with my custom key. Now I can present this token to a multitenant application - the signature will validate and the claims are valid - and I will successfully authenticate as a user from tenant ABC.
Again I believe I'm missing something basic, probably some documentation on what kinds of tenant-specific signing keys are allowed, but feel uncomfortable with using tenanted issuer URLs to validate signatures for multitenant applications until I understand what prevents this forgery. Appreciate any pointers and help!
A related, broader question: Is there some page where all the deviations from OIDC spec due to tenants are listed? E.g. the common tenant discovery doc is not OIDC-compatible) And/or is there some place where the security of these deviations is established?

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

ID: b9abce49-5b87-65cf-8ef5-d3421619d535
Version Independent ID: 25c74f8d-9265-cb29-a80c-eaff4cfc6ec3
Content: OAuth 2.0 and OpenID Connect protocols on the Microsoft identity platform - Microsoft identity platform
Content Source: docs/identity-platform/v2-protocols.md
Service: identity-platform
GitHub Login: @henrymbuguakiarie
Microsoft Alias: henrymbugua

@govindr-cm
Thanks for your feedback! We will investigate and update as appropriate.

Thank you! Let me know if anything is unclear and you'd like me to elaborate.

@govindr-cm
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


to load vk icon via https

https://vk.com/images/icons/like_widget_2x.png
istead of
http://vk.com/images/icons/like_widget_2x.png
In order to get rid of:

Done via #32


When importing a module with a syntax error, PTVS breaks in the wrong module

If you write this
# foo.py
import bar

# bar.py
print x   # Python 3, this is a syntax error

Then PTVS breaks in foo.py with the instruction pointer set to the line import bar.  It does tell you that the syntax error occurred in bar.py and it provides an accurate line number.  But this can still be extremely confusing if you're not paying attention, since you will be looking for a syntax error on the line import bar, and scratching your head since it looks fine.
Would it be possible to do one or both of:
a) Display the instruction pointer inside of bar.py, at the line where the syntax error actually occurs?
b) Inject a new frame into the top of the callstack that says something like <parsing module 'bar.py'> so that you can click back and forth between the two frames to go to the import site as well as the site of the syntax error?

I think it's because we're taking the stack from the Python as it is at the point where exception happens, and it happens while parsing bar.py, not while running it, so there are no frames (or any other code) from it on the stack - the exception is actually thrown by import.
Injecting a fake frame on top specifically for SyntaxError might be possible. The tricky part is wiring all the other stuff that works with frames (fetching locals etc) such that it knows that it's fake, and is not accessible via sys._getframe.
Stepping will also be funky, since the actual instruction pointer will be on import.

Yea, I think you would have to hadd special-case handling for SyntaxError.  Like when you detect one, examine the interpreter state to make sure that a module load is in progress (since I guess someone could manually throw one), and if it is, just arbitrarily decide that when you break you're not going to show the callstack that Python gives you, but rather one with the IP at the location containing the syntax error.  I admit I don't know how difficult that would be, but it would be pretty helpful if you could make it work.
A potentially easier stopgap might be to modify the exception dialog so that it contains a link that you can click to go to the place that contains the syntax error.  Not sure if you have control over the UI elements of that dialog though.

Like when you detect one, examine the interpreter state to make sure that a module load is in progress

This wouldn't really work, at least not in the pure Python debugger, since it'll only see the exception after it leaves import. But I don't think it should be limited to just that case. Whenever there is a SyntaxError, we can get filename and lineno from the exception object, and use them to construct a dummy frame. It would then also work for exec, eval etc. And if someone throws it manually, I would assume that they're parsing Python manually for some reason, so it would still apply :)
Unfortunately, we don't have any control over the exception dialog beyond specifying the exception type name and message text.

Maybe when/if we get to do that debugger refactor we'll be able to change the protocol to have all requests go via a central location and handle pseudo-frames. Right now we make too many assumptions throughout the debugger to easily fake up something like this.

On a second thought, it would probably be much easier to fake it on the managed side - basically introduce a PythonSyntheticStackFrame and a common base class or interface to share with the existing PythonStackFrame.


Check more generic MICRO_OS_PLUS_USE_SEMIHOSTING

Semihosting may use newlib implementation, not local syscalls.
For this, a more generic MICRO_OS_PLUS_USE_SEMIHOSTING is needed.

Fixed on 2022-07-21.