Set a default Context

Creating a second issue per request, as the first feature mentioned was completed.
The ability to set a default Context would be nice, by that I mean adding to the todo task that did not have a context defined the to a predefined “default” context.
Example: All task by default are added to work unless context is defined by user input. There is no context called default unless created by the user.
I can’t overstate how much I enjoy using this plugin.  Thank you again.

I think this can partially be implemented by allow the user to change the name used for the todo list with unassigned context. Currently the title "Default" is used for all todos without a context. I could make that configurable.
In the future, I can envision checkboxes in the new todo dialog to assign contexts/projects. Some of those could be configure to default to checked.


Plugin's format style is different then IntelliJ formatting that uses intellij-java-google-style.xml

What steps will reproduce the problem?
Steps to reproduce the behavior:

Reformat the source code using Intellij that configured with intellij-java-google-style.xml
Reformat the source code again with git-code-format plugin using the command "mvn git-code-format:format-code -Dgcf.globPattern=**/*" or with pre-commit hook.
Compare both.

What is the expected output?
Since they both follow Google code style, they should both produce the same style.
What happens instead?
Reformatted codes have different styles. For example;
IntelliJ style
`/**

Example Javadoc.
*/
public class EventHelper {

/**

Example Constructor.
*/
private EventHelper() {
}`

git-code-format style
`/** Example Javadoc. */
public class EventHelper {
/** Example Constructor. */
private EventHelper() {}`
Environment:

OS: MacOS 10.15.6
Git version: 2.23.0
git-code-format-maven-plugin version: 2.6
Maven version: 3.6.3

Additional context
I also tried Google Intellij plugin to reformat the code and got same results. This is puzzling for me because this plugin and Google IntelliJ plugin both use google-java-format.jar and produces different results. I also reproduced this issue with another popular maven Google code style formatting plugin.

Duplicate of #18


[pending] Add a MemoryLayout<T>.offset(of:) method for getting the offset of inline storage.

If a key path refers to inline storage of the root type, this produces the offset in bytes between a pointer to the root and a pointer to the projected storage. Otherwise, returns nil.
Proposal: https://github.com/apple/swift-evolution/pull/818

@swift-ci Please test

@swift-ci Please test

@natecook1000 Mind reviewing my doc comments here too?

Is it worth noting that non-@fixed_contents structs reserve the right to change properties from stored to computed? If you write code which depends on a non-optional offset for a particular keypath, it might not continue to work in later versions of the library.

That's an important point, @karwa . I noted that in the proposal, but it may bear mentioning in the doc comment as well.

@swift-ci please smoke test and merge

How does this look for that caveat?
  /// When using `offset(of:)` with a type imported from a library, don't assume
  /// that future versions of the library will have the same behavior. If a
  /// property is converted from a stored property to a computed property, the
  /// result of `offset(of:)` changes to `nil`. That kind of conversion is
  /// non-breaking in other contexts, but would trigger a runtime error if the
  /// result of `offset(of:)` is force-unwrapped.


 Please describe.
Unclear how much value is being added by apps launching on them, and its all highly subjective.
How is this problem misaligned with goals of app mining?
As a distribution channel and reviewer, this does not seem to accelerate the adoption of high quality apps that preserve individual’s fundamental digital rights because apps when they launch aren't already in the best shape. Can imagine the product hunt launch might delay apps participating.
What is the explicit recommendation you’re looking to propose?
Remove Product Hunt in favor of more objective app reviewers.
** Describe your long term considerations in proposing this change. Please include the ways you can predict this recommendation could go wrong and possible ways mitigate.**
Unclear there are any material downsides with removing this reviewer.
Additional context
Folks try to game product hunt and we have to take Product Hunt's word that the numbers they report have been cleaned. This may be true, but since we don't know their secret sauce its hard to verify.

See https://github.com/blockstack/app-mining/issues/106

I am currently participating in the App mining program and had to go through the Product Hunt process. Based on my experience, I support this proposal.
Product Hunt is a great website to discover apps that are ready for mainstream users. However, at the moment, Blockstack apps are not ready for mainstream users. Apps built with Blockstack have limited compatibility with devices and browsers. This means that the majority of Product Hunt users won't be able to try our apps. In this sense, there is no value added to the app developers or the Blockstack ecosystem.
On the other hand, the Product Hunt launch becomes a distraction for app developers. Instead of improving the apps or listening to users, they are forced to spend time getting upvotes from people that will never use their product.

Personally, I think the fact that it forces teams to think about what appeals to mainstream audiences is a huge benefit of Product Hunt as App Reviewer. I'm not sure about the compatibility issues mentioned, PH specifically tags the devices and Blockstack Apps work on all the most popular browsers, including Chrome which is 70% of the browser market. I think some forcing function to consider what people actually want and how to market it vs just building cool stuff is really important. In my opinion, other dapp ecosystems suffer from not having anything useful for normal folks or a mainstream market, whereas most apps in the Blockstack ecosystem are immediately applicable to the daily life of regular folks (document editors, blogging tools, password managers, etc.). If not PH, an App Reviewer that focuses on measuring customer validation/product market fit, is very important.

I think that Product Hunt is the least correlated, compared to other reviewers, of what a 'good app' is. In the beginning, it was good because it forced you to get some exposure and market your app to a more mainstream audience. Now that we have Awario, I think they do a better job at incentivizing marketing and exposure.
Product Hunt's upvotes are also the most awkward to improve. Getting a good launch is good, but we've seen that a good launch is really all that factors into your PH score. #106 slightly improves this issue, but it's still awkward. Some apps are now including their PH link in their app, but I worry that this will flag their 'non-credible' algorithm, because they're going directly to the app page and upvoting. As mentioned, we don't know their exact algorithm, so I can't be sure.

Didn't we already go through this? https://github.com/blockstack/app-mining/issues/73

I fully support their removal from app mining as a reviewer for the following reasons:

random 3rd parties can hunt your app prior to its actual launch date, eg they do 0 validation of if an app is intending/ready to launch, thus giving false presentation to would be voters.
No monthly reviews.
'credible vs non-credible' secret sauce formula.
Arbitrary numbers with minimum to non exist feedback.

i agree with @cryptocracy , axe ProductHunt! add a community vote!

I gotta say, I don't see how a community a. will actually work (we saw that it was a struggle to get token holders to vote already) or b. how we/they are more qualified to be ranking apps than Product Hunt's community. I actually think folks who look at PH regularly and make up their community are quite a bit more educated about what makes apps successful and where market demand is, than the Blockstack community currently is. I've noticed we all tend to be in a bit of a crypto echo-chamber (and rightfully so to some degree, not a criticism), but I don't find that overall we have more expertise or vision for this than PH's community. If I were personally building an app, validation from the PH community would mean a lot more to me as a founder/entrepreneur/developer than that of the Blockstack community at this juncture. This is to say, I think there are more qualified reviewers than ourselves, I don't really see the argument that because we're part of the community we should have some say about the quality of apps people are building - I would personally defer to actual experts and believe we could get them in here.

How can you prove somebody who upvoted your app even used it...let alone made a valient effort to review it?

I am saying the same thing about a community vote - and in aggregate, I would generally say that PH is a pretty damn good proxy even if every single person isn't diving headlong into the weeds.

The problem with App Reward mining is I just see a bunch of simple apps being created because Blockstack lacks a few pieces of middleware to make it easier to build full scale collaborative apps. Hank is doing a great job with Radiks but there is no monetary incentive for a community developer to help with those effort. Instead the community developer would rather whip up a simple app that appeals a certain demographic aimed at pleasing the App Reviewers to make a few satoshis.
P.S I love the stuff the Blockstack core devs are doing though!

I think that's probably a separate topic, but I generally think that if you reward good businesses (via App Mining) and they are growing/creating value, it eventually necessitates them building new features into Blockstack and seemingly are open to sharing that or are already open source. I do agree that direct platform development can be better incentivized but it's certainly not the purpose of App Mining.
In terms of PH, I'm definitely not here to say we should keep them, I am advocating for keeping that spirit of things in the rankings. @hstove I kind of agree that Awario starts to get at this to some degree, but I think a group of seasoned investors would be an even better replacement. They do due diligence regularly so they have the muscle for it and I would imagine have great insights for teams. A group like Y Combinator or something, I think, could do a great job ranking apps on some kind of market viability/future potential/investability score. It's really important to me that Blockstack apps don't devolve into only fun projects and cool proofs of concept and I think a big part of that is forcing ourselves to think about the market from day 1. Ultimately an app is not really sustainable if you can't build a business or community around it, both of which require a market fit of sorts.

yesss and yesss on seasoned investors!  y-combinator would be amazing!

I think if an app had to fill out a form similar to the Y Combinator application it would easily weed out the non-serious apps. Obviously it would have to be tweaked for Blockstacks vision of user privacy but I filled out the Y Combinator form and it asked questions like this:

Please enter the url of a 1 minute unlisted (not private) YouTube or Youku video introducing the founder(s).
How far along are you?
Why did you pick this idea to work on? Do you have domain expertise in this area? How do you know people need what you're making?
What's new about what you're making? What substitutes do people resort to because it doesn't exist yet (or they don't know about it)?
Who are your competitors, and who might become competitors? Who do you fear most?
What do you understand about your business that other companies in it just don't get?
How do or will you make money? How much could you make?
How will you get users? If your idea is the type that faces a chicken-and-egg problem in the sense that it won't be attractive to users till it has a lot of users (e.g. a marketplace, a dating site, an ad network), how will you overcome that?

The investor/YC idea is great. Unfortunately, it is utopian. What’s in it for them? How are you going to get them to review 60+ apps? What happens as that number grows. We already saw that STX holder (investors of a sort) looked at few apps and rarely voted.
To Nick’s point about simple apps, that’s what TMUI guarantees. The reviewers know nothing about the app coming in and may have no interest or exposure to the industry/category the app is in. So a simple, single use app will do better. (Note: That said, we find the reviews and comments very useful in refining our messaging which is the real value for us.)
I wonder if there will be an App Reviewer that will be good enough. I don’t think so. That’s why I like the Decay/Growth proposal. It makes PH a more useful and more fair metric. We should work on improving them. Otherwise, app miners will be spending time trying to figure out how app mining works every month as app reviewers are added and removed.

There actually is a lot in it for an investor. Investors sit in pitches all the time, I see it no different than reviewing 60+ apps. If an app is not worth an investors time, then it probably is not worth an App Mining award. If an investor see's an app that has potential he votes for it, thus bootstrapping the app in its early stages. Once the app hits a certain level of maturity the investor might actually put his own money into the app after it matures to a real product

That sounds really good but, again, it’s utopian. How many apps is any investor going to look at with hopes that they may grow to be big enough?
To get an investor to look at your company to consider an investment or watch it for the future, there are filters. Usually that is a warm intro but it could be a creative way you got to them that impressed them. Just being an app miner likely won’t meet that threshold for most investors.
So let’s say they start looking, they will be more likely to look at apps that have already received accolades from others. Remember, most investors follow on... few lead. That means the top apps will remain the top apps. And if the investors are known, the apps that can get a warm intro will be the ones who succeed.
My definition of a utopian system is one that sounds fantastic until you put people into it. So far, almost every app reviewer that has been used or proposed is not perfect because they are all utopian. People muck them up. That’s why I think we should see if we can find guard rails to improve them until someone comes up with a viable app reviewer that isn’t utopian.

I just saw a mention of PH in a chat where the user appreciated that blockstack apps are validated by popular platforms like PH.

So far, almost every app reviewer that has been used or proposed is not perfect
Therefore, we should try to increase the number of app reviewers, not reducing them. Please keep PH until there is a replacement for it.

I like the PH with the improved scoring.

I agree - I think PH has the best community (it's not perfect) for recognizing early products and providing feedback. The community is pretty much early adopters, willing to accept not perfect products, think engineers, designers, investors, etc people who care about the long term viability of a product.
If you post in more general channels - think Reddit, you get attacked for every edge-case, its not constructive, and many times you get trolled with feedback that is not necessary.
While PH is not a perfect partner, its the closest that I know of that will give feedback (ongoing) and distribution (users / testers).

Proposal: Let the new scoring marinade for a bit. If there is still a problem here we can always revisit and discuss removal. Good on this?
There are some other interesting ideas in the thread, can folks please start new tickets for those?

I was referencing #106 please comment on that.


Fix #58: Do not share netty framing handler among channels

Current coverage is 0.00% (diff: 100%)

Merging #59 into master will not change coverage

@@           master    #59   diff @@
====================================
  Files          74     74
  Lines        1011   1011
  Methods       949    949
  Messages        0      0
  Branches       62     62
====================================
  Hits            0      0
  Misses       1011   1011
  Partials        0      0

Powered by Codecov. Last update eefafc9...9aa9f93


Silent insulation failed with fatal error without further troubleshooting information

Ansible CDP installation on a full cluster ends up with the below attached fatal error and the actual reason is unknown

installation_log.txt

@yanivagasi Could you please provide the /var/log/cloudera-scm-server/cloudera-scm-server.log from your CM host?
If you could click on "Show All Steps" above and expand all and share the screenshot it would also help.
Your installation failed on the First Run stage and it was probably one of the services that failed to start. Could you provide the logs for that particular service as well?

cloudera-scm-server.log
I found that  401 ERROR  as part of the above log

Where I should place the credentials?

Hi @asdaraujo
Did you manage to go over the above outputs

@yanivagasi The log is missing the actual error associated to the "First Run". The issue occurred on May 19th and the log's first line is from May 21st. Do you still have the rolled-over log file on the same dir, with extension .log.1 (or 2, 3, etc...?

@asdaraujo , no I don't have the logs, because we revert but the machine on the 22/5 and did the exact same installation and encountered the exact same error that was on the 19/5. so the logs of the 22/5 shows the same issue.  Can you use them?

@asdarauj , Please find in the below, the cluster template. when you try to deploy it, you get the above mentioned error of "can't find zookeeper service"
cluster_template_CDP_PvC_Base_Single-node_Cluster_bck.zip
o

Hi @asdaraujo , any news?

Hi, @yanivagasi ,
I haven't been able to reproduce the issue yet. Would you be able to launch the cluster again using your definition?
Once it fails, please collect the following logs and forward them to me so that I can take a look:

Cloudera Manager log
/var/log/zookeeper/*
/var/log/hive/*
/var/log/hadoop*/*
/var/log/hive*/*
/var/log/hbase*/*
/var/log/spark*/*
Any other service logs that I may have missed.

THanks!
André

Please find in the attached the Zookeeper &  Cloudera Manager log. All of the rest logs that you have requested didn't find as the silent installation didn't reach into the point of installing those services
cloudera-scm-server.tar.gz
zookeeper.tar.gz

Thanks, @yanivagasi .
The zookeeper.tar.gz tarball is actually empty. There are no logs in there.

@yanivagasi , when you run the playbook it generates a cluster template in the /tmp directory with a name like cluster_template_*.json. Could you please upload that template file here?
Thanks,
André

@yanivagasi , never mind my last request. I saw that you had already done that.

@yanivagasi ,
I think I found the problem. You definition seems to have some configuration issues. One parameter has an invalid value and there are a few parameters that must be set for a HA cluster and are missing from your definition.
You can actually see the issues in Cloudera Manager. Once the installation fails, if you go to the cluster page you'll see a red wrench showing the invalid configurations for HDFS.
Here are the fixes:

The JOURNALNODE's parameter dfs_journalnode_edits_dir is set to /datajn01/dfs/jn,/datajn02/dfs/jn, but this property only accepts a single directory. You should change it to /datajn01/dfs/jn
For a HA cluster you must set the following parameters for the HDFS NAMENODE. They are missing from your definition:

autofailover_enabled: true
dfs_federation_namenode_nameservice: nameservice1
dfs_namenode_quorum_journal_name: nameservice1

With these fixes to your configuration I was able to successfully launch a cluster.
Cheers,
André

Thanks @asdaraujo, the above missing configurations were helped to solve the issue.

Great. Thanks for the update.
I'm closing this issue.

Hi @asdaraujo
We are trying to update the attached Hive & HBase configurations through the definition.yml file and it fails with an error of  Cluster template import failed.

As you can see currently we are using "SERVICEWIDE" role and it seems to be wrong, what role we should use in both cases?


Compatability Matrix

Describe the feature request
When upgrading a self-hosted unleash server the main message provided in the migration guide states:

Generally, the intention is that unleash-server should always provide support for clients one major version lower than the current one

The latest java SDK version (v8.3.1) is way higher than the latest server version ( v5.4.2).
It would be great to have a compatibility matrix about versions to use for java (or for all supported sdks)?

Hi @plukanek - Thank you for raising this issue! I'll reach out to the rest of the team and we'll get back to you.

Hi @plukanek,
Thank you for bringing up the topic of a compatibility matrix. I've discussed this idea with the rest of the team. As of now, we do not have plans to provide a compatibility matrix.

The latest Java SDK version (v8.3.1) is way higher than the latest server version (v5.4.2).

It's important to note that our SDK versions are not tied to specific Unleash versions. Therefore, the SDK version v8.3.1 should not be directly compared to Unleash version v5.4.2. Our current approach is to support at least one major version lower than the latest SDK release. For instance, with the latest version being v8.3.1, we aim to provide support for versions v7 and above.
In terms of keeping things compatible, our general philosophy is to stay as up-to-date as possible. Ideally, you should be using the latest version of both the SDK and the server. If that's not feasible, you can typically lag behind by one major version (e.g., v7) without facing significant issues. However, lagging behind by two major versions (e.g., v6) is generally not recommended.
Feel free to reach out if you have any more questions or require further clarification. 🙂


Can I attached credential info (key.json) to the index.js??

The concept is... I want my bot working in a single index.js (with credential info from key.json), because I don't want it to be run on Docker.
Sorry for a little bit of grammar.

You can run it without Docker using node index.js, you just have to set the appropriate environment variables (see the README).


RFC: Parameters for MuTect2 tumor-only mode

According to https://gatkforums.broadinstitute.org/gatk/discussion/10157/gatk4-beta-no-filter-passing-variants-in-mutect2-tumor-only-runs-using-default-parameters and in particular https://gatkforums.broadinstitute.org/gatk/discussion/comment/46725/#Comment_46725 some parameters can be tuned when using MuTect 2 in tumor-only mode, because it's fairly more stringent.
This is IMO important for samples where you don't have a matched normal, for example due to historical samples, or because your normal sample was of too poor quality to be sequenced (I've had both happen to me recently). The net effect with the current situation is that you have all your variants removed by filters (either from the GATK or by prioritization).
Can arbitrary parameters be passed to MuTect2? IIRC, it was not possible last time I looked at it. Perhaps people that use MuTect 2 in tumor-only mode should chime in with their experience when using bcbio.

In my preliminary testing (currently going through a confirmation re-analysis) the default parameters set by bcbio are too stringent and end up discarding most (if not all) variants. I'll go through the thread again after this run is done and see how I can tweak things.

Luca -- thanks fo this, I'd be keen to get your experience and happy to tweak this. I'd also like to do an investigation into this from my side once we get the additional test sets in place. Thanks for helping.

Luca;
While digging into #2464 I explored the current state of tumor-only calling in MuTect2 and it appears as if the current suggestion is to not tweak parameters and let MuTect2 determine outputs: https://github.com/broadinstitute/gatk/issues/4745 I'll work on validation of this with some tumor only truth sets but would be curious about your experiences with more recent versions of MuTect2.

My last run in tumor-only mode is kind of old, so I'm not sure how the updated version fares. In my experience on exome-level datasets the tumor-only callsets are definitely more noisy: the prioritization by bcbio definitely helps (I also prepared a panel of normals according to the MuTect 2 docs) but there is still some noise left. In fact I did a quick bootstrapped t-test between the tumor only and the matched groups I had in the same set and the mean number of variants was definitely higher in the tumor only groups (bootstrapped p < 0.01).
Same for a quick evaluation of SNVs/Mbp: compared to the mean of the other sample population, it's definitely higher (I've taken steps to ensure it wasn't due to the samples being outliers).Most of the added variation is noise, as far as I can see (I didn't do anything comprehensive, but this included SNPs with low frequency in the population, so the prioritization filter missed them).
On this topic, VarDict in tumor only mode is even more noisy than MuTect 2, up to the point that I've had to exclude it from that specific analysis.

Luca;
Thanks for this, I'd definitely appreciate any feedback on tumor-only testing. Most callers error on the side of sensitivity for tumor-only calling with the idea that you'll subsequently filter down by some criteria but happy to help reduce that by filtering and prioritization. We've been working on tumor-only validations and the current sensitivity/specificities for different callers are here:
https://github.com/bcbio/bcbio_validations/tree/master/somatic-lowfreq
I'll work to include MuTect2 in here as well, I've been behind and didn't realize it was now tuned for tumor-only calling as well. Thanks again for this discussion and testing.

Hey all, closing this as Brad included a comparison with Mutect2 in the somatic low frequency example by doing what the Broad folks suggested, leaving the parameters at the defaults. Please re-open if there is something we could be doing that is better. Thank you everyone for the awesome discussion, it is so helpful.


Add content to COVID-19 for DE, IT, RU

For some reason, the translated versions of COVID-19 are empty for DE, IT and RU. This does partial sync of the content (and fixes image links). This retains legacy styling but it's probably better this way than if there is no content at all. Also, pending-sci-notices are added to this content because it has not been reviewed yet.

Let's hold off on submitting this. I have noticed that most of the COVID-19 content is embedded in the main page so the issue may not be as critical as originally assumed.

It is still confusing and weird though. I wonder if we could add COVID-19 and modify the index page. This should still leave Dos/donts in the old form.


Revive and Expand Consumer Pipeline check

This Pr is aimed to fix the common consumer pipeline, which runs UTs for MSAL, ADAL, Broker to validate that common changes are not breaking anything in those libraries. Also expand the pipeline to include linux broker in this validation.
Successful run https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1138440&view=results

The next step will be to convert all assemble and test steps into a template. I feel this is repeated in a lot of files.

I think the next step will be to convert all assemble and test steps into a template. I feel this is repeated in a lot of files.

Yes, this may take some time as we need to make sure all pipeline still work as we refactor our pipeline scripts.


Planning module not buildable for aarch64

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 18.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
We are trying to build planning module for aarch64 however error occurred due to libtorch.
Is there any plan to support building planning module for aarch64 or is is already supportable?

Supporting materials (screenshots, command lines, code/script snippets):

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 18.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
We are trying to build planning module for aarch64 however error occurred due to libtorch.
Is there any plan to support building planning module for aarch64 or is is already supportable?

Supporting materials (screenshots, command lines, code/script snippets):

Currently, Apollo Development Docker is not ready for AArch64 yet.
However, the team is working on this issue now. Once we are ready, we should let everyone updated.

BTW, can you please tell your platform about to run Apollo AArch64 ? Is it a Jetson TX2/Xavier, or something else ?

Hi,
No, we don’t use Jetson TX2/Xavier.
We use a different platform and don’t have GPU.
Br,
Yunsoo
From: Liu Jiaming<EMAIL_ADDRESS>Sent: Thursday, October 8, 2020 12:37 PM
To: ApolloAuto/apollo<EMAIL_ADDRESS>Cc: younggam94<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ApolloAuto/apollo] Planning module not buildable for aarch64 (#12728)
BTW, can you please tell your platform about to run Apollo AArch64 ? Is it a Jetson TX2/Xavier, or something else ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/12728#issuecomment-705309677 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3LNL2V5PJXB6F4VV3CVMTSJUXWBANCNFSM4SFJ3TKA .  https://github.com/notifications/beacon/AP3LNL64MZQNNWMOEMGHY33SJUXWBA5CNFSM4SFJ3TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFIFCX3I.gif

It's ok to build planning module under aarch64 platform with or without gpu. Post your build error.

Building planning on Xavier should be OK  in master HEAD. And this issue is going to be closed. Please feel free to create new issue  if you have other questions.
Thanks for supporting Apollo.


Package and submit to pypi.

Have to package it as pip installation package. Both as CLI app and python library.

Submitted to pypi: https://pypi.org/project/azureips/


Dapr sidecar configuration

Is it possible to configure the dapr sidecar?
For example to configure tracing. In my local development environment (with docker compose) I have a configuration file like this:
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: dapr-config
  namespace: default
spec:
  tracing:
    enabled: true
    samplingRate: "1"
    expandParams: true
    includeBody: true
    zipkin:
      endpointAddress: http://zipkin:9411/api/v2/spans

In my specific case I try to collect traces and push them to Azure Application Insights. This link shows how it is done with kubernetes.
Is this possible with Azure Container Apps?

Automatic instrumentation to Application Insights is built into Container App Environment. All you have to do is set the instrumentation key on the environment on the daprAIInstrumentationKey parameter.

@hinter-man we do not currently expose the ability to use configuration CRDs but are working to map what we will expose and support moving forward. We are going to add documentation to help clarify what is supported today @greenie-msft for visibility

Automatic instrumentation to Application Insights is built into Container App Environment. All you have to do is set the instrumentation key on the environment on the daprAIInstrumentationKey parameter.

Hi @denniszielke, how can I set it up via CLI?
I tried with the parameter  --instrumentation-key in az containerapp env create: I see data reaching the Application Insights, interactions between applications and Dapr endpoints does surface on the Application Map, nevertheless in a way that does not match the Dapr-aware interactions.

If the AI instrumentation has been set up then the data should flow correctly? However I would suggest to wait until the new cli extension is available.

https://github.com/microsoft/azure-container-apps/issues/34 we have documented this is unsupported at this time and if you have a feature request to add please feel free! Thanks

Any idea on an ETA for support of the configuration spec? I would like to apply access control list configuration for service invocation.... however that is currently not possible


Glue job is failing with  - botocore 1.24.25 is installed but botocore<1.25.0,>=1.24.26 is required by {'boto3'}

Describe the bug
During installation of awswrangler when glue job starts. I'm getting error - "Command failed with exit code 1". When I looked into error log it says  - "botocore 1.24.25 is installed but botocore<1.25.0,>=1.24.26 is required by {'boto3'} ".
How to Reproduce
Try Running glue job with
Python lib path - awswrangler-1.7.0-py3.6.egg
Expected behavior
No response
Your project
No response
Screenshots

OS
Linux86_64
Python version
3.6
AWS DataWrangler version
1.7.0
Additional context
No response

Hi @rsingh-821, version 1.7 of aws-data-wrangler is quite an old one. It had a dependency on an older version of botocore (1.24<) but underlying Glue image now requires a later version. So I would recommend using a newer of the library (version 2+)


Leetcode solution 11 to 16 added

Related Issue
Closes #325
Description
i have added solution fo 6 leetcode problem
each of them contain at least thses sections

problem statement
problem description
example
code in all of 3 languages
time and space complexity analysis
conclusion

Type of PR

[x] Feature enhancement
[x] Documentation update

Screenshots / Videos (if applicable)

Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional Context
i know these are not as i said in issue but at  that moment
i did not thought this will take much time
so i have added work which was possible atm
you can label PR whatever this many contribution deserve
Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:

Code Harbor Hub Community Features
Docusaurus Documentation
React.js Documentation
Markdown Guide
MDX Documentation
Mermaid Documentation

Resources for DSA Features on Our Site:

Tabs: Switch Languages
Line Numbering
Math Equations

@Ajay-Dhangar please review this PR

Most importantly, you should focus on one problem at a time rather than covering multiple issues simultaneously. This way, I can assign you Level 3 tasks for individual DSA problem-solving documentation. By doing so, you can concentrate on the quality of the content rather than the quantity or the number of solutions.

@Ajay-Dhangar i have changed as you said
and yes  now further i will work only on one issue at a time
generally i raise new issue after making PR of previous one but then i saw people raising multiple issues
anyway thanks for giving feedback


Fix is2_5 comment

Only for 3.0.x branch, since 3.1.x targets Spring Boot 2.6+.
/**
 * Restrictions that can be applied when binding values.
 *
 * @since 2.5.0
 */
public enum BindRestriction {

Not sure why this is necessary

It's wrong, though

Why is it wrong?

The class was not exist as of Spring Boot 2.4.
https://github.com/spring-projects/spring-boot/commit/c268f5d41803c0fe1ee7c632451d760e3886b3dd#diff-4c8b6910e3d86e48e60545979ccff0f3c5b3d10c09aaad7404773dcaefe58763R299


Field prevents parameter from being optional

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
 pydantic version: 1.4
            pydantic compiled: False
                 install path: /Users/philippk/anaconda3/envs/py37/lib/python3.7/site-packages/pydantic
               python version: 3.7.3 | packaged by conda-forge | (default, Dec  6 2019, 08:36:57)  [Clang 9.0.0 (tags/RELEASE_900/final)]
                     platform: Darwin-19.3.0-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

I need an optional field with some regex matching - so it should match regex, if it exist. However, when I add Field(regex=r'myregex') Pydantic starts to assume this field is required.
from pydantic import BaseModel, Field
from typing import Optional

class Features(BaseModel):
    listing_id: Optional[int]
    prop_id: Optional[str] = Field(
        ..., regex=r"\d+-.+",
    )

el = Features(listing_id=1)
---------------------------------------------------------------------------
ValidationError                           Traceback (most recent call last)
<ipython-input-5-9c5a5adbdf08> in <module>
----> 1 el = Features(listing_id=1)

~/anaconda3/envs/py37/lib/python3.7/site-packages/pydantic/main.py in __init__(__pydantic_self__, **data)
    281         values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
    282         if validation_error:
--> 283             raise validation_error
    284         object.__setattr__(__pydantic_self__, '__dict__', values)
    285         object.__setattr__(__pydantic_self__, '__fields_set__', fields_set)

ValidationError: 1 validation error for Features
prop_id
  field required (type=value_error.missing)
...

Realized I didn't understood what ... mean. Replaced with default=None and it all worked fine.

@Casyfill Where did you look to get a better understanding of what ... means? Trying to better understand it myself :)

Don't mind... Just found it in the source code for Field immediately after I asked.
... denotes the field is required.


Can't Be Paused?

My understanding of node streams is that calling pause() should stop emitting events, though that doesn't seem to be the case with map-stream. Eg.:
var map = mapStream(function(f, cb) {
  cb( null, f );
});

map.on('data', function (x) {
  console.log(x);
});

// Pause the stream, should stop emitting data.
map.pause();
map.write(2);
// emits 2, but shouldn't it be paused?

I imagine in the vast majority of uses of map-stream that this would not be an issue. However, I am writing a library that interacts with Gulp plugins (which very often make use of map-stream) through the Highland stream library, which assumes the pausing functionality works as described above. See caolan/highland#243 for more info on that use case.
 Assuming I'm right, I'd be happy to take a stab at a pr; I'm not a stream expert, but I have a bit of experience with js so with a small hint in the right direction I'm confident I could implement it.

back in the days this was written, supporting pause was considered an optional extra. I'd take a PR, though, yes.
Hmm, maybe adding a check for pause state here would do it?
https://github.com/dominictarr/map-stream/blob/master/index.js#L40
If you rewrote this interms of through or through2 it would be much easier, since most of the logic is there already.
Implementing/fixing a stream is probably the best way to acquire experience, so go ahead!


[WIP] models and migrations

Current coverage is 73.78% (diff: 56.62%)

No coverage report found for mq-prototype at f93249f.

Powered by Codecov. Last update f93249f...8983762


Add non deployable pipeline jobs and support for Github Enterprise

Add support for the 'git' branch source plugin in our govuk_ci::job
template, so projects using Github Enterprise can be managed in the
same way. It requires credentials to connect with Github Enterprise
matching the ID supplied in the template.
Add Jenkins Pipeline jobs that are not part of the list of
deployable applications, but still can be managed as a standard
pipeline job

Looks fine to me but i'll let someone with context give the final +1.


[BUG] GraphQL API Error

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):win11
Python version (python --version):3.7.16
FiftyOne version (fiftyone --version):0.22.0
FiftyOne installed from (pip or source):pip install fiftyone

Describe the problem
When I use the following code,there is no Error message in the console interface, but the fiftyone webboard interface is blank and does not display anything, and the desktop displays GraphQL API Error
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart")
session = fo.launch_app(dataset,desktop=True)
#session = fo.launch_app(dataset)
session.wait()

Other info/logs
File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\graphql\execution\execute.py", line 1036, in await_result
    return build_response(await result, errors)  # type: ignore
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\graphql\execution\execute.py", line 451, in get_results
    await gather(*(results[field] for field in awaitable_fields)),
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\graphql\execution\execute.py", line 535, in await_result
    self.handle_field_error(error, return_type)
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\graphql\execution\execute.py", line 569, in handle_field_error
    raise error
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\graphql\execution\execute.py", line 528, in await_result
    return_type, field_nodes, info, path, await result
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\strawberry\schema\schema_converter.py", line 513, in _async_resolver
    return await await_maybe(_get_result(_source, strawberry_info, **kwargs))
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\strawberry\schema\schema_converter.py", line 496, in _get_result
    source=_source, info=info, kwargs=kwargs
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\strawberry\schema\schema_converter.py", line 436, in _get_arguments
    config=self.config,
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\strawberry\arguments.py", line 215, in convert_arguments
    scalar_registry=scalar_registry,
  File "D:\Users\jack\anaconda3\envs\fo\lib\site-packages\strawberry\arguments.py", line 182, in convert_argument
    return type_(**kwargs)

GraphQL API Error
    at GHr (file:///C:/Users/jack/AppData/Local/Temp/2Thv6hlJ1oezPDttjjcV30mSHOV/resources/app.asar/dist/assets/index.b4e35685.js:1146:158972)

What areas of FiftyOne does this bug affect?

[ ] App: FiftyOne application issue
[ ] Core: Core Python library issue
[ ] Server: FiftyOne server issue

Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?

[ ] Yes. I can contribute a fix for this bug independently
[ ] Yes. I would be willing to contribute a fix for this bug with guidance from the FiftyOne community
[x] No. I cannot contribute a bug fix at this time

Hi @pigOnTuyere. Clearing your browser cache and using the latest fiftyone-desktop will likely solve your issues

Resolved by #3683


Adds version numbers to Income section snippets - #752

Whoops lol I guess I double-approve it

It's just that good 😎


print function not work

Hi, I use Android Studio to write the following code in the Flutter application：
class Hello extends StatefulWidget {
  @override
  _HelloState createState() => _HelloState();
}

class _HelloState extends State<Hello> {
  @override
  void initState() {
    super.initState();
    print('Init state'); // I don't know why, there's no output in this line.
  }
  @override
  Widget build(BuildContext context) {
       return Text('hello');
 }
}

Console does not output "Init state".
Console output:
Launching lib/main.dart on Android SDK built for x86 64 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...

It seems like working!
You might need to do hot reload
import 'package:flutter/material.dart';

void main() => runApp(Hello());

class Hello extends StatefulWidget {
  @override
  _HelloState createState() => _HelloState();
}

class _HelloState extends State<Hello> {
  @override
  void initState() {
    super.initState();
    print('Init state');
  }
  @override
  Widget build(BuildContext context) {
       return Text('hello', textDirection: TextDirection.ltr,);
 }
}

@pixcai
Paste the full log when running flutter run --verbose and paste it here please.
Besides, flutter doctor -v result is always expected.

flutter run --verbose:

flutter doctor -v:
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.12.1 16B2657,
locale zh-Hans-CN)
• Flutter version 1.5.4-hotfix.2 at /Users/pixcai/Applications/flutter
• Framework revision 7a4c33425d (8 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/pixcai/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.2.1, Build version 8C1002
✗ Flutter requires a minimum Xcode version of 9.0.0.
Download the latest version or update via the Mac App Store.
• ios-deploy 1.9.4
• CocoaPods version 1.7.1
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 36.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1343-b01)
[✓] VS Code (version 1.26.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.21.1
[✓] Connected device (1 available)
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 10
(API 28) (emulator)
! Doctor found issues in 1 category.

Code:
import 'package:flutter/material.dart';

void main() {
  print('Start App...');
  runApp(MyApp());
  print('Exit App...');
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    print('Increment...');
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.display1,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

The console has no output.

@pixcai I tried but couldn't reproduce, see both Start and Exit app. Do you experience it with current flutter stable?

For future reference to those who might experience the issue  with print statement:

The print statement is done correctly.
But is not observable from the console section.
So check the statements on the logcat section.


protractor.ExpectedConditions is undefined with 4.0.14

Hi there!

Node Version: 7.4.0
Protractor Version: 4.0.14
Browser(s): Firefox 45.6.0
Operating System and Version CentOS7 Linux localhost.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Your protractor configuration file:

exports.config = {
    framework: 'mocha',
    seleniumAddress: 'http://localhost:4444/wd/hub',
    specs: ['../../../*/tests/protractor/**/*.js'],
    baseUrl: 'http://localhost:3001',
    getPageTimeout: 10000,
    allScriptsTimeout: 10000,
    mochaOpts: {
        timeout: 30000, // ms,
        reporter: 'spec',
        slow: '2000', // a test is slow if it takes over 1 sec to accomplish
        delay: true
    }
}

A relevant example test:
Simply run this:

var protractor = require('protractor'),
	EC = protractor.ExpectedConditions;
console.log('Protractor ExpectedConditions is: "%s"', EC);

Output from running the test
Protractor ExpectedConditions is: undefined

Steps to reproduce the bug
Simply run this test.

I will try downgrading and keep you in touch with the result.

Closing this issue because ExpectedConditions is available on the index and works with the command line interface. It is done here: https://github.com/angular/protractor/blob/master/lib/index.ts#L40. It also gets created in the ProtractorBrowser constructor and is no longer static (https://github.com/angular/protractor/blob/master/lib/browser.ts#L385).
This was not a breaking change since CLI users would not have this issue.
How in the context ofrequire('protractor'), if the browser has not been created, then the ExpectedConditions would also not be created.

Thx for your answer which give me the origin of my mistake: you can't anymore initialize a ExpectedConditions object in vars declaration but you have to get the ExpectedConditions just before you need it.
So this don't work anymore:
var protractor = require('protractor'),
	EC = protractor.ExpectedConditions;

	describe(...
		it ( ..., function(){
			browser.wait(EC.visibilityOf($element));

and you must fix that with something like:
var protractor = require('protractor');

	describe(...
		it ( ..., function(){
			var EC = protractor.ExpectedConditions
			browser.wait(EC.visibilityOf($element));

This was not a breaking change since CLI users would not have this issue.
Changing a static object to non static is a breaking change... The fact is a that preceding code don't work anymore after the change. But it's not important here.

Yup if your browser session is changing after every it, then you would produce a webdriver stack trace that the session is closed. If you wanted to used EC before the browser was created, you would do something like this (not recommended):
var protractor = require('protractor');
var ProtractorExpectedConditions = protractor.ExpectedConditions;
var EC = new ProtractorExpectedConditions(null);

Before you use EC, it needs to know about the browser instance:
EC.browser = browser;

Previously we defaulted to just the global browser object. The reason for the change is that you cannot fork the browser and use EC at the same time. If you did (previously) it would only make checks against the first browser session.
So the new way would let you do something like:
var browser2 = browser.forkNewDriverInstance();
var EC2 = browser2.ExpectedConditions;
browser2.wait(EC2.elementToBeClickable( some element ), 5000);

See https://github.com/angular/protractor/blob/master/spec/basic/expected_conditions_spec.js#L179.


RFE: Ability to use more variables within the ontap-nas.json file

Only a few variables are recognized within the .json file.
It would be nice to have the ability to specify some or all of the variables within
https://github.com/NetApp/netappdvp/blob/master/storage_drivers/ontap_nas.go#L158-L164
For example, we use namespaces, and we would have to manually specify the unixPermissions="---rwxrwxrwx" each time a volume is created.
as discussed in slack

Understood. This is on the roadmap.

Internally tracked by US2201

Fixed in 17.04.0


add cors option to .arc-config under a new section @http

Allow for per route opt in to CORS.
Desired workflow:

add .arc-config to the lambda route handler you want to configure
run npx config apply
if cors is in there add the desired config (if it is not there ensure cors is not enabled on that route)

@http
cors *

Or
@http
cors foo.com bar.baz.com

Also config always adds an options route w just a mock payload responding 200. (I think should work?)

cc @reconbot

was able to add this support with the new @http section which I'll get to documenting soon but here's a sneak
#.arc file
@app
myapp

@http
get /

run npx create and edit the following file
// src/http/get-index/index.js
exports.handler = async function http(request) {
  return {
    cors: true,
    body: JSON.stringify({some:1, hello:'world'})
  }
}


Document how to work with aiogevent

It's not clear how pulsar can collaborate with gevent.
Simply hooking the event loop and monkey patching might work and might not.
We need to test how it works with pulsar and if the green middleware is required and document it.

Pulsar will never support gevent in its code base.
Monkey patching the standard library is not in the philosophy of pulsar.
That should not stop you doing that if it fits your needs.
On the other hand, If you want to use pulsar in an implicit asynchronous mode you can use pulsar.apps.greenio module.
The greenio module can be used to create implicit HttpClients for example or, as pulsar-odm illustrates, implicit asynchronous sqlalchemy dialect for PostgreSql.
A better place for discussing pulsar usage is the mailing list rather than the issue tracker.


ClientRequest: call write callbacks upon invocation

See https://github.com/follow-redirects/follow-redirects/issues/195. Worth exploring moving the write callback after the write function call instead of calling all callbacks in the end.

We can't do that: the write callback should accept an error argument that indicated whether writing that particular body chunk had errors. If we optimistically invoke callbacks in the augmented write, we can't possibly know if there are any writing errors in case of the passthrough request (where the body will, in fact, be written to the actual socket connection). It, again, comes down to knowing whether an intercepted request should be mocked, which is possible only at the end method level.


Using OnePlus Slate Font displays Ä,Ö and Ü incorrectly

OnePlus's OxygenOS lets users decide which font they want to use at device setup. They offer Roboto (AOSP's default one) and OnePlus Slate (OnePlus's default one). Having OnePlus Slate enabled when using CWA shifts the dots of ä,ö and ü clockwise in some cases.
For instance "Häufige Fragen" at the main screen is displayed correctly. It seems to me like only exactly the font and font size which is being used underneath in the app it is affected.
Picture - highlighted three examples: https://postimg.cc/WhmFJgTM
CWA 1.0.0
OnePlus 7 Pro
OxygenOS 10.0.6.GM21BA
OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:10/QKQ1.190716.003/2005132200:user/release-keys

Internal Tracking ID: EXPOSUREAPP-1964

Cam confirm for my OnePlus 7 Pro running OxygenOS Beta 15

The umlauts that are displayed incorrectly are vowels + diaresis:
e.g. ü (ü) is displayed incorrectly
but a regular ü is displayed correctly.
Easiest way of fixing this is simply replacing them with the correct version.

Maybe propose that to #332 which is for changing text

Maybe I can give some additional information, as this problem hit me in several past projects: it seems to happen when the developer copies text from a PDF (offered by the customer) into a code editor. So this problem may return whenever legal texts get copied in the future.

Hi @MagnificentMagician, and community, could you please check and give us some feedback, if this issue still persists with CWA version 1.9.1. Many thanks. Best, DS

Corona-Warn-App Open Source Team

Does not happen on a colleague's OnePlus 6T with OnePlus Slate enabled:
CWA Version: 1.9.1, ENF Version:<PHONE_NUMBER>0
Modell: ONEPLUS A6013
Android-Version: 10
OxygenOS-Version: 10.3.7
Build: ONEPLUS A6013_41_201116
Kernel-Version: 4.9.179-perf+
#1 Mon Nov 16 20:02:42 CST 2020

@Myer, many thanks for the feedback. We will close this issue. Re-open if necessary, please. Best wishes, DS

Corona-Warn-App Open Source Team


Suggestions

files changed were:
app/templates/main/index.html
app/suggestion/forms.py
app/suggestion/views.py

LGTM! Good job!

@armant is there a reason this isn't merged?

Yeah, @dzhang55 forgot to do it :D Go ahead and merge.


Quotes should be omitted when reading/writing csv records

Description:
Currently when reading composite CSV records i.e "foo,1986","CC24" the composite fields return "foo,1986" with the quotes included.
Ideally this should be transparent to the caller. The same applies when writing records where if a composite field is provided the quotes should be placed internally
Steps to reproduce:

Read composite CSV record
Notice the records being enclosed with quotes

Affected Versions:
0.970.0-beta6
OS, DB, other environment details and versions:
OSX

This issue fixed now.


Mediapipe library for pose detection

Topic Suggestion
Mediapipe library for pose detection
Proposed article introduction
MediaPipe is an open-source framework developed by Google for the purpose of media processing. It is cross-platform, or we could say it is platform-friendly, depending on your perspective. It runs on Android, iOS, the web, and YouTube servers, which is what cross-platform means: it can run on any device, on any platform.
In its most basic form, MediaPipe is a framework for Computer Vision and Deep Learning that allows you to create perception pipelines for your data. For the time being, all you need to know is that perception pipelines are any type of audio, video, or time-series data that captures the process while it is in the pipelining zone.
In this article, we will demonstrate how to perform pose detection using Mediapipe and OpenCV software. We will go into greater detail about all of the processes and code for the same later in the article, but first, let's take a look at some real-world examples of how pose detection is used.
Key takeaways

Introduction to Mediapipe library
Importing the necessary libraries
Initializing the pose detection model
Implementing the pose detection
Application areas of pose detection

Article quality
The article will be a complete guide on how to import libraries used in MediaPipe which are used to detect pose and after that we also show how to use the library to detect a pose.
References
N/A

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic, it has to serve value to the larger developer community at large.
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.

We would love to learn your thought process behind the solution you arrived at using these concepts and topics.

That way a developer could see them in action.
As mentioned above - we believe this topic is widely covered on other blog sites.
The best way for students to build a great portfolio is by building what does not exist and what can provide the most value.


Consecutive queries on a transaction causes StartTs mismatch

When using a Txn to perform two queries in a row, dgraph errors out with a message stating StartTs mismatch.
You should be able to get that behavior if you do the following:
let mut txn = client.txn();

// Should work okay!
match txn.query("q(func: uid(0x01)) { uid }".to_string()) {
    Ok(result) => {},
    Err(e) => println!(e)
}

// StartTs mismatch (Err!)
match txn.query("q(func: uid(0x01)) { uid }".to_string()) {
    Ok(result) => {},
    Err(e) => println!(e)
}

Thanks for making this library!

I don't really understand what's happening to cause this, but I've temporarily removed the start_ts check in merge_context in txn.rs and this issue has gone away. Of course, I can't help but think that this is A Really Bad Idea (tm).

Thanks for reporting this. I've fixed the issue in version 0.3.1. Could you, please, try if it fixed your problem?

Hey @ondrowan so sorry about this long delay.
It does appear that the issue has been fixed. Unfortunately, the current version of grpc used appears to have some issues around an invalid pointer in a free invocation.
That being said, this particular issue has been solved as far as I'm concerned.


Median filter unit tests

Pass a synthetic vector field through the median filter function.

#303 closes this


Basics of GUI using Python.

Made a new folder with the working of GUI using the python.

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi,
Thanks for this pull request (PR).
Unfortunately, we are marking closing this PR invalid, as it is a copy of content on another website.
Feel free to submit another PR though.
Thank you


[MM-44643] - Support the ability to link directly into the pricing modal

Summary
This PR adds ability to open pricing modal using query param on the admin billing route
Ticket Link
MM-44643
Release Note
NONE

https://mattermost-webapp-pr-10417.test.mattermost.cloud

@marianunez https://mattermost-webapp-pr-10417.test.mattermost.cloud/admin_console/billing/subscription?action=show_pricing_modal


Heckman lithosequence: ISCN 3.5 review

[x] Evaluate dataset
[x] merge study data
[x] clean up profile data
[x] clean up layer data
[x] make graphics
[x] Write up summary report narrative
[x] Good commenting
[x] External review by someone else!

Started working up the data set reports with Heckman litosequence as the first example. d6af379d9397b6c64a1565943921184e57c9647a
Commenting and summary here: 3e14856637dc990883df93a7f2268aaa627429f7

See 9f1fd5389655d8daed9497f5e514590fc93cf410 4c89f05a9da10fc9dcddefbaff2ee0224d49d61b f9d29895a5e7c20bc135cb2ebdfea33ff0ed055d This is good for review now.

Looks good!


az monitor autoscale rule list fails

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az monitor autoscale rule list
Errors:
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 657, in _run_job
    cmd_copy.exception_handler(ex)
cli/command_modules/monitor/_exception_handler.py, ln 42, in monitor_exception_handler
    reraise(*sys.exc_info())
...
cli/core/commands/__init__.py, ln 306, in __call__
    return self.handler(*args, **kwargs)
azure/cli/core/__init__.py, ln 490, in default_command_handler
    return op(**command_args)
command_modules/monitor/operations/autoscale_settings.py, ln 341, in autoscale_rule_list
    profile = next(x for x in autoscale_settings.profiles if x.name == profile_name)
StopIteration

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Create autoscale rule for AppService from Azure portal
az monitor autoscale rule list --autoscale-name {} --resource-group {}

Expected Behavior
Environment Summary
Linux-4.15.0-1064-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.78 *

Additional Context

add to S168

@uveta,

If you run the command az monitor autoscale rule list -h, you can see there is an optional argument --profile-name with default value default, as you created autoscale rule for AppService from Azure portal and the profile name for the autoscale is not default, so you need run command az monitor autoscale rule list with your --profile-name.
You can find --profile-name on Portal as below, the default profile name is Auto created scale condition if you don't rename it.

If you use CLI command az monitor autoscale create without --profile-name to create a autoscale rule, the profile name will be "default" as default.

Close this issue as this issue was caused by missing necessary --profile-name argument when running az monitor autoscale rule list.

Thank you @jsntcy
It was not clear what was the issue from the error message I received. But thanks once again for clarification.


update template

Automated changes by create-pull-request GitHub action

Done in https://github.com/iterative/dvc-ssh/pull/21


chore: cleanup: removes unused files

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@dd8fa43). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage        ?   80.81%
=======================================
  Files           ?       53
  Lines           ?     1397
  Branches        ?      569
=======================================
  Hits            ?     1129
  Misses          ?      259
  Partials        ?        9

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd8fa43...634c462. Read the comment docs.


Rename BEAM DAO Dapp to BeamX DAO

Please, remove the word DAPP from confirmation screens.

Checked.


Added call and bring command by request of Joe_Schmo2840

I've tested this, the only thing not working is the pagination which is erroring. I'd try to fix it further but I assume you will know what's wrong when you test this, I'm not that familiar with the pagination code.


chortcuts changing doesn't work

I tried to change two shortcuts:
   editor.......toggle comment.......Ctrl(Mod3)+Blackslash
   editor.......code completion......Shift(Mod3)+Space

but after restart spyder,press,
   Ctrl+Backslash             Nothing happended
   Ctrl+Space                 Space got input

What is the problem here?

@AlexLuya can you provide more information regarding the spyder version you are using, OS... etc ?

@goanpeca Ubuntu 14.04 64bit + Spyder 2.3.8 is used in my laptop

This is already fixed in Spyder 3.0 (not released yet). It will be released in a couple of months, sorry for the inconvenience in the meantime :-)

Thanks,it is a long time,any workaround?


Create gh-pages

I propose to use the Project Pages which means:
Create a separate project site for each repository within the organization, by including the site content in the gh-pages branch of the existing repository. That will publish each project site at http://aurelia-ui-toolkits.github.io/.

Web site demo-kendo created at http://aurelia-ui-toolkits.github.io/demo-kendo/

@adriatic just to confirm, are you proposing to create the demo site in the master branch of, for example, https://github.com/aurelia-ui-toolkits/demo-bootstrap? and then use the gh-branch to explicitly publish a new version of the demo site? if so, I like it :)

This has been completed: http://aurelia-ui-toolkits.github.io/demo-kendo


Override default proxy from provider

Initial stab at allowing providers to override the default proxy.
Can allow for situation where all trafic goes through one proxy,
except for example the Amazon traffic goes through another.

I like the mixin idea for this!
@Fryguy, @bronaghs, any thoughts on this?

very nice @juliancheal  👍

👍 Looking good.

Thinking about where to put the additional proxy settings. Should we create empty values, so users can just add the data. As the naming is dependent on the value returned from ems.emstype
Second should we put those extra values in settings.yml or include an additional settings file for proxy info? /cc @blomquisg

Google Proxy support is waiting on https://github.com/fog/fog-google/issues/153

I like the mixin idea for this!

I dont want to be the :tada: :hankey: - but I dont get why we would need a a mixin for this?
Wouldnt it be enough to have it as a method in ExtManagementSystem or even better in BaseManager ?

I dont want to be the 🎉 💩 - but I dont get why we would need a a mixin for this?
Wouldnt it be enough to have it as a method in ExtManagementSystem or even better in BaseManager ?

My original thinking was it might be more complex than just one method, and I thought a Mixin might encapsulate that nicely.
Do you think it would be better in BaseManager, or are you just avoiding more included Mixins? 😜

Do you think it would be better in BaseManager

I think so, because we are moving to get rid of ExtManagementSystem.

or are you just avoiding more included Mixins?

+1 if the mixin is only included in one class (including subclasses).
If its used in other classes too, then a mixin is ok, although probably a new class as a collaborator would be even better

@blomquisg Travis is all green. I've updated the PR with @durandom's suggestions. I've added new values into settings.yml if that's all ok, then this PR should be good to go.

I've updated the PR with @durandom's suggestions

Ah, I thought @durandom was suggesting to just put the http_proxy_uri method in BaseManager.

Just realized in another PR, that this is ec2 or ec2_network. See here

Good spot. What's the difference between ec2 & ec2_network?

What's the difference between ec2 & ec2_network?

The first one is the CloudManager and the other the NetworkManager.

The first one is the CloudManager and the other the NetworkManager.

Presumably we'd have to set both of them then? This is getting complicated 😜

Ah, I thought @durandom was suggesting to just put the http_proxy_uri method in BaseManager.

@durandom had lots of suggestions 😜

Presumably we'd have to set both of them then? This is getting complicated

If you branch on ems_type, yes. Actually this whole thing is a perfect use case for the Provider class.
All Managers should belong to a Provider. And then you could have a chain of Fallbacks:
Default -> Provider -> Manager
And that all just being the classes :smile: You could even have special settings at the instance level...
Dont know for sure. I guess the intuitive thing would be Default -> Provider
But then, we dont have a way, yet, to get the Provider  name, haha

My main unaddressed concern is backwards compatibility. Could we find out how we deal with this? Is there a migration path, like a script we run on upgrades? Or should we just make it backwards compatible
vmdb_proxy = Settings.http_proxy
# use pre euwe config at http_proxy level for backwards compatibility
proxy = vmdb_proxy[proxy_config] || vmdb_proxy

If we chose the latter path I'd add the code comment about backward compatibility and add some tests that nobody breaks it

@durandom Can't the default value with a singleton method be used for backwards compatibility?

Can't the default value with a singleton method be used for backwards compatibility?

@djberg96 you mean Settings.http_proxy[:default]?
Currently the proxy conf is at Settings.http_proxy.host etc, so this has to used for settings.yml <= darga

I'm wipping this until Marcel's comment is addressed.

I have no idea how deal with upgrading settings. So I reviewed under the premise that a settings.yml and its db counterpart is merged upon upgrade - the db one come from the import of the current db and the file comes from the appliance and then it's merged. If thats the case we have to take care of the old proxy configuration still present at Settings.http_proxy vs the new one at Settings.http_proxy.default

@juliancheal well done and thanks for bearing with me ;)
Do you also do that change on the amazon PR?

@blomquisg merge?

Should I squash some of these commits?

Do you also do that change on the amazon PR?

You'll have to remind me, what change?

@miq-bot remove_label wip

@blomquisg This did not make it into Euwe branch.  Please label euwe/yes or euwe/no, as appropriate.

@miq-bot add_label euwe/yes

Euwe Backport details:
$ git log
commit 4a31d98f4afcacac30c637c72f01a2d2cff9e9ba
Author: Greg Blomquist<EMAIL_ADDRESS>Date:   Fri Sep 23 10:41:42 2016 -0400

    Merge pull request #10368 from juliancheal/provider_proxy

    Override default proxy from provider
    (cherry picked from commit a27866cd11e6eaac923b857501e3efc94ee8d061)


fix: layout shifting on scrollable content

I always use overflow-y: scroll on root because hate layout shifting on scroll visibility changes. So I wanted to add that to this project. You can see the difference here:
https://user-images.githubusercontent.com/23298031/221022982-7c26ab23-2594-4edd-adcb-d2f3798372f7.mp4

🙌


smpeg2: 412 -> unstable-2017-10-18

Motivation for this change

rework of https://github.com/NixOS/nixpkgs/pull/70421
updated by 1 SVN revision
use new format for version
drop patch not needed anymore
rename gcc6.patch to hufftable-uint_max.patch to make it more obvious what it does

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 105216 run on x86_64-linux 1

1 package marked as broken and skipped:

frogatto

3 packages failed to build:

devilutionx
hedgewars
worldofgoo

76 packages built:

SDL2_mixer
Sylk
_1oom
abbaye-des-morts
appimage-run
augustus
cataclysm-dda
cataclysm-dda-git
chocolateDoom
commandergenius
crawlTiles
crispyDoom
deltachat-electron
devdocs-desktop
easyrpg-player
eduke32
electronplayer
flare
gemrb
guile-sdl2
haskellPackages.Raincat
haskellPackages.nyx-game
haskellPackages.piyo
haskellPackages.sdl2-mixer
instead
instead-launcher
irccloud
ivan
joplin-desktop
julius
keeweb
ledger-live-desktop
liberal-crime-squad
lightspark
lunar-client
marktext
minetime
molotov
mycrypto
notable
np2kai
nuclear
nxengine-evo
opendune
p3x-onenote
pingus
plexamp
python27Packages.pygame_sdl2
python27Packages.pysdl2
python27Packages.pytmx
python37Packages.pygame_sdl2
python37Packages.pysdl2
python37Packages.pytmx
python38Packages.pygame_sdl2
python38Packages.pysdl2
python38Packages.pytmx
renpy
retrofe
rocksndiamonds
runwayml
sfrotz
smpeg2
ssb-patchwork
standardnotes
station
steam-run-native
taisei
timeular
trackballs
tusk
ultrastardx
unityhub
wesnoth (wesnoth-dev)
wootility
zettlr
zulip


(Corporate network) x509: certificate signed by unknown authority / x509: certificate is valid for github.com, www.github.com, not kubernetes.github.io

We're having issues using public Helm repositories on our company network which does sort of man-in-the-middle SSL-stripping. One of them is:
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
  name: ingress-nginx
spec:
  interval: 30s
  url: https://kubernetes.github.io/ingress-nginx

Below are various changes tested. Where .spec.secretRef.name is specified, it simply refers to a Secret with .stringData.caFile set to our root CA.

With neither .name.passCredentials or .spec.secretRef.name (effectively the YAML above).

helmrepository/ingress-nginx works fine.

helmchart/ingress-nginx-ingress-nginx gives:

chart pull error: failed to download chart for remote reference: Get "https://github.com/kubernetes/ingress-nginx/releases/download/helm-chart-4.0.10/ingress-nginx-4.0.10.tgz": x509: certificate is valid for github.com, www.github.com, not kubernetes.github.io

... this is most likely related to the fact that https://kubernetes.github.io/ingress-nginx/index.yaml lives on kubernetes.github.io, but points to a .tgzs on github.com.

With .name.passCredentials, but no .spec.secretRef.name.

helmrepository/ingress-nginx works fine.

helmchart/ingress-nginx-ingress-nginx gives:

chart pull error: failed to download chart for remote reference: Get "https://github-releases.githubusercontent.com/72891330/356bf635-bdaa-42d4-8235-97556c1a1771?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211203T081453Z&X-Amz-Expires=300&X-Amz-Signature=3d8a75409f5bf877a6d89cb99b9950c0e54205cb61a51d5e76036bf2b73063e9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72891330&response-content-disposition=attachment%3B filename%3Dingress-nginx-4.0.10.tgz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority

With both .name.passCredentials and .spec.secretRef.name specified.

helmrepository/ingress-nginx gives:

failed to download repository index: failed to cache index to '/tmp/chart-index-3560494879.yaml': Get "https://kubernetes.github.io/ingress-nginx/index.yaml": x509: certificate signed by unknown authority

helmchart/ingress-nginx-ingress-nginx gives:

chart pull error: failed to download chart for remote reference: Get "https://github-releases.githubusercontent.com/72891330/356bf635-bdaa-42d4-8235-97556c1a1771?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211203T081453Z&X-Amz-Expires=300&X-Amz-Signature=3d8a75409f5bf877a6d89cb99b9950c0e54205cb61a51d5e76036bf2b73063e9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72891330&response-content-disposition=attachment%3B filename%3Dingress-nginx-4.0.10.tgz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority

I've applied patches to the controllers as described by ChrisJBurns in #508, but it doesn't seem to help. However I seem to modify the various parameter, I get an x509 error somewhere. I suspect this is due to our MITM/DPI (Deep Packet Inspection) server being selective and doesn't perform DPI on all the domains, so just a few URLs require the Company-Root-CA while the rest are presented without modification.
What I've got is:

flux-system

Company-Root-CA.yaml
gotk-components.yaml
gotk-patches

helm-controller-certs-patch.yaml
notification-controller-certs-patch.yaml
source-controller-certs-patch.yaml

gotk-sync.yaml
kustomization.yaml

All 3 files under gotk-patches are effectively the same, except for the .metadata.name.

kustomization.yaml:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - Company-Root-CA.yaml
  - gotk-components.yaml
  - gotk-sync.yaml
patchesStrategicMerge:
  - gotk-patches/helm-controller-certs-patch.yaml
  - gotk-patches/notification-controller-certs-patch.yaml
  - gotk-patches/source-controller-certs-patch.yaml

Company-Root-CA.yaml:
apiVersion: v1
kind: ConfigMap
metadata:
  name: Company-Root-CA
  namespace: flux-system
data:
  Company-Root-CA.crt: |+
    -----BEGIN CERTIFICATE-----
    REDACTED
    -----END CERTIFICATE-----

gotk-patches/helm-controller-certs-patch.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: helm-controller
  namespace: flux-system
spec:
  template:
    spec:
      containers:
        - name: manager
          volumeMounts:
            - name: cert-volume
              mountPath: /etc/ssl/certs/Company-Root-CA.crt
              subPath: Company-Root-CA.crt
              readOnly: false
      initContainers:
        - name: init-helm-controller-certs
          image: debian
          command:
            ["sh", "-c", 'echo "$TRUSTED_CERT" > /var/tmp/Company-Root-CA.crt']
          env:
            - name: TRUSTED_CERT
              valueFrom:
                configMapKeyRef:
                  name: Company-Root-CA
                  key: Company-Root-CA.crt
          volumeMounts:
            - name: cert-volume
              mountPath: /var/tmp
      volumes:
        - name: cert-volume
          emptyDir: {}

gotk-patches/notification-controller-certs-patch.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: notification-controller
  namespace: flux-system
spec:
  template:
    spec:
      containers:
        - name: manager
          volumeMounts:
            - name: cert-volume
              mountPath: /etc/ssl/certs/Company-Root-CA.crt
              subPath: Company-Root-CA.crt
              readOnly: false
      initContainers:
        - name: init-notification-controller-certs
          image: debian
          command:
            ["sh", "-c", 'echo "$TRUSTED_CERT" > /var/tmp/Company-Root-CA.crt']
          env:
            - name: TRUSTED_CERT
              valueFrom:
                configMapKeyRef:
                  name: Company-Root-CA
                  key: Company-Root-CA.crt
          volumeMounts:
            - name: cert-volume
              mountPath: /var/tmp
      volumes:
        - name: cert-volume
          emptyDir: {}

gotk-patches/source-controller-certs-patch.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: source-controller
  namespace: flux-system
spec:
  template:
    spec:
      containers:
        - name: manager
          volumeMounts:
            - name: cert-volume
              mountPath: /etc/ssl/certs/Company-Root-CA.crt
              subPath: Company-Root-CA.crt
              readOnly: false
      initContainers:
        - name: init-source-controller-certs
          image: debian
          command:
            ["sh", "-c", 'echo "$TRUSTED_CERT" > /var/tmp/Company-Root-CA.crt']
          env:
            - name: TRUSTED_CERT
              valueFrom:
                configMapKeyRef:
                  name: Company-Root-CA
                  key: Company-Root-CA.crt
          volumeMounts:
            - name: cert-volume
              mountPath: /var/tmp
      volumes:
        - name: cert-volume
          emptyDir: {}

I've successfully managed to install this Helm chart using a Debian Pod as suggested by @hiddeco over Slack. I did not have to add any certificates. Commands used:
apt-get install curl vim --yes

curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
sudo apt-get install apt-transport-https --yes
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm --yes

mkdir .kube
vim .kube/config
chmod 600 /root/.kube/config
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
vim values-override.yaml
helm install ingress-nginx-2 ingress-nginx/ingress-nginx --namespace ingress-nginx-2 --create-namespace -f values-override.yaml

$ flux version
flux: v0.24.0
helm-controller: v0.14.0
kustomize-controller: v0.18.1
notification-controller: v0.19.0
source-controller: v0.19.0

The problem ended up being the network doing weird things with the certificates, and the user not providing the full chain set for this. Once this got resolved, it started working as expected.

@hiddeco correct. However, the native method of providing a CA cert through .spec.secretRef.name did not work. My guess is that it ignores all existing certs on the system and only looks for this particular one which doesn't work when different CA certs are presented. I had to resort to patching the source-controller. Thank you for the assistance provided Hiddie.


Normalize null|Foo vs ?Foo

ref https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3516

why the downvote, could be a configurable fixer for one of the two styles?

Could be. My downvote is for a fixer that would change Foo|null to ?Foo. I'm fine with a fixer doing the opposite change though I don't think it's worth it: I never saw such syntax in PHPDocs except here.

I've never seen ?Foo, only null|foo, would like to be proven wrong though

yes, would be nice if fixer could go both ways, so one could always unify his codebase.
there are not that much php 7.1+ codebase yet ;)

This is implemented now, and can be closed.

By the nullable_type_declaration_for_default_null_value fixer.

nullable_type_declaration_for_default_null_value is different: it updates the real type declaration, while this feature request is about PHPDoc syntax, i.e.:
/** @param Foo|null $foo */

vs.
/** @param ?null $foo */

Oh, I see.

Since PHP now supports union types, I think such PHPDocs will disappear entirely and we won't need such rule anymore. Shall we close?

do we have a rule to move that PHPDoc to PHP type declaration?

Since PHP now supports union types, I think such PHPDocs will disappear entirely and we won't need such rule anymore. Shall we close?

I don't think so! We still can't express things like ?non-empty-list<non-empty-string> in PHP types, but this is a valid specialism of array|null according to the type system specified by Psalm.

I'm working on an implementation of this feature and hopefully will provide a PR soon.

This is for PHPDocs, not for type declarations. Should be reopened.


GRANT SELECT ON ALL TABLES IN SCHEMA public TO user

Is it possible to issue such a GRANT command using this module?

Hello! We are doing some house keeping and noticed that this issue has been open for a long time.
We're going to close it but please do raise another issue if the issue still persists. 😄


Sally - Update viewing-the-status-of-purge-or-archive-jobs-idmf.md

Docs Build status updates of commit 7dcdde4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 067341e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 34836e7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamicsax2012-technet/toc.yml
:warning:Warning
View
Details

dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/toc.yml

Line 8500: [Warning-file-not-found] Invalid file link: 'dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md'.
Line 8502: [Warning-file-not-found] Invalid file link: 'dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md'.

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

Docs Build status updates of commit 853afcf:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamicsax2012-technet/toc.yml
:warning:Warning
View
Details

dynamicsax2012-technet/usage-profiler-lifecycle-services-lcs.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/toc.yml

Line 8500: [Warning-file-not-found] Invalid file link: 'dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md'.
Line 8502: [Warning-file-not-found] Invalid file link: 'dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md'.

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

Docs Build status updates of commit 4c9b943:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamicsax2012-technet/toc.yml
:warning:Warning
View
Details

dynamicsax2012-technet/usage-profiler-lifecycle-services-lcs.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/toc.yml

Line 8500: [Warning-file-not-found] Invalid file link: 'dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md'.
Line 8502: [Warning-file-not-found] Invalid file link: 'dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md'.

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

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

File
Status
Preview URL
Details

dynamicsax2012-technet/toc.yml
:white_check_mark:Succeeded
View

dynamicsax2012-technet/usage-profiler-lifecycle-services-lcs.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/viewing-the-status-of-purge-or-archive-jobs-idmf.md
:white_check_mark:Succeeded
View

dynamicsax2012-technet/working-with-purge-objects-and-archive-objects-idmf.md
:white_check_mark:Succeeded
View

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


Add layout prop to BlocksControls, similar to screen plugins

Summary
The screen plugins have a layout prop, that decides whether or not the screen component is rendered in a fullscreen "sidebar" or a popup.
I'd like the BlocksControls settings to have the same API, as the popup isn't super useful in some use cases.
Basic example
<BlocksControls index={index} layout="fullscreen">
  <Component />
</BlocksControls>

Motivation
For complicated settings modals, you get a bigger more expressive UI.

Could you elaborate on what the 'fullscreen' layout would look like or behave?

@kendallstrautman exactly the same as a screen plugin!