[Outlook] (plan) XML manifest and unified manifest versions

This should not merge before GA of Outlook Add-ins with unified manifest on OWA, which is currently scheduled for July 19th, 2023.
There is one broken link in this to an article that is in another PR that is also in review. That one will be merged before this one is.
DO NOT MERGE.

I agree. Until we have sufficient MOS adoption, including tenants that have accepted the MOS upgrade, ISVs need to keep both apps in the partner center. The doc currently comes across as this being optional. Once majority of the tenants have accepted the upgrade, then the ISVs have a choice of whether they want to keep the XML package live or not.
From: TristanD-MSFT @.>
Date: Tuesday, 13 June 2023 at 4:31 AM
To: OfficeDev/office-js-docs-pr @.>
Cc: Sreeram Ramamoorthy @.>, Review requested @.>
Subject: Re: [OfficeDev/office-js-docs-pr] [Outlook] (plan) XML manifest and unified manifest versions (PR #4054)
@TristanD-MSFT commented on this pull request.

In docs/concepts/duplicate-legacy-metaos-add-ins.mdhttps://github.com/OfficeDev/office-js-docs-pr/pull/4054#discussion_r1227323719:

@@ -0,0 +1,76 @@

+---
+title: Managing both a unified manifest and an XML manifest version of your Office Add-in
+description: Learn when and how to maintain versions of your add-in for each type of manifest.
+ms.topic: best-practice
+ms.date: 07/11/2023
+ms.localizationpriority: medium
+---

+# Managing both a unified manifest and an XML manifest version of your Office Add-in

+After you've created a version of your add-in that uses the unified manifest for Microsoft 365, you need to decide whether to maintain the existing add-in and, if so, what relationship it will have with the new version. In the long run, the best practice is to replace the existing add-in with the new version, but initially add-ins that support the unified manifest can only be installed on Microsoft 365 version 2309 ?????.????? and later. We're working hard to bring support to older versions of Microsoft 365. In the meantime, you need to maintain both versions.
Can we be more opinionated here? For example, can we say "If you are migrating your add-in to the unified manifest for Microsoft 365, there will be a period in which you may need two versions of your integration: one for clients that can install and use that updated manifest, and one for versions that do not support it." and then explain how to do that?
I think we want to assert that there's a "right" way to do this and push folks that way?
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/office-js-docs-pr/pull/4054#pullrequestreview-1475938984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXN62PFS3DDIYQ3H4KU3QGTXK6NS3ANCNFSM6AAAAAAZCQ545I.
You are receiving this because your review was requested.Message ID: @.***>

We have this list. As of req set 1.12, we have deprecated module extensions and contextual addins. OnSend addins need to now be supported using SmartAlerts (SoftBlockOnSend) and so ISVs using onSend addins need to make that change.
From: TristanD-MSFT @.>
Date: Tuesday, 13 June 2023 at 4:32 AM
To: OfficeDev/office-js-docs-pr @.>
Cc: Sreeram Ramamoorthy @.>, Review requested @.>
Subject: Re: [OfficeDev/office-js-docs-pr] [Outlook] (plan) XML manifest and unified manifest versions (PR #4054)
@TristanD-MSFT commented on this pull request.

In docs/concepts/duplicate-legacy-metaos-add-ins.mdhttps://github.com/OfficeDev/office-js-docs-pr/pull/4054#discussion_r1227324490:

+ms.localizationpriority: medium

+---

+# Managing both a unified manifest and an XML manifest version of your Office Add-in

+After you've created a version of your add-in that uses the unified manifest for Microsoft 365, you need to decide whether to maintain the existing add-in and, if so, what relationship it will have with the new version. In the long run, the best practice is to replace the existing add-in with the new version, but initially add-ins that support the unified manifest can only be installed on Microsoft 365 version 2309 ?????.????? and later. We're working hard to bring support to older versions of Microsoft 365. In the meantime, you need to maintain both versions.

+> [!TIP]
+> For information about converting an existing add-in to use the unified manifest, see Convert an add-in to use the unified manifest for Microsoft 365.

+There are also some scenarios where you need to maintain both for a longer period, including the following.

+- Even after support for the unified manifest is available in older versions of Microsoft 365, there will be a further period in which add-ins that use it won't be installable on perpetual versions of Office, such as volume-licensed perpetual versions of Office 2021 (and earlier).
+- There are some features of add-ins that are little used or deprecated. These aren't supported with the unified add-in. Your may choose to maintain a version of your add-in that uses these features. The following are examples.

Outlook modules aren't supported. (But you can provide a nearly identical experience using the unified manifest by combining an Outlook add-in and a Teams Tab in a single app.)

It's good to have this list - can we not make it exhaustive (vs. exemplar)?
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/office-js-docs-pr/pull/4054#pullrequestreview-1475940053, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXN62PDQBMMVPNLIR3KRDLLXK6NYDANCNFSM6AAAAAAZCQ545I.
You are receiving this because your review was requested.Message ID: @.***>

Can we also call out that the ISVs need to provide the mapping to the existing in-market addin in the MOS manifest to help us make sure that we don’t show duplicates for users?
From: TristanD-MSFT @.>
Date: Tuesday, 13 June 2023 at 4:33 AM
To: OfficeDev/office-js-docs-pr @.>
Cc: Sreeram Ramamoorthy @.>, Review requested @.>
Subject: Re: [OfficeDev/office-js-docs-pr] [Outlook] (plan) XML manifest and unified manifest versions (PR #4054)
@TristanD-MSFT commented on this pull request.

In docs/concepts/duplicate-legacy-metaos-add-ins.mdhttps://github.com/OfficeDev/office-js-docs-pr/pull/4054#discussion_r1227324940:

Outlook modules aren't supported. (But you can provide a nearly identical experience using the unified manifest by combining an Outlook add-in and a Teams Tab in a single app.)

Outlook contextual add-ins (aka "activation rules") aren't supported. (But you can provide similar experiences using the unified manifest and Event-based activation.)

+## Maintain both versions

+The critical requirement for maintaining two versions is to be sure that the two of them appear distinct in the Outlook UI.

+- Give the new version a different name from the existing add-in.
+- Create and use different icons for the new version.
+- Be sure that the "id" property of the unified manifest in the new version is a different GUID from the <Id> element in the XML manifest of the existing add-in.

+> [!NOTE]
+> If you use the same name and icon, the old and new solutions appear indistinguishable in the Outlook UI for add-in installation.

+## Replace the existing add-in
Can we more aggressively push this as the hero path? Is there a reason we can't?
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/office-js-docs-pr/pull/4054#pullrequestreview-1475940746, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXN62PCFMFWXFXLBWCHWLTLXK6N3TANCNFSM6AAAAAAZCQ545I.
You are receiving this because your review was requested.Message ID: @.***>


Send email to multiple addresses

How can I send the email notification to more than one address?  I tried doing:
return [
    'mail' =><EMAIL_ADDRESS><EMAIL_ADDRESS>];

...but I get an error saying Address in mailbox given<EMAIL_ADDRESS><EMAIL_ADDRESS>does not comply with RFC 2822, 3.6.2.

Ah I figured it out.  It needs to be an array if it's more than 1 address:
return [
    'mail' =><EMAIL_ADDRESS><EMAIL_ADDRESS>];

Hope this helps someone else.


I have set version constraint to 6.10.1 and dep just love to install 6.12.0 for me

What version of dep are you using (dep version)?

0.4.1_1
What dep command did you run?

rm -rf vendor && rm Gopkg.lock && dep ensure -v
Root project is "github.com/101medialab/simplelock"
 1 transitively valid internal packages
 1 external packages imported from 1 projects
(0)   ✓ select (root)
(1)	? attempt github.com/go-redis/redis with 1 pkgs; 156 versions to try
(1)	    try<EMAIL_ADDRESS>(1)	✓ select<EMAIL_ADDRESS>w/8 pkgs
  ✓ found solution with 8 packages from 1 projects

Solver wall times by segment:
  b-source-exists: 4.588836084s
      b-list-pkgs: 367.048084ms
           b-gmal: 329.118434ms
          satisfy:    321.102µs
      select-atom:    188.114µs
  b-list-versions:    181.911µs
         new-atom:     106.05µs
      select-root:     98.652µs
            other:     26.349µs

  TOTAL: 5.28592478s

(1/1) Wrote<EMAIL_ADDRESS>

Here is my toml
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
#   name = "github.com/user/project"
#   version = "1.0.0"
#
# [[constraint]]
#   name = "github.com/user/project2"
#   branch = "dev"
#   source = "github.com/myfork/project2"
#
# [[override]]
#   name = "github.com/x/y"
#   version = "2.4.0"
#
# [prune]
#   non-go = false
#   go-tests = true
#   unused-packages = true

[[override]]
  name = "github.com/go-redis/redis"
  version = "6.10.1"

[prune]
  go-tests = true
  unused-packages = true

But lock file
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.

[[projects]]
  name = "github.com/go-redis/redis"
  packages = [
    ".",
    "internal",
    "internal/consistenthash",
    "internal/hashtag",
    "internal/pool",
    "internal/proto",
    "internal/singleflight",
    "internal/util"
  ]
  revision = "83fb42932f6145ce52df09860384a4653d2d332a"
  version = "v6.12.0"

[solve-meta]
  analyzer-name = "dep"
  analyzer-version = 1
  inputs-digest = "a77a82abcfc372e21a5afd9c52c74eda7fd3452c4370ab092d57c2c44316a968"
  solver-name = "gps-cdcl"
  solver-version = 1

https://golang.github.io/dep/docs/Gopkg.toml.html#version
Note: When you specify a version without an operator, dep automatically uses the ^ operator by default. dep ensure will interpret the given version as the min-boundary of a range, for example:

1.2.3 becomes the range >=1.2.3, <2.0.0
0.2.3 becomes the range >=0.2.3, <0.3.0
0.0.3 becomes the range >=0.0.3, <0.1.0


Hi, i miss the "attr()" function for CSS3. It works fine in Chrome, but i don't know h...

Hi, i miss the "attr()" function for CSS3. It works fine in Chrome, but i don't know how it behaves in other browsers.
This can be used like:
content: attr(title);
or
width: attr(data-width);
very useful, yet not well known.

This issue was imported from Google Moderator
Moderator votes: +5
Issue added by Logfella on 2012-12-04
To vote this issue up or down, simply include +1 or -1 in your comment.

Part of http://caniuse.com/#feat=css-gencontent


Process to resize and Sync Peered VNET's

We need a proper description for the process to resize one peered VNET and perform the sync action using the command: Sync-AzVirtualNetworkPeering
When you do this the remote side will show the old information of the Peered VNET that has been resized.
The importance of this feature lies in the capability to adjust production environments without having any network disrupt. Making safe to increase network segments for Hub&Spoke setups when working with production loads.
At this moment the workaround is simple to delete/create the peering, by doing this we will have network downtime if you are working in the production state.

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

ID: 636aa53e-3ca0-7a30-fe16-7219f3e8d1a9
Version Independent ID: c503b39a-cd8a-669a-0882-27d8c13d3570
Content: Add IP address spaces to peered virtual networks - Azure Architecture Center
Content Source: docs/networking/prefixes/add-ip-space-peered-vnet.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @randycampbell
Microsoft Alias: pnp

@joteromontes Thank you for sharing feedback. We are actively validating it. We will share updates soon.

Thank you for your feedback.  We have created internal ticket 24179 to track and investigate this issue.

#please-close


Unit tests revision

Enable redis.so by adding redis.so into php.ini
Enable memcached.so by adding memcached.so into php.ini
Enable Apc(u) cli because test run under cli env

OK.
No need to hack with files: https://docs.travis-ci.com/user/languages/php/#Enabling-preinstalled-PHP-extensions

no problem, it's the same...

Should we also enable those PHP confs?

memcache and redis require only the .so inclusion. Apc seem need apc.enable_cli = 1 into php.ini because test run under cli.

all seem ok... the skipped tests are APC when the php version is 5.5,5.6 and APCu when php is 5.3,5.4.

Please squeeze your commits and provide a small description.
Thanks.
--
+36204242498
Ezen a készüléken sok az elütés.
Elnézést!
On June 4, 2017 2:10:21 PM CEST, Nigro Simone<EMAIL_ADDRESS>wrote:

all seem ok... the skipped tests are APC when the php version is
5.5,5.6 and APCu when php is 5.3,5.4.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/szepeviktor/w3-total-cache-fixed/pull/496#issuecomment-306036255

Could we make WP use mysqli?
https://travis-ci.org/szepeviktor/w3-total-cache-fixed/jobs/239288596

There are errors in the test.

it's just a deprecatio warning..

How about this one? sh: 1: -t: not found
and
https://github.com/WordPress/WordPress/blob/4cf5550d8d7f227d760f779f250a8fb2cfa2c8c9/wp-includes/wp-db.php#L632-L646


Eq 1429 improving component test coverage radio fields

What is the context of this PR?
Restructure of current component tests to follow what was discussed in the recent tech session and highlighted/detailed in Trello card below
Card: https://trello.com/c/JccErqI4/1429-improve-component-test-coverage-radio-fields
How to review
Run the spec files i.e. yarn test_functional -- --suite=components
Check that all the split radio tests pass and validate all the schemas are correct and the structure is valid.

Can't run individual components as a suite, maybe we want to do this?

@shahi645 this would be something we should look into the future and thus maybe raise a separate card to look into how we can run separate directories for our tests.

@shahi645 there shouldn't be a reason you can't run them?

@jonnyshaw89 I can run the components suite, which in turn runs radio folder with all the specs in there, but was thinking for practical terms just want to run individual component types

@shahi645 you should be able to define the spec as you do with any other test? this shouldn't be any different?

@jonnyshaw89 No it doesn't work like that because theres an extra sub folder to define radio. But can run individual specs from within that folder

@jonnyshaw89 Yeah if he runs it as a spec he can run each spec file separately but if he wants to run the whole set of specs in that component i.e. radio then he can't do that. For future proofing when we start having many components in there running the whole component suite could get very time consuming

@MIslam92 still think the test schemas could be tidied up a little. Also just to clarify, we arent putting the test_schemas into a components/radio folder in data/en?

I don't think it's working having separate spec files for each different component test, as it splits the test output horribly and we've ended up with one test per spec file. I think we should keep the separate survey JSON files but have a single spec file, using nesting of describes to separate out the different groups of tests.

@MIslam92 do we need the radio.spec in a radio folder now that its just one file?

I can't get these tests to consistently pass locally. have you tried to look at why?

@jonnyshaw89 i get this too but i also get them passing straight away sometimes. Seems to be flakey...also occurring on master and other branches, just recently

@shahi645 Because it happens on master doesn't mean we shouldn't investigate it here.

@jonnyshaw89 Didn't say that we didn't need to. Was making an observation 🙃

@shahi645 @jonnyshaw89 yeah I have been having a look between PR comments and from what I can see its something to do with the selenium webdriver version? Still kind of investigating and testing it locally.


Bugfix/switching between login and registration form

Related issues

closes #2693
Short description and why it's useful

Improved min height of base input to contain validation message; this prevent jumping on forms validation.
Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[x] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change

This is fine however it solves the #2693 only along with the https://github.com/DivanteLtd/vue-storefront/pull/2759


Delete techstack.yml

:white_check_mark: Build Sankhya-SDK-dotnet 3.0.499 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/ddd7b1e95d by @guibranco)

:white_check_mark: Build Sankhya-SDK-dotnet 3.0.502 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/9169201e0f by @guibranco)


GC_CONCURRENT freed ... (android)

This code generate unstoppable

GC_CONCURRENT freed

feed in the log
Tested in Android:
 URI uri;
        try {
            uri = new URI("wss://some-secure-websocket.com"); // issue only with wss
        } catch (URISyntaxException e) {
            e.printStackTrace();
            return;
        }

        final WebSocketClient mWebSocketClient = new WebSocketClient(uri, new Draft_17()) {
            @Override
            public void onOpen(ServerHandshake serverHandshake) {
              mWebSocketClient.close();
            }

            @Override
            public void onMessage(String s) {

             //some code here
            }

            @Override
            public void onClose(int i, String s, boolean b) {

             //some code here
            }

            @Override
            public void onError(Exception e) {
                Log.i("Websocket", "Error " + e.getMessage());
                //some code here
            }
        };
        SSLContext sslContext = null;
        try {
            sslContext = SSLContext.getInstance( "TLS" );
            sslContext.init( null, null, null );
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        } catch (KeyManagementException e) {
            e.printStackTrace();
        }
        mWebSocketClient.setWebSocketFactory(new DefaultSSLWebSocketClientFactory(sslContext));
        mWebSocketClient.connect();

Most probably there memory leak in your code that you have to fix.
P.S. In new version of Android looks like no issue is only in Android 4.1.X

I face this issue too, especially when the server disconnects for some reason. I am passing the auth info as URI args, and I disconnect on the server side if they are not right. On the client side, I'm using self-signed certs, with this code to trust all hosts:
TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager() {                 public java.security.cert.X509Certificate[] getAcceptedIssuers() {                     return new java.security.cert.X509Certificate[]{};                 }                 public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {                 }                 public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {                 }             }};
Rest of the code looks pretty similar to the one posted before this.
With the right credentials, I do not get the constant GC. But with incorrect credentials, the objects GC'ed are allocated as shown below:

I can add more details if needed.

@rajathvsm thnaks
I solved this problem to recompile all library from source and missing files I took from here https://github.com/Kicksend/Initiative/tree/master/WebSocketServer/src/main/java/org/java_websocket
And works like a charm without any issue now.

Hello @atonamy,
can you tell me which files were missing?
Would like to fix this issue for you and others!
Greetings
marci4

@marci4
I don't remember which exactly files. I can send you my custom build if you want. Anyway this library seems to be outdated already. I recently discovered featured and solid nv-websocket-client  and very happy to use it in Android.

Yes please send me a mail to admin at marci4.de
Greetings
Marci4

@marci4
Just sent you email.

@atonamy thx for the respone. Got your mail :)
Gonna have to update the documentation, this files are not needed any more.
Closing issue.
Greetings
marci4


simplify Trainer docs

What does this PR do?
simplify trainer docs, remove examples which say only the there is a default value...
these void examples makes it too long and harder to navigate
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @Borda! Thanks for opening this PR.

In the file pytorch_lightning/trainer/trainer.py:

Line 206:101: E501 line too long (120 > 100 characters)
Line 288:101: E501 line too long (109 > 100 characters)
Line 290:101: E501 line too long (101 > 100 characters)
Line 296:101: E501 line too long (109 > 100 characters)
Line 369:101: E501 line too long (110 > 100 characters)
Line 437:101: E501 line too long (193 > 100 characters)
Line 441:101: E501 line too long (108 > 100 characters)
Line 474:101: E501 line too long (104 > 100 characters)

Do see the Hitchhiker's guide to code style

incompatible with new static docs :{


raidboss: Additional Voidwalker Normal Phase Windows

Adding additional windows in case there's enough DPS to skip tankbusters. https://github.com/quisquous/cactbot/issues/482
Signed-off-by: Panic Stevenson<EMAIL_ADDRESS>

Thanks! Much appreciated.


Wrong type in TwitchChatClient onRitual method signature

Bug Report
There's a typo here in the TwitchChatClient onRitual method signature where an argument has the type ChatRaidInfo instead of ChatRitualInfo. I've created a simple PR to fix it, which I will link to this issue.
Code
n/a
Expected behavior
The type of the parameter ritualInfo should be ChatRitualInfo.
Actual Behavior
The type of the parameter ritualInfo is ChatRaidInfo.
Environment
n/a

The fix was published in<EMAIL_ADDRESS>


Bug: md-datepicker max and min result in validation error

Bug, feature request, or proposal:
bug
What is the expected behavior?
Selecting the max or min date would not result in an error in the form validators. If the max date should be excluded then the calendar should disable greater than or equal to the max date. If the max date is inclusive the input should be less than or equal to the selected date.
Min date should also validator in a similar method to max date (as mentioned above in reverse).
What is the current behavior?
Selecting the max or min date results in an error in the form validators.
What are the steps to reproduce?
See the demo app in the provided repo to reproduce the issue:

Checkout the repo https://github.com/skoblenick/angular-material-issue
Run:npm install -g<EMAIL_ADDRESS>npm install
npm start -- --port=4300

Open browser and browse to http://localhost:4300.
By default the app will set the selected date to today.

The form has an error in the validator for the max date because the max date is equal to the current date, but visually isn't defaulted to the error state on the input. The error messages are triggered and displayed as the input changes.
Clicking the input field will result in the date-picker being opened.
Selecting the previous date removes the error from the validator.
reselecting today (the max) results in the error validator being triggered.

Note the above is true with the min date as well. Buttons have been added to the demo to set the picked date to max and min.
What is the use-case or motivation for changing an existing behavior?
Expected behavior is to allow the user to selected up to and including the min or max date.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.1.3
Angular Material 2.0.0-beta.6
TypeScript ~2.2.0
Is there anything else we should know?
The same issue occurs when using moment to set the startOf('day') or endOf('day').

Yeah it needs to include TIME in the validation. :)

Can you provide an example? There is nothing in the documentation around this.

Duplicate: #4918, will be fixed in the next release.

You can use amazing time picker (amazing-time-picker) for this purpose, and it is fully compatible with Angular 2-7 and Material design:
https://github.com/owsolutions/amazing-time-picker
Live demo:
https://owsolutions.github.io/amazing-time-picker
Thanks.


Install error with cutorch

Downloaded the github and running install.sh, I run into this error during the cutorch part of the installation:
Using https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec... switching to 'build' mode
Cloning into 'cutorch'...
remote: Counting objects: 202, done.
remote: Compressing objects: 100% (157/157), done.
remote: Total 202 (delta 57), reused 87 (delta 43), pack-reused 0
Receiving objects: 100% (202/202), 190.92 KiB | 0 bytes/s, done.
Resolving deltas: 100% (57/57), done.
Checking connectivity... done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/ubuntu/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/ubuntu/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install
...
...
...
building C object CMakeFiles/cutorch.dir/torch/utils.c.o
/tmp/luarocks_cutorch-scm-1-4984/cutorch/init.c: In function ‘cutorch_hasHalfInstructions’:
/tmp/luarocks_cutorch-scm-1-4984/cutorch/init.c:907:22: error: ‘false’ undeclared (first use in this function)
   lua_pushboolean(L, false);
...

Any idea what is wrong? Can't find anything with this particular error. Thanks so much!

hi luda. sorry about this. if you redownload the github and run install.sh this should be fixed.


Fix issue when cwd is not git root directory

Address issue of assuming {,t,l}cd is root folder.
Fix #90
Fix #91

The function introduced in neogit/popups/commit.lua can be moved elsewhere if needed, but seemed to make sense to keep it local for the time being.

Just wanted to say this solves https://github.com/TimUntersberger/neogit/issues/91 for me

Commiting is not the only thing that needs the same fix (see https://github.com/TimUntersberger/neogit/issues/91#issuecomment-816886424)
I think a more general approach is needed.

I was out on vacations and just came back to this. I'm feeling the proper way to handle this would be to set up configuration object which contains the state of neogit for that session and it'd hold, for example, the root cwd. #10 would also benefit from this.
Given this PR doesn't properly fix the issue, I'm inclined to close it instead of trying to fix it. wdyt?

@hkupty I still think the PR has merit. The thing is that all these similar problems are actually slightly different:

The file paths for opening a file are given from the worktree-root
The .git folder where we need some files from is in the repository-root
The file path for opened buffers are given from the cwd of the window

Each of these needs a slightly different solution, enough that we probably cannot have a single solution for all of our problems. So, imo, just fixing commits for now is very valid. If we can additionally lay some ground work for our other problems then all the better.

I'll fix it to use the git_root function from lib/git/cli.lua then.

I'll fix it to use the git_root function from lib/git/cli.lua then.

Which I'm afraid does have the same problem and actually resolves to the worktree-root (see https://github.com/TimUntersberger/neogit/issues/90#issuecomment-813972969). To solve #90 we'd also need to check if we're in a separated worktree and resolve back to the repository root if so.

Re

* The .git folder where we need some files from is in the _repository_-root

copying my comment https://github.com/TimUntersberger/neogit/issues/91#issuecomment-841896769 here since it's relevant:

Drive-by, but one should not assume that .git exists at the top-level (since you can set GIT_DIR to any path), or that it is a directory (if using worktrees). The best thing to do is to run git rev-parse --git-dir to have git tell you where it is.

thanks to @kamalmarhubi both issues have been closed so I think we can close this PR?


extends option text fix

FIX: This is similar to 'mixins', the component's own options ALSO takes higher priority than the source component being extended.
And add full mixins and extends exsamples.

This is similar to mixins, the difference being that the component's own options takes higher priority than the source component being extended.

This is actually accurate. With extends, the component you reference in the extends option is the extended component, while with mixins, the current component is the extended component (while the mixin is not even a complete component).
Our descriptions are a little confusing though, which is why I'm actually finishing up a rewrite of the Mixins page into a more general Composition page, comparing composition strategies using mixins, extends, factory functions, and render functions. This includes a rewrite of the API entries too.
When that's done, would you mind if I pinged you for a review?


Find out how/where item names are stored and implement their loading before reading gameobject arrays

From uw-formats.txt:
5  String resources

   Game strings are stored in the file "strings.pak", and uses a Huffman
   compression scheme to store its strings. The first 2 bytes of the file give
   the number of nodes in the tree. Then follow the nodes themselves, 4 bytes
   each:

   0000   Int8   char symbol
   0001   Int8   parent node
   0002   Int8   left child
   0003   Int8   right child

   The last node stored in the file is the head of the tree. Following the
   nodes is a 16-bit word giving the number of string blocks in the
   file. Then follows the block directory, 6 bytes per block as follows:

   0000   Int16   block number
   0002   Int32   offset in file of start of block

   Each block contains a variable number of strings. The block header is:

   0000   Int16   no. of strings
   0002   Int16   relative offset from end of block header to first string
   0004   Int16   relative offset to second string
   ...

   Strings are compressed using the Huffman tree in the usual way. Bits are
   extracted big-endian i.e. rotated out of the top of each byte in turn.
   Starting with the root node (last node), if a 1 bit is encountered the right
   branch is taken, otherwise take the left. Repeat until a leaf (node with -1
   for its children) is reached, at which point output the symbol for that node.
   For the next bit we start again from the root. End of string is marked with a
   `|' character. The remaining bits in the last byte are unused.

Read up on Huffman encoding (seems relatively simple, but that can be deceiving). Just follow the directions in the tree to find out the corresponding letter.
- It's big-endian. Need to be very careful when reading, lest C# translate it into little-endian without me noticing.
- Would be cool if I extracted these blocks too and did some manual decoding first. Also, I could peek into other people's code, but let's leave that as a last resort.
Can I translate bit-sequences to keys in a dictionary, and avoid having to traverse the tree every time? Check if first bit is in key, if not, check 2 bits, etc, until a match is found.

Also, what's the meaning of this?
Block 0003 contains text/scroll etc. strings. The exact string to use for
   books, scrolls or other text object is in the quantity field. It is
   calculated as quantity - 0x0200. For each level, 32 string slots are available.

Specifically, why is there a limit of 32 string slots per level? By level, this means 1-9?

Make this a singleton so every class can access it.


A slider for availability of interconnectivity for import needs to be added to the front-end

Part of quintel/etmodel#1868

This slider was already on Beta, but hidden. I have now unhidden the slider. Closing.


PowerShell Formatting

I am curious why the scipts generated using this process include semicolons for Line end.

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

ID: 6036c6de-a2e8-ffd7-50e9-44ae32bf1682
Version Independent ID: f7ab9abc-abd0-09e1-4b64-9ec304495ee5
Content: Connect hybrid machines to Azure using a deployment script - Azure Arc
Content Source: articles/azure-arc/servers/onboard-portal.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @johnmarco
Microsoft Alias: johnmarc

@jkav58
Thanks for your feedback! We will investigate and update as appropriate.

@jkav58, thank you for posting this question.
In PowerShell, a newline or an unescaped semicolon (;) terminates a pipeline. In the case of onboarding script generated in portal, which is used to connect a machine to Azure Arc, the script generated is supposed to be copied or downloaded to the machine, and then run. To avoid unintentional issues which may arise due to formatting, the semicolon proves to be very useful. With semicolon terminating a statement, the statements are clearly delimited, and it ensures that script would run successfully, even if "new line characters" are encoded differently than what is expected by the script runtime host or removed in the process or copying/downloading.
Hope this helps.

Thanks. I understand what semicolon is used for but I am not aware of a situation where they are needed at this time.
https://poshcode.gitbook.io/powershell-practice-and-style/style-guide/code-layout-and-formatting#avoid-using-semicolons-as-line-terminators

@jkav58, thank you for the additional detail. I reconfirmed it with the product team, and it was reiterated that the semicolons are used to ensure that the script still works if the lines break somehow get lost while cut & pasting or sharing around.


Feature request: NixOS-style assertions support

I'd like to offer consumers of my flake modules feedback if they set options to semantically incorrect values, or use mutually-exclusive options simultaneously.
If some guidance is available I'd be happy to try to implement this myself.

If the contract were exactly the same as NixOS's version ({ assertion = someBool, message = someStr }), realized at evaluation time, that would satisfy my goals well.

Unlike NixOS, the attributes of a flake are often accessed individually, which means that laziness plays a more important role; somewhat comparable to Nixpkgs. Assertions require more to be evaluated, including things that may not have been evaluated otherwise.
For this reason, and potentially to avoid infinite recursions caused by the extra strictness, this feature should be a bit different from the NixOS assertions. Probably they should come with a flake attribute path that tells flake-parts when to evaluate the assertions.

Some of my loose reading of nixpkgs' lib.types implies that I could put some ad-hoc logic in as custom check on the types I declare for my options, if it doesn't require any adjacent information to determine the validity, but I don't know how maintainable or effective that would be. The source has a big cautionary warning above it.


Updating redame from branch example

Updates
I updated the read file. Please review and accept.

Thoughts
I probably shouldn't, but okay. :+1:


Cannot assign Ip Address (Errno 99)

Don't know what could be the cause

Hellow, friend.
You using this: https://github.com/Py-KMS-Organization/py-kms/ ?


feat: add derive_use_cargo default feature

resolves #271
a way to disable proc-macro-crate  (it depends on cargo binary being available) without annotating each derive with tautological #[borsh(crate = "borsh")]
sample1, derive_use_cargo : default features
sample1 : proc-macro-crate  dependency in Cargo.lock
sample2, derive_no_use_cargo : opt-out of derive_use_cargo feature
sample2 : proc-macro-crate  dependency absent in Cargo.lock

NOTE:  this change causes breakage for no_std projects with borsh dependency renamed - sample3, derive_no_std_rename_breakage
This commit breaks
compilation on version update, and this fixes it.

I am closing this PR as per https://github.com/near/borsh-rs/issues/271#issuecomment-1854690257


Update markdown-to-html converter missing message

The league/html-to-markdown library does not support Markdown to HTML conversion (anymore?). The league/commonmark library is suitable for that.

Closed in favour of https://github.com/twigphp/Twig/pull/3566


cluster-autoscaler: We shouldn't delete nodes with pods with local storage

We shouldn't delete nodes which have pods with local storage like emptyDir or hostPath.
@piosz @jszczepkowski

I know this issue is closed but is a popular destination for looking why your cluster is not downscaling. Most of our pods had some kind of hostPath because we are using cloudsql-proxy and it mounts th e SSL certificates.
The easiest way seems to be using the "safe-to-evict" annotation.
https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-types-of-pods-can-prevent-ca-from-removing-a-node
    metadata:
      annotations:
        cluster-autoscaler.kubernetes.io/safe-to-evict: "true"


Fixed image width for linear resource type texture

Fixes #671

I'm not sure but it seems that your solution ignores multiple channels.
It should be something like this (it needs checking though):
width = sizeInBytes / ((desc.x + desc.y + desc.z + desc.w) / 8)

@ex-rzr Thanks. You are right. I will correct it.


Bug in method frist() or limit(1)

When executing:
yawp(Extrato.class).where("contaCorrenteFisicaId", "=", contaCorrenteFisica).and("data", "=", LocalDate.now().minusDays(1).toDate())
.first()

Returns null.
yawp(Extrato.class).where("contaCorrenteFisicaId", "=", contaCorrenteFisica).and("data", "=", LocalDate.now().minusDays(1).toDate()).limit(1)
.list()

Returns empty list.
yawp(Extrato.class).where("contaCorrenteFisicaId", "=", contaCorrenteFisica).and("data", "=", LocalDate.now().minusDays(1).toDate())
.limit(2).list()

Returns a list with one Extrato.
In the datastore, I have saved two Extrato's instances, with same "data" (java.util.Date), and diferents "contaCorrenteFisicaId" (IdRef).

@TomasSQ can you show me the mappings for the endpoint attributes? They both have @Index annotation?
Can you also show me how the LocalDate creates dates?
Thanks!

Version: 1.2.8
Extrato mapping:
@Endpoint(path = "/extratos")
public class Extrato {

	@Id
	private IdRef<Extrato> id;

	@Index
	private IdRef<Arrecadacao> arrecadacaoId;
	@Index
	private IdRef<ContaCorrenteFisica> contaCorrenteFisicaId;

	@Index
	private Date data;

	...
}

LocalDate belongs to org.joda's api. The follow link has the code responsible for creating dates of a LocalDate's instance
http://grepcode.com/file/repo1.maven.org/maven2/joda-time/joda-time/2.8.1/org/joda/time/LocalDate.java#LocalDate.toDate()

I'm failing to reproduce. I'm trying with this test. Please check if it is similar:
(next step is try with the joda-time dependency)
    @Test
    public void testLimitProblem() {
        long time = System.currentTimeMillis();

        BasicObject object1 = new BasicObject();
        object1.setObjectId(IdRef.create(yawp, BasicObject.class, 1l));
        object1.setDateValue(new Date(time));
        yawp.save(object1);

        BasicObject object2 = new BasicObject();
        object1.setObjectId(IdRef.create(yawp, BasicObject.class, 2l));
        object2.setDateValue(new Date(time));
        yawp.save(object2);

        assertNotNull(yawp(BasicObject.class).where("objectId", "=", IdRef.create(yawp, BasicObject.class, 1l)).and("dateValue", "=", new Date(time)).first());
    }

Yes, it is similar. The differences I see are:
Extrato has IdRef to another class, not to itself, so the datastore has more objects saved;
The use of joda-time;
Our date has no time (hours, minutes, seconds, milliseconds are all set as zero), in theory;
When I debugged my test, sometimes executeQuery(); (DataStoreQuery.java: line 198 in my version) returned properly, but only few times.

@TomasSQ, Is it possible that this is due to Google Datastore eventual consistency? If you just added the records, there is no guarantee they will be available to you. And there is no exact definition of 'just'. Hahahaha

It is possible that this is due to Google Datastore eventual consistency, but it's weird it only happens in this scenario in my project. Happened everytime I ran this specifics tests, and often when debugging.

Thanks @TomasSQ. I'm considering this is due eventual consistency. If you find this again, please report.


Update Get-FASTSearchSecurityLotusNotesUserStore.md

Format example

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-FASTSearchSecurityLotusNotesUserStore.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


moved guides

new guides section: https://deploy-preview-597--stackable-docs.netlify.app/home/nightly/guides/


CI testing

Suggest to use karma with travis for testing every enter

Absolutely, mind taking a stab at it?

@jwilsson  https://github.com/karma-runner/karma-browserstack-launcher

@jwilsson https://github.com/karma-runner/karma-qunit


Navigation Titles Change URL

Navigation Titles Change URL
User Story
AS AN employer looking for candidates with experience building single-page applications
I WANT to view a potential employee's deployed React portfolio of work samples
SO THAT I can assess whether they're a good candidate for an open position
Acceptance Criteria
GIVEN a single-page application portfolio for a web developer
WHEN I click on a navigation title
THEN the browser URL changes and I am presented with the corresponding section below the navigation and that title is highlighted

The links in the header render the related section of the application.


Ion-menu width size is not adjustable with split-pane visible

Bug Report
Ionic Info
I am using ionic via CDN with vuejs
<link rel="stylesheet" href="https://unpkg.com/<EMAIL_ADDRESS>    <script src="https://unpkg.com/<EMAIL_ADDRESS>
Describe the Bug
When the split pane is visible then --width parameter in CSS is not having any effect because of below CSS having hardcoded value for min-width.
Related Code
.split-pane-md.split-pane-visible>.split-pane-side {
    min-width: 270px;
    max-width: 28%;
    border-right: var(--border);
    border-left: 0;
}

Expected Behavior
--width variable works for ion-menu to adjust the width of side menu. Same should be used for adjusting the width of the menu with split pane visible.
Maybe I have to adjust min-width when split-pane is visible. But I am not sure if that is the right approach. Because when I was using min-width side menu was not closing when I was clicking on content area.

the way i do it is to adjust the max-width of the ion menu as follows:
with split-pane visible for large screens
@media screen and (max-width: 815px) {
ion-menu{
max-width:33% !important;
}
}
when split-pane not visible for smaller screen
@media only screen and (max-width: 500px) {
ion-menu{
max-width:90% !important;
}
}

I have done like this
.split-pane-ios.split-pane-visible>.split-pane-side,
.split-pane-md.split-pane-visible>.split-pane-side{
  max-width: 225px;
  min-width: 225px;
}


Updated lighting, smart plugs/outlets and switches and controls device types xml according to specs

Problem
What is being fixed?  Examples:

Lighting , smart plugs/outlets and switches-and-controls device types xml was not matching with specs

Change overview
Updated lighting , smart plugs/outlets and switches-and-controls device types xml according to specs
Testing
How was this tested? (at least one bullet point required)

Verified that the xml is in sync with the specification.

@woody-apple @bzbarsky-apple Can we merge this?

@dhrishi there was an unresolved conversation that needed to be resolved...

@dhrishi there was an unresolved conversation that needed to be resolved...

Hi @bzbarsky-apple We will still be working on other devices, as we had discussed previously. @jadhavrohit924 can add the changes in follow-up PR. Thanks!

Sure; I'm just pointing out why the PR had not merged.  When I resolved the conversation, it auto-merged.

Sure; I'm just pointing out why the PR had not merged. When I resolved the conversation, it auto-merged.

Ohh okay.

@bzbarsky-apple Filed an issue for this: https://github.com/project-chip/connectedhomeip/issues/21540. @jadhavrohit924 will put up a PR soon


Not sending pageview request on consent?

We're using your GTM implementation which is great first of all.
When a visitor first lands on the site GA is blocked, but at the point of giving consent it doesn't seem to send a pageview request to GA for that initial view - meaning we always miss out on tracking that initial pageview. Is that as expected?
If that is as expected, is there any way to trigger that pageview request after consent?

Hi @will-yellowpeach,
This depends on the implementation on the GTM side. Do you notice the described behavior e.g. on https://www.datart.cz?

For time reasons I can't send you more detailed information, but the main idea of implementing these UCs is that if you don't have consent, you collect the data or any analytics on the client, but you don't send it. Once you have consent, you send all the data collected so far.
This could be handled similarly to the initial visit. You save it in your dataLayer and only send it when you have consent.
Some tools try to help with this, and their clients or tracking functions initialize in "I have"/"I don't have" consent mode. You can additionally call over them that the user has granted or denied consent and they will behave accordingly (collect data vs collect and send).
A similar approach is described for example in the SpeedCurve tool https://support.speedcurve.com/docs/cookie-consent-banners
There are many articles on the web that address this issue, e.g. https://www.cardinalpath.com/blog/consent-mode-delivering-analytics-while-respecting-consent
It's not so much a 68publishers/cookie-consent issue as it is an implementation of these tools along with consent mode.
I believe this will help.

Example

@jelen07 makes sense, thanks for the pointers


fix: remove environments page

There were the following issues with your Pull Request

Commit: 7f0c874460f51ff14e81edeee6e46454dd49d7f5
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

@pmuir snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-948-fabric8-ui.int.rdu2c.fabric8.io


Connection interruptions during Kubernetes deployment scaledowns on Calico 3.16.X to latest

Your Environment
We run Calico on Amazon EKS. We use the amazon-vpc-cni-k8s plugin with the default configuration that is in place whenever a new EKS control plane is created, and we install Calico by following the instructions here. Our worker nodes are based on Amazon's EKS optimized Amazon Linux AMI.
Our current cluster is running Kubernetes 1.19.8, amazon-vpc-cni-k8s plugin version v1.7.5, and Calico version 3.15.1. Calico was installed from this manifest. (At the time this was installed, it was the latest version recommended by the documentation linked above. This version does not use the Tigera operator).
Current Behavior
In a test cluster, we have tested upgrading to the current Calico version recommended by the AWS documentation, which at the time this issue was logged installs version 1.13.2 of the Tigera Operator, which installs version 3.17.1 of Calico. Whenever we upgrade critical components such as Calico, we flood a test application in our cluster with lots of http requests and ensure that no requests are lost to ensure that our upgrades don't cause even a brief outage. Our test application is coded to shut down properly when it receives a SIGTERM, and the pod in which our app is running has a prestop hook that sleeps for several seconds, which is a widely documented method for ensuring that your pod stays up and can handle any last requests that it may receive while Kubernetes is removing the pod from the list of available endpoints during the scale down of a deployment. (One of many examples describing this can be found here).
We have noticed with Calico version 3.16.X, all the way to the current latest release of 3.19.1, whenever a Kubernetes deployment scales down to fewer replicas, we have requests dropped around the time that the old replicas disappear from the cluster.  (I say 3.16.X, because the first 3.16 version I was able to get to run in my test cluster without crashing was 3.16.3.  I suspect the problem was introduced in 3.16.0). The actual upgrade of Calico appears to cause no issues. However, after the new Calico is running, scaling down pods in a deployment causes intermittent hanging and failed http requests to our application. If I downgrade Calico back to a 3.15.X version, the problem goes away. I also tested whether upgrading to the latest version of the amazon-vpc-cni-k8s plugin makes any difference, but it does not (nor do I know if it's actually relevant). We use horizontal pod autoscaling and have replicas scaling up and down all the time, so the fact that scaling down replicas can cause connectivity problems means we can't upgrade past our current Calico version.
Expected Behavior
When scaling down replicas in a deployment while flooding a service with requests, connections should never be interrupted.
Steps to Reproduce
Note that to flood our test service with requests, I used both curl and httping.  The httping utility is available to the package management systems for at least Ubuntu and Arch Linux. The httping utilty has a -f flag to flood a URL with requests. I ran curl in a loop in bash like this:
while :; do curl -w "%{http_code}  %{time_total}\n" -o /dev/null -sSL "http://whatever.domain"; done

Our test process was:

Create a pod in the Kubernetes cluster that has curl and/or httping to use as a client to ping other pods. I just used the latest ubuntu image from dockerhub, got a bash terminal in the pod with kubectl exec -ti -n <namespace> <podname> -- bash, and installed curl and httping.
Create a deployment that contains pods running an http server. Ideally the http server should shut down cleanly when the pod is terminated. At the very least it should also have a prestop hook that sleeps for at least several seconds to ensure 100% uptime as replicas scale down. A Kubernetes service object should be created in front of the pods to load balance traffic.
Ensure you are running Calico 3.15.x and using the amazon-vpc-cni-k8s plugin.  (Not sure if the amazon-vpc-cni-k8s plugin version is actually relevant but this matches our environment). Our current version is from https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/v1.7.5/config/v1.7/calico.yaml, as instructed to install by an older version of https://docs.aws.amazon.com/eks/latest/userguide/calico.html
kubectl exec to get a shell in your client test pod in 3 or 4 separate terminals and start flooding the service fronting your pods with requests from each terminal. Let them run for a bit to be convinced no connection errors occur and everything is stable
Scale up the deployment by one or more replicas. Watch the httping/curl. There should be no failures
Scale the deployment down to its original number of replicas. Watch the httping/curl. There should be no failures.
Upgrade Calico, following https://docs.aws.amazon.com/eks/latest/userguide/calico.html
Note the httping/curl terminals should not have had any failures
Scale up the deployment by several replicas. Watch the httping/curl. There should be no failures
Scale the deployment down to its original number of replicas. Watch your httping/curl. This time, requests start intermittently hanging and dying. Connections will be intermittently dropped from now on.
Stop the httping/curl in all terminals and immediately restart. Connections still intermittently hang or die.
Stop the httping/curl in all terminals several minutes and restart. Connections are no longer dropped. If you now scale up and back down again, connections start intermittently hanging/dying again and continue until you stop pinging for several minutes
Stop httping/curl for several minutes, then run again to ensure connections have stopped dying
Downgrade Calico back to 3.15.x. (NOTE: you can't just deploy the old manifest to downgrade. See details on how we easily switched between Calico versions below).
Run httping/curl again. Scale deployments up and back down.

I've done this repeatedly in our test cluster and it behaves this way every time. I tested on the latest released Calico version as well (3.19.1 at this time) and the same behavior occurs.
NOTE: Once Calico is upgraded to the version managed by the Tigera Operator, it can't be downgraded easily to the pre-operator version. The Tigera operator allows you to add the unsupported.operator.tigera.io annotation to objects it is managing that tells it not to undo any manual changes that are made. I was able to switch between Calico versions with a script that uses kubectl patch to add that annotation and change the image version on the appropriate daemonsets and deployments.
Example bash script to patch the Tigera operator managed Calico:
ver=v3.15.1

kubectl patch -n calico-system daemonset calico-node --patch "{\"apiVersion\":\"apps/v1\",\"kind\":\"DaemonSet\",\"metadata\":{\"annotations\":{\"unsupported.operator.tigera.io/ignore\":\"true\"},\"name\":\"calico-node\"},\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"calico-node\",\"image\":\"docker.io/calico/node:${ver}\"}],\"initContainers\":[{\"name\":\"flexvol-driver\",\"image\":\"docker.io/calico/pod2daemon-flexvol:${ver}\"}]}}}}"

kubectl patch -n calico-system deployment calico-typha --patch "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"unsupported.operator.tigera.io/ignore\":\"true\"},\"name\":\"calico-typha\"},\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"calico-typha\",\"image\":\"docker.io/calico/typha:${ver}\"}]}}}}"

kubectl patch -n calico-system deployment calico-kube-controllers --patch "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"unsupported.operator.tigera.io/ignore\":\"true\"},\"name\":\"calico-kube-controllers\"},\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"calico-kube-controllers\",\"image\":\"docker.io/calico/kube-controllers:${ver}\"}]}}}}"

kubectl rollout status -n calico-system daemonset/calico-node

This might be related to https://github.com/projectcalico/calico/issues/4518 which has been a known issue on any version higher than v1.15.5 for quite a while. I have no idea why the AWS docs haven't been updated to reflect this, to the point that they updated their Helm chart to install an affected version. If this is the issue it's due to be fixed in v1.20 which is due to drop by the end of the month.

I got a chance to do some testing with v3.19.2 which also contains the fix, and the problem seems to be gone. Thanks for the info @stevehipwell!


Learn how React works

#151
As a developer, I need to know how react works and interacts with components so that I can effectively implement solutions

There's not a specific list of things I was looking at and experimenting with that I can recall since this is retroactive but I had to learn how React renders components and some of the syntax to get those items rendered the way I wanted them on the screen and some of the rules regarding surrounding blocks of JS code and elements that contained them.


How to modify the super-tabs-toolbar width?

I want to modify super-tabs-toolbar width,does it contain this property?if modify  app.scss,All the pages of the supertabs will be modified。

@CjoyHome  , i am also  stuck on this . Did u manage to solve this ?


fix: process some keys for el[key] in hydration mismatch

close #10057
Some keys need to be processed before they can be obtained by el[key]. Such as readonly -> readOnly

The better fix is dealing with boolean attributes w/ separate logic - handling special cases like this is fragile.


add topologySpreadConstraints configs

All Submissions:

[ ] Have you opened an Issue before filing this PR?
[ ] Have you signed our CLA?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

@tibulca Can you please help to check this PR? thanks.

Already in my PR here https://github.com/mongodb/helm-charts/pull/329/files, I am waiting for someone to pick it up ...


Images not showing in TableViewCells until it scroll-down

First, thanks for this great project.
I'm facing an Issue occuring when I use UIImageView+WebCache category in a TableViewCell.
The issue is that first cells of the TableView are displaying the placeholder image and not the remote image (even if it's cached), until I scroll up or down the TableView itself.
The problem is that, when I have few cells I can't display any Image but only the placeholder.
Are there any workaround? Note that, when not in a TableView context the remote image is loaded correctly.

Assign a placeholder image properly.. issue with me was with wrong image extension that doesn't match with each other i.e. placeholder.jpeg and<EMAIL_ADDRESS>

I'm seeing the same problem and not even using SDWebImage (I'm using my own setImageFromLocalURL:).
Did anyone manage to solve this issue?

Although this issue is closed, I had found the same exact issues as the people above, and was unable to use a placeholderImg because I was using the SDWebImageManager.sharedManager().downloadImageWithURL call.
I was making the UIImageView.image = nil in cellReuse, and calling setNeedsLayout - layoutIfNeeded after the image loaded using that block.
The solution for me was: In the parameters of the above downloadImageWithURL call  -> add SDWebImageOptions.AvoidAutoSetImage to the options parameter.
Now all of the images load as expected.
Hope this helps someone! Thx so much to the team at SDWebImage for this great lib.

hello, i am using SDWebImage in a collectionView, but i am getting the first batch of thumbs correctly, and when i scroll down the thumbs are empty for some reason here my code:
override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
    let imageIndex = indexPath.row
    let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath) as! PhotoCell
    DispatchQueue.global(qos: .userInitiated).async {
        DataManager.sharedInstance.getThumbUrlAt(categoryIndex: self.categoryIndex, imageIndex: imageIndex) {
            image in
            DispatchQueue.main.async {
                if let loadedImageCell = collectionView.cellForItem(at: indexPath) as? PhotoCell {
                    loadedImageCell.imageView.sd_setImage(with: URL(string: image), placeholderImage: UIImage(named: "placeholder.png"))

                    cell.layoutIfNeeded()
                }
            }
        }
    }
    cell.imageView.layer.cornerRadius = 6
    cell.imageView.layer.masksToBounds = true

    cell.layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.5).cgColor
    cell.layer.shadowOpacity = 0.5
    cell.layer.shadowRadius = 3
    cell.layer.shadowOffset = CGSize(width: 0, height: 0)
    cell.layer.shadowPath = UIBezierPath(roundedRect: cell.bounds, cornerRadius: 6).cgPath

    return cell
}

Your code seems contains two async operation, which means when the cell is reused, it can not be set to a correct state immediately.
Remember that cellFotItem will be called each time you scroll and you should reset all the correct state for that cell(Because it be resued from another cell instance and the state is not sync with the current item). So it's better to keep the data model firstlly in your viewController or viewModel, then just use sd_setImage. sd_setImage will immediately reset the image to placeholder and then check cache or downloader, which keep the correct state.


feat(datalabels): Option to display total when chart is stacked

stacked: true
series:
  - entity: x.y
    type: column
  - entity: z.t
    type: column
    show:
      datalabels: total

Fixes #73

RomRider, thanks for your work
About "Option to display total when chart is stacked"
I can't display this completely, I'm probably wrong in the syntax.
Can you give me an example?


I'm assuming the CI/CD pipeline is using a newer release of Rust than what I have installed. It's showing some things that need to be updated in the library. Is this something you can help me with? I'm not confident enough with Rust to make sweeping changes to this library.

@rracariu there are some clippy errors that are occuring that aren't my doing. I think it's because the CI/CD pipeline is using a newer version of Rust than the one I'm using. I'm not confident enough to make sweeping changes to satisfy the requested changes. Could you help me out here please?


Reduce repetitive open-next commands to speed up deployment

When I run cdk deploy within a CDK app using Nextjs construct with multiple stacks, open-next is called multiple times to build the site which slows down deployment. This is because to run open-next the spawn.sync here to run which runs each time the synthesis code runs. Instead, could we use the Asset construct which is smarter in that is uses caching. More info here. Example code here. I'm interested in submitting this PR.

Sure, would be great

Yeah, I can confirm the build command is invoked on every cdk run (diff, bootstrap, deploy, etc.).


Allow mergeOperations to set null for hasOne relationship

Sometimes when I tried to update related record with null on a forked store, I was encountering an error: Cannot destructure property 'type' of 'identity' as it is null in cloneRecordIdentity.
It seems like a bug - updateRecordReplaceHasOne should also accept nulls, right?
I've added a test for this failing case and fixed it. I'm not sure if that's the best place for this fix... maybe this should be done in the cloneRecordIdentity?

@jembezmamy thanks for the fix, and for your patience!


Controller 0 not able to come up

While running the open whisk deployment, I am facing the below issue:
Friday 25 June 2021  23:51:02 +0530 (0:00:01.232)       0:00:34.118 ***********  FAILED - RETRYING: wait until the Controller in this host is up and running (12 retries left). FAILED - RETRYING: wait until the Controller in this host is up and running (11 retries left). FAILED - RETRYING: wait until the Controller in this host is up and running (10 retries left). FAILED - RETRYING: wait until the Controller in this host is up and running (9 retries left). FAILED - RETRYING: wait until the Controller in this host is up and running (8 retries left). FAILED - RETRYING: wait until the Controller in this host is up and running (7 retries left). FAILED - RETRYING: wait until the Controller in this host is up and running (6 retries left).
Hardware Specifications:

OS: Ubuntu 20.04
Processor: Intel
docker version: 20.10
Using an HTTP proxy

Troubleshooting Done so far:
controller0 logs:
[2021-06-25T18:23:06.948Z] [INFO] Started the Kamon StatsD reporter [2021-06-25T18:23:07.081Z] [INFO] [#tid_sid_unknown] [Config] environment set value for limits.triggers.fires.perMinute [2021-06-25T18:23:07.081Z] [INFO] [#tid_sid_unknown] [Config] environment set value for limits.actions.sequence.maxLength [2021-06-25T18:23:07.081Z] [INFO] [#tid_sid_unknown] [Config] environment set value for limits.actions.invokes.concurrent [2021-06-25T18:23:07.081Z] [INFO] [#tid_sid_unknown] [Config] environment set value for limits.actions.invokes.perMinute [2021-06-25T18:23:07.081Z] [INFO] [#tid_sid_unknown] [Config] environment set value for runtimes.manifest [2021-06-25T18:23:07.082Z] [INFO] [#tid_sid_unknown] [Config] environment set value for kafka.hosts [2021-06-25T18:23:07.082Z] [INFO] [#tid_sid_unknown] [Config] environment set value for port [2021-06-25T18:25:07.266Z] [ERROR] [#tid_sid_unknown] [KafkaMessagingProvider] ensureTopic for completed0 failed due to java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. [2021-06-25T18:25:07.266Z] [ERROR] [#tid_sid_unknown] [Controller] failure during msgProvider.ensureTopic for topic completed0 [2021-06-25T18:25:07.269Z] [INFO] Cluster Node [akka://controller-actor-system@<IP_ADDRESS>:8000] - Marked address [akka://controller-actor-system@<IP_ADDRESS>:8000] as [Leaving] [2021-06-25T18:25:08.090Z] [INFO] Cluster Node [akka://controller-actor-system@<IP_ADDRESS>:8000] - Leader is moving node [akka://controller-actor-system@<IP_ADDRESS>:8000] to [Exiting] [2021-06-25T18:25:08.093Z] [INFO] Cluster Node [akka://controller-actor-system@<IP_ADDRESS>:8000] - Exiting completed [2021-06-25T18:25:08.094Z] [INFO] Cluster Node [akka://controller-actor-system@<IP_ADDRESS>:8000] - Shutting down... [2021-06-25T18:25:08.094Z] [INFO] Cluster Node [akka://controller-actor-system@<IP_ADDRESS>:8000] - Successfully shut down [2021-06-25T18:25:08.099Z] [INFO] [#tid_sid_unknown] [Controller] Shutting down Kamon with coordinated shutdown [2021-06-25T18:25:08.099Z] [INFO] Shutting down remote daemon. [2021-06-25T18:25:08.100Z] [INFO] Remote daemon shut down; proceeding with flushing remote transports. [2021-06-25T18:25:08.110Z] [INFO] Remoting shut down.

No request has reached the kafka.

proxy env variables are set in the image.

Can anyone help me with the issue?

The issue was with the firewall, fixed it


Deprecation proposal: Remove $parent

PuppetJs supports special notation: a $parent alias. For example, the following notation:
puppet.obj.deep.$parent.name

Is equivalent to:
puppet.obj.name

As of now, it does not work with Polymer 1.2 and 1.3, because Polymer creates an explicit binding to a path model.deep.$parent.name and ignores changes that are set on model.name.
It can be fixed by normalizing Polymer bindings:
            var templates = document.querySelectorAll("template");
            for(var i=0; i<templates.length; i++) {
                if(templates[i]._propertyEffects) {
                    for(var key in templates[i]._propertyEffects) {
                        if(templates[i]._propertyEffects.hasOwnProperty(key)) {
                            for(var j=0; j<templates[i]._propertyEffects[key].length; j++) {
                                if(templates[i]._propertyEffects[key][j].effect) {
                                    if(typeof templates[i]._propertyEffects[key][j].effect.value == "string") {
                                        if(templates[i]._propertyEffects[key][j].effect.value.indexOf(".$parent.") > -1) {
                                            templates[i]._propertyEffects[key][j].effect.value = collapseParent(templates[i]._propertyEffects[key][j].effect.value);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

    function collapseParent(str) {
        var parts = str.split(".");
        var n = parts.length - 1;
        while (n >= 0) {
            if (parts[n] == "$parent") {
                parts.splice(n-1, 2);
                n--;
            }
            n--;
        }
        return parts.join(".");
    }

But even better solution is to avoid this problem but stopping the support for $parent in PuppetJs. I propose to do this after Starcounter 2.2 is released.

LGTM,
I don't think we have any real use-case for $parent. On the other side it cost us a lot (performance, maintenance), requires more documentation, and for sure provides more magic, to otherwise pure JSON object.

Some $parent is used in Administrator: https://github.com/Starcounter/Starcounter/blob/57c6d056c5a43e4ffabbea3f261e3f30219220b1/src/Starcounter.Administrator/app/partials/databaseNew.html
But I think it's Angular's, not Puppet's.

@joozek78 please do it if you find it convenient for your current work.
You can remove markObjPropertyByPath, recursiveMarkObjProperties, placeMarker.

This would have been a REALLY good thing to know of. (Searching tunity code for "$parent" -> 74 hits)...

Sorry! How could we improve? I guess the information could be added to https://github.com/PuppetJs/PuppetJs/releases

Since it is a breaking change, yes that would have been good.

@joozek78 can you pls add it?

I've added it at https://github.com/PuppetJs/PuppetJs/releases/tag/2.2.0

Maybe we should also add short not in the changelog of SC?

I think that would be too much. A link to a range of PuppetJs release notes would be perfect.

Something like this?

Updated PuppetJs from 2.0.0 to 2.2.0 (https://github.com/PuppetJs/PuppetJs/releases)

I just don't know how deep should we go with this dependency report. Currently there are following templates in changelog (presented with old version number):

Upgraded starcounter-debug-aid from 2.0.5 to 2.0.7
Upgraded Juicy/juicy-jsoneditor from 1.0.5 to 1.1.0
Upgraded Josdejong/jsoneditor to 5.5.6
Upgraded Juicy/imported-template from 1.4.0 to 1.4.3
Upgraded puppetjs/puppetjs from 1.3.8 to 2.2.1
Upgraded puppetjs/puppet-polymer-client from 2.0.0 to 3.2.0

What is the key to determining which dependencies are important enough to report here? I feel that it would be enough to have puppet-client, puppetjs, and polymer here. Or else everything we updated

I think all are relevant, because otherwise they would not be upgraded.

Updated PuppetJs from 2.0.0 to 2.2.0 (https://github.com/PuppetJs/PuppetJs/releases)

This looks nice to me. Can you please change that in CHANGELOG.md?

Here you go: https://github.com/Starcounter/Starcounter/commit/b871a333d2abac087cce81f487afc805db5a0a29

Thanks!


wait method that holds point for a given amount of time and a given position and angle

public void pause(double time, double x, double y, double degrees) {
        ElapsedTime myTimer = new ElapsedTime();
        myTimer.reset();
        while (myTimer.seconds() < time) {
            telemetry.addData("Elapsed Time", myTimer.seconds());
            telemetry.update();

            follower.holdPoint(new BezierPoint(new Point(x, y, Point.CARTESIAN)), Math.toRadians(degrees));
            // sleep(50);
        }
    }

Add in specific method examples such as the one above ^

hmmm
I don't know it's unconventional but we could add it in misc.

What if we create a page with just a bunch of methods and a description explaining how they work, this could be the start of it, and then create a whole folder and put in the example autos and teles in there as well?


Swiper with Virtual Slides Module Enabled is not in NgZone

Swiper Version: 6.6.1
Platform/Target and Browser Versions: web

What You Did
When I use SwiperComponent for Angular with virtual slides module enabled [virtual]="true", all events trigered inside <ng-template swiperSlide></ng-template> does not run in NgZone. Since SwiperModule is officially and specifically supported for Angular framework, I think it should make sure all interfaces publicly exported should be handled in NgZone by default.
Here is a minimal sample project to demonstrate the problem. If the Stackblitz live demo does not work, see this GitHub repo directly.
Expected Behavior
The demo contains the expected behavior. The navigation with routerLink inside ng-template should run in NgZone to refresh DOM accordingly.

Actual Behavior
The navigation with routerLink inside ng-template does not run in NgZone, which causes the DOM does not refresh correctly. You can see there are warnings regarding the navigation not running in NgZone.

@seanwu1105 should be fixed in #4601. You can try it a demo on master with npm run build and then ng serve


Yosys segfault on $past(X,parameter_value-1)

Steps to reproduce the issue
Run yosys, and read the attached file using read_verilog -formal mcve.v.
module testing(clk, in, out);
    parameter DEPTH=10;
    input wire clk, in;
    output reg out;

    always @(posedge clk)
        out <= $past(in,DEPTH-1);
endmodule

Expected behavior
I would have expected this to implement $past(in,9) without the segfault, or if this wasn't supported it should provide a description of what caused the segfault and why.
Actual behavior
Segfault
Analysis
I traced this bug down as far as line 1788 of simplify.cc.  That's the line where the second argument of $past is processed.  The value returned is given as the constant zero, rather than the constant nine.  When the code the enters the loop at 1803, the number of iterations is zero.  As a result, outreg is left as NULL and the segfault takes place on line 1834.
Dan

I just tried the code using an integer instead of a parameter.  $past(in,9) works, whereas $past(in,10-1) does not.

@ZipCPU Why line 1788 of simplify.cc returns constant zero ?

Thanks for reporting this issue. Fixed in 9f9fe94.