Add Getting Started links

Make it a little more clear where to go to start using these components.

Hi @KevinKennedy, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;


any chance you could publish this to rubygems?

I am playing on building off of it but having it published would help greatly.

sure! I haven't put anything on rubygems before, though, so I might have to look into it.
I hope I can get to it over the weekend, possibly.


dev: create EthereumErc20 abstraction

Describe the enhancement request
Similar to KakarotContract abstraction, create an EthereumErc20 which will perform any calls related to a Kakarot token contract.

Describe Preferred Solution

I think we can call it EthereumErc20 since its counterpart is StarknetErc20?
otherwise lgtm ;D

My bad this is dumb I think! We can simply use ether-rs for this and any type of Ethereum side abstraction, granted we have an ABI!

My bad! ether-rs can only be used from outside the rpc world


Contributions

I have a few changes to the playbooks that my customers have asked for. I would love to contribute them back, but I was unsure if these would be of interest to the maintainers/larger community. In no particular order:

Install into a target directory (default: /opt/confluent) using an archive instead of repository-based installs. This also creates configuration files in the target directory (default: /opt/confluent/etc) and creates systemd services pointing at these binaries and configs
Provide the ability to skip (using --skip-tags and some variables) certain operations. For example, skip any sysctl/systemd operations for environments that don't support them or skip apt/yum operations if the environment is already prepared.
The main environment I've been working in is docker-compose using ansible-pull. I can provide documentation or a repo showing this working, but it's dependent on the ability to skip sysctl/systemd operations.

These enhancements were designed for "offline" deployments where the nodes are not connected to the open internet and administrators don't generally have root access once a node is in production. I use docker-compose to demonstrate various configurations without the overhead of spinning up potentially a few VMs.
I have been working with the 5.5.1-post branch, but these enhancements could be done against whichever branch(es) need it, I would just need some direction.
Thanks!
Edit: I cannot add the Question label per the Contributions documentation.

Hi @GuyIEX
Thanks for the question/offer to contribute, it's very much appreciated.
Let's step through this point by point:

We've had this request before, from some of our commercial customers and it's something we've got on our roadmap for the future.  If you've already developed this work, we would love to have the contribution.

I would suggest you review the 6.0.x branch as that is our current development branch for the next release, so ideally we would like to see a PR against, it for this work.  5.5.1 is considered a stable branch at this time and thus we don't want to add new functionality.  We only want to apply bug fixes.
Let me know if you have any questions about the 6.0.x branch.

I like the idea of --skip-tags, however I think it's really dependent on what they are being applied to.  For example, you mention skipping operations for SystemD, which I don't think is something we want to support.  We currently only support OS's which rely on SystemD, as older Linux Distros that still use init are generally end of life/going away in the next few months.

My suggestion would be to generate a list of places where you would want the skip functionality and we can validate what makes sense for this repo.

We actually have built in docker scenario testing in our repository using molecule.  I would recommend using that.  It supports full systemD functionality, and we already have a large number of scenarios setup.

Documentation is here: https://github.com/confluentinc/cp-ansible/blob/5.5.1-post/HOW_TO_TEST.md
Note: I will be updating this further for the 6.0.x release.

@JumaX thanks for the feedback!

I can isolate those changes and get a PR against 6.0.x submitted by (hopefully) tomorrow. After I isolate, comments and test I can create the issue to submit the PR against too.
I'll have to put this one on the back burner because the main reason I'm skipping things is because SystemD isn't well supported in CentOS 7 images. However, I'm digging into molecule and running those tests so it may be a moot point.
I believe molecule is a testing environment and what I was doing is more of a demonstration environment for various capabilities. Those demonstration environments were also used for some rapid prototyping. Not specifically Ansible related, but it did demonstrate how to use something like ansible-pull in a constrained environment. I will hold off on this one too.

@GuyIEX Understood.
Regarding point 2, can you confirm what you mean by systemD not being supported in CentOS 7 images?  I ask because its the default for CentOS 7, and the images we test on, when not testing for OS specific functionality is primarily is CentOS 7.  Curious to know what I am missing.

Sure. A good discussion is is captured here on the use of SystemD within containers. However, these limitations can be overcome with some Dockerfile magic as documented at https://hub.docker.com/_/centos (look for the section named "Systemd integration"). I also believe podman overcomes some of these limitations as discussed here.

Hey @GuyIEX ! It's super cool that you have come up with a new installation method. Some of our customers request that our playbooks do not run as root which you need to yum installs. And I thought as well managing services. Does your branch run as root?
Regarding systemd in containers, it is possible, and the ppl who designed molecule had to sort that out fairly early on. Here are the docs: https://molecule.readthedocs.io/en/latest/examples.html#systemd-container
In fact a lot of our testing in on centos7 containers.
Im curious what your motivation is? Is the end goal to run the platform in containers? We have prebuilt images with our packages in them already (I can point you to our cp-demos repo). And if you were to use those, then the only piece you would need from cp-ansible is to get the properties written, which would be pretty easy in the 6.0.x branch with a tag or conditional

Hi @domenicbove ! The branch does run as root because it creates SystemD services if they aren't found.
My motivation is being able to put together a package (in this case it's a docker-compose environment) that clients can use as a reference when they are able to make changes to their dev/test/prod environments. For example, during my last engagement I put together a docker-compose environment showing the client what changes they would need to make to support SSL authentication among the services, how that tied in with their current architecture and documentation they could use to administer it once established. They also wanted to use Ansible for deployments, but were hindered by 1) not having root access to the nodes once they were deployed 2) having automated SSH login methods (keys, sshpass, etc) completely disabled, even in dev and 3) not allowing the nodes to access the internet once deployed. So, we settled on them being able to use ansible-pull. I put together another docker-compose environment showing them the interactions needed for ansible-pull to work.
I have run into a problem in porting this to the 6.0.x branch. Specifically, I look for a SystemD service and if it doesn't exist then I create a new file. However, if it does exist then I don't do anything with it. That leads to a problem where CP is already deployed on a node as the old service file will most likely point to the wrong binary and config files. I think there are 3 options, but I don't know which is more in line with your current methodology.

Add a property to enable overwriting the service file
Always overwrite the service file (I think this is the appropriate answer)
Current behavior of only writing the service file if it doesn't exist

Thoughts?

There's a lot in that message! I'll try and respond to everything!

If you are looking to demo confluent platform in a docker containers, then we already have multiple configurations you can spin up with molecule.  Now going beyond demos, you bring up some good customer use cases and each should most likely be solved in their own PRs.

No root access
This one we get a lot. Without root you can't do yum install... The workaround is the tar based installation: https://docs.confluent.io/current/installation/installing_cp/zip-tar.html
Which will get you everything, but then you are still out of luck for managing the services with systemd... Which I think is the defacto standard for managing services, so I usually stop there... I would not recommend running long running services with a background bash command :)

Not having ssh
This is essentially how ansible functions. There are other connection options that maybe they can explore. I'm missing how you can get around not having ssh (or an alternative) and still want to use ansible.

No outside internet access
We actually have a solution for this, which entails putting our packages in your customer's repo server and providing a .repo file
You'll also have to host jolokia's jar in a webserver accessible to the hosts.

Can you explain how ansible-pull solve these problems? https://docs.ansible.com/ansible/latest/cli/ansible-pull.html
Is the plan to run each component in a container on each vm? Honestly, there is merit in that solution, build the images in a place with internet access and then you can distribute images pretty easily in tar format (Or better yet use the images we already offer!).
And finally if your issue is that your docker compose set up does not allow for systemd service, there is a way to get docker containers to work w systemd, I know this bc our molecule containers use systemd

Sorry for the over-communication. I'll try to keep this brief.
I'm currently looking into molecule. It's on my list of technologies to research, I just hadn't got that far yet ;)

No root access - Yes, they install via a tarball. The enhancements I'll submit against the 6.0.x branch do just this, just they also create SystemD services. I believe the customer currently uses their own custom scripts to manage these processes.
Not having SSH - This is solved by ansible-pull. Using this mode of ansible you have a Git server (or some other vcs) that the node will clone a repo containing playbooks and other resources from then run locally. So, as an administrator you need to connect to the node to be staged and install/run ansible-pull pointing it at a vcs.
No outside internet access - We explored this solution, but thought the team managing the repo servers would have a problem with it (internal conflicts and all).

Hopefully I explained how ansible-pull solves (2) above.
The plan is to run multiple VMs with multiple services on each. What I as the consultant who doesn't have access to these environments was trying to provide is a way for them to understand how to transition to new configurations through a emonstrative docker-compose environment that mirrors their development environment. Unfortunately ansible-pull was not part of what I provided them due to time constraints.
I honestly was unaware of the ability to run SystemD in a CentOS 7 container because I failed to RTFM the docker hub page.

Thanks for the clarification!

No root access- I would prefer if the solution was all encompassing. Meaning it

installed the tar ball (you have this)
set up a systemd service that can run as a configurable non root user: https://vic.demuzere.be/articles/using-systemd-user-units/
and starts the service/ passes health checks
But if we accomplish this. Many people will be happy! We have to make the link for the tar ball configurable bc some customers dont have outside internet access (ie theyll host the tarball themselves)

Not having ssh... Wait so ansible-pull pulls the cp-ansible source code onto a single node, this node has ansible on it, but cannot connect to any other nodes, and then it runs the playbook only modifying itself... meaning you have to go one host at a time? This can't be right :)
If you are saying ansible pull is just a way of distributing cp-ansible to an ansible control node which has connectivity to other nodes, then go right ahead! some customers tar up our repo and scp it around.

Its actually pretty easy to turn the ansible control node into a webserver using python simple server. But im still unsure about number 2

All in all I like where this discussion is going w #1 !

The way I implemented the SystemD service files they will use whatever the appropriate _user and _group as defined by the variables/properties. I also documented all the new properties in VARIABLES.md. I'll get that issue and PR created right away.

@GuyIEX Going to close this one out due to the merge of the tarball installation work.


Like me, many people should want to have a changelog every time a patch is updated, so that they know what has been updated.

Like me, many people should want to have a changelog every time a patch is updated, so that they know what has been updated.

I add changes in updates to the "Additional Information" menu in the GUI.

OK，thanks


Testing on Windows required

Test script on Windows. Provide a report on your results.

@funbeedev Can You please assign this to me? I have worked with selenium before in windows.

Sure, assigned to you.

@AniruddhaChattopadhyay  any updates?

I sorry I am not in a position to do this due to some unfortunate circumstances at my end. I am really sorry for wasting your time.

no worries!

I was able to test in on Windows. No problem, but I have to add the '.exe' extension to the driver 'filename', I only tested on 'chromedriver'. If you want a more extended report I can help you.

I was able to test in on Windows. No problem, but I have to add the '.exe' extension to the driver 'filename', I only tested on 'chromedriver'. If you want a more extended report I can help you.

@feriodismo Thanks for checking this! Could you create a PR updating the README with info on running on Windows?
Just create a new heading like "Running on Windows" and list any changes you had to make to get it to run.

@feriodismo Thanks for checking this! Could you create a PR updating the README with info on running on Windows?
Just create a new heading like "Running on Windows" and list any changes you had to make to get it to run.

good! let me check firefox too, and then I will update de README, thanks

good! let me check firefox too, and then I will update de README, thanks


Importing/exporting (merging) Input Maps

I find it extremly inconvinient to make new inputs in Input Map in every project when you import f.e. first person character. At this moment (as far as I know) you need to see the button mapping in a script and then recreate them in the Input Map tab. It would be much easier to just import a file with input actions and merge the new ones with the existing ones (or replace them) - just like it works with tilesets.

At this moment (as far as I know) you need to see the button mapping in a script and then recreate them in the Input Map tab.

You can also just copy & paste the mappings from/to the godot.project files.

Yes, I know of this solution but it really seems like there should be a more user friendly way.


Add VCR-like functionality

There is great Ruby tool VCR(https://github.com/vcr/vcr) that provide caching requests instead of mocking.

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

It would be great to have such functionality in PhantomXHR.

I agree, this would be a great feature.  Record and 'export' of both XHR and user events would be incredibly useful.  Would really love to see a PR for this

+1


Added 'device' argument

Added a 'device' parameter to the summary method. It defaults to 'cuda' so as to not affect existing applications, but will allow 'cpu' to be specified and used even if a GPU exists. It follows the new PyTorch to(device) standard where device='cuda' is for GPU and device='cpu' is for CPU.

I have made this change.


Is it possible to drag and drop on fixed slots?

I have a use case like two grids have fixed slots like 5 items in 1st grid and 10 items(empty slots fixed) in the second grid. Is it possible to drag any element from the 1st grid and drop on the second grid in specified position? If it is empty slot it should replace otherwise it drops on next slot.

Please let me know is it possible?

Yes it's possible to do this, but you'll have to code that bit of functionality. It's not built in.

Can you help on this? Please let me know what to do? I will try

You'd probably want to 10 separate Sortable items probably with a loop, and add references to each one to an array. You'll want to limit each of those sortable objects to one item each, and if it passes that threshold, you swap the item being dragged, with the one in the container already.
I'll update a little later with a code example.

I have added but not working Onadd event when i drag from list2 to list1. Please check once https://jsfiddle.net/xfuLezdk/2/

I am in a desperate need of a row and column style like draggable container. I need to have a row container first which I drop elements or components as columns in the row container . Can anyone help me with this. And I want to store all this in a list as nested items , like a row object containing column objects after dragging successfully.
Thankyou.

Can you share your code


cino-k and if keyword

with cino containing the k flag, if statements where the keyword is not in column 0 are affected

can you provide a reproducible example please?

/* vim: set cino=k1: */
 if ( /* not col[0] */
  1
   )
printf()
if (
		1
   )
printf()


documentation request: basic installation

Sorry to ask, but it would be useful to include some really basic installation guidance, even if it's just a link to other relevant documentation.  I copied the directories to ~/.vim/ but that's as far as I've gotten.

I'm looking for an 101 installation guide as well


Add characteristics of the SVG table to intro section

Adobe would like to propose this note that would be helpful for font designers when deciding which color format to go for. (The start of the COLR table does make its own statement of advantage by saying it is “compatible with existing text engines and easy to support with current OpenType font files”, so it’s appropriate for SVG to do the same, though to be balanced we also note below the possible downsides of SVG.)
The Introductory paragraph of the SVG table spec currently says:
"OpenType provides various formats for color fonts, one of which is the SVG table. The SVG table provides the benefits of supporting scalable color graphics using the Scalable Vector Graphics markup language, a vector graphics file format that is widely used on the Web and that provides rich graphics capabilities, such as gradients."
We propose adding to the end of that:
[[
Note:

SVG allows for raster artwork in addition to vectors, and for combining vector and raster graphics within the same glyph.
A single SVG glyph contains all its multi-colored parts; it is an integrated piece of artwork. Users browsing an application’s glyph selection interface for an OT-SVG font can readily recognize and directly select the desired glyph. With the COLR table, each colored fragment is its own separate glyph and will thus be presented separately in an unfiltered display of all glyphs in the font.
The conservation of the number of glyphs with the SVG table is also beneficial for fonts with a large number of glyphs that are nearing the 64K glyph limit, for example a pan-CJK font to which multi-color emoji glyphs need to be added.
An SVG glyph will be larger in size than a COLR or sbix representation (if an equivalent representation were possible); compression or subsetting of the font could help.
The SVG table does not support variability currently.

]]

Proposed draft for next version;

OpenType provides various formats for color fonts, one of which is the SVG table. The SVG table provides the benefits of supporting scalable color graphics using the Scalable Vector Graphics markup language, a vector graphics file format that is widely used on the Web and that provides rich graphics capabilities, such as gradients.
Compared to the other color formats, the SVG table also provides certain other benefits:

SVG allows for raster artwork as well as vectors, and also allows for combining raster and vector elements in a color glyph. The other formats allow for one or the other, but not both.
The SVG description for a color glyph is a complete, integrated piece of artwork; no additional glyphs are required for the SVG description. In the COLR table, however, a color glyph may require components that have separate glyph IDs. In applications that allow users to browse and select specific glyphs in a font, the user may be presented with extraneous glyphs for components in the case of fonts using the COLR table, but not in the case of the SVG table.
The conservation of 16-bit glyph IDs when using the SVG table, in comparison with the COLR table, is also beneficial for fonts that support a large number of characters.

There are certain trade-offs, however. File sizes are often larger when using the SVG table than for the other color formats. Also, glyph outlines used in the COLR table can be variable (in a variable font) and can also be hinted, whereas these capabilities are not supported with the SVG table.

That sounds like a documentation for application(s) limitation in the spec,

I think this is a fair critique. There can be various reasons why a font has extra glyphs. This is also all commentary on the spec, and I think it's best to limit the amount of commentary. So, I'll consolidate the second and third bullets:

The SVG description for a color glyph is a complete, integrated piece of artwork; no additional glyphs are required for the SVG description. In the COLR table, however, a color glyph may require components that have separate glyph IDs. The conservation of 16-bit glyph IDs when using the SVG table, in comparison with the COLR table, may be beneficial for fonts that support a large number of characters.

This is why our proposal specifically said “unfiltered” display (that detail was obscured in Peter’s rewrite). In several Adobe apps, the Glyphs panel has for many years provided by default an unfiltered or unprocessed grid of all glyphs. Yes, that can be a lot, and so the user can then choose various interesting filters or subsets on that glyph grid from a popup, e.g. “Extended Latin A”, or “Standard Ligatures”, or, possibly in the future “Composed Colr Glyphs”.
Also, I don’t see anything in the spec that prevents layer glyphs from being valid, standalone glyphs as well in the font, and not merely “extra” or “behind the scenes” glyphs which no user is going to want to see. That, combined with the fact that only a small minority of the glyphs in the font could be COLR (say, just for the emoji in a Japanese font), makes it clear that even if COLR glyphs are displayed composed in multi-color, the layer glyphs must also be displayed separately in a see-all-glyphs grid.
A see-all-glyphs grid is certainly not unique to Adobe flagship apps; rather, it is a pattern commonly seen in font production tools as well, one in which a raw or unfiltered display of all glyphs in the font is presented. Yes, it’s a given that the app could provide other filters as well, which is why the qualifier “unfiltered” was specified. Elaborating on what is meant by ”unfiltered” should satisfy the concern.
The spec does have various places which talk extensively about application and user interface design e.g. the various flavors of menu names, and the STAT table. The UI advantage of a user being able to more readily access an SVG glyph from an unfiltered display of all glyphs is a small but important benefit that we think it would be helpful to include. Thanks for considering it.

Direct glyph id entry is an anti-feature and should not be discouraged by featuring it prominently in the spec. It is unportable (across different fonts or different versions of the same font), inaccessible (mapping the glyph id to a character is a guess at best and can fail in many situations), and has limited usefulness in many scripts (it is unusable in Arabic, for example, unless one composes whole words manually using glyph ids).
Unfiltered glyph display is pretty much and Adobe feature, and there are too many ways an OpenType font can make it useless. Unless you suggests adding a note to multiple substitutions, for example, saying they can make such glyph display useless.
The spec being bad in many placing is not a justification for making it even worse.

As mentioned above, I'm inclined to limit the amount commentary. And, as I mentioned earlier, there are other situations that can give rise to extraneous glyphs that can clutter a glyph selection UI.  For example, here's a selection of glyphs from a Telugu font:

If this were about an especially significant decision criterion for choosing one color format over another, it might be worth mentioning. But I doubt this is what would drive decisions to use SVG vs. COLR vs. sbix or cbdt.

Yes, a facility (various examples given in the thread above) which displayed all glyphs in the font would by definition show the glyphs in the Telugu example. That’s what would indeed be expected in a “show all glyphs“ request.
(Perhaps irrelevant now to the proposal, but since it was questioned above as an “anti-feature,” let me offer that there are very much important use cases for inputting by visual glyph selection in an authoring app, e.g. in creating illustrations for tutorials on the various stages of text shaping or COLR mechanics; or creating a glyph grid for a type specimen book, poster, or catalog; or creating a kanji handwriting tutorial with stroke order. Loss of portability across fonts is an acceptable limitation in these situations, as it would be also for any advanced typesetting in which stylistic features or alternate selections are employed.)


After Cloud Controller(CC) reboots, processing is not continued when CC is downed while processing bind service.

Issue
After Cloud Controller(CC) reboots, processing is not continued when CC is downed while processing bind service.
Context
The service broker executed processing to Create Binding API(/v2/service_instances/:instance_id/servuce_bindings/:id) and the success is returnd to CC.
When CC is downed(BOSH recreated VM) immediately after Create Binding API returns, processing after this is not done. Even when CC reboots, the processing is not done.
The Service broker judges that Create Binding succeeded. However, it is judged that CC is not.
My service broker's instance was not able to be deleted because of this contradiction.
Possible Fix
Even if CC is downed, it is necessary to continue the processing since Create Binding API is called.
The service broker cannot detect CC being downed. CC should recover to this problem.

Hey @NAGAI-Tsuyoshi,
We're looking into the issue right now, but we wanted to share a CLI command that might have helped in this situation. cf purge-service-instance might have resolved being unable to remove the service broker.
Thanks,
CAPI Community Pair - @aashah & @michaelxupiv

Hey @NAGAI-Tsuyoshi,
We agree this was not the best situation, but feel the solution might be larger and better suited as a separate feature (to gracefully process requests shortly received before a redeploy of CC). I'm going to close this issue in light of that.
Thanks,
@aashah
/cc @zrob


(maint) fix references to files under concepts

Prior to this commit we were linking to the docs/topics directory, this has been replaced by the docs/concepts directory.
This commit fixes the remaining references to the obsolete directory.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3473/

@johnmccabe thanks for the fix!


XSS in Insert Link: Sanitize user input while using insert link

Please check the screenshots for the POC of the issue.
Browser + version: Valid across all
OS: Valid across all
Resolution: NA
How to reproduce the bug?

It's the server-side job. I can't do anything for that. User can disable JS, and send anything to the server via the textarea.


Add -y to apt install

What problem or use case are you trying to solve?
Add -y to apt install
cause it cause problems when ai try to install apt packges

Not much we can do here right now, but we have this related issue, which would give the AI the ability to add a y to stdin
https://github.com/OpenDevin/OpenDevin/issues/226
Going to close this in favor of the more interactive sandbox


Update makefile FPGA template readme

Existing Sample Changes
Description
Restructured to match new template. Corrected formatting issues. Updated branding. Added DevCloud Information where necessary (since they could be on DevCloud too). (This might be throw-away work, but I committed to it, so I’m doing it.)
Fixes Issue#
External Dependencies
N/A
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[x] Documentation quality

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] VSCode

Adding @jimmytwei for notices


App Info Update

Hello, we'd like update some info of Go Pocket.
"mobile": {
"native": "gopocket:",
"universal": "https://gopocket.security/"
},
"desktop": {
"native": "",
"universal": ""
},
"metadata": {
"shortName": "Go Pocket",
"colors": {
"primary": "rgb(255, 255, 255)",
"secondary": ""
}

You can now manage this listing yourself for any new updates. See this blog post https://medium.com/walletconnect/introducing-walletconnect-cloud-registry-c17ac580f33


Adding an Application Gateway scenario for "Considerations before applying locks"

I have a suggestion for "Considerations before applying locks" part.
I would request the document to mention that the backend status cannot be shown if the Application Gateway has read-only lock. When we try to get the backend health, it is needed to use POST method, not GET method. That is why we cannot retrieve the backend health when the Application Gateway has read-only lock. Sometimes we are confused at this point because we are just trying to retrieve the backend status and not trying to change any configuration.
The method used to retrieve the backend health is:
https://docs.microsoft.com/en-us/rest/api/application-gateway/application-gateways/backend-health

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

ID: 4e7af209-7240-dd2a-7130-e7fb3143986a
Version Independent ID: a653b0d1-877d-09f7-17fa-11bf06c37cc9
Content: Lock resources to prevent changes - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/lock-resources.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@shiniizuka - thanks for this feedback. I'll add that consideration to the article.

I have submitted an update which should get published later today.
#please-close


Jbduarte estimating infected nb

@jbduarte I hade to make some corrections to your dashboard

I removed "per millions" b/c that was very redundant to the other charts
I had to do the following per the Contributing Guide that you forgot to do (this is the last time I am going to do this)

updated the workflow file
included a picture for a preview of your dashboard
fixed your filename to adhere to naming conventions per instructions in the guide and the PR comments

I went ahead and edited the title and made other editorial deletions and ammendments.
Furthermore, this PR removes the 2, 4, and 12 day trend lines from your other dashboard "Deaths Per Captia" as  the logarithm scale is inconsistent per https://github.com/github/covid19-dashboard/issues/90
This PR closes https://github.com/github/covid19-dashboard/issues/90
This PR also closes https://github.com/github/covid19-dashboard/issues/91

Hmm, should this 2020-03-19-estimating-infected.ipynb file really be in the root? cc @hamelsmu


Deno Permission Denied Error When Writing to File via Slack Input Form

Hello ! I am working on a Slack-Deno application. My project involves a function that handles documentation onboarding. This function reads the input from a Slack form, writes to a CSV file, and also triggers a PowerShell script. However, I am encountering a PermissionDenied error when trying to write to the CSV file.

Could someone help me with this please ?

This is my manifest file
export default Manifest({
  name: "client-onboarding-app",
  description: "A Slack app to onboard clients",
  icon: "assets/default_new_app_icon.png",
  workflows: [OnboardingWorkflow],
  functions: [HandleDocumentationOnboardingDefinition],
  outgoingDomains: [],
  botScopes: ["commands", "chat:write", "chat:write.public", "files:write"],
});

And this is my slack.json
{
  "hooks": {
    "get-hooks": "deno run -q --allow-read --allow-net<EMAIL_ADDRESS>  }
}

Hi, @InesKouki! Thanks for submitting your question 😄
Based on the PermissionDenied error, it seems like write permissions haven't been granted to the system for your CSV file.  I would recommend adding the --allow-write flag within your slack.json - you can reference the deno-slack-hooks repo here for more info!

@InesKouki I also just received word from the team that the --allow-write flag will only work for slack run, but if you slack deploy your app to Slack infra, that will not support file writing and will fail with the same error!


Duplicating Figma file keeps some sort of "config sync" to master file. Unable to remove sync provider config.

Describe the bug
A clear and concise description of what the bug is.
Duplicate figma files keep some sort of "sync" to the file they were duplicated from. Atempting to remove sync provider config does not seem to work as intended and removes it in the original file.
To Reproduce
Steps to reproduce the behavior:

Setup a sync provider (presumably any, but I'm using ADO in this instance)
Duplicate the figma file
Open the duplicate file
See git sync still in place
Remove git sync in duplicated file
Return to original file and see sync provider has been removed

Expected behavior
A clear and concise description of what you expected to happen.
Each figma file should store its own sync provider config without affecting any other figma file.

Figma file (optional)
Send us the link to a Figma file containing a reproducible example
Unable to share file(s) in question, can create a minimal example if needed for further clarification

Confirming that this indeed is a bug after testing @esthercheran. If I duplicate the main file and then delete the Sync provider in the main file, it also gets deleted from the duplicate file with displaying following error:

Just chiming in that this is not a bug. Deleting a sync provider is not done on a file basis. If you delete a sync provider from the list of sync providers, it is deleted for the current user. Yes, the currently used sync provider is saved in the Figma file, but the user's credentials that you see on the Sync providers tab are the ones from the user. I'll add a note to this for when we redesign the Sync settings to make it clear that these are for the user.


feat: add material-ui example

Also made a simultaneous PR to update MUI's official example- https://github.com/mui/material-ui/pull/34407

Hi @secretshardul and thank you for porting this example here.
Left you some remarks to address.
We will also need a permission from MUI to copy their example here, could you make sure it's okay?
Thanks!

MUI's core repo is MIT licensed so it should be good. I also asked the author here- https://github.com/mui/material-ui/pull/34407#issuecomment-1253467312

Changes made!

Lot of consistency issues. It'll be better if I bootstrap a new project and then add MUI code.

Looks like the example from the MUI repo had outdated code. I redid the whole thing, hopefully it should be better aligned with other templates.

You folks may want to keep the MUI + remix example in one place, instead of in two repos.
https://github.com/mui/material-ui/pull/34407#issuecomment-1253477980

I think that https://github.com/vercel/next.js/blob/canary/examples/with-material-ui/README.md's pattern would be better, to avoid the dilution of the effort.

@secretshardul thank you for reworking this and all your feedback.
As you have seen, the example hosted on MUI is a bit out of date with latest remix evolutions / recommended settings, and I think our examples repository is the best place to keep it, since the Remix team will always have eyes on it, and it will benefit from our maintenance (we bump dependencies, batch-update examples, etc).
Let's keep perfecting it here, and maybe ask others to point to it.
Thanks again !
PS: As for the permission "issue" I raised, IMHO asking never hurts as a courtesy, no matter what the license is. Thank you for taking that extra step 🙌🏼

Hey thanks for hard work.  I cloned your repo and I get following errors:
react-dom.development.js:86 Warning: Expected server HTML to contain a matching <head> in <html>.
    at head
    at html
    at http://localhost:3000/build/_shared/chunk-IV4XCYS2.js:3754:30
    at App
    at RemixRoute (http://localhost:3000/build/_shared/chunk-332MD6VV.js:2517:3)
    at Routes2 (http://localhost:3000/build/_shared/chunk-332MD6VV.js:2500:7)
    at Router (http://localhost:3000/build/_shared/chunk-332MD6VV.js:722:15)
    at RemixCatchBoundary (http://localhost:3000/build/_shared/chunk-332MD6VV.js:1006:10)
    at RemixErrorBoundary (http://localhost:3000/build/_shared/chunk-332MD6VV.js:931:5)
    at RemixEntry (http://localhost:3000/build/_shared/chunk-332MD6VV.js:2394:12)
    at RemixBrowser (http://localhost:3000/build/_shared/chunk-332MD6VV.js:3146:27)
    at InnerThemeProvider (http://localhost:3000/build/_shared/chunk-IV4XCYS2.js:10478:17)
    at ThemeProvider (http://localhost:3000/build/_shared/chunk-IV4XCYS2.js:9875:5)
    at ThemeProvider2 (http://localhost:3000/build/_shared/chunk-IV4XCYS2.js:10486:5)
    at ClientCacheProvider (http://localhost:3000/build/entry.client-VHZYSIS6.js:1043:32)
printWarning @ react-dom.development.js:86
react-dom.development.js:12507 Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.
    at throwOnHydrationMismatch (react-dom.development.js:12507:9)
    at tryToClaimNextHydratableInstance (react-dom.development.js:12535:7)
    at updateHostComponent (react-dom.development.js:19902:5)
    at beginWork (react-dom.development.js:21618:14)
    at HTMLUnknownElement.callCallback2 (react-dom.development.js:4164:14)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:16)
    at invokeGuardedCallback (react-dom.development.js:4277:31)
    at beginWork$1 (react-dom.development.js:27451:7)
    at performUnitOfWork (react-dom.development.js:26560:12)
    at workLoopSync (react-dom.development.js:26466:5)
errorBoundaries.js:74 Error: Hydration failed because the initial UI does not match what was rendered on the server.
    at throwOnHydrationMismatch (react-dom.development.js:12507:9)
    at tryToClaimNextHydratableInstance (react-dom.development.js:12535:7)
    at updateHostComponent (react-dom.development.js:19902:5)
    at beginWork (react-dom.development.js:21618:14)
    at beginWork$1 (react-dom.development.js:27426:14)
    at performUnitOfWork (react-dom.development.js:26560:12)
    at workLoopSync (react-dom.development.js:26466:5)
    at renderRootSync (react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (react-dom.development.js:25738:74)
    at workLoop (scheduler.development.js:266:34)
RemixRootDefaultErrorBoundary @ errorBoundaries.js:74
react-dom.development.js:86 Warning: An error occurred during hydration. The server HTML was replaced with client content in <#document>.
printWarning @ react-dom.development.js:86
react-dom.development.js:12507 Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.
    at throwOnHydrationMismatch (react-dom.development.js:12507:9)
    at tryToClaimNextHydratableInstance (react-dom.development.js:12535:7)
    at updateHostComponent (react-dom.development.js:19902:5)
    at beginWork (react-dom.development.js:21618:14)
    at beginWork$1 (react-dom.development.js:27426:14)
    at performUnitOfWork (react-dom.development.js:26560:12)
    at workLoopSync (react-dom.development.js:26466:5)
    at renderRootSync (react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (react-dom.development.js:25738:74)
    at workLoop (scheduler.development.js:266:34)
react-dom.development.js:26912 Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.
    at throwOnHydrationMismatch (react-dom.development.js:12507:9)
    at tryToClaimNextHydratableInstance (react-dom.development.js:12535:7)
    at updateHostComponent (react-dom.development.js:19902:5)
    at beginWork (react-dom.development.js:21618:14)
    at beginWork$1 (react-dom.development.js:27426:14)
    at performUnitOfWork (react-dom.development.js:26560:12)
    at workLoopSync (react-dom.development.js:26466:5)
    at renderRootSync (react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (react-dom.development.js:25738:74)
    at workLoop (scheduler.development.js:266:34)
react-dom.development.js:12507 Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.
    at throwOnHydrationMismatch (react-dom.development.js:12507:9)
    at tryToClaimNextHydratableInstance (react-dom.development.js:12535:7)
    at updateHostComponent (react-dom.development.js:19902:5)
    at beginWork (react-dom.development.js:21618:14)
    at beginWork$1 (react-dom.development.js:27426:14)
    at performUnitOfWork (react-dom.development.js:26560:12)
    at workLoopSync (react-dom.development.js:26466:5)
    at renderRootSync (react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (react-dom.development.js:25738:74)
    at workLoop (scheduler.development.js:266:34)
react-dom.development.js:19849 Uncaught Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.
    at updateHostRoot (react-dom.development.js:19849:57)
    at beginWork (react-dom.development.js:21615:14)
    at beginWork$1 (react-dom.development.js:27426:14)
    at performUnitOfWork (react-dom.development.js:26560:12)
    at workLoopSync (react-dom.development.js:26466:5)
    at renderRootSync (react-dom.development.js:26434:7)
    at recoverFromConcurrentError (react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (react-dom.development.js:25750:22)
    at workLoop (scheduler.development.js:266:34)
    at flushWork (scheduler.development.js:239:14)

how can I fix it?

@zolzaya see the last entry here: https://remix.run/docs/en/v1/pages/gotchas#browser-extensions-injecting-code

@secretshardul Could you please fix the ESLint warnings/errors?

Seems this is so close, hopefully, the auto-close does not stop the effort.

I'm still getting errors :(

@zolzaya please open an issue if you're having problems, this is a pull request.
Also, I replied to you, and you didn't provide feedback on that. Makes it hard to help you :)

Thanks for the work on this, @secretshardul.  This fixes an issue I was seeing in the original example and reported as mui/material-ui#35131.  I hope this can be reopened and brought into the Remix examples repo.

This fixes an issue I was seeing in the original example and reported as mui/material-ui#35131.

I take that back.  At some point, after I import enough components, I get an Uncaught TypeError: createTheme_default is not a function.

In the case above, the error comes after I import the @mui/material/Box component - though this is not always the case (I have imported this same component without problems elsewhere in the same project).  In mui/material-ui#35131, I provided a minimal reproducible example.  With the setup in this pull request, it is more difficult to reproduce - though the same issue happens eventually.  Maybe an import cycle somewhere?


Navbar expand & collapse no longer working w 5.0.0-alpha.3

Issue description

version #5.0.0-alpha.3
components: Navbar

Hello, I recently upgraded to v5.0.0-alpha.3 - mainly to get rid of the tether warnings. In doing so, the NavBar stopped working.. The NavBar no longer expands and collapses as expected with previous versions... Are there any updated docs for 5.0.0-alpha.3 available showing how to get this working as seen here: https://getbootstrap.com/docs/4.0/components/navbar/ (collapse example)?
Here's my basic code snippet:
<Navbar light expand>
  <div className="container">
    <NavbarToggler className="navbar-toggler-right" onClick={this.toggle} />
    <NavbarBrand tag={Link} to="/xxx">XXX</NavbarBrand>
    <Collapse isOpen={this.state.navbarTogglerOpen} navbar>
      <Nav navbar>
        <NavItem>
          <NavLink tag={Link} to="/dashboard">Stuff</NavLink>
        </NavItem>
      </Nav>
      }
      <Nav className="ml-auto" navbar>
          <NavDropdown isOpen={this.state.dropdownOpen} toggle={this.dropDownToggle}>
            <DropdownToggle nav caret>
              {currentUserProfile.displayName || currentUserProfile.email}
            </DropdownToggle>
            <DropdownMenu right>
              <DropdownItem tag={Link}<EMAIL_ADDRESS>                My Profile
              </DropdownItem>
            </DropdownMenu>
          </NavDropdown>
        }
      </Nav>
    </Collapse>
  </div>
</Navbar>

The above used to work fine before upgrading to v^5.0.0
If I'm missing the new docs, please let me know. Thanks again
Thanks

the expand prop on Navbar looks to be the issue, expand without a value indicates that it should always expand. You can provide a breakpoint value (xs, sm, md, lg, xl) to have it expand at different breakpoints.
Checkout this quick demo using (mostly) your code (I removed things like Link and variables which are not important for the demo):
https://codesandbox.io/s/4r5k30xy3w (resize the preview panel to see it change)

I have updated the docs to show expand and remove toggleable since it it's use is depracated. I also changed the order of NavbarBrand and NavbarToggler so that it looks more like bootstrap's docs (and updated the navbar on the docs site itself).

thank you

I got the following warning
Warning: Unknown prop expand on  tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop  in nav (created by Navbar).
My NavLinks does not open on Large screen.
Please tell me how to fix it?

@Suban5 use the reactstrap alpha by following the installation instructions on the readme and/or the documentation site.


Fixed create dataset example

Fixes two issues in the Java documentation:

Fixed "Create Dataset" example: It's not necessary to create the ProjectDatasetLink explicitely.
Removed reference to upload method: The TransferFacility upload methods was experimental and has been removed again.

https://trello.com/c/aXTsTn5U/14-gateway
https://github.com/openmicroscopy/openmicroscopy/pull/5355

Staged at http://www.openmicroscopy.org/site/support/omero5.3-staging/developers/Java.html#write-data.


Error on contract call forwarding an assetId different from base assetId

fuels-ts SDK Version
0.94.0
Describe the Problem
when doing a contract call forwarding an assetId different from the baseAssetId of the provider, I am running into this error.

2 issues here:
1- estimated maxFee is not enough to pay for the transaction
2- even specifying a maxFee through .txParams, is not working, the estimation overrides my params
the issue 2 has already happened before and it was fixed, if it doesn't exist yet I suggest creating a test to make sure it doesn't happen anymore, something like:

create a contract
do a contract call infoming txParams
in the last moment before sending the transaction, the txParams such as gasLimit , maxFee, tip should remain the same as set before in .txParams

Reproduce
See it happening in this PR preview link https://github.com/FuelLabs/fuel-explorer/pull/455
you can use the Fuel Dev Wallet, or run @FuelLabs/fuels-wallet repo locally from master branch
Steps:

open the preview link of bridge app
click on asset "ETH" in input amount
in the "TKN" card, click in the faucet button
deposit TKN to Fuel
after deposit is completed
use the tokens received on fuel to start a Withdraw of erc20 TKN

Hey @LuizAsFight,
Struggling to reproduce this issue using the reproduction steps, I'm using the Fuel Development Wallet (v0.27.0) and the latest preview link provided. I get the following error when attempting to confirm the transaction on depositing of TKN:

I don't suppose you've experienced this before, or know a way to resolve this?

I did also observed that during settlement the getMessageStatus is return a NOT_FOUND state. I'm not sure if this is related.
{"query":"query getMessageStatus($nonce: Nonce!) {\n  messageStatus(nonce: $nonce) {\n    state\n  }\n}","variables":{"nonce":"0x00000000000000000000000000000000000000000000000000000000000e364e"},"operationName":"getMessageStatus"}

{data: {messageStatus: {state: "NOT_FOUND"}}}

hey @petertonysmith94 thanks for the answer turns out the issue was occurring only on account that have a InputMessage containing data. it would be reproducible only in fuel accounts that received a deposit from erc20 token in the bridge. that was my case.
this PR was created with the fix https://github.com/FuelLabs/fuels-ts/pull/3068
cc @Torres-ssf

@LuizAsFight Wish I could have been more of a help 😓


Modify Scoped lifetime description

I would re-define scoped services to explain that they are like singletons within a scope.An HTTP request, and outgoing HTTP client request, a SignalR hub invocation  are examples of unique scopes

@davidfowl I think description about scoped in the docs have confused many learner like me........Please improve it.


build issues with cmake

Recently something strange happened with my environment. I had Ubuntu 16.04 and upgraded to 18.04 in hope it will help, but it didnt.
My projects that has been building couple weeks ago now wont build because of this issue:
/home/chegewara/demos/tests/amazon-freertos/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c: In function '_appendData':
/home/chegewara/demos/tests/amazon-freertos/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c:465:13: error: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation]
             strncpy( ( char * ) _jsonContainerPointer( pContainer ), _JSON_NULL_VALUE, _JSON_NULL_VALUE_LENGTH );
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/chegewara/demos/tests/amazon-freertos/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c: In function '_appendBoolean':
/home/chegewara/demos/tests/amazon-freertos/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c:417:9: error: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation]
         strncpy( ( char * ) _jsonContainerPointer( pContainer ), _JSON_BOOL_TRUE, _JSON_BOOL_TRUE_LENGTH );
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/chegewara/demos/tests/amazon-freertos/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c:422:9: error: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Werror=stringop-truncation]
         strncpy( ( char * ) _jsonContainerPointer( pContainer ), _JSON_BOOL_FALSE, _JSON_BOOL_FALSE_LENGTH );
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
CMakeFiles/afr_serializer.dir/build.make:101: recipe for target 'CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c.obj' failed
make[2]: *** [CMakeFiles/afr_serializer.dir/libraries/c_sdk/standard/serializer/src/json/iot_serializer_json_encoder.c.obj] Error 1
CMakeFiles/Makefile2:670: recipe for target 'CMakeFiles/afr_serializer.dir/all' failed
make[1]: *** [CMakeFiles/afr_serializer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed

I even cloned clean AFR master branch (above logs are from it). Any help will be appreciated.

Full reinstall esp-idf and xtensa fixed problem.


Allow Instance.new("Model") :: (Model & {kid: BasePart})

--!strict
local a = Instance.new("Model") :: (Model & {kid: BasePart})
--Type Error: (68,11) Cannot cast 'Model' into 'Model & { kid: BasePart }'
--because the types are unrelated

It would be sensible to allow such casts. they are allowed in the old solver but not in the new one

From the looks of it, instances are not considered tables... here is a very similar warning:

type Widget =
	ButtonWidget |
	InputWidget

type ButtonWidget = {
	type: {
		Value: "Button",
	},
}

type InputWidget = {
	type: {
		Value: "Input",
	}
}

-- "Button" | "Input"
type WidgetClass = index<index<Widget, "type">, "Value">

A warning appears when i add roblox types:

type Widget =
	ButtonWidget |
	InputWidget

type ButtonWidget = {
	type: StringValue & {
		Value: "Button",
	},
}

type InputWidget = {
	type: StringValue & {
		Value: "Input",
	}
}

--Type Error: (57,20) Property '"Value"' does not exist on type
--'(StringValue & { Value: "Button" }) | (StringValue & { Value: "Input" })'
type WidgetClass = index<index<Widget, "type">, "Value">

AND it does not appear if:

type ButtonWidget = {
	type: StringValue & {
		Value: "Button",
	},
}

type InputWidget = {
	-- 'StringValue &' is missing
	type: {
		Value: "Input",
	}
}


Expose Report Stream Platform API Docs through WebUI (User/Developer portal)

User Story

Description/Use Case

Risks/Impacts/Considerations

As a Report Stream user / external developer / RS API consumer, I want RS API docs (swagger UI) be accessible from the user / developer portal (a.k.a Report Stream Front End).
Dev Notes

This falls in the front end code, so might need to reach out to experience team for help.
A proof of concept thing likes like below:

Click "API Docs" link on the portal web UI header, will open swagger UI in a new tab:

Acceptance Criteria

RS API docs swagger UI page exposed on RS Front End, and the API consumer - external developer / end user can try out API calls against the RS server behind.

@JFU-NAVA-PBC Please confirm if this is ready for grooming.

@bishoyayoub I create this ticket for Front End


Version 1.2.6 from 2/11/24 on 1.20.1: Crashes on startup and doesn't give me a crash report

All of my newer modpacks are unplayable as of last night due to the 2/11/24 update of this mod. Very disappointed.

update of this mod. Very disappointed.

Fixed in 1.2.7


After should accept 0 as an index

Issue Description
Currently after blows up if you pass in 0 as the index, which feels like a valid usage that should not crash things. The line that causes this is here.
If this gets maintainer approval I'm happy to make the change myself, given that its only a line or two :).
What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.58.1-24277B92 linux/amd64 BuildDate: 2019-09-06T09:19:04Z

Does this issue reproduce with the latest release?
Yes

If this gets maintainer approval I'm happy to make the change myself,

Approved, but please also add a test case.


0.33 Sonos devices no longer discovered. errors in log file

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.33.3
Python release (python3 --version):
3.5.2 on Windows 10
Component/platform:
Sonos
Description of problem:
Sonos devices are no longer discovered. Errors as below written to log file.
This includes both automatically using discovery and when adding a sonos component.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Log file entries(if applicable):
16-11-23 19:55:05 homeassistant.components.media_player: Error while setting up platform sonos
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\homeassistant\helpers\entity_component.py", line 150, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "C:\Program Files (x86)\Python35-32\lib\asyncio\futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "C:\Program Files (x86)\Python35-32\lib\asyncio\tasks.py", line 296, in _wakeup
    future.result()
  File "C:\Program Files (x86)\Python35-32\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Program Files (x86)\Python35-32\lib\concurrent\futures\thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\homeassistant\components\media_player\sonos.py", line 100, in setup_platform
    None))
  File "c:\ProgramData\.homeassistant\deps\soco\discovery.py", line 123, in discover
    list(s.getsockname()[0] for s in _sockets))
  File "c:\ProgramData\.homeassistant\deps\soco\discovery.py", line 123, in <genexpr>
    list(s.getsockname()[0] for s in _sockets))
OSError: [WinError 10022] An invalid argument was supplied

Additional info:

Typically I remove the sonos component entry again and restart and the sonos devices are discovered.


security/acme-client: some lexicon providers don't work out of the box

Describe the bug
I tried to issue a letsencrypt certificate at a Hetzner dns server through lexicon API (dns-01).
First attempt threw "please install lexicon" in the logfile. On my system there ist lexicon-3.7 in /usr/local/bin but no lexicon. I made a symlink lexicon pointing to lexicon-3.7 and tried again.
This it did more, but no success. So i wanted to try on the console and trying just "lexicon hetzner -h" gives "WARNING: some required dependencies for this provider are not installed. Please install lexicon[hetzner] first before using it.".
At this point I thought I'll write this bugreport before doing to many things manually on the system.
Is having lexicon-3.7 but not lexicon as command expected behaviour or a bug?
Are providers which need more depencies supposed to be working or not?
Is this the correct repository to file the bugreport?
Environment
OPNsense 19.7.6-amd64

@jpawlowski Since you're the only lexicon expert (lexpert?) I know, could you comment on this please? :)

I think the solution is documented here:
https://github.com/opnsense/tools/issues/156
Generally spoken, py-dns-lexicon needs to be installed manually as I believe the dependency from acme.sh package is still missing (didn't check on it).

Looks ok to me https://github.com/opnsense/plugins/blob/4bc92be30d3f5e9cbcf44c007344cdafdf1215d3/security/acme-client/Makefile#L5

On 16. Nov 2019, at 10:21, Julian Pawlowski<EMAIL_ADDRESS>wrote:

I think the solution is documented here:
opnsense/tools#156
Generally spoken, py-dns-lexicon needs to be installed manually as I believe the dependency from acme.sh package is still missing (didn't check on it).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

So it seems there is additional dependencies for some providers:
https://github.com/AnalogJ/lexicon/blob/master/setup.py#L34-L44
Für Hetzner it is dnspython>=1.15.0', 'beautifulsoup4'.
I'll prepare a PR for it

It would be nice to lay out all facts before pulling in more packages. There has to be an overview somewhere?

On 16. Nov 2019, at 10:36, Julian Pawlowski<EMAIL_ADDRESS>wrote:

So it seems there is additional dependencies for some providers:
https://github.com/AnalogJ/lexicon/blob/master/setup.py#L34-L44
Für Hetzner it is dnspython>=1.15.0', 'beautifulsoup4'.
I'll prepare a PR for it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

We do miss pre-compiled packages for:

PyNamecheap (provider: namecheap)
SoftLayer (provider: softlayer)
zeep (provider: subreg)
transip (provider: transip)
xmltodict (provider: plesk)
beautifulsoup4 (providers: henet, hetzner, easyname, gratisdns)
localzone (provider: localzone)

In my opinion, it is worth adding those packages:

beautifulsoup4
xmltodict (as plesk is quite universal)

I would leave out all of the other providers special packages unless someone really needs those.

Thanks for the effort to bring this in the distribution. I'll wait and try when it's ready.
Is the problem that "lexicon" gets called but there is only "lexicon-3.7" in /usr/local/bin also related to this?

Is the problem that "lexicon" gets called but there is only "lexicon-3.7" in /usr/local/bin also related to this?

This seems unrelated to me. However, not sure why the symlink would be missing. All my OPNsense instances here had the package installed manually using the OPNsense tools so it is not exactly what would happen to a clean install after the lexicon package was added to the distribution channels. However, build commands are the same so not sure where the missing symlink comes from. Maybe worth opening a separate issue for this.

So I wanted to give it another try and it seems to find lexicon and dns_hetzner.
However it's not successful:
[Sun May 31 14:49:39 CEST 2020] d_api='/usr/local/share/examples/acme.sh/dnsapi/dns_lexicon.sh'
[Sun May 31 14:49:39 CEST 2020] Found domain api file: /usr/local/share/examples/acme.sh/dnsapi/dns_lexicon.sh
[Sun May 31 14:49:39 CEST 2020] Adding txt value: XXXXXX for domain:  _acme-challenge.blah
[Sun May 31 14:49:39 CEST 2020] LEXICON_HETZNER_USERNAME='[hidden](please add '--output-insecure' to see this value)'
[Sun May 31 14:49:39 CEST 2020] LEXICON_HETZNER_TOKEN='[hidden](please add '--output-insecure' to see this value)'
[Sun May 31 14:49:39 CEST 2020] LEXICON_HETZNER_PASSWORD='[hidden](please add '--output-insecure' to see this value)'
[Sun May 31 14:49:39 CEST 2020] LEXICON_HETZNER_DOMAINTOKEN='[hidden](please add '--output-insecure' to see this value)'
[Sun May 31 14:49:39 CEST 2020] LEXICON_HETZNER_API_KEY='[hidden](please add '--output-insecure' to see this value)'
[Sun May 31 14:49:39 CEST 2020] LEXICON_OPTS='[hidden](please add '--output-insecure' to see this value)'
[Sun May 31 14:49:41 CEST 2020] Error add txt for domain:_acme-challenge.blah
[Sun May 31 14:49:41 CEST 2020] _on_issue_err
[Sun May 31 14:49:41 CEST 2020] Please check log file for more details: /var/log/acme.sh.log
[Sun May 31 14:49:41 CEST 2020] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/...

I copied the /usr/local/share/examples/acme.sh/dnsapi/dns_lexicon.sh to /root/.acme.sh/dnsapi/, set the enviromentvariables PROVIDER and LEXICON_HETZNER_TOKEN and did an
acme.sh --issue -d blah --dns dns_lexicon --debug 2
And it went fine. "The txt record is added: Success." instead "Error add txt for domain:_acme-challenge.blah".
I just don't know if this has something to do with the relative new Hetzner API introduction?

@nibblerrick The next version of os-acme-client will include native support for Hetzner DNS API, no need to use lexicon anymore.

I think the approach of lexicon somewhat contradicts the whole point of acme.sh: while acme.sh tries to eleminate the need for additional packages by implementing most stuff in Posix Shell, lexicon requires additional Python modules for many DNS APIs. As a result, it requires more project resources to support lexicon providers. :-(
I'll leave it this way for now. But in the future we should consider to focus more on implementing all available acme.sh DNS APIs and maybe deprecate support for lexicon after some time.


Fix new message indicator

Summary
We are iterating through the posts from newest to oldest and the message indicator was the first thing being added that's why it was always rendering below all the messages.
Also the new message indicator now shows when someone else posts a message and not the current user.

@hmhealey I think you are correct cause is probably adding it right after the last unread post instead of the first one.
it used to be at the end of everything,.. can you take care of this PR so I can work on the data cleanup?

@enahum I could use your review, but apparently I can't request it since you made the PR :p


v1.6.19 raises "TypeError: Cannot read property 'length' of undefined" error.

I was using the shapefile from here:  http://gis.fema.gov/maps/regions_hqs.zip to make a topojson like this:
topojson -o femaregions.json FEMA_Regions.shp

/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:78
      for (var rings = o.coordinates, i = 0, N = 0, n = rings.length; i < n; +
                                                             ^
TypeError: Cannot read property 'length' of undefined
    at Object.geomifyGeometryType.Polygon (/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:78:62)
    at geomifyGeometry (/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:27:94)
    at geomifyFeature (/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:16:7)
    at Array.forEach (native)
    at geomifyObjectType.FeatureCollection (/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:36:27)
    at geomifyObject (/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:8:27)
    at module.exports (/usr/local/lib/node_modules/topojson/lib/topojson/geomify.js:113:20)
    at Object.module.exports [as topology] (/usr/local/lib/node_modules/topojson/lib/topojson/topology.js:45:3)
    at output (/usr/local/lib/node_modules/topojson/bin/topojson:284:25)
    at notify (/usr/local/lib/node_modules/topojson/node_modules/queue-async/queue.js:47:18)

I forgot to mention that this is very similar to issue #137

Still happens...
└──<EMAIL_ADDRESS>eflowbeach:~/workspace/temp $ topojson -o femaregions.json FEMA_Regions.shp
/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:78
for (var rings = o.coordinates, i = 0, N = 0, n = rings.length; i < n; ++i) {
^
TypeError: Cannot read property 'length' of undefined
at Object.geomifyGeometryType.Polygon (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:78:62)
at geomifyGeometry (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:27:94)
at geomifyFeature (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:16:7)
at Array.forEach (native)
at geomifyObjectType.FeatureCollection (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:36:27)
at geomifyObject (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:8:27)
at module.exports (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/geomify.js:113:20)
at Object.module.exports [as topology] (/home/ubuntu/workspace/node_modules/topojson/lib/topojson/topology.js:45:3)
at output (/home/ubuntu/workspace/node_modules/topojson/bin/topojson:285:25)
at Queue._call (/home/ubuntu/workspace/node_modules/d3-queue/build/d3-queue.js:43:56)

Thanks, I’ve reproduced this in 2.0, and I’m investigating now.
$ geo2topo -q 1e5 regions=<(shp2json -n FEMA_Regions.shp | geostitch -n) > fema.json
(node:39961) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'length' of undefined
undefined:2
{"type":"Feature","properties":{"OBJECTID":2,"REGION":"REGION IX","CNT_REGION":4,"RuleID":5,"Shape_Leng":94.2020567973,"Shape_Area":101.933956038},"geometry":{"type":"MultiPolygon","coordinates":[[[[-122.40454859271671,37.314986906636875],[-122.40455666528311,37.315097816680066],[-122.40437345312318,37.31525768859359],[-122.4042055086432,37.31528067785888],[-122.40418251937797,37.31664283569944],[-122.40414461341379,37.31701276983085],[-122.40396140125387,37.31743184132313],[-122.40390068151504,37.317973756217725],[-122.40402247197386,37.318362818821754],[-122.40409845939269,37.318942815171056],[-122.40367149082454,37.319781835608524],[-122.40342755892573,37.32057575496833],[-122.40288564403113,37.32154463843108],[-122.40325943895522,37.3214447842941],[-122.40365657412565,37.322177632933915],[-122.40362533680337,37.32278763817146],[-122.40382346566219,37.323375707087166],[-122.40386944419271,37.32375687261532],[-122.40376344788564,37.32385567380885],[-122.40373256154447,37.32400887708053],[-122.

SyntaxError: Unexpected token { in JSON at position 14255687
    at Object.parse (native)
    at ReadStream.<anonymous> (geo2topo:111:46)
    at emitNone (events.js:91:20)
    at ReadStream.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

The failing polygon does look bad, in that it’s missing a coordinates array:
{
  "type": "Feature",
  "properties": {
    "OBJECTID": 6,
    "REGION": null,
    "CNT_REGION": 1,
    "RuleID": 0,
    "Shape_Leng": 0,
    "Shape_Area": 0
  },
  "geometry": {
    "type": "Polygon"
  }
}

It’s possible this is a bug in shapefile.

Fixes for null geometries incoming.
geo2topo -n \
  regions=<( \
    shp2json -n FEMA_Regions.shp | \
    geostitch -n | \
    geoproject -n 'd3.geoAlbersUsa()') | \
  toposimplify -p 1 | \
  topo2geo regions=- | \
  geo2svg -n -p 2 > fema.svg

Thanks - that was fast!


Updated the build tools version and added READ_EXTERNAL_STORAGE permission

Updated the Build tools version
Added READ_EXTERNAL_STORAGE permission. For some reason, it shows me the grant permission dialog two times- one after pressing "start" and another after pressing back.

Thanks for your help! Could you remove the junk files (like local.properties and the entire .idea directory), then I'll approve the PR?

I managed to delete local.properties. How to I delete the .idea folder?

Nevermind, figure it out. Are they gone now?

Ugh, there's also gradle.properties and the two .iml files :P

FML, this is my first time using github :-P They should be gone now.

Okay yep, NOW it's good (that took a while) 😅

Thanks, they should teach git in school.


data-control: Primary selection support

See https://github.com/swaywm/wlr-protocols/pull/34
There's quite a lot of changes in this PR, for two reasons:

There was an issue with the current implementation where data sources didn't track their usage correctly. Setting a data source as selection for two seats and subsequently changing selection of one of the seats freed the data source, even though it was still used for the second seat. Alternatively, setting a data source as selection for a single seat twice in a row would trigger this bug too (it would free the data source and then set the freed data source to the seat). The first commit adds appropriate tracking mechanisms to address this.
While data-control works in terms of wlr_data_source, the primary selection works in terms of wlr_primary_selection_source with no obvious way of converting between the two. Following @emersion's advise on the IRC, I changed the logic to have an internal data source object and create wlr_data_source and wlr_primary_selection_source objects as necessary. This also turned out to be required for the fix in the first point.

Anyway, I bombarded rootston with all the weird wl-copy and wl-paste invocations I could think of and fixed all of the crashes I encountered, so this should work.
This is my first experience with the wlroots code base, so while I read CONTRIBUTING.md, there can very well be some parts I changed in unidiomatic ways, which I'll be happy to fix if pointed out.
cc @emersion @bugaevc
Test version of wl-clipboard: https://github.com/bugaevc/wl-clipboard/tree/data-control-primary
Hack to make it work (currently has an issue):
diff --git a/src/wl-copy.c b/src/wl-copy.c
index 395c4cc..fa9a12b 100644
--- a/src/wl-copy.c
+++ b/src/wl-copy.c
@@ -300,10 +300,10 @@ void init_selection(char *mime_type) {
 }

 void init_primary_selection(char *mime_type) {
-    ensure_has_primary_selection();
+    /* ensure_has_primary_selection(); */

 #ifdef HAVE_WLR_DATA_CONTROL
-    if (data_control_supports_primary_selection) {
+    /* if (data_control_supports_primary_selection) { */
         struct zwlr_data_control_source_v1 *data_control_source =
             create_data_control_source(mime_type);

@@ -312,7 +312,7 @@ void init_primary_selection(char *mime_type) {
             data_control_source
         );
         return;
-    }
+    /* } */
 #endif

 #ifdef HAVE_WP_PRIMARY_SELECTION
diff --git a/src/wl-paste.c b/src/wl-paste.c
index 962fe3d..46fc03b 100644
--- a/src/wl-paste.c
+++ b/src/wl-paste.c
@@ -445,17 +445,17 @@ void init_selection() {
 }

 void init_primary_selection() {
-    ensure_has_primary_selection();
+    /* ensure_has_primary_selection(); */

 #ifdef HAVE_WLR_DATA_CONTROL
-    if (data_control_supports_primary_selection) {
+    /* if (data_control_supports_primary_selection) { */
         zwlr_data_control_device_v1_add_listener(
             data_control_device,
             &data_control_device_listener,
             NULL
         );
         return;
-    }
+    /* } */
 #endif

 #ifdef HAVE_WP_PRIMARY_SELECTION

Rebased to master and updated according to not allowing a data source to participate in multiple selections.

Fixed a typo.

Updated according to comment in the protocol PR.

Done.

Thanks!


Create ru_RU.yml

Russian translate.

I wanted to have someone look over this, so this is perfect. The durability tooltip also stood out to me (using Google translate), so I'm glad you pointed that out. Thank you both! ❤


Update create-apps-for-teams-meetings.md

Made changes to the signal API code snippets

Docs Build status updates of commit 831bad1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.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 fa4aa36:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.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 9384c3a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.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 bfb8593:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.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 411e752:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.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 637b1b1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.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


Fixed disk_info to support Snow Leopard, as the output now mimics new…

…er diskutil versions output.

Thanks!


[azure-messaging-eventhubs-cpp] publish version 1.0.0-beta.2

Update vcpkg ports for Azure SDK release. This release may contain multiple ports.

Adding azure-messaging-eventhubs to release
cc: @rickwinter, @ahsonkhan, @antkmsft, @vhvb1989, @gearama, @LarryOsterman

Thanks for the update!


Plugin is not compatible with DITA-OT 3.x

Hi,
I'm trying to replace my DITA-OT 2.5.4 with DITA-OT 3.1. We are using RelaxNG based DITA. The DITA-OT fails with:
Error: Failed to run pipeline: [DOTJ022F][FATAL]
Failed to parse the input file 'file:/C:/Users/x/DITA/test.ditamap'
because all of its content has been filtered out.
This will happen if the input file has filter conditions on the root element,
and a ditaval excludes all content based on those conditions.

Publishing DTD based maps and topics works with DITA-OT 3.x, so it is probably related to this plugin.
The README.md does not mention DITA-OT 3.x. Is a DITA-OT 3.x support planned?

Downloaded a DITA OT 3.1, copied this plugin to its "plugins" folder, run the integrator, created a RNG-based DITA Map having a reference to a RNG-based topic, run from the command line something like:
            dita -i D:\path\to\myMap.ditamap -f html5 -v

and it works for me.
Indeed the error you posted seems to indicate the reference from the map to the schema is not taken into account.
Maybe you forgot to add other specific specialization plugins to the DITA OT 3.1 plugins folder... or you have some kind of custom script which runs the DITA OT with a slightly changed class path, without using the "dita" script.

I seem to be running into this too. My Relax NG DITA topic transforms fine if the xml-model uses a filesystem reference:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="/home/chrispy/dita-ot/plugins/com.mine.docshell/doctypes/topic/rng/basetopic.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<topic id="testtopic123">
    <title>Topic Title</title>

This is a test.

</topic>

but it fails with the failure message if a URI reference is used:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="com:mine:docshell:basetopic.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<topic id="testtopic123">
    <title>Topic Title</title>

This is a test.

</topic>

If I install my document-type shell into Oxygen, the URI-based reference works properly. It is only when I use DITA-OT with the relax-ng-defaults plugin that the URI reference to my document-type shell does not resolve.
xephon2, I'm not ruling out user error here too. Did you figure something out that makes this work? Or do your findings match mine?

@chrispitude On what operating system are you working? Are you publishing from the command line or from Oxygen?
If you give me (not necessarily via this thread, you can email our tech support address directly) a precise set of steps (download dita ot, install RNG plugin, install RNG specialization integrate, what command line you are calling) + sample DITA project + specialization plugin I could try to reproduce the problem on my side and look into it.

@chrispitude, I kept using the 2.5.4 toolkit. To be honest, I cannot remember, if I fixed this error. But I used the OT 3.x with RNG in other projects, so it was probably my fault, probably a specialization bug.

@chrispitude, I kept using the 2.5.4 toolkit. To be honest, I cannot remember, if I fixed this error. But I used the OT 3.x with RNG in other projects, so it was probably my fault, probably a specialization bug.

This ended up being user error on my part. Radu found that I needed both  and  definitions in my docshell's catalog.xml file for the Relax NG code to resolve the catalog entries:
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <uri name="com:test:docshell:basetopic.rnc" uri="rnc/basetopic.rnc"/>
  <system systemId="com:test:docshell:basetopic.rnc" uri="rnc/basetopic.rnc"/>
</catalog>

@chrispitude I also updated the readme of the plugin with this information which was not stated anywhere.


Handle rummager and email-alert-api requests asynchronously in specialist-publisher-rebuild

https://trello.com/c/ITpVoqdD/141-offload-search-and-email-alert-requests-to-a-message-queue-when-publishing-medium
This is one of four pull requests to make the handling of rummagerand email-alert-api requests asynchronous in specialist publisher rebuild. We are making this change so that the application is more resilient to network and wider-system problems. Here are all the pull requests:

https://github.com/alphagov/specialist-publisher-rebuild/pull/792 (this one)
https://github.com/alphagov/govuk-puppet/pull/4478
https://github.com/alphagov/govuk-app-deployment/pull/16
https://github.gds/gds/development/pull/323

@elliotcm I have addressed comments. Please could you take another look? Thanks.


3702 legacy finality threshold

Modifies the legacy finality thresthold during a fast sync:

Adds a new chainspec parameter that tells how legacy blocks finality behave;
Fix the logic to take this parameter into account.

bors r+


ESD-483: Fix TOC for the QuickStart Guide

Signed-off-by: Ogunreku Praise<EMAIL_ADDRESS>

Codecov Report

Merging #54 into master will increase coverage by 3.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #54      +/-   ##
============================================
+ Coverage     70.82%   73.84%   +3.02%
+ Complexity     1565      972     -593
============================================
  Files           129       69      -60
  Lines          5454     3782    -1672
  Branches        818      398     -420
============================================
- Hits           3863     2793    -1070
+ Misses          981      762     -219
+ Partials        610      227     -383

Impacted Files
Coverage Δ
Complexity Δ

...e/msdkuiapp/routing/RoutingInstructionsFragment.kt

...java/com/here/msdkuiapp/common/PermissionsUtils.kt

.../com/here/msdkuiapp/routing/OptionPanelFragment.kt

...ere/msdkuiapp/routing/RouteManeuverListFragment.kt

.../here/msdkuiapp/routing/SubOptionPanelPresenter.kt

...m/here/msdkuiapp/routing/SubOptionPanelFragment.kt

...msdkuiapp/guidance/GuidanceNextManeuverFragment.kt

...om/here/msdkuiapp/position/LocationServiceUtils.kt

...ain/java/com/here/msdkuiapp/about/AboutActivity.kt

.../msdkuiapp/routing/RoutingIdlingResourceWrapper.kt

... and 51 more

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 4a7252a...300e9fa. Read the comment docs.


More clarity on drawbacks?

Hi! I'm a complete noob when it comes to no_std environments so please excuse me if the answer is obvious.
I stumbled across your crate here, and wanted to use it in my project to replace the std::error:Error in:
impl std::error:Error for InvalidSpec{}

I just wanted to know what I might be giving up/the drawbacks of doing so, or is it basically along the lines of plug and play?

This library is mostly for people who are looking for SOME kind of standard around their error return types :P unfortunately our current error spec is kinda of tied to the hip with std::error::Error which has heap value types.  This library mostly attempt to help people who are are using pure error code numbers or static strings in some ergonomic fashion consistent fashion
You always have the option of returning static strings as your error code!
The only draw backs of this library, is maybe you don't need the overhead of some random library for a super simple error structure :) but ... at the same time, i've recreated the wheel enough in my own no_std work that this library was valuable for me.

I'd love to know what direction you end up going with your project and its details!

Well, my project is to make the core sdk of CloudEvents SDK Rust no_std compatible, so I'm not sure if your library would cut it xD.
What makes it complicated is the fact that libraries like SNAFU have been used, and I need to somehow make the replacement library work with it as well. To sum up, I'm pretty lost :P


Typescript enum suggestion Chinese garbled code

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.88.0
OS Version: Darwin x64 22.6.0

版本: 1.88.0
提交: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
日期: 2024-04-03T13:28:18.899Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin x64 22.6.0
Steps to Reproduce:

Looks like this comes from the returned displayParts. This is the decoded json object:
  {
                "text": "\"\\u82F9\\u679C\"",
                "kind": "stringLiteral"
            }

Looks like this comes from the returned displayParts. This is the decoded json object:
  {
                "text": "\"\\u82F9\\u679C\"",
                "kind": "stringLiteral"
            }

Is this the intended effect? or a bug


Bump doc version examined by Vale

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/bce88f2a20324f44d35bb268d7d57c403bacf048/

Good question -- I defer to Jesse =) My gut says we run Vale on whatever is the current stable version, since that's what most users interact with.


Register 0.x

Let’s register sometimes

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/64091
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" ec0717ea161de124e549fe918e59c263bb3f5435
git push origin v0.2.0


No module named flask

Hi, I am using this repository as in the beginning of your book, but when I run the command ./app.py &, I get an error ImportError: No module named 'flask'.
I tried simply to pip install flask, but I got a Permission Denied error. Or even when I do sudo pip install flask, it looks to install correctly, but I am still getting that ImportError.

Ok, found out what the problem was.
Some of the libraries have "vanished", which means pip can't install everything. Which is weird, as authors shouldn't remove old versions.
Anyway, I've updated the requirements file, though I dont know if this will have an effect on anything else.
Anyway, I've done an update. You'll have to do:
vagrant up --provision
to force it to install everything again.
PS: Im surprised you're the only one who noticed the problem; it means you're te only one who ran the code! Well done.
I'll leave this bug open in case you find more problems.

I ran vagrant up --provision in the directory that I had all the files in, and it seemed to reinstall everything. But I'm still getting an error
vagrant@vagrant-ubuntu-trusty-32:/vagrant$ ./app.py &
[1] 2002 vagrant@vagrant-ubuntu-trusty-32:/vagrant$ Traceback (most recent call last):   File "./app.py", line 3, in <module>     from flask import * ImportError: No module named 'flask'

Did you do a git pull to get the latest changes?
If so, do you mind running (within vagrant):
sudo pip3 install -r /vagrant/requirements.txt

Ok. Now I no longer get the importerror for flask. When I try running the same command as above, I get this error:
[1] 2905
vagrant@vagrant-ubuntu-trusty-32:/vagrant$ -bash: ./app.py: Permission denied

Try python app.py

On 17 Mar 2017, at 15:42, Scott Cole<EMAIL_ADDRESS>wrote:
Ok. Now I no longer get the importerror for flask. When I try running the same command as above, I get this error:
[1] 2905
vagrant@vagrant-ubuntu-trusty-32:/vagrant$ -bash: ./app.py: Permission denied
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

cool! I can get the website to work and logged in with Perry.Platypus.
But python app.py & doesn't let me keep running commands.


PowerPC binary build failure "relocation truncated to fit: R_PPC64_REL24"

The build failed during linking with
libthread_local-14bdf71b2f8c428a.rlib(thread_local-14bdf71b2f8c428a.thread_local.9165f86b66b4614-cgu.0.rcgu.o): in function `thread_local::thread_id::get_slow':
          thread_local.9165f86b66b4614-cgu.0:(.text.unlikely._ZN12thread_local9thread_id8get_slow17h6b636cdf3f4cc69eE+0x250): relocation truncated to fit: R_PPC64_REL24 against symbol `__tls_get_addr' defined in .text.__tls_get_addr section in /usr/local/musl/bin/../lib/gcc/powerpc64le-unknown-linux-musl/11.2.0/../../../../powerpc64le-unknown-linux-musl/lib/libc.a(__tls_get_addr.lo)
          /home/runner/work/uv/uv/target/powerpc64le-unknown-linux-musl/release-no-lto/deps/libuv_installer-2b553695d2f31d2e.rlib(uv_installer-2b553695d2f31d2e.uv_installer.2988552f99df20af-cgu.04.rcgu.o): in function `std::sys::thread_local::native::lazy::Storage<T,D>::initialize':
          uv_installer.2988552f99df20af-cgu.04:(.text.unlikely._ZN3std3sys12thread_local6native4lazy20Storage$LT$T$C$D$GT$10initialize17hc81f5ebe44f2f56dE+0x34): relocation truncated to fit: R_PPC64_REL24 against symbol `__tls_get_addr' defined in .text.__tls_get_addr section in /usr/local/musl/bin/../lib/gcc/powerpc64le-unknown-linux-musl/11.2.0/../../../../powerpc64le-unknown-linux-musl/lib/libc.a(__tls_get_addr.lo)
          /home/runner/work/uv/uv/target/powerpc64le-unknown-linux-musl/release-no-lto/deps/libuv_installer-2b553695d2f31d2e.rlib(uv_installer-2b553695d2f31d2e.uv_installer.2988552f99df20af-cgu.10.rcgu.o): in function `rayon_core::registry::Registry::in_worker_cold':
          uv_installer.2988552f99df20af-cgu.10:(.text.unlikely._ZN10rayon_core8registry8Registry14in_worker_cold17h7266177902601b2eE+0x2c): relocation truncated to fit: R_PPC64_REL24 against symbol `__tls_get_addr' defined in .text.__tls_get_addr section in /usr/local/musl/bin/../lib/gcc/powerpc64le-unknown-linux-musl/11.2.0/../../../../powerpc64le-unknown-linux-musl/lib/libc.a(__tls_get_addr.lo)
          collect2: error: ld returned 1 exit status

ref https://github.com/astral-sh/uv/actions/runs/12265976138/job/34223179814?pr=9791
See https://stackoverflow.com/questions/10486116/what-does-this-gcc-error-relocation-truncated-to-fit-mean

Attempting a fix in https://github.com/astral-sh/uv/pull/9791/commits/e579d038ee62e99d38f54104fd5e8960dfe35ce5

Also tried

Reverting the microarchitecture change (https://github.com/astral-sh/uv/pull/9791/commits/ef59b4e98e7ba099935cc6b0ac1ea07c8abcad01)
Reverting the cc upgrade (https://github.com/astral-sh/uv/pull/9791/commits/61433bb6ed89b05e7625c608948b5ff2a1bda481)
Reverting the entire cargo update commit (failed due to merge conflicts I didn't want to resolve)

I got the compiler flags to go through, but they don't solve the issue

https://github.com/astral-sh/uv/pull/9796/commits/0e0fd1d66ffea99fdb868d9ff413a0f29ed120ce

The trace suggests some sort of interacting between uv-installer, rayon, and tracing-subscriber

The cross-build Docker image (ghcr.io/rust-cross/rust-musl-cross:powerpc64le-musl) is identical

I re-ran the 0.5.7 version bump CI job to see if that would still pass https://github.com/astral-sh/uv/actions/runs/12207650814

I think the next step is to do a bisect, though I suspect we've just reached some threshold of complexity that the linker has problems with on powerpc.

We are going to drop support for now, see https://github.com/astral-sh/uv/pull/9810


Number of cores ?

Hi,
How can I control the number of cores/thread used ?
Thanks

Hi @divyanshusrivastava,
Consider using Summit, an ultralight and fast version of GoPeaks that uses 1/5 the memory and 1/3 the time to process your samples. While Summit is limited to using one core, I think its efficiency can benefit every user.  Please let me know if this is helpful for your analysis!


Prerendering

Prerendering is important for SEO & SMO,  website performance and it allows to use Rust frameworks as static site generators.
Seed templates use react-snap as a non-Rust prerendering tool.
I think we can assume that wasm-bindgen automatically downloads needed webdrivers and there is a browser already installed on the target platform to make testing possible.
So we should be able to implement prerendering using one of these crates:

https://crates.io/crates/fantoccini
https://crates.io/crates/thirtyfour
https://crates.io/crates/lw-webdriver
https://crates.io/crates/rusty-driver

@MartinKavik just a quick response here. Given how SSR typically works, I'm thinking that it would be best to ship this functionality as part of the trunk library being designed over in #9. We could add feature switches for the major web server frameworks (tide, warp, actix-web &c), and then folks could just use the trunk::ssr (server-side rendering) middleware to render their app for the HTTP response. The framework used on the frontend wouldn't make a difference.
Thoughts?

I'm not sure if it's directly related to SSR or webserver frameworks. I just want to start Trunk's dev server and generate HTML files automatically through a browser.
In the Seed quickstart, it's the command build:prerender: https://github.com/seed-rs/seed-quickstart-webpack/blob/master/package.json#L12. It's basically a very special case of build:release.
However I understand it may not have to be included in the Trunk core. I've just created thit issue because it will be a show-stopper for moving seed-rs.org and other projects to Trunk.

It is a comment for information. Is there a desing for this proposal.


CI: try to get rid of conda timeouts

Try to get rid of conda timeouts by replacing the conda command with one that always uses travis_retry instead.

Straightforward CI change, so merging.

Heh, of course there's a mistake when you merge fast...
conda --yes update conda probably overwrites the replaced conda script, so it should be above the replacement. Fixing ...


Incorrect healthcheck config in the template

I think the provided config is incorrect and will not work as intended due to incorrect priorities and check script weight:

Master has priority of 100, BACKUP has priority of 50
vrrp_script chk_service has weight of 2 - there is no way a failed check can make BACKUP priority > MASTER priority

Change the script weight to -51 or tune the priorities so that the script can influence which node has more priority.
https://serverfault.com/questions/718132/keepalived-vrrp-script-not-failing-over

I think the provided config is incorrect and will not work as intended due to incorrect priorities and check script weight:

Master has priority of 100, BACKUP has priority of 50
vrrp_script chk_service has weight of 2 - there is no way a failed check can make BACKUP priority > MASTER priority

Change the script weight to -51 or tune the priorities so that the script can influence which node has more priority.
https://serverfault.com/questions/718132/keepalived-vrrp-script-not-failing-over

Yep that is correct master weight should be 1 point higher than slaves, 51 or 101.


extend documentation

It took me a while to figure out why my project with @nestjs-cognito/auth on production does not work as on my local machine, guess what? On local I do have dev dependencies which includes the peerDependency ¯\_(ツ)_/¯
I believe to extend the existing documentation with a small hint for installing peerDependencies could make sense.

Hello Maik!
Thank you very much for your feedback and I'm really sorry you had to investigate this issue in production.
Patch version 0.2.9 has been released, @aws-sdk/client-cognito-identity-provider dependency scope changed from peerDependencies to dependencies.
Please let me know if you encounter this issue again.

Hi Loïk,
thanks for your response and the adjustment inside the package. To have this fixed within the package is the better solution, I agree. Thanks for the great work, keep going!


Improve Python image input behavior for native data

Python bindings of ImageInout.read_image, read_scanline, read_scanlines,
read_tile, read_tiles:

If you ask for HALF, since there is no half in Python, return the half
values packed into an 'unsigned short' array. (Old behavior was buggy
and confusing: it packed the half values into a float array of half
the expected size.)

If you ask for UNKNOWN, like in C++ it means to give the raw/native
data, packed into an 'unsigned char' array. (Old behavior was that
UNKNOWN signified to return data in the type specified by spec.format.
Now, if you want spec.format, pass spec.format.)

Let the default be type=FLOAT, generate a float array. (Old default was
UNKNOWN spec.format.)

I merged into master. I'm going to let it sit in master for a few days, and if nobody complains, then I'll backport it to RB-1.6.