Provide support for multiple conditional className attribute

Appreciation
I like slinky. 👍
I would like to give you a suggestion.
Problem

Given an element, div(className := "ui tab")
When I have a value isActive: Boolean, I want it to be like...

div(className := "ui tab") if isActive = false
div(className := "ui tab active") if isActive = true

Currently, I have to do this way, and it looks ugly and boring.
div(className := "ui tab" + (if (isActive) "active" else ""))

Suggestion
1. Merge all duplicate attributes

When you write div(className := "ui tab", className := "active"), you will finally get

CURRENTLY:
 (only the last one left)
TO-BE:
 (merged)

2. Convenience for conditional attributes
There is a similar thing In japgolly/scalajs-react.

You can write like this for
:

div(className := classSet("ui" -> true, "tab" -> true, "active" -> isActive))
div(className := classSet1("ui tab", "active" -> isActive))

Thank you.

I think this could fit well into a slinky-addons library that was discussed earlier!

Since this isn't something that will directly fit into Slinky, but instead can be implemented in an independent library, closing.


Replace "docker-core" with "docker-engine" in "build-deb"

cc @jfrazelle

LGTM

LGTM, merging!

Great, look what you did! Now all these cute little puppies have to stand in the rain :)


server crash when using JWT with fastboot

getting an error when refresh token is acquiring a new token from the server after the page is refreshed
/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:15485
        throw new Error(`Assertion Failed: ${desc}`);
              ^

Error: Assertion Failed: calling set on destroyed object: <front@session:main::ember263>.isAuthenticated = true
    at assert (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:15485:15)
    at set (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:8963:49)
    at /tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:9267:9
    at changeProperties (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:7751:7)
    at setProperties (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:9264:5)
    at Proxy.setProperties (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:20817:40)
    at Proxy._setup (webpack://__ember_auto_import__/./node_modules/ember-simple-auth/dist/initializers/setup-session.js?:20:3060)
    at Proxy._onSessionDataUpdated (webpack://__ember_auto_import__/./node_modules/ember-simple-auth/dist/initializers/setup-session.js?:20:4569)
    at sendEvent (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:7397:14)
    at Class.trigger (/tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:18383:28)
    at /tmp/broccoli-2752446XwywZ4qYaaAa/out-582-broccoli_merge_trees/assets/vendor.js:112557:14
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

I'm using ember with fastboot
ember: 4.12.3
ember-simple-auth: 6.0.0
ember-simple-auth-token: 5.3.2

ember@4 is not supported at this time but will be soon.


add license tag to gemspec

also include LICENSE to files to distribute license text within sources

@ignatenkobrain thanks!


perf: basic criterion benchmarks for store and load of text

I had to move src/main.rs into src/bin/fuzzr.rs as benches
cannot import the lib of a binary.
Here is an example report:
Benchmarking load_text_throughput/1024_bytes
Benchmarking load_text_throughput/1024_bytes: Warming up for 3.0000 s
Benchmarking load_text_throughput/1024_bytes: Collecting 100 samples in estimated 5.0522 s (252k iterations)
Benchmarking load_text_throughput/1024_bytes: Analyzing
load_text_throughput/1024_bytes
                        time:   [19.818 us 20.226 us 20.698 us]
                        thrpt:  [47.181 MiB/s 48.282 MiB/s 49.277 MiB/s]
                 change:
                        time:   [-4.0016% -1.3089% +1.4003%] (p = 0.33 > 0.05)
                        thrpt:  [-1.3809% +1.3262% +4.1684%]
                        No change in performance detected.
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) high mild
  1 (1.00%) high severe
Benchmarking load_text_throughput/16384_bytes
Benchmarking load_text_throughput/16384_bytes: Warming up for 3.0000 s
Benchmarking load_text_throughput/16384_bytes: Collecting 100 samples in estimated 5.0427 s (237k iterations)
Benchmarking load_text_throughput/16384_bytes: Analyzing
load_text_throughput/16384_bytes
                        time:   [21.155 us 21.456 us 21.830 us]
                        thrpt:  [715.76 MiB/s 728.22 MiB/s 738.58 MiB/s]
                 change:
                        time:   [-1.4959% +0.2366% +1.8887%] (p = 0.78 > 0.05)
                        thrpt:  [-1.8537% -0.2360% +1.5186%]
                        No change in performance detected.
Found 14 outliers among 100 measurements (14.00%)
  14 (14.00%) high severe
Benchmarking load_text_throughput/262144_bytes
Benchmarking load_text_throughput/262144_bytes: Warming up for 3.0000 s
Benchmarking load_text_throughput/262144_bytes: Collecting 100 samples in estimated 5.2214 s (91k iterations)
Benchmarking load_text_throughput/262144_bytes: Analyzing
load_text_throughput/262144_bytes
                        time:   [56.666 us 57.265 us 58.031 us]
                        thrpt:  [4.2071 GiB/s 4.2633 GiB/s 4.3085 GiB/s]
                 change:
                        time:   [-1.7947% +0.5167% +3.1932%] (p = 0.71 > 0.05)
                        thrpt:  [-3.0944% -0.5141% +1.8275%]
                        No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
  2 (2.00%) high mild
  9 (9.00%) high severe
Benchmarking load_text_throughput/1024000_bytes
Benchmarking load_text_throughput/1024000_bytes: Warming up for 3.0000 s
Benchmarking load_text_throughput/1024000_bytes: Collecting 100 samples in estimated 5.1192 s (25k iterations)
Benchmarking load_text_throughput/1024000_bytes: Analyzing
load_text_throughput/1024000_bytes
                        time:   [188.78 us 191.93 us 195.37 us]
                        thrpt:  [4.8815 GiB/s 4.9689 GiB/s 5.0519 GiB/s]
                 change:
                        time:   [-2.9584% +0.4243% +4.3536%] (p = 0.82 > 0.05)
                        thrpt:  [-4.1720% -0.4225% +3.0486%]
                        No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
  4 (4.00%) high mild
  3 (3.00%) high severe

Benchmarking store_text_throughput/1024_bytes
Benchmarking store_text_throughput/1024_bytes: Warming up for 3.0000 s
Benchmarking store_text_throughput/1024_bytes: Collecting 100 samples in estimated 5.2461 s (66k iterations)
Benchmarking store_text_throughput/1024_bytes: Analyzing
store_text_throughput/1024_bytes
                        time:   [77.428 us 78.358 us 79.522 us]
                        thrpt:  [12.280 MiB/s 12.463 MiB/s 12.613 MiB/s]
                 change:
                        time:   [-3.7098% -1.7624% +0.2276%] (p = 0.08 > 0.05)
                        thrpt:  [-0.2271% +1.7941% +3.8528%]
                        No change in performance detected.
Found 13 outliers among 100 measurements (13.00%)
  1 (1.00%) low mild
  1 (1.00%) high mild
  11 (11.00%) high severe
Benchmarking store_text_throughput/16384_bytes
Benchmarking store_text_throughput/16384_bytes: Warming up for 3.0000 s
Benchmarking store_text_throughput/16384_bytes: Collecting 100 samples in estimated 5.4411 s (61k iterations)
Benchmarking store_text_throughput/16384_bytes: Analyzing
store_text_throughput/16384_bytes
                        time:   [92.245 us 94.675 us 97.175 us]
                        thrpt:  [160.79 MiB/s 165.04 MiB/s 169.39 MiB/s]
                 change:
                        time:   [+2.0510% +5.4291% +9.5546%] (p = 0.00 < 0.05)
                        thrpt:  [-8.7213% -5.1495% -2.0098%]
                        Performance has regressed.
Found 23 outliers among 100 measurements (23.00%)
  10 (10.00%) high mild
  13 (13.00%) high severe
Benchmarking store_text_throughput/262144_bytes
Benchmarking store_text_throughput/262144_bytes: Warming up for 3.0000 s
Benchmarking store_text_throughput/262144_bytes: Collecting 100 samples in estimated 5.4979 s (20k iterations)
Benchmarking store_text_throughput/262144_bytes: Analyzing
store_text_throughput/262144_bytes
                        time:   [274.98 us 281.16 us 288.82 us]
                        thrpt:  [865.58 MiB/s 889.17 MiB/s 909.15 MiB/s]
                 change:
                        time:   [+3.9246% +6.7403% +9.6361%] (p = 0.00 < 0.05)
                        thrpt:  [-8.7891% -6.3147% -3.7764%]
                        Performance has regressed.
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild
Benchmarking store_text_throughput/1024000_bytes
Benchmarking store_text_throughput/1024000_bytes: Warming up for 3.0000 s
Benchmarking store_text_throughput/1024000_bytes: Collecting 100 samples in estimated 8.9799 s (10k iterations)
Benchmarking store_text_throughput/1024000_bytes: Analyzing
store_text_throughput/1024000_bytes
                        time:   [831.94 us 853.01 us 877.59 us]
                        thrpt:  [1.0867 GiB/s 1.1180 GiB/s 1.1463 GiB/s]
                 change:
                        time:   [+2.4954% +6.3998% +10.654%] (p = 0.00 < 0.05)
                        thrpt:  [-9.6281% -6.0148% -2.4347%]
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  5 (5.00%) high mild
  1 (1.00%) high severe

I have yet to add image benchmarks;  I'm not sure how to generate a variety of sizes yet.
Signed-off-by: Chris Goller<EMAIL_ADDRESS>

Great work also! I'm fine with moving the binary file, and I'll try to make sure everything works well when I do a release. I might have to add a [[bin]] section to the Cargo.toml.
Another issue with forking your changes in, as much as I love the model, is that github doesn't run actions over them. Can you push both of your changes to the repo itself? Also, maybe join our Discord. I should put a link up in the README to our Matrix server, also.

Great work also! I'm fine with moving the binary file, and I'll try to make sure everything works well when I do a release. I might have to add a [[bin]] section to the Cargo.toml.
Another issue with forking your changes in, as much as I love the model, is that github doesn't run actions over them. Can you push both of your changes to the repo itself? Also, maybe join our Discord. I should put a link up in the README to our Matrix server, also.


Internal Server Error when sending a review

I think that has something to do with the mailjet account.

This is the same issue as #2

Works when testing locally
=> Maybe an .env issue

Issue is not there anymore
Don't really know what fixed it
Maybe the connection to the database was not there anymore


Updating Docker image to ruby:2.4.4

Proposed Changes
Describe briefly your changes. Be sure you've tracked this pull request to an issue.
Type of Change
What kind of changes this Pull Request introduces to Falko?
x to what it applies

[x] Bugfix
[ ] New Feature

Checklist
xto what it applies. If not sure about some topics, don't hesitate to ask. We're here to help!

[x] Pull Request's name is self-explanatory and its in English.
[ ] There are no Rubocop issues.
[ ] Travis build has success (tests, code climate and codacy checks).
[x] Pull Request is linked to an existing issue.
[ ] Seeds have been created to the new User Stories.

Other Comments
If it's a change relatively big/complex and/or you have any comment/question to do, feel free to explain or comment anything you feel relevant.

I am not very used to TravisCI, but it states
The command "openssl aes-256-cbc -K $encrypted_16fe788254fd_key -iv $encrypted_16fe788254fd_iv -in .travis/alax-digitalocean-key.enc -out .travis/alax-digitalocean-key -d" failed and exited with 1 during .

Is there any error with the CI authentication keys?


Ensure that your packed transaction JSON follows the following format!

When I set the contract on blockchain in version<EMAIL_ADDRESS>and call the action of the contract, everything was normal. but when I set the same contract on blockchain in version EOS1.0, There is nothing wrong. But when I call action on EOS1.0, errors occured!

what should I do? I don't know how solve this issue.

upgrade eosjs .. looks like you figured it out


Update decoupling UI from URL pattern

It looks like we're reaching consensus on https://github.com/reactjs/react-router/issues/3172, so let's update the guide to follow the new recommended pattern.

:+1:

@timdorr Can you make a tiny.cc link for that "decoupling UI" section? I think it'd be easier if all the shortened links were yours :D

http://tiny.cc/router-decouple-ui
The only thing we can do for v2.1 is to just add a deprecation warning. Can't actually clean up the code until v3.


typescript "explicitly name unions" option needs to know about type operator precedence.

For the json file
{
  "greeting": "Welcome to quicktype!",
  "instructions": [
    "Type or paste JSON here",
    null
  ]
}

if you use language: typescript with the "Explicitly name unions" options on, it generates the code
export interface Welcome {
    greeting:     string;
    instructions: null | string[];
}

When it should probably be
export interface Welcome {
    greeting:     string;
    instructions: (null | string)[];
}

Good catch!


[action] artifactory: Add a read timeout option

The Artifactory gem supports a configurable option for the read timeout.  The Fastlane action can be extended to pass the argument through to the client.
The default read timeout for the client is 120 so I see no reason to set a different default.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

Allow configuration of a timeout in case there is a slow connection or other blocker.

Description

This change just adds a new option to set the read timeout for the Artifactory client.  This is already a configurable in the underlying gem and will just be passed when initializing the client.

Couldn't we not define a default to use the gem default?

Based on [https://github.com/chef/artifactory-client/blob/master/lib/artifactory/client.rb#L71-L75]?  Yeah that looks right.

Hi
it seems you have missed is_string: false in ConfigItem.new


[docs] How to get the corner grabber in a multiline TextField displayed?

Related page
https://mui.com/material-ui/react-text-field/#multiline
Kind of issue
Missing information
Issue description
I want a multiline <TextField> which gets automatically transformed to a <TextareaAutosize> according to documentation (and it does). But it is missing the corner grabber, so a user can resize the field at leisure.
And I can't find any instruction on how to pass that down to the underlying <TextareaAutosize> (or maybe the default styling of <TextField> is blocking it?).
Please clarify the documentation to include instructions on how to get the corner grabber.
Context
I want a <TextField> that displays the corner grabber for resizing, that is part of <TextareaAutosize>.
Ie. I want to get

in my multiline <TextField> with minRows and maxRows.
In case it helps expedite the request: we are paying customers on the premium level: :credit_card: #84512
Search keywords: TextField, TextareaAutosize, resize, grabber

The closest to what you want is to add resize: auto to the textarea to leverage CSS:
<TextField
  id="outlined-multiline-flexible"
  label="Multiline"
  multiline
  maxRows={4}
  sx={{
    [`& textarea:not([aria-hidden])`]: { resize: 'auto' }
  }}
/>

I don't think Material UI will provide this feature soon.


Render closed-interval-ranges for human legibility.

Currently, a satoshi range of [10; 12], which contains the elements {10, 11, 12}, would be rendered as 10-13. It's convenient for calculating its value, but highly misleading because it suggests that 13 is part of the interval, which it isn't.
The issue stems from the asymmetry of interval openness: the beginning of the interval is closed, and the ending is open.
To facilitate human legibility and convenience, the ends of intervals are now rendered as closed, too.
This PR might be controversial, so feel free to close.

I like this. How about we just render it in the front-end as [10, 13) instead of 10-13?

This is stale, so closing.

Fixing in #4075.


Orthographic matrix clip plane math wrong?

I haven't run tests to see what results I get, but while reading through the implementation of HMM_Orthographic, I noticed that all of the clip plane calculations are doing (Near - Far), rather than (Far - Near). Same for the additions.
I double checked the orthographic projection matrix online, and also cross-checked a couple other math libraries I've used in the past, and they all say (Far - Near). I'm guessing this is a typo?

Actually, thinking more about this, perhaps it's intentional. Most other matrix math libraries are templated, and have right-hand and left-hand versions. Both versions use the same code, but the right-hand version negates the (far-near) calculation. If HandmadeMath is always assuming right-hand coordinates, then (near-far) would get the same result...

Yeah, I believe this all depends on the direction of your z-axis. I'll make sure to keep this in mind for the eventual version of Handmade Math that supports different handedness (see #75).


540 units tests not working as expected

Adds logic for unit tests supported in 1.8

Unit tests all pass standard DBT suite. Merging in and will resolve new issues as they arise.


Implement pluck operator

@trxcllnt is this going to be consistent with RxJS v4 with a recursive pluck?

@mattpodwysocki sorry for the empty initial description, was in the middle of something but wanted to capture the issue anyway. I see no reason not to be backwards-compatible here.

@trxcllnt are you working on this? I can take it if not.

@luisgabriel ... I'm going to guess he is if he filed the issue. That's usually his thing.

@blesh Sure, I was suspecting that. It's worth asking anyway. ;)

@luisgabriel I have not. In the middle of another project at work, feel free to take the lead on this.

@trxcllnt :+1:

@mattpodwysocki I'm currently working on this, but I'm not sure if I understand what do you mean by recursive pluck correctly. Could elaborate a little more?

@luisgabriel meaning that it is compatible with RxJS v4


Error running scvh_filter_matrix.r

Hi,
When running scvh_filter_matrix.r I get the following error:
Sig     FALSE TRUE
FALSE  1915    0
TRUE     42 5850
Analyze bam in /scratch/cs/pan-autoimmune/data/vulture/scRNAseq/GSE215237/SRR21863020
Getting the barcodes of the non-host genes that have potential interaction with host [Mon Sep 18 13:18:12 EEST 2023]
gene: gene-PestiV1gp1
bcs: CTGGTCTAGAAGGCCT
/scratch/cs/pan-autoimmune/data/vulture/scRNAseq/GSE215237/SRR21863020/alignment_outs/Aligned.sortedByCoord.out.bam is not present or is empty
Looping over STARsolo BAM file to store host read IDS and output non-host BAM [Mon Sep 18 13:18:14 EEST 2023]
Please advise.
Thanks and good day.

@juychen

Hi,
When running scvh_filter_matrix.r I get the following error:
Sig FALSE TRUE FALSE 1915 0 TRUE 42 5850 Analyze bam in /scratch/cs/pan-autoimmune/data/vulture/scRNAseq/GSE215237/SRR21863020 Getting the barcodes of the non-host genes that have potential interaction with host [Mon Sep 18 13:18:12 EEST 2023] gene: gene-PestiV1gp1 bcs: CTGGTCTAGAAGGCCT
/scratch/cs/pan-autoimmune/data/vulture/scRNAseq/GSE215237/SRR21863020/alignment_outs/Aligned.sortedByCoord.out.bam is not present or is empty Looping over STARsolo BAM file to store host read IDS and output non-host BAM [Mon Sep 18 13:18:14 EEST 2023]
Please advise.
Thanks and good day.

Sorry for my late reply, what files are in your alignment_outs folder?

4096	9/18/23 12:47	_STARgenome
11600494733	9/18/23 12:58	Aligned.out.bam
        4096	9/18/23 12:58	Solo.out
    9254511	9/18/23 12:58	SJ.out.tab
        1308	9/18/23 12:59	Log.progress.out
      52278	9/18/23 12:59	Log.out
        2037	9/18/23 12:59	Log.final.out

Thanks.
4096 9/18/23 12:47 _STARgenome<PHONE_NUMBER>3 9/18/23 12:58 Aligned.out.bam         4096 9/18/23 12:58 Solo.out     9254511 9/18/23 12:58 SJ.out.tab         1308 9/18/23 12:59 Log.progress.out       52278 9/18/23 12:59 Log.out         2037 9/18/23 12:59 Log.final.out

Seems that you did not get the sorted bam file.
did you set --outSAMtype "BAM SortedByCoordinate" when doing alignment using scvh_map_reads.pl?

Thanks!


users: add global config variable to set default profile visibility to "False"

Add a global configuration variable to set the user's profile visibility to False (restricted) by default. It is currently being set to restricted but it is not based on a configuration variable. Adding this variable allows the default visibility to be configured by instance.
Additionally, this feature should be documented and explained so that users can understand why it is set to False by default and how to override it if they want to.

[ ] Analyse where this variable must be taken into account.
[ ] Analyse possible implications / consequences of adding this configuration.
[ ] Analyse where this variable should be set and how it can be overridden by instance.
[ ] If viable, implement the configuration variable.
[ ] Add tests.
[ ] Add documentation.

It already defaults to false, right? So this is about having a config that allows to override it as well as adding the documentation?

Would it be possible if we can have both user and email visibility values  in invenio.cfg  for easier change

Is it for only user visibility or both user and email, it would be convenient if we can alter the value from within the invenio.cfg no?

I agree that we could have two separate configs so instance admins have more granular control on these permissions. On the otehr hand, since this is just about defaulting perhaps it is not necessary. I think it needs to be analysed based on what makes sense for the users and how this impact code's maintainability / readability.
I am first checking how this can be done and then I will dump that information in this issue to be implemented later on, as the 9.1 dev cycle is almost finished.
I got caught up with other tasks and will be soon moving back to this one again.

We want this as well.
The use case: our users want to add members to their communities right away. Having them go first into their profile to change their visibility is .... not going to happen. Given that the instance is tied to an institutional login, privacy concerns are more or less moot. Having that configuration variables control default visibility and default email separately would be nice (we may want to hide the email by default but keep users visible in the member autocomplete).

@fenekku : we want this as well and also see the same use case -  this happened live during demo-session , once community is created,  the community manager wants to add users but is not able to find the users since the users have their profile set to hidden by default. So the community manager will not be able to add users to the community unless s/he communicate somehow to users that they must change profile to visible. So for setting up an institutional repository, being able to change the default value from hidden to visible is a wanted feature.


Problem with updating an issue

Hi Folks,
i found a little Bug in the issue-upate-function:
https://github.com/m4tthumphrey/php-gitlab-api/blob/70aeb9f412f8dc184dbd91afd75058ab8702746e/lib/Gitlab/Model/Issue.php#L94
To Update the issue the gitlab-api needs the iid and not the id of the issue.
Link to the api-doc
I think it should be:
$data = $this->client->issues()->update($this->project->id, $this->iid, $params);

Same thing here:
https://github.com/m4tthumphrey/php-gitlab-api/blob/70aeb9f412f8dc184dbd91afd75058ab8702746e/lib/Gitlab/Model/Issue.php#L83
I think this should be work:
$data = $this->client->issues()->show($this->project->id, $this->iid);

@phsteffen Can you open a PR?

@m1guelpf PR is open: https://github.com/m4tthumphrey/php-gitlab-api/pull/255
Thx.


⚠ Msite has degraded performance

In 9588471, Msite ($MSITE_URL) experienced degraded performance:

HTTP code: 200
Response time: 5233 ms

Resolved: Msite performance has improved in 5bcaa9f.


Refresh button to update all the data

Is your feature request related to a problem? Please describe.
I use the this website a lot. Usually I keep it open in one of the tabs of my browser. When I come back to this tab after few minutes or hours to check latest data, I still looking at the older data and I have to hit the refresh button which loads the entire page and I am just waiting for it to load.
Describe the solution you'd like
Let's add a refresh button at the top like this:

When this button is clicked, the latest data is fetched and chart, graphs are updated.
Describe alternatives you've considered
Instead of refresh button, we can also fetch the latest data after every few minutes (eg. every 20 minutes).
But this can cause unnecessary API calls if the web app is open is some tab and user don't close it.
Please assign this to me if it is accepted.

Will be taken up in the subsequent change.

Reassigning. Please talk to @jeremyphilemon before you pick this up.

Please refer to https://github.com/covid19india/covid19india-react/pull/711#issuecomment-617447680


dasHost.exe keeps running

Service.msc says
Device Association Service
Enables pairing between the system and wired or wireless devices.
Executes:
C:\WINDOWS\system32\svchost.exe -k LocalSystemNetworkRestricted -p

I think its just a normal persistent service and not the Trojan/ Coin Miner mentioned in the internet.
I'll just disable it to run from startup, I hope it's fine, I'll monitor if it causes other issue.


[WinError 2] The system cannot find the file specified

Hi guys, I encounter weird error that I am trying to solve for few weeks and finally decide to ask here.
dbbackup.db.exceptions.CommandConnectorError: Error running:  pg_dump --dbname=postgresql://postgres:abc123@localhost:5432/postgres --format=custom
[WinError 2] The system cannot find the file specified

Note

am using windows
running python manage.py mediabackup works.
Used version 3.3, failed. then update to 4.0.0b0 Release, still failed.

I have tried set using connector also failed. anyone encountered the same issue?

I also have the same issue.
I have not found the solution to solve it yet.

Olá, houve alguma atualização sobre?

me  too  how i do to solve it

See the thread at https://github.com/jazzband/django-dbbackup/issues/294#issuecomment-618129521 that specific answer is what fixed it for me.

Would anyone like to PR that solution to the docs?


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 0e23224, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7180 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 1610005.


Version 1.1.1 did not work for me

Hey Guys!
I encountered with an issue today with figaro. I have config/application.yml like
development:
  user_name: bloggingwebsite
  password: 'mypassword'

and in Gemfile I had
group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug'
  gem 'figaro'
end

Then it installed the version 1.1.1. When I tried to access the ENV['user_name'] it returned nil.
To fix this I had to fix my version to 1.0.0 explicitly.
Now its fixed..
So could you please find out what the problem is?
Thanks!

Are you using Spring? If so, restart Spring and let me know if that works.

Thoughts on me adding this to README.md in a PR?  May be helpful for less Rails like peeps like me when they're wondering why the ENV vars are stale on their tests.
Cheers! 😄

Just logging this in case it helps someone else: it's not working either for me today, in a pure ruby app, using latest release (1.1.1). I tried using the v2 branch but go other problems which I hadn't got the time to investigate.


Update the README example to something runnable.

Ideally, the example on the front page of the readme should be actually runnable if someone were to copy and paste it into a quilt spec.  Shouldn't require major tweaks, just things like the docker image names and some basic testing.

Migrated to Trello.
https://trello.com/c/kiLhPk5j


Update hello-planning-guide.md

Corrected typographical errors within Trust Type section.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Create cs.json

Creation of the Czech translation based on English. Tested in Remote-Containers.
Please note when any required fields are left empty the "Required" message appears in English. This might require adding into the config_flow?
Please get in touch if new strings are added, happy to provide additional translations.
Rene

Hello @ertechdesign , Sorry for being that late this weekend :(
Thank you very much for your contribution. I'm going to add it as quickly as possible but I have a question:

is the 'cs' the right country code for Czech Republic ? Forgive me if I'm wrong but I thought it was 'cz' and have then checked the ISO database stating CZ is correct for Czech Republic while CS is related to Serbia and Montenegro

Hi @krahabb ,
Thank you for checking. The code CS was used for Serbia and Montenegro country rather than Serbian language and was deprecated in 2006 when it was replaced with RS and ME respectively.
Home Assitant dev guidelines here state that BCP 47 Language Code Format should be followed under which Czech Republic is cs-CZ (that doesn't provide a conclusive answer to the issue though).
I used ISO_639-1 that specify languages rather than countries so my understanding is language Serbian would use SR and language Czech would use CS.
Obviously I might be mistaken but I smoke tested my commit and Czech UI was displaying for the Meross_LAN integration. 😃
Thanks,
Rene

Ah well...language and not country-code ;)
Ok then... the final answer is your testing going good so I'll merge it right away.
I'm going to just merge into 'master' but I'm not going to publish a new release until some more code comes out of dev
Thank you very much!


The Format document command  does not work in multi root workspaces

The command Format Document does not work correctly in every project folder when there is multi-root workspace. I have an extension C#.

Please file an issue against c# extension


Interactive Tutorial - Deploying an App

The following command does not function correctly:
echo -e "\n\n\n\e[92mStarting Proxy. After starting it will not output a response. Please click the first Terminal Tab\n";
kubectl proxy

The second terminal opens and displays the following:
Permission denied (publickey,password).
I received the same result on two work computers: Mac OS 11.6, Chrome Version 95.0.4638.54 and
Windows 10 Enterprise Version 1909, Chrome Version 95.0.4638.54
It also did not work on another Mac of mine, which is not subject to any corp control.

It works for me too.

Windows 10 Enterprise 20H2
Chrome 95.0.4638.69

This works now for me. Thanks!


Building a custom-op on Windows

A heavily requested feature for tensorflow/addons is that we package a windows version:
https://github.com/tensorflow/addons/issues/173
AFAIK to build this we'll need a libtensorflow_framework.dll of some sort within the pip installed package. Looking at the link flags & installed directory it looks like this is not available.
python -c "import tensorflow as tf; print(tf.version.VERSION)"
2.0.0-beta1

python -c "import tensorflow as tf; print(tf.sysconfig.get_link_flags())"
[]

Is this by design or has it just not been implemented yet? There is a _pywrap_tensorflow_internal.pyd but I don't believe we've been linking to the python shared objects so I figured I was headed down the wrong path.
cc @meteorcloudy @yifeif @perfinion

@allenlavoie do you remember why we chose to not have libtensorflow_framework on windows.

We were still using CMake on Windows when I made the change originally, so I just changed the Bazel builds. I imagine there are issues with the number of symbols libtensorflow_framework.dll would need to expose, but it's worth figuring out if we can support custom ops this way on Windows too.

@gunan @allenlavoie Thanks for the followup. Is there anything I can do to help this along? (e.g. file an issue on tensorflow/tensorflow). I could try to start working on a PR myself but my time on windows boxes is limited and building TF from source won't be super efficient.

I think we need to make all the changes around libtensorflow_framework for windows. I can see that the code just skips windows cases, for example here:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tensorflow.bzl#L391

is anyone working on this?
IMO this should have a very high priority.
This block fixes to a tf@2 regression for people trying to update tensorflow 1 that are using windows and tf.image. They now need tensorflow_addons which does not support windows because of this issue

Much thanks to @meteorcloudy 's investigation, here is a tentative todo-list paraphrased below:

[ ] Build tensorflow_framework with symbols exported (example commit by @meteorcloudy )
[ ] optionally make TensorFlow windows pip package build non-monolithic
[ ] Include .dll and .lib files of tensorflow_framework in the pip package
[ ] Make configure.sh and tf_configure.bzl be aware of Windows. To use the tensorflow_framework.dll.if.lib for linking, you can use the cc_import rule.
[ ] Make build_pip_pkg.sh script work on Windows. Might need to do something similar to TF's build_pip_package.sh script as unfiles is disabled on Windows by default.
[ ] Figure out how does \<custom_op\>.so find tensorflow_framework.dll at runtime. Do we need .pyd suffix (we might not if we use tf.load_op_library).

Let us know if you are interested in helping out with any of this.

IMHO this is a critical regression (influencing all usage of APIs that moved from tf.contrib to tfa) not a 'contribution welcome' thing. I appreciate what is been done here by maintainers and I do realise this is open source, but from a practical perspective, tf seems like a bad choice for Windows users as its support is clearly not well tested and is not a priority for the tf team.

Thanks for the feedback @amitport. Just to clarify, we do care about Windows support, and plan to add it soon. We are marking this as contribution welcome in case anybody gets to pieces of this sooner.
We are going to update the checklist as we make progress, most likely after TF World next week. cc: @martinwicke @jakline.

@seanpmorgan commented yesterday:

Please forward your request comments/support to the custom-op issue: tensorflow/custom-op#24 so that it can be prioritized. The roadmap has been laid out, but it needs to be completed.

Just reiterating this request from the above-linked issue discussion, as instructed. This represents a significant feature regression for Windows users, and deserves a big bump in priority IMO.

Thanks for the patience! This should now work for CPU, and GPU support is on its way.

FYI, currently we are still using pywrap_tensorflow instead of tensorflow_framework under the hood for windows, but this detail should be taken care of by the macros.

Windows gpu support has also been added. Let me know if you run into any issue with it.

Hey guys! I am completely new to the implementation of custom ops. Can some please give me insides about how to build a custom op for windows? I found the tutorial for building an op for linux, but I do not understand, where I need to make changes in order to make it work for windows! Is there a dedicated tutorial to implement and use an op for windows? That would really help!
Thank you for your help!


Robots try to load twice

When does this happen?
Here's my log when opening main:

This is me:

It looks as if the first request does not take protocol into account and tries to load the GIF over HTTP.


on_start and on_stop gets run on each Worker instead of just one time

The on_start functions are intended to be run one time when the load tests starts, and the on_stop function one time when the load test stops.
While this happens correctly in standalone mode, when running a load test as a Gaggle, they incorrectly end up running once per Worker. One possible solution would be to run on_start and on_stop tasks from the Manager, instead of coordinating them with the Workers.
The attached patch adds a test which illustrates the problem:
test.txt

Address the @FIXME in this test when fixing this bug:
https://github.com/tag1consulting/goose/blob/master/tests/redirect.rs#L281


Move JSON validation code into a function

That way we can reuse it in the submit method.

Closed in favor of #39.


Updated proper response for no records while executing purge command

This fix is to maintain consistency in response of purge command responses. When we are trying to purge and there is no response, purge networks and purge images are providing no data found response whereas purge vms and purge volumes are providing empty table. As part of this fix we are trying to fix the issue.
Before

After

/ok-to-test


Birthday suggestion

@deleted-role  Suggestion for PowerBot : have a kind of calender for birthdays. You could add the persons name and the date with a command, and remove it too. The bot would then congratulate that person or announce it on the discord server - Alex from AllCraft

Find a way to trigger a event when currentTime = <entered birthday time>
store the birthdays in a birthdays.json? and if (birthday.one = date.now())? then => exec happy bday code?

unfortunately, this will be pretty hard to implement, I am not going to launch this on PoiwerBot, so it will only be a signature edition feature, and we need to keep track which server is the message being sent to,  who, when, in a separate database. I will put this on hold, and work on it if I really get support for it.

This could be done very easily using Enmap and storing the date as the key and the user ID & Guild ID as the value.

yes @ethamitc I agree with you now. A function that runs every day to check if that day has a birthday in enmap. This is not hard to implement, you can implement after acquisition.


Lost all module in Android Studio after upgrade RN to 0.43.4

Help ! I added some third-party lib to my program before, and when I open the android program in Android Studio, it will show me the all the added modules. but they all disappeared after I upgraded the RN  to  verison 0.43.4, and the dependencies in build.gradle also have been set to initial state. Please is there any way to fix this since I have edit some source code of the third-party lib to meet my own statisfication in my program .

I'm sure you have used a version control system such as git? :)

All right,I have use react-native link command to re-link these libs and do lots of manually operations to recover this. Wish it will not happen again!!


7pm-1 eo - Add page for links from each channel

In this PR we add a new page to display the links for each Slack channel, reachable from each channel's page. It can be found at /member/channels/{channel}/links. The original issue asked for the table of links to include links to the original message, but it is not feasible at this time to get that information, so the table just includes the user, the link, and the timestamp. Tested locally.

All constructive feedback has been addressed; "var" has been replaced with "let" everywhere and the class zoom links have been replaced by placeholders.

taking a look now, should able to address this on this PR rather than making a new one

LGTM!

LGTM!

@skiteskopes This was made as a comment and not a formal approval. If you meant to give a full approval, please do so.


Fix client protocol detection at gateway

Fixes https://github.com/istio/istio/issues/37196
WIP because I will add some more tests and release note.
Related issue: https://github.com/istio/istio/issues/21230

One thing I think may break is:

Server is http1 only
Client uses ALPN negotiation

Client will negotiate to http2, and this PR now makes that forward as http2 to the server instead of http1....

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
c74bf950a10923266c4a60f5412539e0ea2d8032
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
c74bf950a10923266c4a60f5412539e0ea2d8032
link
true
/test release-notes_istio

integ-telemetry_istio
c74bf950a10923266c4a60f5412539e0ea2d8032
link
true
/test integ-telemetry_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
c74bf950a10923266c4a60f5412539e0ea2d8032
link
true
/test release-notes_istio

integ-telemetry_istio
c74bf950a10923266c4a60f5412539e0ea2d8032
link
true
/test integ-telemetry_istio

integ-telemetry-istiodremote_istio
c74bf950a10923266c4a60f5412539e0ea2d8032
link
true
/test integ-telemetry-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

After some discussion with @lambdai , I think we should not do this.
Consider HTTPS gateway, auto protocol backend
Before: always use HTTP1 to backend
After: use client protocol
Before its broken if their app requires http2
After, its broken if their app requires http1 AND clients use ALPN negotiation (because we always advertise h2)
Seems there is no perfect solution
Maybe we should keep current state. Users can explicitly configure new behavior already with DestinationRule useClientProtocol (or just configure the protocol to http/http2 explicitly). And all we should fix is the istio-peer-exchange ALPN -- since right now the server side will interpret as TCP which is wrong.
Will update the PR to just add the ALPN fix

Ok, updated. Now just fixing the ALPN part and adding tests.


GIAM-12095 Add GitHub workflows

I refactored github workflows as described below:

opening PR towards main will triggerr tests and packaging
merging PR towards main with proper release labels release/{major/minor/patch} will trigger release, changelog and upload to https://pypi.org
For https://pypi.org uploads github secret called PYPI_API_TOKEN needs to be added.


IOS 14 compressed url is not exist

After compressing photo, the result url is not exist.
This is log:
WARN  Could not find image file://private/var/mobile/Containers/Data/Application/9AD81D94-BF91-4398-BC1D-280B5C864A9B/tmp/98F1A7FE-F2AA-41E7-859B-86AFE1D6E392.jpg

@kerm1it can you send the me image which you are compression

It is my error.


Feature request: Support typeahead to search for project in the homepage

🚀 Feature Request
If a user has a lot of projects, it will take a very long time to get all of them on the home page. We should allow typeahead.
Motivation
Refer to how we do project dependency typeahead. There are several requirements:

[ ] When search string length <= 3 make a normal search with limit = 10
[ ] Always make a limit = 10 call
[ ] NOTE this change will probably break some tests in Studio

We have tried the following approach. There seems to be a few issues
patch.txt

See https://github.com/finos/legend-sdlc/pull/410
typeahead might not be the most suitable exploration mode here, since users might actually want to have a way to properly find ALL projects. See the repositories page of Github or Gitlab for example. typeahead often implies people know what they have and they just need some assistance in finding what they look for.

As such, we might as well close this for now in favor of #904


PII in telemetry "stack" when removed from "error"

Describe the bug
Some errors are reported in telemetry as "Error message was removed as it contained PII", but the PII is still present in telemetry in the stack.
Expected behavior
PII removed from errors should be removed from stack as well.
Logs
Office_Fluid_FluidRuntime_Error
| where Data_error contains "Error message was removed as it contained PII"
| where Data_stack matches regex "@\\w+\\/\\w+"
| count

Count
--
6987

@wes-carloson, any chance you can help me with this item?
Here are couple things I see:

I've added containsPII property as quick way to solve this, but there is no synchronization between telemetry code and data store code - telemetry should expose some constant with this name and data store should use it, such that it's easy to track code and make sure it stays in sync This is assuming we do not do # 3 below.
We used to sanitize package names (sanitizePkgName), because ARIA would remove any event that had payload with @ sign, as it removes all data with emails. There is no reference to this API anymore, which is weird (mostly because this means '@' sign is likely goes through, which seems like wrong - we might need to follow up with telemetry folks to better understand landscape).
I think overall logic needs to be changed. I think relying on containsPII (i.e. consumer telling us where PII) is wrong. Instead telemetry code needs to find package names (using '@' sign) and just remove them from all fields.

Ok I've looked into this scenario a bit while investigating #1920. I'm working with @chensixx on that fix, which will land in the November 2020 milestone. I have a solution in mind that will address # 1 for generally handling PII better, so for that aspect of this, I'd dupe this.
For # 2, I'll reach out to Jade.
For # 3, I'm skeptical that we want custom scrubbing logic... I'd rather we just build up discipline around not logging that stuff out to telemetry to begin with (i.e. I favor # 1 here).
@tylerbutler - I'd like to resolve this as dupe of #1920 but that essentially punts this until next month.  Is that ok?
cc @wes-carlson and @vladsud

After talking with @curtisman - duping to #1920.
However, as we move closer to 3P data stores / containers being in play, we will need to keep a close eye on this, and address an even trickier case of scrubbing stack frames from 3P code we've loaded.  I'll be sure to open an issue on that to track with the appropriate 3P initiative.


Where to implement "Disabling cookies" code (in Magento)

Hello, first I think Cookie consent is great but I dont know where I have to place the code from "https://cookieconsent.insites.com/documentation/disabling-cookies/"
Do I need to place the code within the
"

@aurel5542 you can place the code in the initialiser code, like this:

Hello @KeithP thanks for your reply. Do you know where this script "https://gist.github.com/KeithP/44b7ac4555f18f6a767788243071fb35.js" has to be placed in the Magento software?  Just place the link in System -> configuration -> Design -> Scripts... ? Thank you and best regards Aurel

@aurel5542 I am not familiar with Magento.
In principle you include the script code, then you need to initialise cookieconsent.
If you look at this documentation page: https://cookieconsent.insites.com/documentation/javascript-api/
the first example includes the css and js code, then within script tags it performs window.cookieconsent.initialise. each option passed in is comma separated. In this example only one of the events is included: onStatusChange: function(status) { ... but you can include all 3 events if you wish, as listed on "https://cookieconsent.insites.com/documentation/disabling-cookies/"

Dear @KeithP thanks so much for your support! One last question: Is there a way to test if it works? Because even if I do not include the code and press "Disable Cookies" the cookie banner vanishes but it can't work because the disabling code is not included


Cannot read properties of undefined (reading 'fwv')

Hi there,
After setting up the plug in I got this error:
 [HomebridgeOpenSprinklerApi] Cannot read properties of undefined (reading 'fwv')

Setup is:
OpenSprinkler FW: 2.1.0 (old one, and cannot be updated atm)
Node: v18.12.1
HomeBridge: v1.6.0 (HAP v0.11.0)
And clue what can be the issue?

So when I set things up, I make a request to your OpenSprinkler to get the firmware version (fwv) and it sounds like your version of the firmware must report it differently, or not at all. Do you mind manually hitting the API yourself? So you'd get your MD5 password and do this:
http://<host>/ja?pw=<your_md5_string>

And then can you paste your results in here? Also, you might want to look over the data that comes back to make sure it doesn't have any sensitive information in it.

Hi,
Thank you very much for your response,
So I can see I can get this answer for the following end point:
Request:
http://<IP_ADDRESS>/jo?pw=e10adc3949ba59abbe56e057f20f883e

Response:
{"fwv":210,"tz":28,"ntp":1,"dhcp":1,"ip1":192,"ip2":168,"ip3":1,"ip4":2,"gw1":192,"gw2":168,"gw3":1,"gw4":1,"hp0":80,"hp1":0,"ar":0,"ext":0,"seq":0,"sdt":0,"mas":0,"mton":0,"mtof":0,"urs":0,"rso":1,"wl":100,"den":1,"ipas":1,"devid":0,"con":110,"lit":100,"dim":15,"rlp":0,"uwt":0,"ntp1":50,"ntp2":97,"ntp3":210,"ntp4":169,"reset":0,"dexp":0,"mexp":5}

When trying to access this endpoint: http://<host>/ja?pw=<your_md5_string>
I got back: {"result":32}
(Page Not Found - (e.g. page not found or requested file missing))
I guess this is my API version I am using:  https://openthings.freshdesk.com/support/solutions/articles/5000405359-api-document-firmware-2-1-0
Any chance to support this API version ? even as read only ?
Thanks

Ah ok so yeah the ja endpoint simply returns everything that all the other ones return. I'll look into seeing if I can support this version, and let you know. If it becomes too much, then it might be where I can't support it. When I've got a beta version for you to test with I'll let you know.

Cool
Thanks
Appreciate your support and assistance
(password is for testing, its ok, thanks)

Yeah so after looking at this I don't think I'll be able to support this firmware. Everything I've done should support at least v2.1.6. At least that's the API document where I first see the /ja endpoint. I'd have to really change things to make it work (And that/ja endpoint is all read only stuff anyways) And since v2.1.6 came out in 2016, I don't feel like I need to support anything farther back than that.
I think I should put a disclaimer in the README that explains the version I support. I'm so sorry but I just don't think it makes sense for me to try and support that old of firmware.


Error parsing image.tag from values.yaml,"1.0" became "1"

Hi,Laird!
I got a problem when use microBean Helm to install a chart.
The image sets from values.yaml :
...
image:
    repository: daiqingliang/springboot-env
    tag: 1.0
    pullPolicay: IfNotPresent
...

When I use TarArchiveChartLoader  install a tgz type chart,
I found the pod fail to create,so I check the pod,and found image became this:
...
containers:
    - name: springboot-env
      image: 'daiqingliang/springboot-env:1'
...

And you told me that YAML does not hava types,So a text value of "1.0" may be interpreted by a YAML parser as 1(int).
So there show be a bug here.

Could you kindly try doing:
    tag: "1.0"

…?  The SnakeYAML parser used by microBean™ Helm may force this to a String.

Could you kindly try doing:
    tag: "1.0"

…? The SnakeYAML parser used by microBean™ Helm may force this to a String.
Yap, tag: "1.0" work fine!


Exception with GenericL10n fallback

STR:

run gulp server
open http://localhost:8888/web/viewer.html?file=/test/pdfs/tracemonkey.pdf

There's an exception:
Uncaught (in promise) Error: Not Found
    fetchData http://localhost:8888/src/display/display_utils.js:414
    #createBundleFallback http://localhost:8888/web/genericl10n.js:115
    #generateBundles http://localhost:8888/web/genericl10n.js:79
    touchNext http://localhost:8888/node_modules/cached-iterable/src/cached_async_iterable.mjs:63
    onChange http://localhost:8888/node_modules/@fluent/dom/esm/localization.js:164
    onChange http://localhost:8888/node_modules/@fluent/dom/esm/dom_localization.js:40
    Localization http://localhost:8888/node_modules/@fluent/dom/esm/localization.js:21
    DOMLocalization http://localhost:8888/node_modules/@fluent/dom/esm/dom_localization.js:22
    GenericL10n http://localhost:8888/web/genericl10n.js:50
    createL10n http://localhost:8888/web/genericcom.js:42
    initialize http://localhost:8888/web/app.js:213
    run http://localhost:8888/web/app.js:588
    webViewerLoad http://localhost:8888/web/viewer.js:209
    <anonymous> http://localhost:8888/web/viewer.js:220
display_utils.js:414:13

the URL:
https://github.com/mozilla/pdf.js/blob/master/web/genericl10n.js#L116
is wrong: there's no en-us (but there's en-US) under the locale directory.
@Snuffleupagus could you have a look please ?

There's an exception:
[...]

In my testing the viewer still loads, despite errors during L10n-init; can you confirm that?

https://github.com/mozilla/pdf.js/blob/master/web/genericl10n.js#L116
is wrong: there's no en-us (but there's en-US) under the locale directory.

The only way that we should be able to reach that line is if the web/locale folder is empty/missing, in which case there's no locale-data to load anyway.
Given that this only concerns a fallback code-path in development mode, perhaps we should just hard-code to URL to point at https://github.com/mozilla/pdf.js/blob/master/l10n/en-US/viewer.ftl instead?

In my testing the viewer still loads, despite errors during L10n-init; can you confirm that?

Yep everything is loading correctly.

Given that this only concerns a fallback code-path in development mode, perhaps we should just hard-code to URL to point at https://github.com/mozilla/pdf.js/blob/master/l10n/en-US/viewer.ftl instead?

I'm fine with this solution.
Another possibility would be to lowercase everything (when generating the directories). Do you know if it's possible to have different locales but with the same lowercase names ?

Do you know if it's possible to have different locales but with the same lowercase names ?

While I don't believe so, I'm not sure. Hence it's difficult for me to tell if anything could "break" if we change this.
Although, please keep in mind that we're simply importing those folders (and files) as-is from mozilla-central and we might thus run into trouble if the default locale directory is named en-us in the GitHub repo but en-US in the mozilla-central repo?


Remove duplicate statement in README.md

Hi @superoo7 I am getting ready to try your plugin to start up my next extension project. I noticed this small misprint when I was reading your instructions. Thanks!

Cool! thanks, it was done over a weekend and serve my own use case purpose haha.
Still a bit of clean up need to be done


Proposal: License this package as Apache 2.0.

The license information in this package is still "TBD".
This commit is a proposal to use the Apache 2.0 license which is the
recommended license for ROS 2 packages.
Apache 2.0 is considered a permissive license with an express patent grant.
More information can be found at https://choosealicense.com/licenses/apache-2.0/ and https://apache.org/licenses/LICENSE-2.0

Only one concern with marking this as Apache 2.0. I currently have a copy of MISRA rules in config/misra_rules.txt. I believe that MISRA rules are copyrighted, so I'm not sure that we can redistribute them in a modified format under Apache 2.0 (and honestly, they should probably be removed from the repo as they probably shouldn't be public right now).
I'd love to be wrong about this so that we can distribute a misra_rules.txt file.

so I'm not sure that we can redistribute them in a modified format under Apache 2.0

I don't think we can redistribute them at all and I'm pretty sure that we'll have to carve them out of this repository and require users to supply the rules themselves.
If we can distribute them but under a different license then it's possible to express that with a "carveout" using an additional license tag and xml comments in the package.xml file.

I defer to you on distribution, when I first included it I didn't think much about redistribution (even though I should have). Happy to have it removed ASAP.

Here's a question, probably for @mjeronimo : Lets say we're version controlling annotations files. If we are replacing MISRA rule text, then the dispositioning annotations file will probably include plaintext MISRA rules (unless we're very careful about how the annotations are structured, which may be the solution). Will it be a problem for us in the future if these plaintext rules are included in the annotations?

Yes, that's an excellent question. I've seen questions posted, like this, and the answer is usually "contact us about your usage." So, I've just sent a message to MISRA to ask about license fees and allowable usage within the context of an open source project like Space ROS.

Thanks for reaching out. Hopefully we get an answer that's at least slightly more permissive than this forum post: For a tool which is released on an entirely open-source basis, the practical solution is that diagnostic messages from the tool can only cite the MISRA rule number and not the rule text.

Also, MISRA and AUTOSAR guidelines will eventually merge into a single standard: https://www.perforce.com/blog/qac/misra-and-autosar-unite-cpp-coding-guidelines-what-means. I sure hope the resulting rule texts are not copyrighted.

One more thing: with the performance problems with cppcheck, we may just have to drop it from the list of static analyzers anyways. It's in for now until we evaluate which tools are producing the most useful results and which we should keep active. If cppcheck has performance problems AND we can't use the rule text, those are a couple serious strikes against it.


Unused file

There is a file called vars.yml which is situated at roles/nginx/tasks folder and which is not called anywhere in script. Should we keep it or it can be safely deleted?

Indeed, it doesn't seem to have any effect, I checked with
cat /proc/sys/net/ipv4/ip_local_port_range
32768	60999

However, I think this might be a useful setting to apply, especially for nodes serving requests from public endpoints. Can we add this as an optional task?


Sync on M1

Some refs:

https://bugs.chromium.org/p/chromium/issues/detail?id=1228686

Some findings:

The reason why sync on m1 is so slow is that memory allocations and deallocations are extremely slow.
There is no simple (or not so simple) way to figure out whether the user uses m1 mac or not in a browser. At least I didn't find one.

We can reduce the number of allocations and deallocation but we can't remove it all because some are necessary.

Without the aforementioned PR-s client's sync on M1 can take more than 10-15 minutes. With these PR-s client's sync takes 10-25 seconds. It is still not as good as it could be but is not terrible either. Btw we could suggest to users on M1 to use Rosetta. Sync with Rosetta takes 5-7 seconds on stage.

QA review
Google Chrome: All the functionality is OK
FireFox: All the functionality is OK


Added documentElement helper object for document.body and document.head shadowing.

Added documentElement helper object for document.body and document.head
shadowing.
Signed-off-by: Egor Bolgov<EMAIL_ADDRESS>

Rebased over current master.

Rebased over current master.

Rebased over current master.

Refactored logic. Now using setters/getters for body. Getter only for head and separate processing for document.documentElement.

Rebased over master branch.

@christophehurpeau can you please review and merge this? I made all changes following your recomendations.

Coverage increased (+0.4%) to 87.068% when pulling 969c6fe3758019ae162aff7d337cb7295665bdad on Indomian:documentElement-shadow-helper into bedf1cb0dd7da0f2c31cad38f864b1285687bfc5 on christophehurpeau:master.

Coverage increased (+0.4%) to 87.041% when pulling 5bf7da7707f97c57bbb6ee659313f457eb2891b6 on Indomian:documentElement-shadow-helper into bedf1cb0dd7da0f2c31cad38f864b1285687bfc5 on christophehurpeau:master.

Coverage increased (+0.3%) to 88.284% when pulling 09544c309406e6783bfbda1033274ffe90aa560f on Indomian:documentElement-shadow-helper into 99756f01b7942f1479c8e4a4af5ec6d29388d2b8 on christophehurpeau:master.

Coverage increased (+0.3%) to 88.284% when pulling 6a3ae843554d39b4f6fe52dbd279a625bcf8ca4a on Indomian:documentElement-shadow-helper into a6c17346cf0a615ce44d05ce72aec0ca82966056 on christophehurpeau:master.

Hello,
I don't understand why you need to wrap the html element
Can you explain ?
Thanks

Hello,
this is required to provide support for such code lines:
document.documentElement.body
Because documentElement is representation of  tag, and document itself is not, i required new
layer that will hold it.
Hope my explanation is clear. I can try to explain better.

Coverage increased (+0.3%) to 88.332% when pulling f157d1045532985fcbf8ed2503a679c20b53c81a on Indomian:documentElement-shadow-helper into a6c17346cf0a615ce44d05ce72aec0ca82966056 on christophehurpeau:master.

Coverage increased (+0.3%) to 88.308% when pulling 43f1a307cde881ec3a5cc4c9784a098ee43b73cb on Indomian:documentElement-shadow-helper into a6c17346cf0a615ce44d05ce72aec0ca82966056 on christophehurpeau:master.

I restored changes you requested. For some reason my tests using html-document begin to fail if use your code style. Looks like we need more investigation in difference between used methods for geting head and body.

Coverage increased (+0.3%) to 88.284% when pulling 747fff13c3c3cb0e7e48f6fa6fee0e5e47fc1eb1 on Indomian:documentElement-shadow-helper into a6c17346cf0a615ce44d05ce72aec0ca82966056 on christophehurpeau:master.

It bothered me that you changed test about url in a PR about documentElement, but anyway, it doesn't matter much ;)

Well, when those code were written tests were OK because NodeJS processed those code another way. But when I rebased this branch and run tests they failed so I had to update them in this pull request.

But thank you! I will send new brunches soon. I've got a lot of updates :)


VCS plugin: SSH key dialog defaults to HOME

Fixes #65691.
Couldn't test as I don't have a VCS setup, please confirm it works as expected :)
This uses the same logic as for the default project path editor settings.

In the meantime, it should be possible to pull one of the platform-specific binaries from the git-plugin's CI artifacts - https://github.com/godotengine/godot-git-plugin/actions/runs/2966176228

Cherry-picked for 3.6.


Setting Image.Source to local image (added as "Content" to Assets/ folder in UWP project) leads to WASM app never going past the Splashscreen

OS: Windows 10, 1709, x64
Machine: ThinkPad X1 Carbon 4th Gen, 16GB RAM, Intel Core i7 6th gen (6600), 0.5TB SSD
Visual Studio: 2017 Pro, v 15.6.7
Python 2.7.x installed

ok, seems like it was some fault on my side.

If you put the image in the UWP asset folder (in the UWP Head project), it won't be available for other heads.
Is it possible for you to fork the repo and share a commit reproducing the problem? (or any other way to give us more information to reproduce it) I would love to fix the problem for you :-).
(by the way, congrats, you're the first one to report a bug on this repo!)

Hi Carl!
Thanks for reaching out.
I don’t know where I shall put the image for it to be reachable (and visible in UI) within the WASM app. If you can recommend me the step-by-step approach here it would solve the problem.
By now, the only way I can show an image is by linking to an image hosted externally on the web.
What I want is to add an image to the project, ship it with the project, and show it in the UI.
Best Regards,
Daniel
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Carl de Billy<EMAIL_ADDRESS>Sent: Tuesday, May 8, 2018 3:17:33 AM
To: nventive/Uno
Cc: Daniel Kornev; State change
Subject: Re: [nventive/Uno] Setting Image.Source to local image (added as "Content" to Assets/ folder in UWP project) leads to WASM app never going past the Splashscreen (#1)
If you put the image in the UWP asset folder (in the UWP Head project), it won't be available for other heads.
Is it possible for you to fork the repo and share a commit reproducing the problem? (or any other way to give us more information to reproduce it) I would love to fix the problem for you :-).
(by the way, congrats, you're the first one to report a bug on this repo!)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/nventive/Uno/issues/1#issuecomment-387245179, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFBSq9N1GLMO3-9QmQF9mVtqpEt5ytAgks5twOQdgaJpZM4T1q_1.

@danielkornev "local" files should be available in the wasm app if the build action is set to Content. It seems that for now, wasm does not support this properly, we'll fix it.
Thanks for trying uno out !

They are available, indeed, but if I set Image.Source to such local file, app never finishes loading in web browsers.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Jérôme Laban<EMAIL_ADDRESS>Sent: Tuesday, May 8, 2018 7:10:35 PM
To: nventive/Uno
Cc: Daniel Kornev; Mention
Subject: Re: [nventive/Uno] Setting Image.Source to local image (added as "Content" to Assets/ folder in UWP project) leads to WASM app never going past the Splashscreen (#1)
@danielkornevhttps://github.com/danielkornev "local" files should be available in the wasm app if the build action is set to Content. It seems that for now, wasm does not support this properly, we'll fix it.
Thanks for trying uno out !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nventive/Uno/issues/1#issuecomment-387456430, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFBSq8GIg774ZV-54K3UjhGBnLtYdhILks5twcN7gaJpZM4T1q_1.

I updated my nugget packages and it doesn't work for me on wasm (uwp yes).
Source="ms-appx:///Assets/pictures/user.png"

@BeaumerF The package that fixed this was not published, you can try updating again, it should work better now.

@jeromelaban It still doesn't work on my project, the local images let the app on the splash screen (I updated, cleaned and built)

Still doesn't work. I've added an image to Assets folders in both UWP and Android projects, but image just doesn't shop up:

Here's what I expect to see:

Here's what I get instead (button has background color just to make sure it's positioned where it is):

My Android Phone is Samsung Note 8, with Android 8.0 (Oreo) on it.
Here's the layout I've built in XAML:
<Page
    x:Class="ZU.Assistant.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" FontFamily="Segoe UI Black">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Border Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="40" Background="#FF66AEE7">
            <TextBlock Text="ZET UNIVERSE: ASSISTANT" FontSize="18" FontFamily="Segoe UI Black" Foreground="White" FontWeight="Bold" HorizontalAlignment="Left" Height="17" Padding="0" Margin="25,11,0,0" VerticalAlignment="Top" Width="325" />
        </Border>

        <Button Height="50" Width="150" Content="Hello world!" VerticalAlignment="Center" HorizontalAlignment="Center" Click="Button_Click"/>

        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="52">
            <Button x:Name="speakToMeButton" HorizontalAlignment="Center" VerticalAlignment="Top" Width="50" Height="50" Padding="-2" Background="Transparent" BorderThickness="0">
                <Border Padding="0" Width="50" Height="50" Background="#FF66AEE7" CornerRadius="25" BorderThickness="1" BorderBrush="White">
                    <Image Width="48" Height="48" Source="ms-appx:///Assets/Mic-WF.png"/>
                </Border>
            </Button>
        </Grid>
    </Grid>
</Page>


Supplement translation.

Polish translation almost complete.

Hi! Thanks for showing an interest in OS.js :)
The translation files might be missing a few items here and there. 'en_EN' has everything, so you might want to compare the files :)
I don't know if you are aware, but applications have their own files as well:
https://github.com/andersevenrud/OS.js-v2/wiki/Join-the-translation-team


When using "enable all skins/chromas" in the modify setting, the changes do not save

I added a video of the bug occurring.
The settings to "Enable all skins/chromas" doesn't save properly
https://user-images.githubusercontent.com/42445829/131595601-f74cd92a-7f7c-40de-81be-5d3e642a4111.mov

i've fixed this in the latest beta, will be released with v1.3.0


Samokopecky-pr-459-reupload

Reupload of PR #459
Part of #238
Add support for the new backend system for the OCM plugin. It can still be used with the old backend system without any issue. The only change that happened is that the package now contains a new export that can be used in the new backend system.
Signed-off-by: Oleg S<EMAIL_ADDRESS>

Something went terribly wrong here...


mimalloc

I'm going to do an evaluation of mimalloc, and have a little fun / trial something that I'd like to deploy more widely in cosmos.
5x junos one for each database type
state synced in ci
times
1 of each without mimalloc and 1 of each with
the same setup will allow us to distribute docker images that automatically state sync so that we can improve our network-wide usage of Akash for RPCs.

for wasm contracts, would this https://github.com/rustwasm/wee_alloc thing here make sense, or rather less - i did not see much difference, when i made some quick tests including this one to cw-** crate builds.
thanks fad!

Wow hey listen I don’t know but I guess this is another thing to try

I no longer think this is really worth tracking. If anybody does, please reopen it.


Requesting a silent mode for cf push command

Command
cf push mynodeapp
What occurred
We are cf pushing an app as part of our deployment process. It runs inside of a bosh errand and it will fail because there is a limit to how much stdout it can read from an errand. The cf push using the nodejs buildpack emitted too many logs mostly containing the bundling of node modules.
Here is our bosh error.
Started running errand > push-apps/0. Failed: Response exceeded maximum allowed length (00:13:41)

Error 450001: Response exceeded maximum allowed length

I would list what the buildpack was logging out but I'm afraid it would be too long.
What you expected to occur
I just want to request for a silent mode for cf push where it will omit the " Building dependencies" step.
CLI Version
cf-cli_6.23.1_linux_x86-64.tgz
CC API Endpoint Version
2.84.0
Platform & Shell Details
Should be ubuntu.

Hi @weymanf
I feel the issue lies with the limitation on output from the errand (https://github.com/cloudfoundry/bosh-lite/issues/239 ?), not with the cf CLI.
We would not want to add a flag to cf push for such a corner case - every additional flag on push makes it more difficult to learn, use and maintain.
Regards,
Dies Koper
CF CLI PM

Okay thanks. Bosh has already fixed it on their side, but it's less frightening for people to upgrade a cli instead of an entire bosh director.
I'm going to close this issue. As putting a flag on the cli for this edge case is a little funky.


Adding JS label to those corresponding components

In the previous docs (v5), there was a JS label next to each component in the navigation. This was a handy reference that I'd like to see in the v6 docs too.

Thanks!


Mock wrapper for CLI tools

The tests now run completely uncoupled from the external services.
The wrapper got a big effort to make it minimal and generic as possible.
I also added the needed mock data files for the tool in the case of LUIS and the tests that needs to be mocked were updated to use the wrapper Instead of a direct call to the API.
The tests passes without any problem, including the updated ones.

Pull Request Test Coverage Report for Build 531

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 64.545%

Totals

Change from base Build 522:
0.5%

Covered Lines:
3674

Relevant Lines:
5423

💛  - Coveralls


Unhandled Exception: type 'MaterialPageRoute' is not a subtype of type 'Route' in type cast

Hi, I found an uncertain problem！
Problem description:

I expect to use Navigator.of(context).pop<String> to return a value of a certain type, but the result is always a value of dynamic type.

Code:
// First screen
Navigator.of(context).pushNamed<String>('login').then((String result){
                                  print('login.result runtimeType: ${result.runtimeType}');
                                });

// Second screen
Navigator.of(context).pop<String>('success');

A type error will occur in the above code:
E/flutter (16614): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: type 'MaterialPageRoute<dynamic>' is not a subtype of type 'Route<String>' in type cast
E/flutter (16614): #0      NavigatorState._routeNamed (package:flutter/src/widgets/navigator.dart:3138:55)
E/flutter (16614): #1      NavigatorState.pushNamed (package:flutter/src/widgets/navigator.dart:3190:20)
E/flutter (16614): #2      _Transfer.build.<anonymous closure> (package:panda_exchange/views/FirstScreen.dart:157:55)
E/flutter (16614): #3      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter (16614): #4      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:504:11)
E/flutter (16614): #5      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:282:5)
E/flutter (16614): #6      BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:254:7)
E/flutter (16614): #7      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (16614): #8      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter (16614): #9      GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter (16614): #10     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter (16614): #11     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter (16614): #12     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter (16614): #13     _rootRunUnary (dart:async/zone.dart:1196:13)
E/flutter (16614): #14     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
E/flutter (16614): #15     _CustomZone.runUnaryGuarded (dart:async/zone.dart:987:7)
E/flutter (16614): #16     _invoke1 (dart:ui/hooks.dart:275:10)
E/flutter (16614): #17     _dispatchPointerDataPacket (dart:ui/hooks.dart:184:5)
E/flutter (16614):

you don't need to make pushNamed() or pop()
just pushNamed("routeName") and pop(value)
you will get right type

Thanks @liodali ,
It should be solved by this, closing.
@noteScript If you disagree please write in the comments and I will reopen it
https://flutter.dev/docs/cookbook/navigation/returning-data#interactive-example

Hi @VladyslavBondarenko ,
your example used Navigator.push(), return data's type work well.
But, i find if i use Navigator.pushNamed() replace Navigator.push() it throw A type error will occur as same as @noteScript showed.
you can check code
hrere

replace String result by var result,should work for you

@liodali use var work for me.
But i think API Navigator.pushNamed() and Navigator.push()  should have the same result,even certain a type.

This is a deficiency on flutter's Navigator1/MaterialApp side when  routes table is being used. This isn't documented anywhere, but it should've been. The workaround is to stop providing pushNamed any type, but instead typecast to it later:
 final params = (await Navigator.of(context).pushNamed('/xx', arguments: RouteArgs('abc'))) as RouteRetParams;
// params  is now of `RouteRetParams` type

This needs fixing, either on doc or code 's side.

This is also blocking internal migration

Reproducible on stable 3.3 and master 3.7

logs
Restarted application in 848ms.

════════ Exception caught by gesture ═══════════════════════════════════════════
The following _TypeError was thrown while handling a gesture:
type 'MaterialPageRoute<dynamic>' is not a subtype of type 'Route<String?>?' of ' in type cast'

When the exception was thrown, this was the stack
#0      NavigatorState._routeNamed
#1      NavigatorState.pushNamed
#2      _MyHomePageState._incrementCounter
#3      _InkResponseState.handleTap
#4      GestureRecognizer.invokeCallback
#5      TapGestureRecognizer.handleTapUp
#6      BaseTapGestureRecognizer._checkUp
#7      BaseTapGestureRecognizer.acceptGesture
#8      GestureArenaManager.sweep
#9      GestureBinding.handleEvent
#10     GestureBinding.dispatchEvent
#11     RendererBinding.dispatchEvent
#12     GestureBinding._handlePointerEventImmediately
#13     GestureBinding.handlePointerEvent
#14     GestureBinding._flushPointerEventQueue
#15     GestureBinding._handlePointerDataPacket
#16     _invoke1 (dart:ui/hooks.dart:164:13)
#17     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:361:7)
#18     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:31)
Handler: "onTap"
Recognizer: TapGestureRecognizer#ae830
    debugOwner: GestureDetector
    state: ready
    won arena
    finalPosition: Offset(348.7, 743.6)
    finalLocalPosition: Offset(28.0, 34.5)
    button: 1
    sent tap down
════════════════════════════════════════════════════════════════════════════════

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      routes: {
        'widget': (BuildContext context) => const NewPage(),
      },
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final int _counter = 0;
  void _incrementCounter() {
    // Second screen
    Navigator.of(context).pushNamed<String>('widget').then((String? result) {
      print('login.result runtimeType: ${result.runtimeType}');
    });

   // This works
  //  Navigator.of(context).pushNamed('widget').then((result) {
 //     print('login.result runtimeType: ${result.runtimeType}');
//    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

class NewPage extends StatefulWidget {
  const NewPage({Key? key}) : super(key: key);

  @override
  State<NewPage> createState() => _NewPageState();
}

class _NewPageState extends State<NewPage> {
  @override
  Widget build(BuildContext context) {
    return Material(
      child: Container(
          color: Colors.red,
          child: Center(
            child: ElevatedButton(
              onPressed: () {
                Navigator.of(context).pop<String>('Hello');
              },
              child: const Text('Back'),
            ),
          )),
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500
    • Engine revision 932591ec04
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.124

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

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

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

• No issues found!

cc: @chunhtai


update Merhaba description

Update supported platforms for Merhaba
Project URL
https://github.com/abdullahselek/Merhaba
Description
Now macOS and tvOS platforms are supported by Merhaba
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Thanks for the fix! 👍


tour: Concurrency: Exercise Web Crawler would profit from hint about mutex

Hi,
just took the tour, it was nice.
I have a suggestion for the last exercise-web-crawler.go.
I could solve the task to run the crawlers in parallel using the channels,
but the task to only crawl urls once could need more hints, it was too hard.
As I am only a beginner once, I'm reporting it.
As far as I say, solving the task of "crawling urls only onces" requires either

two way communication to ask via a channel (which was not explained
before and probably would need a way to build individual channels to each goroutine or a way to have them all ask over one common channel) if an url has already been crawled or
a mutex like mechanism to access a common map

Both have not been explained in the tour before. The reference solution uses the mutex.
Now I could have read up on the "sync" packages to use a mutex, but because
page concurrency/1 said that this was rarely necessary, I expected a higher level way to exist.
Which I could not find in a reasonable timeframe so I gave up and looked at the solution in the source.
My suggestions are:

Add a hint that you should read up on the "sync" package and use a mutex for the second task.
Possibly hint at a pattern how two goroutines could ask each other something over a channel (if such a pattern exist) in the channel part.
Consider adding the anounymous function that is used in the tour/solutions/webcrawler.go
file to start a go routine to a previous example, I found it non-obvious when looking at webcrawler.go

tour master commit 1c790b9f8bfefe44f33fbc9aacf5a6bc06027321 Date:   Tue Oct 20 14:55:43 2015 -0700
Chromium with go1.5.1 in i386 in Debian GNU/Linux.
Best Regards,
Bernhard

CC @adg @campoy

Hi @bernhardreiter, thanks for your feedback!
I'm going to try to add a couple of slides mentioning sync.Mutex before that exercise and a hint on the exercise description too.
Also, awesome job finishing the tour!! Your rock :+1:

Proposed change: https://go-review.googlesource.com/17403

Hi Francesc,
thank for maintaining the gotour. :)
Took a quick look at your proposed change:

It is good to have sync.Mutex explained. Now the solution of the
last exercise should be doable.
The mention on the last exercise might be a bit too indirect.
Instead of "but maps are not safe for concurrent use!", maybe
be "but maps alone are not safe for concurrent use!" to strongly
suggest that sync.Mutex can secure maps, so they can be used
if used properly.

Best,
Bernhard

CL updated


Do you have a better example for understanding domain allow or deny?

Hi, I don't have hands-on expereince of sensitivity labels so I'm not sure if what my org is asking me is possible.
We have some content that can only be shared with Org 123. When creating a sensitivity label for a container, it looks like you can apply it to a particular domain, presumably my org + Org 123 for example. Does it always add your org with access or do you have to add it? And Org 123 has to use Azure AD?
Thanks

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

ID: 7dd3497a-c02a-5fd6-12db-3a093f0fe17c
Version Independent ID: 2ef81556-61b0-47ae-d8fc-3d9aa5240c51
Content: Restrict access to content using sensitivity labels to apply encryption - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/encryption-sensitivity-labels.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

Hi @Darrelo365!  You asked this question from the page that covers restricting access by using encryption, which is for documents and emails.  But then you mention labels for containers, which maps to https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-teams-groups-sites
From what you've said, it does sound like you want to encrypt documents so all users in another organization can view or edit them, which yes, you can do by specifying a domain name and yes, authentication will use Azure AD.  For more information about sharing encrypted documents with external users, take a look at this section: https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-office-apps?view=o365-worldwide#sharing-encrypted-documents-with-external-users
By default, no, all users in your organization won't have access to a document that's labeled in this - just the user who labeled the document and the users in the other organization.  If you want all users in your organization to have access, you'll need to also add them in the label configuration.  Choose "Add all users and groups in your organization" and grant them the relevant permissions.  Or if you want just some users in your organization to have access, specify them with one or more groups.
Hopefully that helps!

Thanks Carol. Sounds like I've some reading to do 👍
On Sat, 11 Sep 2021, 02:07 Carol Bailey, @.***> wrote:

Hi @Darrelo365 https://github.com/Darrelo365! You asked this question
from the page that covers restricting access by using encryption, which is
for documents and emails. But then you mention labels for containers, which
maps to
https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-teams-groups-sites
From what you've said, it does sound like you want to encrypt documents so
all users in another organization can view or edit them, which yes, you can
do by specifying a domain name and yes, authentication will use Azure AD.
For more information about sharing encrypted documents with external users,
take a look at this section:
https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-office-apps?view=o365-worldwide#sharing-encrypted-documents-with-external-users
By default, no, all users in your organization won't have access to a
document that's labeled in this - just the user who labeled the document
and the users in the other organization. If you want all users in your
organization to have access, you'll need to also add them in the label
configuration. Choose "Add all users and groups in your organization" and
grant them the relevant permissions. Or if you want just some users in your
organization to have access, specify them with one or more groups.
Hopefully that helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6310#issuecomment-917310356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APHQNZAHU3QPEE7SMAIEZY3UBKTV7ANCNFSM5DY5T6TA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Errors not returned in meteorMethods callbacks

I'm not sure if I misunderstood the docs or what, but..
it seems if I throw an error, or if any of the event hooks throws an error, the meteorMethod's callback doesn't get called.
Repro:
https://github.com/arggh/astronomy-method-issue

From the docs:
const User = Class.create({
  name: 'User',
  /* ... */
  fields: {
    firstName: String,
    lastName: String
  },
  meteorMethods: {
    rename(firstName, lastName) {
      this.firstName = firstName;
      this.lastName = lastName;
      return this.save();
    }
  }
});

then:
const user = User.findOne();
user.rename('John', 'Smith', (err, result) => {
});

Now, if there is also this (doesn't have to be extend, can be in the actual Class declaration):
User.extend({
   events: {
    beforeUpdate: (e) {
       const user = e.currentTarget;
       if (user.isModified('firstName') {
           throw new Meteor.Error('not-allowed');
       }
    }
  }
});

Then our callback doesn't get called, when calling user.rename.

Yes in deed, it seems to be a bug but it only happens when error is throw on the client, when it's throw on the server, callback gets called. It should be easy fix.

Fixed. Today I will release a new version

Great, thanks!


Feature/net7

:x: Build TheIdServer 1.0.2233 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/21ab21dd76 by @aguacongas)

:x: Build TheIdServer 1.0.2234 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/70fabeee89 by @aguacongas)

:x: Build TheIdServer 4.6.5-net71-0048 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/220657d395 by @aguacongas)

:x: Build TheIdServer 4.6.5-net71-0049 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/63a2becc14 by @aguacongas)

:x: Build TheIdServer 4.6.5-net71-0050 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/c3d2b6b009 by @aguacongas)

:x: Build TheIdServer 4.6.5-net71-0051 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/eea30557a8 by @aguacongas)

:white_check_mark: Build TheIdServer 4.6.5-net7.1+51.build.2239 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/eea30557a8 by @aguacongas)

:x: Build TheIdServer 6.0.1-net71-0012 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/3a07c2ede7 by @)

:white_check_mark: Build TheIdServer 6.0.1-net71-0013 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/64e82f712a by @)

:white_check_mark: Build TheIdServer 6.0.1-net71-0014 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/dcccc79c98 by @)


Break down features by areas

One thing I've noticed while going through this doc today is that it's missing the usual breakdown of areas that we do for the what's new topics.
e.g. https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-2-0
I think it would be nice to organize the new features per area.

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

ID: d458030b-3efb-197f-6ac7-9fd4e2296218
Version Independent ID: 6d01409e-fca6-10a3-2def-13ce28c9b210
Content: What's new in .NET Core 3.0
Content Source: docs/core/whats-new/dotnet-core-3-0.md
Product: dotnet-core
GitHub Login: @Thraka
Microsoft Alias: adegeo

Yes. Due to how fast changes came through it was better to just detail everything so as people had a single area to look at for information. I always intended that this article should eventually be broken down, become smaller, and only feature the most important pieces.