docs(#146): backfill docs with sections

Resolves #146
Impact: minor
Type: docs
Component

Docs: Adds ### Overview and #### Usage to all pages
Docs: Reorganizes sidebar and adds a MiniCart section
Chore: Changes the addcomponent script to make a new Markdown file with this template:

### Overview

#### Usage

Screenshots
Docs look all better!
Breaking changes
no
Testing

run docker-compose run --rm web node .reaction/scripts/addcomponent MyComponentNew
Check the template to see if it matches:

### Overview

#### Usage

🚀 Preview deployed
Built with commit a0d064696670111bda8fdbb257bb5c67772da53b
https://deploy-preview-166--stoic-hodgkin-c0179e.netlify.com

:tada: This PR is included in version 0.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Edited demo screencast-dsa-accel-config.

Replaced 'master' with 'main' on lines 78, 79, and 80. Related to issue 499.
Signed-off-by: DougTW<EMAIL_ADDRESS>

closing in favor of rebased version: #585


ML benchmark tool

A standard ML benchmark tool is needed for ANT framework.
There are the following reasons

Measurement of execution time and memory usage when running ML job on ANT framework
Comparison between the latest ML frameworks

ML framework candidates

[ ] ArmNN
[ ] TensorFlow
[ ] MXNet
[ ] PyTorch
[ ] Caffe

We have model database and kernel database in another repository. Link
As I think, ML benchmark and kernel database are duplicated task.
I close this issue.


Stop using some deprecated proto facilities

This stops using deprecated proto facilities (ByteSize() and SetTotalBytesLimit(int, int)) as well as migrating the CompilationUnit::FileInput.context field from deprecated to removed

I have a change restoring and emitting the context field from the extractor (as well as using details) for a more gradual rollout, but am stuck behind the bazel 0.16 change.

PTAL


[BUG - 2.x] Lua Async APIs cause crashes

Branch or Release
main 2.x
Game and Engine Version
all
Describe the bug
Currently async APIs will execute the same lua_state in a separate OS thread. Two instances of lua_newthread for the same lua_state cannot be safely used from two OS threads, as you corrupt memory if a simultaneous allocation, GC occurs, or access occurs.
All async APIs will eventually crash because of this. lua_lock is not sufficient, and all places where LuaMod runs the lua VM async or not needs to hold a shared lock. This may introduce stuttering for fast-running async tasks as the game thread waits for it in processevent. Async tasks could be turned into things executed at the start of each processevent if the time the task is registered for is past a certain delta. Long-running tasks will still cause hitches, but this is unavoidable.
To Reproduce
For a given game, registerhook something frequent and LoopAsync, RegisterHotkeyAsync or ExecuteDeferred with a low delay. You will eventually crash.

The current plan for this is to leave it alone in 2.X, and we'll make breaking changes in 3.0 to fix this.
The changes will likely be switching as much stuff as possible to execute within the game thread, using queues if necessary, and functions that are explicitly async will not have direct access to any variables defined at file/global scope but hopefully we'll have a safe API to use for variable access.


Cart Management

@pooranjoyb
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Add product to cart as well as on Supabase [One to Many relationship] #109
Fixes # 109
Type of change
Please give a X on it which is applicable

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactor Code
[ ] A documentation update
[ ] Others(mentioned in the issue number)

How Has This Been Tested?

when user add any item to cart it also display in supabase cart table

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
Screenshorts and Vedios:

Checklist:
give a X on it which is applicable

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@pooranjoyb
please check this and merge it

Hii @dhruv8433 why aren't you using the Cart-Slice we need to store that in store too. Maintain that too.

@pooranjoyb
now you can check it and merge it :

@pooranjoyb
please tell me if you want any kind of modifications...

@pooranjoyb please tell me if you want any kind of modifications...

Can you show me a video demonstration @dhruv8433
It's not working on my end :/

Ok i will share you video

@pooranjoyb
please check this and merge it
if you face any issue then inform me

@pooranjoyb
please check this and merge it if you face any issue then inform me

@pooranjoyb
please check this and merge it if you face any issue then inform me

@pooranjoyb
please check this and merge it if you face any issue then inform me

Dude, why Buy Now adds to cart. The flow is different. User should go to the Product-Details page and Add to Cart button should do that logic. Please update it. @dhruv8433

@pooranjoyb
Ok ok
Got it

@pooranjoyb
now you can check it

check build errors by running npm run build in you local machine.

completed build

@pooranjoyb
now you can check this
i completed my task as you said
please check this and merge it

@pooranjoyb
deployment and build both are completed
please merge it

@pooranjoyb
Please when you become free
Merge it

@pooranjoyb
Please when you become free Merge it

Hii @dhruv8433 really sorry, I was occupied few days. Okay I've seen the deployment. Everything is working fine but just one improvement.

There are static images in the cart.
Make sure that, when Product is added to Cart it is should in the Cart page.
Use the slice or supabase-table to render the items added to cart.

That'll do. I'll merge once this part is done. 🚀

@pooranjoyb
i need help when i try to add product for same user it give me cors error
can you please tell me how to resolve this
can you allow cors from supabase ?

@pooranjoyb
i need help when i try to add product for same user it give me cors error can you please tell me how to resolve this
can you allow cors from supabase ?

please check in supabase. RLS is already disabled. I guess you already have an access. @dhruv8433

@pooranjoyb
i tried many times but i can't find allow origin cors in supabase dashboard
can you please help...

@pooranjoyb
now everything working as expected
please check this and merge it

output:

@pooranjoyb
https://github.com/pooranjoyb/popShop/assets/114583978/7f2a720e-871e-4a1e-9739-5166d3805293

@pooranjoyb
now you can merge it
please check everything working as expected

Awesome work @dhruv8433 🚀
What was the issue with cors tho ?

@pooranjoyb
no i just redisable RLS and try than it worked

please merge it

please merge it

Dude it ain't working, just checked the deployment. :/
screen-recorder-sun-jun-09-2024-18-59-44.webm

Please lmk if I'm missing something, do create a new record if the user doesnot exist in the table. @dhruv8433

@pooranjoyb
just wait i provide you a video

A hell loota work, init @dhruv8433 ? 😆
But yeah at the end its working. So, well done! 💯

Thank you @pooranjoyb
idk why video not downloaded bu thanks again

Thank you @pooranjoyb
idk why video not downloaded bu thanks again

But yeah there is still one issue. I guess that's probably easy to work around.

The functioning is working properly in a single browser but not in other browsers as you are fetching data from redux store.
while rendering the cart items fetch it from db and show.
Although the admin has two items in cart its not showing up in carts page.

@dhruv8433
you can work on this in a separate issue. 👍🏼

@pooranjoyb
Ok i will create separate issue for thay


Is there a training code for DUP-Net?

no, I basically convert their weight since I only need it for testing


Clarify e2e readme for running on firebase test lab

Description
A few lines update to readme about how to run e2e tests on firebase test lab.
Update for kotlin is still a to-do.
Related Issues
N/A
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@dnfield PTAL


Can't find 'Playwright Test for VSCode' output?

My test seems to not execute properly. I wanted to debug this by checking the output logs but it seems I can't find it?
What am I missing?
https://user-images.githubusercontent.com/16015833/155271569-b8a67614-eea1-4120-a893-51fd7f440746.mp4

@baptisteArno - On the extension toolbar, you will see a button with a square border with an > inside.  Click that to get your output. It will open a new terminal window :)

Right, perfect! Thank you 😊

Closing since it seems answered.


Don't spam the console

I guess that this line spams sublime's console with the current directory. Every some keystrokes a path gets printed.

Yah. Also noticed this.

Fixed in #23


Improve the status message

Sometimes status messages hit a race condition. Most obvious is a competing Log submit and log incomplete upon clear message

The REAL issue here is that when you tab-over focus on the Log button and then hit ENTER, the form is submitting (i.e. check + log) and then trying to submit a second time (check fails after log cleared).

dcfcaeb2c62fd9f1c4040033b063755996d8f2b0

NOpe

da29d5e72dd2b49a5618797ab807e9c0b0edeffd


[Bug] Implement some of Scrutinizer's suggestions

After the v5 launch, our perceived code quality has dropped, from 9.08 to 8.64:

We should take a look at what we've done to deserve this criticism from Scrutinizer 😅 and see what (if anything) we should do about it. I liked that we were over 9 before. And some of its suggestions are sensible.

I hardly see Scrutizner being used nowadays in PHP packages. Not sure how relevant it is now.
how about installing larastan and rector php in dev-develop and try to push for higher PHPStan levels in areas where possible? alternatively vimeo/psalm but their laravel plugin updates seem slower


feat: array_contains

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/6557
Rationale for this change

What changes are included in this PR?

Are these changes tested?
Yes

Are there any user-facing changes?
Yes

I will find time to review this PR, but maybe not until Monday

The other thing I think would help this PR is some tests for the array version in .slt (rather than just scalar) but I will write those as a follow on PR (as I want to get some experience with these functions myself).

@alamb I think it would be better to create a separate array function ticket with columns (Since I considered only scalars as arguments). (See the tickets: https://github.com/apache/arrow-datafusion/issues/6693 and https://github.com/apache/arrow-datafusion/issues/6709).

Indeed @izveigor  -- in fact I found exactly the same bug when writing the tests --  https://github.com/apache/arrow-datafusion/pull/6771

Thanks again @izveigor


Move windows Java process kill logic to JenkinsfileBase and enhance

Moved post job Java process kill logic from maketest.sh to JenkinsfileBase so that it is always invoked as part of the Test job teardown and before the WS-CLEANUP.
Also enhanced the logic to iterate until no more Java processes, as they get spawned by the remaining processes.
Also added "CleanBeforeCheckout" to the openjdk-tests GitSCM checkout so that in the case where test material has been left following a bad job, it is cleaned...
Signed-off-by: Andrew Leonard<EMAIL_ADDRESS>

Clean mac test: https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk11_hs_sanity.openjdk_x86-64_mac/444/console
Clean xLinux test: https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk11_hs_sanity.openjdk_x86-64_linux/464/console
Clean Windows test: https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_sanity.openjdk_x86-32_windows/454/console

Aborted Tests:
https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk11_hs_sanity.openjdk_x86-64_mac/446/console
https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk11_hs_sanity.openjdk_x86-64_linux/467/console

In testing left over Java processes by doing a manual "abort", it demonstrated that Java processes can still be launched by the still running testcase "sh" process, hence the best effort iterate until no more Java processes. That is probably a more extreme testcase for this PR, as general left over Java processes are most likely orphaned from their test shell script.


Update release notes

Update release notes to include logging into npm as percy-admin, and the new branch based merge method instead of pushing new versions directly to master.

Rolled some updates into #163. Going to close this one up 👍


Fixed height breaks due to !important in responsive rule

When using the height option, the Javascript correctly sets the modal-body style to "overflow:auto; height: 666px", but this rule does not take effect because of the !important in:
@media (max-width: 979px) {
	.modal-body,
	.modal-overflow .modal-body {
		position: static;
		margin: 0;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}
}

Can the !important be avoided?  It's usually a bad idea.  Perhaps it is only needed for .modal-overflow ?

So do you mean that the following is the intent?
.modal-body {
    position: static;
    margin: 0;
    height: auto;
    max-height: none;
    overflow: visible;
}

.modal-overflow .modal-body {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}


SAP HANA XS Advanced, Connecting to the WebIDE and cloning a Git Repository to begin development

The URL for WebIDE may vary from system to system.
One should run "xs app webide -urls' instead to obtain the correct URL avoiding usage of IP addresses and port mistakes.

Hi, Ivan,
Thank you for the feedback. The tutorial in reference does not aim at a specific hostname or IP (IP would not work, actually). Where do you see a reference to a specific hostname?
Thanks,
Lucia Subatin.

HANA setup may vary and you might end-up with either port assignment for each service or hostname for each service (similar to what we have on SCP). In the case the setup is for port setup you are correct. The HANA XSA will assign port 53075 for WebIDE. But that may not be the case always. In a Cloud Foundry setup such as XSA it is wise to always check the URL that has been assigned to the WebIDE before trying to access it. That's why I mentioned this here. Apparently there is an implicit assumption that services will be assigned ports rather than names.
If it is a prerequisite that this howto will use a predefined server where port 53075 is expected you are correct. All I am saying is that the right way to find out which is the URL is by issuing the xs cli command mentioned above and this will work regardless of the system setup you have (be it the pre-installed image on Azure, Amazon or an on-premise installation).

I'll take you are suggesting to add instructions to find out the Web IDE URL.


Router should ignore clicks from outside the app container

Describe the problem
I had a follow-up thought about https://github.com/sveltejs/kit/issues/6914. In cases where people are using SvelteKit to generate embeds that sit in a larger application, it's necessary to come up with elaborate workarounds to prevent clicks in the main app nav (for example) being handled by SvelteKit's router.
If we instead only listened for click events coming from inside the part of the app SvelteKit controls, it would be very easy to embed SvelteKit apps elsewhere.
Describe the proposed solution
I'm pretty sure we would just need to replace https://github.com/sveltejs/kit/blob/93712f09e955c1d9c8d8d7f838fa56d98290251a/packages/kit/src/runtime/client/client.js#L1393 and other calls to addEventListener(...) with target.addEventListener(...).
The only downside I can see is that links inside src/app.html outside %sveltekit.body% wouldn't trigger the client-side router, but a) you can work around it if you really need to with goto, and b) i would be astonished if anyone was doing that. Technically a breaking change, of course, so we should do this quickly if we intend to do it at all.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

After some time debugging, I found that this change actually broke something I guess is pretty common in "real" apps. When using a framework to build interactive tooltips like popper, we started to see weird behavior.
We are trying to fix this, by making sure popper attaches "inside" the app, instead of doing document.body.appendChild(.... Mostly leaving it here, if other people should encounter a similar issue 😎


Changing confusing wording about C++ exceptions

The text mentions std::throw, but such a thing does not exist in C++ or the C++ standard library.

@hannes-harnisch : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@corob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


I'm having fun


Package license file (2nd attempt)

Closes https://github.com/conda-forge/notebook-feedstock/pull/21
Makes sure to package the license file.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Travis CI joins us now! 🎉


chore: optimize computing next difficulty

In the block validation code, computing the next difficulty traverses back 2,016 blocks linearly. Given that these code paths will be using stable structures, this is quite wasteful. The interface of HeaderStore has been modified to allow fetching a block using its height, so that traversing 2,016 blocks is now done in one single call.

Can you add a short description explaining what exactly we enhance? I believe there are no functional changes but it's also not very clear to me what has been enhanced. I'm assuming it might also be setting the stage for something else coming up in a follow up?

I agree, it wasn't not clear at all. Done. Updated the PR title and description.


How to disable the right side toolbar?

On my project I want a very simple Rich Text Editor and I saw that I can configure which options of slate I want.
My question is? How can I disable the right sidebar menu? Should I just hide with CSS or there is a more elegant way that the lib allows me to do?

poor mans way is indeed hiding the right sidebar.
We could also add an option to disable it in @react-page/editor so that it does not get rendered at all.

I prefer to have that option, cause I don't wanna render and hide with CSS 😄 It's not a good approach

@matheusrocha89 if you want, you can open up a PR for that <3

I will, for sure. I can start work on that later tonight

@matheusrocha89 basically you need to adjust this line: https://github.com/react-page/react-page/blob/master/packages/ui/src/EditorUI/index.tsx#L19
something like displayModeBarDisabled ? null : <DisplayModeToggle stickyNess={stickyNess} />
and then you would need to pass this prop through https://github.com/react-page/react-page/blob/master/packages/editor/src/editor/EditableEditor.tsx
not sure what the best name would be for the property 🤔

Got it. Gonna do that, thanks @macrozone

@macrozone I already did the changes, it seems that I discovered where to change by myself, when I checked your message I saw that was the same file and the same place I did the change. The project structure was good and easy to understand 😄 .
Just one question: How is the structure of the tests? I saw that was not by component.

@macrozone I already did the changes, it seems that I discovered where to change by myself, when I checked your message I saw that was the same file and the same place I did the change. The project structure was good and easy to understand 😄 .
Just one question: How is the structure of the tests? I saw that was not by component.

tests are not that good structured, feel free to use what makes sense for you

👍

:tada: This issue has been resolved in version 0.30.0 :tada:
The release is available on:

v0.30.0
GitHub release

Your semantic-release bot :package::rocket:


Feature: Set default for batching duration flush

Feature description
Flushing based on both size and duration in destination batching

Both default to 0 currently.  Currently the user can either turn on batching by size or duration.

We will likely handle this in next release.


get_resource_limits() in privileged api should be accessed by everyone

Now only the privileged account can access the privileged api, this is true.
However, I think the get_resource_limits should be take out of it because it is just a get-action.
Two reasons:

My contract can know how much ram or net or cpu has been used when an inline action is executed, then it can decide if to accept it or not.
When transfer token to others, if others' account take your ram, then you can monitor it and let the transfer fail.

Now we can only get account usage with the RPC, but not in the contract, is it right?

agree with this. But it's not an easy change, as it might result in hard-fork or non-replayable chain.

@taokayan Why can it result in a hard-fork? It is a new action that  no contract have used before.

@qimiaoguo the issue that creates a hardfork is the change in access to the get_resource_limits intrinsic.  consider a deployed un-privileged contract that uses this intrinsic in an action called forkchain which does nothing but call this intrinsic.
Any validator/producer that is running a version before this change would consider any transaction that includes forkchain to be a violation of the protocol as it calls an intrinsic that the software considers to be "privileged-only"
Any validator/producer that is running a version after this change would consider any transaction that includes forchain valid.
So, any block that includes said transaction is a hard-fork point where any old client will fork out of the network and only new clients will be able to proceed.

additionally get_resource_limits provides limits, not usage.  So it cannot detect when an account has used your accounts resources in an unexpected way.

Agreed that getters like get_resource_limits and get_blockchain_parameters_packed should be available to everyone.


Supporting both timeline and blog posts

Hello,
Thanks for the theme, it's really simple and beautiful.
But I think that it would be even greater if you could support both timeline updates and posts.
i.e. blog posts would go under _posts and timeline under _timeline.
I am willing to contribute on that (if you decide that it make sense as a feature). Do you have any pointers of how to integrate this change?
Thanks!
:panos

I'm not sure how to go about this. You can just have an index page, or a timeline page that gets included, and let Jekyll do it's normal blog posting thing. I opted against this because I didn't need a blog for the site I was working on, and I wanted a way to update the timeline just like I would update a blog site with a new post.
If I also needed a blog, then I would just hand code the timeline HTML and use the posts for the blog instead of generating the timeline from the post.

After I found that jekyll cannot distinguish different post categories, I had the same idea.
Given that the frequency of the timeline additions is too small compared to the blog posts, it makes sense to strip the html and include it and then let jekyll handle the blog posts.
Thanks!


bug(CFF): Hotfix cff doi

The DOI in a CFF is wrapped in an identifier object like so:
identifiers:
- type: doi
  value: 10.5281/zenodo.3555620

Our script was looking for doi objects like this:
doi: 10.5281/zenodo.3555620
Only the first case is a valid CFF format, so we must iterate through the identifier's, pick only the ones that are typed as doi, and return the value.

Only commit https://github.com/sdsc-ordes/gimie/pull/121/commits/4f5ef97d5d06df5704c3ee3fa17ba599622f462e onwards is actually new/relevant. Soz

Thanks for your good points!

Thank you for the nesting tip - looking at your change it does make sense. I was under the impression that the nesting didn't matter - if my first
    try:         identifiers = cff.get("identifiers", [])
would evaluate as false, that it would not continue the rest of the try block. If that's a bad assumption, I can see how splitting it into two blocks would speed it up.
also: return doi_urls or None is 🇳🇮 ce . That's neater in any case than if'ing it.


@1.11.0 - puppeteer, dep update

close #293

Coverage: 99.244%. Remained the same when pulling 2ed45a7dfba2cf7e0979c2ac0b5363b307c93a74 on rc-1.11.0 into e9d2aae9a04e067e731df261d21c70daa50efde7 on master.


luci-mod-network Route silently fails if host address left in target network.

Steps to reproduce:

go to: Network → Routing
Click Add
Configure a route with the following: Interface: 'WAN' (anything will do), Route type: unicast, Target: <IP_ADDRESS>/24, Gateway: <IP_ADDRESS>
Save
Save and Apply
Observe no warning or error that the Target network was not specified correctly, and the route was not set.

Actual behavior:

Login to router as root.
Observe the /etc/config/network contains the route for the <IP_ADDRESS>/24 network.
Execute ip r and observe that the route for <IP_ADDRESS>/24 does not exist in the routing table. uci has silently failed to configure it.

Note that reconfiguring the route above with a Target network of <IP_ADDRESS>/24 will result in the route being properly set by uci. One must clear the host bits of the network address.
Expected behavior:
The luci interface should not allow one to configure a Target network with the bits beyond the subnet non-zero if uci is unable to configure a route without them cleared. Alternatively, if uci is unable to successfully configure the route, luci should detect this and warn the user rather than silently fail.
Additional Information:
OpenWrt 22.03.3

I totally agree. I'm not familiar with the backend, is netifd what executes the uci commands to apply the settings?

This has been solved with https://github.com/openwrt/netifd/commit/76eb342c397a90feb77b54be2706fa9ff61637f1


Groq API?

Just stumbled upon this project and haven’t tried yet, but my first thought is, this would be awesome if could utilize Groq API for the LLM component.  Currently the API is free and near instantaneous results.
https://groq.com
You can play around with it here and clicking the code button shows you the Python/curl API code examples:
https://console.groq.com/playground?model=llama3-70b-8192

Great suggestion, id be keen to try this out. Should be very easy to integrate

Very cool, if anything I figured you’d dig the speed of groq’s api/infra.


Enable PodGC for the agent pod

Summary
The agent pod will be deleted once the workflow is completed. I want it can follow the PodGC strategy, see https://github.com/argoproj/argo-workflows/pull/12679#issuecomment-1956205605
When we use OnWorkflowSuccess PodGC strategy, do not delete the agent pod if workflow fails, and deleteDelayDuration in PodGC shoud also takes effect.
Use Cases
I want use Plugin/HTTP templates, but there are some ability deficiencies.
For example, the agent pod logs are not saved (See #10647) and it is deleted once the workflow is completed.
This makes it impossible for us to troubleshoot this type of workflow at all.

Love this enhancement proposal? Give it a 👍. We prioritize the proposals with the most 👍.

I‘ve tried implementing this enhancement myself and found that there are some issues that need to be addressed.

Containers and there's lifecycle in the agent pod are different from ordinary pods:

there is no wait container.
main container will stop after the workflow is completed by checking the LabelKeyCompleted label in WorkflowTaskSet.
sidecar containers(executor plugins) will run until the pod is deleted.
VarRunArgoPath exists in sidecar containers but there is no argoexec command.

According to these issues, some actions need to be taken:

Containers need to be stopped if the agent pod is reserved, and it should be deleted when workflow manual retry.


[NVIDIA]: return device architecture

Return device architecture for device specified by DEVICE_ID config (aligned with Intel GPU)

[ INFO ] GPU.0
[ INFO ]        SUPPORTED_PROPERTIES:
...
[ INFO ]                Immutable: DEVICE_ARCHITECTURE : GPU: v12.0.0
.
[ INFO ] GPU.1
[ INFO ]        SUPPORTED_PROPERTIES:
...
[ INFO ]                Immutable: DEVICE_ARCHITECTURE : GPU: NVIDIA GeForce RTX 3090

[ INFO ] NVIDIA
[ INFO ]        SUPPORTED_PROPERTIES:
...
[ INFO ]                Immutable: DEVICE_ARCHITECTURE : NVIDIA: v8.6

Immutable: DEVICE_ARCHITECTURE : GPU: v12.0.0

It does not say which GPU, BTW.
If one day Intel and NVIDIA will both have v13.0.0, we cannot understand whether the compiled blob should can be loaded on Intel or NVIDIA GPU.
Maybe we need to add extra information about vendor.

NVIDIA: v8.6

It also does not identify the backend. E.g. should blob compiled with NVIDIA: v8.6 arch be loaded to Intel or NVIDIA backend?


RFP - Orfeo Toolbox

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://www.orfeo-toolbox.org/
Direct download URL for the software / installer : https://www.orfeo-toolbox.org/packages/OTB-6.6.1-Win64.zip (https://www.orfeo-toolbox.org/download/)
Software summary / short description:  An open-source project for state-of-the-art remote sensing. It can process high resolution optical, multispectral and radar images at the terabyte scale. ...from ortho-rectification or pansharpening, all the way to classification, SAR processing, and much more. Algorithms are accessible from Monteverdi, QGIS, Python, the command line or C++. Monteverdi is an easy to use visualization tool with an emphasis on hardware accelerated rendering for high resolution imagery (optical and SAR). End-users can visualize huge raw imagery products and access all of the applications in the toolbox. From resource limited laptops to high performance MPI clusters, OTB is available on Linux, macOS and Windows. It is community driven, extensible and heavily documented.

Status: Review
https://chocolatey.org/packages/orfeo-toolbox

Status: Published
https://chocolatey.org/packages/orfeo-toolbox
Can be closed.


fix: Fix linter issues

Relates to:
No specific issue linked - appears to be a code quality improvement PR
Risks
Low - Changes are purely related to code style and import organization with no functional changes.
Background
What does this PR do?
This PR addresses linting issues in the codebase by:

Reorganizing and consolidating imports
Removing unused imports
Removing empty catch variable declarations
Fixing import ordering
Removing extra blank lines

What kind of change is this?
Improvements (misc. changes to existing features)
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
Where should a reviewer start?
Review the changes in the following files:

packages/core/src/embedding.ts
packages/core/src/generation.ts
packages/core/src/parsing.ts

Detailed testing steps
No, automated tests are fine. These changes are purely syntactic and don't affect functionality.
The changes include:

Import reorganization
Removal of unused imports (fs)
Simplifying catch blocks by removing unused error variables
Consistent import ordering

Since these are linter-driven changes, existing tests should cover functionality verification.

LGTM outside of adding console.error for the catch statements

@jkbrooks Build and lint fixed.


Unable to access external IP from kubernetes cluster (Bare Metal)-1.14

I am not able to connect my SQLSERVER database from the pods. I tried doing a telnet to
192...*  1433 and it connected.
logs: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections

Restarted the nodes and used weaver instead of calico. Things started to work


Add Polygon chain config

Reason's for longer time spent:

Lot's of reading on JS interop so I can try get an enum going for yield provider
Also made some tests to keep the type safety


force the mime type of json files to application/json

fixes #197
Signed-off-by: Felix Bartels<EMAIL_ADDRESS>

Mhm this should be fixed differently. The web server container which servce static files should ship with mime information in /etc/mime.types - standard mime.types file of the linux distros also include  the .json entry to application/json.

PR is opened for the base at https://stash.kopano.io/projects/KC/repos/konnect/pull-requests/104/overview

Upstream merged with https://stash.kopano.io/projects/KGOL/repos/kweb/commits/dbae743efd8bc3856203688d2e430525aebb8100


New page selector functionality removed the ability to add external links or named anchors

Brief bug description
Lost ability to manage external links when page selector functionality replaced froala's built in link editor.
Repro steps

Click on link editor
Click on only button in sub menu
That button opens a modal that only allows selecting links to pages within Kentico

Expected behavior
What the correct behavior is?
Have the ability to add/edit links to external urls and be able to add named anchors to any internal or external url.
Test environment

Browser Chrome
Version 77.0.3865.120 (Official Build) (64-bit)

Hi, it's a known issue to us, we've already discussed it in #44.

I see your point and I can spoil that we will introduce 'insert external link' functionality in the near future. Unfortunately, at this moment the master branch is in "temporary" state where Froala's built-in plugin was replaced with the ours while the new tab allowing to insert external links was not implemented yet.

#60 was just merged to master which add addresses this issue.


The Howler Monkes

Please do not use github link as icon link. Or it may display incorrectly. @Howler-monke

updated


Wrap long words in titles

Homepage spacing between widget title and content should be customizable on config.toml or/and getting a automated spacing related to title length.
For instance, on teaching widget the French name is "Enseignements" but too long for default spacing so the ned of the word is over the content of the widget. See on screenshot:

I would like to move the widget content a couple of pixel to left.
"Les cours que je donne" should not overlap with "Enseignements" even on small screen size.

Thanks for reporting this. In the next version, we will add support for wrapping long words in titles/headings.
In the meantime, you can workaround this by creating a custom CSS and adding the following:
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

Thank you.
I have use the custom CSS workaround and now long words are wrapped :

But an option to enlarge a little size for title and getting a little less space for widget content would be appreciated.


Resubmit #128 (X.H.Focus)

Resubmit #128 with changes requested in #162 .
@pjones , @geekosaur  Please, test and review.
@SirBoonami , @unclechu Please, try updated version. Now logHook (instead of manageHook) runs for activated window. Thus, if you use this module for managing focus only for activated windows, you need to add FocusHook to your logHook. E.g.
logHook = activateLogHook activateSwitchWs

If you use FocusHook for managing focus for both new and activated windows, you need to add it to both. Either create two different FocusHook-s, e.g.:
let newFh :: ManageHook
    newFh = manageFocus newFocusHook
    acFh :: X ()
    acFh = activateLogHook (manageFocus activateFocusHook)
    xcf = ewmh $ def
                 { manageHook   = newFh <+> manageHook def
                 , logHook      = acFh  <+> logHook def
                 }

or (as was before) use the single FocusHook with activated predicate, e.g.:
let fh :: ManageHook
    fh = manageFocus $ (composeOne
            [ liftQuery activated -?> activateFocusHook
            , Just <$> newFocusHook
            ])
    xcf = ewmh $ def
                 { manageHook   = fh <+> manageHook def
                 , logHook      = activateLogHook fh <+> logHook def
                 }

See description for more examples and details.
Checklist

[ ] I've read CONTRIBUTING.md

[x] I tested my changes with xmonad-testing

[x] I updated the CHANGES.md file

@sgf-dma works as expected, I just updated to last commit without any changes in my config code:
https://github.com/unclechu/xmonadrc/tree/6928ecf74e0221c4cd855cf1f7ecacd7beed9fd2/xmonad

@unclechu Thanks. But after looking into your config i can't find where you're enabling window activation? Does window activation works at all in your config?
If you use FocusHook only for managing focus of new windows, that explains why no changes were necessary (but then your activateFocusHook in https://github.com/unclechu/xmonadrc/blob/master/xmonad/src/FocusHook.hs never runs), but if not - that's strange.
Starting from commit 8278cf678 (which was in previous version too; the commit, where handleFocusQuery function was removed) you need to use ewmh from X.H.EwmhDesktops to enable window activation.

@sgf-dma I have everything about focus-hook here.

only for managing focus of new windows

Maybe I misunderstand something, what do you mean by "managing focus of NOT new windows"? What I actually need (and already got) is:

Prevent losing focus from windows of specific applications;
Some applications should have hard priority for grabbing focus and should be able steal the focus notwithstanding item 1;
Some applications creates child dialog windows, focus should move to dialog window if it belongs to same application;
Hardcore mode for grabbing focus for current focused window.

I mean, that window may be either new or activated using _NET_ACTIVE_WINDOW message. For using FocusHook for new windows, you need to add it to manageHook as you did. But for using FocusHook for activated windows, you first need to enable window activation using ewmh function and then add activateLogHook .. to your logHook, because ewmh will call logHook for handling focus upon window activation.
ewmh default behavior in all previous xmonad version was to switch workspace and focus to activated window. Now it does nothing. You need to explicitly write what you want to happen on window activation using activateLogHook (as described in comments in X.H.EwmhDesktops).
I test window activation with running firefox google.ru in console. According to your activateFocusHook it should switch to workspace with firefox in any case and focus firefox window, unless one of conditions from a list passed to keepFocusFor succeeds. If that doesn't happen, you probably does not have enabled window activation support. Or you may try running
xprop -root _NET_SUPPORTED

ewmh should add _NET_ACTIVE_WINDOW there.
Also, take note, that:

focused and focusedCur predicates are not the same. As described in comments in X.H.Focus:
activate all windows, unless gnome-terminal is focused on current  workspace:
         let mh :: ManageHook
             mh  = manageFocus (not <$> focusedCur (className =? "Gnome-terminal")
                     --> liftQuery activateSwitchWs)

or activate all windows, unless focused window on the workspace, where activated window is, is not a gnome-terminal:
>         let mh :: ManageHook
>             mh  = manageFocus (not <$> focused (className =? "Gnome-terminal")
>                     --> liftQuery activateSwitchWs)

Because you've used focused, you'll go the second way.

Your keepFocusFor function will keep focus on a windows in a list, but will not prevent workspace switch (requested by default action at the end), because keepFocus <+> switchWorkspace - will switch workspace and keep focus on a workspace, you've switched to.

@sgf-dma Sometimes I'm having a bug with this hook, when I have started some application and opened gmrun and later window of previously started application appeared, - focus stays on gmruns window but input text field inside this gmruns window loses its focus. I can heal it any time by forcing refresh (from XMonad.Operations) by pressing mod+r for example. Here. Also my own tool place-cursor-at in similar case stops handling pressed keys unit I press mod+r or switch focus to another window.
This bug triggered not by any application. For example by any electron-based application or by starting chromium-browser.

Yes, there is such bug. But, if we're talking about the same thing, this is a
bug not in my module, but in xmonad. It's reproducible for me with def
config, when firefox window is activated. I.e. with following config
import XMonad
import XMonad.Util.EZConfig

-- | Broken.
main = do
    xmonad $ def {modMask = mod4Mask}
      `additionalKeys` [((mod4Mask, xK_r), refresh)]

open a terminal (i use xterm) and firefox window at the same workspace, and
then run firefox google.ru in the terminal. This triggers activation of
firefox window and input focus will switch to firefox, but window focus (red
border) will remain on terminal. Running refresh will fix input focus
(return back to terminal).
And the fix for this is to enable window activation, i.e. to call ewmh
function:
import XMonad
import XMonad.Util.EZConfig
import XMonad.Hooks.EwmhDesktops

-- | Working.
main = do
    xmonad . ewmh $ def {modMask = mod4Mask}
      `additionalKeys` [((mod4Mask, xK_r), refresh)]

with this config input focus will not be grabbed by activated window.
Note, that after my PR window activation by default will do nothing, so you may safely
enable it (well, if you're not using desktopConfig, where i've preserved old
behavior - switch to workspace and switch focus to activated window).
I can't run your config without some removals (i've installed only xmonad
binary), but with following diff activated firefox window does not grab input
focus with your config:
diff --git a/xmonad/src/Main.hs b/xmonad/src/Main.hs
index dfc6192..fff894d 100644
--- a/xmonad/src/Main.hs
+++ b/xmonad/src/Main.hs
@@ -26,6 +26,8 @@ import Config (myConfig)
 import Keys (myKeys)
 import Utils (xmobarEscape)
 import Utils.IPC (initIPC, deinitIPC)
+import XMonad hiding (keys)
+import XMonad.Hooks.EwmhDesktops
 import Utils.CustomConfig
   ( getCustomConfig
   , Config ( cfgInactiveWindowOpacity
@@ -43,26 +45,10 @@ main = do
   let conf = myConfig customConfig
       keys = myKeys ipc myWorkspaces customConfig

-  xmproc <- spawnPipe "xmobar ~/.xmonad/xmobar.generated.hs"
-
-  xmonad $ conf
-    { logHook = do
-
-        DL.dynamicLogWithPP $ def
-          { DL.ppOutput  = hPutStrLn xmproc
-          , DL.ppTitle   = DL.xmobarColor "gray" "#444" . DL.wrap " " " "
-          , DL.ppCurrent = DL.xmobarColor "green" ""    . DL.wrap "[" "]"
-          , DL.ppSep     = "  "
-          , DL.ppWsSep   = " "
-          , DL.ppLayout  = DL.xmobarColor "yellow" "" . layoutNameHandler
-          , DL.ppHiddenNoWindows = id
-          }
-
-        let inactiveOpacity = cfgInactiveWindowOpacity customConfig
-         in if cfgInactiveWindowOpacityOnlyForCurrentWs customConfig
-               then fadeInactiveCurrentWSLogHook inactiveOpacity
-               else fadeInactiveLogHook inactiveOpacity
+  --xmproc <- spawnPipe "xmobar ~/.xmobarrc"

+  xmonad . ewmh $ conf
+    {  modMask = mod4Mask
     } `additionalKeys` keys

   deinitIPC ipc

Please, try this and if this fixes your config, i'll submit a separate bug
report about this behavior to xmonad.

On Sun, Jun 25, 2017 at 11:45 AM, sgf-dma<EMAIL_ADDRESS>wrote:

open a terminal (i use xterm) and firefox window at the same workspace,
and
then run firefox google.ru in the terminal. This triggers activation of
firefox window and input focus will switch to firefox, but window focus
(red
border) will remain on terminal. Running refresh will fix input focus
(return back to terminal).
And the fix for this is to enable window activation, i.e. to call ewmh
function:

Firefox back to violating ICCCM again? Figures.
Briefly: firefox is saying "oh, the WM isn't advertising EWMH, I'll just
forcibly steal the focus for myself because I feel like it". We don't
handle that well because programs are not supposed to do it, and
justifiably the correct response is not to update the border but to switch
the focus back to where the user had it in the first place.
--
brandon s allbery kf8nh                               sine nomine associates
<EMAIL_ADDRESS><EMAIL_ADDRESS>unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

@sgf-dma by adding ewmh loosing focus issue have been fixed, but item 2 of my wish-list (that I pasted above) was broken by that (gmrun couldn't grab focus from windows that keeps their focus). As you mentioned earlier I should have add log hook (activateLogHook focusManageHook), so I did it and it fixed the item 2. Now it's completely solved! Thanks a lot for your help and contribution!

@sgf-dma oh, I just realized that now when I open some link for example by running command xdg-open https://duckduckgo.com it switches focus to Firefox window and switches workspace where it is if it's not on any of screens already. Could I disable this behavior?

I've glanced over changes you've made in your config.. well, removing
logHook (as in diff in my comment) is not necessary at all. I did this just
because it was the simpler way (for me) to run your config. The real fix is to
call ewmh only.

when I open some link for example by running command xdg-open
https://duckduckgo.com it switches focus to Firefox window and switches
workspace where it is if it's not on any of screens already. Could I
disable this behavior?

Of course, you can. It's doing exactly what you asked it to:
activateFocusHook :: FocusHook
activateFocusHook = composeAll $
  keepFocusFor [ className =? "Gmrun"

               , className =? "Firefox"
               , className =? "Tor Browser"

               -- Prevent lost focus for all messangers
               , className =? "Gajim"
               , className =? "Hexchat"
               , className =? "utox"
               , className =? "qTox"
               , className =? "Gnome-ring"
               , className =? "Riot"
               , className =? "Rambox"

               , className =? "Keepassx"
               , title     =? "gpaste-zenity"
               ]
  ++
  [ return True --> switchWorkspace <+> switchFocus ]
  where keepFocusFor = foldr ((:) . f) []
        f cond = focused cond --> keepFocus

Essentially, if a window in the list is focused on workspace, where activated
window is (may not be current workspace), you have here
keepFocus <+> switchWorkspace <+> switchFocus

which is equal to just switchWorkspace. If some other window is focused, on
workspace, where activated window is, you have
switchWorkspace <+> switchFocus

Before enabling ewmh this FocusHook just never runs. So, the simplest fix
is to just do nothing, when window is activated. Either not add your
FocusHook to logHook (remember, to fix bug with input focus you need only
ewmh), or run idHook for activated window:
focusManageHook :: ManageHook
focusManageHook = manageFocus
                $ composeOne [ liftQuery activated -?> mempty
                                , Just <$> mempty ]

or make something different with activated window, e.g. move it to current
workspace (see activateOnCurrentWs and activateOnCurrentKeepFocus). But
note, that to see activated window on current workspace in FocusHook, you need
to move it in a separate FocusHook, like
activateLogHook (focusManageHook <+> activateOnCurrentWs)

@sgf-dma

I've glanced over changes you've made in your config.. well, removing
logHook (as in diff in my comment) is not necessary at all. I did this just
because it was the simpler way (for me) to run your config. The real fix is to
call ewmh only.

I didn't remove it, I just moved it to separate module.

@sgf-dma sorry, I just totally forgot about I have this exactly feature described in my config, just because it haven't work before I add ewmh. Thanks again. Fixed by https://github.com/unclechu/xmonadrc/commit/4ba402063409922e7aac2f793f5e1d1f6557740b

Sorry for being utterly late to the party. Your module seems reasonable, the documentation is thorough. I didn't get to test everything, but my test cases

switchWorkspace for everybody
ignore all
ignore blacklisted, switchWorkspace for the rest

were easy to implement and worked like a charm.

@byorgey @ivanbrennan @geekosaur Can we finally merge this? Or someone still has questions about this module behavior?

@sgf-dma I don't see why not.  Would you mind taking a look at the merge conflicts?

Rebased. Please, review.

Thanks!

I guess I'm later to the party than everyone else, and I'm sorry (my excuse being that I had a working version of this in #110 so I didn't have the motivation to fix what already worked, but now that it's merged I need to adapt my code so I'm forced to look at this).
Why does this invoke the global logHook (or the global manageHook in the previous version of the code) instead of ewmh taking the focusHook as a parameter and using that in its ewmhDesktopsEventHook? This results in the logHook being invoked twice when window activation is requested, which is ugly (but yeah, objectively not that big a deal). Alternatively, ewmh could still take no parameters and invoke a new ewmhFocus function with a default focusHook that retains the original behaviour. This would be nice as there won't be a breaking change that way. We can even add some sort of EwmhConfig record type with focusHook and handleFullscreen to make EWMH behaviour easier to configure. I'd prefer this over putting this stuff in a logHook, where it doesn't belong.
Furthemore, there's one little bit missing in this that's solved in #110: differentiating between windows asking to be activated and pagers (alttab, rofi, …) requesting that a window is activated. See https://github.com/xmonad/xmonad-contrib/pull/110/files#diff-cf9308345d1d5de4c1e403c5874d91d723ffc5d4ff79b21c4dbfe6390a592598R236. This bit will need to be fixed before I can switch over to this.
Let me know what you folks think. I can implement any or all of this, but we should first agree if these changes are desired or whether you're all happy with the current design. I'm Liskni_si in #xmonad@freenode if you wish to discuss this more interactively.


Pattern: Content item - horizontal visual design & design specs provided by Reboot designers

Notes

The Reboot team is responsible for creating the visual designs and design specs for most of the patterns included in the Solutions page.  This issue is to track the transition of the Reboot design work to the DDS design & engineering team members.

Additional Information

Visual Designs & Design Specs Box folder link

Acceptance Criteria

[ ] Visual designs and specs received from Reboot designers
[ ]  A pdf file is created and placed in the Box folder with the updated Sketch file
[ ] Meetings conducted with DDS team members to review the designs

5/7/2020:  Visuals presented by Lila to DDS developers and designers.  Lila to post links to the specs.

@RobertaJHahn Visual design specs (sketch and PDF) are posted here:
https://ibm.ent.box.com/folder/112262788897


Will you share the customised environments in your paper?

Hi, Bro. I found in your paper, you used many customised environments designed by you, including 6s4z_vs_10b30z, 6z4b, and 10z5b_vs_2z3s. Will you release them in this repo?

Hi, you can find it at /src/envs/starcraft2/maps/designed/ in this repo. :)
bane_vs_bane1 is 6z4b
sz_vs_zb is 6s4z_vs_10b30z
zb_vs_sz is 10z5b_vs_2z3s

Hi, you can find them at /src/envs/starcraft2/maps/designed/ in this repo. :)
bane_vs_bane1 is 6z4b
sz_vs_zb is 6s4z_vs_10b30z
zb_vs_sz is 10z5b_vs_2z3s

That is very nice. I found these files but I was confused and thought those were different scenarios.


NativeScript Playground permissions

Can I change permissions in NativeScript Playground? Need to add this permission
uses-permission android:name="android.permission.ACCESS_WIFI_STATE"

No, unfortunately the {N} Playground does not support adding permissions because this would require recompiling the Preview app that has already been published to Google Play.


try to fix data race for state

fixes #13

thanks @fzerorubigd
will check it out tonight.

thanks!


Integrates local-position class.

so long and takes for all the fish Location class

Lovely. I've added label for "needs docs". You've done a great job on the ref, but this probably needs something in the guide too. I'll look at that once this is merged.

@tcr3dr Any updates?  I am working on a project that relies on this feature, and I was hoping that this could be useable before next Sunday. (via the pip version)

@squilter My bad. Let me get this merged ASAP.
One more note to self: re-export Location class for back-compat, removal by final release.

@tcr3dr This looks nice for returning the local position. Can vehicle.commands.goto() take a local position?
If not, I'd suggest that we merge this and add a second update to allow movement control using local positioning. That requires a little more thinking - since in Copter 3.3 you can use frames which allow you to specify that the NED values are relative to home position or the vehicle axes (ie "North" maps to the direction that the front of the vehicle is pointing) but in Copter 3.2.1 all values are "pure NED".
Docs on the movement/frames are at the end of this section in wiki.

@tcr3dr Thanks!

@squilter published! https://github.com/dronekit/dronekit-python/commit/c2852171738e3ab5d999c31b64180949a506f76f

:smiley:

how to use ,any documents?

Api reference in place. Guide docs and example update planned for Tuesday.

Linux computer connected to the vehicle via USB	mavproxy.py --master=/dev/ttyUSB0
Linux computer connected to the vehicle via Serial port (RaspberryPi example)	mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600
SITL connected to the vehicle via UDP	mavproxy.py --master=<IP_ADDRESS>:14550
OSX computer connected to the vehicle via USB	mavproxy.py --master=/dev/cu.usbmodem1
Windows computer connected to the vehicle via USB	mavproxy.py --master=/dev/cu.usbmodem1
there is error  about Windows computer connected to the vehicle via USB	mavproxy.py --master=/dev/cu.usbmodem1

In document getting started

@uavfans Thanks. I thought I fixed that. I'll make sure fix goes in next PR.


Address apiview comments spring cloud azure resourcemanager

As title. To address comments in https://apiview.dev/Assemblies/Review/e1da11207fc44c109d78d5d10f697840.
This PR will move the DefaultServiceBusProvisioner and DefaultServiceBusProvisioner to implementation packages.

/azp run java - spring - ci


My question and doubt about "using CPU specific instructions"

I really enjoy using this project since it really did help me to improve my code efficiency. However I have a question on https://nnethercote.github.io/perf-book/build-configuration.html#using-cpu-specific-instructions
It mentions that if you pass -C target-cpu=native to rustc, it will use the best instructions for your current CPU
Yet I saw a Reddit post: https://www.reddit.com/r/rust/comments/hozs31/target_feature_vs_target_cpu_for_rust/
There is a comment that says "Note that target-cpu=native can degrade code performance, instead of improving it. I've seen it enough times to think that this option is somewhat broken. "
I am really bothered by this lol, I apologize for my ignorance 😆

Thanks for the suggestion. I added a warning about possible slowdowns at the top of that chapter, in https://github.com/nnethercote/perf-book/commit/c5018f228c01eaf80d7dcfd613c995681b27fea8.


Select with function in where condition

Is your feature request related to a problem? Please describe.
I'd like some way to query using a function as part of the where condition. Concretely, I have a unique index on UPPER(payload) for some table where the payload is case-insensitive, and I want to query using WHERE UPPER(payload) = UPPER($1) (obviously, the UPPER($1) can be done in the client side, so that's less of an issue here).
Describe the solution you'd like
Unclear what the API would be.
Describe alternatives you've considered
There is a querybuilder way of doing this, but it's not what I'm looking for here.
https://github.com/mikro-orm/mikro-orm/blob/bfbc5f8df4c6b541983dfefb75467be5dc3b8901/tests/QueryBuilder.test.ts#L307-L311
Additional context
Add any other context about the feature request here.

You can do the same with EM api, you just need to type cast as this dynamic key won't pass the strict FilterQuery type.
em.find(Book, { 'json_contains(`e0`.`meta`, ?)': [{ foo: 'bar' }] } as any);

We could also have something like expr helper, that could allow doing this I guess:
const author = new Author2('name', 'email');
const b1 = new Book2('b1', author);
const b2 = new Book2('b2', author);
const b3 = new Book2('b3', author);
await orm.em.persistAndFlush([b1, b2, b3]);
orm.em.clear();

const expr: <T> (sql: string) => keyof T = sql => sql as any;
const books = await orm.em.find(Book2, { [expr('upper(title)')]: ['B1', 'B2'] }); // no TS errors
expect(books).toHaveLength(2);

(this test is passing with current version, so you can define such expr helper yourself right now)
WDYT?

In rc.6 it will be possible to do this:
const books = await em.find(Book, {
  [expr('upper(title)')]: em.getKnex().raw('upper(?)', ['b2']),
});

I was facing this and managed to work around by creating a RegExp to query and match the case insensitive value. Don't know if it helps for your case, but here it is:
const caseInsensitive = (str: String): RegExp => {
  const len = str.length;
  let stream = '';
  for (let i = 0; i < len; i++) {
    stream += '[' + str[i].toLowerCase() + str[i].toUpperCase() + ']';
  }
  return new RegExp(stream);
};

const rx = caseInsensitive(title);
const book = await em.findOne(Book, { title: rx });

@danitrod If you want to find a case insensitive value you can just use a RegExp with the 'i' flag like so:
const book = await em.findOne(Book, {
    title: new RegExp(title, 'i'),
});

Also make sure to escape any regex characters if that title string is coming from the user:
title = title.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');

Hope this helps someone in the future!


Add missing entrypoint instruction in Dockerfile

ENTRYPOINT Instruction is missing in the Dockerfile, due to which xdebug is not enabled even when correct environment variable is provided.
I identified the bug from this SO question

Thank you


Adding product tour

Happy new year!
I've tried to make an intro or product tour for the app. This intro can be used for demonstrating small ideas, highlighting new features, and exiting our new users. I did not know what images and content I've to put in the intro, so if you need any customization I'll be very happy to do it.
I created this intro using ViewPager.  We’ve got a title, description, an image and a custom background and text colors.
I can make it smoother and more interesting using PageTransformer, but I preferred to here from you first.
Easy to use: extra Fragments can be added easily by calling addSlide(fragment) method.

Thanks for the pull request, @ahmedaljazzar! I've created OSPR-1061 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.
You haven't added yourself to the AUTHORS      file for this repo. Please create a new pull request to do so!     Please see the CONTRIBUTING     file for more information.

I've closed this PR because there's another available library that did what I did without any code modification in the repo, and I think using it is much better than this. If you still interested, I can reopen the PR with the new solution.  :)


Version 3.1.10 generates failure with "ModuleNotFoundError: No module named 'openapi_spec_validator'"

bug
Read the issue template.
Looked for my issue or a similar one and haven't found anything.
It happens on version 3.1.10, which was released yesterday. The newest issue doesn't seem related either.
On version 3.1.10, tests fails, traceback is:
==================================== ERRORS ====================================
[16](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:17)
_________________ ERROR collecting tests/test_boto3_client.py __________________
[17](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:18)
ImportError while importing test module '/home/runner/work/cfripper/cfripper/tests/test_boto3_client.py'.
[18](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:19)
Hint: make sure your test modules/packages have valid Python names.
[19](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:20)
Traceback:
[20](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:21)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/importlib/__init__.py:126: in import_module
[21](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:22)
    return _bootstrap._gcd_import(name[level:], package, level)
[22](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:23)
tests/test_boto3_client.py:305: in <module>
[23](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:24)
    def test_export_values(boto3_client: Boto3Client):
[24](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:25)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/moto/__init__.py:30: in f
[25](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:26)
    module = importlib.import_module(module_name, "moto")
[26](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:27)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/importlib/__init__.py:126: in import_module
[27](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:28)
    return _bootstrap._gcd_import(name[level:], package, level)
[28](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:29)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/moto/cloudformation/__init__.py:1: in <module>
[29](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:30)
    from .models import cloudformation_backends
[30](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:31)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/moto/cloudformation/models.py:18: in <module>
[31](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:32)
    from .parsing import ResourceMap, OutputMap
[32](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:33)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/moto/cloudformation/parsing.py:17: in <module>
[33](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:34)
    from moto.apigateway import models  # noqa  # pylint: disable=all
[34](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:35)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/moto/apigateway/__init__.py:1: in <module>
[35](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:36)
    from .models import apigateway_backends
[36](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:37)
/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/moto/apigateway/models.py:9: in <module>
[37](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:38)
    from openapi_spec_validator import validate_spec
[38](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:39)
E   ModuleNotFoundError: No module named 'openapi_spec_validator'
[39](https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true#step:6:40)
---- generated xml file: /home/runner/work/cfripper/cfripper/build/test.xml ----

ref. -> https://github.com/Skyscanner/cfripper/runs/6573693883?check_suite_focus=true
We were using 3.1.6 and it worked fine. Tested the same on 3.1.9 and works fine.
When using 3.1.10 the coverage of the project breaks.
This is the PR where the issue has been found:
https://github.com/Skyscanner/cfripper/pull/227
Happy to provide more information.
thank you :)

Hi @w0rmr1d3r, thanks for raising this! Looks like our dependencies our indeed wrong - we should install openapi_spec_validator as part of the cloudformation-module.
As a workaround, you could install Moto like this:
moto[apigateway,cloudformation,s3]
to ensure it pulls in the correct dependencies (or indeed revert to 3.1.9 until it's fixed).

Hello @bblommers ,
thank you for such a fast response 😄
I see there's already a PR open to fix this issue, perfect!
We will use 3.1.9 for now and update in the future to newer versions.
thank you as well for the other workaround said !

@bblommers FYI we are getting the very same stack trace with 3.1.16, we are pinning ourselves to 3.1.9 for now.
  File "/Users/stephane/.pyenv/versions/3.10.5/lib/python3.10/site-packages/moto/apigateway/models.py", line 9, in <module>
    from openapi_spec_validator import validate_spec
ModuleNotFoundError: No module named 'openapi_spec_validator'

@sodul How are you installing Moto, and at which point are getting the error?

@bblommers pip install moto[s3,sns,sqs]==3.1.9, although through a requirements.txt file. We get the stack trace while running our unittests.
The line that breaks is:
from moto import mock_cloudformation

So ...it looks like we just need to install cloudformation explicitly. Updating our requirements to moto[cloudformation,s3,sns,sqs]==3.1.16 worked.
Sorry for the false alarm.


Create and fill profiles of the volunteers

At least 10 (?) volunteers with different parameters

there are already 9 at the moment :) and 5 newcomers..

we can refine this and create new ones, once the frontend for adding images is implemented and can be connected to the DB to save the image URLs

yes, now it's quite a random database with random skills (such as poetry), the same description, and random photoURLs.
it's not quite urgent but still has to be done at some point


window.y and window.height incorrect

https://github.com/knausj85/knausj_talon/blob/dcbb1ea89fd1bfbd09f57c25d9dc8a8907270c42/code/mouse.py#L239
window.y and window.height don't seem to be correct. They seem to be 0 and 1070 respectively in every window on my 1200px tall monitor.
Hope this help

@Ja-mesMugford
See my response here.
https://github.com/talonvoice/beta/issues/58
since this currently finds the first window containing the coordinates, if you have a maximized window it could be using that at the moment? I don't know if Talon on Windows tracks the z-order of the windows. I
Note the dimensions of a maximized window will exclude any reserved space for e.g. start menu.

talon on linux and mac is z ordered from top to bottom, it's not on windows yet. feel free to look up an api for figuring out Z order on windows and open an issue on talon/beta


⭐FEAT: Add navigation to the website

TODO:

The user should be able to navigate to different pages using the navbar and find issue button.

I opened header.jsx file in order to make changes to the navbar and ran  npm run start.it showed some error so i ran echo {} > to create "package.json" file.Still i cant run the react file. can you please guide  me

@ArslanYM  You need to install node module first. Hit npm install first

Fixed in #116


Error when compiling TEB Local Planner with ROS2 Galactic on Ubuntu 20.04

I am currently using Ubuntu 20.04 and have installed the Galactic version of ROS2 using the command sudo apt install ros-galactic-desktop. The navigation2 version I am using is 1.0.12
I encountered an error when trying to compile the ros2-master version of TEB. Here is the error message I received:
In file included from /home/yahboom/my_ws/src/teb_local_planner/teb_local_planner/src/teb_local_planner_ros.cpp:39:
/home/yahboom/my_ws/src/teb_local_planner/teb_local_planner/include/teb_local_planner/teb_local_planner_ros.h: At global scope:
/home/yahboom/my_ws/src/teb_local_planner/teb_local_planner/include/teb_local_planner/teb_local_planner_ros.h:111:8: error: ‘void teb_local_planner::TebLocalPlannerROS::configure(const WeakPtr&, std::string, std::shared_ptr<tf2_ros::Buffer>, std::shared_ptr<nav2_costmap_2d::Costmap2DROS>)’ marked ‘override’, but does not override
  111 |   void configure(
      |        ^~~~~~~~~
In file included from /opt/ros/galactic/include/class_loader/class_loader_core.hpp:57,
                 from /opt/ros/galactic/include/class_loader/class_loader.hpp:55,
                 from /opt/ros/galactic/include/class_loader/multi_library_class_loader.hpp:52,
                 from /opt/ros/galactic/include/pluginlib/class_loader.hpp:54,
                 from /home/yahboom/my_ws/src/teb_local_planner/teb_local_planner/include/teb_local_planner/teb_local_planner_ros.h:42,
                 from /home/yahboom/my_ws/src/teb_local_planner/teb_local_planner/src/teb_local_planner_ros.cpp:39:
/opt/ros/galactic/include/class_loader/meta_object.hpp: In instantiation of ‘B* class_loader::impl::MetaObject<C, B>::create() const [with C = teb_local_planner::TebLocalPlannerROS; B = nav2_core::Controller]’:
/opt/ros/galactic/include/class_loader/meta_object.hpp:216:7:   required from here
/opt/ros/galactic/include/class_loader/meta_object.hpp:218:12: error: invalid new-expression of abstract class type ‘teb_local_planner::TebLocalPlannerROS’
  218 |     return new C;
      |            ^~~~~

Any help or guidance on how to resolve this issue would be greatly appreciated. Thank you!

glactice version teb_local_planner
https://github.com/Tractonomy/teb_local_planner/tree/318372bb7747ee03bac095245a69f405c5dfe018


Allow to change left margin

I'd like to remove the left margin when editing source code.
When using the following settings, there is still some space left.
Thanks
Ps: In https://stackoverflow.com/questions/44912058/is-there-a-way-to-make-vscode-line-number-field-smaller-width seems to confirm that the margin I'm talking about can't be removed.

Duplicate of #30795


DLL download link in the readme is broken

Points to dotlesscss.COM instead of .org, but even if you change it to .org in-browser, the link is dead.

@Tigraine Can we change it to point at the github downloads page (or nuget)? this is the 2nd complaint we've had this month about it..

Done.. How could I have missed that for like 2 years?


Production

Continuous Deployment
https://azmisahin-webpack.herokuapp.com/
Continuous Integration
https://travis-ci.org/azmisahin/com.domain.www.webpack.web


[FancyZones] Allow non-primary mouse button to activate multi-zone selection

Description of the new feature / enhancement
If Zones behavior "Use a non-primary mouse button to toggle zone activation" is not enabled, it can be used instead to replace "Ctrl" behavior of activating multi-zone selection.
Scenario when this would be used?
For users using Zones without any additional inputs aside primary mouse dragging. If this toggle is added then it completes "keyboardless" FancyZones use (whereas currently we have to hold "Ctrl" to select multiple zones).
Supporting information
No response

The problem of the "keyboardless" multi-zone selection has been solved.
/dup https://github.com/microsoft/PowerToys/issues/7925


Do not use buffer pool for ParseSIP

This change removes the use of sync.Pool containing bytes.Buffer from the Parser.ParseSIP.
Use of buffer pool is not beneficial here, because function receives a []byte already containing the full message. Thus, buffer write can be replaced with bytes.NewBuffer(data).
 I think I had this when there were concurent parsing some old code. So copy of bytes was needed. Now all is more synced.


Implements warning on unrecognized config keys

What does this PR do?

Adds Serialize to all Config structs (recursively) in order to get a yaml representation of the actual config being used.
Prints out the resolved config as yaml at debug log level
Implements a function to warn about unrecognized keys that the user may have specified

Motivation
#745
Related issues
Additional Notes
I really wish this were supported at the serde level. I'd even go so far as to say it should be a deserialization error if extra keys are present.
I don't love all the custom DFS/yaml code, but I do think its useful.
But I won't be offended if we don't want to merge this because it is really an edge case (mismatched configs/lading versions).
(Good test case for co-pilot though 😄  )
Example output:
2023-11-22T19:28:52.747874Z  INFO lading: Starting lading run.
2023-11-22T19:28:52.748802Z DEBUG lading: Attempting to open configuration file at: ./examples/old-dogstatsd.yaml
2023-11-22T19:28:52.750836Z  WARN lading: Unknown key specified: generator[0].unix_datagram.variant.dogstatsd.metric_names
2023-11-22T19:28:52.750855Z  WARN lading: Unknown key specified: generator[0].unix_datagram.variant.dogstatsd.metric_names.tag_keys
2023-11-22T19:28:52.750911Z  INFO lading: Effective Config for this run:
 telemetry:
  prometheus_addr: <IP_ADDRESS>:9000
  global_labels: {}
generator:
- id: dogstatsd
  unix_datagram:
    seed:
    - 2
    - 3
  <... snip rest of config ...>

I really wish this were supported at the serde level. I'd even go so far as to say it should be a deserialization error if extra keys are present.

I think you could get this with https://serde.rs/container-attrs.html#deny_unknown_fields


BF: Ensure BOLD and label orientations are equal

We were assuming the BOLD image and label image had a shared orientation
https://github.com/nipreps/niworkflows/blob/bfffaf8ea8e6fe1615be4a24089a5d750bd6e024/niworkflows/interfaces/cifti.py#L364-L370
However, this wasn't the case, as the BOLD image is in RAS while the label image is in LAS. This adds a check to ensure the orientations match up, and if they don't, convert to LAS (HCP Pipelines default, although https://www.nitrc.org/forum/attachment.php?attachid=342&group_id=454&forum_id=1955 recommends RAS space).

any lingering concerns?
I'd like to get this out as a 1.11 despite it changing the outputs, since it's more of a bug fix imo (cc @effigies)

Seems reasonable. In the long-term a fully-featured reorientation interface would be good to publish in nipype, but no need to go that far in this context.


Calendar with week numbers

Is your feature request related to a problem? Please describe.
In our industry everybody is talking about week numbers. For an easier planning it would be great, if the Calendar-control can show the week number in the Month-view in front of each week

Week  Mon  Tue  Wed  Thu  Fri  Sat  Sun
01    31   01   02   03   04   05   06
02    07   08   09   10   11   12   13

Describe the solution you'd like
A property to show or hide week numbers and also a property to define the format of the week number (this is culture depended)
Describe alternatives you've considered
Use a custom style with attached behavior
Additional context
I don't know how easy that would be, as we have to deal with different cultures. I have a Style for de-DE working.
Let me know your thoughts, if it's worth a PR or not.
/cc @robloo

@timunie I thought about this some more after our conversation. First, we need to define what a week number is. There are different ways of calculating it -- it's really 1-53 depending on leap years and things. ISO 8601 has standardized a methodology that could be used; however, it certainly doesn't work in Hebrew or Japanese calendar systems -- it's only for Gregorian calendars. The CalendarView supports all calendar systems though.
So, I'm not sure how to really implement this. As for getting the week number itself, I would add an extension method to DateTimeOffset based on specific app needs.

Hi @robloo
thank you for looking into this. I know your time is limited, like everyone's time is, so I really appreciate it 👍
You are right, that there are many different ways to calculate the Calendar week. And it's culture dependend, so we need to find a way to let the developer define how to do. What comes me in mind is:
Idea 1: Use an enum WeekNumberType like Excel does

Idea 2: Provide an interface which does the calculation IWeekNumberProvider. This could have some build in provider defined static, but can be entirely replaced by the developer
Also keep in mind that the beginning of the week my differ. The iso-week assumes that the first day of a week is monday, but in other cultures it is sunday I've heared. So we'd need to take this into consideration
Have a great Easter 🐰  weekend 👍
Tim


data.domain_names should NOT have more than 15 items << Multi Domain SAN Certs Limit

Is your feature request related to a problem? Please describe.
Its not a problem looks like but a limit that should be increased i suggest, we use Route 53 and Cloud Flare and we have normal request of SAN for 30 to 40 sites at a time and looks there is limit set by developers in this NPM which can be great if increased.

Describe the solution you'd like
Increase limit to like upto 50 for SAN sites (multiple domains at once)
Looks its been controlled at NginxProxyManager/nginx-proxy-manager/blob/develop/frontend/js/app/nginx/certificates/form.js
Line 268 >>             maxOptions:   15,
If that can be increased so that can be increased as i guess (i have no dev experience)

Describe alternatives you've considered
We do this by right now on linux using command below and it works for more that 15 domains(we have to enter DNS challenge for each item) :
certbot-2 certonly --email<EMAIL_ADDRESS>-d agent.ha.domain.com -d auth.ha.domain.com -d billing.ha.domain.com -d bots.ha.domain.com -d cm.ha.domain.com -d docs.ha.domain.com -d eps.ha.domain.com -d onboarding.ha.domain.com -d recordings.ha.domain.com -d reports.ha.domain.com -d security.ha.domain.com -d smgr.ha.domain.com -d wfm.ha.domain.com -d wizard.ha.domain.com -d www.ha.domain.com --agree-tos --manual --preferred-challenges dns
Additional context
This NPM is great and this limit increase can make life more easy :)

I just ran into this.  Unless there is a limitation on nginx or lets encrypt this field should reflect how many you can actually fit in a cert or nginx

Yes I hope that NPM devs can assist on enhancing this limits

If someone can point me to the code that needs to be changed I could handle this myself, or someone else if they get to it first

If someone can point me to the code that needs to be changed I could handle this myself, or someone else if they get to it first

(https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/frontend/js/app/nginx/certificates)
/form.js
Line 268 @Shocktrooper

NGINX and Letsencrypt both support quite a large number of domain names, so 15 as a limit is definitely not ideal?
Nginx:

https://nginx.org/en/docs/http/server_names.html
https://nginx.org/en/docs/http/ngx_http_core_module.html#server_names_hash_max_size

Letsencrypt:

A single Let’s Encrypt certificate can include up to 100 SAN names. Names can be single-name, wildcard names, or both.

https://support.dnsimple.com/articles/letsencrypt/#lets-encrypt-highlights

@abdulfahad661 @Shocktrooper  + others:
I wrote a step-by-step quick hotfix for anyone who needs to fix this problem (tested with 2.10.4):

you should get into the Docker Container

docker ps
docker exec -it <my container id> bash

you should replace the 4 occurrences of maxOptions: 15 with  maxOptions: 30 and also replace the schema maxItems: 15  with maxItems: 30.

grep -Ril "\"maxItems\": 15" /app/
grep -Ril "maxOptions:15" /app/
sed -i 's/maxOptions:15/maxOptions:30/g' /app/frontend/js/*.js
sed -i 's/\"maxItems\": 15/\"maxItems\": 30/g' /app/schema/definitions.json
grep -Ril "maxOptions:30" /app/
grep -Ril "\"maxItems\": 30" /app/

you should commit the changes (to the app) and keep changes as in the docker image:
 docker commit <my container id> jc21/nginx-proxy-manager:latest

bring the app down and up.

@r3na  thanks bro it works modified files in the docker container.. committed.. and then restarted container the limit is removed .. thanks again for assist

issue fixed as fix suggested by @r3na


Ability to set names

Right now we only display cursors but when you're more than 2, it helps having names attached next to the cursor. We have most of the implementation ready, just need to be able to edit the actual name. https://github.com/excalidraw/excalidraw/pull/971

@vjeux how are you thinking about this? Should we allow each user to edit their name and that will be display on the cursor on each end of the rest of the collaborators?
Could we generate random names maybe?

If you want more on your plate in the same area, https://github.com/excalidraw/excalidraw/issues/1109 is the last thing that is really annoying me with live collaboration!

By the way.. the #1175 seems to be done.. is there anything missing?! If we are happy with the double circle we can merge it.

I'm laying the ground work for #1109.

@kbariotis you're off the hook for the #1109 it seems :)


Share bookmarklet: Error trying to share story

I've got a "Sorry, but there was an error trying to share this story." message when
i push the "share this story" bookmarklet button.
Browser is Chrome.
Url I'm trying to share :
https://medium.com/dan-sanchez/miyazaki-s-beautiful-antiwar-dreams-44951be1be11

Looks like they are explicitly banning third-party bookmarklet shares. They've done this sort of thing before, so it's not out of the ordinary that they stepped it up.


Fix multiple mutations affecting the same entity in Datastore write

Fixes #18521

Use entity key instead of mutation hash value to decide flush

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @chamikaramj who commented the original Jira ticket
CC: @zhoufek

Run Java PreCommit


handle chunked http requests

Hello everybody :)
I've implemented a new protocol where the data is attached as a xml file.
The decoding works fine if the xml file is smaller or even to 1024 and the file can be sent within one request. Unfortunately sometimes the xml file is bigger than 1024 and has to be sent within two (or more) request using the 100-Continue state. Is there a protocol where this is already implemented or does someone have an example code or a hint how to handle this issue?
thanks a lot :D

You have to use HttpChunkAggregator. It's really easy. Check PiligrimProtocol for example.

Thank you for your hint! It works :+1:


proposal: cmd/go: install: add environment variable setup for .zshrc

Proposal Details
By default, the Go package for Darwin (macOS) AMD64, which can be downloaded from go.dev/dl/go1.22.2.darwin-amd64.pkg, does not configure environment variables automatically. Therefore, users must manually set up their environment after installation, especially when installing Go tools using go install. To set up your environment:

Open your terminal.

Edit the .zshrc file in your text editor. For instance, using nano:
nano ~/.zshrc

Append the following line to the file:
export PATH=$PATH:$(go env GOPATH)/bin

Save and exit the file. In nano, press Ctrl + X, then press Y to confirm, and Enter to save the changes.

Apply the changes to your current terminal session by executing:
source ~/.zshrc

It would be more convenient if this configuration were included automatically during the installation process, eliminating the need for manual setup.

Ref: https://discussions.apple.com/thread/250911992?sortBy=best

Duplicate of #39531


Make JCMediaPlayerListener interface public

Hi,
digging around I found the need to call a JCMediaPlarListener while writing my own implementation of  JCVideoPlayer.
At some point, I needed a call to
JCMediaManager.instance().listener.onCompletion();
while I can access the listener
JCMediaManager.instance().listener
I cannot call the method onCompletion() because the Interface is package-protected.
Since the listener is public why the interface is protected? I think it would make more sense to make the interface public too.

You are right, I will make it public next version.
I used to think that everyone should use the library as my think, but it was wrong, I should open more api for people, so that other people can solve their own problems without my design.

Hi lipangit,
great thank you!
Another suggestion would be to call  JCMediaManager.instance().listener.onCompletion(); before       JCMediaManager.instance().mediaPlayer.release(); (for example in JCVideoPlayer.releaseAll()) this way i can still access video information (like the current position current position)

You are right, UI should always before MediaPlayer.


#58 - Add swiftlint

Adds swiftlint to the project. I went with adding it via cocoapods because it allows us to track the version we're using. I didn't change any of the source code and instead opted for adding all rules that triggered warnings/errors to the swiftlint.yml file. We can create PRs for removing each of these rules as necessary from the yaml file so it's easy to review.
Fixes #58

Like it :) Do you want to add a stage to the travis.yml as well so we lint on the CI (passing in --strict to make warning as errors)? You can also add it as a post-build script in the example project so it shows the warnings in Xcode :)

(PS +1 for adding it as a pod)

I had it as a build step, but I've moved it into a script in a folder to make it more obvious. Since it's a build step, it'll run as part of travis when it builds the Example project so I think we don't need to change the travis config (unless we want to lint before build?) 👍

It's going to be very annoying trying to develop with --strict on each build :) I would use the CO (or TRAVIS) variable set by travis to enable / disable the --strict option in the script - https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables

Nice :)


Everything works except song won't start

Not sure what Im missing here but when sonos hasn't been played for a while and I try and start up a song it won't start. It adds the song to the queue, sends the correct url to the server but I get a 500 error at clientrequest.lib.get. Not sure what the error means but the player just won't start. If I start it using either the desktop or mobile app then I can pause and resume just fine, change songs, volume etc, just cant start after nothing has played in a while.
Here is the log:

21:03:22
REPORT RequestId: 7688f401-1fc3-11e7-822e-9d18fb3cb4f1	Duration: 351.67 ms	Billed Duration: 400 ms Memory Size: 128 MB	Max Memory Used: 30 MB

21:08:32
START RequestId: 2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d Version: $LATEST

21:08:32
2017-04-12T21:08:32.604Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	session applicationId: amzn1.ask.skill.607ea852-e3a5-4867-bffa-5b01fd17e70c

21:08:32
2017-04-12T21:08:32.604Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	dispatch intent = ArtistIntent

21:08:32
2017-04-12T21:08:32.605Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	ArtistIntent received for room undefined

21:08:32
2017-04-12T21:08:32.605Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Advanced Mode = true

21:08:32
2017-04-12T21:08:32.879Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Reading current settings

21:08:32
2017-04-12T21:08:32.919Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	room=house newRoom= service=apple newService=

21:08:32
2017-04-12T21:08:32.919Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Getting coordinator for room: house

21:08:32
2017-04-12T21:08:32.919Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Calling '/zones'

21:08:33
2017-04-12T21:08:33.125Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Call to 'http://xxxxx.ddns.net:5005/zones' suceeded

21:08:33
2017-04-12T21:08:33.125Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Coordinator for house : house

21:08:33
2017-04-12T21:08:33.126Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Calling '/house/musicsearch/apple/song/artist:Paul%20McCartney'

21:08:35
2017-04-12T21:08:35.094Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Call to 'http://xxxxx.ddns.net:5005/house/musicsearch/apple/song/artist:Paul McCartney' failed

21:08:35
2017-04-12T21:08:35.094Z	2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d	Error: Failed to retrieve data, status code: 500 at ClientRequest.lib.get (/var/task/sonosProxy/httpClient.js:13:17) at ClientRequest.g (events.js:291:16) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:188:7) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21) at HTTPParse

21:08:35
END RequestId: 2f3f54e0-1fc4-11e7-8a75-d3e5f709da1d

I am having the exact same problem.  My log looks the same as above.  At this point I can only play music in one room, unless I group others to that room.  Please help.

What happens when you call http://xxxxx.ddns.net:5005/house/musicsearch/apple/song/artist:Paul McCartney' directly?

When I call http://xxxxx.ddns.net:5005/house/musicsearch/apple/song/artist:Paul McCartney directly I get the following:
{"status":"error","error":"You are missing spotify clientId and secret in settings.json! Please read the README for instructions on how to generate and add them","stack":"Error: You are missing spotify clientId and secret in settings.json! Please read the README for instructions on how to generate and add them\n    at getHeaders (/Users/christophermurray/node-sonos-http-api-master/lib/music_services/spotifyDef.js:66:11)\n    at getOptions (/Users/christophermurray/node-sonos-http-api-master/lib/music_services/spotifyDef.js:78:14)\n    at auth (/Users/christophermurray/node-sonos-http-api-master/lib/music_services/spotifyDef.js:88:19)\n    at Promise (/Users/christophermurray/node-sonos-http-api-master/lib/music_services/spotifyDef.js:110:5)\n    at authenticateService (/Users/christophermurray/node-sonos-http-api-master/lib/music_services/spotifyDef.js:109:10)\n    at doSearch (/Users/christophermurray/node-sonos-http-api-master/lib/actions/musicSearch.js:133:12)\n    at getAccountId.then (/Users/christophermurray/node-sonos-http-api-master/lib/actions/musicSearch.js:215:14)\n    at tryCatcher (/Users/christophermurray/node-sonos-http-api-master/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (/Users/christophermurray/node-sonos-http-api-master/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (/Users/christophermurray/node-sonos-http-api-master/node_modules/bluebird/js/main/promise.js:584:18)\n    at Async._drainQueue (/Users/christophermurray/node-sonos-http-api-master/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (/Users/christophermurray/node-sonos-http-api-master/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues (/Users/christophermurray/node-sonos-http-api-master/node_modules/bluebird/js/main/async.js:15:14)\n    at runCallback (timers.js:651:20)\n    at tryOnImmediate (timers.js:624:5)\n    at processImmediate [as _immediateCallback] (timers.js:596:5)"}

I can recreate this issue when I remove my spotify clientId and secretId from settings.json. You should have a settings.json at root folder:
{   "port": 5005,   "securePort": 5006 }
You need to add after the '6' in '5006':
,   "spotify": {       "clientId": "e6ebb7f5c7f4477d84f66edfa86e3641",       "clientSecret": "a9d76960d9054ce0ae182cfa88668e4a",   }
Takes just a few minutes to log into spotify and create an 'app' and create the keys.
Try that?


DCC can approve individual courses

I was under the impression that DCC approval is all / nothing. So, allowing the DCC to approve individual courses looks like an anti-feature.

This needs to be discussed...

It should all or none.

Yes.. Implemented it current push!!!


Remove the add to gh project action

That is now handled by the Workflows built into the new projects feature on Github.

@bot-gradle test and merge

I've triggered a build for you.


updating node js version

Node.js 8.x LTS Carbon is no longer actively supported!

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @scolastico!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS against 082055c86d8914a423f50017e599473ab7d43067


Integrating on background-image css element

Hi,
I'm using my images inside "background-image" css element:

So I would like to know if it's possible to apply this library to "background-image" css element.
Thanks.

Yes, I think so.


Correct tile keys for negative latitude and longitude

It was producing tile keys like S-10W-120 when it should be S10W120

Good catch, that's what happens when you only try data from where you live!