Initial sync behaviour - delete action

From the documentation it is not clear weather or not there will be delete action (if enabled) during Initial Sync.
Let's suppose 2 different scenarios.
Scenario 1:
Tenant is about to go to production with provisioning agents and for some reason there are accounts present in AD but not in SAP. Will provisioning agent say okay, you don't exist in SAP, therefore delete from AD?
Scenario 2:
For every SAP account there is AD account. For some hypothetical reason provisioning agent must be stopped, in the meantime, while the provisioning agent is stopped, someone from HR deletes the user from SAP (I know mostly it is disabling but sometimes accounts must be deleted) and Delete trigger cannot reach provisioning agent since it is off. Now that user is deleted from SAP. Next time someone starts the provisioning what will happen to that user that no longer exists in SAP? Will it hang forever in AD and will have to be manually deleted?

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

ID: 90fd487d-65b9-917b-4687-650b34dc4d81
Version Independent ID: 27a18d45-66ab-bc71-d928-93f93fb190dd
Content: Tutorial: Configure SuccessFactors inbound provisioning in AD and Azure AD - Microsoft Entra
Content Source: articles/active-directory/saas-apps/sap-successfactors-inbound-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @cmmdesai
Microsoft Alias: chmutali

I am also interested in updating documentation about software behavior in mentioned scenarios

I am also interested in updating documentation about software behavior in mentioned scenarios

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

Hi @nikolasovilj
According to the documentation, the Azure AD provisioning service includes a feature to help avoid accidental deletions. This feature ensures that users aren't disabled or deleted in an application unexpectedly. You can use accidental deletions to specify a deletion threshold. Anything above the threshold that you set requires an admin to explicitly allow the processing of the deletions. If the deletion threshold is met, the job goes into quarantine, and a notification email is sent. The quarantined job can then be allowed or rejected.
Regarding the first scenario, if there are accounts present in AD but not in SAP, the provisioning agent will not delete them from AD. The provisioning agent will only delete users if they are deleted in SAP and the deletion threshold is met.
Regarding the second scenario, if someone from HR deletes the user from SAP while the provisioning agent is stopped, the user will not be deleted from AD. The Azure AD provisioning service doesn't automatically delete users from AD if they are deleted from SAP. The user will remain in AD and will have to be manually deleted.

@nikolasovilj
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation

@ManoharLakkoju-MSFT i was hopping that documentation will be updated with your statements:

the provisioning agent will not delete them from AD. The provisioning agent will only delete users if they are deleted in SAP and the deletion threshold is met.

The Azure AD provisioning service doesn't automatically delete users from AD if they are deleted from SAP. The user will remain in AD and will have to be manually deleted.

@hkusulja @nikolasovilj
I'm going to assign this to the document author so they can take a look at it accordingly

@nikolasovilj, closing this issue and tracking the updates internally. Thank you for contributing to our docs.


fix: add key prop on meta tag description to overwrite default one

Ticket(s)

[Airtable ticket 5651]

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Description
Meta tags were not working as expected by the implementation.
Need to find a way, using Next page route, to make meta tags work properly.
Found a possible solution at: Next Doc
Screenshots
Documentation possible solution

Checklist:

[x] I have performed a self-review of my own code
[x] There are no new linting errors/problems in my code
[x] I have filled this PR out fully, and cleaned up any extraneous items so that it is clear and easy to understand

@LeoFuna Good catch! I read the doc you linked, and I am thinking that our tags are also not in line with the bottom guideline, that all tags must be direct children of the head. I wonder if additionally, the entire social meta component should be abandoned, and the meta tags added directly to _document.tsx.

Can you also move the IndividualPageHead component in index.tsx to the top. The google analytics div will need to be fixed as well, but I am not sure if it being above the  is interfering in some way.


Animated: useNativeDriver was not specified.

I'm getting this warning.
Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false

I'm also having this issue on long pressing

Same issue on long pressing

any update on his issue??


fix: fix the way service endpoint type is passed to Key Protect

Description
In order to set endpoint type for Key Protect, you have to pass it as a parameter like this:
parameters = {
   allowed_network: "public-and-private",
 }

It should not be passed directly into ibm_resource_instance like we are doing now, as it is a special case.
Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

As expected, upgrade test failing due to expected update in place:
2024-01-31T10:13:29.6449736Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:   ~ update in-place
2024-01-31T10:13:29.6451139Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:
2024-01-31T10:13:29.6452742Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185: Terraform will perform the following actions:
2024-01-31T10:13:29.6454280Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:
2024-01-31T10:13:29.6456546Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:   # module.landing_zone.module.landing_zone.module.key_management.ibm_resource_instance.kms[0] will be updated in-place
2024-01-31T10:13:29.6459152Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:   ~ resource "ibm_resource_instance" "kms" {
2024-01-31T10:13:29.6461974Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:         id                      = "crn:v1:bluemix:public:kms:eu-gb:a/abac0df06b644a9cabc6e44f55b3880e:34595a73-64ca-48a1-b014-72c06f587120::"
2024-01-31T10:13:29.6464286Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:         name                    = "slz-kms"
2024-01-31T10:13:29.6466167Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:       + parameters              = {
2024-01-31T10:13:29.6468546Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:           + "allowed_network" = "public-and-private"
2024-01-31T10:13:29.6470218Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:         }
2024-01-31T10:13:29.6471755Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:         tags                    = []
2024-01-31T10:13:29.6473609Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:         # (33 unchanged attributes hidden)
2024-01-31T10:13:29.6475282Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:     }
2024-01-31T10:13:29.6476473Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185:
2024-01-31T10:13:29.6478135Z TestRunUpgradeQuickStartPattern 2024-01-31T10:13:29Z command.go:185: Plan: 0 to add, 1 to change, 0 to destroy.

Skipping upgrade test since its an in place update and nothing is getting destroyed

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

GitHub release
v5.13.1

Your semantic-release bot :package::rocket:


Update fa.coffee

I just translate some words and correct some mistakes to Farsi

Coverage decreased (-0.01%) to 56.315% when pulling bebf78b3c14bdc6934d1740c3918ccaf1b433114 on madamin69:patch-2 into 815712dbed98b24536cac4bf6282ed4b0048142d on codecombat:master.

Hello. Thank you for the translation. Could you sign our CLA so that we can merge your pull request?

Closed, until the signed CLA and resolved conflicts.


[Removal]:

Hotspot Name
Gentle Rouge Jaguar
Hotspot b58 Address
112azVZNMeYWkTXvPLzB8CKHXNSh8xAEiRMQCCsfLZrAkzQuVbLJ
Discord Handle
Shenel#3906<EMAIL_ADDRESS>Hotspot Manufacturer
Rising HF
Removal Reason
I am not sure I am on black/deny list but even my port and static IP available. I cannot get synced last two weeks and no witness. Please fix my witness
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
I am not sure I am on black/deny list but even my port and static IP available. I cannot get synced last two weeks and no witness. Please fix my witness

You aren't on the deny-list.

So, what's wrong with my hotspot? what should I do ?

Sync Status :  Last Updated 2 weeks ago

Might I recommend going to helium discord channel.  There are many people there that can guide you.


Enable prefer_relative_imports

Enables the prefer_relative_imports lint to align with
flutter/flutter, and fixes all violations.
Part of https://github.com/flutter/flutter/issues/76229
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

Doh, forgot to check the tool when I ran locally.

Oh, I see why I can't repro this locally. It's a lint error in the modifications made by make-deps-path-based, which only shows up if you touch enough packages to have multiple overrides in the same package 😐  Hopefully that's a quick fix that I can just add in here.


Make message dialog prettier

Message submission dialog could look a lot nicer... How?

Add button to disable markdown preview.
Add buttons for formatting.
Add button for image/drawing addition with autoformat

Formatting ignored for the moment.
Fixed up pretty nicely with 0b19c15


Confused About  RelativeBucketedTimeAndPositionBasedBias

Hi, had anyone ever confused about RelativeBucketedTimeAndPositionBasedBias function.
I used some test code to check the results of
`ext_timestamps[:, 1:].unsqueeze(2) - ext_timestamps[:, :-1].unsqueeze(1)' ,
and found that the first elements of the data is not zero.
I think this is the timediff results, the same elements shoud be zero, and the first elements shoud be the first action time - the first action time. but the code shows the result is the second action time - the first action time
But I don't know why
ext_timestamps = torch.cat([all_timestamps, all_timestamps[:, N-1:N]], dim=1)
# ext_timestamps[:, 1:].unsqueeze(2) - ext_timestamps[:, :-1].unsqueeze(1)
bucketed_timestamps = torch.clamp(
    self._bucketization_fn(ext_timestamps[:, 1:].unsqueeze(2) - ext_timestamps[:, :-1].unsqueeze(1)),
    min=0,
    max=self._num_buckets,
).detach()

Hi - the specific implementation we used here computes delta of timestamp[j+1] and timestamp[i] for the traditional next-token prediction setting (as we need to predict the item at j+1 for public datasets). This is why you see "ext_timestamps[:, 1:].unsqueeze(2) - ext_timestamps[:, :-1].unsqueeze(1)" (1: and :-1 are intended) in the code. We will add other variants later.


Do we need stripCmdPath?

@izgzhen @angerman @alpmestan I've removed unused stripCmdPath:
-- ref: mk/config.mk
-- | Command line tool for stripping.
stripCmdPath :: Action FilePath
stripCmdPath = do
    targetPlatform <- setting TargetPlatform
    top <- topDirectory
    case targetPlatform of
        "x86_64-unknown-mingw32" ->
             return (top -/- "inplace/mingw/bin/strip.exe")
        "arm-unknown-linux" ->
             return ":" -- HACK: from the make-based system, see the ref above
        _ -> return "strip"

Is this the right thing to do? There is the following comment in Settings.Builders.GhcCabal:
-- don't strip libraries when cross compiling.
-- XXX we need to set --with-strip= (stripCmdPath :: Action FilePath), and if it's ':' disable
--     stripping as well. As it is now, I believe we might have issues with stripping on
--     windows, as I can't see a consumer of `stripCmdPath`.

stripCmdPath was previously used in install by GhcCabal.

I suggest let's keep this issue open and delete the dead code for now

@izgzhen Thanks, agreed!


Undefined symbol: OBJC_CLASS$_DeepAR

Build Dev in Ios Xcode 14 React native 72

For anyone that comes across this, this is because you're trying to use it in a simulator instead of a physical device


update readme test

test

I've got my 👁 on you @keikhara  :)
Thanks for getting this party started!


Add up/down hotkeys to Charter

I was going through old issues for improvements to make and found this idea: #209. Most of this is implemented (selecting notes, deleting notes) but moving selected notes was not.
This PR performs the following changes:

Adds up/down hotkeys to move selected notes up/down one step in the charter.
Adds shift-up/down hotkeys to move selected notes up/down one beat in the charter.
Renamed the Shift option in the tabs to better indicate it affects all notes.
Added additional controls to the Help text.
Fix a crash bug: When placing a note, removing a note, then zooming in or out with CTRL-MWhell, a Null Object Reference occurs.

Nice job


[New game]: luck casino

🎮 Game Request
	Here's the quick rundown.  You are the new owner of this dump of a casino.  You need to keep the casino from bankruptcy!
	To do this you can place various games on the casino floor.  You can also rig these games in order to let customers win just enough to keep them
	happy and your coffers full.

Point down the features
Game points will be awarded on basis of least bankruptcy!
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @S-ishita !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


Correct name of IBM i Toolkit

It's a common mistake to combine "IBM" and "i," but the appropriate spelling it "IBM i." See IBM's web site.

Looks right. Thanks!


fix: clear errors after fetch on client side

fix: clear errors after fetch on client side
feat: add clear_error handler.

Closing due to https://github.com/near/rollup-data-availability/pull/102


esc-sdk-0.10.0: 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-esc-sdk-v0.10.0-darwin-arm64.tar.gz

What happened?
I added Pulumi ESC SDK to configure Pulumi Cloud ESC, but we have an error on the Python package side, as we can see below:
requirements.txt
pulumi>=3.133.0
pulumi-aws>=6.52.0
pulumi-cloudflare>=5.39.0
pulumi-command>=1.0.1
pulumi-esc-sdk>=0.10.0
pulumi-gcp>=8.3.0
pulumi-kubernetes>=4.18.1
pulumi-tls>=5.0.6
pylint>=3.3.1
pyyaml>=6.0.2

CLI output:
pulumi install
Installing dependencies...

Creating virtual environment...
Finished creating virtual environment
Updating pip, setuptools, and wheel in virtual environment...
Requirement already satisfied: pip in ./venv/lib/python3.12/site-packages (24.0)
Collecting pip
  Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Collecting setuptools
...
resource plugin esc-sdk-0.10.0 version 0.10.0 installing
error: resource plugin esc-sdk-0.10.0 downloading from : failed to download plugin: esc-sdk-0.10.0: 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-esc-sdk-v0.10.0-darwin-arm64.tar.gz

Example
Added in the description
Output of pulumi about
Added in the description
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

This looks like an esc-sdk issue, moving to https://github.com/pulumi/esc-sdk

@firemanxbr It looks like you're trying to use the esc-sdk as a Pulumi provider. If you're wanting to set up ESC environments in Pulumi Cloud in a Pulumi program, you probably want to use https://github.com/pulumi/pulumi-pulumiservice instead.

@seanyeh I'm reopening this issue. While using the pulumi-pulumiservice provider to manage ESC resource is great 👍 I don't think this SDK should attempt to download a provider binary. As I understand it, this SDK leverages the ESC REST API and this seems to be the case with according to this https://github.com/pulumi/esc-sdk/blob/main/sdk/python/pulumi_esc_sdk/configuration.py#L83

@seanyeh I'm reopening this issue.
Using the pulumi-pulumiservice provider to manage ESC resources is great 👍.
However, I don't think running pulumi install should attempt to download a provider for pulumi-esc-sdk because as I understand it, this SDK leverages the ESC REST API and there's no provider for this PyPi package. This seems to be the case with according to this https://github.com/pulumi/esc-sdk/blob/main/sdk/python/pulumi_esc_sdk/configuration.py#L83
I believe this is a bug that belongs in https://github.com/pulumi/pulumi because pulumi install determines if a provider neeeds to be downloaded based on the pulumi- prefix found in the app dependencies.


Wildcards in jsonpath do not match

Jsonpath expressions with wildcards do not produce matches. For example: jsonPath(" $.abc.*.def").findAll
Can be reproduced (latest master, macOS Mojave, both Java 8 and Java 11) by:

applying this: https://github.com/asaarilahti/gatling/commit/c259e3bc9cf825589f52e6cd4a7741502fc7e739
sbt gatling-http/test

Thanks for reporting!
I could track this down to https://github.com/oblac/jodd/pull/696


Feature/webpage agent

WebpageAgent
Summary of Changes
This PR adds a new agent WebpageAgent. The agent allows users to scrape a web page for its content. It is capable of scraping javascript rendered content with a headless browser.
Example:
webpage_agent = WebpageAgent()
data = webpage_agent.scrape('https://10millionsteps.com/ai-inflection')

Parameters:

url

The url of the webpage to scrape.

headers

Optionally pass a dictionary of headers to use for the request.

use_browser

If True, the webpage is rendered using a headless browser, allowing javascript to run and hydrate the page. If False, the webpage is scraped as-is.

wait_for_selector

The selector to wait for before returning the HTML. Useful for when you know something should be on the page but it is not there yet since it needs to be rendered by javascript. Only used if use_browser is True.

text_only

If True, only the text of the webpage is returned. If False, the entire HTML is returned.

body_only

If True, only the body of the webpage is returned. If False, the entire HTML is returned.

E2E and unit tests were added.

Merged into new dev branch by https://github.com/wgryc/phasellm/pull/46


Test

Many Github, Very wow, Such versions

Nice work @enoordeh ! Sorry the reddit link didn't work out though.


2.9.0 breaks responsiveness when multiple items are shown.

Issue description:  I recently updated from 2.8.8 to 2.9.0 and now our responsive sliders with multiple items showing with lazy loading (which worked in 2.8.8) are having issues. When it hits the breakpoint, it adjusts to the proper size, however, it is leaving empty spaces where images should be (lazy loaded images that haven't loaded and don't ever load). There was even some overlapping of images (the dynamic positioning was off).
Demo link/slider setting:   I don't have a public demo but here are the settings being used:
const theMultiCarousel = tns({
items: 1,
responsive: {
480: {
items: 2
},
768: {
items: 3
},
991: {
items: 4
}
},
container: this.targetElement,
nav: false,
slideBy: '1',
gutter: 15,
autoplay: true,
controlsText: ['', ''],
autoplayButtonOutput: false,
mouseDrag: true,
lazyload: true
});
Tiny-slider version:   2.9.0 and 2.9.1
Browser name && version:  Chrome: Version 71.0.3578.98 | Firefox: 64.0 | Safari: 12.0.2 | IE 11
OS name && version:   MacOS High Sierra V 10.13.6

Created a pull request for this issue. Changing line 1426 in src/tiny-slider.js from:
if (itemsChanged || !carousel) { updateGallerySlidePositions(); }
to
if (itemsChanged && !carousel) { updateGallerySlidePositions(); }


AirPlay goes silent after a while

iMac M1 macOS Sonoma 14.2.1
While streaming to my HomePod stereo pair (gen 1) over 5GHz Wi-Fi AirPlay will go silent after a while.
The app is still playing and the progression slider is moving.
I tested local playback and Airfoil (Rogue Amoeba) to stream the audio from Submariner with no issue as a method of elimination.
Please let me know if there is something else I can provide to help you determine the problem.

When it happens, do you see anything in Console.app? You can filter by process with process:Submariner. It may also help to check info/debug messages from the Action menu, though it'll be chattier. (You can also add subsystem:fr.read-write.Submariner to include only messages Submariner prints, but I think it's likely an Apple framework that's doing things here.)

Process:
https://www.dropbox.com/scl/fi/sxwfpxitg3c7gdupkfu1n/process.txt?rlkey=x3m356fy8bsqhzbn4z3hbp9ey&dl=0
Subsystem:
info	16:04:01.227893+0100	Submariner	Base params for <private>:
info	16:04:01.227916+0100	Submariner		parameter v = 1.15.0
info	16:04:01.227933+0100	Submariner		parameter c = submariner
info	16:04:01.227947+0100	Submariner		parameter u = bbsixzz
info	16:04:01.227963+0100	Submariner		Sensitive parameter p = 26 long
info	16:04:01.228080+0100	Submariner	Assembling base URL <private>
info	16:04:01.228101+0100	Submariner		API endpoint /rest/stream.view
info	16:04:01.228118+0100	Submariner		parameter id = c6a089b0a6bedeb3d1374873ffc07f90
info	16:04:01.228135+0100	Submariner		parameter v = 1.15.0
info	16:04:01.228149+0100	Submariner		parameter c = submariner
info	16:04:01.228163+0100	Submariner		parameter maxBitRate = 0
info	16:04:01.228178+0100	Submariner		parameter u = bbsixzz
info	16:04:01.228193+0100	Submariner		Sensitive parameter p = 26 long
info	16:04:01.228286+0100	Submariner	Playing remote track via /rest/stream.view at URL: <private>
info	16:04:01.228307+0100	Submariner	Track MIME type is audio/mpeg
info	16:04:01.237437+0100	Submariner	Base params for <private>:
info	16:04:01.237521+0100	Submariner		parameter c = submariner
info	16:04:01.237657+0100	Submariner		Sensitive parameter p = 26 long
info	16:04:01.237849+0100	Submariner		parameter v = 1.15.0
info	16:04:01.238013+0100	Submariner		parameter u = bbsixzz
info	16:04:01.238275+0100	Submariner	Assembling base URL <private>
info	16:04:01.238429+0100	Submariner		API endpoint /rest/scrobble.view
info	16:04:01.238699+0100	Submariner		parameter c = submariner
info	16:04:01.238954+0100	Submariner		Sensitive parameter p = 26 long
info	16:04:01.239100+0100	Submariner		parameter id = c6a089b0a6bedeb3d1374873ffc07f90
info	16:04:01.239263+0100	Submariner		parameter v = 1.15.0
info	16:04:01.239450+0100	Submariner		parameter time =<PHONE_NUMBER>238
info	16:04:01.239639+0100	Submariner		parameter u = bbsixzz
info	16:04:01.418544+0100	Submariner	Handling URL <private>
info	16:04:01.418561+0100	Submariner		API endpoint /rest/scrobble.view
info	16:04:01.418572+0100	Submariner		Status code is 200
debug	16:04:01.418823+0100	Submariner	Encountered XML element subsonic-response
info	16:04:01.418920+0100	Submariner	Finished XML processing
info	16:04:01.418984+0100	Submariner	Changes to Core Data will be saved...
info	16:04:01.420098+0100	Submariner	Merging changes onto main thread...
info	16:10:00.752053+0100	Submariner	Base params for <private>:
info	16:10:00.752155+0100	Submariner		parameter u = bbsixzz
info	16:10:00.752288+0100	Submariner		parameter v = 1.15.0
info	16:10:00.752469+0100	Submariner		Sensitive parameter p = 26 long
info	16:10:00.752576+0100	Submariner		parameter c = submariner
info	16:10:00.753012+0100	Submariner	Assembling base URL <private>
info	16:10:00.753052+0100	Submariner		API endpoint /rest/stream.view
info	16:10:00.753186+0100	Submariner		parameter u = bbsixzz
info	16:10:00.753299+0100	Submariner		parameter v = 1.15.0
info	16:10:00.753340+0100	Submariner		parameter maxBitRate = 0
info	16:10:00.753371+0100	Submariner		parameter id = 42a201de7ac3a01e8482f3bfe813d8c9
info	16:10:00.753482+0100	Submariner		Sensitive parameter p = 26 long
info	16:10:00.753604+0100	Submariner		parameter c = submariner
info	16:10:00.753829+0100	Submariner	Playing remote track via /rest/stream.view at URL: <private>
info	16:10:00.753953+0100	Submariner	Track MIME type is audio/mpeg
info	16:10:00.763254+0100	Submariner	Base params for <private>:
info	16:10:00.763444+0100	Submariner		parameter c = submariner
info	16:10:00.764724+0100	Submariner		parameter v = 1.15.0
info	16:10:00.764857+0100	Submariner		parameter u = bbsixzz
info	16:10:00.765070+0100	Submariner		Sensitive parameter p = 26 long
info	16:10:00.765537+0100	Submariner	Assembling base URL <private>
info	16:10:00.765661+0100	Submariner		API endpoint /rest/scrobble.view
info	16:10:00.765762+0100	Submariner		parameter c = submariner
info	16:10:00.765861+0100	Submariner		parameter v = 1.15.0
info	16:10:00.765957+0100	Submariner		parameter id = 42a201de7ac3a01e8482f3bfe813d8c9
info	16:10:00.766011+0100	Submariner		parameter time =<PHONE_NUMBER>765
info	16:10:00.766096+0100	Submariner		parameter u = bbsixzz
info	16:10:00.766216+0100	Submariner		Sensitive parameter p = 26 long
info	16:10:00.826999+0100	Submariner	Handling URL <private>
info	16:10:00.827042+0100	Submariner		API endpoint /rest/scrobble.view
info	16:10:00.827085+0100	Submariner		Status code is 200
debug	16:10:00.827286+0100	Submariner	Encountered XML element subsonic-response
info	16:10:00.827346+0100	Submariner	Finished XML processing
info	16:10:00.827428+0100	Submariner	Changes to Core Data will be saved...
info	16:10:00.828013+0100	Submariner	Merging changes onto main thread...

I started playing right after starting the log (info and debug included).
I played 1 track 05:58 then on the second track 04:44 AirPlay stopped right in the middle or towards the end.
I was not using the computer when it happened, I just turned on the music and walked away until the bug occurred.
Screen saver starts after 2 min, display sleeps after 5 min if that makes any difference.
Hope this helps, let me know if you need anything else.

This still happens on 3.2 and this time I tested it on another machine, MacBook Air M2 macOS Sonoma 14.5 (23F79)

Haven't been able to reproduce it yet on my side unfortunately.

Ok, this was at different location with a different network and a different pair of OG HomePods.


Make sure the IMG is passed to goreleaser step

Make sure the IMG is passed to goreleaser step
Patch subresources default to always contain status

Convert API generator to use source kube-bind structures

Current dependencies on/for this PR:

main

PR #23   👈

This stack of pull requests is managed by Graphite.


Usage of deprecated function Request.is_xhr

When using py.test a deprecation warning is shown for Flask-DebugToolbar:
lib/python3.7/site-packages/flask_debugtoolbar/__init__.py:190: DeprecationWarning: Request.is_xhr is deprecated. Given that the X-Requested-With header is not a part of any spec, it is not reliable     if response.status_code in self._redirect_codes and not real_request.is_xhr:
It looks like it's linked to jsonify: https://github.com/pallets/flask/issues/2549

Thanks! Fixed in https://github.com/mgood/flask-debugtoolbar/commit/7ce099c3d092cf0dcb106260396a86ba75627560.


Motor channels must calibrate BEFORE encoder functionality is exposed

If a board without calibration is run, encoder data returns 0.0 for position and velocity.
a print statement is generated suggesting (correctly) that only open loop controls can be exposed
expected behavior:
only open loop controls can be exposed BUT encoder data is still allowed by user.
code snippet that produces bug on UN-CALIBRATED boards:
#include <Arduino.h>
#include <motorgo_mini.h>

// set up encoder channels.  Encoder connected on channel 1
MotorGo::MotorGoMini mogo;
MotorGo::MotorChannel& test_stand_center = mogo.ch1;
MotorGo::ChannelConfiguration config_ch1;

// set up angle variable to read encoder data
float ts_angle = 0;
// speed
float ts_velocity = 0;

void setup() {
    Serial.begin(115200);

    // set up encoder data
    test_stand_center.init(config_ch1, true);
}

void loop() {
    test_stand_center.loop();
    ts_angle = test_stand_center.get_position();
    ts_velocity = test_stand_center.get_velocity();
    Serial.print(ts_angle);
    Serial.print("   -   ");
    Serial.println(ts_velocity);

    delay(250);
}

Thanks for the detailed report, this issue shows shows up because we don't want to assume the direction of motor/encoder pairs without a calibration.
Using just the encoder is an edge-case that the software hasn't really been designed for and there are some more places where unexpected behavior could show up. For example, depending on previously stored calibration, the positive direction of the encoder could be flipped. The low-pass filter constant on the encoder data is set to an arbitrary value right now, and can only be changed by configuring the PID controllers (which you'd never think to do to modify encoder data).
I wonder if it makes sense to define an encoder-only operation mode, that bypasses all of this functionality and just reads out encoder data
#include <Arduino.h>
#include <motorgo_mini.h>

// set up encoder channels.  Encoder connected on channel 1
MotorGo::EncoderChannel encoder_ch0; // This needs to be updated to somehow point to the right encoder

// set up angle variable to read encoder data
float ts_angle = 0;
// speed
float ts_velocity = 0;

void setup() {
    Serial.begin(115200);

encoder_ch0.init(lpf_constant);
}

void loop() {
    encoder_ch0.loop();
    ts_angle = test_stand_center.get_position();
    ts_velocity = test_stand_center.get_velocity();
    Serial.print(ts_angle);
    Serial.print("   -   ");
    Serial.println(ts_velocity);

    delay(250);
}

This would also completely bypass all of the commutation computation, which is happening when you're calling loop on your MotorChannel object. What do you think @alexchunlin ?


NameError: name 'ChatMessage' is not defined

NameError: name 'ChatMessage' is not defined
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:600 in _run_script
/mount/src/ledoux/streamlit_app.py:54 in
 51 │   ]

 52

 53 if "message_history" not in st.session_state.keys():

❱  54 │   st.session_state.message_history=[ChatMessage(role=MessageRole.ASS
 55

 56 indexPath=r"LeDou"

 57 m=["gpt-4-1106-preview","gpt-4-0125-preview"]

Included that library, resolved sir


[Audit][FEA][SPARK-39741][SQL] Support url encode/decode as built-in function

Is your feature request related to a problem? Please describe.
This Spark change aims to two points as follow:

add url encode/decode as built-in function support.
tidy up url-related functions to one scala file

    expression[UrlEncode]("url_encode")
    expression[UrlDecode]("url_decode")
    expression[ParseUrl]("parse_url")

Describe alternatives you've considered

update compatibility doc.
add handler to the new expression/fallback

Additional context
https://github.com/apache/spark/commit/e5c1b82201

If we work on this, we should split url_encode and url_decode into one issue, and parse_url into another issue.

parse_url is handled by https://github.com/NVIDIA/spark-rapids/issues/6969


ci: using -dev package in builder for tauri libappindicator

https://github.com/build-trust/ockam-artifacts/pkgs/container/ockam-builder/124066386?tag=latest


[FEATURE] 32 Bit builds for people who use 32 bit versions of windows.

Describe the feature
A 32 bit installer or 32 bit portable version to be used on 32 bit versions of windows.
Expected behavior
Additional context
Needing a 32 bit executable is quite rare but I have been asked for it a few times. (I have a fork of SmartStitch with a memory fix and has both 32 bit and 64 bit windows builds) I think it would be ideal for the few people who are on 32 bit OSes/systems to have a version of SmartStitch that they can just use.

Describe the feature A 32 bit installer or 32 bit portable version to be used on 32 bit versions of windows. Expected behavior
Additional context Needing a 32 bit executable is quite rare but I have been asked for it a few times. (I have a fork of SmartStitch with a memory fix and has both 32 bit and 64 bit windows builds) I think it would be ideal for the few people who are on 32 bit OSes/systems to have a version of SmartStitch that they can just use.

@AbhiMayadam
PySide is only available for 64bit systems since PySide2.


Add file upload journey to frontend prototype

Context
This work is to prototype the file upload journey when uploading the initial consultation JSON.
Changes proposed in this pull request

Updating the prototype homepage to easily locate this journey:

The actual file upload page:

Validation errors if there is a problem with the file or upload process:

Confirmation page if upload and validation successful:

Guidance to review / things to check

Start the frontend prototype and follow the journey starting at https://localhost:3000.
If you try uploading anything other than a .json or .js file, the validation error messages should display (this is just a quick way of simulating the validation process which will obviously be more detailed in the actual app).
Continuing with uploading a suitable file takes you to the confirmation page.

Thoughts / questions

I don't think we need to collect any more data during the process, as everything else will be contained within the JSON file. Is this assumption correct? Is there anything I haven't allowed for?
If the form is longer we should follow the one question per page rule. We could also do that here but I'm not certain it would be helpful in this instance.

This is now ready for review, @duncanjbrown

Updated to show schema errors:


Feature Request: zsh autocompletion

zsh / bash autocompletion would be great to have

+1

I don't use zsh (I've seen a basic howto but never actually used it myself).
Can you explain exactly what this autocompletion would do in context of synth?  what would it be used for, adding cat/portname combinations on build commands?
finally, do either one of you know how to implement it?  If so, maybe you could provide a pull request?
Since I don't know what the autocompletions are supposed to do, I'm at a loss of how to begin to implement it (or even if it needs to be an option or installed by default)

bash and zsh autocomplete commands by pressing .
So if a user entered synth and then pressed , a list of the available commands would appear (just as using synth help).
If the user entered synth conf<TAB>, the command would autocomplete to synth configure.
synth install security/libres<TAB> would give security/libressland security/libressl-develto choose and so on.
a quick introduction:
https://scottlinux.com/2011/08/19/quick-intro-to-zsh-auto-complete/
http://zsh.sourceforge.net/Doc/Release/Completion-System.html
maybe this points in the right direction:
https://blog.jcoglan.com/2013/02/12/tab-completion-for-your-command-line-apps/

For example, you can take a look at completions supplied along with ports-mgmt/portupgrade port:
%%EXAMPLESDIR%%/bash/complete.sample
%%EXAMPLESDIR%%/tcsh/complete.sample

fyi, I intend to support this but it will be post-1.00.  I need help too because mogrify examples on internet don't work for me.

yay! Looking forward to it!
Maybe this helps a little bit?
https://github.com/churchers/vm-bhyve#autocomplete

the problem is that zshell doesn't work for me.
I've installed it, tried to use it, but the examples on the internet for command completion fail.
this "mogrify" thing, zsh doesn't get it.
If I can't use it myself, I can't test it.

try that:
install zsh, start a zsh shell.
then enter pkg [SPACE], [TAB].
Then you should see all the commands that pkg offers.
This also works with bash.
This also works:
freebsd-update -[SPACE][TAB]

@jrmarino, if there's a forum, where synth is discussed, I think you can just ask for contribution - there're a lot of people using completions with zsh and bash and a lot of people who know how to create those completions.

bax, it doesn't work for me, at least not in DragonFly.
When I hit [SPACE] followed by [TAB], the first time i get a list of files/directories (ls e.g. /usr/ports/ports-mgmt/pkg) and the subsequent tabs just cycle through those.
no commands, just files.

i can't make it work in freebsd either, with either zsh or bash.

that's strange…
dose cd [TAB] work?

I think it worked right away for me…
maybe you have to enable it (there should be a setup screen the first time you use it):
http://unix.stackexchange.com/questions/108136/run-the-zsh-first-use-wizard
http://wp.edsel.nu/2010/06/03/howto-make-a-nice-zsh-command-prompt/
and maybe another resource as to how to implement it in synth:
https://github.com/freebsd/portmaster/blob/master/files/zsh-completions

FreeBSD + Bash: install shells/bash-completion and follow instructions from pkg-message.
By the way, there are Perl ports to deal with Bash completions:
shells/p5-Bash-Completion Extensible system to provide bash completion
shells/p5-Term-Bash-Completion-Generator Generate bash completion scripts

this is coming back to me now.  zsh had similar pkg-message that was equally cryptic.  nothing works out of the box.  It's pretty horrible actually.
I'm just running bash manually, so does .bashrc even work?

bash doesn't work for me.  i modified .bashrc which didn't exist, predictably it didn't work.
zsh pkg-description has this to do
$ autoload -U compinstall
$ compinstall
I tried it and got a huge cryptical menu list.
this is really crap for me.  Please provide step by step instructions for somebody that doesn't have it install and doesn't use it.  The previous instructions assume way too much prior install and knowledge.  So far I'm pretty unimpressed with the amount of hoop jumping involved.  It definitely doesn't "just work"

You just have to source that file mentioned in pkg-message. You can find "stock" completions in /usr/local/share/bash-completion/completions/. Those will work right after sourcing /usr/local/share/bash-completion/bash_completion.sh. Additional completions (portmaster, pkg etc) could be sourced manually if shipped with the port or if downloaded from the net.

that makes bash work, thx

As an example:
17:42:31 [yz@nb][w:10][j:0][~]> echo $SHELL
/usr/local/bin/bash
17:42:37 [yz@nb][w:10][j:0][~]> bash --version | head -1
GNU bash, version 4.3.42(1)-release (i386-portbld-freebsd10.2)
17:42:41 [yz@nb][w:10][j:0][~]> . /usr/local/share/bash-completion/bash_completion.sh
17:42:43 [yz@nb][w:10][j:0][~]> portupgrade -<TAB>
-A   -C   -F   -M   -O   -PP  -S   -a   -c   -h   -k   -m   -o   -q   -s   -v   -x
-B   -D   -L   -N   -P   -R   -W   -b   -f   -i   -l   -n   -p   -r   -u   -w   -y

what about this one for bash?
https://www.dragonflybsd.org/~marino/_synth.bash
I think you just install it in /usr/local/etc/bash-completion.d/ with mode 755 and the next time bash logs in it is ready.

zsh is still a disaster though. Per pkg-message:
autoload -U compinstall
(no response)
compinstall
I haven't found any existing completion definitions.
If you have some already defined by compinstall, edit the name of the
file where these can be found.  Note that this will only work if they
are exactly the form in which compinstall inserted them.  If you leave
the line as it is, or empty, I won't search.
file> /root/.zshrc

I don't know what the hell to do with that. both curl and pkg have zsh completions at /usr/local/share/zsh/site-functions
I am not reading  zshcompsys(1) manpage as suggested by pkg-message.
how does anyone get started with this cryptic mess?

i finally got zsh completions working and I produced this for synth:
https://www.dragonflybsd.org/~marino/_synth
zsh pretended it did not exist until l reinstall poudriere with zsh extensions and then it recognized it.  I guess it was cached or something but it was HIGHLY frustrating to say the least.

@jrmarino THAT I can imagine!
Glad you got it working.
If you like it, you could have a look here:
https://github.com/robbyrussell/oh-my-zsh
or
https://github.com/sorin-ionescu/prezto
http://mikebuss.com/2014/02/02/a-beautiful-productive-terminal-experience/
looking forward to the next version

can you test it now?
Just copy to /usr/local/share/zsh/site-functions
(you might have to install something like poudriere to make it get recognized though)

works so far!
suggestions for even further improvement:
when I enter synth status[SPACE][TAB] I see the correct message to enter a port or a file's location.
It would be cool if autocompletion would be active when I started to enter a path (e.g. /us[TAB] should autocomplete to /usr/ and so on). Most programs do this.
Also it would be great if autocompletion would work if I entered a port (e.g. www/ng would autocomplete to www/nginx and www/nginx-devel.
Portmaster and some other programs' autocompletion do this, I think the needed lines can be found in portmaster's implementation linked to in one of my posts above.

Most programs do this.
it did before.  the auto-completion broke it

Also it would be great if autocompletion would work if I entered a port (e.g. www/ng would autocomplete to www/nginx and www/nginx-devel. Portmaster and some other programs' autocompletion do this, I think the needed lines can be found in portmaster's implementation linked to in one of my posts above.

maybe you can dig them out?  at this time I have no idea how to do that

i think i can fix at least the file path (first issue above)

That should be the needed part:
case "$state" in
  pkgs)
    if [ $with_pkgng -eq 1 ]; then
      array=($(pkg info -aq))
    else
      array=("${PKG_DBDIR:-/var/db/pkg}"/*(/:t))
    fi
    _describe -t packages "installed ports" array
    ;;
  ports)
    _files -X "%Bports%b" -W "${PORTSDIR:-/usr/ports}" -/
    ;;
  pkgs_ports)
    _tags packages ports
    while _tags; do
      if _requested packages; then
        if [ $with_pkgng -eq 1 ]; then
          array=($(pkg info -aq))
        else
          array=("${PKG_DBDIR:-/var/db/pkg}"/*(/:t))
        fi
        _describe -t packages "installed ports" array && ret=0
      fi
      if _requested ports; then
        _files -X "%Bports%b" -W "${PORTSDIR:-/usr/ports}" -/ && ret=0
      fi
      (( ret )) || return ret
    done
    ;;
esc

I don't know what to make of it either, though.
Maybe I have some time to check it out next week

how about this one?
https://raw.githubusercontent.com/jrmarino/synth/master/shell-completers/_synth

like a charm!

it's not perfect.  during the rework of bash I realized some thing.  zsh shouldn't let you add a path after the first port. e.g.
synth just-build (at this port allow file or port origin)
synth just-build file (at this port, allow nothing more)
synth just-build port-origin1 (at this point, only allow port origins)

These drafts were released with version 0.99_7, request done.


Move custom action to bcgov-nr

PR commenter is in a personal repo, since bc gov org isn't ready.  Move to bcgov-nr until this is sorted.  Add any future actions there as well.

Done!
https://github.com/bcgov-nr/action-pr-description-add


Make logging related settings configurable

You can now configure the log level and choose one of the predefined
Odin formatters via environment variables (LOG_LEVEL, LOG_FORMATTER)

Codecov Report

Merging #88 (d050358) into develop (8e87688) will decrease coverage by 21.75%.
The diff coverage is 12.19%.

@@             Coverage Diff              @@
##           develop      #88       +/-   ##
============================================
- Coverage    75.00%   53.24%   -21.76%
============================================
  Files            4        5        +1
  Lines           56       77       +21
============================================
- Hits            42       41        -1
- Misses          14       36       +22

Impacted Files
Coverage Δ

src/main/scala/app/Api.scala
100.00% <ø> (ø)

src/main/scala/app/Config.scala
0.00% <0.00%> (ø)

src/main/scala/app/Main.scala
0.00% <0.00%> (ø)

...main/scala/org/slf4j/impl/StaticLoggerBinder.scala
100.00% <ø> (ø)

src/main/scala/app/OdinInterop.scala
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add a Find a route function to Physical Address Viewer

We need to demo route planner as part of Location Services Engagement but we don't have a demo. Physical Address Viewer has most of what we need. Just need to add a Find Route function. This doesn't replace need for a browser-based demo app but it should be quick to write and will give us something to show within a couple of weeks instead of a month or so.
__
Use javascript to implement a "find a route" function in physical address viewer.
Form should look something like this:
Plan a Route
From: _____________________
To: _____________________
[Find a Route]
From: and To: fields use Address Finder Widget to compute locations of start and end points. When you press the [Find a Route] button, the system calls the route planner with start and end points and requests KML output. Response will appear as a folder at the bottom of the Temporary Places panel.

Javascript in KML
https://groups.google.com/forum/#!topic/kml-support-advanced/-rMNAQhw-5I
https://groups.google.com/forum/#!topic/kml-support-advanced/T-VNS4SDt2o

CM Hodgson wrote:
"I think we are limited to some degree in the level of sophistication we can have, but it is possible to do an XMLHTTPRequest, so I think it is possible to do two geocodes, get the points, and then do a route. I can't see a way to import external libraries, all of the javascript seems to have to be in the kml itself, so this makes implementing the widget functionality (typeahead auto-complete) very difficult because of the sheer volume of javascript code that would need to be included (and who knows if the google earth javascript interpreter would even do everything in all of that code)."
Chris wrote:
"I'm envisioning 2 input boxes, each with a geocoder button beside, and after pushing it, just below the box it would show the matched fullAddressString (and perhaps coordinates?) and then below all of that, a "route" button that is enabled after you have 2 successful geocodes done? You push that and it loads the kml from the router?"

The XMLHTTPRequest approach sounds good. As for the proposed UI:
Display the coordinates of each geocode too.
Use "Find Route" instead of "Route" for the routing button label.
Add an option for fastest/shortest route.
Add an option for metric/imperial units.

Given that the physical-address-viewer is a KML file, I should be able to tinker with the UI once it is delivered and tested.
Please provide an estimate.

find_route.html and find_directions.html committed to bc_route_planner directory in gh branch of bcgov-ols-devkit

Verified in delivery

Verified


[Question]: Have there been any progress in resolving the following CVEs in the latest releases?

Describe your question
The following CVEs are being detected by Microsoft Defender for Cloud in the current version of v3.243.1 that I am using in the ADO agents. Is there any update on fixing these as some are dated all the way to 2016?
CVE
CVE-2016-10540
CVE-2017-18077
CVE-2022-3517
CVE-2022-0144
CVE-2022-34716
CVE-2024-27086
CVE-2024-35255
Versions
Azure pipelines v3.243.1
Environment type (Please select at least one environment where you face this issue)

[x] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
Ubuntu 24.04
Version controll system
Azure Repos
Azure DevOps Server Version (if applicable)
No response

@marlenkassym, thank you for bringing this to our attention. We will review these CG alerts shortly.

@marlenkassym Thanks for your question.
I have checked our reporting and those CVEs were resolved.
Just to ensure I would like to clarify a few things:

What scanning tool do you use?
Do you scan the entire VM or agent folder? There might be old CVEs reported as there are previous agent version folders left after agent update. Also while scanning Agent folder there are downloaded tasks folders, which contain older versions with possible vulnerabilities.
It would be useful if you can share some file paths (relative would be good) so we can understand if the specific CVE is task or agent related, and if it's from some outdated tasks/agent version

@DergachevE Hi, have there been any update on your findings? Thanks.

@marlenkassym, I found related issue #5008.

CVE-2016-10540
/ado-linux-agent/externals/vso-task-lib/node_modules/minimatch/package.json
Vendor: minimatch
Installed version: <IP_ADDRESS>
CVE-2017-18077
/ado-linux-agent/externals/vso-task-lib/node_modules/minimatch/node_modules/brace-expansion/package.json
Vendor: brace-expansion
Installed version: <IP_ADDRESS>
CVE-2022-0144
/ado-linux-agent/externals/vso-task-lib/node_modules/shelljs/package.json
Vendor: shelljs
Installed version: <IP_ADDRESS>
CVE-2022-3517
/ado-linux-agent/externals/vso-task-lib/node_modules/minimatch/package.json
Vendor: minimatch
Installed version: <IP_ADDRESS>
There is a workaround related to vso-task-lib folder vulnerabilities:

if you don't have an old task relying on this vso-task-lib (I assume you don't if you're not using TFS 2015), as a mitigation you can remove it from agent externals.

CVE-2022-34716
/ado-linux-agent/bin/Agent.PluginHost.deps.json
/ado-linux-agent/bin/Agent.Sdk.deps.json
Vendor: system.security.cryptography.xml
Installed version: <IP_ADDRESS>
This CVE was resolved in #4996

CVE-2024-35255
/ado-linux-agent/bin/Agent.PluginHost.deps.json
/ado-linux-agent/bin/Agent.Plugins.deps.json
/ado-linux-agent/bin/Agent.Sdk.deps.json
/ado-linux-agent/bin/Microsoft.VisualStudio.Services.Agent.deps.json
Vendor: microsoft.identity.client
Installed version: <IP_ADDRESS>
This CVE was resolved in #4910

CVE-2024-27086
/ado-linux-agent/bin/Agent.PluginHost.deps.json
/ado-linux-agent/bin/Agent.Plugins.deps.json
/ado-linux-agent/bin/Agent.Sdk.deps.json
/ado-linux-agent/bin/Microsoft.VisualStudio.Services.Agent.deps.json
Vendor: microsoft.identity.client
Installed version: <IP_ADDRESS>
This CVE has low severity and includes a warning within the CVE:

Important
ONLY applications targeting Xamarin Android and .NET Android (MAUI) are impacted. All others can safely dismiss this CVE.


Build failed

With Android Studio Ladybug | 2024.2.1 :
A problem occurred configuring project ':flutter_barcode_scanner'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.

+1 ... Had to rebuild project since last year, for a yearly event where we use the scanner, but with new flutter version and brand new project ... :(
flutter doctor -v

`[✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-x64, locale es-ES)
• Flutter version 3.24.3 on channel stable at /Users/.../develop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (3 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/.../Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/.../Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16A242d
• CocoaPods version 1.14.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
`

Ok.. found the trick ... by adding this code to project > build.gradle ...

...

rootProject.buildDir = "../build"
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}

***** ADD THIS LINES *****

subprojects {
    afterEvaluate { project ->
        if (project.hasProperty('android')) {
            project.android {
                if (namespace == null) {
                    namespace project.group
                }
            }
        }
    }
}

***** TILL HERE *****

subprojects {
    project.evaluationDependsOn(":app")
}

...

... good luck @CyrilleP46

Thanks, it work.

Are you still using this plugin? What kind of issues are you currently facing in production? @CyrilleP46 @bytelyus


How do I convert Chinese characters to Hanyu Pinyin with tone display options?

SHORT ANSWER

TODO: Add YouTube video here

LONG ANSWER

Install the Hanzi to Pinyin Converter App from the Chrome Web Store.

Copy and paste Chinese text into the input box.

Use the dropdown menu to choose your Pinyin display options.

You can use tone numbers (the default option).

You can remove all the tone numbers.

You can add tone marks.


Seemingly contradictory statement in MAUI resource reference

This page https://docs.microsoft.com/en-us/dotnet/maui/user-interface/images/splashscreen?tabs=android
Says:
A .NET MAUI splash screen can use any of the standard platform image formats, including Scalable Vector Graphics (SVG) files.
Important
.NET MAUI converts SVG files to PNG files. Therefore, when adding an SVG file to your .NET MAUI app project, it should be referenced from XAML or C# with a .png extension.
<ItemGroup>   <MauiSplashScreen Include="Resources\Splash\splashscreen.svg" /> </ItemGroup>
The Important statement seems to be contradicted by the ItemGroup example.

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

ID: 44323c6e-d65c-b254-ee3c-cd9415bdf3bc
Version Independent ID: 44323c6e-d65c-b254-ee3c-cd9415bdf3bc
Content: Add a splash screen to a .NET MAUI app project - .NET MAUI
Content Source: docs/user-interface/images/splashscreen.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @genifycom
What the doc is trying to say is this: .NET MAUI converts .SVGs to .PNGs. However, always reference the .SVG from your .csproj. However, if you needed to reference an SVG image file from XAML/C# (e.g. load the image in an Image control) you should always use the .PNG extension (the version of the file converted by .NET MAUI).
I appreciate that the text is confusing so I'll give it an update.


Add ability to edit news

Closes #1813
This PR adds the ability to edit news from the admin dashboard. However, it does not allow choosing whether to send notifications as mentioned in the issue. Notifications are managed by a listener that only receives the news model, so it wouldn't have access to a potential send email checkbox unless it was stored in the database (which wouldn't be very useful).
Updating news does not send any notifications because the NewsAdded event is not emitted.
This is entirely managed via AJAX

UPDATE:
Now there's a checkbox to send notifications when a news is added. If checked it'll send notifications according to your settings (either discord, email, or both)


multi search

hello,
How do I ignore the accents in the search ??
How do I search fields in json fields ??
thank you

Add :internal-search="false" and filter the options by yourself using the @search-change event.
Example: http://monterail.github.io/vue-multiselect/#sub-asynchronous-select

@shentao additionaly i try @search-change="asyncFind" with console log for testing purpose in method, but nothing happend, like event its not triggered, other events works ok, any idea please?

@shentao
Would be great to have this as an option. I too use the @search-change but in a form with many fields and many Multiselect components it makes so much noise. On your side it would be only to pass the query to https://lodash.com/docs/4.17.11#deburr before going on with the search.
Other topic, saw you at the Amsterdam Vue conference in February, your talk was very interesting. Thank you for this great component.

Hey! If you have this problem repeatedly, I would suggest creating a proxy component on top of VueMultiselect that forwards most of the props and listeners and adds the :internal-search="false" and @search-change listener to filter out options.
You could also create your own version of Multiselect, by extending the component and making the required changes.

Thank you for the tip, I'm already doing just that. I just wanted to write about this here so that you know that there are users who need this. If you ever find yourself wondering what feature to add next to Multiselect, this one might be just the thing :)

So my idea for the v3 is to actually limit the features/API so there is less code to maintain since this is really a pain now... But at the same time, make it easier to extend, compose and modify the behavior so that it opens completely new possibilities without increasing the complexity of the component itself.

Hi @csicky & @patie & @nunob87
If you do not wait until the merge, you can use this code
<multiselect
  :ref="`multiselect-${index}`"
  @search-change="ignoreAccent(`multiselect-${index}`)"
>
</multiselect>

ignoreAccent(elem) {
  this.$refs[elem][0].search = this.$refs[elem][0].search.normalize('NFD').replace(/[\u0300-\u036f]/g, "")
}

That clean key search contains on the Multiselect component 👍

Add :internal-search="false" and filter the options by yourself using the @search-change event.
Example: http://monterail.github.io/vue-multiselect/#sub-asynchronous-select

Thanks! I've been struggling with this for a few hours until I found this thread.
My Axios response returns the correct array of elements to show but for some reason, those containing accents weren't showing in the dropdown suggestions list.
As the documentation says, if you are looking into a specific field the :internal-search="false" option must be used.
Hope this helps anyone else in the future

For a diacritic/case insensitive search (considering the "needle" AND the "haystack") here is what I ended up with:
<multiselect
  :options="filteredOptions"
  :internal-search="false"
  @search-change="searchChange"
>

function removeDiacritics(text) {
  return text.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
}

function normalizedContains(needle, haystack) {
  const regExp = new RegExp(removeDiacritics(needle), 'gi');
  return regExp.test(removeDiacritics(haystack));
}

const fullOptions = [
  'Chouétte',
  'Chouètte',
  'Choüette',
  'chÔuette',
];

export default {
  data() {
    return {
      fullOptions,
      filteredOptions: fullOptions
    }
  },
  methods: {
    searchChange(search) {
      this.filteredOptions = search
        ? this.fullOptions.filter(option => normalizedContains(search, option))
        : this.fullOptions;
    }
  }
//...

Would need some tuning to get a generic implementation until we get a native option


Linting with golangci-lint

Default linters

[x] deadcode
[ ] errcheck
[ ] govet
[x] ineffassign
[x] structcheck
[x] typecheck
[x] varcheck
[ ] unused

Extra linters

[x] asciicheck
[x] bidichk
[x] bodyclose
[ ] contextcheck
[ ] cyclop
[ ] dupl
[x] errname
[ ] errorlint
[x] exportloopref
[ ] forcetypeassert
[x] gci
[ ] gochecknoinits
[ ] godot
[ ] gomnd
[x] gocritic
[x] gofumpt
[ ] gosec
[ ] ireturn
[ ] nilerr
[ ] nilnil
[ ] noctx
[x] misspell
[ ] revive
[ ] unparam
[ ] varnamelen

rel https://github.com/werf/werf/issues/4103

We are satisfied with whatever linters we have now.


Added support for different namespaces

Now we can deploy application in different namespaces using the --namespace=<value> flag with kompose up and kompose down. The --namepace flag will deploy the application in that particular namespace if, exist.
docker-compose file used.
version: "2"
services:
  web:
    image: tuna/docker-counter23:latest
    ports:
      - "5000:5000"
    links:
      - redis
  redis:
    image: redis:latest
    ports:
      - "6379"

Current namespaces in k8s cluster
$ kubectl get namespace
NAME          STATUS    AGE
default       Active    3m
development   Active    3m
kube-system   Active    3m

Deploy application in namespace=development
$ kompose up --namespace=development
We are going to create Kubernetes Deployments, Services and PersistentVolumeClaims for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'kubectl create -f' commands instead.

INFO[0000] Deploying application in "development" namespace

INFO[0000] Successfully created Service: redis
INFO[0000] Successfully created Service: web
INFO[0000] Successfully created Deployment: redis
INFO[0000] Successfully created Deployment: web

Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods,pvc' for details.

Verify application been deployed in the namespace=development correctly
$ kubectl get deployment,svc,pods,pvc --namespace=development
NAME                        DESIRED      CURRENT             UP-TO-DATE   AVAILABLE   AGE
redis                       1            1                   1            0           2m
web                         1            1                   1            0           2m
NAME                        CLUSTER-IP   EXTERNAL-IP         PORT(S)      AGE
redis                       <IP_ADDRESS>   <none>              6379/TCP     2m
web                         <IP_ADDRESS>    <none>              5000/TCP     2m
NAME                        READY        STATUS              RESTARTS     AGE
mlbparks-3930800586-mblgc   0/1          Terminating         0            4m
redis-741327525-om0xc       0/1          ContainerCreating   0            2m
web-519030457-28arz         0/1          ContainerCreating   0            2m

Delete the application that has been deployed in the namespace=development
$ kompose down --namespace=development
INFO[0000] Deleting application from "development" namespace

INFO[0000] Successfully deleted Service: redis
INFO[0000] Successfully deleted Service: web
INFO[0003] Successfully deleted Deployment: redis
INFO[0006] Successfully deleted Deployment: web

Fixes: #473
CC: @kadel @cdrage @containscafeine @surajssd

if this is being done for up and down then this can/should also be done for convert ??

@surajssd How does it make sense to add this to convert? We can deploy the artifacts created by kompose convert in any namespace we want using kubectl for example,
$ kubectl create -f <file> --namespace=development

I agree with @procrypt that this doesn't make sense to add to convert. Convert simply converts the files and outputs it in the same directory. Using kubectl to bring them up.

@cdrage Updated PR

LGTM!

Ping @kadel @cdrage

@kadel @cdrage All green now :relaxed:


More clarity needed for Nuget.org package source requirement

The bullet point about having nuget.org as a source should be a bit more specific/detailed. While the link helps, it was not obvious enough that we need "https://api.nuget.org/v3/index.json" as the source URL, since it wasn't stated anywhere except in the codeblock.
I found it a bit challenging as I am new to using Visual Studio.

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

ID: 42aa9e2a-5cad-de4e-529e-661e3744159b
Version Independent ID: 1b8ececa-8e30-ad26-7229-059f62f7868b
Content: Get started with Project Reunion
Content Source: hub/apps/project-reunion/get-started-with-project-reunion.md
Product: reunion
Technology: ****
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

Thanks for your feedback! I just published some revisions to this step in the article to clarify where in Visual Studio you can go to confirm this setting. These changes should be visible on the live docs site in the next hour or so.


mkvtoolnix: 24.0.0 -> 25.0.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mkvtoolnix/versions.
meta.description for mkvtoolnix is: '"Cross-platform tools for Matroska"'.

Checks done (click to expand)

built on NixOS
/nix/store/jrrc0r3kldhh3a7hd02081n48x6rbldl-mkvtoolnix-25.0.0/bin/mkvmerge passed the binary check.
/nix/store/jrrc0r3kldhh3a7hd02081n48x6rbldl-mkvtoolnix-25.0.0/bin/mkvinfo passed the binary check.
/nix/store/jrrc0r3kldhh3a7hd02081n48x6rbldl-mkvtoolnix-25.0.0/bin/mkvextract passed the binary check.
/nix/store/jrrc0r3kldhh3a7hd02081n48x6rbldl-mkvtoolnix-25.0.0/bin/mkvpropedit passed the binary check.
Warning: no invocation of /nix/store/jrrc0r3kldhh3a7hd02081n48x6rbldl-mkvtoolnix-25.0.0/bin/mkvtoolnix-gui had a zero exit code or showed the expected version
4 of 5 passed binary check by having a zero exit code.
0 of 5 passed binary check by having the new version present in output.
found 25.0.0 with grep in /nix/store/jrrc0r3kldhh3a7hd02081n48x6rbldl-mkvtoolnix-25.0.0
directory tree listing: https://gist.github.com/5a7cdc50f68913ed5c32cf1b420b2a19
du listing: https://gist.github.com/46ede7728aa5bfdee8ab86a0005b9a21

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 9cdf5ab775eba64de6603b6ce2b5c9d6428af665 && nix-shell --pure -I nixpkgs=. -p mkvtoolnix

cc @codyopel @fuuzetsu @rnhmjoj for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: mkvtoolnix
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: mkvtoolnix
Partial log (click to expand)
shrinking /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0/bin/mkvextract
shrinking /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0/bin/mkvinfo
shrinking /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0/bin/mkvmerge
gzipping man pages under /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0/bin
patching script interpreter paths in /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0
checking for references to /build in /nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0...
postPatchMkspecs
/nix/store/qjc4nbx2m913dy4wn8c1hagxd5sy00f1-mkvtoolnix-25.0.0

Failure on x86_64-linux (full log)
Attempted: mkvtoolnix
Partial log (click to expand)
         CXX src/extract/xtr_avc.cpp
         CXX src/extract/xtr_ivf.cpp
         CXX src/extract/chapters.cpp
          AR src/extract/libmtxextract.a
      RANLIB src/extract/libmtxextract.a
        LINK src/mkvextract
         CXX src/propedit/propedit.cpp
         CXX src/propedit/segment_info_target.cpp
building of '/nix/store/lpihjfk7s1dymccp4n09gbdg3i3cc1za-mkvtoolnix-25.0.0.drv' timed out after 3600 seconds
error: build of '/nix/store/lpihjfk7s1dymccp4n09gbdg3i3cc1za-mkvtoolnix-25.0.0.drv' failed

Failure on x86_64-linux ??

It just timed out. I've built it locally without problems.


neutralButtonLabel not working

Bug report
Summary
neutralButtonLabel does not display a button.
Environment info
react-native info output:
System:
    OS: Windows 10 10.0.18363
    CPU: (4) x64 Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
    Memory: 23.76 GB / 31.89 GB
  Binaries:
    Node: 12.16.1 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.3 - C:\Program Files\nodejs\npm.CMD
  SDKs:
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.0
      System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
  IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-183.6<IP_ADDRESS>22156
  npmPackages:
    react: ^16.12.0 => 16.12.0
    react-native: ^0.61.5 => 0.61.5

Library version: 2.4.2
Steps to reproduce
Use DateTimePicker as such:
<DateTimePicker
  value={moment().toDate()}
  neutralButtonLabel='clear'
/>

Describe what you expected to happen:

A "CLEAR" button to appear on the picker in the bottom left.

Edit: Before anyone asks... yes I am aware this prop is only for Android, and I am using Android.

@hufftheweevil you can provide more information about what version of Android you have tested and provide a reproducible demo (can be a repository here on github with the steps to reproduce)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Frontend_with_Framework: React 6.2 -> Context in React

Description
Contributors are required to create Documentation and explain about the Context which should cover the question like:

What is Context in React ?
Where we use Context in React ?
Benefits of the Context in React ?
also give some theory explanation with code
any addons from your side (in-depth of the topic) .

Note :

Plagiarism is strictly prohibited.
Changes should be made inside the Frontend_Web_Development_React_Angular_Vue/ dir inside Frontend_Web_Development_React_Angular_Vue branch.
Files need to be added into the Week 6 folder only.

Domain
Frontend Dev React/Angular/Vue
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

please assign me this issue, I can do it.


Markdown: contribute snippets to standalone

Using registerCompletionItemProvider. Can take the snippets from https://github.com/Microsoft/vscode/blob/1.2.0/extensions/markdown/snippets/markdown.json

Moved to https://github.com/Microsoft/monaco-editor/issues/65


Fixes for missing end blocks

Also fixes the need to require the AWS plugin

Thank you Dr. Lundgren! 👍


Add entity ID to input_number warning

Breaking change

Passing an out of range value to input_number.set_value will now raise a validation error. Incrementing/decrementing an input_number will no longer cause warnings.
Proposed change

Make increment/decrement calls for input_number no longer print warnings but instead clamp values to min/max.
Setting value to a value that is out of range for an input_number will now raise a validation error.

Fixes #22527
Type of change

[ ] Dependency upgrade
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist
[ ] The code has been formatted using Black (black --fast homeassistant tests)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

[ ] No score or internal
[ ] 🥈 Silver
[ ] 🥇 Gold
[ ] 🏆 Platinum

I still need to come up with a good solution to provide automations for internal integrations


Feature request: Provide changed file path for the executed command

The changed file path could be exposed in environment variables, letting the executed command know which file changed exactly. The changed file path could be useful if you want to rebuild just the changed file, for example.
I have a possible implementation ready for this if you are interested in taking a PR for the feature.

This seems like a useful feature that fits in with the spirit of this plugin, so I'd be happy to take on a PR for this feature.
I've seen you've already opened #8 so will leave my comments there.


Add option to edit mirror interval on repo push mirrors

at the moment you have to recreate a push mirror if you want to change the interval :/

Hello @6543,
I would like to contribute to this issue, I've worked on golang projects before, and would like to work on gitea. how can i get started? :)

@6543 Could you assign this to me?

As per my understanding
we have mininum 10 minute default periodic sync time when we setting up any mirror and once we done setting as below

screen shot
We don't have option to edit the periodic time in existing setted up push mirror.

So in this ticket we want that small feature so that we don't have to recreate the mirror again and again.
Am I on the right track?


Parent directive goes through compile, pre, and post before child directive with templateUrl

I think there is a bug with the ordering of compile, pre, and post linking functions in parent directives when a child directive uses templateUrl to get the template.
Here are some simple directived, not using the template or templateUrl properties:
http://plnkr.co/edit/gEk3GjuASxrV1L6Kp6Dq?p=preview
Everything happens in the order I expect.
Next we use the template property for the logCompile2 directive:
http://plnkr.co/edit/EOYgf5z82mesixcb1LXU?p=preview
Again everything works as expected.
Finally we use the templateUrl property for the logCompile2 directive:
http://plnkr.co/edit/A55sw6YRCuhvWUi6zQ4Q?p=preview
This is where things go wrong as the parent directive is running through all the steps before any of the steps of the child directives are linked.
Some else played with this that last plunker and added transclusion with weird results too:
http://plnkr.co/edit/0jjwTk8VGoqjSF9se1KZ?p=preview
The documentation states:
Post-linking function

Executed after the child elements are linked. It is safe to do DOM transformation in the
post-linking function.

Either I am miss understanding the documentation or this is a bug as I would except the child directive to compile and run pre/post linking before the parent's post linking would run (as the non-templateUrl example do).
Is this a bug or am I miss understanding something?
I should mention this is an issue with 1.2.23 and 1.3.0-rc.0

I just ran into this myself and it created a lot of headache for me. I'd expect template and templateUrl to behave exactly the same - just with an inlined or external template. Are there any plans to change this behavior in the future (event if it would be in v2)? As templateUrl shouldn't/can't be made synchronous because of "stalling" the app, I'd expect template to have work asynchronous as well. Or I'd need a different way to get some kind of ordering of registered child directives in a parent directive.

I hit this problem as well, but I've been using html2js to fill the $templateCache as part of my project build tasks.  So luckily I was able to simply do
{
  template: function () {
    return $templateCache.get('path/to/template.html');
  }
}

I am getting a different behaviour. Did anyone else run into this?
DirectiveA // templateUrl
    DirectiveB // templateUrl

After DirectiveB's templateUrl is loaded, the template does not seem to be $compile'd, as the directives and curly braces are all not expanded...

A way to overcome this problem is use $watch to check if the element inside the child directive is not undefined.
Example:
scope.$watch(function() {
var input = formGroup.querySelectorAll('input')
if (!input) return // check if its undefined
              // continue to manipulate children elements...

}

So if I have a directive with a templateUrl, and in that template it has another directive with a templateUrl, it won't load the child directive, and there's no hook? I'm using $templateCache from gulp-angular-templatecache, but there doesn't seem to be a way to ensure the child directive has rendered. This seems a bit silly. Any suggestions are much appreciated.

On work-around is to use "$timeout" in the post link of the parent directive. This will be better than using the $watch as it executes only once.
//Parent directive
        link: {
          post: function(scope,elem,attr){
              $timeout(function(){
                 //Do child directive related DOM manipulations here
              })
          }
        }

$timeout doesn't work in all cases.
If template of child takes a while to download, it will still get linked after that $timeout executes.

We have a large SPA and use many directives in the parent/child scenarios with templateUrl, we have just upgraded from 1.12.15 to 1.5.8 mainly to address memory leak issues with the earlier version (and its interaction with jquery). Until now i had not considered (or in truth been aware) that templateUrl was asynchronous but under the new angular we are seeing some bad transient rendering of child templates particularly under IE10 where entire templates are being displayed without consideration of ng-show/hide conditional flags e.g. we get a 'load error' chunk of html displayed alongside a chunk of user input html, something that was intended to be mutually exclusive. Its a short lived flicker but very noticeable.
I am seeing improvement if i use something like 'template' : '' in the directives and hope this proves to be a suitable approach.
As it looks like templateUrl has always been asynchronous it is worth noting that the impact under angular 1.5.8 is greater than 1.2.15, just something to consider if you are planning a similar upgrade.

Faced similar issue with unobvious order of linking functions when using async templateUrls,
with respect to scope manipulation.
The case was:

Child .component controller (1.5) depends on -> Parent .directive scope.
Parent .directive's postLink manipulated scope (causing it to be undefined in the child's bindings during linking stage).

The solution that worked for us was:

to move scope setup out of .directive postLink fn -> into .directive controller fn
(which gets invoked before both postLink's) and manipulating with injected $scope there

Notice "Parent directive controller" log being topmost in both steps.
P.S> I guess, one might also want to add $onChanges for more reliability in the child component,
but in our case it still worked well without it
P.P.S>If anyone knows a cleaner solution, please share :)

Faced similar issue with unobvious order of linking functions when using async templateUrls,
with respect to scope manipulation.
The case was:

Child .component controller (1.5) depends on -> Parent .directive scope.
Parent .directive's postLink manipulated scope (causing it to be undefined in the child's bindings during linking stage).
The solution that worked for us was:

to move scope setup out of .directive postLink fn -> into .directive controller fn
(which gets invoked before both postLink's) and manipulating with injected $scope there

Notice "Parent directive controller" log being topmost in both steps.
P.S> I guess, one might also want to add $onChanges for more reliability in the child component,
but in our case it still worked well without it
P.P.S>If anyone knows a cleaner solution, please share :)

In reply to: https://github.com/angular/angular.js/issues/8877#issuecomment-103898850
There is no need to use watchers. VanillaJS setInterval works perfect. But thanks for pointing to good solution.
My code:
link: function(scope, element, attrs, ctrls) {
    var time = Date.now();

    //run the check every 0.5 seconds
    var interval = setInterval(function() {
        //once the content we were waiting for is loaded stop this checking and run the necessary code
        if(element.find('.something-to-be-loaded').length) {
            run();
            clearInterval(interval);
            return;
        }

        //prevent forever checking, fail after 30 seconds
        var now = Date.now();
        if(now - time > 30000) {
            console.error('failed...', element);
            clearInterval(interval);
        }
    }, 500);

    function run() {
        ///
    }
}

Hi All,
I have nested child-directives using the templateUrls , & I have a top-level directive in which I want to traverse the DOM  after all the nested child-directives are complied .
<div top-level-directive><child-1></child-1><child-2></child-2></div>
I wrote the domTraversalFn() inside the link of top-level directive , but still not sure that each time all child DOM is traversed . I also tried using highest priority top-level-directive so that post-link is executed at last (as per docs) , but no luck :(
@petebacondarwin
So why does the priority does not work as expected ? Is it due to the child-directives that are using templateURl's? I know that code based on the DOM  is against the desgin of AngularJS , but can i find any approach where i am sure that all my child directives are loaded in DOM ?


[FIX] cudaMallocAsync:  make it works for distributed strategy

Follow up from https://github.com/tensorflow/tensorflow/pull/46551
It would be great that this get included in TF 2.5. It will allow more cases to use it.
Currently it crash with not related errors.
@sanjoy @imintz

I updated this PR. It is ready for review.
One limitation force a more complex fixes.

Seems auto-merge is not happening but the changes are merged into master now, so we can close this. Thank you for the PR.


How to switch to testnet

Hello, i want to using tonkeeper to generate testnet address, however, after reading the doc: https://docs.ton.org/develop/smart-contracts/environment/testnet, and tried to click the version version 5 times in the settings, didn't work at all.
So, my question is: How can i switch with Tonkeeper?
BTW, I'm using the chrome extension, i.e. Tonkeeper Web, version 3.6.2.

Just got answer from https://t.me/tonkeeper_supportbot, the correct answer is: tap the logo in Settings really fast to access the dev menu, try 5-6 times.


Unable to apply server_profile_template (Invalid character '.)

Hi,
after #302 i've compiled the module myself from master.
But if i try to tf apply i still get an error.
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # oneview_server_profile_template.server_profile_template["TEST"] will be created
  + resource "oneview_server_profile_template" "server_profile_template" {
      + etag                  = (known after apply)
      + hide_unused_flex_nics = true
      + id                    = (known after apply)
      + mac_type              = (known after apply)
      + name                  = "TEST"
      + serial_number_type    = (known after apply)
      + server_hardware_type  = "DL560 Gen10 1"
      + uri                   = (known after apply)
      + wwn_type              = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

oneview_server_profile_template.server_profile_template["TEST"]: Creating...

Error: Error in response: Listing resources failed.
Unable to parse filters [name matches '']. Invalid character '.
 Response Status: 400 Bad Request
 Response Details:

  on server_profile_templates.tf line 1, in resource "oneview_server_profile_template" "server_profile_template":
   1: resource "oneview_server_profile_template" "server_profile_template" {

Process finished with exit code 1

Thanks for raising this. We will look into this

Can you please share your configuration file?

Hi,
We will correct this issue as soon as possible, but it will take some time to rectify. As we need to fully analyze, plan and schedule the necessary development work. We would appreciate your understanding and apologize for the delay.

This is an enhacement and we have added support of DL server is in our backlog. Closing this here.

Hi,
same issue with oneview_server_hardware. Please fix.


Update Documentation with plugin.json backup

In the assembly section of the README file it is recommended to replace the entire dist folder. In case of upgrades we should recommend the backup of the plugin.json file because it could contain some endpoints/security tokens previously configured for Cloud ALM.

Closed by doc_update pull request


Additional changes to handle interleaving when configuring ADC Mux

The previous changes to manually configure the ADC Mux did not fully take the interleaving into account. These are minimally invasive additions/changes to now allow full control of ADC Mux configuration register settings independent of the interleaving.

I just updated main.c with the fully tested version that adds access to ADC and DAC configuration registers. This version compiles with both the Linux and Windows (Atmel) tool chains with identical results. I've tested this version of the firmware with Pixelpulse2 and it operates the same as maser version 2.16. I've been using this version for the last few days while developing changes to both libsmu and ALICE and have seen no issues with bad, missing, shipped data samples in either channel.
Could you include these changes into the next version of Master (release) when it is generated?
Thanks
Doug

Hi Doug,
This looks good. I will increase the FW_VERSION (https://github.com/analogdevicesinc/m1k-fw/blob/master/Makefile#L19) as well and I will upload the corresponding m1000.bin file.
Thanks,
Dragos

The desired pull request seems to be: https://github.com/analogdevicesinc/m1k-fw/pull/18
This one will be closed.


My health log: if any symptoms are checked "I am feeling well" button should be disabled.

My health log: if any symptoms are checked "I am feeling well" button should be disabled. If symptoms are unchecked, it should be enabled again.

@mboskin @ahurworth would one of you kindly mind testing this for me and closing this out if this works? Tks.

I have confirmed with Linh that his team will be testing at 4:00 today. I will mark this as ready to test.
Thanks for the notification,
Mike

Michael Boskin
Senior Consultant, NYSTEC
(518) 496-7667 – Mobile
mboskin<EMAIL_ADDRESS>www.nystec.comhttp://www.nystec.com/
From: fahd-arshad<EMAIL_ADDRESS>Sent: Friday, August 28, 2020 9:52 AM
To: project-vagabond/covid-green-app<EMAIL_ADDRESS>Cc: Michael Boskin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [project-vagabond/covid-green-app] My health log: if any symptoms are checked "I am feeling well" button should be disabled. (#52)
[External Email]
@mboskinhttps://github.com/mboskin @ahurworthhttps://github.com/ahurworth would one of you kindly mind testing this for me and closing this out if this works? Tks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/project-vagabond/covid-green-app/issues/52#issuecomment-682586513, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQYJBUC3MHMZB5RP6BUD6M3SC6Y67ANCNFSM4QJA4Z2A.

I will mark this as closed since "I'm feeling well today" is now not tappable after at least one symptom is selected, but per my discussion with @stuartgiles the styling doesn't meet the bar of perceivably "inactive" IMO.  I will create a new ticket for updating the styling.


Dear authors, will you plan to release the training curves?

Dear authors,
Thanks for the great contribution to the MARL community. Melting Pot provides a great set of evaluation scenarios for MARL research. In your paper, we can find many convincing results both in the main text and the appendix. It would be great if you can also put training curves as well as evaluation curves (like many Atari/mujoco RL papers) since it can help researchers to check how many training timesteps we need to get some specific level of performance.  It is my humble suggestion, thank you!
Best regards,
A Melting Pot user

This is a great idea, and you have good timing :). I don't see any reason why we couldn't do it for the next release, which we are preparing now. We are re-running all the baselines anyway.

This is a great idea, and you have good timing :). I don't see any reason why we couldn't do it for the next release, which we are preparing now. We are re-running all the baselines anyway.

Cool. Thank you!


fix : Layout Overlap Fix

Fixes #255
Changes:

Moved the layout inside the scrollview

@liveHarshit the UI doesn't look any different. But in devices in which overlapping was happening, it will not happen.

@liveHarshit I don't own a xhdpi device else I could have provided the screenshots. This should fix the issue though


The bot should have a more noticable personality

E.g. "Unacceptable!" phrase.

PR's are welcome :^)

Adventure time is not relevant anymore


parsing example markdown not ok

...code/github/freeflowuniverse/crystallib/markdowndocs/examples/parse_example.v
it should output wiki representation like original, it doesn't do that
the source needs to be +- same as what we print

issue should be fixed


Add/Change Windows targets to Windows 10

Current windows targets (windows10.0.22000.0) are for windows 11, minimum windows 10 target is windows10.0.17763.0
Because of this I have to build my own dll for the plugin I'm using for Artemis (it uses windows10.0.17763.0 dlls)
Target framework versioning is confusing, yes. I also made this mistake thinking I was targeting my plugin for w10 but it was actually w11

Added in 2.3.1 release.
Nuget is still processing the update as I type this: https://www.nuget.org/packages/Dubya.WindowsMediaController/2.3.1


About continuing training with your trained model

Hi, your article is excellent! I benefited a lot from watching it! I have a question to ask you. I want to continue training on the basis of your training. Is it correct to modify the yaml file as follows?

I would be very grateful if you get back to me!

Hi, your article is excellent! I benefited a lot from watching it! I have a question to ask you. I want to continue training on the basis of your training. Is it correct to modify the yaml file as follows?   I would be very grateful if you get back to me!

Yes, you are right.


supports @IBInspectable for some fields

Thank you so much for creating this library, it has significant performance boost compared to UILabel.
This pull request added some extra feature to make AttributedLabel viewable in Interface Builder.

Cool!!
Thank you.


fix(filter): format timezone correctly

This fixes timezone formatting in case UTC timezone is used
Closes #9359

closing in favor of #10858 and #10857


OSX 10.11.3: Ever since 0.4.43 came out all I get is 'invalid dataserv-client'

The subject says it all... I can no longer start up DriveShare on my Mac.

Duplicate https://github.com/Storj/driveshare-gui/issues/120


Increase open_cursors value to 1200

To support Rails 5.1 default connection pooling configuration.

Closed by rsim/oracle-enhanced#1431


SQLite database is locked

Hello, when I run the Python code involving the line "input_events = get_events(recording, process=PROCESS_EVENTS, meta=meta)" I get the error: "sqlite3.OperationalError: database is locked" & "sqlalchemy.exc.OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(sqlite3.OperationalError) database is locked. " However, the same line of code is being run in visualize.py. I wanted to see if anybody had a similar issue. If so how did they fix it?

running it with -m fixed the problem

This suggests that you may have two processes writing the database at the same time.
Perhaps you have something running the background; try killing it with pkill -f python.
(In the future please format your comment as per https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code)