Google Play Console  - Your app doesn't have any in-app products yet ( GoogleBillingClient)

GoogleBillingClient
after adding permission of
android:name="com.android.vending.BILLING"
in android manifest . I uploaded app for internal testing to Google Play Console. In manage products I am getting "Your app doesn't have any in-app products yet."  Will it be visible after adding Google Payments merchant account or i can still use for testing purpose.

@RoshanBhore looking on the internet, https://stackoverflow.com/questions/52174945/googleplay-console-app-doesnt-have-any-in-app-products-yet/52207732, it looks like you have to setup the merchant account first.

Okay.. Thank You :-)

Hello @RoshanBhore I'm facing the same issue like i can't see Create subscription button on play console how you fixed it can you pls help me

@Sohel3798 did you find any solution, I have the same screen on my console.

@Sohel3798 did you find any solution, I have the same screen on my console.

please check your 📪


Dependency Graph Information Missing in CycloneDX SBOMs

This has a tangential relation to the earlier issue #3906.
When I use ort to generate an sbom, if the sbom type is SPDX, I see dependency graph information (at the end of the SBOM file).  Whereas, if I select CycloneDX as the type, it appears that dependency graph information is missing.
My test case is a clone of the WebGoat project.  I'm using a Docker install of ort... If I generate an Analyzer file with:
docker run --rm -v /MyStuff/:/project ort --info analyze -i /project/WebGoat --output-dir /project
and then an SPDX SBOM with:
docker run --rm -v /MyStuff/:/project ort --info report -i /project/analyzer-result.yml -f SpdxDocument -o /project
I see the expected dependency graph information at the end of the file.  E.g., here's a snippet:
relationships:
- spdxElementId: "SPDXRef-Package-Maven-cglib-cglib-nodep-2.2"
  relationshipType: "GENERATED_FROM"
  relatedSpdxElement: "SPDXRef-Package-Maven-cglib-cglib-nodep-2.2-source-artifact"
- spdxElementId: "SPDXRef-Package-Maven-ch.qos.logback-logback-classic-1.2.11"
  relationshipType: "DEPENDS_ON"
  relatedSpdxElement: "SPDXRef-Package-Maven-ch.qos.logback-logback-core-1.2.11"

Whereas, if I generate a CycloneDX SBOM with:
docker run --rm -v /MyStuff/:/project ort --info report -i /project/analyzer-result.yml -f CycloneDx -o /project
I don't find any dependency data.

This has a tangential relation to the earlier issue #3906.

Mind explaining why only "tangential"? I'd say this is an exact duplicate... or am I missing something?

Apologies if that was a poor selection of word.  My thinking was that #3906 had a Maven focus.

My thinking was that #3906 had a Maven focus.

Just curious, how that? That issue does not even mention the word "Maven" 😉
Anyway, #3906 is meant to be package-manager-agnostic (like any ORT report format is). So are we good to close this as a duplicate?

Sure thing!  Happy to see this issue is considered relevant, still.


Heatmap Documentation Wrong

In Documentation (https://apexcharts.com/docs/chart-types/heatmap-charts/) it say for distributed to set this:
options = {
plotOptions: {
heatmap: {
distributed: true
}
}
}
But in example (https://apexcharts.com/javascript-chart-demos/heatmap-charts/multiple-series-colors-flipped/), it seem to be :
plotOptions: {
heatmap: {
colorScale: {
inverse: true
}
}
},
Both seem to have the same effect, but the first one doesn't seem to work. Is it an error in documentation or a bug if distributed doesn't work?

You're right.
I have mixed the two functionalities in the docs which is very confusing.
I will fix the docs soon, thanks for reporting.

Fixed it
https://apexcharts.com/docs/chart-types/heatmap-charts/

Hi, I'm trying to use the "distributed" argument, and when I use it, it also inverses the color series from  horizontal to vertical.
Can you check this please?


Improve custom path specification for toolkits (MKL)

intel-mkl is now available on Ubuntu 22.04, however its installation doesn't conform to the assumptions in the Makefile.
MKL_BASE is expanded to $MKL_BASE/include, however the includes are at /usr/include/mkl
Similarly, the libs are just at /usr/lib.
MKL_INCLUDE and MKL_LIBS might be a better way.
Ideally of course an autoconf ./configure or a cmake file would remove the need to hard-code paths in a hand written Makefile.

Hi, by any chance could you make a pull request with your proposed changes? You could follow the approach we took for specifying the CUDA include/lib paths while maintaining backward compatibility, as NVIDIA also changed the paths after a certain CUDA version. See https://github.com/mrirecon/bart/blob/master/Makefile#L166
Note that, though we don't have configure or cmake (any more), the intended use is to not modify the Makefile and instead define a Makefile.local that has the specific build variables defined. For example:
~/bart $ cat Makefile.local

PARALLEL=1

# cuda
CUDA=1
CUDA_BASE=/usr/local/cuda
CUDA_LIB=lib64

# Intel
MKL=1
MKL_BASE=/opt/intel/compilers_and_libraries/linux/mkl
LINKER=icc


How do add user and hashtag for instafeed?

I want to show my instagram photos and I also want to show other users are using my hashtag.
For example, my hashtag is #braveandco , #bravesminimal , etc...
I want it to show my images that I upload to my braveandco account and I also want to show people who  are use hashtag #braveandco , #bravesminimal, etc.
    var feed = new Instafeed({
      get: 'user',
      userId: USER_ID,
      accessToken: 'XXXXXX',
      limit: 12,
      resolution: 'low_resolution',
      template: '

',
      after: function() {
        if (!this.hasNext()) {
            myButton.hide();
        }
    }
});
});

feed.run();

You will need to create new objects for each feed. You can't mash them onto the same feed.


qustion about runtimeError

Hello,
I had a runtime error as below. I couldn't find a solution.
Could you check this issue?
Thank you.
MMCV: 2.0.0rc4
CUDA : cu118
MMDetection: 3.3.0
torch : 2.0.1+cu118
=============
Traceback (most recent call last):
File "/app/data/moai/demo.py", line 21, in
= prepare_moai(moai_path='BK-Lee/MoAI-7B', bits=4, grad_ckpt=False, lora=False, dtype='fp16')
File "/app/data/moai/moai/load_moai.py", line 60, in prepare_moai
param.requires_grad_(True)
RuntimeError: only Tensors of floating point dtype can require gradients

I fixed the issue by changing the PaddleOCR and Transformers version.


Bind FLANNELD_IFACE statically to status.hostIP

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

Documentation:

/test pull-kubeone-e2e-hetzner-default-install-containerd-external-v1.27.11

/kind bug


The program compiles fine with Golo 3.3 milestone, but cannot compile with Golo 3.3 final release

Probably because of an obscure bug in the Golo compiler, this program cannot be compiled with the latest production release of Golo 3.3.
I have not been able to reproduce the error in a small script that can be given to the Golo developers yet.

Renamed some Java classes (which clashed with Golo module names) in commit 8b972204da64a5e6aa9196d4f1d9acd3677da0f7 .
Since then, the program seems to compile and run fine in Golo 3.3 final.


Hideout areas.json file missing Christmas Tree ("type": 21)

At some point the database/hideout/areas.json file lost the Christmas Tree ("type": 21) data. This is causing an exception in the cultist circle, as it doesn't check that the area exists in the database before using it.
We'll need to re-add the Christmas Tree data to the areas.json, not sure where we get that data from normally?

Note I haven't checked the new Cultist circle code, but the previous code (3.10.1) throws an error due to the missing database entry as well. Didn't open an issue for that since I haven't confirmed it''s still a problem

Live doesnt have the tree yet so i dug up the 2023 tree and added it in: https://github.com/sp-tarkov/server/commit/e6e568f62c05176e5b0841a6ea37683a81ef22b8


rebar3: install bash/zsh/fish shell completions

Thanks again for your contribution to Homebrew!  You rock!


Support for multisig

Support for tracking multisig wallets.
Types:

m-of-n p2sh + sort pubkeys for each script
m-of-n p2sh-p2wsh + sort pubkeys for each script
m-of-n p2wsh + sort pubkeys for each script
m-of-n p2sh + do not sort pubkeys for each script
m-of-n p2sh-p2wsh + do not sort pubkeys for each script
m-of-n p2wsh + do not sort pubkeys for each script

The "xpub" format could be extended in a similar way to NBXplorer (the wallet backend for BTCPay).
https://github.com/dgarage/NBXplorer/blob/8715d3d1ba2a519bd67678ed4be050487f2c9994/docs/API.md#derivationScheme

Support for multisig will be added as part of the more generalized support for script descriptors. I'm closing this ticket in favor of tracking there.

I have a branch with descriptor support: https://github.com/shesek/bwt/commits/202010-descriptor
This will soon be released in bwt v0.1.6 (or maybe v0.2.0). But note that rust-miniscript does not yet support sortedmulti(), so it'll initially only support your last 3 types. I understand that sortedmulti() is expected to land in rust-miniscript though.


Remove register attribute for local variables

This fixes clang compiler warnings like this one:
wordrec/gradechop.cpp:52:3: warning:
'register' storage class specifier is deprecated [-Wdeprecated-register]
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

I am not sure if this is the right way of dealing with such warning:

register is deprecated in C++11, but it will exists until C++17
AFAIK it should be possible to build tesseract without support of C++11
My suggestion is that if solving of warning does not bring any value, it should be ignored...

@zdenop: Any good modern compiler should be able to assign CPU registers to local variables, and at least for gcc and clang I know that they do a very good job here. I assume that 'register' for local variables was deprecated because it no longer makes sense today. That's the reason why I suggest to use these modifications.
For function parameters, this is different. Therefore they are still supported.

Extract from gcc documentation:
"Some developers use Local Register Variables in an attempt to improve gcc's allocation of registers, especially in large functions. In this case the register name is essentially a hint to the register allocator. While in some instances this can generate better code, improvements are subject to the whims of the allocator/optimizers. Since there are no guarantees that your improvements won't be lost, this usage of Local Register Variables is discouraged."


Enhancement :: https://eu-api.coolkit.cc:8080/ is no longer working with me

Hi,
https://eu-api.coolkit.cc:8080/ is no longer working with me, but when tried to https://eu-api.coolkit.cc/ without port, it worked and my devices in sync again.

BTW, this causes a slowness to my HA instance after restart.
Can we have this URL as a configuration?
Finally, thank you for this integration. It is definitely brilliant.
Regards.

What is your country? And what is country of your server in ewelink app?

Same issue here. I have used +55 when I created my account.  Remove :8080 made it discover devices and create the .sonoff.json.

What is your country? And what is country of your server in ewelink app?

My country is Jordan. And for the server's country in ewelink app, I cannot determine how to get it!

I have same issue here. I did some tests and looks like there are some ranges of ips (CIDR) been blocked.  From my home network I can't connect, from both HA and eWeLink, but is I switch to 4G network it works. I believe it is a block rule on their side, because it is possible to open connections to different port at eu-api.coolkit.cc.

HI @AlexxIT
in case of problem do you suggest to rename _baseurl value as indicated in that forum right ?
is this conf in file sonoff_cloud.py only right ?
In that file I see reference to port 8080 in 4 line..
should we change all 4 or just as indicated in the line at the beginning of this post?
and of course we need to restart HA .
wbr
Tz

Probably fixed in latest master-version


RC test: States of Matter 1.2.0-rc.2

@KatieWoe , @ariel-phet, @arouinfar, and @kathy-phet - states-of-matter/1.2.0-rc.2 is ready for RC testing.  This release, which includes both phet and phet-io brands and is intended to be shared with a client, addresses a number of issues that were found during the testing of 1.2.0-rc.1.  Please document issues in https://github.com/phetsims/states-of-matter/issues and link to this issue.
Assigning to @ariel-phet for prioritization.

General RC Test

What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test all query parameters on all platforms. (See QA Book
for a list of query parameters.)
Download HTML on Chrome and iOS.
Make sure the iFrame version of the simulation is working as intended on all platforms.
Make sure the XHTML version of the simulation is working as intended on all platforms.
Complete the test matrix.
Don't forget to make sure the sim works with Legends of Learning.
Test the Game Up harness on at least one platform.
Check this LoL
spreadsheet and notify AR or AM if it not there.
If this is rc.1 please do a memory test.
When making an issue, check to see if it was in a previously published version
Try to include version numbers for browsers
If there is a console available, check for errors and include them in the Problem Description.
As an RC begins and ends, check the sim repo. If there is a maintenance issue, check it and notify developers if
there is a problem.

Focus and Special Instructions
This is the 2nd RC from the 1.2 branch, so the focus should be on verifying that the issues found during testing of the first RC have been adequately addressed.

Issues to Verify

[x] X button on dialog may have too small pointer area
[x] Graph size changes with long strings

These issues should have the "status:ready-for-qa" label. Check these issues off and close them if they are fixed.
Otherwise, post a comment in the issue saying that it wasn't fixed and link back to this issue. If the label is
"status:ready-for-review" or "status:fixed-pending-deploy" then assign back to the developer when done, even if fixed.

Link(s)

Simulation
iFrame
XHTML
Test Matrix
Legends of Learning Harness

PhET-iO RC Test

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.
For an update or maintenance release please check the backwards compatibility of the playback wrapper.
Here's the link to the previous wrapper.
Load the login wrapper just to make sure it works. Do so by adding this link from the sim deployed root:/wrappers/login/?wrapper=record&validationRule=validateDigits&&numberOfDigits=5&promptText=ENTER_A_5_DIGIT_NUMBER

Further instructions in QA Book
Conduct a recording test to Metacog, further instructions in the QA Book. Do this for iPadOS + Safari and one other random platform.

Focus and Special Instructions
[Provide further instructions here. If you have any further tests you want done or specific platforms you want tested,
list them here. Any behaviors you want QA to pay special attention to should be listed here.]

Issues to Verify

[x] In state wrapper, in launched sim, the lid height isn't recognized
[x] Studio Molecules do not have same start positions when launched/reset
[x] Temperature updates don't work initially when launched from Studio
[x] Lid is not restored to max height if sim is paused while substance is changed
[x] [Featured display] Search will not search for unfeatured parents
[x] Touch area on movable lid doesn't always work
[x] State wrapper launched particles move when upstream sim particles are static
[x] Should title of Atoms and Molecules box disappear when items are removed?
[x] Unable to change text of molecules on third screen
[x] Phase diagram comes back when switching molecules
[x] Add suffix "RadioButton" to individual radio buttons

These issues should have the "status:ready-for-qa" label. Check these issues off and close them if they are fixed.
Otherwise, post a comment in the issue saying that it wasn't fixed and link back to this issue. If the label is
"status:ready-for-review" or "status:fixed-pending-deploy" then assign back to the developer when done, even if fixed.

Link(s)

Wrapper Index
Test Matrix

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Version 1.2.0-rc.3 is now out, testing will continue there.  Closing.


feat: statefulset support

Hello @machine424 :smile:

it should be ok now^^

You can run the tests locally on a kind if you want: https://github.com/machine424/kube-hpa-scale-to-zero/blob/8bddc0d4dbd4d33be4b00dfa9c82101fae9915dd/.github/workflows/test.yaml#L38

You can run the tests locally on a kind if you want:
https://github.com/machine424/kube-hpa-scale-to-zero/blob/8bddc0d4dbd4d33be4b00dfa9c82101fae9915dd/.github/workflows/test.yaml#L38

done!

thanks! could you push the chart and the docker image?

v0.4.0 was released ;) Thanks again.


ReferenceError: hljs is not defined

I tried to create a pdf, but the program crashed. The md file contains highlighted JavaScript code.
Without highlighting, the conversion works.
Could it have been forgotten to include the highlight.js library?
/makepdfs.js:105
						if (lang && hljs.getLanguage(lang)) {
						            ^

ReferenceError: hljs is not defined
    at Object.highlight (/makepdfs.js:105:19)
    at Object.default_rules.fence (/node_modules/markdown-it/lib/renderer.js:50:27)
    at Renderer.render (/node_modules/markdown-it/lib/renderer.js:326:38)
    at MarkdownIt.render (/node_modules/markdown-it/lib/index.js:543:24)
    at /makepdfs.js:123:19
    at FSReqWrap.args [as oncomplete] (fs.js:140:20)

I have the same issue

I tried to create a pdf, but the program crashed.

Should be resolved now. Sorry about this was not getting github notifications.


The AXP2021 chip shutdown by itself

Hello Dear,
May be this issue is not related to the library.
But i have no any other support sources.
The new boards arrived. All 50 are having strange behavier.
It is eather electrical connection issue or AXP2101 are faulty.
I am receiving this IRQ's in a raw and after that MPU shutdown:
isVbusRemove
isBatInsert
isBatRemove
isPekeyShortPress
isPekeyLongPress
This issue can happen during charging or during normal operations.
This issue can happen 1 hour after start or even 40 hours after start.
And i can not find any links to anything. It is just random shutdowns...
I am using
DCDC1 as ESP32 + Radio module power supply (max 0.6A total)
DCDC3 as GPS power supply (max 0.3A)
ALDO1 as gyro power supply (little load)
ALDO2 as spare power supply.
Kindly help with your expirience.

First of all, I can be sure that it is normal to interrupt the writing of this library, because several projects have already used it, so I will search from these two aspects based on my personal experience

Is the AXP2101 hardware connection normal? I am referring to VBUS, VBAT, IRQ, SDA, SCL, which are important circuits that are prone to IRQ
Is it possible that the PCB has poor anti-interference ability (EMI), and whether there is a strong magnetic field or a component that is prone to inductive magnetic fields near the signal line.

Finally, the question will be closed as this has nothing to do with this library itself, it's a hardware issue.


Is it possible to overwrite default sequence in integrated-terminal?

Having this in Keybindings:
{
    "key": "ctrl+shift+c",
    "command": "workbench.action.terminal.sendSequence",
    "args": {
        "text": "\u0003Y\u000D"
    },
    "when": "terminalFocus && !terminalTextSelected"
}

The above works (kills process with confirmation on windows using Ctrl+Shift+C 2x), but it doesn't work for Ctrl+c:
{
    "key": "ctrl+c",
    "command": "workbench.action.terminal.sendSequence",
    "args": {
        "text": "\u0003Y\u000D"
    },
    "when": "terminalFocus && !terminalTextSelected"
}

This one is sending default sequence and ignores user defined.

Version: 1.29.0-insider (user setup) Commit: cc5e2b41c3add18a31e87f84b5d6162566a38d6e Date: 2018-10-10T05:19:52.883Z

Good catch, this is happening because sendSequence is not in the default for terminal.integrated.commandsToSkipShell


Updated teams

Create binary searching for teams
Updated the ldap library version to 3..
Updated teams to work with LDAP (including Active Directory)

Hi @winstonspencer there are alot of changes in this PR not directly related to the three specified needs.  Would you be willing to rewrite the PR to just the core changes?

@winstonspencer thanks for the interest in contributing back to Gitblit.  This PR is too large and too unfocused to be reviewable.  I'm closing this for now.
If you feel like there are really important improvements in this PR that the project is missing, please open a new PR with those discrete improvements.  It would also be helpful if the new PR minimized the diff so that we can focus on your proposal.  Thanks!


feat(tailwind-eslint): add tailwind eslint plugin

Have you checked if validaiton is done in cn functions like asked in the ticket?

It's important to whitelist cn function (our helper for clsx and tailwind-merge) so that we validate classnames in the helper

yes, most of those warnings were generated off the cn function content

I ended up adding cn helper to list of callees here because while className properties were scanned when used directly, if I have a variable with classnames outside of className property, it wasn't validating it, with my change it does that now.


Investigate deferring some responsibilities to testbook

https://github.com/nteract/testbook
Looks like we can potentially throw some responsibilities onto testbook and trim down our code base a bit. This PR looks great and should mean we don't need to do it ourselves anymore, lack of coverage is an issue but we can continue to specialize around pytest for our coverage reports.

related: https://github.com/jpmorganchase/nbcelltests/issues/189


Nav Push Header under Header

Hi
i dont know what i am do wrong but in your gif the header is at the top like it should be
but on my apps the header on a pushed page look like that:

this happens when in push a page.
what do i wrong?
Thank you dani


Double line breaks when pasting copied file

Using the copy button on a file adds double spacing between lines. Appears to be an issue after https://github.com/sindresorhus/refined-github/pull/1559
Repro case:

Use the copy button on this file - https://github.com/greggb/refined-gh-spacing-repro/blob/master/test.css

Paste into an editor (I've done this here: https://codepen.io/anon/pen/XxwZwL)

Expect:
body {
  color: rebeccapurple;
}

Actual:
body {

    color: rebeccapurple;

}

Recent possibly-related PR: https://github.com/sindresorhus/refined-github/issues/1500

// @denkristoffer


Why the bower package name is "angular-fileupload"?

Wow. Is this software currently maintained?

I've created a PR (#13) to resolve this


Add steps for statistics calculator

Related Issue

Info about Issue or bug

Fixes: #461
Describe the changes you've made
I have added the steps for statistics calculator in algebra section.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@LakshayN add working screenshot

@Amit366 check now. the first one is the original screenshot and the next two are working screenshot

@LakshayN what have u done?
Add steps means, adding steps to the calculator and not to the process and formula.

@LakshayN what have u done? Add steps means, adding steps to the calculator and not to the process and formula.

the calculator is already finding the mean, median, mode variance, st deviation, what more steps do i have to add ?

If entered values are 2+3+4 then mean is 2+3+4/3. Like that. That's why I said to look at physics calculators.

im busy right now with other work, wont be able to work on it


Please, whether to support Carthage with Bitcode now?

As stated in the topic.

Please can you give me more details? PKHUD is carthage compatible and reading the documentation when the talk about bitcode is for the user section, not the library one.
So it seems that you have to make some changes in order to use PKHUD and release you app on the  store.

@PGLongo
Thank you! I just saw somebody talked about it in Issues. I tried to archive my app, and succeeded.
But, why not write the Carthage Installation in 'How To' section of this project's documentation？I feel strange.

 I've updated the README.md


Print paramLabel only when it could exist

We shouldn't print paramLabels for options with arity 0.

Can you give some detail about what you are currently seeing that is different from what you expected to see? Ideally with an example that can be reproduced.
Also, I’m a bit surprised that all tests still pass with this change. (Away from my PC, cannot check.) Does that mean that this area isn’t covered by any tests? Maybe we should take this opportunity to add tests if that’s the case.

Before fix:
option '--help' (<help>) should be specified only once
After fix:
option '--help' should be specified only once

Thanks for the clarification.
Can we add some tests to the pull request?

Do you mind adding them? Won't have time to do that anytime soon.

Do you mind adding them? Won't have time to do that anytime soon.

I currently have almost no time to spend on picocli.
If you don't have time either that is fine of course.
This will just have to wait until someone can add some tests.


Optimize updateCase() in service layer

I have created code on my own, but when trying create unit test, found bug and fixed them, then code becomes mess.
I want to optimize it.

completed by feature/ticket36


Trait not registered

I have this simple factory for Mongoid model
    FactoryGirl.define do
      factory :mongo_group, :class => MongoGroup do
         name 'Group'
         membership_type Group::GROUP_TYPE[:public]
         description 'Description'
         welcome_header 'Welcome'
         welcome_message 'Message'
         memberships_count 10

         factory :myapp_mongo_group do
           name 'MyApp'
         end
      end
    end

when trying to make FactoryGirl.create(:myapp_mongo_group) I get exception with message "Trait not registered: created_by" where created_by is belongs_to association in mongoid model (belongs_to :created_by, :class_name => 'MongoUser').
If I make factory to be non-inherited
    factory :myapp_mongo_group, :class => MongoGroup do
      name 'MyApp'
      membership_type Group::GROUP_TYPE[:public]
      description 'Description'
      welcome_header 'Welcome'
      welcome_message 'Message'
      memberships_count 10
    end

then problem persists.

For anybody still getting this error: factory :mongo_group, aliases: [:created_by] or better: association :created_by, factory: :mongo_group


Ability to Create CorrelationFilter on ServiceBus Subscription

Cannot create a CorrelationFilter rule on a ServiceBus Subscription via the CLI; cannot seem to find any available documentation for doing the same using the following CLI command:
az servicebus topic subscription rule create --resource-group myresourcegroup --namespace-name mynamespace --topic-name mytopic --subscription-name mysubscription --name myrule

Here is the documentation for the subscription creation CLI command. The correlation filter must be created using the portal or programmatically.

Here is the documentation for the subscription creation CLI command. The correlation filter must be created using the portal or programmatically.


Changing language to another does not work.

Requirements

[X] I checked the troubleshooting section in the README to verify that I have the latest TrashCard version.
[X] I did a search to see if there is a similar issue or if a pull request is open.

Current Behavior
I change language in the current users General settings to another language. In this case Swedish. When i do my other cards switch language as they should however the trash-cards does not. I've tried to change the local language settings also in the server but this did not help either.
When doing debug i can see that the timezone is always +2:00 even though my timezone is +1:00 (UTC +1). So i can see that there is something wrong but i cannot understand where the issue is.
Expected Behavior
Change language in the trash card
Steps To Reproduce
Change language to another language in the user.
Context
No response
Environment
- Browser: Chrome Version 129.0.6668.101
Core
2024.10.2
Supervisor
2024.10.0
Operating System
13.1
Frontend
20241002.3
- TrashCard:2.4.1

- Iphone app: 2024.9.4

Debug data
For some reason i cannot copy the debug log in either chrome or edge. i have attached screenshots of the debug

YAML:
  - type: custom:trash-card

    entities:
      - calendar.trashcollection
    layout: vertical
    fill_container: false
    event_grouping: false
    full_size: true
    drop_todayevents_from: '23:00:00'
    next_days: 7
    day_style: counter
    card_style: chip
    color_mode: icon
    items_per_row: 3
    refresh_rate: 60
    with_label: true
    filter_events: true
    use_summary: true
    hide_time_range: false
    language: se
    pattern:
      - label: Kärl 1
        icon: mdi:recycle-variant
        pattern: Kärl 1
        color: light-green
        type: recycle
      - label: Kärl 2
        icon: mdi:recycle-variant
        pattern: Kärl 2
        color: light-green
        type: waste
      - label: Trädgårdsavfall
        icon: mdi:flower
        pattern: Trädgårdsavfall
        color: amber
        type: organic

Anything else?

@kaldurhan the short code for swedish was wrong, so the translation into swedish wasn't available.
I'm not sure about your time zone. If you are in sweden your timezone should be UTC+2.
Excerpt from google
In Sweden, the standard time is Central European Time (CET; UTC+01:00; Swedish: centraleuropeisk tid). Daylight saving time is observed from the last Sunday in March (02:00 CET) to the last Sunday in October (03:00 CEST).
Or see here https://www.timeanddate.com/time/zone/sweden, https://www.campervansweden.com/blog/travel-information/what-time-is-it-in-sweden
The time zones here always refer to UTC and not GMT
Translated with DeepL.com (free version)

@idaho the changes doesn't make sense, the two letter shortname for Sweden is se, according to https://www.iban.com/country-codes, but now you've changed the language file to sv? Which is El Salvador, according to the link..


Feedback & Requests

You can use this issue to discuss the plugin.

Firstly - thanks, this is exactly what I was looking for.
Secondly - would this work with a LOD? So you could have a low-poly version of a zone operating as scenery that's then swapped out on triggering the zone loading.
Thirdly - have you had any issues with saving and loading games?

Thank you, I'm happy that it is useful :)
For LOD version of zones, I think it should be possible without too many modifications if there is only one LOD level.
In the zone_trigger.gd, add a new variable zone_path_LOD that will contain the LOD version of your zone.

Then, in zone_loader.gd, in _on_zone_exited, you request and attach the LOD version, and in _on_zone_entered you remove the LOD version. Basically it is the same code as the normal zones, but inverted.

I've not had any issue with saving/loading games, but I only save very few data. For example, if I kill monsters in a zone and come back later, they will be back, but this is normal for my game. If you need to keep the zone state, you need to save each zone data when they are unloaded, I don't know if that is your issue.

Hi, just started playing with the template project. The character runs fast enough to launch itself out of all the zones and you can see them being unloaded and brought them back when you come down. It does exactly what I wanted to implement so far.
As to the workflow, I guess it comes down to

creating the real map (in full or in part)
setting up the zones and triggers
removing the map nodes

I'm thinking that maybe it would be nice for the zone to show the map-node it will load later while in the editor. In case you have to line things up again. But either way, very useful, thanks

You mean have all the zones attached in the editor to see the whole world? Unfortunately doing so Godot would load all the zones at the start of the game, defeating the system purpose (only load what is needed).

You can use the Engine.editor_hint in tool scripts to run some code only in-game, or in-editor.
tool extends Node
func _ready():
  if Engine.editor_hint:
    # in-editor behavior
    show_always() # or use VisibilityNotifier ?
  else:
    # regular behavior
    use_triggers()

I'll cook up a prototype, if it works I'll share it in a PR

Wow, that is some seriously cool stuff, didn't know it was possible. It's a great addon to the system, I will merge it when I have time, thank you :)

How about turning off the "monitorable" property for the ZoneX Area2D's? As far as i can see, they only need to detect the player entering and exiting, but do not need to detect any overlap between each other? (haven't looked much into the 3D variant, but from what i see i assume this works much the same in that case).
I am barely starting to use this great system, but that seems like an easy performance gain for to me. I am just not sure wether this is needed when having a lot of zones, and wether i am missing something.

Hello!
I use "zone.get_overlapping_areas()" to detect which zones are connected to each other, so "monitorable" is needed, and without "monitoring" the zone won't be able to detect the player entering it. Anyway, I don't think it is a problem performance-wise since there is only the player and the triggers on this physics layer.
I think it is possible to improve the system for 2D with VisibilityNotifier2D, I need to work on this.

Ok, I updated the 2D detection system, there is actually no need to use VisibilityNotifiers or Enablers.
The 2D player now has an Area2D that covers the whole screen making zones attach as soon as they become visible.

That was quick! Thanks!
About my performance concerns:
I am not sure wether the change adresses any performance concerns i had, but from the further reading i did, having them on a seperate layer to all other collisions is apparently enough for most cases. The thought behind the VisibiltyEnabler-Idea was to disable collision checking completely if an area is too far off screen/away from the player position. looks like this isn't necessary, and without a large enough project at hand that actually struggles just optimization for optimizations sake.
about the 2D specific change:
One thing the change makes sure though, is that the view on the screen, not the player character causes the zones to load, which is a better default for the 2D example!

I'd have a request for 2D, where i am not sure wether this falls into the scope of this project, or wether i should figure it out on my own (ill certainly try anyway, and i haven't yet).
In a 2D game, where the perspective is not straight top down, but rather a 45 degree-ish angle (or an isometric view, now that i think about it), needs some Y-Sorting so things properly occlude each other. I guess there is a clever way of using nested YSort-Nodes, or brute force reparenting the player to the zone they are currently in, so the default YSort behavior works.

Hello, I mainly use Godot for 3D stuff, so I don't know the issues with 2D sorting very well, if you think your solution can help most of the 2D games that will use this system, can you submit a pull request?
Much appreciated!

If the 2D game is 100% top down view, then this will be not needed. If it isn't, and the viewing angle of the assets is more like 45 degree (e.g. Undertale), something like this will be necessary so the perspective makes sense(otherwise you will either always be in front or behind everything in every zone). I'll test around a little more to make sure I am not missing anything, and then I'll create a pull request. Glad I can contribute.

Ok, I converted the 3D demo with the new node structure, unified the scripts, and removed the basic 2D demo, the tilted demo is now the standard 2D demo.
@Wrzlprnft, can you check if everything looks fine?

Oh, i didn't think of just calling connect from the zone on the trigger... whoopsie
Yeah, looks good to me 👍

I get the following error when quitting after a 2D zone have been unloaded:
ERROR: remove_shape: Index p_index = 0 is out of bounds (shapes.size() = 0).
At: servers/physics_2d/collision_object_2d_sw.cpp:132
Any idea ?

I tracced it down to a zone having a tilemap with YSort enabled after being loaded and the unloaded at the point of quitting causing that error. i haven't found out why at this point, though.

Good news, I was able to fix the issue, so I submitted a new version to the Asset Library (waiting for approval) :)
The issue was when freeing a loaded zone that was not in the tree, with NPC. I changed free() to queue_free() and it seems to have fixed the issue.
Thanks for your patience!

If someone wants to have a larger viewing distance he can increase the area ZoneTrigger with .scale.x (also .scale.y and z) in the code.
I hope it helps you.
Gamemap

Would be a system to hand off NPC's traversing between zones within the scope of this project?
I assume one would put objects that block pathfinding on the connecting points between the zones, and handle the logic of finding things seperatly from the actual pathfinding. Once an NPC decides to leave a loaded zone, it walks up to that connection area and is unloaded, while more custom logic handles the desired behaviour of it while unloaded/when to come back in.

I think it is a bit too specific to be included in the system. We would add a section to the readme on how to handle this problem if you have a good solution.
But I don't know much about pathfinding, I don't use it in my game. I know you have a navigation mesh and a navigation agent, but can you split the mesh across multiple zones and have it work?

Ill dabble with it and see if i can come up with something. Might take a while, though, as i am just starting with the entire topic of pathfinding.

It's been a while. Here are my conclusions on the npc stuff so far:

Would be a system to hand off npcs traversing between zones within the scope of this project?

Basically, it would need a "level of detail" like system for moving npcs:

"forgettable" npcs: just populating the space. do not have persistent change of state throughout the game.
"named" npcs: do have some sort of persistence. need to be tracked when unloaded (whether that is location or just story progress or so)
"trackable" npcs: named npcs whose movement/progress throughout the world need to make sense/be "real" to not ruin the players immersion

Godot does offer addind/subtracting polygons from nav-meshes. Therefore zones could on loading and unloading add/subtract their navmesh polygon to/from a global "currently loaded" navmesh. Npcs could be reparented to the zone they are currently entering to prevent them going out with their starting zone. On loading and unlading zones could handle populating/depopulating the world areas they control, and hand over control of the remaining npc behaviours to their parent nodes/the world.
The real issue i encounter which always blows stuff out of proportion is the information npcs need to function. What if their goal got unloaded? What if they need to exit the loaded zones into a currently not loaded one?
There is a bottomless pit of system design here, because it is either super game specific or overkill for most games. It basically ranges from "well, we just want to have city guards be able to run across the whole city which consists of 2 zones" so therefore it would just need to be one navmesh for both zones to "well, we basically need a full economic simulation across all zones to have the traveling merchants be very believable in what they carry and where they go" which requires a whole separate set of logic.

I think it is a bit too specific to be included in the system. We would add a section to the readme on how to handle this problem if you have a good solution.

It appears that not the pathfinding is the problem, but rather information doesn't have the same visibility as the player, and therefore it isn't trivial to add this to a system that is based on player visibility.
I do agree: adding a section with npc considerations to the readme is the preferred solution.
... unless someone comes around the corner with a finished system. (initial ideas on basically making a second layer of zones only consisting of information for npcs and have that load/unload based on npc behaviour instead of player behavious seemed promising, but i'd need way more time to make it actually work and useable)

Can we make it while working on editor viewport?

@blisterPrinkles what do you mean?

@blisterPrinkles what do you mean?

I was thinking in saving power while editing a 3d open-world... however I did not realized that there is other methods to join by script chunks and I bet that your system works with that too!

There is a "preview" flag that allows to show/hide zones in the editor.

I kept having my game crash and I think I've found what's causing it. In background_loader.gd, line 237 or so there's a line that is
if resource_instance != null:
and there were some times when I freed the world to change scenes to a menu or whatever and then when I changed back to the world scene, it would crash. I changed the above line to
if is_instance_valid(resource_instance):
and it no longer crashes. Thanks.

Happy you were able to fix your issue :)
Normally, if you need to go to a main menu, you should stop the loading system by calling:
BackgroundLoader.request_stop()
yield(BackgroundLoader, "loading_process_stopped")

This will properly unload all used resources (might take a few seconds).
Hope it helps!

Do you intend to port this over to Godot 4, by any chance?  I use this in my current Godot 3 project and am looking into what converting over to Godot 4 would involve.
Thanks!


Correctly suggest constants that are defined on

Motivation

We used to have an off-by-one error suggesting constants that were defined at
the root level if we were nested inside a class (i.e., not at the top level
ourselves).
So this test passed previously:
Integ
#    ^ completion: Integer

But this test failed:
class A
  Integ
  #    ^ completion: Integer
end

There was an off-by-one error in the do ... while. I fixed it and added a
test.
Test plan

See included automated tests.

This is completely and totally wrong.


[zh-cn]sync basic-stateful-set tutorials/_index

content/zh-cn/docs/tutorials/_index.md
content/zh-cn/docs/tutorials/stateful-application/basic-stateful-set.md

/lgtm
/approve


View All Notification fetch JSON response instead of View

Your environment:
OS: Linux
Browser: Firefox
Description:
When we click on notification icon and "View All" it gives json response instead of View.
Steps To Reproduce:
Click on bell icon on top right corner along the message icon.
click on View All link at the bottom of it.

Having the same here, only a JSON response saying "success"

fixed by 57f1a53


The app does not install in my mobile phone

Project Information

Repository--------------:Here
Project Name-----------:  android_packages_apps_GmsCore
Publisher-----------------: microG Project
My GitHub account------:  Here

Expected behavior
The application should be installed when I try to install the application
Actual behavior
The application is not being installed
How to reproduce

Download the application

try to install the application

Note the Bug

Browser/App version-: v<IP_ADDRESS>80

Operating system----: 9.0.0

Recording Of The Bug

You must uninstall Google play services first.

I have tried many times but still the applications are not installed
i have uninstalled the google play service

The system asks if you want to install an update to an existing application so obviously you have not. Is the devices rooted and have you debloated and performed the prerequisites?

ok sir  itry

I have tried a lot but the application is not installed
I do not understand what the problem is, I have made everything possible

Use a root file manager and remove /system/priv-app/GoogleLoginService.apk and /system/priv-app/GoogleServicesFramework.apk, else you can try microG unofficial installer

The problem is not resolved yet

You can't. You'll need NanoDroid after debloating.
Your ROM doesn't support signature spoofing. µG will not work.

ok sir


Build in Docker Container

@vlad-shatskyi would you mind if I worked on this issue? I've been looking for a way I can contribute to upterm and I think I could tackle this.

@beardedfoo I'd love that!
So, the requirement is that I clone the repo, run a docker command, and get a Linux package (produced by npm run pack) on my host computer in the dist/ directory. It solves the issues with dependencies management (like libreadline.so.6). It would be nice to have builds for either OS X or Linux, if electron-builder supports building OS X packages on Linux.

Maybe you also have some ideas how to start the develoment version (npm start) in a container and then use it on the host?

@beardedfoo do you still want to work on this?

@beardedfoo I'll assume you changed your mind and will assign this to myself. Just wanted to let you know in order not to step on each other toes, if you're working on it.

A container would help avoid issues like this: https://github.com/railsware/upterm/issues/1110


[FLINK-5527][query] querying a non-existing key does not return the default value

Querying for a non-existing key for a state that has a default value set currently results in an UnknownKeyOrNamespace exception when the MemoryStateBackend or FsStateBackend is used. It should return the default value instead just like the RocksDBStateBackend.

In a separate change, we actually deprecated the default value in states. It does not behave very well at runtime in many cases and we thought that it would be simpler to let the user code handle default values.
Can queryable state not simply return null as well? I am also not sure if the assumption can be made that external queries want the same default value as the state updating code paths (which frequently use the default value only as a shortcut for initializing the state).

I saw that deprecation but nonetheless the default value is exposed which is why a consistent behaviour is needed.
Since the state descriptor says "that is the value if nothing is set", I would find it more consistent if that was true for both use cases of "state", i.e. inside an operator and as queryable state. It would make things more complicated for users if it were only true for the operator use, I guess.
If the default value is not used, however, it is set to null internally and so null is returned anyway only at the penalty of this one check that the actual value is null

The default value so far referred to access to the state object from within a program.
I would avoid extending this definition to queryable state given that we are deprecating it.
If we clearly spell the behavior out, I see no problem that queryable state access does not use the default value.

I agree with both of your points, but I'm slightly leaning towards the side of consistent behaviour since this behaviour is not special for queryable state per se. It's just implementing the current contract of the state interfaces, which still allow for a default value. Once we remove that from the state interfaces, queryable state should also not expose it anymore, since queryable state is registered within the program.
In the end I'm fine with both approaches and it's up to you both to decide. :wink:
PS Note that null is not returned in case of a query to a non-existent value for a key/namespace, but the UnknownKeyOrNamespace exception fails the queries Future instance.

Ok, let's not introduce the (now deprecated) default values in the queryable state API.
I'll create a new Jira and PR for removing that part from the RocksDB back-end and consistently return null for now (which translates to the UnknownKeyOrNamespace exception).
Later we can decide to return null instead, if desired. Although a query for non-existent state could be considered a failure from the point of the queryable state API.


Rework agent's config to address multi rollups support

The config currently is not really designed to serve for multiple rollup to rollup connections. As we will merge agent instances into a single process in #654, we should also address this in the config.
My idea is to have high level keys for a chain (we already have this for rpcs) and store all information regarding this chain under this key. This would also include tokens.
This issue needs more discussion and should be blocked by #654

This issue can be closed.


Snippet code style

I've noticed there isn't a uniform code style, e.g. some snippets put the opening bracket on a new line while others don't.
So what code style should a contributor use?

To be honest honest there isn't any strict code style, if it works that's enough for me, the only thing I do is formatting with prettier.

ok, got it.


If user is unsubscribed should we even emit pending ?

Noticed after the time-to-pending fix that emitted pending immediately that if you are unsubscribed then pending is emitted, an auth check done, then stopped.
This causes "unlocking ... " to flicker briefly before "subscribe to never see this annoying box" on coil.com when user is unsubscribed.
We could potentially only emit pending if we are optimistic that our subscription is active, as so:
  async startWebMonetization(
    request: StartWebMonetization,
    sender: MessageSender
  ) {
    const tab = getTab(sender)
    this.tabStates.logLastMonetizationCommand(tab, 'start')
    // This used to be sent from content script as a separate message
    this.mayMonetizeSite(sender)
    const userBeforeReAuth = this.store.user
    let emittedPending = false
    const emitPending = () => this.sendSetMonetizationStateMessage(tab, 'pending')

    // If we think we have an active subscription, emit pending immediately
    // otherwise wait until try to auth, then emit
    if (userBeforeReAuth?.subscription?.active) {
      emittedPending = true
      emitPending()
    }

    log('startWebMonetization, request', request)
    const { requestId } = request.data

    log('loading token for monetization', requestId)
    const token = await this.auth.getTokenMaybeRefreshAndStoreState()
    if (!token) {
      // not signed in.
      console.warn('startWebMonetization cancelled; no token')
      this.sendSetMonetizationStateMessage(tab, 'stopped')
      return false
    }
    if (!this.store.user?.subscription?.active) {
      this.sendSetMonetizationStateMessage(tab, 'stopped')
      console.warn('startWebMonetization cancelled; no active subscription')
      return false
    }

    if (!emittedPending) {
      emitPending()
    }

    const lastCommand = this.tabStates.get(tab).lastMonetization.command
    if (lastCommand !== 'start') {
      console.warn('startWebMonetization cancelled via', lastCommand)
      return false
    }

    log('starting stream', requestId)
    this.tabsToStreams[tab] = requestId
    this.streamsToTabs[requestId] = tab
    this.streams.beginStream(requestId, {
      token,
      ...request.data,
      initiatingUrl: request.data.initiatingUrl
    })

    return true
  }

I think this is a good idea. We could think about the semantics either as:

pending occurs until we're sure we can/can't pay, at which point it settles in started/stopped
stopped occurs until we're sure we can pay, at which point it moves to pending and then started

So this change would be the second state model, right? But where we sometimes instantly know that we're subscribed and can move to pending

So this change would be the second state model, right?

Ja, we can't really know 100% for sure. They could be sub/unsub since last user request.
If our latest view of the world means we are optimistic that we are subbed, then emit pending immediately. If our view is that we are unsubbed, then wait in stopped state until we've got latest results, potentially skipping pending entirely.

Closed with #148


Rust Language

It would be awesome if these plugins would be an option for rust lang plugins.
The offical plugin for rust is rust.vim with completion with vim-racer or the in development language client (relies on racer making vim-racer redundent if the lang server is installed)
Additionally https://areweideyet.com/#vim is worth a look.

Deploy the new version asap.


Use dart2js --csp, and remove unsafe-eval CSP rule.

Fixes #2212. Tested it locally, looks good.

Let's also check that dartdoc search works...

Confirmed.
I've also updated the script.dart to make sure we do trigger a new build of it.


Disable HiveConfig.Spec.ExportMetrics

We've decided that HiveConfig.Spec.ExportMetrics wasn't needed, and it was doing some undesirable things, including preventing certain manual configurations of metrics. With this commit, we disable it completely. (We have to leave the field in the API for backward compatibility.)
HIVE-2088

/assign @suhanime
/cc @abutcher @hongkailiu

/lgtm


How to detect when the cell clicked in SWRevealViewController

I had merged the SWRevealViewController in porject, it works well
but I want to do something after selected cell ,

How can I detect the clicked event?
Thanks for any replay in advance.

    // MARK: - Table view delegate

    override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        tableView.deselectRow(at: indexPath, animated: true)

        let cell = tableView.cellForRow(at: indexPath)

        ...

Its works for me, thank you so much


http: TLS handshake error from ... :59309: remote error: tls: bad certificate

Version:

k3s version v1.17.2+k3s1 (cdab19b0)
Describe the bug

When attempting to connect local k3s agent to EC2 k3s server, k3s server logs report:
http: TLS handshake error from ... :59313: remote error: tls: bad certificate
Agent logs:
Feb 24 17:42:25 yow-nhartman-lx k3s[18979]: time="2020-02-24T17:42:25.318584810-05:00" level=info msg="Waiting for containerd startup: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/k3s/containerd/containerd.sock: connect: connection refused\""
Feb 24 17:42:26 yow-nhartman-lx k3s[18979]: time="2020-02-24T17:42:26.432472774-05:00" level=info msg="Updating load balancer server addresses -> [...  ...:587]"
Feb 24 17:42:26 yow-nhartman-lx k3s[18979]: time="2020-02-24T17:42:26.432843527-05:00" level=info msg="Connecting to proxy" url="wss://...:587/v1-k3s/connect"
Feb 24 17:44:37 yow-nhartman-lx k3s[18979]: time="2020-02-24T17:44:37.363270503-05:00" level=error msg="Failed to connect to proxy" error="dial tcp ...:587: connect: connection timed out"
Feb 24 17:44:37 yow-nhartman-lx k3s[18979]: time="2020-02-24T17:44:37.363349247-05:00" level=error msg="Remotedialer proxy error" error="dial tcp ...:587: connect: connection timed out"
To Reproduce

Server (EC2)
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--write-kubeconfig-mode 644 --tls-san internal_ip --tls-san external_ip --https-listen-port 587" sh -
Agent (local):
curl -sfL https://get.k3s.io | K3S_URL=https://$public_ip:587 K3S_TOKEN=$token sh -
Expected behavior

K3s agent connects to K3s server
Actual behavior
K3s agent fails to connect to K3s server

Additional context

After enabling debug mode on the server, I notice the following error immediately after the tls: bad certificate line:
Feb 25 15:44:16 ip-172-31-35-19 k3s[7176]: I0225 15:44:16.578490    7176 log.go:172] http: TLS handshake error from <IP_ADDRESS>:41832: remote error: tls: bad certificate
Feb 25 15:44:16 ip-172-31-35-19 k3s[7176]: time="2020-02-25T15:44:16.677096180Z" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!: -1" module=api status_code=-1
After searching for that message, I find it's in a Docker related file?
find . -name '*.*' | xargs grep 'FIXME: Got an status-code for which error does not match any expected type!!!' 2>/dev/null
./vendor/github.com/docker/docker/errdefs/http_helpers.go:		}).Debugf("FIXME: Got an status-code for which error does not match any expected type!!!: %d", statusCode)
Will continue investigating.

Appears to be unrelated as it appears several times in the log without attempted connections from the agent.
Not a clue what's causing the issue then.

What SANs are on your ec2 k3s server's certificate? Is it valid for the EC2 instance's public IP, or just the private?

Assuming I'm doing this correctly:
kubectl get secret -o yaml k3s-serving -n kube-system
echo "tls.crt" | base64 --decode | openssl x509 -noout -text
X509v3 Subject Alternative Name:
DNS:public_dns ... IP Address:private_ip, IP Address:public_ip
So I believe so. I added every IP under the sun with the --tls-san flag with no success

The agent itself is just reporting connection timeout:
Feb 24 17:44:37 yow-nhartman-lx k3s[18979]: time="2020-02-24T17:44:37.363349247-05:00" level=error msg="Remotedialer proxy error" error="dial tcp ...:587: connect: connection timed out"

Can you do a simple curl test to confirm connectivity to the remote host?
curl -vks https://<public_dns>:587/

Sorry about that. I had the security wide open to try debug the issue, I've since tightended it. Here are the unadultered logs:
Server:
Feb 25 20:40:55 ip-172-31-35-19 k3s[20848]: I0225 20:40:55.067028   20848 log.go:172] http: TLS handshake error from <IP_ADDRESS>:22934: remote error: tls: bad certificate
Agent:
Feb 25 20:41:06 yow-nhartman-lx k3s[19334]: time="2020-02-25T20:41:06.734438562Z" level=info msg="Waiting for containerd startup: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/k3s/containerd/containerd.sock: connect: connection refused\""
Feb 25 20:41:07 yow-nhartman-lx k3s[19334]: time="2020-02-25T20:41:07.851456120Z" level=info msg="Connecting to proxy" url="wss://<IP_ADDRESS>:873/v1-k3s/connect"
Feb 25 20:43:18 yow-nhartman-lx k3s[19334]: time="2020-02-25T20:43:18.316157449Z" level=error msg="Failed to connect to proxy" error="dial tcp <IP_ADDRESS>:873: connect: connection timed out"
Feb 25 20:43:18 yow-nhartman-lx k3s[19334]: time="2020-02-25T20:43:18.316236936Z" level=error msg="Remotedialer proxy error" error="dial tcp <IP_ADDRESS>:873: connect: connection timed out"
SANs:
X509v3 Subject Alternative Name:
DNS:ec2-18-221-152-110.us-east-2.compute.amazonaws.com, DNS:ip-172-31-35-19, DNS:ip-172-31-35-19.us-east-2.compute.internal, DNS:kubernetes, DNS:kubernetes.default, DNS:kubernetes.default.svc.cluster.local, DNS:localhost, IP Address:<IP_ADDRESS>, IP Address:<IP_ADDRESS>, IP Address:<IP_ADDRESS>, IP Address:<IP_ADDRESS>
Curl result:

Trying <IP_ADDRESS>:873...

TCP_NODELAY set
Connected to ec2-18-221-152-110.us-east-2.compute.amazonaws.com (<IP_ADDRESS>) port 873 (#0)
ALPN, offering h2
ALPN, offering http/1.1
successfully set certificate verify locations:
CAfile: none
CApath: /etc/ssl/certs
TLSv1.3 (OUT), TLS handshake, Client hello (1):
TLSv1.3 (IN), TLS handshake, Server hello (2):
TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
TLSv1.3 (IN), TLS handshake, Request CERT (13):
TLSv1.3 (IN), TLS handshake, Certificate (11):
TLSv1.3 (IN), TLS handshake, CERT verify (15):
TLSv1.3 (IN), TLS handshake, Finished (20):
TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.3 (OUT), TLS handshake, Certificate (11):
TLSv1.3 (OUT), TLS handshake, Finished (20):
SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
ALPN, server did not agree to a protocol
Server certificate:
subject: O=k3s; CN=k3s
start date: Feb 25 19:02:47 2020 GMT
expire date: Feb 24 19:02:48 2021 GMT
issuer: CN=k3s-server-ca@1582657367
SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.

GET / HTTP/1.1
Host: ec2-18-221-152-110.us-east-2.compute.amazonaws.com:873
User-Agent: curl/7.65.3
Accept: /

TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):

Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Content-Type: application/json
< Www-Authenticate: Basic realm="kubernetes-master"
< Date: Tue, 25 Feb 2020 20:45:16 GMT
< Content-Length: 165
<
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Unauthorized",
"reason": "Unauthorized",
"code": 401

Connection #0 to host ec2-18-221-152-110.us-east-2.compute.amazonaws.com left intact

If I pass it the server-ca.crt file, the error is slightly better, but still the same core issue:
sudo curl -vs https://ec2-18-221-152-110.us-east-2.compute.amazonaws.com:873 --cacert /var/lib/rancher/k3s/agent/server-ca.crt
*   Trying <IP_ADDRESS>:873...
* TCP_NODELAY set
* Connected to ec2-18-221-152-110.us-east-2.compute.amazonaws.com (<IP_ADDRESS>) port 873 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /var/lib/rancher/k3s/agent/server-ca.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Request CERT (13):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: O=k3s; CN=k3s
*  start date: Feb 25 19:02:47 2020 GMT
*  expire date: Feb 24 19:02:48 2021 GMT
*  subjectAltName: host "ec2-18-221-152-110.us-east-2.compute.amazonaws.com" matched cert's "ec2-18-221-152-110.us-east-2.compute.amazonaws.com"
*  issuer: CN=k3s-server-ca@1582657367
*  SSL certificate verify ok.
> GET / HTTP/1.1
> Host: ec2-18-221-152-110.us-east-2.compute.amazonaws.com:873
> User-Agent: curl/7.65.3
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Content-Type: application/json
< Www-Authenticate: Basic realm="kubernetes-master"
< Date: Tue, 25 Feb 2020 22:11:07 GMT
< Content-Length: 165
<
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {

  },
  "status": "Failure",
  "message": "Unauthorized",
  "reason": "Unauthorized",
  "code": 401
* Connection #0 to host ec2-18-221-152-110.us-east-2.compute.amazonaws.com left intact

So after connecting manually to the public dns via chrome https://ec2-18-221-152-110.us-east-2.compute.amazonaws.com:873 I was able to succesfully log in with the kubectl login.
After further research I came across the following issues which I think are more relevant:
https://github.com/rancher/k3s/pull/881
https://github.com/rancher/k3s/issues/986
Not sure how to proceed. That pull request seems to be what I need but it hasn't seen attention since October...

Yeah, I think that's probably the issue. Now that you've posted some unredacted logs it's pretty clear that the agent is trying to connect up to the server's private IP, not the public:
Feb 25 20:43:18 yow-nhartman-lx k3s[19334]: time="2020-02-25T20:43:18.316236936Z" level=error msg="Remotedialer proxy error" error="dial tcp <IP_ADDRESS>:873: connect: connection timed out"
Have you tried playing with the --bind-address at all? I'm not sure how that affects the cluster networking though. It may just not work properly with NAT in between the server and agents, or you may have to muck about with name resolution so that the hostname that the server advertises itself as resolves to an address that the agents can resolve and reach.

I ended up forking v1.17.2+k3s1, and making the changes referenced in this PR ((PR)[https://github.com/rancher/k3s/pull/881]), and built the binary. Adding the --server-public flag completely resolved the issue.
I would love to see that functionality natively in K3S.
I will give the --bind-address flag a go though, I hadn't seen that flag.

After trying the --bind-address with the public DNS, I get the same issue but on the server this time:
Feb 26 18:32:16 ip-172-31-35-19 k3s[730]: time="2020-02-26T18:32:16.632950073Z" level=info msg="Connecting to proxy" url="wss://<IP_ADDRESS>:873/v1-k3s/connect"
Feb 26 18:32:16 ip-172-31-35-19 k3s[730]: time="2020-02-26T18:32:16.633747308Z" level=error msg="Failed to connect to proxy" error="dial tcp <IP_ADDRESS>:873: connect: connection refused"
Feb 26 18:32:16 ip-172-31-35-19 k3s[730]: time="2020-02-26T18:32:16.633916832Z" level=error msg="Remotedialer proxy error" error="dial tcp <IP_ADDRESS>:873: connect: connection refused"

Then, after running the server with --disable-agent I don't get the errors on the server, but can't connect at all one the agent:
ERRO[2020-02-26T18:35:10.746416196Z] failed to get CA certs at https://<IP_ADDRESS>:33303/cacerts: Get https://<IP_ADDRESS>:33303/cacerts: read tcp <IP_ADDRESS>:35718-><IP_ADDRESS>:33303: read: connection reset by peer

So for now I will continue using the --server-public flag provided by that PR as a good work around. Ideally this would be better integrated into K3S though.

I'm having this issue too but with local dns resolution. I initialized server with:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--tls-san rpi4.lan" sh -

and connected node with:
curl -sfL https://get.k3s.io | K3S_URL=https://rpi4.lan:6443 K3S_TOKEN=<<token>> sh -

After a few restarts of worker nodes I'm getting:
level=info msg="Connecting to proxy" url="wss://[fd73:ffaf:c5ab::665]:6443/v1-k3s/connect"
level=error msg="Failed to connect to proxy" error="x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, not fd73:ffaf:c5ab::66
level=error msg="Remotedialer proxy error" error="x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, not fd73:ffaf:c5ab::665"
level=info msg="Connecting to proxy" url="wss://[fd73:ffaf:c5ab::665]:6443/v1-k3s/connect"
level=error msg="Failed to connect to proxy" error="x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, not fd73:ffaf:c5ab::66
level=error msg="Remotedialer proxy error" error="x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, not fd73:ffaf:c5ab::665"

IP address of nodes didn't change, they have a lease for a month. Should the cert be valid for rpi4.lan too?
Not sure, but might be related to https://github.com/rancher/rke2/issues/518

and built the binary. Adding the --server-public flag to the agent completely resolved the issue.

This doesn't work for me

time="2021-03-25T11:51:32Z" level=fatal msg="flag provided but not defined: -server-public"
k3s-agent.service: Main process exited, code=exited, status=1/FAILURE

k3s version v1.20.4+k3s1 (838a906a)
go version go1.15.8

K3s does not currently support ipv6. Please make sure that you don't have any ipv6 records for your nodes. Note that when using .local addresses you may actually be relying on avahi/mdns - you should either have a private zone with records you control, or use hosts file entries.


Error in ANTLR representation of Fixed-size buffer declarations

There is an error in Your ANTLR representation of Fixed-size buffer declarations.
Now it looks like this:
fixed_size_buffer_declaration
    : attributes? fixed_size_buffer_modifier* 'fixed' buffer_element_type
      fixed_size_buffer_declarator+ ';'
    ;

fixed_size_buffer_modifier
    : 'new' | 'public' | 'protected' | 'internal' | 'private' | 'unsafe'
    ;

buffer_element_type
    : type
    ;

fixed_size_buffer_declarator
    : identifier '[' constant_expression ']'
    ;

If you follow these instructions, it will be possible to write:
unsafe struct A
{
    public fixed int x[5] y[10] z[100];    // Wrong way
//  public fixed int x[5], y[10], z[100];  // Right way
}

But this code is wrong and will throw an error.
So, to fix the error, the ANTLR grammar should look like this:
fixed_size_buffer_declaration
    : attributes? fixed_size_buffer_modifier* 'fixed' buffer_element_type
      fixed_size_buffer_declarators ';'
    ;

fixed_size_buffer_modifier
    : 'new' | 'public' | 'protected' | 'internal' | 'private' | 'unsafe'
    ;

buffer_element_type
    : type
    ;

fixed_size_buffer_declarators
    : fixed_size_buffer_declarator (',' fixed_size_buffer_declarator)*
    ;

fixed_size_buffer_declarator
    : identifier '[' constant_expression ']'
    ;

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

ID: 84e4d2d0-46de-0ff5-cd47-7692b7456725
Version Independent ID: 45af76ea-4c35-4001-462d-1a50f017d1e6
Content: Unsafe code - C# language specification
Content Source: standard/unsafe-code.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

@Nigel-Ecma  I think the suggest is correct in this issue.  Do you agree?

@neNerower – This pattern, where a “plural” production is used to define a sequence of a “singular” production, is used throughout the grammar. Pre-ANTLR these plural productions were two-option left-recursive (of the formPS = P | PS delimiter P); most, but not all (for no good reason), have been converted to a single-option version (of the form PS = P (delimiter P)* in ANTLR.
You’ve found one which got mangled, well spotted thanks! A quick scan didn’t turn up any others mangled this way, though there could be…
Your corrected version follows the same pattern as other parts of the grammar so is good to go. Would you like to create a PR for it and tag me as a reviewer?

@Nigel-Ecma
Yeah, it would be great !
I will create a PR soon.

@Nigel-Ecma
I created a PR #587 but couldn't tag You as a reviewer.


feat: allow updating role description via api

Can you please add some dummy descriptions to the success tests to ensure we have coverage for the most basic happy path?


#205 add fail-safe mode

see #205

github's resolve conflicts is timing out, not sure why :(

It looks like you merged master into your branch. Please rebase against our master branch, don't merge our branch into yours. Sorry for being a stickler -- but commits like "update pickler to match repo" should not exist in the history at all since it makes it non-bisectable, i.e. your branch history is all intermingled with changes from master that are unrelated to your changes, which makes them hard to review and test.

I think I used github's merge conflict editor to fix the merge conflicts, and that was what did the merge.
I went back in history to before the merge, reset my repo to the upstream head, and rebased my commits on top of master.  I'll create another PR with better history.

Regarding VS code, please see:
microsoft/vscode#12076 (comment)

Please configure your editor accordingly. Its defaults are crummy.

Done


RHELAI-429: Adding upgrade informer service

This is a duplication of https://github.com/containers/ai-lab-recipes/pull/663, since @tsorya is on PTO and we really need to push those changes
/cc @rhatdan
/cc @jeremyeder
Upgrade informer will run every couple of our and will be triggered by systemd timer.
In order to start it on boot and run once i enabled it and timer. Disabling auto upgrade service in order to remove unexpected reboots. Service will run "bootc upgrade --check" and in case new version exists it will create motd file with upgrade info.

This should run only once per day.  If you run it more often then that you will see complaints about flooding the logs.
We are not going to be updating that often that it requires more then once/day to run.

This should run only once per day

Agree, changed the timer to 1day


92527

Field
Value

Redmine Ticket Number
92527

App-Dev Road Map #
n/a

Start Date
02/01/2021

Due Date
n/a

App-Dev Priority
UP-Disqueued

Development Story Points
n/a

Peer Review Story Points
n/a

Ticket Author
@chriswiseman-dcgov

All commits are merge into single branch.
Branch: feature-92520
Pull request: https://github.com/ideacrew/gluedb/pull/32


drivers: dac: dacx3608: fix I2C read error

This commit fixes I2C error while reading chip ID in the
init function.
Signed-off-by: Matija Tudan<EMAIL_ADDRESS>

I guess it passed compilation test because there is no sample that would include this driver...


Create stud.vassboskovice.txt

the school's domain is http://www.vassboskovice.cz/ - so the path should be cz/vassboskovice.txt - please fix the path accordingly

Yes that is, but students have emails on @stud.vassboskovice.eu.
2015-05-08 16:47 GMT+02:00 Elena Ganenkova<EMAIL_ADDRESS>
the school's domain is http://www.vassboskovice.cz/ - so the path should
be cz/vassboskovice.txt - please fix the path accordingly
—
Reply to this email directly or view it on GitHub
https://github.com/JetBrains/swot/pull/1030#issuecomment-100258062.

could you please add the link to the page / document, confirming this information?

I have PDF document with confirmation but i don't know how upload it here.

Here is it https://www.dropbox.com/s/n1biyv5tm7tk0n8/Confirmation.pdf

Thank you, i'm adding the domain!

Thank you.


feat(sc): Neo3 Contract Manifest

refer to https://github.com/CityOfZion/neon-js/issues/441
NEO3 Contract Manifest
Contract Manifest will record contract info, permissions, method abi, etc. It is usually in the format of JSON. It is expected to be generated while compiling neo3 contract(not implemented yet). And it will be used in contract deployment and updating, and also the NEO3 permission system.
Why do we need manifest in neon-js?

For contract deployment and updating(currently in this PR)
For validation when user invoke contract method(Not in this PR)

If there isnt a day to day use case, we can move contract deployment out to a separate module. Is there any examples of using the manifest to validate transactions? How do you envision the code to look like?

@snowypowers

Is there any examples of using the manifest to validate transactions?

Not yet. Currently I am thinking of using it to validate transaction intents.

How do you envision the code to look like?

This is where I want to have a discussion with you.
Manifest looks like it can be used to dynamically generate abi for any contract, so that it could elevate user experience. It can even tell the permission control.
Manifest info can be got from rpc request getcontractstate
It's used in contract deployment and updating, anyway it just needs manifest as a string.

500 points MorganDream
300 points snowypowers for review

https://neoscan.io/transaction/44C84C9E7582DC00411BC9D9D075F6993BA7E203FFDDE366E21DFEBD125EA580


Extract registration logic from controller

Hi there!
Not sure if you want this or not, please just close and ignore me if you don't.
I wanted to re-use the registration logic with regular sign-ups (not API ones) but since all the logic was on the controller, I couldn't do it.
By moving the registration logic into another module and removing any HTTP responsibilities from it, I'm able to re-use it anywhere.
Cheers

@Draiken thanks for sending this in.
I'll review this in a bit later today and merge it in, or let you know if any changes need to be made. This refactor is a really good idea, and will fit in nicely with the next release I'm hoping to have ready in the next week, which will include HTML views, along with a lot of general code base improvements.


Merge BladeLite branch into master

Proxy argument, fps limit fix, version numbering fix

Oops I meant to do it to my own branch


Update screenshot to prevent confusion

https://docs.microsoft.com/en-us/azure/machine-learning/media/how-to-manage-workspace/delete-workspace.png
shortly- it's not in a preview. it would be nice to have consistent screenshot that will nor be source of confusion.

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

ID: 3e6d62cb-c3fc-40b9-ba2e-edab34bb319f
Version Independent ID: 8ff5349a-0f46-10e9-a9b0-d0e75bdffacc
Content: Create Azure Machine Learning workspaces in the portal - Azure Machine Learning
Content Source: articles/machine-learning/how-to-manage-workspace.md
Service: machine-learning
Sub-service: core
GitHub Login: @sdgilley
Microsoft Alias: sgilley

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Thanks for finding this, I'm replacing the image now.  Also clarified that this step occurs back in Azure portal, not in the studio.  Updates should be available later today.


worfklows: update CI rules

Depends on: #560
These changes fix minor issues repeating the tests run on an existing cluster in cephfs.
Then we update the CI rules to allow us to share (mirror-enabled) ceph container     instances. Use this to test both non-ptrguard and prtguard test runs     while dropping the (now redundant) non-mirror-enabled ceph + tests    container run.

@ansiwen PTAL when you have a moment.

@Mergifyio rebase

@phlogistonjohn could you correctly rebase? I still see the changes from #560 as well.

Ah, ok, I only see it in the the commits lists, but because of the merge commit it's not included in the diff. But I hope that will not be merged that way? For me it's easier to grasp what's going on, if we avoid merge-commits and just make clean rebases.

Sure, I can manually rebase it to make it cleaner.

So, you mean the merge commit was not done manually? I'm curious, what did you click, that the merge commit got created?

Sure, I can manually rebase it to make it cleaner.

So, you mean the merge commit was not done manually? I'm curious, what did you click, that the merge commit got created?

The button the github ui provides below the PR comments. I use it a lot for other projects so sometimes I don't pay enough attention to which project prefers what method and do whatever. :-)

Oh, and that creates merge commits? 😲


md-chips

Blocked on #117

@jelbourn Does that mean this component will still be released in the alpha version (before beta)?

Chips seem sort of general purpose. It's not clear to me why their implementation would be blocked by autocomplete? Seems like it could be the other way around.

@ollwenjones Still need to discuss with the team, but my goal is indeed to create a very basic version of the chips before we introduce the autocomplete functionality.

I'm not even sure understood what was meant by "Blocked on" - "Blocks" or "Blocked by" ? 😜

Any estimates? when this feature is going to roll-out?

@pankajparkar A basic version of the chips has already launched: https://material.angular.io/components/component/chips
We are continuing to add functionality.

In the angularjs version, chips didn't allow any duplicate strings. It would be nice to have a specific parameter to allow/disallow this kind of behaviour since it may be needed in some situations.

@Dunos If the chips are 100% string-based, then no, we can't have duplicates because then you can't find the proper indexOf() a chip since there could be multiple.
The Material 1 version did sort of support duplicates if you converted your chip to an object using md-transform-chip and gave each one a different ID.
However, as it stands right now, the Material 2 chips do not control anything about the actual chips that you provide. Since you provide the chips in an ngFor rather than an ngModel, you have total control.

@topherfangio in that case, you should be able to find a chip by its position in the array instead indexOf() imo

Do you have a timeline for when custom chip templates (like md-chip-template) will be available?  We currently use the angular 1 material chips and are in the process of upgrading to angular 2.

@ahillhouse You should be able to utilize the <md-basic-chip> to remove any special material styling and do whatever you like. You can see the docs at https://material.angular.io/components/component/chips.
What exactly are you trying to achieve?

Are there plans to add delete functionality to chips? A little 'x' icon on each chip for example that will remove it from the chip list.

There is an error in  mixin md-chips-theme, it is only getting 500 colors, even if I set another pallet
&.mat-primary {
background-color: mat-color($primary, 500);
color: mat-contrast($primary, 500);
}
&.mat-accent {
  background-color: mat-color($accent, 500);
  color: mat-contrast($accent, 500);
}

&.mat-warn {
  background-color: mat-color($warn, 500);
  color: mat-contrast($warn, 500);
}

@Irauan It should be getting the 500 colors from the appropriate palette. What are you getting instead and/or what are you expecting?

@topherfangio I'm defining the accent color as Cyan a400 and when I'm setting the accent color It returns Cyan 500

@Irauan Gotcha. I'll talk to the team and look at how to fix this. Thanks!

@topherfangio, if I'm not mistaken, you can just omit the 500 and mat-color will default to whatever the theme color is defined as.

@topherfangio I never got an answer to my previous question:
"Are there plans to add delete functionality to chips? A little 'x' icon on each chip for example that will remove it from the chip list."

@jshoudy11, if you try out #2476, the following example has been added to the demo app. It's unclear what the current status of the PR is, but it looks like the 'x' icons will be included.

@jshoudy11 Indeed; we are planning to add the md-chip-remove directive, just need to get the PR finished/approved.

Hey just came across this thread after writing a remove function for these chips... Hope this helps someone seeing as I just got beta-3 with no remove chip features.
 removeSkill(event){ // chip click event
        for(var i = 0, j = this.chips.length; i < j; i++ ){
            if( event.target.innerText.trim() == this.chips[i].name.trim()){
                this.chips.splice(i, 1);
            }
        }
    }

Specifically:
I'm wondering how others are adding the chips info to NgForm for submission?

Closing this, as chips have been around for a while and #4912 adds the last of the basic functionality. We can track further work in more specific issues.


【T2】 datadog 1.0.0b1

release request : https://github.com/Azure/sdk-release-request/issues/839

/azp run python - datadog - ci


Remove Neo4j from server/GLV testing to use TinkerTransactionGraph

Removed Neo4j configuration from all testing set-up. Locally server integration and GLV tests all pass.

Thank @xiazcy!
LGTM


Unsubscribe Code Missing for Android

An android user cannot unsubscribe from a publisher's video. The code portion is incomplete. I can propose a fix.
// src/android/OpenTokAndroidPlugin.java (Line 499)
...
} else if (action.equals("unsubscribe")) {

} else if (action.equals("subscribe")) {
...

fixed PR: #24


TS-2365: Fix crash in tls dynamic record size

(cherry picked from commit a48082a54b0c53957b1ebe52bc3a19cf9bb320f9)
Conflicts:
iocore/net/P_SSLNetVConnection.h

@dragon512 Is this crashing too ? Do we have some issue on 7.1.x branch ?? @bryancall

Probably need PR #5437.  I put in one change from there and the compiler error moved along.

[approve ci autest]


to convert n*n matrix into diagonal matrix

the program is to convert the given matrix into a diagonal matrix .
diagonal matrix : a n*n matrix whose all the non -diagonal elements are zero
the approch is to start one loop for all non diagonal elements  and another loop for diagonal elements and replace the value of non diagonals with zero and leave diagonals elements unchanged
#hacktoberfest2020
Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase
Issue no.(must) -
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder
[x] I am following clean code and Documentation.
[x] I have added the title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

i have changed the code to find the diagnal matrix

@Gouriiseth you have to mention the issue number in the PR Body.


A logo/icon for org-journal

I created a scalable logo for org-journal-mode that’s also suitable for use (once appropriately scaled and rendered) as a mode-line or file-type icon. …I wasn’t exactly sure where to put this, so I thought a pull-request would be best. It’s based on this public-domain clip-art, heavily modified by me both to work as an icon (square proportions) and to incorporate the Org Mode unicorn art, which is GPLv2+. (I even changed all the colors on the journal art to be harmonious with the unicorn design—it wasn’t easy!)
Feel free to use this wherever you want (documentation, website, this repository, etc., as SVG or rendered as a bitmap of appropriate size). I suppose the next step is to submit a small bitmap version to the mode-icons project, or all-the-icons or something, but I figured I’d start here, first.

Wow, this is awesome! Thank you so much! I love it!
I'll add it to the README immediately!


Gatherling test is so slow I had to remove it let build process work

Should fix not remove.

@jgabrielygalan found the source of this on Discord last night.

did I? Actually, after reading this comment, thinking about what I said yesterday, I came to the conclusion that since the current code is not able to recover a partially scraped tournament, we should short circuit and skip the tournament if it's found in the competition table. That would be a huge optimization since it won't try to scrape all decks. What do you think?


fixed sAddAccessoriesQuantity

1. Why is this change necessary?
When adding accessories to the cart, the value of the "sAddAccessoriesQuantity" parameter is not treated as an array, despite the note in Line 511 explicitly saying:
"* @param sAddAccessoriesQuantity = List of article quantities separated by ;"
So this is a function that is expected here, but is never executed because it is not implemented.
2. What does this change do, exactly?
The value of "sAddAccessoriesQuantity" gets exploded, just like the first parameter "sAddAccessories".
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
None - in fact, the documentation is incorrect until this change is done.
6. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

This PR was closed due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://developers.shopware.com/contributing/contribution-guideline/.


Deploy model, image and service inside pipeline

This issue is moved from MSDN forum. https://social.msdn.microsoft.com/Forums/en-US/af1c2b3a-4d0e-4af7-8902-f827b7207148/deploy-model-image-and-service-inside-pipeline?forum=AzureMachineLearningService
According to the pipeline documentation, it seems that it should be possible to deploy models, images and services inside the pipeline infrastructure. However, the guides and example notebooks doesn't (at the moment) touch this. I believe I would be able to replicate my current deployment setup I have in my notebooks, but I am worried about how to connect to the workspace in a secure manner. Is this possible, or do I have to use my old notebooks for this purpose?
I am trying to automate the entire process from data preparation, through training and all the way to deployment of the model and updating my service, all in one simple REST call. If I have to manually deploy and update my service, I miss a lot of the automation I am trying to achieve.

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

ID: c8fc8bdb-1ee0-b978-e42f-de875b8cb50f
Version Independent ID: dbad235e-f8d6-361b-d337-f9d2a3573059
Content: Build machine learning pipelines - Azure Machine Learning service
Content Source: articles/machine-learning/service/concept-ml-pipelines.md
Service: machine-learning
GitHub Login: @sanpil
Microsoft Alias: sanpil

@sanpil Hi, can you please take a look of this issue and update the document as necessary? Thanks a lot!

@salilbapat Has there been any progress to the issue or at least on the timeframe?

Hey, sorry about delay in reply. We have this item on our backlog currently but it is not been scheduled. Given other priorities, this will not be taken up in next couple of months atleast.

@salilbapat Ok, then I will have to make do without that feature until then, but I really hope you take it up as soon as possible. You will have at least one happy user if you do!
Thanks for your help!

#please-close

Any updates on this issue? IMO the issue being a clear stopper for any further and serious MLOps automation work shouldn't have been closed, but put on the backlog. I still haven't found any decent workaround for the issue. Any hints and comments are highly appreciated.
Thanks in advance.

Still running into the same issue when trying to deploy a registered model from within a pipeline step. However the error is not limited to Aks computes. It shows up when obtaining a compute target within the pipeline like so:
compute_target = ComputeTarget(ws, name=compute_target_name)
where
>>> compute_target.type
'ComputeInstance'

This is the error:
UserScriptException: UserScriptException:
	Message: Received bad response from Resource Provider:
Response Code: 401
Headers: {'Cache-Control': 'no-cache', 'Pragma': 'no-cache', 'Content-Type': 'application/json; charset=utf-8', 'Expires': '-1', 'WWW-Authenticate': 'Bearer authorization_uri="https://login.windows.net/78d2f605-610c-4d62-b4bc-e4eb2e3e4b0b", error="invalid_token", error_description="Could not find identity for access token."', 'x-ms-failure-cause': 'gateway', 'x-ms-request-id': 'e691b586-2642-4557-89d1-e6362391fcf7', 'x-ms-correlation-request-id': 'e691b586-2642-4557-89d1-e6362391fcf7', 'x-ms-routing-request-id': 'WESTEUROPE:20200622T135117Z:e691b586-2642-4557-89d1-e6362391fcf7', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'Date': 'Mon, 22 Jun 2020 13:51:17 GMT', 'Connection': 'close', 'Content-Length': '76'}
Content: b'{"error":{"code":"AuthenticationFailed","message":"Authentication failed."}}'

I am using the current azureml-sdk version : azureml-sdk==1.7.0.post1
Are there any workarounds for deploying a model straight from the AML pipeline?

@j-martens @hning86 , could you provide an update on this issue?
It's marked as closed, but people (including me) are still affected by it.


Helper Commands

It would be nice if you could have helper methods like drone.forward() rather than having to say stuff like drone.move(pitch=-0.5). After all, the main functionality of the drone is moving it around, so I think the library should make that as easy as possible. If you think its a good idea, I would be happy to help you out with adding that functionality

Since takeoff and land helper functions are implemented, it would be nice to have functions like forward available.
see also:
node-ar-drone https://github.com/felixge/node-ar-drone
stores speed in the client object and use it as the speed for helper functions like forward, up, down ....

Do you think storing speed in the drone object itself is a good idea?
Also, how many helpers should we implement?
Should backward() be a function itself or forward() with negative speed?

I would say forward(), backward(), clockwise(), and counterclockwise() would be a good place to start. That will cover most of the bases, and if we want to implement more later, we can.
As far as speed goes, I don't really know. What do you think?
I definitely think it is better to define both directions separately because that will simplify reasoning about direction of the drone. You don't think about the drone going negative forward, you think about it going backwards, right?
I can get started working on the features early next week, if that's alright with you

forward(), backward(), clockwise(), and counterclockwise() functions sound reasonable.
I did not implement them because I have to shift and rotate at the same time in my use case.
Feel free to file a pull request if you'd like to.
About the speed...

Required
def forward(self, speed):
    self.move(pitch=speed)

drone.forward(0.7) seems to have the same verbosity as drone.move(pitch=0.7), with the exception of being more readable.

Optional, with hard-coded default value
def forward(self, speed=1):
    self.move(pitch=speed)

Providing a reasonable default value is quite challenging.

Optional, with default value stored in ARDrone object
def forward(self, speed=None):
    self.move(pitch=speed if speed is not None else self.speed)

I'm wondering whether it is too much for the ARDrone to maintain another vairable which has nothing to do with the control flow.

Any ideas?

I like the idea of a hard coded default value (option two) because it gives the user freedom to not provide a speed but the flexibility to fine tune the speed if they want. I'll get started as soon as possible.

I like that one the best too.

@2016rshah Please give the pull request a review if you have time, thanks!

#7 merged, v0.5.0 uploaded to pypi.


Explore possibility to be database agnostic

While there are a few reasons for why I used an SQLite database as the storage behind Mintoken, it may be possible to let the user setup any PDO connection they want. That way any storage compatible with PDO will be compatible with Mintoken.
A few things to note:

This means the SQLs need to be as globally supported as possible. Is there some standard SQL dialect that should be aimed for?
Are there possible security mismatches between different databases?

As far as 2 goes, look into what the security experts from Paragon are doing in EasyDB.

My SQLs are probably simple enough to just use ANSI SQL. Maybe even SQL 92?
This could come in paired with following a style guide.

As of The Thoughtful Edition, all SQL should be SQL-92. And the style guide has been loosely applied.
Next up would be switching to a dynamic DSN setting, instead of the SQLite path.


modify image_plot

hello

Hey! sorry to let sit for so long. Can you provide a bit more detail about what you are trying to accomplish with this PR? Thanks!


left shift fail to parse

hi, when i parse "update user set num=1<<1 where id=1", it throw a exception
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "<" "< "" at line 1, column 25. Was expecting one of:     <EOF>      "FROM" ...     "WHERE" ...     "LIMIT" ...     "ORDER" ...     "RETURNING" ...     ";" ...     "," ...     "|" ...     "&" ...     "^" ...     "::" ... 	at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:17066) 	at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:16919) 	at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:91) 	at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54) 	... 27 more

when i want to add left shift, I'm confused. I find that  the precedence of ‘||’ is higher than '&' in jsqlParser.
for example expression "1&2||3" is parsed a bitwiseAnd expression. its left expression is 1, and right expression is a concat expression(2||3). but the precedence of '&' is higher than '||' in mysql document. the expression "1&2||3“ should be a concat expression, and its left expression is a bitwiseAnd expression(1&2).  @wumpz

@packageOk Agreed. At least the concatenation is not higher. But there are differences between the database vendors. Nevertheless it seems appropriate to switch it.


Error when executing ALTER TABLE the SET option

Error when executing ALTER TABLE the SET option
I tried using the example SET statements in ALTER TABLE options in the document: ALTER TABLE monitor SET 'ttl'='1d';
However the standalone mode server I used reported with the error message:
(InvalidSyntax): sql parser error: expect keyword ADD or DROP or MODIFY or RENAME after ALTER TABLE, found SET
It seems that this option is still not supported in this version of Greptime.
Is there any inconsistency between the document and the code? The version of Greptime I used is v0.9.5.

Thanks for your feedback. It’s in the Nightly release, you can try this feature in v0.10.0-nightly-20241104.

Hello, v0.10.2 has been released, you can use this option in v0.10.2.

This issue has been resolved, so I closed it. If you have any other questions, welcome to submit a new issue.