Symbol.asyncDispose vs .disposeAsync() - why names are inconsistent?

^

This might be too late to change, but shouldn't Symbol.{async}dispose really be Symbol.{async}disposer, i.e. using nouns rather than verbs like Symbol.{async}iterator.
With this naming, Symbol.{async}disposer would return a disposer function, and .dispose{async} would actually perform (a verb) the disposal action.

@Jamesernator generally the choice of semantics should come prior to the choice of naming. And the obvious semantics in this case are that you have a function you call to do the disposal, not that you have a function you call to get a function you call to do the disposal - there's no reason for that extra layer of indirection.
And once that's settled, Symbol.dispose and Symbol.asyncDispose are the obvious names for that function you call to do the disposal.

not that you have a function you call to get a function you call to do the disposal - there's no reason for that extra layer of indirection.

It appears I've misread the explainer, I was thinking that it worked like:
using x = getX();

// Would become

const x = getX();
const x$disposer = x[Symbol.dipose]();
try {
    // ... rest of block
} finally {
    x$disposer();
}

but rather it's just const x$disposer = x[Symbol.dispose].
In that case I'd agree with the initial issue that really it should be Symbol.disposeAsync given it doesn't actually behave like the iterator methods at all (like the iterator methods both produce objects synchronously and don't neccessarily imply async work).

I'll bring this up in plenary.

We discussed this in the January plenary and the consensus was to remain consistent with Symbol.iterator/Symbol.asyncIterator for the symbol name.


Suggestions

Put any suggestions you might have for the application in here!
Thanks!

I have a suggestion to myself - add the ability to filter out certain events.


Fixes for Workflow duplication issues #323 and #429

Fixes for Workflow duplication issues #323 and #429
Added a check for existing Workflow Definitions and Subscriptions before adding them to stop duplication.
Included Subscription.Id and Subscription.Name property definitions when creating the Workflow Subscription as this fixes an issue where the workflow subscription is duplicated if it is re-published in SP Designer.

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

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi Matt,
Thanks for your great contribution. I have just merged your changes together with some other fixes within PR #436. Your commits have been kept so that you will be fully credited. I will close this one, because it is included in the other PR. Thanks again!


apt-get install dotnet6 does not install the SDK as the documentation states

I am running Linux Mint:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 21
Release:	21
Codename:	vanessa
$ cat /etc/upstream-release/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu Jammy Jellyfish"

I'm following the instructions here: https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu?source=recommendations#install-the-sdk. The documentation states:

To install the .NET SDK, run the following commands:

sudo apt-get update && \
  sudo apt-get install -y dotnet6

After running the commands I can run dotnet --info:
$ dotnet --info

global.json file:
  Not found

Host:
  Version:      6.0.10
  Architecture: x64
  Commit:       5a400c212a

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.10 [/usr/lib/dotnet/dotnet6-6.0.110/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.10 [/usr/lib/dotnet/dotnet6-6.0.110/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info

.NET SDKs installed:
No SDKs were found.

Thus it appears that it only installs the dotnet runtime and not the SDK. I'm not sure if this is a docs issue, or an issue with the package. Regardless, I'm not sure how I would go about installing the SDK from the package manager.

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

ID: 80707602-f283-e796-d3b8-3287fbc011dc
Version Independent ID: 1d732b15-9e64-633a-000c-ad96d9d3818a
Content: Install .NET on Ubuntu - .NET
Content Source: docs/core/install/linux-ubuntu.md
Product: dotnet
Technology: dotnet-install
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hello @joeskeen it sounds like you have a mixup problem where the runtime is being installed from one source and the sdk from another (or vice versa)
I did a search on the dotnet product issues and found this: https://github.com/dotnet/core/issues/7699
I'll update https://learn.microsoft.com/en-us/dotnet/core/install/linux-package-mixup with some more information.
I'm going to close this issue as I'm pretty sure this is the source of your problem. Feel free to comment or reopen it if you're still stuck, but you probably want to ask in the product repo as you'll have more people to help you out.


Viewing generated CSS in Angular without browser developer tools?

Which @angular/* package(s) are relevant/related to the feature request?
compiler-cli, core
Description
It would be really nice to view the generated css from sass without having to go to the browser developer tools.
https://stackoverflow.com/questions/76248102/viewing-generated-css-in-angular-without-browser-developer-tools
Proposed solution
For all the stylesheets included have the capability to generate a folder with the corresponding css files generated, so that we can easily debug SASS.
Alternatives considered
It's possible to look at the CSS using the browser developer tools.

Hi @alan-agius4,
Yeah I've played around with also generating CSS using the SASS commnandline directly:
https://fireflysemantics.medium.com/creating-a-playground-for-the-material-components-web-sass-code-2a63cde10c93
However it's quite often much simpler to do this within an Angular project because Angular pulls in all the right dependencies for you and so you know you are working in the right context.
Also sometimes we want to have a quick look at generated CSS and the developer tools adds a lot of steps to doing something that ideally would be simple.


Allow for menu contributions in folders of the explorer

For https://github.com/Microsoft/vscode/issues/10433
@jrieken can you have a look? it seems to work for me using this new key:
"explorer/context": [
    {
        "when": "explorerResourceIsFolder",
        "command": "extension.sayHello",
        "group": "navigation"
    }
]

Do you think we would need the same for explorerResourceIsFile?

Changes Unknown when pulling c58e14d84baba30fa59be5eb4081de579b08bef0 on ben/10433 into ** on master**.

LGTM


fix: replace quotes and backticks with escaped single quotes in angular

Description
This currently just addresses Show. I have not evaluated For or any of the other Control Flow components closely, but so far it seems like a Show is the main case in which this bug happens.
When using a Show with a when that references a raw string, Angular's compile breaks.
eg:
<Show when={foo === "bar"}>...

turns into:
template: `
  <ng-container *ngIf="foo === "bar"">...
`

The wrapping backticks are intentional since that is how the single file component syntax works in angular.
As you can see, the quotes would need to be escaped. However, just escaping them was problematic. Angular wouldn't compile no matter how many times I escaped the double quotes.
One fix would be to just use single quotes in the mitosis component, however this contradicts prettier's defaults, so it didn't seem ideal.
If you were to use backticks instead of double quotes, Mitosis escapes the backticks just fine, but still breaks the compile. (unexpected character)
fixes #795

@cmgriffing I just merged #799 which includes the new plugin. It lives here: https://github.com/BuilderIO/mitosis/blob/e570d19212d5cb745f10d0850ffd902c37adcd8b/packages/core/src/helpers/plugins/process-code.ts#L41
This is how it's used in Vue and Solid generators:
https://github.com/BuilderIO/mitosis/blob/e570d19212d5cb745f10d0850ffd902c37adcd8b/packages/core/src/generators/vue/vue.ts#L106-L131
https://github.com/BuilderIO/mitosis/blob/e570d19212d5cb745f10d0850ffd902c37adcd8b/packages/core/src/generators/solid/index.ts#L286-L295
Note that you have the flexibility of running your transform on properties/bindings/hooks/hooks-deps. In your case, I think we just want to run the quotes replacement for properties and bindings, and can ignore the other cases. Give that a shot, and let me know how it works out!

Oh, Awesome. I will try to get into this in the next few days.

@cmgriffing can you update this or should I have someone takeover the PR?

@cmgriffing I think I'll actually try to perform the migration to the code processor plugin: it's a bit of a hefty task, and out of scope for the relatively small fix you're trying to contribute!

Thanks. I was going to try and do it this weekend, but if its fairly involved, you can take it over.
I will close this PR but leave the Issue open. Feel free to close the issue when ready.


Prevent permalocked users from getting unlocked

Prevents permalocked users from getting freed due to a previous trusted status.

notifies side servers about newly permalocked users easier, and prevents further issues/crimes from being committed.
doesn't free permalocked users anymore on side servers to commit more crimes.

Yes that is true, but regardless they still are trusted (meaning they avoid locks).  this.distrust() will strip that status from them, even if it means removing them from usergroups.csv iirc

The main issue here is to make sure such users wuch stay locked on the server regardless


Fix connectivity_plus: Could not get unknown property 'javaToolchains' for task ':app:compileDebugAndroidTestJavaWithJavac'

Description
Hotfix of android java version used
Error thrown:
Could not get unknown property 'javaToolchains' for task ':app:compileDebugAndroidTestJavaWithJavac' of type com.android.build.gradle.tasks.AndroidJavaCompile.
Related Issues
https://github.com/fluttercommunity/plus_plugins/issues/345
https://github.com/fluttercommunity/plus_plugins/issues/341
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I am willing to follow-up on review comments in a timely manner.

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

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

@miquelbeltran it seems to merge this PR https://github.com/fluttercommunity/plus_plugins/pull/320/files  has introduced several bugs which again removing the lines that were added to build.gradle seems to fix that issues.
Do you agree with this PR, although I have one comment here.

I am not a gradle expert but if this fixes the issue, then welcome!


V5 Uncaught TypeError: Cannot read property 'classList' of null

this error shows up only in 5.0.2, not in 5.0.1

@devhoussam  Please STOP making spam issues.
Since 4 of April I am counting 70 issues of yours, most of them lack of description and at least an example
We are trying to help, as contributors, and not as full-time debuggers or wish Jinns
If you want to help, there are steps you can follow:

do I make proper usage of js/html markup?
do I respect the library guidelines?
is it a real bug?
is it a logical requirement or I am trying to make it my way?
if it is, can I describe it enough?
lets try to make a full example with description, in order to help these poor contributors, saving some of their personal time

PS:  Give it a real try next time, having in mind that most of the team members, are thankful developers, trying to give back


Support Alias

add support for alias

Thanks for the PR! Can you please add a test for this?

yes! I'll try to add a test case.


Fix crash on desktop switch

https://github.com/Slion/VirtualDesktop/issues/15
Referred to the implementation here: https://github.com/hwtnb/VirtualDesktop/blob/102f693f3a076189ca8c25f33cd9918c96365af5/source/VirtualDesktop/Interop/(interfaces)/22621/IVirtualDesktopNotification.cs#L85
Seems like what failed is not ViewVirtualDesktopChanged but the new VirtualDesktopSwitched, which is also fired when we are switching desktops. Not sure why we have two of them... But anyways, made implementation for it and seems fine now.

Actually if this line wasn't added, it should not fail. Seems like the problem is on a dead loop that it keeps calling itself. But Visual Studio is definitely to be blamed for not calling it out.

Got these errors... Once I fixed them it worked like a charm!

Got these errors... Once I fixed them it worked like a charm!

Sorry I'm not sure why they would happen, do you mind sharing your diff so I can include it here?

Looks awesome, thanks for looking into this. I wonder when were those signatures changed though. Your suggested change just changes the 2215 interface but we know it was working fine in 2215. Surely we ought to deploy a new variant of the APIs instead. Question is when did the problem start? For me is was only an issue from 2506 put for others is was from 2361 as suggested in #15.

@Slion I don't know much about signature but my assumption is that it had never worked. It didn't break in the old version of Windows because those interfaces were defined but never used, until 23H2 and they started causing problems. You could check the other fork I provided in the PR description for a reference.

You did some non-ending recursive calls:
        public IVirtualDesktop VirtualDesktopSwitched()
          {
// Calling itself
             return this.VirtualDesktopSwitched();
          }

         public IVirtualDesktop RemoteVirtualDesktopConnected()
          {
// Calling itself
             return this.RemoteVirtualDesktopConnected();
          }


Fix conversions between axial and offset hex coords

Fixes #414
This fixes conversions between AxialPos and (RowEvenPos, RowOddPos, ColEvenPos, ColOddPos) when coordinates are negative.
See https://www.redblobgames.com/grids/hexagons/#conversions
This seems correct, but it's currently unclear to me if similar work needs to be done in the shaders.

I uncommented the stuff in the CI workflow that actually runs tests.

I can't remember if some of these offsets should differ from redblob's numbers due to bevy's coordinate system or whatever.
We should double check that before merging.


Add support for the list branched endpoint (47deg#231)

[x] Create tests for protected query parameter
[ ] Fix build
[ ] rebase / squash as needed

@YarekTyshchenko Apart from the minor typo, the decoders for the new entities (Branch and BranchCommit) are missing and tests are failing.
It should not be hard to add, but let me know if you need help doing so.

@JesusMtnez You are right, I must have missed that bit in the docs.Option sounds good!

hey @YarekTyshchenko, the tests use a GitHub token that is not available in forks. You'd need to create a Personal Access token in Github with gists permissions (I don't remember if anyone more is necessary) and store it in the environment variable GITHUB4S_ACCESS_TOKEN before executing the tests. I can also execute them locally, I just need to find some time. Thanks

@YarekTyshchenko Greenlight! All checks are passing, we are good to merge.

@YarekTyshchenko do you need a new release of github4s? Just let me know if needed :wink:

@JesusMtnez Let me have a quick look at #233 first. I think that should be an easy one


Add buffer to access_log to reduce CPU and I/O cycles

From https://www.nginx.com/blog/tuning-nginx/
Logging every request consumes both CPU and I/O cycles, and one way to reduce the impact is to enable access-log buffering. With buffering, instead of performing a separate write operation for each log entry, NGINX buffers a series of entries and writes them to the file together in a single operation.
To enable access-log buffering, include the buffer=size parameter to the access_log directive; NGINX writes the buffer contents to the log when the buffer reaches the size value. To have NGINX write the buffer after a specified amount of time, include the flush=time parameter. When both parameters are set, NGINX writes entries to the log file when the next log entry will not fit into the buffer or the entries in the buffer are older than the specified time, respectively. Log entries are also written when a worker process is reopening its log files or shutting down. To disable access logging completely, include the off parameter to the access_log directive.
FYI: http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log
What do you think ?

The nginx docker links /dev/stdout in place of the logfiles.
Not sure if that changes anything.
See Dockerfile of nginxinc/docker-nginx@c769ad

The log is indeed symlinked to /dev/stdout, but it is still being accessed as a block device, so I think the feature would still work properly, but I'm not sure of there's actually a performance benefit.  The log lines are being written to either the output block device, or the buffer on each request.  If the block device is STDOUT, there is very little performance hit.  The real performance hit is when Docker writes that stream down to file (assuming you're using the default json-file driver).
If you have a performance issue, I would suggest using a different driver, like syslog or gelf and shipping your logs over to a logging host.  Buffering writes will help on media with high latency (ex: rotational hard drives, NFS, etc), but to be honest, you're probably delaying the inevitable if you have this problem.
If people (like @jwilder) do want this on, I suggest using low settings like buffer=4k and flush=2s, that way you never have to wait more than 2 seconds to get a chunk of log data.
Personally, I stream the data from STDOUT through the Docker GELF driver into Kafka, then it gets ingested in real-time by Logstash into ElasticSearch, where it shows up in real-time in Kibana.  For me, the delay from an access log write to it appearing on a real-time graph in Kibana is much less than one second, and with Nginx access log buffering of more than a few seconds, I would probably see really strange "bursty" log data for lower traffic sites.


Switch to dune and opam 2.0

I noticed that in https://github.com/ocaml/opam-repository/pull/14951 it is noted that you switched to dune but I couldn't see any modifications apart from the use of the dune binary. This PR should make it compatible with dune 2.0 as well

Thanks! I hadn't pushed the commits, but I rebased your PR and applied the things that were still relevant :-)


WIP: Update to solium and pin versions.

Not yet able to get truffle to compile using the correct version of solc.

package-lock.json


add frontend to news article demo

Removed changes and put up this pull request to add the frontend to the news article demo branch.
cc @shambhuhegde

we will probably want to update the "See it work" README section to showcase /version endpoint instead of root https://github.com/GoogleCloudPlatform/cloudsql-gke-demo-for-genai/tree/news-frontend?tab=readme-ov-file#see-it-work


docs(ad-api): add use cases of vehicle status

Description
Add the use case of vehicle status, vehicle information, and RTC.
A dummy page is included because I plan to change the page structure.
Related Issue: https://github.com/autowarefoundation/autoware/issues/3226
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The Reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@mitsudome-r I have reflected your comments. Can you review it?

@mitsudome-r friendly ping


Optimize BitSetIterator#intoBitSet.

Calling DocIdSetIterator#intoBitSet on a BitSetIterator copies set bits one by one from one BitSet to another. We can do better.

This gave the expected speedup on nightly benchmarks: https://benchmarks.mikemccandless.com/CountFilteredIntNRQ.html


AVI and MKV support

Can you please add AVI and MKV video format support. So that can upload and use this format.
Thank you!

avi files still not working


Implement a serverless agent

In rust
Guest's pid 1
Support the serverless protocol (#1) from the guest

Configuration
The configuration is on the initramfs on a location such as /etc/cloudlet/config.yaml
It should contain (at least):

Information about the serverless protocol
The location of the code on disk
The language of the code

Scope

Only supports the standard library (no external crates)
Builds the code, runs the code, exits (if we have access to internet we could run servers)
Added security using a minimal container runtime would be a plus


Conversion operators are not extracted

Conversion operators such as the following are not extracted:
struct Example {
  /**
   * Test.
   */
  operator int();
};

Fixed by 539edb18b36abac0f99ab68909bffa397d354d20.


arduino IDE

Hi,
Nice work, but it does not compile with Arduino IDE. Get all kind of errors:
printf for instance. These are relatively easy to overcome.
More serious are the errors in the ccp file eg: double T[maxOrder] = {0}; //Values to generate RHS of linear equation
etc
Any solution? Thankyo in advance

Hi,
I've not tested this on Arduino! My fault, I probably should.
I've changed the serial printfs in  5a217d0fac0a7385be93224e2b932e85160f8b92
I'll test the other stuff now

This should be fixed in v1.0.3
Please update your library and see if that works!
Thanks,
Rowan


Prefer Fetch API over XHR

We should prefer the Fetch API whenever possible.  It looks like that's everywhere but IE 11 right now:
http://caniuse.com/#feat=fetch

Note: @theodab has discovered that Fetch is missing timeout/abort functionality that would bring it to parity with XHR.  This means we will not always be able to use Fetch.
See whatwg/fetch#20 and whatwg/fetch#447.

As an update...
It looks like they have finally settled on a design for aborting fetches.
The AbortController has been implemented but not flighted on Edge, Mozilla has an implementation in 55+ nightly, and Chrome is planning on adding it soon. So it might not be too long till we can use Fetch.

Thanks for the update!

We now have a fetch request scheme plugin. Note that, because this requires both the fetch API and the AbortController API, as of this moment it will only be used on Firefox and Edge.

Chrome implementation bug: https://bugs.chromium.org/p/chromium/issues/detail?id=750599
It looks like some or all of the implementation of AbortController landed in Chrome early this week.  I haven't talked to Chrome team to confirm, but I expect it would launch in Chrome 66, due out in late April.


Force read/write from slave support added

@reidmorrison I created an issue earlier #8 in which I wanted a behavior to deal with read/write operations against master by default and on specific query we can specify, or pass in block, our active record to read/write from Slave db. Based on this I made some changes which I believe working good on my side but I want to have a thorough lookup to my code if I am missing anything.

Thank you for the PR, will publish a new gem shortly

Alright thanks @reidmorrison


Add new benchmarks

New benchmarks for creating/validating jwe and signedhttprequest

looks to be in benchmark -> Microsoft.IdentityModel.Benchmarks....can everything just be under one folder?

can everything just be under one folder?

@jennyf19  Made this change, do you mind validating that it's what you were looking for?


Reduce size of Lua's ASCII logo

Some of our ASCII logos exceed the max size imposed by our Guideline. As a striking example, Lua's ASCII logo is just enormous:

The idea would be to come up with a new ASCII logo for Lua with a width < MAX_WIDTH = 40 and height < MAX_HEIGHT = 25

To check if your ASCII logo falls into the boundaries of width/height defined above, you can run cargo test -- --ignored

Hey, so I made a ASCII Lua logo but after running cargo test -- --ignored I found that there are some other logos too that aren't passing would you like me to take a look at them too?

Hi @maash3r,
Sure! you can make multiple PRs, one per Logo you're resizing.
Looking forward to see your work.


[CCXDEV-12378] Automerge dependabot updates

Description
Set as automatically merge all the pull requests created by dependabot[bot]. I followed these docs.
We can also filter on the semver major, minor, or patch updates, but let's not do it for now
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'

Type of change

New feature (non-breaking change which adds functionality)

Testing steps
TODO
Checklist

[ ] pre-commit run -a passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.30%. Comparing base (da79e47) to head (0cf9f6b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #166   +/-   ##
=======================================
  Coverage   82.30%   82.30%
=======================================
  Files          28       28
  Lines         842      842
=======================================
  Hits          693      693
  Misses        149      149

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Allow for more URL formats in add org API

Overview
When sending a POST request to /api/organizations, we are not allowed to exclude http(s):// and www for URL params
Action Items

[ ] Make "http(s)://" optional for github_url, website_url, facebook_url, twitter_url, meetup_url
[ ] If "http(s)://" is not sent as part of URL strings in the POST request then assume it is https
[ ] Make "www" optional for facebook_url, meetup_url (the other params already allow for "www" exclusion)

Progresses:
@bruceplai @DrIffathsultana  I had checked and the API  has the following validations verifying that  https, and/or, www or a specific-startswith are part of the provided URLs:

validate_github_url -  is validated using the following regex_pattern = "(https://)(www.)?(github.com/)([/A-Za-z0-9_-]+)"
validate_facebook_url  - validates that url  startswith('https://www.facebook.com/'):
validate_meetup_url -   validates that url startswith('https://www.meetup.com/'):
validate_twitter_url   - validates that twitter.com/'  is  present

Change:

It seems that updating the validations for facebook and meetup in order to validates to verify only if meetup.com/ or  facebook.com/ are present would be enough, same like twitter case.

Adding the  http(s):// when is not sent as part of URL strings i

What about the rules for the website URL ?

To Do:
please let me know  in case there could be  any other  rules for each of the possible cases, I will take care of the changes

@emecas We need to edit some validations on the API.  Please let us know if you have bandwidth.

@bruceplai pls reach @emecas See #824 for reference.

@emecas
- Any update regarding this issue?

hi @emecas
Please update the following
• Progress: How much progress have you made on the issue?
• Blocks: Are you facing any blockers?
• Availability: How much time do you have to work on it this week?
• ETA: When do you think it will be completed?

@mariastudnicka reaching out to #admin channel for backend support

@ladissi
• Progress: I have a local version I'm working on , but I'm still no able to complete the feature
• Blocks: more because my knowledge about django framework
• Availability: I will work on this for about 3 hours
• ETA: hopefuly for next week (Sep 19-24)

@cnk wil look into changing regular expressions.

During the developers meeting this evening, Fang and I started working on this. We have a new set of example tests so we don't have to make requests to the server to check our validations. Fang is taking over at this point and will expand the permitted urls for these services.

During the developers meeting this evening, Fang and I started working on this. We have a new set of example tests so we don't have to make requests to the server to check our validations. Fang is taking over at this point and will expand the permitted urls for these services.

@cnk  @ladissi  Fang
I added PR #81 as WIP with the original approach just in case it could be useful, it needs work in order to re-base to current main changes and making added rules prevalence over the existent URL basic validation


dynamic class loaded

Does not work with dynamic loaded classes

Unfortunately it does not support that yet, as a matter of fact doing that using Frida maybe tricky; the Frida API involved in House works like this: it will do an enumerate against the dex file to resolve the symbols; if it is dynamically loaded, it cannot identify those. I am going to close this for now as this is one of the edge case and if I were you I would just look around for frida API to achieve that.

Dynamically loaded classes can be seen in enumAllClasses ()
For use dynamically loaded class ...
Java.perform(function(){
        var hookClass = undefined;
        var ClassUse = Java.use("java.lang.Class");
        var dexclassLoader = Java.use("dalvik.system.DexClassLoader");
         dexclassLoader.loadClass.overload('java.lang.String').implementation = function(name){
            var hookname = "com.dynamic.class.loaded";
            var result = this.loadClass(name,false);
             if(name == hookname){
                var hookClass = result;
                var hookClassCast = Java.cast(hookClass,ClassUse);
                 var methods = hookClassCast.getDeclaredMethods();
				console.log(methods);
                return result;
             }
            return result;
        }
});

Hey this looks nifty; I am reopening it and I will take a look at it when I get the chance; currently I am afraid I do not have much energy to spare on House due to some personal issues; I think it would not be to challenging if your script works; do you mind try to file a PR with that script added as a template script in House?

Also would you mind let me know your email address? In case I might need to ask sth from you when I work on it.

Feature added in the new updates


Fix typo - Feature qmanagerdb

Fix typo on svc name - Adds 7.1.9 QueueManager for postgresql
In 7.1.9 QueueManager uses RDBMS. postgresql only supported in <IP_ADDRESS> & CHF1, Switch to back to legacy H2 included in CHF2, other db's later
Signed-off-by: Chuck Levesque<EMAIL_ADDRESS>

Please rebase on the latest devel branch


Quick fix validation reading entire zarr store for QC check

Validation tries to read entire Zarr stores into memory to perform some checks.
This PR implements the work-around in https://github.com/ClimateImpactLab/downscaleCMIP6/blob/0122ce6730de73c6b64b8e9ca120e2bfaf95e7bb/workflows/templates/qualitycontrol-check-cmip6.yaml#L47 as a quick fix to the problem. Basically reading annual slices through via dask.delayed.

Tagging @dgergel, for a quick look at this, if you can spare a moment. (thank you)


Clients - Add react native client

What this does

Add react native as a client extra option for bootstrapper users.

Checklist

[x] Add react native client template from another project
[x] Add cookie cutter command to ask whether the user wants a react-native client or not
[x] Add gh action files for expo. Remove them if the user chooses not to include react native project

@oudeismetis There are some things we are still working on figuring out that can be fixed over time. In general this should not yet be merged as we are still finding a solution for .env variables and want to try a few things out with julep before we do

@lakardion Since this PR isn't going to be merged soon, I'm think the part of this PR that creates the web folder and moves Vue/React should be it's own PR. We can merge that quickly and that will help avoid conflicts will you iterate on this.
thoughts?

@lakardion Since this PR isn't going to be merged soon, I'm think the part of this PR that creates the web folder and moves Vue/React should be it's own PR. We can merge that quickly and that will help avoid conflicts will you iterate on this.
thoughts? @oudeismetis
Great suggestion!. Created #165

@lakardion  lets fix the conflict and then tomorrow after we run this with our project we can merge or update!

I think the comment is buried, but there is still an issue with the vue_or_react script change.

Failing because the app that is built is a vue app but cypress is expecting a react app.
I expect this is because of that bug fix in the vue_or_react script. Recreating the review app should fix it. Doing that now.

Fixed!


[Sample] [Graphics] [Compose] UltraHDR image rendering in Compose.

Description
This CL contains sample code for rendering UltraHDR Images in Compose (on API 34 and above).
How Has This Been Tested?
Test Configuration https://github.com/android/platform-samples/pull/1 - Pixel 7 Pro API 34 Beta (Android 14 Beta)
Checklist
I have performed a self-review of my code
I have commented my code, particularly in hard-to-understand areas
Screenshots

Make sure you're updating only the right sample dependencies

Updated, Ack

@yrezgui Is there any more blockers on this one?


Add an example (code and Envoy configuration) to define metrics with tags

xref https://github.com/tetratelabs/proxy-wasm-go-sdk/issues/223


Move class field discussion from Decorators to Reactive properties

This section (https://lit.dev/docs/components/decorators/#avoiding-issues-with-class-fields) is not specific to decorators, and should be in the section on properties, not the section on class fields.

Update this section per discussions.


Revert "[DOCFIX] Update master docs version to master"

Reverts Alluxio/alluxio#3577
The released version is used to create a link to the latest version of alluxio, so it should point to 1.1.0 on master.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10512/
Test PASSed.

LGTM


insensitive branch name 'master'

consider using 'primary' or 'default'
thank you.

Why is this closed? The issue is not resolved.
It's not even a technical limitation, you can change the default branch on GitHub.
https://help.github.com/articles/setting-the-default-branch/


Error in connecting Binance testnet; API Secret required for private endpoints

When I tried to connect Binance testnet, I had a secret key issue.
Does anybody know how to fix this?
api_key = os.environ.get('API KEY FOR TESTNET')
api_secret = os.environ.get('SCRET KEY FOR TESTNET')
client = Client(api_key, api_secret, testnet=True)
client.API_URL = 'https://testnet.binance.vision/api'
# get balances for all assets & some account information

print(client.get_account())

gave an error as below.
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
[<ipython-input-55-846f84a8d6eb>](https://localhost:8080/#) in <module>()
      1 # get balances for all assets & some account information
----> 2 print(client.get_account())

5 frames
[/usr/local/lib/python3.7/dist-packages/binance/client.py](https://localhost:8080/#) in _generate_signature(self, data)
    218
    219     def _generate_signature(self, data: Dict) -> str:
--> 220         assert self.API_SECRET, "API Secret required for private endpoints"
    221         ordered_data = self._order_params(data)
    222         query_string = '&'.join([f"{d[0]}={d[1]}" fo

However, the code below gave a correct response.
btc_price = client.get_symbol_ticker(symbol="BTCUSDT")

print(btc_price)

{'symbol': 'BTCUSDT', 'price': '29186.56000000'}
I think this would be a secret key recognition issue??
Environment (please complete the following information):

Google Colab
Python version: [3.7]
python-binance version:python-binance-1.0.16

Sorry. The below worked 👍
# init
api_key = 'API KEY FOR TESTNET'
api_secret ='SECRET KEY FOR TESTNET'
client = Client(api_key, api_secret, testnet=True)
client.API_URL = 'https://testnet.binance.vision/api'
#client.API_URL = 'https://testnet.binancefuture.com


Localized rateForm measurements

Localized rateForm measurements

Codecov Report

Merging #2192 (183bf73) into react-intl_changeover (a0674b8) will decrease coverage by 0.00%.
The diff coverage is 63.63%.

:exclamation: Current head 183bf73 differs from pull request most recent head 6db53dc. Consider uploading reports for the commit 6db53dc to get more accurate results

@@                    Coverage Diff                    @@
##           react-intl_changeover    #2192      +/-   ##
=========================================================
- Coverage                  71.03%   71.03%   -0.01%
=========================================================
  Files                        405      405
  Lines                       7441     7451      +10
  Branches                    1611     1614       +3
=========================================================
+ Hits                        5286     5293       +7
- Misses                      2120     2123       +3
  Partials                      35       35

Impacted Files
Coverage Δ

src/locales/messages.ts
100.00% <ø> (ø)

...ostModels/createCostModelWizard/priceListTable.tsx
27.86% <0.00%> (-1.45%)
:arrow_down:

.../pages/costModels/components/rateForm/rateForm.tsx
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


dev(narugo): add benchmark for hand detection

Codecov Report

Merging #35 (aaba76d) into main (64a5d4b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head aaba76d differs from pull request most recent head 4d74e4f. Consider uploading reports for the commit 4d74e4f to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   98.75%   98.77%   +0.01%
==========================================
  Files          48       49       +1
  Lines        1290     1307      +17
==========================================
+ Hits         1274     1291      +17
  Misses         16       16

Flag
Coverage Δ

unittests
98.77% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

imgutils/detect/__init__.py
100.00% <100.00%> (ø)

imgutils/detect/hand.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


added option to install from package

New attribute called node['activemq']['install_type'].  Two are supported: 'package' and 'tarball', the later being the default.  When not overridden, the behavior doesn't change.  When overridden with 'package', a package with the name node['activemq]['package_name'] will be installed.

Closing this ticket out since it's been over a year and the CLA hasn't been signed.  Feel free to open this back up if you want to sign the CLA.


timeout returns an error in bot.wait_for

Summary
title
Reproduction Steps
Use bot.wait_for.
Code
response = await bot.wait_for('message', check = lambda m: m.author.id ==<PHONE_NUMBER>74590976, timeout = 5)

Expected Results
it should just timeout
Actual Results
Ignoring exception in on_start_button_action
Traceback (most recent call last):
  File "C:\Users\aboud\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\aboud\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 329, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\aboud\Desktop\My files\Modern GUI\Version 2\darkend.py", line 436, in rewritten_1
    response = await bot.wait_for('message', check = lambda m: m.author.id ==<PHONE_NUMBER>74590976, timeout = 5)
  File "C:\Users\aboud\AppData\Local\Programs\Python\Python310\lib\asyncio\tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

System Information
doesnt work
Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

asyncio.exceptions.TimeoutError..
Your timeout caused it to timeout, and provide more information. Was the response variable populated at all? (As in, did it get the return value of wait for and still timeout?), etc. Don't just say title under the summary, you're supposed to put actual content there, remove the field altogether if you won't use it.
Also, I think discussions would be better suited for this, you can make an issue only if it's an actual bug

ty


[format] upgrate parquet  to 1.13.0

(Please specify the module before the PR name: [core] ... or [flink] ...)
Purpose
parquet 1.13.0 release notes : https://github.com/apache/parquet-mr/blob/apache-parquet-1.13.0/CHANGES.md?plain=1#L22-L78
upgrate parquet to 1.13.0
Tests
(List UT and IT cases to verify this change)
API and Format
(Does this change affect API or storage format)
Documentation
(Does this change introduce a new feature)

I feel that upgrading to 1.13 may involve certain risks and the possibility of incompatibility.
We don't need to upgrade it now. After the smaller version is fixed a bit, we will consider it again.


Feature request: default model

Thanks for the great work!
Can we add an option to set default model?
I understand this can be done by inserting the front matter; however, for some prompt conversion initiated within an existing note, the model is always got-3.5 and cannot meet my needs.

Hi @sunt05,
I can look into it, that's a pretty easy fix. May I ask why "model" in frontmatter is not sufficient though?

Thanks for your follow-up @bramses !
Because I find if I initiate a chat in an arbitrary note by adding a chat divider, the chat is always based on GPT-3.5 though I have changed the default front matter with "model" being "GPT-4".

I see many people use chatgpt-md within existing notes and I am wondering if this is an intended use case and what’s actually going on if you do that. Doesn’t chatgpt-md send the entire content of the existing note to ChatGPT as a message and if so are people aware that this happens?
I believe for most users that do this would prefer a chatgpt-md section, that is „independent“ of the rest of the note.
What do you guys think about this?

My comments are a topic of its own I think. Therefore I created a new discussion for it: https://github.com/bramses/chatgpt-md/discussions/44 (should have done this in the first place)

closing for now since @lukemt made the discussion!


Remove the various client traits

This is the first in (I hope) many PRs to remove most of the traits we use internally in Cosmos.
This removes all traits which seek to require client getter methods. I don't see any advantage to these being a part of a trait instead of being on the struct itself. I believe the thought originally behind this was consistent naming, but I think it's easier to manually keep track of that rather than relying on traits (after all, the user could just choose to not implement the trait at all).
I believe we should remove all traits which exist only to enforce naming conventions. I believe this will most likely result in removing the entire traits.rs file in Cosmos DB.

even though it removes the documentation property of the traits for the sake of some typing.

I'm not so sure I see that as being a very common need. When will people want to see all the types that implement that method?
The most important change that this leads to is it improves documentation. Below is a screenshot of the docs. Notice that it's easy to see the permission_client method in the docs now. The methods defined on the traits are only viewable with the docs expanded and even they they are surrounded by the noise of the trait definitions.


Feature/subtasks

The main work is done and the feature is working.
I need to find a way to display some text and not ids in the dropdown though. Not sure if opening a PR now is the right thing to do, please tell me if it's too soon.

Sorry I somehow missed that you where actually looking for feedback. I thought this is preliminary.
I would not store the subtasks in an extra list but rather in the task itself. Then also exporting them with the main task becomes much easier :)
Maybe it makes sense to start from scratch with this as the branch is quite outdated now?

Yes, this PR should be closed and rejected. If we still want this feature we should retake the work from scratch.


SQL Data Sync: cannot create Sync Group with version 2015-05-01-preview

Resource: https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}
API Version: 2015-05-01-preview
Encountering an issue when creating a SQL Data Sync Group via API, that doesn't occur when creating via the Portal. When a Sync Group is created in the Portal, it's possible to PATCH it to add the schema property, but if the Sync Group is created via the published API, the PATCH operation fails.
Works via Portal

Create a SQL Database Server and two databases (a hub DB and a sync DB).
Via the "Sync to other databases" pane, create a new sync group and complete the first of 3 wizard pages. This will send the initial PUT request.
In pages 2 and 3, enter the DB credentials and select some tables and columns for the sync schema.
Note the corresponding PATCH requests to separately add the credentials and the schema.

To Reproduce

Send the observed PUT and 2 x PATCH requests from above to create and update a sync group via API version 2015-05-01-preview (noting the resource schema matches the swagger except for one property, see Other Observations below).
After the final PATCH request to add the schema, receive the following error:

{
    "error": {
        "code": "SyncOperation_GenericFailure",
        "message": "Failed to perform data sync operation: '' is invalid schema master"
    }
}

Back in the Portal, complete steps 1 and 2 from above, then attempt to send the 2 x PATCH requests to amend the sync group credentials and schema.
Observe no error upon updating the schema property.

Other Observations
When creating a sync group via the portal, it includes an undocumented property hubDatabaseId which is set to the resource ID of the hub database. The same database that forms part of the sync group resource ID. Including this property in the PUT request to the API doesn't appear to mitigate the issue.
Example Requests
PUT /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aaatest-sql/providers/Microsoft.Sql/servers/aaatest/databases/test1/syncGroups/syncQ?api-version=2015-05-01-preview

{
    "properties": {
        "name": "syncQ",
        "interval": -1,
        "conflictResolutionPolicy": "HubWin",
        "syncDatabaseId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aaatest-sql/providers/Microsoft.Sql/servers/aaatest/databases/sync",
        "hubDatabaseId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aaatest-sql/providers/Microsoft.Sql/servers/aaatest/databases/test1"
    }
}

PATCH /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aaatest-sql/providers/Microsoft.Sql/servers/aaatest/databases/test1/syncGroups/syncQ?api-version=2015-05-01-preview

{
	"properties": {
		"hubDatabasePassword": "Qwer5678",
		"hubDatabaseUsername": "admino"
	}
}

PATCH /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aaatest-sql/providers/Microsoft.Sql/servers/aaatest/databases/test1/syncGroups/syncQ?api-version=2015-05-01-preview

{
	"properties": {
		"schema": {
			"masterSyncMemberName": "",
			"tables": [
				{
					"columns": [
						{
							"quotedName": "[ProductID]"
						},
						{
							"quotedName": "[ProductNumber]"
						},
						{
							"quotedName": "[Color]"
						}
					],
					"quotedName": "[SalesLT].[Product]"
				}
			]
		}
	}
}

@manicminer Thanks for sharing the observations. Routing to SQL service team.

Any updates?
Same error:

    "message": "Failed to perform data sync operation: '' is invalid schema master"

even for 2019-06-01-preview api

Any updates?
Same error:

    "message": "Failed to perform data sync operation: '' is invalid schema master"

even for 2019-06-01-preview api

Hi, the example request has masterSyncMemberName empty

"masterSyncMemberName": ""

Please refer to the REST API link to add masterSyncMemberName and retry.
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/createorupdate#syncgroupschema

@fbuser1 we will close this issue. If you have more feedback, feel free to reopen it. Thanks!

@ericshape I am the issue reporter and this does not resolve the bug, please reopen the issue.
@danikaZ Thanks for your reply. For clarity, I have tried setting masterSyncMemberName to various values (the documentation is very unclear on what this is supposed to be) but always get this error message when specifying a non-blank value:
{
    "error": {
        "code": "ParentResourceNotFound",
        "message": "Can not perform requested operation on nested resource. Parent resource 'aaatest-tbamford/test1' not found."
    }
}

I think it's worth nothing that when configuring a sync group using the Azure Portal, the request made by the portal also specifies a blank string for this property. For example (pulled directly from the portal):
{
  "properties": {
    "schema": {
      "tables": [
        {
          "quotedName": "[SalesLT].[Product]",
          "columns": [
            {
              "quotedName": "[ProductID]"
            },
            {
              "quotedName": "[ProductNumber]"
            },
            {
              "quotedName": "[Color]"
            }
          ]
        }
      ],
      "masterSyncMemberName": ""
    }
  }
}

I'm not convinced this is the source of the actual issue, but I'm open to any help you could provide in supplying the expected values since the documentation is unclear.

It has been awhile since I've worked on this, but I've resurrected my earlier test setup and can confirm I have tried the following values for masterSyncMemberName:

`` (a blank string, just as the portal specifies)
test1 (the name of the hub DB)
aaatest/test1 (servername/dbname)
aaatest/aaatest/test1 (resourcegroup/servername/dbname)
aaatest/aaatest/databases/test1 (resourcegroup/servername/databases/dbname)
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aaatest/providers/Microsoft.Sql/servers/aaatest/databases/test1 (resource ID of the hub db)

Each results in the error:
{
    "error": {
        "code": "SyncOperation_GenericFailure",
        "message": "Failed to perform data sync operation: 'XYZ' can't be found as sync group member"
    }
}

where XYZ is the attempted value for masterSYncMemberName.
Note again the reproduction steps in the initial report, where if you first create the sync group in the portal, it can then be updated without error via the API.

Hi, I agree with doc is very confusing. The same API is shared by Create and Update sync group.
Let me start from the beginning for creation steps:
1.Use template to create sync group and member. When creating sync group, do not pass in the sync schema (table\column), do not pass in masterSyncMemberName, because at this time sync group does not have table\column information yet.
(This is equivalent to Portal create sync group.)
2. After sync group is created correctly, refresh schema (either from hub or member),
For hub
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/refreshhubschema
for member
https://docs.microsoft.com/en-us/rest/api/sql/syncmembers/refreshmemberschema
3 Update sync group by specifying the sync schema. (here pls include your schema and masterSyncMemberName, masterSyncMemberName is the name which holds the schema you want to use)
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/createorupdate

Hi @danikaZ, many thanks that's really helpful.
I've tried to sequence my API requests as you described, but I'm getting a 500 error when trying to set the schema (after successfully refreshing the schema from the hub DB). I'm using the AdventureWorksLT sample.
I've made a gist of the API conversation, with requests and responses in order: https://gist.github.com/manicminer/27e2c4dfdb809bc4303c4a19a2716d7b
I left in the correlation IDs in case it helps you trace it.

3 Update sync group by specifying the sync schema. (here pls include your schema and masterSyncMemberName, masterSyncMemberName is the name which holds the schema you want to use)
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/createorupdate

Can you clarify what masterSYncMemberName is supposed to be? Is it the name of the hub database? The name of one of the members? The sync DB? When administering this through the portal, I only see this set to a blank string.

Hi, based on your description and example, assuming you already finished step 1 and step 2.
If so, in step 3, "masterSyncMemberName is the name which holds the schema you want to use".
If you want to use the schema from your hub db, (guessed based on u mentioned refreshed schema from hub db), then pls put down your hub db name in "masterSyncMemberName". So "syncHub210227163016265419" in your example.
I'm having trouble finding the request trace with request id: 646e83fd-ff1e-1fde-6033-be602ea10873. Also seems like the server does exist either.
ping acctestsqlserver210227163016265419.database.windows.net
Ping request could not find host acctestsqlserver210227163016265419.database.windows.net. Please check the name and try again.
If you need further help, please add your server name and region.
If you have security concern, please create a support ticket (should be free :D) with your server name, region, sync group name.

@manicminer we are closing this issue. if you have more questions, please open a new one. Thanks!

@ericshape Please can you reopen this issue? Why did you close it when the issue isn't resolved? I am still getting a 500 error from the API, I would hope that this is considered a valid bug report since I'd hope not to see that unless the service had an issue.
@danikaZ Thanks for your reply, sorry for the few days delay in getting back to you. I have retried as per my last message, and also with masterSyncMemberName set to the name of the hub database, but I am still getting a 500 error just as in my gist link above.
This time I have left the databases intact and have not submitted any further API requests against those database since receiving the 500 error. Here's the response complete with headers if it helps you isolate it.
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 162
Content-Type: application/json; charset=utf-8
Expires: -1
x-ms-request-id: 9f1bea4a-553b-4304-b988-4149358191d5
Server: Microsoft-HTTPAPI/2.0
x-ms-failure-cause: service
x-ms-ratelimit-remaining-subscription-writes: 1197
x-ms-correlation-request-id: 29d3441c-b51c-c1e8-aaba-8ca2aa49d28f
x-ms-routing-request-id: UKSOUTH:20210308T182356Z:3e85645b-28cd-4f64-aeb2-5e190b37d824
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
Date: Mon, 08 Mar 2021 18:23:56 GMT
Connection: close

{
  "error": {
    "code": "InternalServerError",
    "message": "An unexpected error occured while processing the request. Tracking ID: '9f1bea4a-553b-4304-b988-4149358191d5'"
  }
}

@manicminer Hello again! No worries, take your time, and thanks for chasing this :)
I took a look at your sync group and didn't see any schema on hub. (meaning step2 failed or not done)
Can you please try step 2 first again, before going to step3? (more details below)
2. After sync group is created correctly, refresh schema (either from hub or member),
Our PM is still working on a REST API example page, meanwhile, I find the steps in Powershell (PS) example very useful: https://docs.microsoft.com/en-us/azure/azure-sql/database/scripts/sql-data-sync-sync-data-between-sql-databases (please ignore all the private link related commands in PS for now, let's get your happy path to work first :) )
Let me extend the three steps including the corresponding PS commands (truncate some PS parameters for better formatting) for easier understanding:
1.Use template to create sync group and member. When creating sync group, do not pass in the sync schema (table\column), do not pass in masterSyncMemberName, because at this time sync group does not have table\column information yet.
(This is equivalent to Portal create sync group.)
-- Equivalent to PS command
New-AzSqlSyncGroup -ResourceGroupName $resourceGroupName -ServerName $serverName -DatabaseName $databaseName -Name $syncGroupName

After sync group is created correctly, refresh schema (either from hub or member),
For hub (you need this link)
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/refreshhubschema
for member (in case you use schema from a member in the future)
https://docs.microsoft.com/en-us/rest/api/sql/syncmembers/refreshmemberschema

--Equivalent to PS command
Update-AzSqlSyncSchema -ResourceGroupName $resourceGroupName -ServerName $serverName -DatabaseName $databaseName -SyncGroupName $syncGroupName
To check refresh schema completed successfully (pls give it 90 seconds after refresh schema command before checking, refresh schema can take some time)
Please do not continue until list hub schemas return successfully.
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/listhubschemas
--Equivalent to PS command
Get-AzSqlSyncSchema -SyncGroupName $syncGroupName -ServerName $serverName -DatabaseName $databaseName -ResourceGroupName $resourceGroupName
3 Update sync group by specifying the sync schema. (here pls include your schema and masterSyncMemberName, masterSyncMemberName is the name which holds the schema you want to use)
https://docs.microsoft.com/en-us/rest/api/sql/syncgroups/createorupdate
--Equivalent to PS command
Update-AzSqlSyncGroup -ResourceGroupName $resourceGroupName -ServerName $serverName `
-DatabaseName $databaseName -Name $syncGroupName -Schema $tempFile

were you able to find a solution for your problem @manicminer?


glscopeclient chrome not drawn after changing applications

I'm using glscopeclient 81fa6c6009a on Ubuntu 20.04 with an AMD Radeon RX550, running Awesome WM on X11:
OpenGL renderer string: Radeon RX550/550 Series (POLARIS12, DRM 3.35.0, 5.4.0-58-generic, LLVM 10.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.60

Occasionally when swapping between virtual desktops and back to glscopeclient, only the currently-updated parts of the GUI are drawn, and the rest show whatever window was previously active:

Minimising and re-showing glscopeclient or resizing its window triggers a full redraw.

I think I've seen this once or twice on Linux after using OBS to do screen recordings. Unsure if same root cause or not.

Wontfix in glscopeclient, should be fixed in ngscopeclient since we're redrawing every frame at 60 Hz. Reopen if we see it in ngscopeclient.


ARC compile time and memory consumption improvement.

This sequence of commits improves the speed and memory usage of ARC.
Specifically now:

We only visit instructions that are interesting from an ARC perspective. This should help for large CFGs with/without optimizations. Without optimizations this should help significantly by allowing us to not visit so many instructions (the tall pole).
We use immutable pointer sets when we transfer around sets of retainable pointers. This not only reduces compile time on large CFGs but also saves a significant amount of memory. On one pathological case (mentioned in one of the commits), this reduced the amount of memory/compile time by ~2.5x.

@swift-ci Please test Linux platform

@swift-ci Please test Linux platform

@swift-ci Please test Linux platform

@swift-ci Please test Linux platform

@swift-ci Please test Linux platform

@swift-ci Please test Linux platform

@swift-ci Please test

@swift-ci Please test

I should have just done the two smoke tests (that is what I really wanted to do).


NPM: Handle 403 Forbidden when updating lockfiles

TODO

[ ] Add test cases for npm and yarn

Seems to handle the case when we auth against artifactory and get
"Unable to authenticate, need: Basic realm="Artifactory Realm""
This seems to be caused by a trailing slash in the registry host as set
in config variables. When we write this out in npmrc we add another
trailing slash and this seems to cause the above error. Changing to a
single trailing slash returns a 403 Forbidden error.

@greysteil does this seem legit? Not sure why this change is now returning a 403 Forbidden which we haven't handled before, will continue digging into this tomorrow.


Offer option to disable cpu load check when not in production

I noticed my health checks did get an error when I ran them in development. This made me think that often the development environment is a Windows or IOS where the cpu load function is indeed not available.
This feature allows adding CpuLoadCheck::new()->onlyInProduction() when defining the health checks. This allows for local testing of all the health checks without the cpu load check causing an exception/error.
I added a test skeleton, but unfortunately am not confident enough in pest to write them myself. I didn't contribute to the documentation/readme.MD, as it is in another repository.

In order to keep this check as simple as it can be, I'm not going to merge this in.
Feel free to create the check you need inside of your own project.


Remove version: Wagnardsoft.DisplayDriverUninstaller version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://www.wagnardsoft.com/DDU/download/DDU v<IP_ADDRESS>_setup.exe
OK
(Automated message - build 922)

Close with reason: Package still available;


Missing Console output

You should add an option to show a console window, or display the console output inside the program window after you click start mining.

I got the GUI fully working on another machine so I do see statistics now.
I personally would prefer a console output view or popup.

Could be an option, something like "Show GUI stats" and "Show console output"


[Bug]info windows for transit directions not styled correctly

Description
When rendering a transit directions route, the info windows for each leg segment have a strange styling.

Steps to Reproduce
Using the example code
Environment

Library version<EMAIL_ADDRESS>Google maps version: weekly
Browser and Version: Chrome 130.0.6723.70
OS: macOS Sonoma

Logs
No response

Can you share the link the example you are referring to?

I mean the example code provided but just change the mode to TRANSIT
https://github.com/visgl/react-google-maps/tree/main/examples/directions

I did that, and this is what it looks like for me:

So I can't see the problem you’re seeing there. You could check with the devtools to see if there is any CSS from the site interfering with those info-windows. However, besides that there isn't a lot we can do about it, since all of the rendering is happening inside the DirectionsRenderer.\
Maybe we need to open an issue in the Google Maps Issue Tracker about this.

I am using it in Next js. It seems there's an image that's styled with absolute and top: 19px. If I remove the top: 19px it looks right.
<img alt="" src="https://maps.gstatic.com/mapfiles/tiph.png" draggable="false" style="user-select: none; border: 0px; padding: 0px; margin: 0px; position: absolute; right: -8px; top: 19px; width: 15px; height: 9px;" class="">


Support Dependent Instances

Allow for FrameworkInstances to reference other FrameworkInstances to satisfy a dependency.   For example Kafka needs an instance of Zookeeper if the zookeeper.url is not provided

Not sure there is any request on this from anyone - closing. We can reopen :)


apt repository issue?

Trying to install the latest release, and getting the following:
Err:7 http://repo.yandex.ru/clickhouse/xenial stable/main amd64 clickhouse-client amd64 1.1.54362
404  Not Found [IP: <IP_ADDRESS> 80]
Err:8 http://repo.yandex.ru/clickhouse/xenial stable/main amd64 clickhouse-server-base amd64 1.1.54362
404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://repo.yandex.ru/clickhouse/xenial/pool/main/c/clickhouse/clickhouse-server-common_1.1.54362_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://repo.yandex.ru/clickhouse/xenial/pool/main/c/clickhouse/clickhouse-client_1.1.54362_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://repo.yandex.ru/clickhouse/xenial/pool/main/c/clickhouse/clickhouse-server-base_1.1.54362_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]

the same issue

any luck on this?

Yes actually, I removed all clickhouse references from /etc/apt/sources.list and deleted the clickhouse.list file in /etc/apt/sources.list.d
Then I re-added the repos, updated, and upgraded successfully

What service provider do you use? I'm trying to use DigitalOcean and no luck on different 14.04/16.04 droplets.

Fixed. They've changed the url to:
deb http://repo.yandex.ru/clickhouse/deb/stable/ main/
Not it works. Thanks @rpfennin!


Reorder entries / group

It would be great to have the possibility to rearrange the order of the entries
And also, to create some groups

I think re ordering sounds like a great idea and is definetly in the scope of what I can add.
Groups are also a great idea but due to the use of credential locker this feature is planned for the pro edition of Protecc which uses encrypted database that can support groups.
Ofcourse if anyone wants groups feel free to open a pr and I will help in integrating it


Not able to login

Thanks for this python package.
I was wondering if someone can tell me what I'm doing wrong.
from ejtraderCT import Ctrader
import time
import logging

logging.getLogger().setLevel(logging.INFO)

SERVER="demo1.p.ctrader.com"
LOGIN="demo.purpletradingprop.12346679"
PASSWORD="XXX"
CURRENCY="USD"

api = Ctrader(server=SERVER, account=LOGIN, password=PASSWORD, currency=CURRENCY, debug=True)

checkConnection = api.isconnected()
print("Is Connected?: ", checkConnection)
time.sleep(1)

quote = api.quote()
print(quote)

My output:
INFO:root:Market is Close or Disconnected 'NoneType' object is not callable
INFO:root:Market is Close or Logged out 'NoneType' object is not callable

Thanks for the help.
I tested also Python 3.9 but I have the same problem

Thanks for this python package. I was wondering if someone can tell me what I'm doing wrong.
from ejtraderCT import Ctrader
import time
import logging

logging.getLogger().setLevel(logging.INFO)

SERVER="demo1.p.ctrader.com"
LOGIN="demo.purpletradingprop.12346679"
PASSWORD="XXX"
CURRENCY="USD"

api = Ctrader(server=SERVER, account=LOGIN, password=PASSWORD, currency=CURRENCY, debug=True)

checkConnection = api.isconnected()
print("Is Connected?: ", checkConnection)
time.sleep(1)

quote = api.quote()
print(quote)

My output:
INFO:root:Market is Close or Disconnected 'NoneType' object is not callable
INFO:root:Market is Close or Logged out 'NoneType' object is not callable

Thanks for the help.
I tested also Python 3.9 but I have the same problem

I suggest you try testing with an IC Markets account. Sometimes, some forex brokers do not allow access to a demo account through FIX API. Check with your broker or conduct the test on IC Markets. Up until the date I used it, it worked normally on a demo account.

Hi! I am having that issue also trying to connect to my live ctrader account.
Host name: live-uk-eqx-01.p.ctrader.com
(Current IP address <IP_ADDRESS> can be changed without notice)
Port: 5212 (SSL), 5202 (Plain text).
Password: (a/c 2218754 password)
SenderCompID: live2.icmarkets.2218754
TargetCompID: cServer
SenderSubID: TRADE
Added some logs..
DEBUG:root:Starting application
DEBUG:root:Environment variables - HOST_NAME: live-uk-eqx-01.p.ctrader.com, SENDER_COMPID: live2.icmarkets.2218754, PASSWORD: --------------
DEBUG:root:SEND >>> 8=FIX.4.4|9=135|35=A|49=live2.icmarkets.2218754|50=QUOTE|56=CSERVER|57=QUOTE|34=1|52=20241230-12:38:01|98=0|108=30|553=2218754|554=aku_xzm6cqf8TPF@upw|10=160|
DEBUG:root:SEND >>> 8=FIX.4.4|9=135|35=A|49=live2.icmarkets.2218754|50=TRADE|56=CSERVER|57=TRADE|34=1|52=20241230-12:38:01|98=0|108=30|553=2218754|554=aku_xzm6cqf8TPF@upw|10=100|
DEBUG:root:SEND >>> 8=FIX.4.4|9=99|35=x|49=live2.icmarkets.2218754|50=QUOTE|56=CSERVER|57=QUOTE|34=2|52=20241230-12:38:01|320=1|559=0|10=092|
DEBUG:root:RECV <<< 8=FIX.4.4|9=111|35=5|34=1|49=CSERVER|50=TRADE|52=20241230-12:38:02.916|56=live2.icmarkets.2218754|57=TRADE|58=RET_INVALID_DATA|10=044|
DEBUG:root:RECV <<< 8=FIX.4.4|9=111|35=5|34=1|49=CSERVER|50=QUOTE|52=20241230-12:38:02.916|56=live2.icmarkets.2218754|57=QUOTE|58=RET_INVALID_DATA|10=104|
INFO:root:Market is Close or Logged out 'NoneType' object is not callable
INFO:root:Market is Close or Disconnected 'NoneType' object is not callable

Found the solution. Hope it is useful to you guys.
https://community.ctrader.com/forum/fix-api/23354/


fix(app): add resolve button for location conflicts with modules

closes RQA-2017
Overview
This PR updates the update_deck button in the app for a module location conflict to say "resolve". And then for the ODD, tweaks some things to add a button that says "resolve". See the ticket's image for details and refer to Rob's comment which is linked in the ticket.
Test Plan
Test on the desktop app and the odd, use a protocol with a module and a fixture in the module slot.
Changelog

change text to resolve
refactor the ODD components a bit to adjust the spacing to allow for the button next to the location conflict text and wire up the button instead of using the icon

Review requests
see test plan
Risk assessment
low

we need to be sure the module row columns stay aligned for all modules, otherwise looks good!


Open ebs dev doc pr include git branch create delete commands #294

Added Create Branch and Delete Branch commands in process doc
Fixes #294

LGTM


EOF detection in scanner does not work anymore

Scanner got a total overhaul because its eof handling was not working with comments anymore.


Uncaught TypeError: Cannot read property 'valid' of undefined

https://github.com/davidkpiano/react-redux-form/blob/master/src/components/form-component.js#L93-L94
I'm getting this error when I try to submit my form. Code below.
    <Form model="track" onSubmit={track => submit(track)}>
      <Field model="track.name">
        <input />
      </Field>

      <input type="submit" />
    </Form>

This is probably because you don't have a form reducer, although I fixed that check I believe... are you on the latest version?

You're totally right - and I forgot to come back and post that. It didn't used to be a requirement to use the form reducer, correct? And now it is?

No, it's not a requirement. RRF should check if a form state exists. If it doesn't, that's totally fine -- it'll just calculate the validity from the <Form> validators before submitting.
Can you see if that works with the latest version?

Sure, I'll check it out when I get a chance and report back.

I'm still seeing this issue if the form does not have any custom validators either. Is this a valid use-case for RRF?

I'm still seeing this issue if the form does not have any custom validators either. Is this a valid use-case for RRF?

Yes, should be, RRF handles more than just validation. Can you share the code that can demonstrate the issue?

I'll try to work up a minimal case.

@ffxsam and @bkudria, this has been recently fixed in<EMAIL_ADDRESS>:smile:
The form reducer is not required. See this issue for more info: https://github.com/davidkpiano/react-redux-form/issues/139


Throw error if database metadata has changed

PR Overview

PR Checklist

[ ] Merge the most recent version of the branch you are merging into (probably dev).
[ ] All CI checks are passing. Run tests locally to debug failures
[ ] Make sure you've included good docstrings.
[ ] For major data coverage & analysis changes, run data validation tests
[ ] Include unit tests for new functions and classes.
[ ] Defensive data quality/sanity checks in analyses & data processing functions.
[ ] Update the release notes and reference reference the PR and related issues.
[ ] Do your own explanatory review of the PR to help the reviewer understand what's going on and identify issues preemptively.

Seemed like this might have run into CI hiccups around the sqlite file locations - so I rebased onto the settings fix branch (see #2424 ).

I approve (can't approve my own PR)! @jdangerx can we merge this thing in?


Multiple indices for a single model

A very common use case is to store different languages for translatable models in different indices (cf https://www.elastic.co/guide/en/elasticsearch/guide/current/one-lang-docs.html).
The main problem is to choose between a new class EsMultiIndexable(?) with the corresponding manager, or a non backward compatible change of the api of EsIndexable (index -> indices, etc).

I think EsMultiIndexable way is better. This will not break the already existing functionality and extend the new feature.

How is the process of development? Can I do anything to help?

Hi, the development is on pause right now on my side, i will get back to it sometime during the summer but help is always very appreciated !
A few people talked about the python3 compatibility but nobody pushed anything and i think it should be the main priority alongside the django 1.9 compatibility (but this one is only a matter of doing some integration testing with real applications).
If you are interested in this issue in particular you can just implement a proof of concept and we will talk about it. I have to admit though that I'm a little bit more inclined to go with the non backward compatible change, this package is not yet released for this exact reason - some things are not yet set in stone and i want the API to be as simple and pythonic as possible, if we had another layer it will make everything more complex, including the documentation.
If you want something a little bit more manageable i think the elasticsearch2.0 (#28) support should be easier to start with, or you could take a look at #32 which is almost done but requires a bit of hacking.


#726 follow-up

Thanks for merging #726 in. I checked the result (on Windows) and realized I forgot to change the font family in main.css 😅.

Ok! Yeah I was surprised no css changes were needed :P


fix: update openapi.yaml

updates the openapi.yaml

@tmberthold do you have a short explanation, where these changes may come from?

https://github.com/International-Data-Spaces-Association/DataspaceConnector/commit/40d3899833db367c4e748cee2a64d068cd7702e7


xpub key generated by Electrum doesn't work

I am using Electrum 4.4.5 and 287d30d0d2bd754743839d342c2cab65919c9ad1
I am trying to use the master public key from the wallet I created in Electrum as "xpub" in the config, but I get this error:
[INFO] Initialised Flask with secret key: ...
[INFO] Deriving addresses for first time from xpub: zpub...
[WARNING] YOU MUST CHECK THIS MATCHES THE FIRST ADDRESS IN YOUR WALLET:
Traceback (most recent call last):
  File "satsale.py", line 415, in <module>
    bitcoin_node = xpub.xpub(method)
  File "node\xpub.py", line 42, in __init__
    logging.warn(self.get_address_at_index(next_n))
  File "node\xpub.py", line 108, in get_address_at_index
    bip84_acc = Bip84.FromExtendedKey(self.config["xpub"],
  File "venv\lib\site-packages\bip_utils\bip\bip84\bip84.py", line 99, in FromExtendedKey
    return cls._FromExtendedKey(ex_key_str, Bip84ConfGetter.GetConfig(coin_type))
  File "venv\lib\site-packages\bip_utils\bip\bip44_base\bip44_base.py", line 114, in _FromExtendedKey
    return cls(bip32_cls.FromExtendedKey(ex_key_str, coin_conf.KeyNetVersions()),
  File "venv\lib\site-packages\bip_utils\bip\bip44_base\bip44_base.py", line 194, in __init__
    raise Bip44DepthError(
bip_utils.bip.bip44_base.bip44_base_ex.Bip44DepthError: Depth of the public-only Bip object (<bip_utils.bip.bip32.bip32_key_data.Bip32Depth object at 0x000001FDC270B850>) is below account level or beyond address index level

Was able to reproduce with freshly generated Electrum wallet, will look into it.

Ohh, that's because Electrum uses custom key derivation path, not BIP84.
It looks there is some Electrum support in used bip-utils package for handling xpubs, but that needs to be implemented in SatSale side too.


sandbox example

Hi!
To showcase this cool plugin, maybe you would be interested in making an addition as demo code @ http://sandbox.dereuromark.de/sandbox/plugin-examples ?
This way people can see first hand and hands on what this plugin is capable of etc.

Hi Mark,
thank you for your great suggestion. Some cool features of the plugin are mostly hidden in the code right now and would be most easily shown by example.
I will get back to this after my 3w vacation.


AKS backup related update

Signoff for AKS Backup related document udpates

@AbhishekMallick-MS
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Feature: Add "Open with" to context menu when multiple files are selected

What's the Problem?
I would love to be able to select multiple jpg files, right click, and open all those files with say photoshop.
As I remember this works in macos but the feature is lacking in windows (unless i'm missing a settings somewhere)
Solution/Idea
Is this something that could be added to files?
Alternatives
currently, selecting multiple images and right clicking to open with, only opens the file where the right click was initiated.
Priorities
This proposal will allow end users to accomplish "open with" for multiple items at once
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.434
Windows Version
windows 11
Comments
No response

Thank you for your feedback, I added this to the todo list.

This is already a feature afaik, albeit quite buggy

@hecksmosis what types of issues? It might be best to track those separately.

When selecting multiple files sometimes it only acts on the first one


banAdd event

Featuring Type
Handler
So, what is it about?
I want to get the ID of the banning user in the banAdd event but it is not possible now. If you add me, I want to ban protection system.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

i have no idea if you mean the user who banned or the user who got banned but u can use the following for the result on banAdd event code.


User authentication for doc editing and creation on public layer.

Now if a doc is on the public layer or layers start with "public_", anybody can create this doc without going through submission db, but people without admin privilege can only edit docs created by themselves. Editing other peoples document will still going through the submission_db flow.
I realize there may be some security concern, therefore, this pull request is just an experiment and we will discuss this issue with DEV team, before merging and solving this issue.

@ahayes It looks to me like the security issue is checking the owner information on the submitted doc rather then the current doc. Does that look right to you? Would switching to getting owner info from current doc make this PR acceptable?


[Feat]: improving contact us page✨

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
i want to improve the uI of the contact us page and also add local storage to store user information.
@Tejashri-Taral can you please assign me this task.
Use Case

Benefits
No response
Priority
High
Agreements

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC contributor
[X] I'm a Hacktoberfest contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Please provide clear description of the changes you are going to make and which part/section will you improve.

ill make the adress cards smaller , the map will be little larger for Ui , ill improve the forms and add storage features for it.
basically ill be following a grid approach.

Proceed!


az dcos browse returning NoneType found error

Description
When running the command to create the tunnel:
az acs dcos browse -g containers -n containerservice-containers
I'm getting the following error:

coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\azure\cli\main.py", line 36, in main
cmd_result = APPLICATION.execute(args)
File "C:\Python27\lib\site-packages\azure\cli\core\application.py", line 203, in execute
result = expanded_arg.func(params)
File "C:\Python27\lib\site-packages\azure\cli\core\commands_init_.py", line 278, in call
return self.handler(*args, **kwargs)
File "C:\Python27\lib\site-packages\azure\cli\core\commands_init_.py", line 476, in execute_command
reraise(*sys.exc_info())
File "C:\Python27\lib\site-packages\azure\cli\core\commands_init.py", line 450, in _execute_command
result = op(client, **kwargs) if client else op(**kwargs)
File "C:\Python27\lib\site-packages\azure\cli\command_modules\acs\custom.py", line 183, in dcos_browse
_dcos_browse_internal(acs_info, disable_browser, ssh_key_file)
File "C:\Python27\lib\site-packages\azure\cli\command_modules\acs\custom.py", line 187, in _dcos_browse_internal
if not os.path.isfile(ssh_key_file):
File "C:\Python27\lib\genericpath.py", line 37, in isfile
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Environment summary
Install Method: pip install
CLI Version: 2.0.5 (don't know why I can't choose an older version with pip)
OS Version: Windows 10 Pro
Shell Type: Powershell

Christian, try providing the --ssh-key-file argument, which should include the full path to the SSH private key associated with your cluster.

I'll give it a try this weekend, I just needed to include the key with Pageant and it was working.

@johnsta I just tried putting the --ssh-key-file argument and now I get this error:

Proxy running on <IP_ADDRESS>:52071
Press CTRL+C to close the tunnel...
2017-05-22 09:24:41,393| ERROR   | Could not open connection to gateway
Could not establish session to SSH gateway
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\main.py", line 36, in main
cmd_result = APPLICATION.execute(args)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\application.py", line 203, in execute
result = expanded_arg.func(params)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 278, in call
return self.handler(*args, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 473, in execute_c
ommand
reraise(*sys.exc_info())
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\six.py", line 686, in reraise
raise value
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init.py", line 450, in _execute_c
ommand
result = op(client, **kwargs) if client else op(**kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\acs\custom.py", line 183, in dcos_b
rowse
_dcos_browse_internal(acs_info, disable_browser, ssh_key_file)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\acs\custom.py", line 219, in dcos
browse_internal
local_port=local_port)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\acs\acs_client.py", line 189, in cr
eate_tunnel
local_bind_address=('<IP_ADDRESS>', local_port)):
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\sshtunnel.py", line 1482, in enter
self.start()
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\sshtunnel.py", line 1224, in start
reason='Could not establish session to SSH gateway')
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\sshtunnel.py", line 1036, in _raise
raise exception(reason)
sshtunnel.BaseSSHTunnelForwarderError: Could not establish session to SSH gateway

I even disabled the firewall but no success

Ok, it worked but I needed to add the key with Pageant. I ran the same command with --debug and saw that it said "Authentication (publickey) failed" so I thought it wasn't putting the correct username then I added the key with Pageant and it worked.

@tjprescott this issue can be closed now.


mstats_basic.py - mannwhitneyu [scipy/scipy/stats/mstats_basic.py]

I think that there is a strange behavior in Mann Whitney U-test implementation.
According to the wiki and other sources, the lowest U-value should be used to consult significance tables. The same value should be returned by the procedure.
However, in current implementation the returned U-value depends on the order of sample sizes in the procedure call and returns the test variable (U) for the first sample size (x).
May be it is better to return the tuple list of U-values, or the maximum U-value which always the same and equals to len(x)*len(y)

There is an effort on cleaning up/enhancing Mann-Whitney U test, https://github.com/scipy/scipy/pull/4933
Unfortunately it stalled and is up for grabs for someone to finish it up.

Also, I think stats version should be worked on first, and mstats version should follow. Is it something you'd be interested in working on, @mikoff ?

@ev-br
Yep, i would be happy to participate. Should i try to take #4993?

Both gh-4933 and gh-4993 (now that you mention it) look stalled, so working on either of them would be welcome I think. We generally do not formally assign issues to people, so you're welcome to pick either of them.
I suggest grabbing a branch from github, rebasing on master, and then working off the rebased one. For gh-4933 I suppose it's easier to start with https://github.com/ev-br/scipy/tree/pr/4933.The only thing we require is that the original author information is preserved (IOW, if you squash the commits, make sure the original authors are still listed). If you get stuck, ping us. It's OK to submit a WIP pull request, too.

@ev-br @chrisb83 @WarrenWeckesser
Regarding the test statistic returned, gh-4933 maintained the behavior of stats.mannwhitneyu: it is always the statistic associated with the first sample. This is now documented:
        statistic : float
            The Mann-Whitney U statistic corresponding with sample `x`. See
            Notes for the test statistic corresponding with sample `y`.

The notes explain how to calculate the other statistic.
This makes perfect sense to me. This matches the behavior of R's wilcox.test, and there is plenty of precedent in stats.
For instance, stats.ttest_ind returns the statistic associated with x, not the absolute value of the t-statistic. As
stats.ttest_ind(x, y).statistic == -stats.ttest_ind(y, x).statistic

so
stats.mannwhitneyu(x, y).statistic == len(x)*len(y)-stats.mannwhitneyu(y, x).statistic

From that perspective, the real issue is the unusual behavior of mstats.mannwhitneyu, which always returns the minimum statistic. This is addressed in gh-14106.


Update package.json

Added missing dependency. Without this, if using pnpm the start script wouldn't work

Description

Changes/Tasks

[ ] Changed code

Motivation and Context

Screenshots (if appropriate):

Types of changes

[ ] Refactoring/add tests (refactoring or adding test which isn't a fix or add a feature)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] I have updated the documentation accordingly
[ ] I have updated the CHANGELOG with a summary of my changes
[x] My changes have tests around them

yikes thanks


How do I set English as default?

For some reason when I send a request to the model I get response in random language, Korean, Mandarin etc and only sometimes in English. Do you know how to set English as default? My model is /ggml-vic13b-q5_1.bin
curl -X 'POST'   'http://<IP_ADDRESS>:3000/v1/chat/completions'   -H 'accept: application/json'   -H 'Content-Type: application/json'   -d '{
"model": "string",
"messages": [
{
"role": "system",
"content": "Hello"
}, {"role":"user", "content":"Hi"}
],
"temperature": 1,
"max_tokens":50,
"stream": false
}'

I think this is more related to the model and not LLMatic itself, but I'd try to lower the temperature

After some playing with the model this seems to work well with Vicunia 13b model (https://huggingface.co/vicuna/ggml-vicuna-13b-1.1/tree/main) :
curl -X 'POST'
'http://<IP_ADDRESS>:3000/v1/chat/completions'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"model": "string",
"messages": [
{
"role": "system",
"content": "You are assistant ",
"name": "string"
},
{
"role": "user",
"content": "Tell me about yourself",
"name": "string"
}
],
"temperature": 1,
"max_tokens": 2000,
"stream": false
}
'
I do not know why but I need to leave a space at the end of "You are assistant ". If I do not, it returns nothing. I will try different Lama models perhaps it is just vicunia doing funny things. Thank you for your help! Do you know by any chance how I can use  GPU with the API?

this is my llmatic.config.json file: {
"enableLogging": false,
"nParts": 1,
"nGpuLayers": 0,
"f16Kv": false,
"logitsAll": false,
"vocabOnly": false,
"seed": 0,
"useMlock": true,
"embedding": true,
"useMmap": true,
"nCtx": 4096,
"nThreads": 16,
"nTokPredict": 32768,
"topK": 40,
"topP": 0.95,
"temp": 0.5,
"repeatPenalty": 1.1,
"modelPath": "./models/ggml-vic13b-q5_1.bin"
}

Under the hood, LLMatic default adapter uses llama-node which offers node-bindings for llama.cpp. You might need to create a custom adapter and compile llama-node to make GPU inference work:
https://llama-node.vercel.app/docs/cuda
You might also need to set the nGpuLayers parameter. Please have a look at llama.cpp docs for more information:
https://github.com/ggerganov/llama.cpp
Since this issue is not related to LLMatic itself, I'm going to close it for now. Please feel free to reopen if you run into an issue with LLMatic itself.


Future Year

Hi, I've tried to amend the initial parameters to enables the time period to end 31 March 2020 (as the end of this current fiscal year) but I just can't get it to work - I'm probably doing it wrongly as I'm an utter novice.
So, can someone be really kind and let me have the exact text to paste into the query to achieve this. My table currently ends in December 2019, so three month's short for my needs!
Thanks! and fingers crossed...

You should change the setting CalendarRange according to your needs. Probably you need this:
VAR CalendarRange = "FiscalGregorian"
You can find the possible values in the comments included in the DAX code.


Difference between file farsi and file persian?

Hi, AFAIK Farsi and Persian refer to the same language, so what's the difference between file farsi and file persian, or should the two files be merged?

I'm not certain the what difference is. I know there are two variants of farsi/persian (Afghanistan and Iran variants), but I don't know enough about the languages to merge them intelligently. I'd be happy to accept a pull request if you'd like to contribute improvements.

how to include many languages in stopwords keyword..please reply I am doing a project I need to submit it soon


Custom Account Support

When developing an app, we use our own subclass for GigyaAccountProtocol.
In the library code, I see only the use of a default account.
https://github.com/colorfy-software/react-native-gigya-sdk/blob/main/ios/GigyaSdk.swift#L100
Is it possible to use the library and pass its own subtype of account? Is it possible to do it somehow only from react native side?
Gigya.sharedInstance(CustomAccount.self)

Hey @Yurssoft! This is not a feature we have planned in our roadmap no. However, feel free to submit a PR and it'll be my pleasure to add this functionality to the library 👍


Show object dimensions

It would be nice to be able to see the XYZ size of a part; this might be doable more quickly in three.js after the model's loaded, but when we start doing actual model analysis Ruby-side, we could do it there.

We now have model loading using mittsu, so this can be done. There's actually a #bounding_box method already written, it just needs exposing through the UI.


lib/trivial: add on

Description of changes
Inspired by on from haskell: https://hackage.haskell.org/package/base-<IP_ADDRESS>/docs/Data-Function.html#v:on
on applies a binary function to the results of applying a unary function to two arguments
Type: on :: (b -> b -> c) -> (a -> b) -> a -> a -> c
Example:
  on (x: y: x + y) toString 4 2
  => "42"

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1914

What are the concrete use cases for this function, in Nixpkgs and third-party repos? I'm worried that using such a function would make it harder to read and understand Nix code that could work fine without it too.

I added an example, here are a few more examples that can be simplified up using lib.on:
https://github.com/NixOS/nixpkgs/blob/c707238dc262923da5a53a5a11914117caac07a2/nixos/modules/services/mail/postgrey.nix#L10
https://github.com/NixOS/nixpkgs/blob/c707238dc262923da5a53a5a11914117caac07a2/pkgs/development/tools/poetry2nix/poetry2nix/pep508.nix#L166-L169

@infinisil :)

Hmm gotta say, I'm not convinced we need this. It only allows avoiding a single duplication of an identifier, but it's in turn much harder to read.


Login Screen > Supporters

Summary: At the login screen the supporters modal should have logos in the following order:

Libro
Web Alchemists and Mika Software on the same line
Viva Canada (I will provide a website for this later)

These should each have working website links.

what's the website for viva canada? I can't seem to find it

Ok, Viva Canada site is not live yet.