How can i update single row ?

updateItem: function(item) {
 function(result, event){
if (event.status) {
 // Here i want to update row data with result data
}
}
}

I didn't get the question. Could you provide more details and entire jsGrid config?

On update i'm calling my back-end method, I have some logic into the back-end there were rowdata are change on update and updated date return as a result. So here i want to update JS Grid row with updated row data.. result is my Updated RowData.

If I got your question correctly, the answer is in docs of controller.updateItem http://js-grid.com/docs/#updateitemitem-promiseupdateditem

Method should return updatedItem or jQuery promise that will be resolved with updatedItem. If no item is returned, updating item will be used as updated item.

So you need to resolve the promise with the updated item returned by server script like following:
    updateItem: function(item) {
        var d = $.Deferred();
        $.ajax({
            url: "url.to.update.item",
            type: "POST",
            data: item
        }).done(function(updatedItem) {
            d.resolve(
        });
        return d.promise();
    }


feat(rpc-client): WIP - post poll execution in PollerBuilder

Motivation
Ref https://github.com/alloy-rs/alloy/issues/325

Solution
WIP
Adds a provision to call another RPC method after a success response is received from a polled request.

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

Closing this for now. Will pick up once again after rethinking the stream approach such that the type Item of the stream is the return type of the post-poll RPC request.


Add support for the macOS and iOS platforms to atw_vulkan.c via MoltenVK.

Per discussion with JP, I'm contributing this code to add support for the macOS and iOS platforms to atw_vulkan.c via MoltenVK.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Idea: Parse Required Fields and Min / Max ranges into the Description Field

Great package! I had an idea to improve the end-user experience, use the description column/field to describe whether the field is required, and any other pertinent information from the rule, ie: enums, min/max etc...
I could assist a bit if this would be accepted as PR?

This sounds like a great idea. Feel free to submit it as a PR and either myself and/or @tomirons will accept, review and merge it.

Sounds good, work is a bit crazy right now but I will get started soon.

Closed as I believe this was resolved via #61.


Changelog + Version for 0.2.0 release

@v0dro @zverok Would suggest doing a 0.2.0 release given the bug fixes and new features that have gone in since the last one.

Thanks, it was a lot of work for you!
I was hoping 1.0 would come quick enough for skipping the release for lowest versions, but it is probably a necessary step. Will do this week (and merge current PR then).

@zverok gentle reminder :)

Thanks! I've merged the changelog, will review and release on Tuesday.


Add Behavioral tests to ok

We should have some kind of visual testing for client-side issues so that any future rewrite doesn't break things. In particular, the SyntaxError wasn't being handled properly until v1.3.3.

See #9 for progress on test coverage.


VSCode extension

This looks really promising. I was wondering if you currently use VS Code as your main IDE. I've been really wanting to handle all development within VSCode directly without opening up the web browser to type in a command and something like this as an extension would be very cool.
Has this been a use case you might've been thinking of when developing?

Hello, yes I use VS Code as my main IDE. You can run locally this class with nodejs, which is indeed the main usage I thought of (I don't think that it would run in a browser since it uses node-fetch library), you can run nodejs in a regular cmd termina (also the one provided by visual studio).
If you are thinking of an intergration with discord you can use discodjs library. If you only want to run the online game-console from your laptop simply run node main.js in the console (after having installed npm, node and pterosocket). I shall add an example script for simple console-strem soon.

Oh, thank you for uploading that so quickly. I was able to get it working in a cmd window using a conda environment with node installed, cloned the repo, and installed from local (although I had to install ws before it would work)
So far it works amazingly well and is such a great thing to have in VS Code. Thank you for making this
I noticed a bug I think, unsure. Sometimes the title of the window (couldn't figure out the title yet in VS Code, so I'm using Windows Terminal for testing that) doesn't update for a while. I would open up two tabs of the example remoteConsole.js and after a while, when I would send a command through one tab, the title would update on the other.
Is it possible to have a text box underneath the console output like the Pterodactyl Panel? I've noticed that when there's a bunch of errors flying through, it hides any input I type in. If the console updates, for a brief second the line appears on the "input" bottom line before it's moved up. If this happens fast, it blocks the visibility of that line entirely.

Hi, I'm not sure to understand what the issue is, what do you mean by "title of the window"? Could you perhaps send an image? I have tested the example with 2 windows shells and it would seem to work fine. But yea, there wasn't much traffic going through.
As for the overlap issue, I understand that it can be a problem if there is much traffic. The example I added is of course a very basic one. As far as I know you have several ways to fix it: you can change the output source, for example sending the logs to file, and leave the console free for input alone, or you could select the pterodactyle-output that you wanna show, so to leave the relevan info alone (and perhaps still saving the rest to file).
socket.on('console_output', (data)=>{
    if (!commandSent)
        if (isRelevant(data))
            console.log(data);
    else
        commandSent = false;
});

Or you can simply try to find some tip online on consoles management with node, which is not the very focus of this library, which rather focuses on implementing the connection protocol and leaving the user managing the events so as to be able to face a wider variety of cases.

The title of the tab will only change if it's not the current one selected. I'm not sure if that might be a Windows Terminal specific thing but with two tabs open and sending commands on the active one, the title of the "non-active" changes only.
I noticed another visual bug as well, wonder if I can maybe fix it, where if you type something in the bottom bar and the console updates, the text that you've typed will disappear, but still be in the buffer.
I do like that 2 console idea, I'll give it a try if I can't figure out maybe the logging method, since logging/tailing it to a tab could be cool if an extension exists for VSCode to show stuff like that.
Could stuff match dynamically? I often get errors like this in the console but it's not always the same, usually, it'll have keywords like stack traceback or Lua error
https://user-images.githubusercontent.com/6313132/168932678-21db4ccc-c0cf-43dc-8f31-d9fb9f40c366.mp4

Thank you for helping me with this. I've been using this nonstop now and it has worked amazingly well.


deno: fix sharedLibrary value usage

Motivation for this change
stdenv.hostPlatform.extensions.sharedLibrary value always contains a dot, which means find command was trying to match libswc_common..(so|dylib)
#151076
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)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

cc

@06kellyjac maybe something else to add?
@fpletz merged previous pr, additional testing/suggestions?

Yeah if it works on all platforms then nice.
I tend to avoid -delete since its not in all versions of find. I guess its fine in nix since we use gnu find everywhere

https://nixos.org/manual/nixpkgs/stable/#sec-tools-of-stdenv, so it's fine yeah.


Sometimes the chart doesn't fit the parent element's size

I'm having a problem adding a chart into a fluid div. It doesn't fit the size of the chart's parent div, and it overflows it instead, like this:

If I keep refreshing the page, eventually it will work, showing the chart correctly:

I later discovered that if I resized the browser, the chart will then be displayed correctly, regardless of the resolution I choose, so the problem only occurs on the first load. Another test I did was to remove the chartConfig object, passing an empty object instead, but it didn't help as well.
I'm using bootrstrap, with a markup similar to this:
<div class="col-md-7">
  <highchart class="chart" config="ctrl.chartConfig"></highchart>
</div>

Also, I'm using latest Angular, Highstock (with standalone adapter) and Highcharts-ng. I tried switching to Highcharts, but no help.
Could this be a bug?

I managed to fix this by broadcasting the reflow event. But despite this fact, I think this could be handled automatically by the library. Calling an event this way seemed a little hacky to me. What do you think?

Same as #211?

I tried this #211 but it didnt work.

I've got the same problem with charts within a bootstrap container initially sized to full window width.
Initially:

After window resizing:

Broadcasting the reflow event as suggested in #211 didn't work, either. Probably the container's computed width is not yet set when the chart is rendered or it's not transferred correctly.
@pablojim Barry, any sustainable solution to this problem?

Could you make a fiddle?

Sure, i'll notify you when  ready

Am 21.04.2015 um 12:27 schrieb Barry Fitzgerald<EMAIL_ADDRESS>Could you make a fiddle?
—
Reply to this email directly or view it on GitHub.

@pablojim Plunkr demonstrating the issue is ready under http://plnkr.co/edit/OJWhXyUIeyNnYD0qdq0A

Not a complete fix but... http://plnkr.co/edit/PwkHRJtsMXlxG9UMXJol?p=preview
See: http://stackoverflow.com/questions/17301572/angularjs-evalasync-vs-timeout and http://stackoverflow.com/questions/17225106/anyway-to-trigger-a-method-when-angular-is-done-adding-scope-updates-to-the-dom/17239084#17239084
So maybe we need a callback from the directive to execute after the DOM changes are made?
Pull requests accepted!

Great, that worked. Actually, I tried that before, but didn't realize that I would have to inject the dependency for $timeout (didn't look twice and thought it's a plain Javascript timeout).
Thx a lot for your prompt reply and the fix.

No problem. Could you add an entry to the faq in the main readme?

Done

I'm using $ionicSideMenuDelegate (Ionic framework) and by resizing the window, the chart width is not correct. I made a codepen: http://codepen.io/anon/pen/OVPRrx
How to fix that?

I was using old version of this but when i updated with new version it solved some of my issues but now    i am not able to see border around series name. anyone have idea how to fix that.
thanks

HI,
I had a smiliar issue but providing bootstrap class to higchart tag solved the issue.

Hello everybody,
I'm using the reflow fix but this causes the initial series' animation to be skipped or stopped, how can I have it working after reflowing?

Should we open a new issue for the above question about how to get the initial animation back?  I'd like to know the answer too.

i'm using ng-if, and when the ng-if goes true to show the chart, it gets displayed with a wrong size, i need to resize window to make it behave as intended. It would be nice to have that handled somehow...

I have fixed this by making the chart data available a bit after the page is loaded. This way the containers get setup first. Then the chart is loaded, this way the proper size is already available to highCharts and everything works as expected (including animations)
$timeout(function() {
    $scope.dashboardData = dashboardData;
}, 100);

In my template i simple use <highchart config="dashboardData" ng-if="dashboardData"></highchart> to prevent loading the highcharts element before data is available.

This did the trick for me instead of using $timeout. I guess it all depends on when you display and render your data
 func: function (chart) {
     $scope.$evalAsync(function () {
            chart.reflow();
       });
  }

@mendaomn : Even I am facing the same issue. Initially when I use reflow the chart does not animate. For all the subsequent times I can see the animation.
Did you get any solution for this ?

As florisb mentioned the solution worked me... thanks guys..

Is there any option I can use to stop the chart from redrawing when I update the chart? In my case, I want to dynamically update the title of chart when exporting. The whole chart gets redrawn every time i change the chart title.

see #564


Token Creation should ask expiry time and directly generate secret for user.

User has to do another manual step to create token, which is not a good experience.
When I firstly created the token, it showed me "Not Generated" and I was thinking it's still processing and waited for couple of minutes. I would prefer the token could be directly generated with user being asked to determine expiry time while creating the token. It could be the similar experience with AAD app registration and blob SAS.

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

ID: d9769320-10f9-bc69-5b34-ab15e18fead2
Version Independent ID: d58f4440-c1a2-6035-fe96-b02ce7dab4ea
Content: Permissions to repositories in Azure Container Registry - Azure Container Registry
Content Source: articles/container-registry/container-registry-repository-scoped-permissions.md
Service: container-registry
GitHub Login: @dlepow
Microsoft Alias: danlep

@sajayantony @SteveLasker

@lilx-ms
Thanks for the feedback! We are currently investigating and will get back on this.

@lilx-ms As this is mostly a suggestion, requesting you to open the issue at ACR GitHub site https://github.com/Azure/acr so that the PG team can check on this.

@lilx-MSFT, the upcoming release of Azure CLI will expose --expiration-in-days from az acr token create. This is also consistent with the existing command of az acr token credential regenerate
Hope this helps.


Issue in BulkInsertOrUpdateOrDelete

I am facing issue while using BulkInsertOrUpdateOrDelete operation of EFCore.BulkExtension.
While I am digging out your master branch code found that there should be one more OR condition of
operation.BulkInsertOrUpdateOrDelete in MergeTable Method otherwise your merge query always generate without the insert command.
Please find the link
https://github.com/borisdj/EFCore.BulkExtensions/blob/master/EFCore.BulkExtensions/SqlQueryBuilder.cs#L100
And one more thing I have a case where table has primary key and Identity column in Id and non-key column (Name,Class,DOB) .While, I use Id +Name as key for Update and Delete operation in BulkInsertOrUpdateOrDelete method. Therefore your sqlquerybuilder should generate the merge query i.e.
"MERGE Student bi
USING StudentTemp bo
ON bi.Id= bo.Id and bi.Name=bo.Name".
But the query generated by builder is different b'coz not detect the Identity column at merge operation.
Could you please provide me any example to handle the above case.
Thanks in advance.

You are correct about OR condition, I'll add that fix.
Regarding the second question if you want to Update by custom columns you have to add them into config, so in your case you should add both Id and Name columns:
var bulkConfig new BulkConfig
{
	UpdateByProperties = new List<string> { nameof(Student.Id), nameof(Student.Name) }
}

👍

Fix published, try latest NuGet.

Thanks Buddy for quick solution.
I think there are some issue in setting of identity column condition and retrive column info. inside code. You use MERGE SQL query for BulkInsertOrUpdateOrDelete operation which need to set Identity OFF.
I face this issue as discuss in above scenario of UpdateByProperty that contain both key{ID} and non-key columns{Name}.
List primaryKeys = tableInfo.PrimaryKeys.Select(k   => tableInfo.PropertyColumnNamesDict[k]).ToList();
//output : {ID,NAME}---Problem here   Id is primary key why Name here
List columnsNames = tableInfo.PropertyColumnNamesDict.Values.ToList();
//output:{ID,NAME,DOB}
List outputColumnsNames   = tableInfo.OutputPropertyColumnNamesDict.Values.ToList();
//output:{ID,NAME,DOB}
List outputColumnsNames   = tableInfo.OutputPropertyColumnNamesDict.Values.ToList();
//output:{ID,NAME,DOB}
List nonIdentityColumnsNames   = columnsNames.Where(a => !primaryKeys.Contains(a)).ToList();
//output:{DOB }—Problem here   column should be {NAME,DOB}
List insertColumnsNames = (tableInfo.HasIdentity && !keepIdentity) ? nonIdentityColumnsNames : columnsNames;
//output:{ID,NAME,DOB}—Problem here column should be {NAME,DOB}
One more tableInfo.HasIdentity is false where as its Identity in DB
Please have a look.

You are welcome.
Could you write Entity model of this table.
And one question, if you have Id that is PK then why just not do the Sync by that column?
Otherwise if Name is Unique then you could use that column only.
It is little unusual to combine PK with nonPK columns.
Is there a reason for using it together, what's your scenario.
Regarding the List primaryKeys in the code that variable is actually used to make MERGE BY Columns so it conatain either PK column or UpdateByColumns if they are set.
Maybe the name of variable could be changed to better describe its function.

There was a bug HasIdentity was not always being read.
I have made a fix and committed it but NuGet is not yet published.
Try the latest source.


Sticky Header

Hi,
requesting a sticky header feature where the scrolling only happens within the tbody

yes i'm looking for this too.

Can you open a feature request issue for it?

this does not work in example or running locally.

I mean the floating bar doe not work.


Parse objects array

Hey Can you tell me what I am doing wrong?
I use your library to parse my API data into models in my AngularJS app. I have simple model:
@JsonObject
export class Application {
  constructor(
    public id: string,
    public name?: string, // required with minimum 5 chracters
    @JsonProperty("package_name", String)
    public packageName?: string,
    @JsonProperty("version_name", String)
    public versionName?: string,
    @JsonProperty("version_code", String)
    public versionCode?: string,
    public os?: string,
    public status?: boolean,
    public token?: string
    ) { }
}

My response is:
[
  {
    "id": "333ff687-80e6-4e7f-bc4a-aba566b0c581",
    "name": "Satin - ios",
    "package_name": "com.xxx.ios.development",
    "version_name": "0.2.1_10",
    "version_code": "1.0",
    "os": "iOS",
    "status": 1,
    "token": "xxxxxxxx",
    "created_at": "2017-02-08T11:39:58.000Z",
    "updated_at": "2017-02-08T11:39:58.000Z"
  },
  {
    "id": "6a46894c-3f42-4444-a512-dabc8c1363f0",
    "name": "Satin",
    "package_name": "com.xxxx.android.staging",
    "version_name": "0.6",
    "version_code": "2",
    "os": "Android",
    "status": 1,
    "token": "xxxxxx",
    "created_at": "2017-02-08T11:36:50.000Z",
    "updated_at": "2017-02-08T11:36:50.000Z"
  },
  {
    "id": "b09dff43-76e4-429d-b4d1-280507691563",
    "name": "Satin - ios",
    "package_name": "com.xxxxxxx.ios",
    "version_name": "0.1.10_10",
    "version_code": "1.0",
    "os": "iOS",
    "status": 1,
    "token": "xxxxxx",
    "created_at": "2017-02-08T11:41:21.000Z",
    "updated_at": "2017-02-08T11:41:21.000Z"
  },
  {
    "id": "c69af5ce-fb13-4e04-9a16-4d3aedf7ce6e",
    "name": "Satin",
    "package_name": "com.xxxxx.android",
    "version_name": "1.0",
    "version_code": "1",
    "os": "Android",
    "status": 1,
    "token": "xxx",
    "created_at": "2017-02-08T11:38:40.000Z",
    "updated_at": "2017-02-08T14:14:59.000Z"
  }
]

I use simple fuction to parse that json into my Application model:
private extractData(res: Response): Application[] {
	let body = res.json();

	let applications: Application[];
        try {
            applications = JsonConvert.deserializeArray(body, Application);
        } catch (e) {
            console.log((<Error>e));
        }

        console.log(applications);

		return applications;
}

I got array of Application models but fields: packageName, versionName, versionCode are undefined

I am not really sure if it works that way. Did you try the longer alternative:
@JsonObject
export class Application {

  @JsonProperty("id", String)
  id: string = undefined;

  @JsonProperty("package_name", String)
  packageName: string = undefined,

  // etc...

  constructor(
    id: string,
    name?: string, // required with minimum 5 chracters
    packageName?: string,
    versionName?: string,
    versionCode?: string,
    os?: string,
    status?: boolean,
    token?: string
    ) {
      this.id = id;
      this.packageName = packageName
      // etc...
    }
}

Please let me know if that works or not, so I can look further into it.

Closing due to inactivity. Will reopen if really an issue.


Comparisons to make for Kern

Make comparisons using the Shiny Ap to address the questions that Katie poses below.
Describe these tests with rational in the methods section of the report as well as the results.

Since I was able to track irrigations this spring and we had the broken wells at Pixley I am especially interested in investigating irrigated vs not irrigated wetlands. We do not usually irrigate wetlands we plan to disc, but for 2021 it looks like 4B1 was irrigated and disced, so I removed it from the units to be analyzed.
Kern Irrigated (4A1 - 4A7, 4B2 - 4B4, 5A1, 5A3 - 5A7, 5B1 - 5B3, 5B7, 5B8) vs Kern Not Irrigated (6A1-6A5)
Pixley Irrigated (1, 2a, 2, 3a, 3, 4a, 4, 8a, 8b, 9a, 9b) vs Pixley Not Irrigated (7A, 7B, 6)
*8A is odd because the unit was not flooded in the winter, but it was irrigated in the Spring so may want to run the analysis with and without 8a.
Compare units disced within 5 years vs units diced more than 5 years ago that were also irrigated in 2021.
Kern Irrigated and Disced within 5 years (4A2 - 4A7, 4B3, 4B4, 5A5, 5A6, 5B7, 5B8) vs Kern Irrigated and Disced >5 years ago (4A1, 4B2, 5A1, 5A3, 5A4, 5A7, 5B1 - 5B3)
And of course, I thought the comparisons from the 2020 report were interesting and would be good to include in the 2021 report as well. That is all I got for now but will let you know if I think of anything else.

It would also be helpful to add a graph to the comparison of treatment effect with confidence intervals.


docs: reflect name changes

BREAKING CHANGE linearExtent/dateExtent is renamed extentLinear/extentDate

The release didn't happen anyway because a refactor is not considered a releasable change.


[ISSUE-28] Add package specific documentation

Thank you for submitting this pull request
fix:

https://github.com/kiegroup/chain-status/issues/28

referenced Pull Requests:

https://github.com/kiegroup/chain-status/pull/31
https://github.com/kiegroup/chain-status/pull/34

Add package specific documentation:

webpage documentation which includes specification and usage of its related generate-app action.
action documentation which provides the js tool purpose and usage, either from command line or using generate-data action.

I'll promote this as 'ready to review' once https://github.com/kiegroup/chain-status/pull/31 will be merged


Can't create object lists for lists without a key in YAML

My site is composed from a lot of files inside _data that don't have an explicit key in YAML.
For example, I do have a _data/buttons.yaml that looks like so:
- title: Example site
  url: 'https://example.com'
  image: example.png
- title: Foo site
  url: 'https://foo.com'
  image: foo.png

Since I need a list of items the object-list field is probably what I need to go for...but what name do I need to pick, if it's even supported?
Because configuring it like so, by the assumption that buttons is also the global data key that I can access the items with in Lume (regularly), doesn't work
cms.document("buttons", "src:_data/buttons.yaml", [
  {
    name: "buttons",
    type: "object-list",
    fields: [
      {
        name: "title",
        type: "text"
      },
      {
        name: "url",
        type: "url"
      },
      {
        name: "image",
        type: "file",
        uploads: "buttons"
      }
    ]
  }
]);

To aid with issue reproduction, I created a cms branch in my website repository with my configuration: https://github.com/pixeldesu/pixelde.su/tree/cms

Hmmm, that's not possible right now.
Let me think in a way to implement it.

I just released a new version v0.7.0 that allows to do that.
You only have to set the name [] to indicate that this value is an array without a key. Your example would be:
cms.document("buttons", "src:_data/buttons.yaml", [
  {
    name: "[]",
    type: "object-list",
    fields: [
      {
        name: "title",
        type: "text"
      },
      {
        name: "url",
        type: "url"
      },
      {
        name: "image",
        type: "file",
        uploads: "buttons"
      }
    ]
  }
]);


Sf 1149 4 enable user to choose favourite asset pairs

@leeshuzheng I checked the build and can not spot the favourite star icons. Is the build stale or something?

@leeshuzheng I checked the build and can not spot the favourite star icons. Is the build stale or something?

No it isn't stale. You have to have your wallet connected, as I am storing in localStorage the favourited markets along with wallet address. The wallet address here is treated as a user.


Master

Breaking Change:
Removes the functionality to auto target all entity when using a service call. This has been deprecated since December 2018 and version 0.85
Description:
Related issue (if applicable): fixes #
Relates to: https://github.com/home-assistant/home-assistant/pull/19006
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist

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

[ ] Documentation added/updated in home-assistant.io

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

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

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Is there a reason this is targeted against master?


Adapting JEM to high-resolution images

Dear Will Grathwohl,
Thanks so much for the inspiring work!
Now I am trying to adapt your proposed joint energy-based model to more challenging dataset , where resized 256^2 ~ 512^2  images exist. As a result, the JEM does not converge well no matter what regularization methods (L2/L2 grad regularizations as described at https://github.com/wgrathwohl/JEM/issues/4 ) are used. Could you please provide with me some ideas for advancing JEM to high-resolution images?
Thanks in advance,
Best,
Jun-Pu

Hi! Could you share some ideas on how to adapt the code to train on custom sizes? I tried increasing the self.last_dim parameter, but it takes too long to train on one epoch. Do you have any other suggestion? Thanks in advanced.


Make curl_init assertions PHP 8 compatible

Context
With PHP 8 curl_init() does no longer return a resource and instead returns an object (CurlHandle/CurlMultiHandle).
What has been done

Adds PHP 8 support for HttpClient
Fixes test suite for PHP 8
Adds PHP 8 to Travis CI matrix

I'm interested to see this gain PHP8 support as I found it wasn't compatible via #349. Will have to downgrade for now.

@Justintime50 changing the assertion in the HttpClient fixes it for me on PHP 8.0.5.
If all else fails, you could fork my branch and then use that as a custom repository:
# composer.json
{
    "repositories": [
        {
            "type": "vcs".
            "url": "https://github.com/dbrumann/php-vcr" # repalce with your fork in case my branch goes away after merge
        }
    ].
    "require-dev": {
        "php-vcr/php-vcr": "dev-curl_replace_assertion"
        # ...
    }
    # ...
}

I am not sure how to handle the failing Travis build. It will be hard to satisfy phpstan without ignoring errors and reportUnmatchedIgnoredErrors: false because errors differ in PHP 7/8. Can anyone from the core team advise on how to proceed with this?

Can anyone from @php-vcr advise on how to proceed with this, especially the phpstan rules? I would really like to make the curlHook compatible with PHP 8

The only thing I can think of right now, is asserting a variable != false, instead of asserting it is a resource.

I've been looking into adding compatibility for PHP 8 for about an hour now and I'm starting to think that it might be good to drop support for PHP7 entirely. In order to keep PHP7, we would need to add all kinds of phpstan ignore rules for different versions. Anyone is welcome to show me that it can be done without making a mess, but you're just as welcome to put some work into dropping PHP8.

we would need to add all kinds of phpstan ignore rules for different versions

Yes, I agree. This is exactly where I got stuck. If dropping PHP 7 support is an option, I will gladly update the PR accordingly in the next few days.

Great news ! I hope that we won't have any BC break :stuck_out_tongue:

I have just released version 1.6.0, which is to be used with PHP8.


Translating from TagValue to XML giving weird error

An example (in tag/value), validated, however when I tried to convert it to XML,  it gave the message:
Analysis exception processing SPDX file: Document
Describes is not an array - invalid JSON format.
I've mailed the .spdx file in question to @goneall, and will share with anyone else interested.

@kestewart Thanks for reporting the issue.
I was able to duplicate this in the online tools.  It seems to only be an error for the XML format - JSON works fine.  This is rather curious since the JSON and XML formats share much of the same code.
I'm also not able to duplicate the issue using the command line tool which also shares the same code.
I'll continue to investigate and update this issue once I find something.
In the interim, it looks like the command line tool (release link above) can be used as an alternative.

I've narrowed the problem down.  It looks like the XML produced in the conversion process is not valid due to single element arrays being converted to single value properties.
This is an issue in the Jackson based serializer/deserializer.  I'm transferring the issue to the repository with the issue.


Windows, How to apply custom fonts on svg text?

I need to generate .png image texts using some custom fonts that I have in .ttf format. And I tried to achieve this by this simple code:

const svg = `
<svg width="${NAME_WITDH}" height="${NAME_HEIGHT}" viewBox="0 0 ${NAME_HEIGHT} ${NAME_HEIGHT + 2}">
<defs>
        <style>
        @font-face {
            font-family: "TitlingGothicFB Normal";
            src: url('./TitlingGothicFBNor-Reg.ttf');
            font-weight: normal;
            font-style: normal;
          }

          @font-face {
            font-family: "TitlingGothicFB Normal";
            src: url('./TitlingGothicFBNor-Bold.ttf');
            font-weight: bold;
            font-style: normal;
          }
        </style>
    </defs>

  <!--this rect should have rounded corners-->
  <rect x="0" y="0" width="100%" height="100%" fill="transparent"/>
    <text font-family="TitlingGothicFB Normal" font-weight="bold" font-size="${fontSize}px" x="50%" y="50%" text-anchor="middle" dy="0.25em" style="fill:white;fill-opacity:1;stroke:black;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;">
        ${name}
    </text>
`;
        const svg_buffer = Buffer.from(svg);
        await sharp({
            create: {
                width: NAME_WITDH,
                height: NAME_HEIGHT,
                channels: 4,
                background: { r: 255, g: 255, b: 255, alpha: 0 },
            }
        })
            .composite([{
                input: svg_buffer,
                top: 0,
                left: 0,
            }])
            .png()
            .toFile(namePath);

And I put .ttf files inside the same folder as this code. But I can't make it work. Please help guys.

Did you see https://sharp.pixelplumbing.com/install#fonts ?

Did you see https://sharp.pixelplumbing.com/install#fonts ?

In the link you shared there is :
"On Windows and macOS systems, all system fonts are available for use."
I am on windows. And does "system fonts" mean fonts that's installed on my windows? I installed the font. But this doesn't work.

By "this doesn't work" I mean this actually worked but it rendered with the default font.

Should my code look ok? Is putting the .ttf file and the ts file in the same folder correct?

@louisgagarin Were you able to make any progress with this?

Closing due to inactivity but please feel free to reopen with more details if further help is required.

I also have the same issue, SVG cannot use custom fonts, and the fonts are placed in the root directory of the project, which does not take effect when introduced


"Maximum call stack size exceeded" instead of reporting actual error

Environment data

VS Code version: 1.67.2
Jupyter Extension version (available under the Extensions sidebar): v2022.4.1021342353
Python Extension version (available under the Extensions sidebar): v2022.6.2
OS (Windows | Mac | Linux distro) and version: MacOS Big Sur
Python and/or Anaconda version: 3.9.12
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jupyter server running: Local

Expected behaviour
Error is properly reported.
Actual behaviour
When error trace is too big, some message about a stack overflow is shown instead.
Steps to reproduce:
Run this code in a cell:
import numpy as np
import pandas as pd

df = pd.DataFrame(
    dict(
        a=np.arange(500000),
        b=np.arange(500000),
        c=np.arange(500000),
        d=np.arange(500000),
        e=np.arange(500000),
        f=['a'] * 250000 + ['b'] * 250000,
    ),
    dtype="category",
)

s = df[df.f == 'a'].groupby(["a", "b", "c", "d", "e"]).apply(lambda df: 1)
s.loc[pd.MultiIndex.from_frame(df[["a", "b", "c", "d", "e"]])]

You should get:
Error loading preloads:
    Maximum call stack size exceeded

Thanks for filing this issue, I can replicate this at my end, will be look into this soon.


fix: wrong link to stringToDOM()

Status

[X] Code changes have been tested against prettier, or there are no code changes
[X] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[X] This PR only includes non-code changes, like changes to documentation, README, etc.

nice work!


While using codegen to covert my graphql schema to swift, facing error : Directive "aws_subscribe" may not be used on FIELD_DEFINATION

I am new to graphql and using aws tutorials (https://awslabs.github.io/aws-mobile-appsync-sdk-ios/) to convert the graphql appsync schema to swift supported via codegen.
Following is the graphql schema I am trying to convert:
type Author {
firstname: String
id: ID
lastname: String
posts: [Post]!
}
type Comment {
author: Author
created_at: String
id: ID
text: String
}
type Mutation {
addComment(input: CommentAddInput!): Comment!
addPost(input: PostAddInput!): Post!
deleteComment(id: ID!): Comment!
deletePost(id: ID!): Post!
updateComment(input: CommentUpdateInput!): Comment!
updatePost(input: PostUpdateInput!): Post!
}
type Post {
author: Author
comments: [Comment]!
created_at: String
id: ID
text: String
}
type Query {
getAuthor(id: ID!): Author
getAuthors: [Author]!
getComment(id: ID!): Comment
getComments(post: ID!): [Comment]!
getPost(id: ID!): Post
getPosts(author: ID!): [Post]!
}
type Subscription {
addedComment(author_id: ID, post_id: ID): Comment!
@aws_subscribe(mutations:["addComment"])
addedPost(author_id: ID!): Post!
@aws_subscribe(mutations:["addPost"])
}
input CommentAddInput {
author: ID!
post: ID!
text: String!
}
input CommentUpdateInput {
author: ID
id: ID!
post: ID
text: String
}
input PostAddInput {
author: ID!
text: String!
}
input PostUpdateInput {
author: ID
id: ID!
text: String
}

aws-appsync-codegen expects the input schema to be an introspection schema file. You can download the introspection schema following these steps

Goto AWS AppSync Console
Select the API that you created
Scroll to the bottom of the page and you will see Download button under Download the AWS AppSync.json config file:

Also, your .graphql file must contain the queries/ mutations/ subscriptions you would like to use in your app.
Example .graphql file: https://github.com/aws-samples/aws-mobile-appsync-events-starter-ios/blob/master/EventsApp/events.graphql
Example schema file: https://github.com/aws-samples/aws-mobile-appsync-events-starter-ios/blob/master/EventsApp/schema-events.json
Thanks,
Rohan

AWS Appsync generates @aws_subscribe decorators such as:
@aws_subscribe(mutations: ["createMessage"])
Removing those from schema.graphql solves the error

Hello @dhavalsavaliya1
@rohandubal and @yuth are correct in that you need both an introspection schema as well as the graphql documents. We will be retiring this repo soon as the new AWS Amplify CLI has the codegen features and more, including automatic graphql generation as well as a GraphQL transformer:
https://github.com/aws-amplify/amplify-cli/blob/master/native_guide.md
Could you look to see if the new AWS Amplify CLI flow resolves your issue and if not open something in that repo?

This issue has been closed because it has not had recent activity. If you still need help, please open an issue on the new AWS Amplify CLI  repo, which provides the codegen features and more.


Coverage badge changes even if no code changes

Hi,
I'm just trying to get some guidance on figuring out why this happens. We have the following workflow in github.

Push changes and create a PR
workflow runs on PR creation

Within the workflow we have the following:
jobs:
  unittest:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup, run vitest and generate coverage report
        uses: ./.github/actions/vitest
      - run: |
          git fetch origin ${GITHUB_HEAD_REF}
      - name: Generating coverage badges
        uses: jpb06/coverage-badges-action@latest
        with:
          branches: "*"
          commit-user-email<EMAIL_ADDRESS>          commit-user: "github-actions[bot]"

coverage-badges-action then commits the updated coverage badges back to the PR, as expected.
However, if we then make a change to a non-JS file (i.e. the readme) and push we find that he coverage badges change again - by a tiny amount, i.e. 92.16% to 92.08%. This can get us stuck in a loop where the coverage badges are always updating - even if no JS code has changed.
My assumption here is that whatever algorithm is calculating the code coverage is just counting lines slightly differently on different pushes.
Is there any way around this? My initial thought was that if we could just make the coverage badge use whole numbers (i.e. 92%) which I think could remove a lot of this problem.
Any input you can provide here would be great.
Thanks

Hello!

My assumption here is that whatever algorithm is calculating the code coverage is just counting lines slightly differently on different pushes.

This responsibility lies on vitest. This action merely reads the coverage summary json file generated by vitest.
The only way I see it happening is if markdown files were somehow included in the coverage collation. Perhaps explicitly excluding them in vitest config would help?
import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    coverage: {
      reporter: ['json-summary'],
      all: true,
      include: ['src/**/*.ts'],
+     exclude: ['**/*.md'],
    },
  },
});

Thanks @jpb06. We're trying this suggestion out and it seems to be working so far - we'll continue to monitor and tweak our exclusion policy as necessary. Therefore, I'm closing this issue.


JSCK throws errors under these benchmarks

discussion started in JSCK repo (https://github.com/pandastrike/jsck/pull/78) but belongs here.
JSCK passes all the JSON Schema Test Suite tests, except for a few features we've elected not to support. but with more insight into these tests, we might want to support them also.

I tried not to derail the discussion on the jsck issue - and obviously failded - sorry.
But I have actually already fixed this issue in the benchmarks yesterday. I relaxed the requirements to get into the benchmarks just for jsck.
So passing the unique items tests is no longer required to get into the benchmarks - even though many of the other validators do actually implement the unique items correctly.

ok, but you said it threw this huge list of errors?
https://github.com/pandastrike/jsck/pull/78#issuecomment-71968297

These are the tests currently failing for jsck
https://github.com/Muscula/json-schema-benchmark/blob/master/reports/jsck.md
I think that corresponds to the tests you have chosen not to implement as far as I could see at a glance.

ok, since you know where those errors came from, please say so in the error report. (per above issue.)

I'm not quite sure what you mean? The failing tests are remote refs and uniqueItems, that jsck does not support, right?
What is it that you want me to add to the error report?

something like "these tests fail because JSCK deliberately chose against supporting these features, and/or because (in the case of zeroTerminatedFloats) the tests are not relevant for any JavaScript implementation."
if you know that all of the failing tests are testing features that JSCK deliberately doesn't implement, it's nice to say so.
check out the json-schema-tests repo. it's a test harness for running the official JSON Schema tests.
the test harness allows you to very explicitly specify, in code, exactly which features of the spec any given validator has elected not to support.
there are examples for JSCK, is-my-json-valid, json-gate, and tv4.
you could adapt this code and use it.
apart from anything else, it's interesting to see which features are consistently not implemented; it's a kind of feedback, for the spec authors, on the perceived usefulness of those features.

I can see how it would be useful to see parts of the spec that were deliberately chosen not to be supported, by a json-schema validator.
I was thinking that this could be something specified in the modules package.json. That way the module exposes it clearly in a machine readable format. And the module author only has to maintain this in package.json, if hes/she decides to support more/less of the specs.
This all depends on weather this is something that @mafintosh, @playlyfe, @zaggino, @acornejo, @Prestaul, @bugventure, @tdegrunt, @geraintluff, @iclanzan, and @natesilva could see themselves putting in their package.json.

well, OK, but see the previous comment.
the https://github.com/pandastrike/json-schema-tests/ mechanism already exists, is already machine-readable, and has already been implemented for several validators.

personally I think the point of a schema validator is to at least try to comply with every aspect of a spec.
Think of html, and those browsers that only support a subset of it, or that they do not comply with the spec (I am looking at you ie), they clearly make life painful for others. If at all possible, I think its best to provide software that complies to standards they are advertised to support.
I wasn't aware of your benchmark, great work. I am surprised to see how many validators there are out there. I didn't know that jjv was failing some tests, when I get some time I will amend jjv to try to pass all of them. However, given how slow jjv seems to be compared to others (I find this very surprising btw), I am not sure if there is still interest on it (I already finished the project I needed jjv for, so in that sense I've taken jjv as far as I needed).

I am surprised to see how many validators there are out there.

@acornejo I can tell you from experience that the best way to find the fastest JSON Schema validator on the whole internet is to write one which is faster than any other you know about, brag about it, and watch all the people who wrote something even faster show up.
srsly, I googled the hell out of this topic before writing my blog post, and that accomplished nothing compared to writing my own blog post about how fast my company's project was. :-)

@gilesbowkett I believe you. I did not set out to have the fastest json-schema validator.
Ironically, I do not enjoy coding very much (I do love solving problems however, even if it involves coding). At the time I wrote jjv I first searched for something packaged I could use, there were a few contenders, but they wouldn't work out-of-the-box. I looked at the source to try to see if i could patch them to make them work, but the code was messy and unreadable and so it seemed easier to build a very simple one from scratch. I was surprised when (at the time) it also turned out to be faster than the existing solutions.
I am glad this is not the case anymore, in particular because I don't use jjv anymore (its deployed and working well, no need to patch it for my own use), so its great that there are good substitutes out there for other folks (or even myself, if I ever need json validation again).

I love this conversation. Mine is the newest entrant to the group and I simply wrote it (two weeks ago) because I needed features that were not in the existing solutions and wanted a canvas upon which to develop those features. I was very surprised to see that mine was the most compliant of the options out there (supporting everything except for the zeroTerminatedFloats).
My two cents are that this benchmark is doing a clear job of documenting current compliance and performance. There will be those who care more about performance, those who care about compliance, and those who care about feature set. Only the first two can be documented here in an automated fashion and the third is really best up to individual authors to publicize.

Convincing everybody to add new stuff to their package.json looks like more work for them.
The json-schema-tests repo already has a very nice and robust system for capturing compliance variations in code, with some of the work already done.
Rock on with this, by all means, but for myself, I'm more likely to extract the more comprehensive benchmarking from JSCK and combine it with the more statistically robust approach from themis (TLDR: use benchmark).

To me, the only way a benchmark is:

Not going to turn into a maintenance nightmare
Not grow stale with configuration not being updated.
Stay as objective as possible
Stay true to what a user of a particular validator will experience, using it right out of the box.

Is if the benchmark can be run 100% automated.
I've put some thoughts in CONTRIBUTING.md
As @Prestaul mentions, the featuresets can also not be captured automatically. For that information I link to the validator homepage ever single time a validator is mentioned. The same goes for choosing not to support parts of the spec. Unless this information can be captured in a way that does not require maintenance (Like looking it up in the validators package.json)
I'va added an issue for altering the way the benchmark is done a little https://github.com/Muscula/json-schema-benchmark/issues/11. Suggestions for improvements are welcome.
You should definitely keep doing your own benchmarks. I believe the benchmarks you yourself do, serve a very different purpose than the one here.


[BUG] wash dev does not work with TinyGo project

Affected project(s)

[ ] documentation
[ ] examples
[ ] wasmCloud host
[X] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[ ] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Describe the bug
Modifying and saving a file while wash dev is running unexpectedly quits wash dev and the dev loop doesn't work. Reproducible with TinyGo. Haven't tested other languages.
Steps to reproduce

Run wash new component hello --template-name hello-world-tinygo ... works
Run wash dev ... works.
Modify hello.go (e.g. change Hello from Go! to Hello from Go!!!!)...error in console

Logs:
 Starting project build
✅ successfully built project at [/tmp/whatever/hello/build/http_hello_world_s.wasm]
👀 watching for file changes (press Ctrl+c to stop)...

**the key should be 56 characters, but was 49 characters**

Expected behavior
wash dev should work
Environment

OS: [e.g. Linux, MacOS]
Shell [e.g. bash, zsh, powershell]
wasmcloud Version [e.g. 0.81.0]

Screenshots / Logs / Additional context
No response

Hey @atifsyedali thanks for reporting this -- it looks like some code in wash was held over from when we still were using NATS nkeys as component IDs.
This is a legitimate bug, so I've got a fix that will be merged soon, and we'll release a new patch version of wash.

Hey @atifsyedali just an update here, it took a while, but please check out wash-cli version 0.32.0 (https://crates.io/crates/wash-cli) -- bug is fixed in that release!
You can also use the GH release:
https://github.com/wasmCloud/wasmCloud/releases/tag/wash-cli-v0.32.0
I've just tested it locally and you should be good to use wash dev and also change your golang files and see rebuilds :) :sweat_smile:


Fix t3c to log when prereqs fail and a file isn't updated.

t3c doesn't log anything when prerequisites fail for a file, it just silently doesn't update that file.
It needs to log an error. This is a major issue for production environments, where not updating configs can result in outages, and Operators need to be alerted to fix it ASAP.
I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Ops ORT

Current behavior:
Prereq failures don't log and don't update the file.
Expected behavior:
Prerequisite failures log an error.
Minimal reproduction of the problem with instructions:
Create a prereq failure on a file. For example, add a remap line which uses header rewrite, but don't have the header rewrite plugin installed. Run t3c to place configs. Observe changes to remap.config are not applied, with no log message.
Anything else:

@jrushford


Correctly pass an FqName to startsWith

Name is used to carry a single segment of an FqName, and not an FqName. Behaviour has changed in Kotlin 2.0 which is more correct but the fix can be backported.

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 8003f212ede2bb37326c3251def3cd4334a89734


[Question] How to keep up to date the list of icons?

The current version of icons is 7.3.67. Is it possible to update this storage? Or please create an instuction how to do that yourselff.

Thank you for letting me know, I will update the package in few hours with the most recent version

Alright, @bambinoua the updated version has just been released. Please update your dependencies.

@FaFre thank you for a quick response. Is it possible to update icons using package utility?


Add a new SDK NVIDIA Nsight Aftermath

Games using NVIDIA Nsight Aftermath:

Squad
The Immortal Mayor
Tom Clancy's Rainbow Six® Siege
Splitgate

I added a rule for the SDK in alphabet order that matches the library for Linux & Windows including the x64 & x86 arches.

Here's the actual names in use, so the regex can be simplified.
    [gfsdk_aftermath_lib.x64.dll] => 5043
    [gfsdk_aftermath_lib.dll] => 1102
    [gfsdk_aftermath_lib.x86.dll] => 6
    [gfsdk_aftermath_lib_uwp.x64.dll] => 1

Does it mean there are files without an arch?

Yes.


when switching repos in a startup.yml file it fails to build manifest correctly

Apr 16 09:00:43 box-8546 poseidon[26815]: Failed to process job: No option 'link_name' in section: 'cglewis:poseidon::master:HEAD'
Apr 16 09:00:43 box-8546 poseidon[26815]: (False, "No option 'link_name' in section: 'cglewis:poseidon::master:HEAD'")

also potentially caused by having images for both repos at the same time


Sentence graph doesn't work anymore

The "sentence" graph has stopped work. Document graph still works though.
Probably the Tone Analyzer API have changed, so it might be good to check that.

After debugging looks like the returned value of the social traits object that is returned from the Tone Analyzer API has changed from neuroticism_big5 to emotional_range_big5. Need to make this slight change, as well as update the way we are creating swatch labels in the addControl function since this syntax breaks the current implementation.

Also, the writing traits have now changed to language traits


update toggle_auth method for RC01 auth key

This fixes the rake tasks that toggle auth.

Coverage increased (+11.55%) to 95.0% when pulling 7c96bbd981ce43e562daa91ab05bd0bcb418a26a on authfix into 4c274bd09e627a95c9fb9bfd85b659f188eda20e on master.


[hi] Localize  content/hi/docs/reference/glossary/container.md

Fixes #35600

Hello @amolmote , just following up. Do you still have the cycles to work on this?

Additionally, please synch your local branch to the current main branch before pushing any further commits.

Yes i need to do some changes in this pr will do it today and sync the main branch

Hello @amolmote , I understand you're busy & that's okay. Thank you for your efforts on this PR. However, since there has been no action from ~5 months, I will be closing it off. Whenever you have the bandwidth to address feedback, please feel free to reopen & we can resume where we left off.
/close


Use NetworkGenerationHash as main network identifier

fixes #1412

fixed in https://github.com/nemgrouplimited/symbol-desktop-wallet/pull/1568


Add new overload ContentType for PutBlobBlockBlobStream

When storing, for example PDF documents, on Azure Blob Storage with the PutBlobBlockBlobStream function the content type is set to 'text/plain; charset=utf-8'.

When creating a SAS Uri and sharing this link, the browser doesn't handle this nicely

For this reason I would like to set/change the Content-Type to 'application/pdf'.
The PutBlobPageBlob has a overload ContentType: Text. Can this also be implemented for the PutBlobBlockBlobStream function?
The new functions to add should be;
procedure PutBlobBlockBlobStream(BlobName: Text; ContentType: Text; var SourceStream: InStream): Codeunit "ABS Operation Response"

and
procedure PutBlobBlockBlobStream(BlobName: Text; ContentType: Text; var SourceStream: InStream; OptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

We neet to store images that are referenced by an external web site.
If the ContentType is not set to "image" the picture is not loaded.
Actually the value is set by default as a generic 'application/octet-stream'

Please give us an overload an more control, like you did with other blob type like PageBlob.
Following the universal code initiative, this is becoming a tricky situation to solve without rewriting a lot o code.
Thanks.

@Arthurvdv  could you check out the recently merged PR https://github.com/microsoft/ALAppExtensions/pull/23781
Can this issue be closed now?

@pri-kise, thank you for the PR, unfortunately it still seems to be an issue.
I've created an next minor container (sandbox/22.4.59101.0/base), where the new overload is present.
For the test I've hardcoded the value application/pdf, where the Content-Type of the file in Azure Blob still shows text/plain; charset=utf-8.
ABSBlobClient.PutBlobBlockBlobStream(BlobName, InStream, 'application/pdf', OptionalParameters);

Could it be that I'm using the function wrong? Or am I overlooking something else?

I did some more research and I think I found the missing part.

https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob?tabs=azure-ad#request-headers-all-blob-types
I've created an PR which should resolve this. Not sure on howto build my own "System Application" App to verify this.

@Arthurvdv I did some research, too.
I found an issue that the wrong HttpHeaders were set.
I created an PR for this to revert the change that was introduced by BC20.
https://github.com/microsoft/ALAppExtensions/pull/24233


Add to CocoaPods

Hey, have you considered adding your library to CocoaPods?
Thanks!

@LinusGeffarth sorry for the delay.
You can use for now. Thanks for your issue.
pod 'EFImageViewZoom', :git => 'https://github.com/ezefranca/EFImageViewZoom.git'

Soon I will push in to the CocoaPods repository


Merge remote-tracking branch 'gchq/master'

Codecov Report

Merging #771 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #771   +/-   ##
=========================================
  Coverage     59.81%   59.81%
  Complexity     2803     2803
=========================================
  Files           433      433
  Lines         12874    12874
  Branches       1438     1438
=========================================
  Hits           7700     7700
  Misses         4574     4574
  Partials        600      600

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 c3a7d8a...f651456. Read the comment docs.


[DOCS]: Get the Solidjs Docs To Be On Par With The React Documentation

This issue was brought about after a careful observation by Corbin and is targetted to help the Solidjs devs community to be able to get a very useful and well detailed documentation that helps them in every way possible with their integrations of Tanstack forms in their projects and also to help with general core engineering information as to how the library works with Solidjs.
For reference:

Tanstack Forms Current React Docs
Tanstack Forms Current Solidjs Docs

Related to https://github.com/TanStack/form/issues/746.

Closed by https://github.com/TanStack/form/pull/819


Dynamicaly add textual help with an automated flow

refs #34
Helping libraries:

Vanilia JS: http://www.carto.net/papers/svg/textFlow/
Based on d3.js: https://gist.github.com/mundhradevang/1387786
Based on SVG.js (see #75): https://github.com/wout/svg.textflow.js

Texts are now plain HTML!


Update AbstractJsonApiModelDeserializer.java

When calling final Object objectFromProperties = PropertyUtils.createObjectFromProperties(rootType.getRawClass(), attributes);, an exception because of a "property type mismatch" will be thrown when something like {"x": 12} is contained in a JSON-String, but the class has a property like Double x;. By using a Jackson object mapper, these errors should disappear.
(fixed missing import)

Thx, I'll take a look at it. Could you please provide a code example for getting such an exception?

The problem is,, that we have a class with properties of type double x; and with json like `{"x": 2}". As you can see, its very simple.

The error only occurs for boxed doubles. I've build a regression test:
https://github.com/MilesBehind/spring-hateoas-jsonapi/pull/1

It would be even nicer if the object mapper would be configurable, for example to load the kotlin extensions.

Thx, @audax . With double it would have worked but with Double I can recreate the error. And thanks for the test.


Rename *.ql to *.overpassql

*.overpassql is now the recommended file extension for Overpass QL: OSM Wiki: Overpass QL § File extension
(Disclaimer: I added that section after some discussion.)
I propose to rename all Overpass QL files in this repo to *.overpassql for consistency.
Context: GitHub's syntax highlighting engine requires that 200 repositories use the same file extension before they consider supporting that syntax and file extension: https://github.com/github/linguist/issues/5890

Would a pull request be accepted?


CRD URL's in Upgrade Guide Are Invalid

Bug description
I am attempting to follow the upgrade guide to migrate from v0.1.3 to v0.3.0 and am having problems with the upgrade steps.  Specifically, the two CRD's called out to be upgraded:
https://raw.githubusercontent.com/clastix/capsule/v0.2.1/config/crd/bases/capsuleconfiguration-crd.yaml
and
https://raw.githubusercontent.com/clastix/capsule/v0.3.0/config/crd/bases/tenant-crd.yaml
result in 404 errors when I tried to install them with kubectl and when I tried to access them through my web browser to confirm.
I looked around the source code for the chart to try and find something with the same file name.  I then scaled down the deployment, deleted the default capsule configuration and applied these CRD's:
kubectl apply -f https://raw.githubusercontent.com/clastix/capsule/v0.3.0/charts/capsule/crds/capsuleconfiguration-crd.yaml
kubectl apply -f https://raw.githubusercontent.com/clastix/capsule/v0.3.0/charts/capsule/crds/tenant-crd.yaml

After applying these CRD's and re-running the helm install, I get the following error from helm (via Terraform):
error validating data: ValidationError(CapsuleConfiguration.spec): missing required field "nodeMetadata" in io.clastix.capsule.v1beta2.CapsuleConfiguration.spec

and the capsule deployment is still set at zero replicas.
How to reproduce
Steps to reproduce the behavior:

Install capsule 0.2.0 chart with app version 0.1.3
Scale down capsule-controller-manager version 0.1.3 with kubectl scale
Apply CRD's as specified in documentation (will fail with 404)
Apply CRD's provided in this issue as intended replacements
Upgrade the Helm chart to capsule 0.4.0

Expected behavior
I expected Capsule to upgrade to version 0.3.0.
Logs
N/A
Additional context

Capsule version: 0.1.3  (upgrading to 0.3.0)
Helm Chart version: capsule-0.2.0 (upgrading to 0.4.0)
Kubernetes version: Client Version: v1.26.1 Kustomize Version: v4.5.7  Server Version: v1.22.17-eks-48e63af

The following values were used for the Helm release:
affinity: {}
certManager:
  generateCertificates: false
customAnnotations: {}
customLabels: {}
jobs:
  image:
    pullPolicy: IfNotPresent
    repository: quay.io/clastix/kubectl
    tag: ""
manager:
  hostNetwork: false
  image:
    pullPolicy: IfNotPresent
    repository: clastix/capsule
    tag: ""
  imagePullSecrets: []
  kind: Deployment
  livenessProbe:
    httpGet:
      path: /healthz
      port: 10080
  options:
    capsuleUserGroups:
    - capsule.clastix.io
    - system:serviceaccounts:argocd
    forceTenantPrefix: false
    generateCertificates: true
    logLevel: "4"
    protectedNamespaceRegex: ""
  readinessProbe:
    httpGet:
      path: /readyz
      port: 10080
  resources:
    limits:
      cpu: 200m
      memory: 128Mi
    requests:
      cpu: 200m
      memory: 128Mi
mutatingWebhooksTimeoutSeconds: 30
nodeSelector: {}
podAnnotations: {}
podSecurityPolicy:
  enabled: false
priorityClassName: ""
replicaCount: 1
serviceAccount:
  annotations: {}
  create: true
  name: capsule
serviceMonitor:
  annotations: {}
  enabled: false
  endpoint:
    interval: 15s
    metricRelabelings: []
    relabelings: []
    scrapeTimeout: ""
  labels: {}
  matchLabels: {}
  namespace: ""
  serviceAccount:
    name: capsule
    namespace: capsule-system
  targetLabels: []
tls:
  create: true
  enableController: true
  name: ""
tolerations: []
validatingWebhooksTimeoutSeconds: 30
webhooks:
  cordoning:
    failurePolicy: Fail
    namespaceSelector:
      matchExpressions:
      - key: capsule.clastix.io/tenant
        operator: Exists
  ingresses:
    failurePolicy: Fail
    namespaceSelector:
      matchExpressions:
      - key: capsule.clastix.io/tenant
        operator: Exists
  namespaceOwnerReference:
    failurePolicy: Fail
  namespaces:
    failurePolicy: Fail
  networkpolicies:
    failurePolicy: Fail
    namespaceSelector:
      matchExpressions:
      - key: capsule.clastix.io/tenant
        operator: Exists
  nodes:
    failurePolicy: Fail
  persistentvolumeclaims:
    failurePolicy: Fail
    namespaceSelector:
      matchExpressions:
      - key: capsule.clastix.io/tenant
        operator: Exists
  pods:
    failurePolicy: Fail
    namespaceSelector:
      matchExpressions:
      - key: capsule.clastix.io/tenant
        operator: Exists
  services:
    failurePolicy: Fail
    namespaceSelector:
      matchExpressions:
      - key: capsule.clastix.io/tenant
        operator: Exists
  tenants:
    failurePolicy: Fail

Hey @jwilkicki, thanks for the bug report!
I've raised a PR, here's the preview link: may I ask you to review it, please?

Sure, I'll be happy to look it over.

I checked the URL's for 0.1.3 to 0.2.x and for 0.2.x to the latest version and they all load for me.  I will try to perform and installation of 0.1.3 and upgrade to the latest version today to see if the error goes away.

If I uninstall capsule's helm chart and manually delete all the CRD's, then Capsule installs fine with Helm.  But the upgrade steps, as written, don't work for me from 0.1.3 up to 0.3.0.   I get this error still:
Error: error validating "": error validating data: ValidationError(CapsuleConfiguration.spec): missing required field "nodeMetadata" in io.clastix.capsule.v1beta2.CapsuleConfiguration.spec

To provide further support you need to explain a step by step procedure you're following, otherwise we're not able to reproduce it.


We need an "installation" story

It should be possible to pip install pypercard and get going. To this end we need to create a plugin for the PyScript CLI that will generate a skeleton PyperCard application like this:
pyscript pypercard my_new_project_name

That's it..!

Fixed via #38


adjustments to CMake

example repository has been updated too

What is the main difference?

Correct Export file generation + some more logical names for config/export cmake files.
Now usage is find_package(COLAlib) and target_link_libraries(target PUBLIC COLAlib) for modules, as it is supposed to work.
And in projects with actual modules you don't even need to link COLA, provided you've written the module correctly.


MicroBitLog page empty for single column / no timestamp logging

JS expects at least 2 columns for some reason. Nothing happens when logging a single entry, not timestamp.

Thanks @pelikhan - data logging in flash looks ok when one row is in use, so agree this looks like it's on the JS side. Matt has been busy refactoring and improving the HTML+JS part anyhow, so may get fixed on the way.
@microbit-matt-hillsdon Let's test this when we merge your PR with updated HTML+JS is ready.

I've reproduced this on master and confirmed it is fixed as part of the changes on #111. I used this C++ test program to test:
    for (int i = 0; i < 100; ++i) {
        uBit.log.beginRow();
        uBit.log.logData("a.x", uBit.accelerometer.getX());
        uBit.log.endRow();
        uBit.sleep(1000);
    }


feat: Refactor Updater's file package

Proposed Change

Refactor CopyFile into 3 separate exported functions and 1 unexported function.

Checklist

[ ] Changes are tested
[ ] CI has passed

Tested happy path + rollback locally on my mac, both paths worked as expected.


Support for manual mapping

Tried to inject via manual map, couldn't seem to work. Native injection has no problems. Will there be support for manual mapping soon?

Then there's probably something wrong with your injector. ManualMaping works perfectly fine for me!

ur injector issue, also it may happens if u trying to mm debug dll

Im using XenosInjector x86, compiled qo0 debug base also in x86. Odd, I'll try again with release version

debug mode is only for loadlib to make it able for debug ^^

OK, it seems to be a problem either with my computer or my injector. Thanks for the clarification.

OK, it seems to be a problem either with my computer or my injector. I keep getting the error "failed to get createinterface address" Thanks for the clarification.

message said u whats wrong.

crash on manual map inject?


AI Processing

Design Spec
Visual cues to let users know that the system (AI bot) is processing information. An AI chat message will display an animated dot indicator in the conversation list. The message bar will also display a stop action to stop the system from processing the last submitted prompt/message.

Added animated dots and state management for message processing.


Refactored class defs into separate files. Added distance method to A…

…dj class.

thanks.  Can you fix it so that the tests pass?

nope.  Do you know how to run tests on your local machine?
just type py.test in the git directory.

going to close this PR.  It's way outdated and probably needs to be redone anyway.


Password string is not encoded as URI

Password string is not encoded as URI so it will drop an error when you try to enter in a match that includes special characters in the password like (!,@,#,$,%,^, etc...)
Way I fixed:
In joinRoom.js
Line: 34:
Fix:
            "r_pass": encodeURIComponent(document.getElementById("r_pass").value.toString()),

In: init.js
Line: 92
Fix:
                    Room.join({
          id: params.r_id,
          password: decodeURIComponent(params.r_pass),
          token: params.token,
          authObj: authObj
        }

This way we assign the password to the decoded URI component that we coded before.
Hope this works :)

Thanks for the attention and the issue. Can you try undoing them and changing this line instead?
In: examples_web/src/htmlQueryHelper.js Line: 12
  return Object.keys(json).filter((x)=>(json[x]!=null && json[x]!="")).map((x)=>(encodeURI(x)+"="+encodeURI(json[x]))).join("&");
to:
  return Object.keys(json).filter((x)=>(json[x]!=null && json[x]!="")).map((x)=>(encodeURIComponent(x)+"="+encodeURIComponent(json[x]))).join("&");

Fixed in v1.5.


Fixed Javadoc build with doclint

After this change, Javadoc build passes although there are still warning to be fixed.
Except for bigtable-client-core & bigtable-dataflow-parent module, Now other modules should not give Javadoc warning.
Partially fixes #1986

Please have a look

Have updated the JavaDoc for every @return this occurrence.


Fix CP Filter

When 304 was returned sources would consist of an empty array, need to get from local storage when that is the case.

Having make pack issues....

Closing as branch got messy


fix: fix swallowing ticks on TickerFunc

Turns out #7 is bugged.  When we refused to call the TickerFunc callback, we didn't advance the next event time, so the Mock kept re-scheduling fire() and we could never finish processing on the tick time.

#8  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on  Graphite

Merge activity

Oct 18, 4:33 AM EDT: A user started a stack merge that includes this pull request via Graphite.


An Arduino simulation page for the Ultrasonic library!

hi there
Thank you very much for the library.
I have created a simulation page for the Ultrasonic sensor library here:.
https://wokwi.com/arduino/projects/296099969420493322
It is a permanent page and it gives an opportunity for your future library users to play with the library and get a feel of it even before they integrate the library into their own project.
Kindly let me know what you think!

If you feel it is good, I would love to create a PR to add the simulation link in the ReadMe file.
Thanks a lot!
Puneeth

Hi @matititam!
This is absolutely amazing!
Thank you very much for your contribution!
I've recently updated the documentation with some fixes, if you'd like, it would be great to get a PR for including this tool in the README.

Dear @ErickSimoes
I will be glad to create a PR to add the information in the ReadMe file. I will do it soon.
Thank you!


(Draft) Update Spring dependencies Mar 2021

Additional dependabot changes
Experimenting to see if we can update spring versions now to address & clear the backlog as zuul is now updated - even though zuul will be removed very very soon.

Unfortunately this still hits an issue with:
17:12:06.193 [main] WARN  o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@73d16e93]
17:12:06.371 [main] INFO  o.s.b.a.l.ConditionEvaluationReportLoggingListener -

this is in springcloud, which was brought in by netfliz zuul.
I had tried this aggregation, since netflix zuul has been updated
Moving to DRAFT, and suggest we pull this in once netflix zuul is removed.
Will close spring dependence is manually as their commits are now reflected here
This PR should be rebased once the netflix zuul removal updates are done.
Given we plan to remove zuul via #4710

Will reopen after #4710
The netflix zuul release 2.2.7 still requires springboot 2.2 or 2.3 - so we cannot go to spring boot 2.2.4 until that removal is done.
Closing for now


Create redbird docker image

This would make redbird even easier to use

The thing is that since redbird is a standard nodejs module you can just use node's official docker image and then just add your package.json with your proxy. Not sure what else could a 'redbird' image include...


refactor: drop dependency on @google-cloud/common

So common is a somewhat large dependency.  It brings in a bunch of things we don't want or need here.  The only real thing I needed to lift was a simplified implementation of PartialFailureError, which was really easy to trim down:
https://github.com/googleapis/nodejs-common/blob/master/src/util.ts#L287
@alexander-fenster I suspect I may not even need that, in case there's something hiding in gax that I could just use.
@crwilcox I suspect you'll like this one

@JustinBeckwith The closest thing we have in gax is this:
export class GoogleError extends Error {
  code?: Status;
  note?: string;
}

but it's obviously a different thing. I'm OK with redefining this partial error class here.


fix: pass error and error_type to error_callback

BREAKING CHANGE: error_callback should accept additional keyword
arguments namely error and error_type

Codecov Report

Merging #37 (c84e636) into master (7252421) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         6    +1
  Lines          407       482   +75
=========================================
+ Hits           407       482   +75

Flag
Coverage Δ

tests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

pyrmq/consumer.py
100.00% <100.00%> (ø)

pyrmq/publisher.py
100.00% <100.00%> (ø)

pyrmq/tests/test_consumer.py
100.00% <100.00%> (ø)

pyrmq/tests/test_publisher.py
100.00% <100.00%> (ø)

pyrmq/__init__.py
100.00% <0.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 e5799a0...c84e636. Read the comment docs.


internal error related to ms-python.vscode

Type: Bug
Out of the blue I see the following error message in my console for any python module I open with vs code. I see the same (or very similar) message regardless of the python code:
An internal error occurred while parsing file "/Users/aphearin/work/repositories/python/dsps/dsps/utils.py": TypeError: _0x2f33cc[(_0x1efd68(...) + _0x1efd68(...))] is not a function
at _0xa6e677.dirExistsCached (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/server.bundle.js:1:902382)
at _0xa6e677._resolveAbsoluteImport (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:303694)
at _0xa6e677.resolveAbsoluteImport (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:296859)
at _0xa6e677._resolveBestAbsoluteImport (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:305905)
at _0xa6e677._resolveImportStrict (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:299332)
at _0xa6e677.resolveImportInternal (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:294521)
at _0xa6e677.resolveImport (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:290200)
at _0xa6e677.resolveImport (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/server.bundle.js:1:898287)
at i (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:510945)
at _0x4c3a07._resolveImports (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:511197)
at /Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:499381
at a.timeOperation (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1129990)
at /Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:499348
at t.LogTracker.log (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1092230)
at _0x4c3a07.parse (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:498098)
at N._parseFile (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:434006)
at N._bindFile (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:434964)
at /Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:436150
at t.LogTracker.log (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1092230)
at N._checkTypes (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:435861)
at /Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:420596
at runWithCancellationToken (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:843404)
at a.timeOperation (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1130032)
at N._runEvaluatorWithCancellationToken (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:426484)
at N.analyze (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:420355)
at t.analyzeProgram (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:923)
at _0x79f29.handleResumeAnalysis (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1021122)
at _0x79f29.handleAnalyze (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1021046)
at _0x79f29.handleAnalyze (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/server.bundle.js:1:139271)
at _0x79f29.onMessage (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1018726)
at _0x79f29.onMessage (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/server.bundle.js:1:138679)
at _0x79f29._onMessageWrapper (/Users/aphearin/.vscode/extensions/ms-python.vscode-pylance-2023.10.50/dist/pyright.bundle.js:1:1023516)
Extension version: 2023.18.0
VS Code version: Code 1.83.1 (Universal) (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:46:55.789Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info

Item
Value

CPUs
Apple M2 Max (12 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
64.00GB (26.96GB free)

Process Argv
utils.py --crash-reporter-id ce60b1b9-5d58-404f-9753-8bc020d6d08a

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30856253
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
0bi6i642:30841073
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingt:30859503
asynctok:30869155
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30865275
pythontbext0:30864172

Duplicate of #5009. We just shipped the fix for this in 2023.10.53.

OK great, thanks for the quick fix and also the quick reply @debonte!

can I do something about it for now ?
On Fri, Oct 27, 2023 at 4:44 PM Andrew Hearin @.***>
wrote:

OK great, thanks for the quick fix and also the quick reply @debonte
https://github.com/debonte!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/pylance-release/issues/5028#issuecomment-1783492093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIFFXFQMDAGKVZGHIXLXZUDYBQMMFAVCNFSM6AAAAAA6TKOCCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGQ4TEMBZGM
.
You are receiving this because you commented.Message ID:
@.***>

Install the latest prerelease build of the Pylance extension (2023.10.53).

I can see only 2023.10.50
On Fri, Oct 27, 2023 at 6:07 PM Erik De Bonte @.***>
wrote:

Install the latest prerelease build of the Pylance extension (2023.10.53).
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/pylance-release/issues/5028#issuecomment-1783561269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIFFXFRVWKPO77QPYFDMHLTYBQWAHAVCNFSM6AAAAAA6TKOCCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGU3DCMRWHE
.
You are receiving this because you commented.Message ID:
@.***>

Find Pylance in the Extensions pane and press the "Switch to Pre-Release" button:

yes, I needed to restart the computer
On Fri, Oct 27, 2023 at 6:17 PM Erik De Bonte @.***>
wrote:

Find Pylance in the Extensions pane and press the "Switch to Pre-Release"
button:
[image: image]
https://user-images.githubusercontent.com/12820898/278771101-ddfc48a9-87da-48e3-8853-5bb9ce132d5f.png
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/pylance-release/issues/5028#issuecomment-1783569088,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIFFXFXVNH444ZH6Z53EWYTYBQXJHAVCNFSM6AAAAAA6TKOCCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGU3DSMBYHA
.
You are receiving this because you commented.Message ID:
@.***>

fix doesn't work, i still get the EXACT same crash, i'm on the pre-release 2023.19.13001012 but its STILL crashing???!

@0x4D2D you need the latest prerelease of Pylance, not of the Python extension.

Just confirming that prerelease 2023.10.53 does indeed resolve this problem.

works for me too, and thank you so much :)

Install the latest prerelease build of the Pylance extension (2023.10.53).

works for me too, thanks!


Added tenant_id to automation request

If the tenant id is not passed in use the default tenant.

@gmcculloug @kbrock
Please review


ban:

Prerequisites

[X] I havent used any other script which could have caused the ban.

Script Version
Latest
Platform
Webapp
Safety Settings
1-11 second wait time only
Filter Used
None
Additional Information
Got banned after months using the autobuyer. Was going a little harder with it buying gold cards for 450 and selling for futbin price when 81+ SBC was out.
It was working great but I noticed 3 or 4 times the autobuyer stopped saying that the captcha had been triggered. I refreshed the webapp and done the captchas but that's obviously triggered the ban. I've been too scared to use the autobuyer's 'auto captcha'.
Should I have used this to prevent the ban?
I also was getting a few messages saying 'this user has performed too many requests' and I couldn't bid for 20mins - a few hours on occasions.
Here's the email from EA:
Hello,
Thanks for contacting us about your account action.
We got your note and did a full investigation of your account. After reviewing your case, we determined that we took the correct action in accordance with EA policies and procedures.
What this means
We have confirmed that your account accessed FIFA servers with something other than FUT or the official Web and Companion apps. Because of this, we will not remove the restrictions on your FIFA Account.
You break our rules (https://www.ea.com/terms-of-service#section6) if you:
• Use auto-buyers or other unofficial clients
• Use of external tools and/or software
• Send unsolicited information to EA servers
• Disrupt or manipulate information to and from EA servers
Any questions?
• Read up on how to play by the rules here: https://www.easports.com/fifa-rules
• You can also review the complete User Agreement. This is what you agree to when you play EA games or use EA services: http://terms.ea.com/
Thank you,
EA Terms of Service

I'm not familiar with the library, but does it implement Pin-Events which gets send in real-web-app.
I guess it does, right?
I'm just trying to figure out what might get accounts banned.
Another theory before was that if you don't use anti-captcha with a proxy, you get banned, but since you only accessed the captcha manually, it does not matter here.
I wrote a custom-made api and my accounts also sometimes gets banned, some still don't, and I don't know why. Any help here or brainstorming is appreciated


Add MarshalJSON method to the error validation structs.

Per https://github.com/golang/go/issues/10748 , marshalling an error creates unexpected results.
For example, marshaling validation.Errors results in a response like {"Email": {}, "Name": ""} where the error message is blank.

Thank you very much!


fanuc: disable Kinetic experimental repository devel jobs

As per subject.

Thanks for the suggestion @tfoote.


[firebase-auth] Error on send email verification (only android) not solved - alpha 42

The error below continue to happen (and is blocking) even on alpha package .42 and I'm really stuck :(
DETAILS
Packages:
"dependencies": {
    "@angular/animations": "~13.1.1",
    "@angular/common": "~13.1.1",
    "@angular/compiler": "~13.1.1",
    "@angular/core": "~13.1.1",
    "@angular/forms": "~13.1.1",
    "@angular/platform-browser": "~13.1.1",
    "@angular/platform-browser-dynamic": "~13.1.1",
    "@angular/router": "~13.1.1",
    "@nativescript/angular": "^13.0.0",
    "@nativescript/core": "~8.1.1",
    "@nativescript/firebase-auth": "^1.0.0-alpha.42",
    "@nativescript/firebase-core": "^1.0.0-alpha.42",
    "@nativescript/localize": "^5.0.4",
    "@nativescript/theme": "~3.0.1",
    "nativescript-ui-sidedrawer": "^10.0.2",
    "rxjs": "~7.4.0",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~13.1.1",
    "@angular/compiler-cli": "~13.1.1",
    "@nativescript/android": "8.1.1",
    "@nativescript/ios": "8.1.0",
    "@nativescript/types": "~8.1.1",
    "@nativescript/webpack": "~5.0.0",
    "@ngtools/webpack": "~13.1.1",
    "typescript": "~4.4.4"
  }

Source code:
signUpUserPassword() {
    firebase().auth()
<EMAIL_ADDRESS>'password')
      .then((cred) => {
        if (cred && !cred.user.emailVerified) {
          cred.user.sendEmailVerification()
        }
       })
      .catch(error => {
        console.error(error)
       })
  }

ERROR:
JS: ERROR Error: Uncaught (in promise): Error: java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter actionCodeSettings
JS: (file: src/webpack:/fidelity-card-client/node_modules/@nativescript/firebase-auth/index.android.js:344:0)
JS:     at ZoneAwarePromise(file: src/webpack:/fidelity-card-client/node_modules/zone.js/fesm2015/zone.js:1387:0)
JS:     at sendEmailVerification(file: src/webpack:/fidelity-card-client/node_modules/@nativescript/firebase-auth/index.android.js:338:0)
JS:     at (file: src/webpack:/fidelity-card-client/src/app/auth/userpassword/userpassword.component.ts:35:0)
JS:     at invoke(file: src/webpack:/fidelity-card-client/node_modules/zone.js/fesm2015/zone.js:372:0)
JS:     at onInvoke(file: src/webpack:/fidelity-card-client/node_modules/@angular/core/fesm2015/core.mjs:25457:0)
JS:     at invoke(file: src/webpack:/fidelity-card-client/node_modules/zone.js/fesm2015/zone.js:371:0)
JS:     at run(file: src/webpack:/fidelity-card-client/node_modules/zone.js/fesm2015/zone.js:134:0)
JS:     at (file:///data/d...

Can u try with 1.x version and lmk

This still occurs with 1.2.0.


Review the old organization specification

Start mocking up ideas for how users would interact with an organization page.

easily find organizations (discoverable)
short description, logo, members, highlighted tools and workflows (generate by stars)
how do people identify that they are part of an org? How do we verify they are telling the truth
how would these show up in search?

Specification done


Give a warning/error if file in .dockstore.yml missing

Feature Request
I accidentally specified healthcheck.json instead of healthcheck.sh in the .dockstore.yml for my service. I did not realize I had made the mistake until I tried to run the service locally.
It would be nice if there were some sort of error or warning in the UI for cases like this. Probably requires a backend change too.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.9
┆Issue Number: DOCK-1069

Can be hooked up as a validation error

Works on UI 2.5.1-rc.1 and WS 1.9.0-alpha.7


Codecov is broken

Codecov is broken in main and in the PRs.
Unable to find commit in Github shows in codecov.io

This is now fixed - it was some intermittent codecov issue.


Allow tuning thread parameters for callback API server and client

I'd like to be able to tune thread paramemters in GRPC. Specifically the thread count and stack size when using the callback API.
Is your feature request related to a problem? Please describe.
When running on an embedded system, or for whatever the use case, I feel users should be allowed to choose these parameters, if for no other reason than for verifying the performance tradeoffs.
Describe the solution you'd like
It doesn't need to be fancy. E.g:
--- a/src/cpp/common/completion_queue_cc.cc
+++ b/src/cpp/common/completion_queue_cc.cc
@@ -52,8 +52,15 @@ struct CallbackAlternativeCQ {
     refs++;
     if (refs == 1) {
       cq = new CompletionQueue;
-      int num_nexting_threads =
-          grpc_core::Clamp(gpr_cpu_num_cores() / 2, 2u, 16u);
+
+      int num_nexting_threads = grpc_core::Clamp(gpr_cpu_num_cores() / 2, 2u, 16u);
+      if (auto n_threads = std::getenv("GRPC_CALLBACK_NEXTING_THREAD_COUNT"))
+          num_nexting_threads = std::stoul(n_threads);
+
+      grpc_core::Thread::Options options;
+      if (auto stack_size = std::getenv("GRPC_CALLBACK_NEXTING_STACK_KB"))
+          options.set_stack_size(std::stoul(stack_size) * 1024);
+
       nexting_threads = new std::vector<grpc_core::Thread>;
       for (int i = 0; i < num_nexting_threads; i++) {
         nexting_threads->emplace_back(
@@ -93,7 +100,7 @@ struct CallbackAlternativeCQ {
                 functor->functor_run(functor, ev.success);
               }
             },
-            cq);
+            cq, nullptr, options);
       }
       for (auto& th : *nexting_threads) {
         th.Start();

Describe alternatives you've considered
None of the APIs in grpc make these parameters readily available, it might be possible to implement this in a way that lets these parameters be set for all implementation models.
Additional context
grpc seems to a decent match for some high-power embedded products, but these services might want to control resource usage, especially memory footprint.

I guess I'd like to add to this request that the rest of the global threads should also be made configurable wrt stack size.

Thanks @xim. Going forward, we have a story for this with the the EventEngine API. It will give applications full control over threading behavior if that level of control is needed. Regarding your ResourceQuota PR https://github.com/grpc/grpc/pull/31662, we may want to provide an equivalent for the callback API as you suggested, but it isn't clear that's the mechanism we should use for it, as the callback API implementation is going to change. We'll be better suited to revisit this feature request in a few months.

The ability of tuning thread numbers is useful. In many situations the client just handles a single request at a time. But it still spawns many event_engine threads same as the number of cores, which is a waste of resources.

Is there any plan to support this? When we want to start more than 1 grpc server, this seems to create too many threads (much more than we expects)

is it still an open issue about setting thread stack size in the GRPC server?


add_age_cat() breaks should behave with a +1 increment

Issue:
To be able to have the following thresholds: 0-17, 18-59, 120+, the current breaks must be written not intuitively as follows:
 add_age_cat("resp_age", breaks = c(-1, 17, 59, 120))

Proposed change:
add_age_cat("resp_age", breaks = c(0, 18, 60, 121))

@lanawwas assigning it to you since you worked on it. Feel free to disagree and close the issue.

We move this to the next release, v2024.1.2

Need fixing of num_cat()


[ADD ME TO THE ORGANIZATION]

Name - Nisarga Adhikary
Interests - Full Stack Development
Why do you want to join?

I want to join because
I want to grow my network and learn new stuff.

You can also join our Discord community here
Feel free to check out other cool repositories of the DevsInTech Community here.

@ni5arga Thanks for your interest. Invitations have been sent to you. Kindly accept it and make your membership public.


Can't execute SENTINELS commands, only happens to the last sentinel server

I'm using Redis with 1 master and 2 slaves, watched over by 3 sentinels on 3 ports 8359, 8360 and 8361 from a single node. When executing through redisson the program works perfectly fine except that every now and then it spews out this error:
[redisson-netty-4-5] ERROR org.redisson.connection.SentinelConnectionManager - Can't execute SENTINEL commands on 10.60.xxx.xxx/10.60.xxxx.xxxx:8361
org.redisson.client.RedisTimeoutException: Command execution timeout for  10.60.xxx.xxx/10.60.xxxx.xxxx:8361
	at org.redisson.client.RedisConnection$2.run(RedisConnection.java:212)
	at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
	at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:125)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:745)

This doesn't really affect anything so far, the sentinels still send data properly to the clients but I have ever wondered what might be the cause of this? It only happens to the last port 8361, the two other ports are unaffected albeit on the same node.

Have you checked your network?

How to solve? I had the same problem

i also have same problem

Fixed in https://github.com/redisson/redisson/issues/3404