I want help

I wanted to create and deploy aniyomi-local but I am very noob in this stuff I am unable to deploy the fork I made of this repository on Netlify. Can you help me deploy it? If yes please DM me on Discord 12ohit#6969 because your DM's are closed.

Nevermind, I realised that your latest commit was making the problem so I used the repository from before that commit and it worked.

Hi, 12ohit, sorry about not replying it before.
Glad to hear you managed to make it build with success 😄
Any new questions or issues you find, feel free to open a new issue or PR with fixes!

Also, @12ohit, please replace my Google Analytics tag on index.html with a custom one created by you to your fork or remove that script from the page, please.

Ok I will remove that Google Analytics tag, thanks


DUPLO-21238 chore: port rds perf insights to read replica resource

Overview
... (don't forget to put your clickup ticket ID in the title) ...
Summary of changes
This PR does the following:

...
...

Testing performed

[ ] Using unit tests
[ ] Manually, on my local system
[ ] Manually, on a remote test system

Describe any breaking changes

...

Task linked: DUPLO-21238 TF:RDS: Add support of performance_insights to read replica resource

Merge https://github.com/duplocloud-internal/duplo/pull/3149 first

Task linked: DUPLO-21184 TF: RDS:DocDB: not able to enable Performance Insight, duplo gives fault for not supported while aws supports


Update how-to-custom-synchronization.md

fixing typos and grammar.

@ryancrawcour : Thanks for your contribution! The author, @markjbrown, has been notified to review your proposed change.

#sign-off

@SnehaGunda: I'm sorry - only the author of this article, @markjbrown, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

@JasonWHowell: I'm sorry - only the author of this article, @markjbrown, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@ryancrawcour Thanks for the fix! I'm merging now.


dnd: turn it on doesn't work with High Sierra

the workflow shows, "turn it off", but nothig happens. Even no debug entry in the workflow

I‘m not yet on High Sierra, so I can’t test.
You can try this in the meantime.
If I get a PR/suggestion with a different method that works on Sierra and High Sierra, I’ll include it. Otherwise I’ll look at this after I upgrade if I can reproduce.


Cilium Network Policy

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Make sure values.yaml and values.schema.json are valid.

Important: After this PR is tested and approved, ensure you "Squash and Merge" unless you are updating a subtree. The release automation in use on this repository relies on squashing, but git subtrees will be lost if squashed. This repo allows both, so you may need to change the merge type when merging.

Thank you Zach, feel free to merge it whenever you want 🙂.


python3Packages.angr: 9.1.11611 -> 9.1.11752

Motivation for this change
Update angr stack to 9.1.11752
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build python39Packages.angr python310Packages.angr

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

16 packages built:

python310Packages.ailment
python310Packages.angr
python310Packages.angrcli
python310Packages.angrop
python310Packages.archinfo
python310Packages.claripy
python310Packages.cle
python310Packages.pyvex
python39Packages.ailment
python39Packages.angr
python39Packages.angrcli
python39Packages.angrop
python39Packages.archinfo
python39Packages.claripy
python39Packages.cle
python39Packages.pyvex


Strings always output as double quotes?

This is a problem.
Input
    var foo = 'foo';
    var bar = "bar";

output
    var foo = "foo";
    var bar = "bar";

I can't switch?

Is there any way we can get 6to5 not to transform our quotes? I hate double quotes!

@aexmachina See #694

Great, thanks.


Files UWP First Reactions

I love the way this is going! 😲😀
Especially the mouse drag to switch between folders!  Really nice surprise! Add an option to toggle this feature on and off. Some people may start folder jumping unintentionally.
Obviously there are many things grayed out, and some things cause the app to crash onclick.
I noticed it needs:
🔲 Fast Toggle hidden files button,
🔲 The preview/details pane & quick toggle option.  I actually use this for the ability to quick edit keywords, author details, and copyright info - which I made possible with an add on called FileMeta. Please make it possible to quick edit the metadata & handle batches with the same.  Tinker around on adobe bridge for some inspiration, but make it....so much easier to get large batches done.  Make it photographer friendly.
🔲 Get rid of the labels, or add a toggle option for them - like the taskbar.  The icons are pretty straight forward as they are.
🔲 Show Dimensions and MP on photo type files.
🔲 Ability to drag folders to the left navigation pane to have them stick there - like favorites, additionally being able to drag up or down to reorder them, and option to delete the favorite (not the contents)..
🔲 Options to color code files and content.
:) Thanks

Thank you for opening this issue. Your feedback is really helpful and we will take a look at addressing them as we continue to refine the app.

👍 Kindest Regards,LindseyLeeanna 2020 From: Yair AichenbaumSent: Monday, April 6, 2020 9:21 PMTo: duke7553/files-uwpCc: lindseyleeanna; AuthorSubject: Re: [duke7553/files-uwp] Files UWP First Reactions (#509) Thank you for opening this issue. Your feedback is really helpful and we will take a look at addressing them as we continue to refine the app.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

@lindseyleeanna It looks like your message got messed up, can you try editing it so that we can read it?

As to that last email, yeah that does look messed up. I didn't consciously send that... lol wtf? It obviously came from my email though. I have no idea! I would just ignore all that jumble and if it happens again I'll have to figure out what's causing it.

One up for syntax highlighting!
Would love to try and help with a pull request but I must admit I've never done anything related to syntax highlighting, so somone would need to point me in the right direction:)

@Frioo Can you clarify what you mean by syntax highlighting?

@yaichenbaum I mean displaying source code in different colors and fonts according to the category of terms.

Are you talking about Quick Pad? Usually syntax highlighting is referring to text editors or code editors as opposed to a file explorer app.

Wow I just noticed I'm on the worng tab haha
Was browsing around some cool UWP apps on github with this repo being open and notepads, was meant for the latter.
just delete my comments, sorry for the trouble

@Frioo No problem haha.

🤣Had me confused, lol

@lindseyleeanna About the preview pane, have you tried out the QuickLook integration?

Yes I have quicklook :) I feel like this app is different than the last time I used it?  Yes because i can now pin the folders in the left nav bar :) This is almost very usable. You have the toggle labels thing going in the settings with the burger button. I like that there aren't auto expanding dropdowns in the nav bar, and the drives are clear. Cool  👍  Libraries though??

Libraries though

Can you clarify what you mean by "libraries"?

number/date

You should be able to choose the date format from the settings page.

Well I'm usually on windows file explorer and if I have a library  I can add whichever multiple folders from all over the drive and view and edit them in one place while the original file locations stay the same.
For some reason I guess I assumed this was a windows project...

This is a Windows project, I just wasn't sure what you meant by that.

Wow. This is some great feedback!
Thank you for taking the time to open this one. In order to best address these in a transparent way, we usually expect reporters to open each feedback topic (e.g. feature request, bug, question, discussion item) as its own ticket. Please review each topic suggested here, and add your own take on an already open issue, or open a new one.
Closing this now.


Added note about insecure registry option for http

Signed-off-by: Matt Bentley<EMAIL_ADDRESS>

Fixes https://github.com/docker/migrator/issues/76


Delete file on developer may crash.

It was because the probe was not authorized to access the file.


Should it use a .bottle file extension?

Should it use a .bottle file extension, rather than the more open .tar.gz.age? Would look cooler, but would be more difficult for users to understand how to extract contents.

For now, I think this is not smart.


[BUG]: CenterofExcellenceCoreComponents_1_45_managed.zip fails with environment for linked resource could not be found

Describe the bug
Installation of "CenterofExcellenceCoreComponents_1_45_managed.zip" following the steps here
https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-core-components fails (after 89.08%) with this general Component error message:
CanvasApp   import: FAILURE: One or more errors occurred.
and this detailed error message:
An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support. : System.AggregateException: One or more errors occurred. ---> Microsoft.Crm.CrmException: Code: ServiceToServiceEnvironmentNotFound Message: The environment for linked resource 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' could not be found in the tenant 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'. Client Request Id: .    at Microsoft.Crm.ObjectModel.PowerAppsValidation.PowerAppsServiceResult[T](ResourceResult1 powerAppsServiceResult)    at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.<GetPowerAppsResourceStorageContainer>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.<ImportAppToPowerAppsService>d__14.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at Microsoft.Crm.Tools.ImportExportPublish.ImportCanvasAppHandler.ImportItem() ---> (Inner Exception #0) Microsoft.Crm.CrmException: Code: ServiceToServiceEnvironmentNotFound Message: The environment for linked resource 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' could not be found in the tenant 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'. Client Request Id: .    at Microsoft.Crm.ObjectModel.PowerAppsValidation.PowerAppsServiceResult[T](ResourceResult`1 powerAppsServiceResult)    at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.d__14.MoveNext()<---
Component (please tell us which flow or app you are experiencing issues with):

Solution [CoEStarterKit, CenterofExcellenceCoreComponents_1_45_managed.zip]
Version [1.45]
App or Flow [CenterofExcellenceCoreComponents_1_45_managed.zip, CenterofExcellenceCoreComponents, CanvasApp]

To Reproduce
Steps to reproduce the behavior:

Go to 'https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-core-components'
Create environment
Import CenterofExcellenceCoreComponents_1_45_managed.zip
See error

Expected behavior
Success message, import of components without error
Screenshots
Additional context

Can you confirm, was this a new setup of the CoE? Or an upgrade of an existing CoE?
Did you create the CoE environment to include a CDS instance? (Select Yes for creating the database)

Hi @JeneferM-MSFT
Yes, that was a complete new (first time) setup of CoE and yes, also a new environment with option enabled to created a CDS database.

I have just confirmed that the import is working successfully so there isn't anything wrong with the package itself. Can you please confirm that you have you everything needed from the prerequisites list and try to import again?

Checked the prerequisites, do you see something missing? The only point I see is, that we don't have Dynamics but that should not be the problem I guess.
Prerequisites
The following are prerequisites for installing the CoE Starter Kit as it's included in the solution.

[x] Admin account: => global admin

[x]  - Microsoft Power Platform service admin, global tenant admin, or Dynamics 365 service admin for access to all tenant resources through the Power Apps APIs.
[x] This solution will work for environment admins, but the view will be restricted to only the environments an environment admin has access to. => environment admin configured for my user via security group
[ ] Dynamics 365 service admin is required for getting details about model-driven apps and solution-aware flows. => No, no we don't have Dynamics, dynamics licenses

[x]  - Power Apps Premium license (per app, per user, or Dynamics 365 Online licenses) is required for using Common Data Service. => Power Apps Plan 2 license / per user license assigned

[x] Environment with a Common Data Service instance, where the user installing the solution has the System Administrator security role. => yes, new environment with CDS created for CoE

[x] The environment must have a DLP policy that allows Common Data Service, Common Data Service (current environment), Office 365 Users, Power Platform for Admins, Power Automate Management, Office 365 Outlook, Power Apps for Admins, Power Apps for Makers, SharePoint and HTTP to be used together. Those connectors must be in the business data–only bucket of the DLP policy for this environment. => no DLP created for the new environment and existing DLPs are environment specific and not impacting the new CoE environment

[x] If there are multiple DLP policies applying to the same environment, either all of them have to have the connectors the CoE Starter Kit uses in business data only or if you have a policy that applies to all environments that you don't want to change you could exclude the CoE environment from that. => no DLP for the CoE environment defined
Learn more about DLP Policy Scope.

[x] Download of the Center of Excellence Solution and CoE Power BI dashboard files to your device. The entire content package can be downloaded directly at aka.ms/CoEStarterKitDownload. => yes, downloaded from there

[x] Both the Governance Components and Nurture Components solutions require the core solution before they can be installed. => Installing core solution fails already

These are the requirements for using the solution.

[x] Power Apps Premium license (per app, per user, or Dynamics 365 Online licenses). => per user

[x] For the Core Components solution, only the admins need a Power Apps Premium license. For the Governance Components solution, all makers require a Premium license. For the Nurture Components solution, everyone will require a Premium license. => Power Apps Premium, per user license assigned

A DLP may be applied to your environment assuming an org wide DLP is in place, though that should not impact import.
Did you try the import a second time?

Hello. I'm afraid you will need to create a support ticket here. We have validated that the package is in working order with the product.


Include old error-message for backward compatibility

Commit 2061af766f61f6bc8d3e43d5553fba315f569597 (https://github.com/docker/swarmkit/pull/2779) fixed the API returning incorrect status codes, but also changed the error message for conflicting service-names to be in line with other objects (secrets, configs); "service XX already exists".
Unfortunately, there are existing consumers of the API that perform string-matching, and changing the error-message resulted in a breaking change.
This patch prepends the ErrNameConflict error-message to the error-message, so that those consumers still find the original message, but preserves the enhancement made in 2061af7 (inclusion of the conflicting service name).
With this patch applied, the error message will look like this;
name conflicts with an existing object: service myservice already exists

- Description for the changelog

- Include old error-message for backward compatibility [docker/swarmkit#2797](https://github.com/docker/swarmkit/pull/2797)

Yeah, LGTM.


Full Chapters 1-4 Language

We want everything though chapter 4 for now.

[x] Handle floating point numbers
[x] Ignore comments
[x] Allow Require semicolons
[x] Handle multi-line expressions

This still only parses a single top-level expression at a time. Fixing that will come later.


How to get 'lidar_coord'?

Hi, @jeasinema
Could you kindly shed more light on "lidar_coord"?
How to get the coordinate of the lidar? Is it necessary to shift the point cloud by adding "lidar_coord"?

good job！


Add playwright test cases

Would be nice that most of the code is covered by testcases using
https://playwright.dev/
@targos WDYT ? Could you setup an example so that we could ask @wadjih-bencheikh18 for help ?

I will look into it. We have an experiment with that in https://github.com/cheminfo/analysis-ui-components

What is the advantage in comparison with react-testing-library or cypress?

react-testing-library is not for the same purpose (with playwright you test in real browsers)
I have never used cypress

Can you share your concerns about playwright? Otherwise the question is like asking "why not Vue?" when someone wants to use React.

Is an open question just to know if you considered the other two options that are older and seems very similar, I have no concern around it.


[Hotfix] PowerToys Awake - fixing CPU usage

Also addressing some cosmetic changes, like the string in the tray, and the crash in ForceExit.

We should release this in 0.41.4

Ah, the old while(true) infinite loop rookie error 😉
Looking forward to the fix. Keep up the good work guys.

The proposed fix for the high CPU only addresses the Indefinite Awake mode; it does not address the tight loop for the Timed Awake mode:
https://github.com/microsoft/PowerToys/blob/master/src/modules/awake/Awake/Core/APIHelper.cs#L227
This loop will spin hard on the thread (eating CPU cycles).
Not sure what the best way to address this is, except that I suspect you might use a Wait on the wait handle with a TimeSpan to timeout, repeating the Wait until the time expired.
Possible reference: https://docs.microsoft.com/en-us/dotnet/standard/threading/how-to-listen-for-cancellation-requests-that-have-wait-handles

@CodeCharm - yes, I am currently working on the fix for the second part (along with some tray icon improvements). Should be out later this week.

This may not be the appropriate place for it, I hope I'm not derailing - but since I saw chatter regarding the tray icon, I was wondering if there was any plan to have a feature to enable Awake within PowerToys but to disable the tray icon for it?


Set proper rotating log for ReqMgr2MS and replace print statements

Title says it all.

Alan,
can you elaborate more. According to
https://github.com/dmwm/deployment/blob/master/reqmgr2ms/manage#L71
we do have rotation log enabled for reqmgr2ms service.
And, what do you want to replace print statements? Do you want to replace them
with logger? If so, where?
I try to avoid using logger until we understand and confirm service workflow.
Print works just fine during integration. Later, when we'll target production
we may switch print statements to logger if necessary. Moreover, according
to Transferor code almost all print statements are only in verbose mode.
On  0, Alan Malta Rodrigues<EMAIL_ADDRESS>wrote:

Title says it all.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmwm/WMCore/issues/9091

You're right, the service log is properly set with rotatelogs.
This leaves the print statements, in the past year we had a campaign to replace all of those by logging such that we can nicely handle different log level. I think there is another reason that I don't recall at the moment though.
I'm not saying this needs to be changed right now, but we need to eventually streamline it.

Issue title and description updated as well.

Alan, I think we removed all print statements and replaced them with logging. Therefore this issue may be closed.

Now all print statements are gone under #9231.


ghMentions does not work with username having dots

Description
In GitLab, dots are allowed in usernames (unlike in GitHub). When using ghMentions with ghMentionsLink, if the given username contains a dot, the link is made only with what is before the dot.
Input
@john.doe

With the following showdown options:
{
    ghMentions: true,
    ghMentionsLink: 'https://gitlab.example.com/{u}',
}

Expected output
<a<EMAIL_ADDRESS>
Actual output
<a<EMAIL_ADDRESS>

Confirmed

@davidsandoz do you know which characters are allowed in github usernames?

Github only allows dashes in the middle of the name.

@tivie You're right. But I'm using showdown with GitLab.

I will make showdown allow dashes, underscores and dots in the middle of the username, since that seems a valid usecase scenario

Should be fixed now

Awesome, thanks! Do you have an idea when will the next release happen?

Soonish I hope. Version 2.0-alpha will be the next release.

Donate
As you know, ShowdownJS is a free library and it will remain free forever. However, maintaining and improving the library costs time and money.
If you like our work and find our library useful, please donate through Pledgie or directly through paypal!! Your contribution will be greatly appreciated and help us continue to develop this awesome library.

Done 😉


async_colliders example in 3D

This PR adds an example that could help debug some transform inconsistencies when creating colliders asynchronously.

Closing since the issue was fixed and async colliders were added in #190.


Implement System.Array constructor with base arg

Generally, the repr string in Python can be evaluated by eval, providing a round-trip-complete string representation of an object. There are exceptions, like deeply nested or circular structures, or nondescript "object type at memory address".
For CLI arrays, representations of 1D arrays are descriptive, while higher dim are not. This PR adds a constructor that is able to handle the representation for 1D arrays with a non-zero base. I'd make the extra parameter keyword-only, but the DLR doesn't support it yet.

Unrelated to this PR, but noticed a slight asymmetry in FixSlice where it does ostart < lb vs ostop < 0. Don't think it hurts anything but seemed odd.

It is odd and it does hurt...
>>> from System import *
>>> arr = Array.CreateInstance(Int32, (3,), (2,))
>>> arr[-1:-5:-1]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: Index was outside the bounds of the array.

Thanks for the catch. This one fell through the cracks. I will issue a separate fix PR.

I'm assuming Multiply and Add are also on your radar?

I'm assuming Multiply and Add are also on your radar?

Yes, but for a different reason than support of non-0-bases. I'll open a separate issue about it, for a dedicated discussion.


use license apache 2.0

external contributors:
@destogl
@andreeatulbure
@MattiaRacca
@unhelkar
@uh-reza
you have been contributing to this repository and are asked to express any concerns until August, 4th 2017 regarding changing the license of your contribution to Apache 2.0
do not merge before: August, 4th 2017
merge together with other use license apache 2.0 PRs

I agree.
Here nice article regarding this issue.


armresources 1.2.0-beta.1 release

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

https://github.com/Azure/azure-sdk-for-go/issues/16613


Adjustments to normalize https usage of opsman and limiting AZ usage

In tasks/deploy-opsman-vm/task.sh, when a proxy is used (http_proxy and https_proxy), attempts to talk to the opsman IP address will try to use the proxy. It should bypass the proxy since the value here is an ip address.
Also, use https for the call to opsman as is done in nearly all other tasks.
For tasks/config-opsdir/task.sh, only pass AZ's that are defined in the params.yml file - allowing those with one or two AZs to use this pipeline.

In tasks/deploy-opsman-vm/task.sh, when a proxy is used (http_proxy and https_proxy), attempts to talk to the opsman IP address will try to use the proxy. It should bypass the proxy since the value here is an ip address.

I'm fine with it taking in OPSMAN_IP instead of OPSMAN_URI; this would mean the task.yml should not take it as a param and the job that calls the task should not provide it.
I'm not fine with the proxy change; instead you should use curl --noproxy:
HTTP_OUTPUT=$(curl -k --noproxy '*' --write-out %{http_code} --silent --output /dev/null https://${OPSMAN_IP})

From https://curl.haxx.se/docs/manpage.html

Looking back, there was a commit that was made that I missed. The commit from a few days ago introduced the use of OPSMAN_URI to this task in order to be consistent with the other tasks. That itself actually resolves the challenge I had in tasks/deploy-opsman-vm/task.sh because when referencing by URI, I can use the noproxy variables by whole domains (rather than IP address, which is awful).
Otherwise, I agree with @stevewallecs regarding the "this is for reference deployment only" thought. Taken the wrong way, that could come across as an "ivory tower" syndrome where customer[0] is out of touch with the field.

I understand the concerns you both have raised.
Presently, all we're able to support is the reference architecture, which is part of C[0]'s mandate: to publish reference architectures for each of the IaaSes that PCF supports and to provide pipelines to deploy that architecture.
As I mentioned above, there is work that will be done to make it easier to use these pipelines to deploy variations on the reference architecture, for example by splitting out the JSON from this repository.

As the updates haven't been made I'm going to close this in favor of a new story which just makes the OPSMAN_IP change: https://www.pivotaltracker.com/story/show/146184703


/clipboard not working

Hi, the command /clipboard is not working in aider:

Aider version: 0.59.1
Python version: 3.12.5
Platform: Linux-6.11.0-102007-tuxedo-x86_64-with-glibc2.35
Python implementation: CPython
Virtual environment: Yes
OS: Linux 6.11.0-102007-tuxedo (64bit)
Git version: git version 2.34.1
Aider v0.59.1
Main model: openrouter/anthropic/claude-3.5-sonnet with architect edit format, prompt cache, infinite output
Editor model: openrouter/anthropic/claude-3.5-sonnet with editor-diff edit format
Weak model: openrouter/anthropic/claude-3-haiku-20240307
Git repo: .git with 11 files
Repo-map: using 1024 tokens, files refresh

Thank you for filing this issue.
/clipboard was renamed to /paste in 0.58.0, see here -> https://aider.chat/HISTORY.html#aider-v0580

Hey @fry69, I just noticed in the release history :+1: . But the documentation still says /clipboard on this page.
You might update this to avoid confusion.
Also /help command adviced me with this command:
prompt:
/help How can I paste content from my clipboard?
Answer:
`To paste content from your clipboard in aider, you can use the /clipboard command. This command allows you to directly paste text from your clipboard into the chat. Here's how you
can use it:
1 Copy the content you want to paste to your clipboard.
2 In the aider chat, type /clipboard and press Enter.
3 The content from your clipboard will be pasted into the chat.
This feature is particularly useful for sharing longer pieces of text or code snippets without having to manually type them out.
Here are some relevant documentation links that you might find helpful:
• https://aider.chat/docs/usage.html
• https://aider.chat/docs/tips.html
Remember that you can also use other methods to input multi-line messages in aider, such as:
• Pasting a multi-line message directly into the chat.
• Using { at the start and } at the end of a multi-line message.
• Using Meta-ENTER (or Esc+ENTER in some environments) to start a new line without sending the message.
These methods can be useful depending on your specific needs and the content you're trying to share.`

Fixed.


Release machinelearningservices microsoft.machine learning services 2023 08 01 preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM (Control Plane) API Specification Update Pull Request
PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

[1] ARM review queue (for merge queues, see [4])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue (for ARM review queue, [1])
If you need further help with anything, see Getting help section below.
Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!

[x] New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to Step 2, "ARM Review", for this PR.

Breaking changes review (Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
You believe there is no need for you to request breaking change approval, for any reason.
Such claims must be reviewed, and the process is the same.

ARM API changes review (Step 2)

If this PR is in purview of ARM review then automation will add the ARMReview label.
If you want to force ARM review, add the label yourself.
Proceed according to the diagram at the top of this comment.

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
Getting help

For general PR approval workflow, see the diagram at the top of this comment.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@kseager please can you follow the process guidance and get BreakingChanges reviewed before seeking ARM review feedback.

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.

FYI ARM reviewer: All of the changes in this PR have been previously ARM approved. This PR is a batching of API changes so we can introduce the version into main as a unit

    },

to help avoid cyclic dependecies between jsons, which seems to be giving the tools conniptions...
for all these types shared between your mfe.json and machineLearningServices.json, could you please move them to a Definitions section in a separate json?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json:3385 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

      "$ref": "./mfe.json#/definitions/RecurrenceFrequency"

to help avoid cyclic dependecies between jsons, which seems to be giving the tools conniptions...
for all these types shared between your mfe.json and machineLearningServices.json, could you please move them to a Definitions section in a separate json?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json:3481 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

      "$ref": "./mfe.json#/definitions/RecurrenceSchedule"

to help avoid cyclic dependencies between jsons, which seems to be giving the tools conniptions...
for all these types shared between your mfe.json and machineLearningServices.json, could you please move them to a Definitions section in a separate json?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/machineLearningServices.json:3500 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

      }

to help avoid cyclic dependencies between jsons, which seems to be giving the tools conniptions...
for all these types shared between your mfe.json and machineLearningServices.json, could you please move them to a Definitions section in a separate json?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json:37 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

      }

to help avoid cyclic dependencies between jsons, which seems to be giving the tools conniptions...
for all these types shared between your mfe.json and machineLearningServices.json, could you please move them to a Definitions section in a separate json?

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json:322 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

        "$ref": "machineLearningServices.json#/parameters/PaginationParameter"

cross-json dependency

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json:321 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

        "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"

cross-json dependency

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceFeatures.json:41 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

        "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"

cross-json dependency

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json:3386 in d97207a. [](commit_id = d97207a38747c5174455721b93cd2b2c67200618, deletion_comment = False)

...or at least make sure the dependencies are unidirectional

(@rkmanda this here was an instance of spectral blowing up because of the cyclic dependencies.)

Leaving a separate comment to address Tim's overall comment regarding the circular reference. Thank you for flagging this, it's too bad it this wasn't caught earlier during the API review where it was introduced. As a result, we will need to put in more time then has been allotted for this API review (to change the reference and then go through the associated breaking change review etc). We have logged a work item targeting the next API release: https://msdata.visualstudio.com/Vienna/_workitems/edit/2688911

PRs Currently Merged:
https://github.com/Azure/azure-rest-api-specs/pull/25090
https://github.com/Azure/azure-rest-api-specs/pull/24769
https://github.com/Azure/azure-rest-api-specs/pull/25375
https://github.com/Azure/azure-rest-api-specs/pull/25372
https://github.com/Azure/azure-rest-api-specs/pull/25616
https://github.com/Azure/azure-rest-api-specs/pull/25754
https://github.com/Azure/azure-rest-api-specs/pull/25814
https://github.com/Azure/azure-rest-api-specs/pull/25785
Coming soon/WIP Approval/Merge:
https://github.com/Azure/azure-rest-api-specs/pull/25593
https://github.com/Azure/azure-rest-api-specs/pull/25532
https://github.com/Azure/azure-rest-api-specs/pull/25780
https://github.com/Azure/azure-rest-api-specs/pull/25819

Leaving a separate comment to address Tim's overall comment regarding the circular reference. Thank you for flagging this; it's too bad it wasn't caught earlier during the API review where it was introduced. As a result, we will need to put in more time then has been allotted for this API review (to change the reference and then go through the associated breaking change review etc). I have logged a work item targeting the next API release: https://msdata.visualstudio.com/Vienna/_workitems/edit/2688911

@kseager There are only 3 references of mfe.json from machinelearningservices.json file, it should be easy to update these to fix circular references, making it unidirectional. Please make the changes.

Leaving a separate comment to address Tim's overall comment regarding the circular reference. Thank you for flagging this; it's too bad it wasn't caught earlier during the API review where it was introduced. As a result, we will need to put in more time then has been allotted for this API review (to change the reference and then go through the associated breaking change review etc). I have logged a work item targeting the next API release: https://msdata.visualstudio.com/Vienna/_workitems/edit/2688911

@kseager There are only 3 references of mfe.json from machinelearningservices.json file, it should be easy to update these to fix circular references, making it unidirectional. Please make the changes.

I have this PR's which is approved and will be merged soon: https://github.com/Azure/azure-rest-api-specs/pull/25870
to fix this request

{

Please fix the Linter error here.

Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json:1 in 779b18a. [](commit_id = 779b18ac7c79acec24f7d4113623bffb38866dc0, deletion_comment = False)

{

Please fix the Linter error and Avocado error here.
Refers to: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json:1 in 622126d. [](commit_id = 622126d, deletion_comment = False)

Avocado has been pre-approved:
https://github.com/Azure/azure-rest-api-specs/pull/25372
Konrad Jamrozik has already previously approved it

Linting error: I have already gotten agreement from the dev associated with this service to add in the change. However because it will require service code to support the update API he has requested more time to accommodate the change
https://msdata.visualstudio.com/Vienna/_workitems/edit/2702298

reason: LRO does not return 200.

Please put a specific path in the swagger (otherwise it might suppress all such errors in all swaggers in future), where this suppression applies and also, add work item link in the reason here.

Refers to: specification/machinelearningservices/resource-manager/readme.md:46 in 779b18a. [](commit_id = 779b18ac7c79acec24f7d4113623bffb38866dc0, deletion_comment = False)

reason: LRO does not return 200.

Please put a specific path in the swagger (otherwise it might suppress all such errors in all swaggers in future), where this suppression applies and also, add work item link in the reason here.
Refers to: specification/machinelearningservices/resource-manager/readme.md:46 in 779b18a. [](commit_id = 779b18a, deletion_comment = False)

We've added it to this PR
https://github.com/Azure/azure-rest-api-specs/pull/25532

One changes from this PR get merged into this PR, then, please move it to ARM Review Queue: https://github.com/Azure/azure-rest-api-specs/pull/25532.

updated to this PR instead: https://github.com/Azure/azure-rest-api-specs/pull/25941 for linting error suppression

(@rkmanda this here was an instance of spectral blowing up because of the cyclic dependencies.)

circular reference was fixed here August-2023-preview fix circular reference by kseager · Pull Request #25870 · Azure/azure-rest-api-specs · GitHub

/pr RequestMerge

Could you please merge the PR in this link first:   https://github.com/Azure/azure-rest-api-specs/pull/26007


Consider implementing shutdown API for wiremock client.

Currently, there is no any API for shutting down wiremock client.

What would be the benefit of having this?

It ensures, resources like apache http client is released upon completion of each test.

I'd expect that to happen when it gets garbage collected. Are you seeing leaks happening in your setup?

I want this feature. This feature will make my work easier when testing whether my client application could handle connect and timeout exceptions correctly.


Move grpcio_tools to src/python

Alright let's get this over with.

Build to follow: https://grpc-testing.appspot.com/view/Artifacts/job/gRPC_build_artifacts/2621/

Fixes #9413. Once conflicts are resolved, anyway.

(and the build failure is a known Python 3.5 error)

What do we think of targeting this to the v1.1.x branch? Over the life of v1.0.x I felt like we were happiest with "put everything on v1.0.x and let it get upmerged to master".

I'll probably get around to that over the weekend.

#9498


first cut at redis support

add a redis store implementing stores.Storage
add config file support to pick a storage backend
add config file support to set redis host:port and password

Also:

add docker_releases to .gitignore

Pull Request Test Coverage Report for Build 343

6 of 281 (2.14%) changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-12.2%) to 37.352%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

stores/store.go
6
11
54.55%

stores/redis/redis.go
0
270
0.0%

Totals

Change from base Build 290:
-12.2%

Covered Lines:
409

Relevant Lines:
1095

💛  - Coveralls

And thanks for you PR 👍

Okay, the second commit in this PR should address the style concerns.  Also I updated the README and the example config.yaml.

As a final step please fix your comment styling to "MethodName ..." https://app.codacy.com/app/maxibanki/golang-url-shortener/pullRequest?prid=1621352

55311f5 updates the comment styling to sentence format as requested.


Test/test 1 sync settings

Purpose of this PR
Added tests
Testing status

Includes unit tests.

Manual testing status
Ok
Comments to reviewers
Added tests for #62 PR

Tests will be added in another PR


Update release notes for 0.0.10

This pull request updates the release notes for 0.0.10-rel.

LGTM, OK to merge (though I think whatever we do with fees should be merged first, and then the release notes & version bump merged as the last commits before tag) :)

though I think whatever we do with fees should be merged first, and then the release notes & version bump merged as the last commits before tag

Yup, agreed, let's merge in this order:

305 Change default confirm target to 6 blocks
307 Update release notes for 0.0.10
306 Bump version to Omni Core 0.0.10-rel


Custom roles created from the carbon console are not listed in the Admin portal unless those are mapped or aliased

Describe your problem(s)

Assume I have created some custom roles from the carbon console as below.

When I logged in to Admin portal and navigated to Settings/Role Permissions, the custom roles are not listed.

Describe your solution
Currently, we only list mapped or aliased roles. But as an improvement, we can list all the roles to avoid the confusions that may arise.

This role permission in not there in latest product.


Remove TWKB package once JTS has a native TWKB support

Once https://github.com/locationtech/jts/pull/854 is merged, we'd need to remove our packport.

This PR has been merged and will be a part of the 1.19.0 release!

🎉 https://github.com/locationtech/jts/pull/854


Support of integer to byte conversion with to_bytes()

Currently to_bytes() function only support strings as input.
It would be nice to also have support for int16, int32 and int64 via underlying Postgres functions int2send, int4send and int8send.
In our use case, we create custom UUIDv8 IDs where some parts are calculated for numeric data which gets converted into hexadecimal representation. It would be nice to have direct support without having to patch and recompile EdgeDB.

I have drafted a pull request based on our internal modification in the hope that it will be useful #6553


Any way to optimize this recursive query?

Hello!
I have a sqlite DB that represents a DAG. It has two tables, node and edge, where node has some extra data about each node and edge has a node_to and node_from FK to node.id.
I created a query to get all the "ancestors" of a certain node. I initially tried running this query with sqlite.js-httpvfs, but the query took about 30 seconds to run, even with local HTTP access. I think the reason was because of poor spatial locality requiring a SCAN of the DB.
Is there any way to optimize this query to minimize SCAN?
WITH RECURSIVE
    ancestor(n) AS (
      VALUES(?)
       FROM edge
    JOIN node ON node_from = node.id WHERE graph_edge.node_to IN ancestor;

Here is the query plan for the query:
QUERY PLAN
|--SCAN edge
|--LIST SUBQUERY 3
|  |--CO-ROUTINE ancestor
|  |  |--SETUP
|  |  |  `--SCAN CONSTANT ROW
|  |  `--RECURSIVE STEP
|  |     |--SCAN ancestor
|  |     `--SEARCH edge USING AUTOMATIC COVERING INDEX (node_to=?)
|  `--SCAN ancestor
`--SEARCH node USING INDEX sqlite_autoindex_node_1 (id=?)

As a workaround, I've just exported the data to JSON, because it actually wasn't that big, but I'm curious if this could be optimized to work.

Interesting. I'm not sure to be honest. I'd say probably it isn't possible because this query can really only be done with almost completely random access (so it'll also be slow in normal SQLite except that the whole thing is fully in ram quickly).
It'll only be quick if you find a way to index the data in a linear way. Often that's the case, but in general not. That is, basically if you find a order for your nodes where mostly the paths you're looking for is in order. Or if you can enumerate all paths a user could possibly want to find subpaths for.  Or e.g. if you can usefully order them in BFS or DFS order.
Then you'd store the order in your db and add a normal index.
There's also some extensions for SQlite for e.g. spatial indexing that might be useful, but I don't have enough knowledge about those.

Yeah it seems like there's not really a good way to cluster the data without a lot of duplication that would kind of destroy the flexibility of using a relational database. Anyway, thanks for the response, I'm still in awe of this project even though it doesn't quite fit my use-case.
It seems like it could still be very useful if I need to set up a bigger dataset with static hosting (that can use simpler queries).


Create working-with-yhe-docker-registry.md

.markdown

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

C


Update resource-manager-tutorial-use-key-vault.md

Minor typographical/grammar edits.

@joeemt : Thanks for your contribution! The author, @mumian, has been notified to review your proposed change.

@joeemt - thanks for the comments.  I am on the process refreshing the article. The revision will be published today or tomorrow.
#please-close.


[azure-security-attestation-cpp] publish version 1.0.0

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

Adding azure-security-attestation to release
cc: @LarryOsterman, @gkostal, @anilba06, @kroshkina-ms, @ahmadmsft, @rickwinter, @ahsonkhan, @antkmsft, @vhvb1989, @gearama

@LarryOsterman, @gkostal, Looks the ci test failed on mang triplet,
This is error log, please take a look:
D:\buildtrees\azure-security-attestation-cpp\install-x86-windows-dbg-out.log

install-x86-windows-dbg-out.log

Yes, in order for this PR to succeed, this PR needs to be checked in: https://github.com/microsoft/vcpkg/pull/25507


Fix "'str' object does not support item assignment"

_find_jwplayer_data() assumes setup() is called with JSON, but it (sometimes?)
gets a variable that contains that expected JSON object.
This commit detects that by check for the first character being "{" and, if not,
resolving the variable to the JSON string.

Any example?

[NSFW] http://www.txxx.com/videos/3326530/ariele/

OK. Please add a test to generic.py

Well, I tried...
But I have no idea how that _TESTS format works and how to run the tests defined
by it. Running all tests takes forever and many of them fail.

But I have no idea how that _TESTS format works and how to run the tests defined by it.

FYI: I have a helper script that determines the test ID at https://github.com/yan12125/youtube-dl/blob/helper-dev-scripts/devscripts/contrib/find_url.py
$ python ./devscripts/contrib/find_url.py http://www.txxx.com/videos/3326530/ariele/
test_Generic_104

$ python test/test_download.py TestDownload.test_Generic_104
[generic] ariele: Requesting header
[generic] ariele: Downloading webpage
[generic] ariele: Extracting information
[info] Writing video description metadata as JSON to: test_Generic_104_3326530_hq.info.json
.
----------------------------------------------------------------------
Ran 1 test in 1.780s

OK

Thanks. Hopefully I can remember that until next time.
The test seems to pass now. Anything else?

Thank you for your comments. I think I fixed two of the things you mentioned,
but the nested variables is tricky, especially since I don't have a test URL for
it. Do you have one? Is this a blocking issue?

There's one in generic.py marked as "Complex jwplayer" (test_Generic_62)

But that already works.
% python3 test/test_download.py TestDownload.test_Generic_62
[generic] videos: Requesting header
[generic] videos: Downloading webpage
[generic] videos: Extracting information
[info] Writing video description metadata as JSON to: test_Generic_62_videos.info.json
[debug] Invoking downloader on 'http://cdn.dbolical.com/cache/videos/games/1/50/49678/encode720p_mp4/king-machine-trailer.mp4'
[download] Destination: test_Generic_62_videos.mp4
[download] 100% of 10.00KiB in 00:00
.
----------------------------------------------------------------------
Ran 1 test in 1.982s

OK

I've changed my last comment. Email clients won't receive the update, could you check it out on Github?

Thanks for the headsup.
So you won't merge this for now? Why? It fixes a known bug. If another URL
doesn't work, that's different bug that should be taken care of when it happens,
not weeks/months/years before.
I'm also pretty sure that the perfect regex does not exist. There will always be
some way to break it. You can't parse JS with a regex.

Damn. Sorry for the crappy pull request.
It looks like if _find_jwplayer_data() returns None, it falls back to looking
for "gorilla-vid style embedding" (line 2531 in generic.py), which finds the
correct video URL in my example. So all my PR does is returning None instead of
"jwsettings" (the variable name), which works but not as intended.
The only practical solution I see is to check whether options contains proper
JSON. Something like this:
if isinstance(json.loads(js_to_json(options)), dict):
    return options

Do you have a better idea?

Checking whether it's valid JSON or not sounds good. FYI: _parse_json() can make it simpler

_parse_json() returns the same string in quotes if it's not a dictionary. But we
want a dictionary, which is checked if no exception is raised by _parse_json().
I guess I should've named the function "is_json_dict" instead.

After thinking again I guess we can go even further - making _find_jwplayer_data return dictionaries. In the latest patch both _find_jwplayer_data and _extract_jwplayer_data call _parse_json, which is redundant.

But whatever _find_jwplayer_data returns is passed to _parse_json, which expects
a string. _parse_json is used in other methods, so I'd have to make changes
there or in _parse_json itself. Which I could do, but many of the tests fail for
me, and they take hours to process, so I don't have any straightforward way to
see if and how I break anything.
I agree, parsing the same string twice is ugly. But the limiting factor will
always be the download rate. An extra call to _parse_json won't be noticable.

I don't have any straightforward way to see if and how I break anything.

Currently only a few extractors call _find_jwplayer_data or _extract_jwplayer_data. Checking relevant tests is sufficient.

An extra call to _parse_json won't be noticable.

The point is maintainability rather than performance. Duplicated _parse_json calls are somewhat confusing.

Duplicated _parse_json calls are somewhat confusing.

I think the function name "is_json_dict" makes it pretty clear why _parse_json
is called there. If there is any doubt, reading the six lines of code shouldn't
take too long.
But yes, it's still ugly. I'll try to make it nicer.
BTW: I would rebase the PR branch when you're happy with it because there are
quite a few useless commits in there by now. Unless that makes things more
awkward for you?

For now it's up to you to do rebasing or not. The only mandatory timing is before landing the patch to master.

Please review my latest attempt to fixing this.

Hello, could you fix conflicts with the current git master?

Sorry, my bad.

Thanks for your work and patience!

Thanks for your work and patience!

Likewise! :)


Connection Timeout Expired

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-05T22:46:14.815Z)
OS Version: Linux x64 4.8.0-54-generic

Steps to Reproduce:
1.System.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=180; handshake=458; [Login] initialization=4; authentication=24; [Post-Login] complete=14050;  ---> System.ComponentModel.Win32Exception (0x80004005): Unknown error 258
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass22_0.b__0(Task1 _)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass28_0.<b__0>d.MoveNext() in C:\J\jobs\sqltoolsservice_master_win\workspace\src\Microsoft.SqlTools.ServiceLayer\Connection\ReliableConnection\ReliableSqlConnection.cs:line 298
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.d__46.MoveNext() in C:\J\jobs\sqltoolsservice_master_win\workspace\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 542
ClientConnectionId:627c132a-ebdc-4d86-bd9e-3d0108dc05b2
Error Number:-2,State:0,Class:11

How do I fix this?

@panjiswt this looks like a generic exception from SqlClient library when a connection to a SQL Server fails.  Connections can fail for numerous reasons, such as incorrect server name\IP, incorrect port or firewall configuration, server is offline, dropped network connection, etc.  If you provide additional details about the scenario I may have more specific guidance.
Have you tried connecting to the SQL Server from the target machine using a different tool, like sqlcmd?  This may help narrow down the possible cause of the connection failure.

Closing out older issues that don't have a pending request.  Please reactive if there's still anything we should look at for this issue.


bytes_per_sec saturates to 0 B/s when reaching multiple GiB/s

My backup tool displays bytes_per_sec as an upload progress bar, but when the speeds get into the multiple GiB/s the displayed speed wraps  back around to 0 B/s.

Can you try main? We made some changes that I think are relevant.

This seems to have resolved it.


storage/dotgit: add KeepDescriptors option

Needs #941
This option maintains packfile file descriptors opened after reading objects from them. It improves performance as it does not have to be opening packfiles each time an object is needed.
Also adds Close to EncodedObjectStorer to close all the files manually.

@jfontan AppVeyor is failing with OOM when executing storage/filesystem tests. It looks related to the new test, since other builds are ok and this one failed multiple times.

It is indeed the test. The comparison is generating diffs of the packfiles instead of checking if they are the same. Working on a fix.

@smola it seems the bug in windows tests is fixed.


Loading gltf in WebGL build doesn't work

Steps:

Switch Unity project to WebGL
Manually spawn local HTTP server with same settings (port 8080, root is UnityGLTF/www; the WebServerComponent didn't work for me in the editor; used a custom python one with proper Access-Control-Allow-Origin header entries).
Disable/remove the WebServerComponent object from the scene
Running the scene in the editor works fine now
Open the BoomBoxTestScene
Build
Load result in browser
Scene shows up, but no GLTF content
Browser dev tools shows no errors/warnings, Network inspector shows that the gltf file plus all buffers/textures were successfully downloaded

Maybe I'm missing something basic here, but that's hard to tell since I found no detailed instruction on how to get it running on the various build platforms.
Setup Details:
on macOS 10.13.3
Unity 2018.1 beta 9 (had to fix minor compiler errors to get it working; nothing fancy though).
scripting runtime .NET 4.x equivalent
Firefox 59 b12 as well as Chrome Version 64.0.3282.186 (Official Build) (64-bit)

I ran into this as well, and found that the Json.Net DLL in the project wasn't loading in our WebGL project. Compiled one from scratch and all was well. I think that was the only issue I needed to fix (I didn't try to reproduce it again so there could be something else here).

Thanks for the tip!
I retried with a fresh checkout and Unity 2017.3.1f1 today with an updated master (I noticed Unity 2017.2/3 compatibility was added in the meantime).
Out of the box the WebGL build fails with the following error:
`Failed running /Applications/Unity/Hub/Editor/2017.3.1f1/Unity.app/Contents/il2cpp/build/UnityLinker.exe --api=NET_2_0_Subset -out="/Users/Shared/SDK/UnityGLTF/UnityGLTF/Temp/StagingArea/Data/Managed/tempStrip" -l=none -c=link --link-symbols -x="/Applications/Unity/Hub/Editor/2017.3.1f1/PlaybackEngines/WebGLSupport/Whitelists/Core.xml" -f="/Applications/Unity/Hub/Editor/2017.3.1f1/Unity.app/Contents/il2cpp/LinkerDescriptors" -x "/Users/Shared/SDK/UnityGLTF/UnityGLTF/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml" -x "/Users/Shared/SDK/UnityGLTF/UnityGLTF/Temp/StagingArea/Data/UnityEngine.xml" -x "/Users/Shared/SDK/UnityGLTF/UnityGLTF/Temp/StagingArea/Data/preserved_derived_types.xml" -d "/Users/Shared/SDK/UnityGLTF/UnityGLTF/Temp/StagingArea/Data/Managed" -a  "/Users/Shared/SDK/UnityGLTF/UnityGLTF/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll"
stdout:
Fatal error in Unity CIL Linker
System.NullReferenceException: Object reference not set to an instance of an object
at Mono.Linker.TypeReferenceExtensions+c__Iterator1.MoveNext () [0x00039] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep.TryMatchMethod (Mono.Cecil.TypeReference type, Mono.Cecil.MethodDefinition method) [0x00034] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep+c__Iterator0.MoveNext () [0x00069] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep.MapVirtualInterfaceMethod (Mono.Cecil.MethodDefinition method) [0x00022] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep.MapVirtualMethod (Mono.Cecil.MethodDefinition method) [0x00008] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep.MapVirtualMethods (Mono.Cecil.TypeDefinition type) [0x0003c] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep.MapType (Mono.Cecil.TypeDefinition type) [0x00001] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.TypeMapStep.ProcessAssembly (Mono.Cecil.AssemblyDefinition assembly) [0x00020] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Steps.BaseStep.Process (Mono.Linker.LinkContext context) [0x00031] in <2eb3e637aba84583bf98dc730423517b>:0
at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00020] in <2eb3e637aba84583bf98dc730423517b>:0
at UnityLinker.UnityDriver.Run () [0x00086] in <1c5a6a9d9114430d85bb9f22788b3702>:0
at UnityLinker.UnityDriver.RunDriverWithoutErrorHandling () [0x00001] in <1c5a6a9d9114430d85bb9f22788b3702>:0
at UnityLinker.UnityDriver.RunDriver () [0x00002] in <1c5a6a9d9114430d85bb9f22788b3702>:0
stderr:
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:89)
UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:82) UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(String, IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:204) UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:114) UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:152) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action1, RuntimeClassRegistry, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
`
Then switched the Unity Project's "Scripting Runtime Version" to ".NET 4.6 equivalent", re-built the GLTFSerialization project with the target framework changed to ".NET Framework 4.5" and (thanks for your help) replaced the JSON dll and xml with the correct version ( GLTFSerialization/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll +xml ).
Initially this didn't work, but now it showed an error in the console stating that the shader was missing (maybe that's the only problem I had).
So after preloading a shader variant collection that included the necessary GLTF/PbrMetallicRoughness variants, it worked.
Still, some docs would be great.
hth and thanks again.


Import values from two level nested Avro records

Situation
Sometimes Avro records are encoded using top level record, for example payload, with all the data fields. Currently, these records are imported into a single table column as JSON strings.
This is usual Avro record in Kafka (in JSON representation)
{
  "type": "record",
  "name": "KafkaExasolAvroRecord",
  "fields": [
    { "name": "product", "type": "string" },
    { "name": "price", "type": { "type": "bytes", "precision": 4, "scale": 2, "logicalType": "decimal" }}
    { "name": "sale_time", "type": { "type": "long", "logicalType": "timestamp-millis" }}
  ]
}

which could map to this Exasol table:
CREATE OR REPLACE TABLE <schema_name>.<table_name> (
    PRODUCT     VARCHAR(500),
    PRICE       DECIMAL(4, 2),
    SALE_TIME   TIMESTAMP,

    KAFKA_PARTITION DECIMAL(18, 0),
    KAFKA_OFFSET DECIMAL(36, 0)
);

the last two columns are only for metadata keeping.
But unfortunately, sometimes data is stored with one more top level field, as payload.
{
   "type":"record",
   "name":"KafkaExasolAvroRecord",
   "fields":[
      {  "name":"payload",
         "type":{
            "name": "PayloadRecord",
            "type": "record",
            "fields": [
              { "name":"product", "type":"string" },
              { "name":"price", "type":{ "type":"bytes", "precision":4, "scale":2, "logicalType":"decimal" }}
              { "name":"sale_time", "type":{ "type":"long", "logicalType":"timestamp-millis" }}
            ]
         }
      }
   ]
}

This will map to single column in an Exasol table and imported into VARCHAR column as JSON string. It is still possible to use Exasol JSON functions to extract fields. However, it can cause issues if JSON string exceeds 2M characters which limit of Exasol VARCHAR type.
It would be nice feature to be able to specify the nested fields to be imported as separate columns.
Acceptance Criteria

Added field specification for second level fields.
Unified field specifications for JSON and Avro
Unit and integration tests are added for the feature

Shelving because not in roadmap focus.


Add MASE metric

Resolves #4217

One other small thing I forgot to request, can you add this (as well as SMAPE, because I forgot before 😅) to the API reference?

Resolves #4224


unpinning ca-certificates-java on buster

Thanks, good pointer. I'll create a ticket for that - openjdk8 should be on stretch and the new ca-certs-java version then. For openjdk9 it seems there is no need for pinning


Calling rest api from supabase edge function trigger CORS error

What is the current behavior?
Calling transcribeUrl api from deployed supabase edge function return CORS error:
Due to CORS we are unable to support REST-based API calls to our API from the browser. Please consider using a proxy, and including a restProxy: { url: ''} in your Deepgram client options.
Steps to reproduce
run this function from deployed supabase edge function
import { createClient } from "https://esm.sh/<EMAIL_ADDRESS>import { deepgramApiKey } from "../_shared/deepgram_key.ts";

export const transcribeRecording = async (input: {
  url: string
}) => {
  const { url } = input;

  const deepgram = createClient(deepgramApiKey);

  const { result, error } = await deepgram.listen.prerecorded.transcribeUrl(
    {
      url,
    },
    {
      model: "nova-2",
      detect_language: true,
      paragraphs: true,
    }
  );
};

Expected behavior
CORS error should not be triggered as it is not in a browser
Please tell us about your environment
Supabase edge runtime
Other information
The bug is caused by this line of code:
https://github.com/deepgram/deepgram-js-sdk/blob/875650806ba46fc48adc817d44df48227771b2eb/src/lib/helpers.ts#L17
In the supabase edge run time, the 'window' global variable is an object rather than undefined

Nice, it's hard for us to test all these different edge runtimes. I'll think about a better way to determine whether we require a proxy or not

Same problem with using Deno Deploy. I suggest reducing the number of checks for "stupid user" errors.

Same problem with using Deno Deploy. I suggest reducing the number of checks for "stupid user" errors.

I think you under-estimate how many people would try to use this in the browser for rest requests, when our API does not support custom origins for CORS. you'd always need to proxy it.

Hi @lukeocodes , sorry to bother again on this, but I just started using deepgram today, on supabase, and I get the exact same error. I see this seems to be closed and fixed but I wonder, do I need to anything to get that fix working in Supabase?
This is how I get a client:
this.deepgram = createClient(Deno.env.get("DEEPGRAM_API_KEY"), {
endpoint: config.DEEPGRAM_API_URL,
});
This is how I use it:
const { result, error } = await this.deepgram.listen.prerecorded
.transcribeUrl(
{
url: url,
},
{
model: "nova-2",
language: "end",
punctuate: true,
paragraphs: true,
},
);
Any help much appreciated.


Write shell scripts for deploying application server to Azure

Group decided to close this in lieu of more specific tasks.


Split tests into multiple feature files

Add tests common
Fix formatting

Coverage remained the same at 96.732% when pulling 7318ae90dddbf8a90a8964a56f4d0805a40b2a71 on issue/212 into 1ffeb417da1d2793ce75b37e6cc946912261c367 on master.


Updated to babel 7

This requires airbnb/babel-preset-airbnb#37 to work.

Updated all babel dependencies
Fixed all test cases
Removed testing for babel-preset-es2015 since it's been deprecated in favor or @babel/preset-env

You might need to make a PR for babel-plugin-add-module-exports as well, since it also seems to use Babel 6
ref: 59naga/babel-plugin-add-module-exports#65

You might need to make a PR for babel-plugin-add-module-exports as well, since it is a devDependency, and also seems to use Babel 6

babel-plugin-add-module-exports is actually not good to use. See https://babeljs.io/docs/en/v7-migration-api#export-changes.
I forgot to remove it from the dependencies, but I did remove it from .babelrc.

@ljharb Now that airbnb/babel-preset-airbnb#37 has been merged, is this ready too?

They haven't released the changes to npm quite yet.

I'll update this PR now.

@vikr01 i'm going to re-add add-module-exports, since .default should still never be exposed to require.

@ljharb Sure that’s fine. Just to note though, babel’s plugins now expose .default when using require.

Sure, but just because they're doing the wrong thing doesn't mean we should :-)

v2.2.0 is released, containing this commit which allows it to work on both babel 6 and 7.
I'm going to keep this PR and update it to become v3, which explicitly will only support babel 7.


ERROR | (pkg/util/docker/containers.go:110 in ListContainers) | Failed to get host IPs. Container /calico-rr will be missing network info: %!s()

I'm deploy agent version 7.16.1 into my cluster and i have the following erros:
STATUS:
`Getting the status from the agent.
===============
Agent (v7.16.1)
Status date: 2020-01-28 13:48:43.070285 UTC
Agent start: 2020-01-27 19:35:48.665957 UTC
Pid: 336
Go Version: go1.12.9
Python Version: 3.7.4
Build arch: amd64
Check Runners: 4
Log Level: info
Paths
Config File: /etc/datadog-agent/datadog.yaml
conf.d: /etc/datadog-agent/conf.d
checks.d: /etc/datadog-agent/checks.d

Clocks
NTP offset: -1.787ms
System UTC time: 2020-01-28 13:48:43.070285 UTC

Host Info
bootTime: 2020-01-23 13:57:21.000000 UTC
kernelVersion: 4.15.0-74-generic
os: linux
platform: debian
platformFamily: debian
platformVersion: 10.2
procs: 68
uptime: 101h38m44s

Hostnames
host_aliases: [node3]
hostname: ovm076dckuol03
socket-fqdn: datadog-agent-cvmq6
socket-hostname: datadog-agent-cvmq6
hostname provider: container
unused hostname providers:
  aws: not retrieving hostname from AWS: the host is not an ECS instance, and other providers already retrieve non-default hostnames
  configuration/environment: hostname is empty
  gce: unable to retrieve hostname from GCE: Get http://<IP_ADDRESS>/computeMetadata/v1/instance/hostname: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Metadata
hostname_source: container

=========
Collector
Running Checks
cpu
---
  Instance ID: cpu [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/cpu.d/conf.yaml.default
  Total Runs: 4,371
  Metric Samples: Last Run: 6, Total: 26,220
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s

disk (2.5.3)
------------
  Instance ID: disk:e5dffb8bef24336f [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/disk.d/conf.yaml.default
  Total Runs: 4,371
  Metric Samples: Last Run: 208, Total: 909,168
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 319ms

docker
------
  Instance ID: docker [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/docker.d/conf.yaml.default
  Total Runs: 4,370
  Metric Samples: Last Run: 350, Total: 1 M
  Events: Last Run: 0, Total: 1
  Service Checks: Last Run: 1, Total: 4,370
  Average Execution Time : 253ms

file_handle
-----------
  Instance ID: file_handle [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/file_handle.d/conf.yaml.default
  Total Runs: 4,371
  Metric Samples: Last Run: 5, Total: 21,855
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s

io
--
  Instance ID: io [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/io.d/conf.yaml.default
  Total Runs: 4,370
  Metric Samples: Last Run: 130, Total: 568,010
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 1ms

kubelet (3.4.0)
---------------
  Instance ID: kubelet:d884b5186b651429 [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/kubelet.d/conf.yaml.default
  Total Runs: 4,371
  Metric Samples: Last Run: 323, Total: 1 M
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 4, Total: 17,484
  Average Execution Time : 1.486s

kubernetes_apiserver
--------------------
  Instance ID: kubernetes_apiserver [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/kubernetes_apiserver.d/conf.yaml.default
  Total Runs: 4,370
  Metric Samples: Last Run: 0, Total: 0
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s

load
----
  Instance ID: load [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/load.d/conf.yaml.default
  Total Runs: 4,371
  Metric Samples: Last Run: 6, Total: 26,226
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s

memory
------
  Instance ID: memory [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/memory.d/conf.yaml.default
  Total Runs: 4,370
  Metric Samples: Last Run: 17, Total: 74,290
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s

network (1.12.2)
----------------
  Instance ID: network:e0204ad63d43c949 [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/network.d/conf.yaml.default
  Total Runs: 4,371
  Metric Samples: Last Run: 31, Total: 135,501
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 5ms

ntp
---
  Instance ID: ntp:d884b5186b651429 [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/ntp.d/conf.yaml.default
  Total Runs: 73
  Metric Samples: Last Run: 1, Total: 73
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 1, Total: 73
  Average Execution Time : 2.507s

uptime
------
  Instance ID: uptime [OK]
  Configuration Source: file:/etc/datadog-agent/conf.d/uptime.d/conf.yaml.default
  Total Runs: 4,370
  Metric Samples: Last Run: 1, Total: 4,370
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 0s

========
JMXFetch
Initialized checks
no checks

Failed checks
no checks

=========
Forwarder
Transactions
CheckRunsV1: 4,371
Dropped: 0
DroppedOnInput: 0
Events: 0
HostMetadata: 0
IntakeV1: 475
Metadata: 0
Requeued: 0
Retried: 0
RetryQueueSize: 0
Series: 0
ServiceChecks: 0
SketchSeries: 0
Success: 9,217
TimeseriesV1: 4,371

API Keys status
API key ending with cb23a: API Key valid

==========
Endpoints
https://app.datadoghq.com - API Key ending with:
- cb23a
==========
Logs Agent
Logs Agent is not running
=========
Aggregator
Checks Metric Sample: 4.8 M
Dogstatsd Metric Sample: 10,928
Event: 2
Events Flushed: 2
Number Of Flushes: 4,371
Series Flushed: 4.1 M
Service Check: 70,076
Service Checks Flushed: 74,439
=========
DogStatsD
Event Packets: 0
Event Parse Errors: 0
Metric Packets: 10,927
Metric Parse Errors: 0
Service Check Packets: 0
Service Check Parse Errors: 0
Udp Bytes: 598,803
Udp Packet Reading Errors: 0
Udp Packets: 10,928
Uds Bytes: 0
Uds Origin Detection Errors: 0
Uds Packet Reading Errors: 0
Uds Packets: 0
`
ERROR
2020-01-28 13:55:23 UTC | CORE | ERROR | (pkg/util/docker/containers.go:110 in ListContainers) | Failed to get host IPs. Container /etcd1 will be missing network info: %!s(<nil>) 2020-01-28 13:55:23 UTC | CORE | ERROR | (pkg/util/docker/containers.go:110 in ListContainers) | Failed to get host IPs. Container /calico-rr will be missing network info: %!s(<nil>) 2020-01-28 13:55:34 UTC | CORE | INFO | (pkg/collector/runner/runner.go:327 in work) | Done running check kube_apiserver_metrics 2020-01-28 13:55:38 UTC | CORE | ERROR | (pkg/util/docker/containers.go:110 in ListContainers) | Failed to get host IPs. Container /etcd1 will be missing network info: %!s(<nil>) 2020-01-28 13:55:38 UTC | CORE | ERROR | (pkg/util/docker/containers.go:110 in ListContainers) | Failed to get host IPs. Container /calico-rr will be missing network info: %!s(<nil>)

Getting spammed by these logs too. It happens on containers with network_mode: host since version 7 of the agent. Reverting to agent version 6 works.


Detectors controller

Going to need detectors when we start hitting the loopback data and associating detectors with stations

Just realized theres no way to give a detector ID and gets associated station back, dont merge just yet, im in the middle of writing it


test(ioredis): test ioredis ESM usage

This is an attempt to test ESM usage of ioredis based on Marc's comment at https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1731#issuecomment-1765998373
This passes, but the thing that scares me is enabling the ESM hook for .test.ts tests as well. The IORedisInstrumentation patch method is being called both for ESM and CommonJS for ioredis.test.ts -- I don't understand that.
Refs: #1731
Refs: #1735

This would be an alternative to #1735.
@pichlermarc Is this close to what you tried for your ESM testing experiements? This runs and passes, however I don't grok the:
XXX IORedisInstrumentation: esm? true
XXX IORedisInstrumentation: esm? false

output for the execution of "test/ioredis.test.ts" -- for what should be just CommonJS.  It would scare me a little bit to turn on NODE_OPTIONS='--loader @opentelemetry/instrumentation/hook.mjs' for all *.test.ts files. :)
A full test run with this patch:
[.../opentelemetry-js-contrib4/plugins/node/opentelemetry-instrumentation-ioredis]
% npm run test:local

><EMAIL_ADDRESS>test:local
> cross-env RUN_REDIS_TESTS_LOCAL=true npm run test

><EMAIL_ADDRESS>test
> cross-env NODE_NO_WARNINGS=1 NODE_OPTIONS='--loader @opentelemetry/instrumentation/hook.mjs' nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' 'test/**/*.test.mjs'

  ioredis
XXX IORedisInstrumentation: esm? true
XXX IORedisInstrumentation: esm? false
    ✓ should have correct module name
    #createClient()
      ✓ should propagate the current span to event handlers
    #send_internal_message()
      Instrumenting query operations
XXX IORedisInstrumentation: esm? true
XXX IORedisInstrumentation: esm? false
        ✓ should create a child span for cb style insert
        ✓ should create a child span for cb style get
        ✓ should create a child span for hset promise
        ✓ should set span with error when redis return reject
        ✓ should create a child span for streamify scanning
        - should create a child span for pubsub
        ✓ should create a child span for multi/transaction
        ✓ should create a child span for pipeline
        ✓ should create a child span for get promise
        ✓ should create a child span for del
        ✓ should create a child span for lua
      Instrumenting without parent span
        ✓ should not create child span for query
        ✓ should not create child span for connect
      Instrumentation with requireParentSpan
        ✓ should instrument queries with requireParentSpan equal false
        - should instrument connect with requireParentSpan equal false
        ✓ should not instrument queries with requireParentSpan equal true
        ✓ should not instrument connect with requireParentSpan equal true
      Instrumenting with a custom db.statement serializer
        ✓ should tag the span with a custom db.statement for cb style insert
        ✓ should tag the span with a custom db.statement for cb style get
      Removing instrumentation
        ✓ should not create a child span for cb style insert
        ✓ should not create a child span for cb style get
        ✓ should not create a child span for hset promise upon error
      Instrumenting with a custom hooks
XXX IORedisInstrumentation: esm? true
XXX IORedisInstrumentation: esm? false
        ✓ should call requestHook when set in config
        ✓ should ignore requestHook which throws exception
        ✓ should call responseHook when set in config
        ✓ should ignore responseHook which throws exception
      setConfig - custom dbStatementSerializer config
        ✓ should properly execute the db statement serializer for operation insert
        ✓ should properly execute the db statement serializer for operation get

  ioredis ESM
XXX IORedisInstrumentation: esm? true
    ✓ should create spans

  29 passing (1s)
  2 pending

@pichlermarc Is this close to what you tried for your ESM testing experiements?

I actually had two different scripts

test:cjs that does everything as usual (not registering the loader)
test:esm which does register the loader through .mohcarc.json, a seperate tsconfig.json and "type": "module" and uses a

.mocharc.json	{
	    "extension": ["ts"],
	    "node-option": ["experimental-specifier-resolution=node", "loader=ts-node/esm"<EMAIL_ADDRESS>	    "spec": ["test/**/*.test.ts"]
	}

running the tests with npx mocha

That had a few problems though:

I had to modify the package.json by adding"type": "module" to get this to work
I had not yet figured out how to configure ts-node to use the correct tsconfig with this approach, so I needed to modify that one too by coping the esm tsconfig first (there's probably some way, but I did not have the time to research it)
it would not start mocha, as it would use the mohca cli, which wouldn't work with import-in-the-middle, I needed to make some manual changes to the mocha code to get it to run

TL;DR: it was not ideal to say the least, and needed a lot of modifications to the current setup to get it to work. Even then it may not have been accurate as we don't publish ESM files with our instrumentations.
Thank you for trying this out too, though. I think once tooling catches up we may be able to re-visit this approach, but right not it does not seem like a feasible solution as there are a lot of moving parts. I'll put on my list to polish what I did and then push a branch for future reference.

I've opened a draft to show what I did in my testing: #1794

This is no longer needed now that the alternative ESM testing option (https://github.com/open-telemetry/opentelemetry-js-contrib/pull/1735) has been merged.


OpenBCI_GUI Freezes on macOS Sierra with LIVE Data Source

I just received my OpenBCI 32-bit board, and, when I ran it with the GUI, it just freezes instead of establishing a connection:

After waiting for a while, it becomes a blank screen:

You hit start and just nothing? Is there any print outs you see on the bottom of the window? Have you tried the older version one build that can be downloaded from the website.

Yes after making all the required selections and pressing start system it freezes. In the tutorial it says that the bottom status should change to “Initializing communication w/ your OpenBCI board”, but that does not happen. If I wait 5 seconds, which is the amount of time indicated in the tutorial, nothing happens and the screen becomes blank. If I try to maximize the window, it completely exits the program.

Could be. Maybe try downloading the repo for the GUI and run it from processing.

I tried downloading the repo and running it from processing, and it still has the same problem:

The snapshot does not show it, but there's just a spinner that never goes away

Does synthetic work?

On the standalone app, yes:

When run with processing, it freezes as well:

Closing for now

Oh is there no possible solution to the problem? Please let me know if you plan on opening it once again in the future.

I closed because this is still alpha and there is a big chance your issue was/will be solved by the time this is released by it go live in december

I see. Thank you for letting me know, AJ.


Add new pipeline for Sparse operation.

This is the first step to support Sparse tensor ops in IREE. This does
bufferization in two steps since sparse bufferization is not yet
integrated in the general bufferization.
Since sparse codegen relies on library we need few workarounds and
cannot run out of the box as we don't support linking libraries on the
device side. Once sparse moves to full codegen we will be able to run
end to end ops.

FYI @aartbik

Closing as obsolete. Sparsity is cool but I'm not sure with all the recent bufferization changes there's much transferrable here without more work.


Added Image captcha and Enhanced the UI

for the issue: #8
https://github.com/user-attachments/assets/247d4559-3cab-4c8f-a561-2d13d4a33332

@IngaleChinmay04 Your work is amazing but there is some conflict in this do resolve them.
And try to keep the captcha and it's background color in such a way that captcha will be clearly visible.
Don't forget to sync your fork!!

okay I will sort it

@IngaleChinmay04 There is lot of conflicts in this pr so I am closing this one. If you want you can still create a new pr related to this.


Remove updater from Local build instructions

Problem
When building locally following the instructions in https://github.com/BloopAI/bloop/blob/oss/apps/desktop/README.md, you will get the following error.
+ exit 0
    Bundling [tauri_bundler::bundle::updater_bundle] /Users/drewbitt/Repos/bloop/target/release/bundle/macos/bloop.app.tar.gz (/Users/drewbitt/Repos/bloop/target/release/bundle/macos/bloop.app.tar.gz)
    Finished [tauri_bundler::bundle] 2 bundles at:
        /Users/drewbitt/Repos/bloop/target/release/bundle/macos/bloop.app
        /Users/drewbitt/Repos/bloop/target/release/bundle/dmg/bloop_0.6.4_aarch64.dmg
        /Users/drewbitt/Repos/bloop/target/release/bundle/macos/bloop.app.tar.gz (updater)

       Error [tauri_cli_node] A public key has been found, but no private key. Make sure to set `TAURI_PRIVATE_KEY` environment variable.

Info
This is because of https://github.com/BloopAI/bloop/blob/222a131cf9679cf933327904e06f1e0debc6e207/apps/desktop/src-tauri/tauri.conf.json#L94
Screenshots

The updater being present will also prompt this, even though this is a local build and we should not be downloading remote updates of prebuilds.
Also secondarily, it is giving me a prompt to update to 0.6.5, but I have the latest branch; this is because you pushed out a 0.6.5 but did not update several locations

Recommendation
Remove the updater code from local build instructions. We can't sign it with your private key and it's not useful.

Thank you, @drewbitt, for reporting this issue. I've submitted a pull request to address it. Feel free to test it locally to confirm if it resolves the problem on your end. Otherwise, it should be merged shortly.

That works!


ch7.mutex - compilaion failed

(cl) ~/work/p1/pyopencl-in-action$ python -m "ch7.mutex"
Using CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
On platform: Experimental OpenCL 2.1 CPU Only Platform (OpenCL 2.1 LINUX)

Build log:
/home/ubuntu/work/p1/pyopencl-in-action/ch7/mutex.py:46: UserWarning: Pre-build attribute access defeats compiler caching.
  print(prog.get_build_info(dev, cl.program_build_info.LOG))

Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/cl/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/ubuntu/anaconda3/envs/cl/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/work/p1/pyopencl-in-action/ch7/mutex.py", line 43, in <module>
    prog.build(options=['-Werror'], devices=[dev])
  File "/home/ubuntu/anaconda3/envs/cl/lib/python3.6/site-packages/pyopencl/__init__.py", line 510, in build
    options_bytes=options_bytes, source=self._source)
  File "/home/ubuntu/anaconda3/envs/cl/lib/python3.6/site-packages/pyopencl/__init__.py", line 554, in _build_and_catch_errors
    raise err
pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE

Build on <pyopencl.Device 'Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz' on 'Experimental OpenCL 2.1 CPU Only Platform' at 0xdbd158>:

Compilation started
1:2:26: error: OpenCL extension 'cl_khr_global_int32_base_atomics' is core feature or supported optional core feature - ignoring
#pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable
                         ^
Compilation failed

(options: -Werror -I /home/ubuntu/anaconda3/envs/cl/lib/python3.6/site-packages/pyopencl/cl)
(source saved as /tmp/tmpqm5dqjib.cl)

(cl) ~/work/p1/pyopencl-in-action$ python -m "ch11.string_search"
Using GPU: Intel(R) Gen9 HD Graphics NEO
On platform: Intel(R) OpenCL HD Graphics (OpenCL 2.1)

Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/cl/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/ubuntu/anaconda3/envs/cl/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/work/p1/pyopencl-in-action/ch11/string_search.py", line 84, in <module>
    with open(TEXT_FILE, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'kafka.txt'
(cl) ~/work/p1/pyopencl-in-action$

I have no idea why the first one fails. I get the following output
Using CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
On platform: Intel(R) CPU Runtime for OpenCL(TM) Applications (OpenCL 2.1 LINUX)

/usr/lib/python3.7/site-packages/pyopencl/cffi_cl.py:1517: CompilerWarning: From-source build succeeded, but resulted in non-empty logs:
Build on <pyopencl.Device 'Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz' on 'Intel(R) CPU Runtime for OpenCL(TM) Applications' at 0x5637977efe08> succeeded, but said:

Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <mutex> was not vectorized
Done.
  warn(text, CompilerWarning)
Sum: [4]

I see you're using the experimental opencl 2.1 drivers, could be something related to that.

That is a separate issue. It tries to open ch11/kafka.txt. I've pushed a new version that handles the path better, try that

after update - it works ch11.string_search
(cl) ~/work/p1/pyopencl-in-action$ python -m "ch11.string_search"
Using GPU: Intel(R) Gen9 HD Graphics NEO
On platform: Intel(R) OpenCL HD Graphics (OpenCL 2.1)

Number of occurrences of 'that': 330
Number of occurrences of 'with': 237
Number of occurrences of 'have': 110
Number of occurrences of 'from': 116


Add more template

Hello,
I would enjoy to have the possiblity to do dotnet new -l F# -t Lib or -t xunittest. I think I could use aspnet generator, but I would prefer to use dotnet cli like I do in C#.
Thanks you for your work!
Cheers,

I've been looking into this issue. I think you should raise it at dotnetcore cli repo https://github.com/dotnet/cli/issues I wasn't sure how to contribute it there that's why I did the added it to the aspnet generator instead.

Logged into another issue
Closing as dupe of #36


Enhance backup report

Closes #252
Changed aggregate query to find
No backup days on instance create and delete days are handled gracefully
Backup trigger count changed to job run count

Pull Request Test Coverage Report for Build 903

63 of 65 (96.92%) changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 87.189%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/reports/BackupReportManager.js
60
62
96.77%

Totals

Change from base Build 902:
0.02%

Covered Lines:
6085

Relevant Lines:
6740

💛  - Coveralls


Add grpc gateway runtime, adjust docker api usage

Sets stage for https://github.com/appcelerator/amp/issues/425

@generalhenry I assume the large number of vendor changes are anticipated?

@chrisccoy yes, that's why this is isolated into it's own commit (so the real code changes don't have this kind of noise)

The protoc-gen- packages aren't needed in this repo, they're used to build, not to run.
I added them here: https://github.com/appcelerator/docker-protoc/pull/2