Added very simple AJAX support.

I added some really simple AJAX support. I'm not entirely sure if it's in line with the project, but I thought I'd just submit a pull request. It currently only supports GET and POST. This is the syntax:
    $.ajax("https://httpbin.org/", {}, function() {
        console.log(this.responseText);
    })

    $.ajax("https://httpbin.org/post/", {method: "POST", postParams: {name: "TheGreatPanda", repo: "kenwheeler/cash"}, function() {
        if(this.status != 200) {
            console.log("Error posting!!1");
        } else {
            console.log("All's well");
        }
    });

Thanks for taking the time to put that together. This functionality is something we've been discussing on #103 (with some example code). If it is implemented, it will likely be as a separate file that can be included if your project requires. /dist/extras/cash.ajax.min.js or something similar.
I'll definitely take a look at your code to see how we can get this functionality to a good state. Feel free to contribute to the discussion on #103. Thanks!

Thanks for the feedback!

Is anybody still looking at this?

Pretty much just me maintaining cash these days. Right now, there are some more pressing bugfixes and improvements in the pipeline, and I'm slammed with my dayjob. I don't know exactly when AJAX may be looked at.
Feel free to write a plugin as a separate repository and I can link it from the README. If enough traction gets gained, then we may be able to roll it into the main library.

I wouldn't go for the ajax support that would make cash overburden and more hectic for maintainers, it should be DOM only affair.

@vivekimsit This is the discussion we've had on #103. Once a basic implementation is in place, then it shouldn't be difficult to maintain, and it would be offered as a separate file to not increase the library's size.

Again, the functionality is something that's worthwhile and there aren't any lightweight options that I've been able to find. Fetch isn't prime-time ready, the poly-fill is huge, and the syntax is quite foreign. A simple equivalent to jQuery's ajax would be extremely helpful for cases where you just need to grab something dynamically or send data back.

@shshaw its not about size its about responsibilities there are already fully tested ajax libs out there, I have no issue but you yourself said in previous comment that you are overburdened.

unfetch is a good fetch polyfill that's really small

Bare minimum fetch polyfill in 500 bytes

Maybe use https://github.com/typicode/fetchival?

Closing this as it's a very old PR.
Please read this comment and feel free to re-submit it again if you think it's appropriate.


Re-write test generator with templates and unit tests

I decided to re-write the test generator based on template files instead of nikic/php-parser. It had too many limitations. And I didn't want to dig into another huge PHP generation library. Producing the code is not the main problem here.
While learning about the data structure behind the canonical data, I understood that the basic problem is not writing the PHP code but interpreting the data. Based on that idea, showing everything unknown to the user of the generator is key to informed usage.
So I developed a tree of data structures for the known data using TDD. Rendering these structures using templates simplified the process of dumping the code to the file. I documented all that in contribution/documentation/generator.
It now works for all remaining practice exercises, but does not produce the students file, yet.
What do you think about this approach, @homersimpsons @tomasnorre ?

I won't get time to review this before this weekend (31st March).
I know nothing about plantuml files though.
I really think it would be more test-able using twig templating and flysystem memory storage for tests.

@homersimpsons Don't worry about PlantUML, it is only some Code-To-Diagram application I know. The SVGs in the documentation are made from those files, there is nothing more to it.
I chose plain text files for templates and PHP sprintf() to fill in stuff. It's very basic.

@homersimpsons Don't worry about PlantUML, it is only some Code-To-Diagram application I know. The SVGs in the documentation are made from those files, there is nothing more to it.

Wouldn't mermaid diagram works?

I chose plain text files for templates and PHP sprintf() to fill in stuff. It's very basic.

Okay, but we may be limited to use some loops or conditions.

I'll not find time to read this before after Easter.


Validate user/admin token

Maybe I don't understand the concept fully, but I would like to have a option to validate my token.
I use the API from pocketbase to connect to DB and I can not find a endpoint for validating a token. I don't want to auth with password to get a new token or making some nonsensical request, for example to view the records to check if it's valid. Is there some way to validate a user/admin auth token?
Thanks

We don't have an endpoint that will validate only the token at the moment (it could be added eventually with https://github.com/pocketbase/pocketbase/issues/718).
The easiest way to validate a token would be to call refresh (eg. await pb.admins.refresh()). It throws an error on missing/invalid/expired AuthStore token.


Update migration-isv-guidance.md

Content updates:
Updates to guidance; corrected links.

thx @JoanneHendrickson, I did fix one link as we should not have locale on the URLs - to ensure that the multilingual process works, other than that, getting published in next 30 min.


Add support for disabling leagues

This removes the disabled 4v4 no share league from the leaderboard in the client.
At the moment this breaks the loading of the leaderboard. It will only become functional when the new api version is deployed that exposes the "enabled" field. So be careful with merging.

With the latest api update this works now


Line chart point overrides/distorts when legend is false.

Line chart point overrides/distorts when legend is false.
As per the attached snapshot, points in the line chart are not completely visible and are distorted from top and bottom.
In case of right and left, maxRotation property has been applied and margin is available in right and left.
Expected Result :
Point should be completly visible
Actual Results:
Points are distorted/cut from top and bottom

Refer Code Pen URL - https://codepen.io/manhar-developer/pen/YJjZdd

Hi @nagix ,
I tried the layout property but it does not solve the issue. It increases the outer space and the line chart still overlaps. Refer the screenshot

In your Code Pen code, I don't see any problem if layout.padding is set. Can you reproduce the problem there?

Hi @nagix
Refer the snapshot of the graph which is being made.
Option property which I am using for plotting graph
{
legend: {
  display: false,
  position: 'top',
  labels: {
    boxWidth: 10
  }
},

showAllTooltips: true,

plugins: {
  datalabels: {
    display: false,
    align: 'top',
    // backgroundColor: '#efefef',
    borderRadius: 5,
    color: 'black'
  },
  deferred: {
    xOffset: 0,
    yOffset: 0,
    delay: 500
  }
},
tooltips: {
  mode: 'index',
  callbacks:  {
    label: function (tooltipItem, data) {
      var value = data.datasets[0].data[tooltipItem.index];
      if (value ) {
        value = value.toString();
        value = value.split(/(?=(?:...)*$)/);
        value = 'Change % : '+value.join(',') + '%';
      }

      return value;
    },
    title: function(tooltipItem, data) {
      return 'Site : ' + tooltipItem[0].xLabel;
  }
  }, // end callbacks:
},
scales: {
  xAxes: [{

    offset:true,
    gridLines: {
      display: false,
    },
    ticks: {
      padding: 10,
      display: false
    }
  }],
  yAxes: [{
    stacked: true,
    maxBarThickness: 30,
    gridLines: {
      display: false
    },
    ticks: {
      display: true
    }
  }]
},
scaleShowVerticalLines: false,
responsive: true,

}

I used your options above, but couldn't reproduce the problem. Can you reproduce the problem in Code Pen?

Are you using chartjs-plugin-zoom? It will clip the chart area like this.

Thanks @nagix . I have removed the chartjs-plugin-zoom. It worked. Thanks for solving the issue


vimrc works incorrectly

I just generated a .vimrc from Vim Bootstrap as I did on my OS X, but it seems that the console or tty works incorrectly so that the layout of Vim is corrupted.
.vimrc works on iTerm2 on OS X

nearly the same .vimrc works incorrectly

Thanks for reporting this. How did you copy .vimrc from the auto generated location to ~/.vimrc? Did you do this inside subsystem or outside?

@dethoma Vim Bootstrap provides an endpoint for downloading. I just curl it and pipe to ~/.vimrc inside the subsystem. I'm not sure if it's due to unsupported color control code for Windows console?

I think I've figured out at least why the color doesn't seem to be right.
vim-bootstrap by default uses the "molokai" color scheme from https://github.com/tomasr/molokai.
This uses 256 colors to syntax highlight.
Commenting out line ~174 in the generated .vimrc should at least restore the colors:
173 if !exists('g:not_finsh_neobundle')
174   "colorscheme molokai
175 endif

The rest of the weirdness look like it might be because the .vimrc is requesting the "Menlo" font, but I need to investigate that a bit more.

After some investigation it seems like the set guifont command in the generated .vimrc won't  do anything outside of gvim, the arrows you're seeing are the best that whatever font is selected can do.

Fixed internally. Bubbling up through the build system.

@bitcrazed Nice! Does it mean the font color and background all work well in Vim and shell?

Closing as fixed, please reopen if this continues to repro on 14366 or later.

@bitcrazed @benhillis I have tried the latest build (14367), and it does has some improvement. But for the color difference, is it due to system limitation?

Yes, we don't yet have full 256 color support so we approximate colors the best we can. @zadjii-msft can give more detail here, but there will likely be some color differences in Bash on Windows, although we hope to remedy this problem over time.


Alpha release

Codecov Report

Merging #58 (375d8ef) into alpha (3933b11) will not change coverage.
The diff coverage is 86.95%.

@@           Coverage Diff           @@
##            alpha      #58   +/-   ##
=======================================
  Coverage   80.76%   80.76%
=======================================
  Files          10       10
  Lines         863      863
=======================================
  Hits          697      697
  Misses        133      133
  Partials       33       33

Impacted Files
Coverage Δ

client/client.go
0.00% <ø> (ø)

client/database.go
32.43% <ø> (ø)

filter/filter.go
100.00% <ø> (ø)

projection/projection.go
100.00% <ø> (ø)

update/update.go
100.00% <ø> (ø)

driver/http.go
77.08% <85.00%> (ø)

driver/driver.go
97.91% <100.00%> (ø)

driver/grpc.go
88.38% <100.00%> (ø)

Continue to review full report at Codecov.

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


: Reloading issue

Description
when we reload the website the URL matching issue appears
Steps to reproduce
there are some URL issue check again the website URL
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[ ] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

you can work on this!

Ok

hey @dheeraj1129  are you working on this issue or not because i wanted to work on this issue

hey @dheeraj1129 are you working on this issue or not because i wanted to work on this issue

I think you may work on this as the OP isn't active anymore


invalid multibyte char (US-ASCII) in MS SQL multibyte tests

Adding the magic comment # encoding: utf-8 at the top of the file fixes it. Pull request coming.

merged


feat(STONEBLD-1773): allerting for SLOs for build-service

@rcerven please include unit tests for these alerting rules. When you do, please also split this PR by rule to make the review process go quicker.

we don't need to report specific percentage because if alert goes above threshold it is already issue for us

@rcerven please rebase this PR when you get a chance. The check failures are probably related to recent updates in #147 . Attn: @hmariset

rebased


Creating generate_api.py

cc @hzyi-google this is the script you can use next week

Can there be a java_discogapic target too?

@andreamlin I won't personally have time to add it - that sounds essential though!


Added Siamese Model

@dapladoc thank you for the review! I guess after a series of experiments we return to the model and rework it, including parameters handling


Data services as factories and to return promises

According to this angular style guide, factories should be used instead of services for consistency.
Also, data services should return promises instead of resolving them.
@Sneezoo: what is your opinion on this?
Given my total inexperience as angular dev, I'd like to orient myself on the most widely spread style if it makes sense for you.

Factories vs Services:
There's really no matter about using services or factories as they are basically the same thing - except the one is a newed function while the other is called directly (invoked). For consistency you just use one of both, avoiding the other.
But we use ES2015 features like classes and inheritance. As factories are only available as invoked functions you can't use these features. As you might have seen I already used inheritance, providing some basic validation logic.
The guide you are referring to doesn't use ES2015 and therefore factories has been easier to use.
Promises in Data Services
You still get Promises back from the data service functions. But there's a step between as the communication services are encapsulated so only they are responsible for HTTP codes and every communication related topic. And then there are the services where the data is stored. These services do some data validation. Both of them return promises, but both do a step between to check if everything is okay before resolving and for encapsulation, too.

Are there any objections, any suggestions or questions?
If not I would close this task in like a week so if there is any more about this topic.
Shall this explanation be added to CONTRIBUTE or README?

@Sneezoo Thanks! I'm a bit overwhelmed due to the ongoing event here, but I think I understood your explanation and can use the architecture.
There's another related topic: I got introduced into ES7 async await functionality by Chandi and @nicksellen , which seems to be really nice syntactic sugar over Promises. What is your opinion on them? It seems much much easier to read: http://stackabuse.com/node-js-async-await-in-es7/

Async / await indeed is really cool.. But you will have to look out if the data reaches the controllers. You either use promises there or you try something like
$scope.user = await users.getActiveUser();
$scope.$apply();

Or you use ng-async.
Source
I don't know if it's valuable that much. I'd rather work on functionality (if I even have time for that) than introducing new codestyles.. (again)
But if you like to do that we should do that now before starting on any other functionality so we have a final all-agreed style of code. Try it, see it how it looks and works.

Ok, I might just use plain promises until AngularJS supports async/await more nicely. Thank you very much for your input!


Bugfixes for the installer regarding s3 bucket

Installer was not creating the s3 bucket and was not waiting for its creation
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area installer
What this PR does / why we need it:
First time installation to account will fail otherwise
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

4a96033 Upgrade to aws sdk v2 1.0.0 which has waiters

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

4a96033 Upgrade to aws sdk v2 1.0.0 which has waiters

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

LGTM label has been added.  Git tree hash: 351c0674da547fb6350bb5e4806e29c2c4543ceb

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 351c0674da547fb6350bb5e4806e29c2c4543ceb

New changes are detected. LGTM label has been removed.

New changes are detected. LGTM label has been removed.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: d84f966b6cf51ef3a99ddd283863984b17ed15bc

LGTM label has been added.  Git tree hash: d84f966b6cf51ef3a99ddd283863984b17ed15bc

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


No random in test_circuit_properties

Summary
This PR removed the randomness in test/python/circuit/test_circuit_properties.py. does @kdk think it should be moved to randomized testing? Or can be just eliminated?

This LGTM but it looks like there is a linter failure now because of the unused ordereddict import

Fixed! Thanks @mtreinish


Quick Demo: Add ports to weaviate service and use in newspublications

I tried running the Quick start demo over at https://www.semi.technology/developers/weaviate/current/getting-started/quick-start.html and had trouble with the linked docker-compose file. I could not access the weaviate service through localhost:8080 as described.
After adding the ports section in this PR this started to work. I'm not a Docker expert so there might be other / better ways to achieve this, but I wanted to raise this to save
other folks time.
Also, I changed to port in the newspublications section because before I did I didn't see any schema or objects like the quick start described. After the change I saw
lots of activity of the t2v-transformers logs and eventually also some data, so I guess this is also necessary for data to get ingested.

Thanks @cbuescher 🙏


Check viability of sending chat message to newly joined players.

Check if its possible to, upon a user joining the hosted game, list of loaded rules are printed to the screen via Demeo's chat system.

Update:  Yep, possible.
Game should print ruleset/rules upon each player joining.


Doubts in using align

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win 10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
{<IP_ADDRESS>57 }

Language
{C++ }

Segment
{others }

Issue Description
We are trying to measure the distances in 3D between some objects. We calculate the 3D coordinates of the points, export them, and then measure in CloudCompare (an external program).
We calculate the 3D coordinates like its described in this article:
https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0#processing-blocks-helpers
We are wondering if we must align the frames to depth, to color or not align before calculating the points. The aligned process is described in the article too.
We did some tests. We exported the point cloud without using align (default), using align to depth and using align to color. The results are slightly different. The color of the points is moved between the default and align to depth but the points are in the same coordinates and in align to depth some points do not have color. The points are translated between the default and align to color result.
So, how should we do it?

Hi @AJMena   There are some pre-made options available for measuring between two points.  It can be done with the Measure option in the 3D point cloud mode of the RealSense Viewer program (dragging a line with the mouse between two points on the point cloud), or with the SDK's rs-measure C++ example program.
https://github.com/IntelRealSense/librealsense/tree/master/examples/measure
rs-measure takes the approach of aligning color to depth instead of the most commonly used alignment method of depth to color.  Developing a RealSense measuring application based on rs-measure may enable you to not have to use an external solution such as CloudCompare.
I have a recollection that one of the reasons for choosing color to depth in that example program though was simply to demonstrate how to perform color to depth alignment in the SDK, and a Python conversion of rs-measure by a RealSense user used depth to color alignment instead.  So the difference between choosing one method or the other may be minimal, as your own tests suggested.
The alignment process aligns the data to the field of view (FOV) size of the source that you are aligning to.  For example, depth to color alignment aligns the depth to the color FOV size.  On the D435 and D435i models, the color FOV is smaller than the depth FOV, which may result in depth coordinates on the outer regions of the image being excluded from the image after alignment.  The rs-align example explains these principles in its opening paragraph.
https://github.com/IntelRealSense/librealsense/tree/master/examples/align
If you are using the Windows version of the SDK, a pre-built executable version of rs-measure that can be launched with a double-leftclick can be found in the SDK's Tools folder.  An easy way to find this folder is to right-click on the RealSense Viewer's launch sortcut icon on the  Windows desktop and select the Open file location menu option.

Hello MartyG, thanks for the quick response.
I have already checked all that information before and test the demos. But I still have doubts.
In this example the function "calculate" is used to obtain the coordinates of the points:
https://github.com/IntelRealSense/librealsense/tree/master/examples/pointcloud
But there is not any align done before. So, is it correct? Maybe that is omitted for simplification.

There are a couple of different approaches that can be used for point cloud generation.
Using pc.calculate could be considered the most quick and simple way of generating a point cloud.  If you just require a point cloud and do not need to do further processing with the data then this may be an approproate option.
Alternatively, a point cloud can also be generated using alignment and also deprojecting the pixels with an instruction such as rs2_deproject_pixel_to_point (essentially converting 2D pixels into 3D points).  This approach may be used if a program needs to retrieve the XYZ values of coordinates.
The Projection documentation describes rs2_deproject_pixel_to_point with the quote below:

Deprojection takes a 2D pixel location on a stream's images, as well as a depth, specified in meters, and maps it to a 3D point location within the stream's associated 3D coordinate space.  It is provided by the header-only function rs2_deproject_pixel_to_point

Understood. So, for the moment we will use only pc.calculate.
Thank you for your help.

You are very welcome.   Good luck!


[e2e]: container tag branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v27.0.22
Run: https://github.com/slsa-framework/example-package/actions/runs/3570703661
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.branch1.default.slsa3.yml
Trigger: push
Branch: v27.0.22
Date: Tue Nov 29 03:22:33 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v27.0.23
Run: https://github.com/slsa-framework/example-package/actions/runs/3571408531
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.branch1.default.slsa3.yml
Trigger: push
Branch: v27.0.23
Date: Tue Nov 29 05:52:48 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v27.0.24
Run: https://github.com/slsa-framework/example-package/actions/runs/3580009663
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.branch1.default.slsa3.yml
Trigger: push
Branch: v27.0.24
Date: Wed Nov 30 03:22:15 UTC 2022
Tests are passing now. Closing this issue.


Request 2021.02.1 rakudo-star Docker official images

Noticed in RWN that the new Rakudo Star is out, but https://hub.docker.com/_/rakudo-star has not been updated yet.  I'm not sure who to ask, but this is listed as the "Where to file issues" link, so I figured I'd start there.
(FWIW, I'm asking because there are actually fixes in 2021.02.1 and current zef/fez that I want to include in Docker images that I am making, not just for the fun of the bump.  :grin:)

Will do. Thanks for reporting it.
El lun., 8 mar. 2021 22:16, Geoffrey Broadwell<EMAIL_ADDRESS>escribió:

Noticed in RWN that the new Rakudo Star is out, but
https://hub.docker.com/_/rakudo-star has not been updated yet. I'm not
sure who to ask, but this is listed as the "Where to file issues" link, so
I figured I'd start there.
(FWIW, I'm asking because there are actually fixes in 2021.02.1 and
current zef/fez that I want to include in Docker images that I am
making, not just for the fun of the bump. 😁)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Raku/docker/issues/43, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAD5ALJ36QRAFJRCKNXDTTCU5D7ANCNFSM4Y2EXHBA
.

This is related to #46

I've created https://github.com/docker-library/official-images/pull/10300 to update Docker official image to 2021.04.

2021.04 is now available via Docker Hub, both as :latest and :2021.04.
I'm going to assume this will solve your issue, so I'm going to close the issue, but if this doesn't solve the issue, feel free to re-open.

Yup, solved, thank you!  :-)


install deps on venv

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4447346). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   95.02%
=========================================
  Files             ?       42
  Lines             ?      864
  Branches          ?        0
=========================================
  Hits              ?      821
  Misses            ?       43
  Partials          ?        0

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 4447346...739f5ac. Read the comment docs.


Ficha de Gurps

gurps-3e-ficha-de-personagem-v-bruno-ikeda-biblioteca-elfica.pdf

@Oparrudo what do you want to say with this issue?

It's unclear what this issue is references so I'm going to close it. @Oparrudo if you want to make a new issue with an explanation of what this is referring to, please feel free.


usb.core.USBError: [Errno 19] No such device (it may have been disconnected)

pyusb==1.1.0
When a HID device has two interfaces, one is the analog keyboard output, the other is the normal communication channel, this API can't work normally. When I switch to the normal interface, I will prompt the title error. This problem can be perfectly solved in Java, Android and C #. I don't know if it can be solved in this API, thank you

2020-12-29 10:57:32,516 DEBUG:usb.backend.libusb1:_LibUSB.init(<WinDLL 'C:\Windows\system32\libusb-1.0.dll', handle 7ffccc380000 at 0x1b45aeff7c8>)
[timestamp] [threadID] facility level [function call]
[ 0.000000] [000046a0] libusb: debug [libusb_init] created default context
[ 0.000000] [000046a0] libusb: debug [libusb_init] libusb v<IP_ADDRESS>97
[ 0.000000] [000046a0] libusb: debug [windows_init_dlls] Will use CancelIoEx for I/O cancellation
[ 0.000998] [000046a0] libusb: debug [get_windows_version] Windows 10 64-bit
[ 0.000998] [000046a0] libusb: debug [windows_init_clock] hires timer available (Frequency: 10000000 Hz)
[ 0.000998] [000046a0] libusb: debug [windows_init_clock] timer thread will run on core #0
[ 0.001994] [000046a0] libusb: debug [htab_create] using 1021 entries hash table
[ 0.011969] [000046a0] libusb: info [winusbx_init] libusbK DLL is not available, will use native WinUSB
[ 0.013964] [000046a0] libusb: debug [winusbx_init] initalized sub API libusbK
[ 0.014968] [000046a0] libusb: debug [winusbx_init] initalized sub API libusb0
[ 0.014968] [000046a0] libusb: debug [winusbx_init] initalized sub API WinUSB
[ 0.016954] [000046a0] libusb: info [windows_init] UsbDk backend is not available
[ 0.016954] [000046a0] libusb: debug [usbi_add_pollfd] add fd 0 events 1
2020-12-29 10:57:32,534 INFO:usb.core:find(): using backend "usb.backend.libusb1"
2020-12-29 10:57:32,535 DEBUG:usb.backend.libusb1:_LibUSB.enumerate_devices()
[ 0.017952] [000046a0] libusb: debug [libusb_get_device_list]
[ 0.035904] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [5F]
[ 0.035904] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [60]
[ 0.036900] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [61]
[ 0.036900] [000046a0] libusb: debug [get_api_type] driver(s): plser
[ 0.036900] [000046a0] libusb: debug [get_api_type] upper filter driver(s): serenum
[ 0.036900] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [25]
[ 0.037897] [000046a0] libusb: debug [get_api_type] driver(s): BTHUSB
[ 0.037897] [000046a0] libusb: debug [get_api_type] lower filter driver(s): ibtusb
[ 0.037897] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [3F]
[ 0.038895] [000046a0] libusb: debug [get_api_type] driver(s): AX88772
[ 0.038895] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [45]
[ 0.039893] [000046a0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.039893] [000046a0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.039893] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [46]
[ 0.039893] [000046a0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.040892] [000046a0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.040892] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [47]
[ 0.040892] [000046a0] libusb: debug [get_api_type] driver(s): WUDFRd
[ 0.040892] [000046a0] libusb: debug [get_api_type] lower filter driver(s): WinUsb
[ 0.041889] [000046a0] libusb: debug [get_api_type] matched lower filter driver name against WinUSB
[ 0.041889] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [48]
[ 0.042885] [000046a0] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.042885] [000046a0] libusb: debug [get_api_type] matched driver name against HID API
[ 0.043885] [000046a0] libusb: debug [winusb_get_device_list] allocating new device for session [49]
[ 0.043885] [000046a0] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9D2F&SUBSYS_16041D72&REV_21\3&11583659&0&A0' bus number 1
[ 0.047872] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [5F]
[ 0.047872] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.047872] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.048868] [000046a0] libusb: debug [init_device] (bus: 1, addr: 13, depth: 2, port: 4): 'USB\VID_0BDA&PID_5411\6&191677B0&1&4'
[ 0.049869] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [25]
[ 0.049869] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.049869] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 39 bytes)
[ 0.049869] [000046a0] libusb: debug [init_device] (bus: 1, addr: 14, depth: 3, port: 1): 'USB\VID_067B&PID_23C3\DLAZB19C116'
[ 0.050863] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [60]
[ 0.050863] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.051862] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 25 bytes)
[ 0.051862] [000046a0] libusb: debug [init_device] (bus: 1, addr: 1, depth: 1, port: 1): 'USB\VID_05E3&PID_0608\5&E4A4C6&0&1'
[ 0.052862] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [45]
[ 0.052862] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.052862] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 39 bytes)
[ 0.052862] [000046a0] libusb: debug [init_device] (bus: 1, addr: 6, depth: 2, port: 1): 'USB\VID_0B95&PID_772B\C1A896'
[ 0.053855] [000046a0] libusb: debug [init_device] (bus: 1, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&F6625D6&0&0'
[ 0.053855] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [47]
[ 0.054854] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.054854] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 637 bytes)
[ 0.054854] [000046a0] libusb: debug [init_device] (bus: 1, addr: 3, depth: 1, port: 5): 'USB\VID_04F2&PID_B5A3\5&E4A4C6&0&5'
[ 0.055849] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [46]
[ 0.055849] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.055849] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 66 bytes)
[ 0.055849] [000046a0] libusb: debug [init_device] (bus: 1, addr: 19, depth: 2, port: 3): 'USB\VID_03EB&PID_2421\123123123123'
[ 0.056847] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [48]
[ 0.056847] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.056847] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 62 bytes)
[ 0.056847] [000046a0] libusb: debug [init_device] (bus: 1, addr: 4, depth: 1, port: 6): 'USB\VID_04F3&PID_0C1A\5&E4A4C6&0&6'
[ 0.057844] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [49]
[ 0.059840] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.060838] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.060838] [000046a0] libusb: debug [init_device] (bus: 1, addr: 2, depth: 1, port: 4): 'USB\VID_1EA7&PID_10C0\5&E4A4C6&0&4'
[ 0.061834] [000046a0] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.061834] [000046a0] libusb: debug [winusb_get_device_list] found existing device for session [3F]
[ 0.062833] [000046a0] libusb: debug [init_device] found 1 configurations (active conf: 1)
[ 0.062833] [000046a0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 177 bytes)
[ 0.062833] [000046a0] libusb: debug [init_device] (bus: 1, addr: 5, depth: 1, port: 7): 'USB\VID_8087&PID_0A2B\5&E4A4C6&0&7'
[ 0.066821] [000046a0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\ELAN2301&COL01\5&16BE506D&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.066821] [000046a0] libusb: debug [winusb_get_device_list] setting HID interface for [49]:
[ 0.067820] [000046a0] libusb: debug [set_hid_interface] interface[0] = \.\HID#VID_1EA7&PID_10C0#6&46BDC38&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.067820] [000046a0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\ELAN2301&COL02\5&16BE506D&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 0.068816] [000046a0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\ELAN2301&COL03\5&16BE506D&0&0002' (non USB HID, newly connected, etc.) - ignoring
[ 0.068816] [000046a0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\WSTADEF\3&2DA71541&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.068816] [000046a0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\ELAN2301&COL04\5&16BE506D&0&0003' (non USB HID, newly connected, etc.) - ignoring
[ 0.070810] [000046a0] libusb: debug [winusb_get_device_list] setting composite interface for [46]:
[ 0.070810] [000046a0] libusb: debug [set_composite_interface] interface[0] = \.\HID#VID_03EB&PID_2421&MI_00#8&6AEAA9B&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.096741] [000046a0] libusb: debug [winusb_get_device_list] setting composite interface for [46]:
[ 0.112698] [000046a0] libusb: debug [set_composite_interface] interface[1] = \.\HID#VID_03EB&PID_2421&MI_01#8&1E7236E0&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}#KBD
2020-12-29 10:57:32,632 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>)
[ 0.115691] [000046a0] libusb: debug [libusb_get_device_descriptor]
2020-12-29 10:57:32,634 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45C8CDE48>)
[ 0.116688] [000046a0] libusb: debug [libusb_get_device_descriptor]
2020-12-29 10:57:32,635 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>)
[ 0.118684] [000046a0] libusb: debug [libusb_get_device_descriptor]
2020-12-29 10:57:32,637 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45C8CDF08>)
[ 0.123670] [000046a0] libusb: debug [libusb_get_device_descriptor]
2020-12-29 10:57:32,645 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45C8CDB48>)
[ 0.131647] [000046a0] libusb: debug [libusb_get_device_descriptor]
2020-12-29 10:57:32,674 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45C8CDF48>)
[ 0.173535] [000046a0] libusb: debug [libusb_get_device_descriptor]
2020-12-29 10:57:32,696 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>)
[ 0.182514] [000046a0] libusb: debug [libusb_get_device_descriptor]
[ 0.184506] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.14
[ 0.190490] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.13
[ 0.190490] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.6
[ 0.191488] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.3
[ 0.192485] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.4
[ 0.193494] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.2
[ 0.193494] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.5
<class 'usb.core.Device'>
2020-12-29 10:57:32,711 DEBUG:usb.backend.libusb1:_LibUSB.get_configuration_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0)
[ 0.195477] [000046a0] libusb: debug [libusb_get_config_descriptor] index 0
<class 'usb.core.Configuration'>
2020-12-29 10:57:32,737 DEBUG:usb.backend.libusb1:_LibUSB.get_configuration_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0)
[ 0.221421] [000046a0] libusb: debug [libusb_get_config_descriptor] index 0
2020-12-29 10:57:32,740 DEBUG:usb.backend.libusb1:_LibUSB.get_interface_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0, 0, 0)
2020-12-29 10:57:32,740 DEBUG:usb.backend.libusb1:_LibUSB.get_configuration_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0)
[ 0.224400] [000046a0] libusb: debug [libusb_get_config_descriptor] index 0
<generator object find_descriptor..desc_iter at 0x000001B45C87DEC8>
2020-12-29 10:57:32,742 DEBUG:usb.backend.libusb1:_LibUSB.get_endpoint_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0, 0, 0, 0)
2020-12-29 10:57:32,743 DEBUG:usb.backend.libusb1:_LibUSB.get_interface_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0, 0, 0)
2020-12-29 10:57:32,743 DEBUG:usb.backend.libusb1:_LibUSB.get_configuration_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0)
[ 0.226395] [000046a0] libusb: debug [libusb_get_config_descriptor] index 0
2020-12-29 10:57:32,744 DEBUG:usb.backend.libusb1:_LibUSB.get_endpoint_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 1, 0, 0, 0)
2020-12-29 10:57:32,745 DEBUG:usb.backend.libusb1:_LibUSB.get_interface_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0, 0, 0)
2020-12-29 10:57:32,745 DEBUG:usb.backend.libusb1:_LibUSB.get_configuration_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0)
[ 0.229386] [000046a0] libusb: debug [libusb_get_config_descriptor] index 0
2020-12-29 10:57:32,749 DEBUG:usb.backend.libusb1:_LibUSB.get_endpoint_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0, 0, 0, 0)
2020-12-29 10:57:32,759 DEBUG:usb.backend.libusb1:_LibUSB.get_interface_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0, 0, 0)
2020-12-29 10:57:32,761 DEBUG:usb.backend.libusb1:_LibUSB.get_configuration_descriptor(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>, 0)
[ 0.244346] [000046a0] libusb: debug [libusb_get_config_descriptor] index 0
2020-12-29 10:57:32,762 DEBUG:usb.backend.libusb1:_LibUSB.open_device(<usb.backend.libusb1._Device object at 0x000001B45AEB1108>)
[ 0.246341] [000046a0] libusb: debug [libusb_open] open 1.19
[ 0.255317] [000046a0] libusb: warning [hid_open] could not open HID device in R/W mode (keyboard or mouse?) - trying without
[ 0.256320] [000046a0] libusb: error [hid_open] could not open device \.\USB#VID_03EB&PID_2421#123123123123#{A5DCBF10-6530-11D2-901F-00C04FB951ED} (interface 1): [2] 系统找不到指定的文件。
[ 0.256320] [000046a0] libusb: debug [libusb_open] open 1.19 returns -4
Traceback (most recent call last):
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 234, in get_interface_and_endpoint
return self._ep_info[endpoint_address]
KeyError: 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "usb_utils.py", line 71, in
outPoint.write(msg)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 406, in write
return self.device.write(self, data, timeout)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 974, in write
intf, ep = self._ctx.setup_request(self, endpoint)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 113, in wrapper
return f(self, *args, **kwargs)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 226, in setup_request
intf, ep = self.get_interface_and_endpoint(device, endpoint_address)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 113, in wrapper
return f(self, *args, **kwargs)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 236, in get_interface_and_endpoint
for intf in self.get_active_configuration(device):
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 113, in wrapper
return f(self, *args, **kwargs)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 247, in get_active_configuration
self.managed_open()
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 113, in wrapper
return f(self, *args, **kwargs)
File "D:\Python\Python37\lib\site-packages\usb\core.py", line 131, in managed_open
self.handle = self.backend.open_device(self.dev)
File "D:\Python\Python37\lib\site-packages\usb_debug.py", line 62, in do_trace
return f(*args, **named_args)
File "D:\Python\Python37\lib\site-packages\usb\backend\libusb1.py", line 804, in open_device
return _DeviceHandle(dev)
File "D:\Python\Python37\lib\site-packages\usb\backend\libusb1.py", line 652, in init
_check(_lib.libusb_open(self.devid, byref(self.handle)))
File "D:\Python\Python37\lib\site-packages\usb\backend\libusb1.py", line 604, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 19] No such device (it may have been disconnected)
[ 0.369013] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.19
[ 0.370012] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.1
[ 0.370012] [000046a0] libusb: debug [libusb_unref_device] destroy device 1.0
2020-12-29 10:57:32,889 DEBUG:usb.backend.libusb1:_LibUSB._finalize_object()
[ 0.372007] [000046a0] libusb: debug [libusb_exit]
[ 0.373005] [000046a0] libusb: debug [libusb_exit] destroying default context
[ 0.373005] [000046a0] libusb: debug [usbi_remove_pollfd] remove fd 0
[ 0.375996] [00003e64] libusb: debug [windows_clock_gettime_threaded] timer thread quitting

interface[0] It is available, but how do I get it

import usb.core
import usb.util
import time
import platform
find our device
dev = usb.core.find(idVendor=0x03EB, idProduct=0x2421)
was it found?
if dev is None:
raise ValueError('Device not found')
if platform.system().lower() == 'linux':
if dev.is_kernel_driver_active(0):
dev.detach_kernel_driver(0)
set the active configuration. With no arguments, the first
configuration will be the active one
dev.set_configuration()
get an endpoint instance
configuration = dev.get_active_configuration()
configuration = dev[0]
cfg_ = configuration[(0, 0)]
alt = usb.util.find_descriptor(cfg_, find_all=True, bInterfaceNumber=1)
print(alt)
0x2
outPoint = usb.util.find_descriptor(
cfg_,
# match the first OUT endpoint
custom_match=lambda e: usb.util.endpoint_direction(e.bEndpointAddress) == usb.util.ENDPOINT_OUT)
0x81
inPoint = usb.util.find_descriptor(
cfg_,
# match the first IN endpoint
custom_match=lambda e: usb.util.endpoint_direction(e.bEndpointAddress) == usb.util.ENDPOINT_IN)
assert outPoint, inPoint is not None
outPoint.write("msg")
read = inPoint.read(64)

Your mileage will vary with HIDs: Does libusb support USB HID devices?.

It should be supported, because libusb is also used in Java and C #, and now it is "debug [set]_ composite_ interface] interface[0] = \.\HID#VID_ 03EB&PID_ 2421&MI_ 00#8&6AEAA9B&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030} [ 0.096741] [000046a0] libusb: debug [winusb_ get_ device_ list] setting composite interface for [46]: [ 0.112698] [000046a0] libusb: debug [set_ composite_ interface] interface[1] = \.\HID#VID_ 03EB&PID_ 2421&MI_ 01#8&1E7236E0&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}#KBD"，
"Interface [0]" is what I want @jonasmalacofilho

In other platforms, it only distinguishes between keyboard mode and communication mode, that is, which channel can be used in the interface. It can be seen in the debug log that it can distinguish between the two channels, which can be realized by logic

"Interface [0]" is what I want @jonasmalacofilho

@WanManito this is your seventh not-really-an-issue issue here.  I'm sorry, but I'm not consulting for you.  Please pinpoint a specific and, preferably, reproduceable (with common devices) problem; if a reproduceable example is not possible, please show real/practical C code using libusb that works and that shows what exactly is PyUSB doing wrong.

P.S.  And you don't even appear to be using PyUSB for a free/open source software project!

We use Cpython hidapi instead

We use Cpython hidapi instead

This is the implementation of "Cpython hidapi", which can distinguish different channels of the same device. I've tried pyusb for a long time, but I haven't found a way

This is the implementation of "Cpython hidapi", which can distinguish different channels of the same device. I've tried pyusb for a long time, but I haven't found a way

It can only find one

It can only find one

As I mentioned...
Your mileage will vary with HIDs: see libusb's "Does libusb support USB HID devices?" FAQ entry.  And your libusb debug output shows:
[ 0.255317] [000046a0] libusb: warning [hid_open] could not open HID device in R/W mode (keyboard or mouse?) - trying without
[ 0.256320] [000046a0] libusb: error [hid_open] could not open device \\.\USB#VID_03EB&PID_2421#123123123123#{A5DCBF10-6530-11D2-901F-00C04FB951ED} (interface 1): [2] 系统找不到指定的文件。
[ 0.256320] [000046a0] libusb: debug [libusb_open] open 1.19 returns -4
Traceback (most recent call last):

The fact that "cpthon hidapi" (it's cython-hidapi, right?) works as you expect does not change the sad truth that you simply may not be able to open some HID interfaces on Windows, with PyUSB or any other libusb wrapper.  You could try different drivers... but it's probably easier to stick to HIDAPI if you can.

[...]
It can only find one

Working as intended, there is only one USB device (USB device != USB interface).
Look, it seems that you want (or at least need) help.  If there was anything terribly wrong with your code, I would have told immediately... but there isn't.  There also doesn't appear to be anything wrong with PyUSB or libusb (apart from documented limitations).  It just doesn't seem to be a way to use libusb with that interface.[1]
If you don't mind, I suggest you open source your project, then ask for help in the right venues (like forums related to the specific domain you're working on, but also our [not so active] mailing list).
[1] Although I admit our communication has to been as clear as I normally like, so I might be missing something.

As I mentioned...
Your mileage will vary with HIDs: see libusb's "Does libusb support USB HID devices?" FAQ entry.  And your libusb debug output shows:
[ 0.255317] [000046a0] libusb: warning [hid_open] could not open HID device in R/W mode (keyboard or mouse?) - trying without
[ 0.256320] [000046a0] libusb: error [hid_open] could not open device \\.\USB#VID_03EB&PID_2421#123123123123#{A5DCBF10-6530-11D2-901F-00C04FB951ED} (interface 1): [2] 系统找不到指定的文件。
[ 0.256320] [000046a0] libusb: debug [libusb_open] open 1.19 returns -4
Traceback (most recent call last):

The fact that "cpthon hidapi" (it's cython-hidapi, right?) works as you expect does not change the sad truth that you simply may not be able to open some HID interfaces on Windows, with PyUSB or any other libusb wrapper.  You could try different drivers... but it's probably easier to stick to HIDAPI if you can.

[...]
It can only find one

Working as intended, there is only one USB device (USB device != USB interface).
Look, it seems that you want (or at least need) help.  If there was anything terribly wrong with your code, I would have told immediately... but there isn't.  There also doesn't appear to be anything wrong with PyUSB or libusb (apart from documented limitations).  It just doesn't seem to be a way to use libusb with that interface.[1]
If you don't mind, I suggest you open source your project, then ask for help in the right venues (like forums related to the specific domain you're working on, but also our [not so active] mailing list).
[1] Although I admit our communication has to been as clear as I normally like, so I might be missing something.

@jonasmalacofilho Thank you for the interruption

@jonasmalacofilho Thank you for the interruption

@jonasmalacofilho Thank you for your answer. Thank you

@jonasmalacofilho Thank you for your answer. Thank you


Disable T25 test case for interop testing

PR to disable T25 test case for interop testing. Reference bug - https://issues.redhat.com/browse/OSSM-1505

@skondkar Consider checking for OCP 4.11 and greater, as the test will still run and fail for OCP 4.12 (for example).

@skondkar Consider checking for OCP 4.11 and greater, as the test will still run and fail for OCP 4.12 (for example).

I thought about this too, but I think it's a good idea to check for 4.11 only. It might be that 4.12 has the issue fixed.

Yes, that's why I think it's better not to ignore > 4.11. If we do that, and the bug is fixed in 4.12, we would not notice it because the test is disabled. IMO it's better to have it fail for 4.12 (so we can disable it again) than not run it by mistake.

test on .12 before this PR is merged and update PR to disable on .12 if needed OR do so after this PR is merged and then if still fails on .12 create a new PR. Either way is fine with me.

We need the test to be disabled for 4.12 (until it is fixed) so that interop test can pass.

Added task to implement ideal solution for this situation - https://issues.redhat.com/browse/OSSM-1904
Use checker which is able to check jira/bz status and skip/run given test based on that status.

Also we should cherry pick this change to maistra-2.2

I will merge it now. We can create another PR for OCP 4.12 later


Unable to load existing Config file

Has anyone Successfully loaded an existing Config file? I have set up a file using lightberry's openelec plugin and would like to edit it in the hyperion configuration tool. But every time I "load" the file, i get a successfully loaded notification, but none of the parameters update to my existing config.

Nope.- it won't read an existing Hyperio.confg file

if you can't load an existing config file, what is the load button doing at the bottom next to save?

If you hover the buttons with your mouse, you get this message - "Load your saved HyperCon settings"
No Hyperion config file.
If you click save. it will create a .dat and no .json
If you click load. you will see a "HyperCon_settings.dat" pre-filled in. also you can´t see .json in that filechooser.
Why you thought that you can load a .json?

Should be done


How to map multiple JSON properties to one in the model?

I have a JSON which contains two properties for representing a date: date and time.
However, my internal model is supposed to have only one property of the type Date, which contains information derived from both JSON properties.
How do I achieve this?
I tried writing a custom Transform but apparently I can only pass one map key to the transformer, and I would need both to parse the date.

Anyone? :(

@macecchi could you please provide us a sample json data and your expected model?

The sample json of a Ride object:
{
    "id": 3059,
    "place": "asdasda",
    "slots": 6,
    "description": "dasdasd",
    "date": "2016-11-29",
    "time": "10:00:00"
}

My expected model would only have a single date: Date property, which maps the results from date and time to this one property.
class Ride: Object, Mappable {
    dynamic var id: Int = 0
    dynamic var place: String!
    dynamic var notes: String!
    dynamic var slots: Int = 0
    dynamic var date: Date! = Date()

    required convenience init?(map: Map) {
        self.init()
    }

    override static func primaryKey() -> String? {
        return "id"
    }

    func mapping(map: Map) {
        id <- map["id"]
        place <- map["place"]
        notes <- map["description"]
        date <- map["date"] // This should actually use map["date"] and map["time"]
        slots <- map["slots"]
    }
}

The reverse would also have to apply. When exporting the model to JSON, I expect those two properties again. I have tried building a custom Transform but I couldn't figure out how to handle multiple properties.

I've tried many times but this was the most simple way:
class Ride: Mappable {
	dynamic var id: Int = 0
	dynamic var place: String!
	dynamic var notes: String!
	dynamic var slots: Int = 0
	dynamic var date: Date! = Date()

	private var _dateString: String? {
		didSet {
			updateDate()
		}
	}
	private var _timeString: String? {
		didSet {
			updateDate()
		}
	}

	required convenience init?(map: Map) {
		self.init()
	}

	func mapping(map: Map) {
		id <- map["id"]
		place <- map["place"]
		notes <- map["description"]
		_dateString <- map["date"]
		_timeString <- map["time"]
		slots <- map["slots"]
	}

	private func updateDate() {
		guard let dateString = _dateString, let timeString = _timeString else { return }
		let formatter = DateFormatter()
		formatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
		self.date = formatter.date(from: dateString + " " + timeString)
	}
}

Thanks, @devxoul!
It kind of works for me. I had to add some further hacks to make it work when serializing the date/time to JSON and to make it work with Realm.
Because I did not want to store those two private properties in my Realm, I added them to my ignoredProperties. But, to serialize them back, I had to make _dateString and _timeString computed properties (which get the string from date) and convert the didSet and updateDate to set and two methods (updateDate, updateTime).
Here's my solution:
class Ride: Object, Mappable {
    dynamic var id: Int = 0
    dynamic var place: String!
    dynamic var notes: String!
    dynamic var slots: Int = 0
    dynamic var date: Date! = Date()

    required convenience init?(map: Map) {
        self.init()
    }

    override static func primaryKey() -> String? {
        return "id"
    }

    override static func ignoredProperties() -> [String] {
        return ["_dateString", "_timeString"]
    }

    func mapping(map: Map) {
        id <- map["id"]
        place <- map["place"]
        notes <- map["description"]
        slots <- map["slots"]

        _dateString <- map["mydate"]
        _timeString <- map["mytime"]
    }

    private var _dateString: String? {
        get {
            let formatter = DateFormatter()
            formatter.dateFormat = "yyyy-MM-dd"
            return formatter.string(for: date)
        }
        set {
            updateDate(newValue)
        }
    }

    private func updateDate(_ newDate: String?) {
        guard let dateString = newDate, let timeString = _timeString else { return }
        let formatter = DateFormatter()
        formatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
        self.date = formatter.date(from: dateString + " " + timeString)
    }

    private var _timeString: String? {
        get {
            let formatter = DateFormatter()
            formatter.dateFormat = "HH:mm:ss"
            return formatter.string(for: date)
        }
        set {
            updateTime(newValue)
        }
    }

    private func updateTime(_ newTime: String?) {
        guard let dateString = _dateString, let timeString = newTime else { return }
        let formatter = DateFormatter()
        formatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
        self.date = formatter.date(from: dateString + " " + timeString)
    }
}

it worked for me!


decimal(19,4) to decimal128(19,4)

when i create table , it auto change decimal(19,4) to decimal128(19,4),how can i avoid this. we do not want to change
column type.
1)create table sql
create table test1 (
id bigint ,
money decimal(19,4)
)
primary key (id)
distributed by hash(id) buckets 20
2)show create table test1
CREATE TABLE test1 (
id bigint(20) NOT NULL COMMENT "",
money decimal128(19, 4) NULL COMMENT ""
) ENGINE=OLAP
PRIMARY KEY(id)
COMMENT "OLAP"
DISTRIBUTED BY HASH(id) BUCKETS 20
PROPERTIES (
"replication_num" = "3",
"in_memory" = "false",
"storage_format" = "DEFAULT",
"enable_persistent_index" = "false"
);

Yeah, Decimal128 is one representation of decimal. You can use it as you want to.
This is a problem showing users decimal128; we will fix it later.

thanks, decimalV2 show decimal,its nice

@imay @yangwei-parachute  So, it this a problem? If it is, this issue should be opened to fix.


Fixing a bug where the context could not find definition names with spaces when searched for.

Description
The language context could not find definitions with spaces in their name because the fully qualified names are converted to python class names, which cannot have spaces.  It seems to automatically remove the spaces from the python class name, so I had the search also remove the spaces from the name being searched for.
Linked Items:
Closes/Fixes/Resolves #828
Added

Describe any new features.

Changed

Describe any changes in existing functionality.

Deprecated

Describe any deprecated features.

Removed

Describe any removed features.

Fixed
get_definitions_by_name can now search for and find definitions with spaces in its name.
Security

Describe any security-related changes.

Checklist:

[ ] I updated project documentation to reflect my changes.
[ ] My changes generate no new warnings.
[ ] I updated new and existing unit tests to account for my changes.
[ ] I linked the associated item(s) to be closed.
[ ] I bumped the version.
[ ] I added the labels corresponding to my changes.

Should modify unit tests to exercise this additional handling tweak to confirm it can properly handle the spaces.


Setup basic travis support.

Since I don't have the econ-ark keys, I need someone to log in to https://travis-ci.org/ and click the button to enable github integration for the travis-ci service.
I put in the simplest test module from Testing just to show how it works. If you want this, then I'd hope it could be merged with only these basic tests, and then I can add the rest later. I had problems running the some of the other test modules (kind of shows why we need this), but I'd rather use this infrastructure to add tests for some of the discrete choice functions that I'm using in the other PRs, and make PRs for those. Then I can come back to fix some of the problems with the other test modules.
I have never used travis for python projects, so it took a bit of experimenting, but a tests folder with an __init__.py file seemed to be simplest.
To add more unittest modules, you simply need to place them in tests/test_,,,.py files, and pytest (which is run by travis) will find them.
edit
Oh, and the python versions are somewhat arbitrary, we can add more (but 3.7 needs a hacky solution to work).
Travis is free for open source projects, and they give you buildbots that should more than suffice for a project with HARK's PR activity.
This will help avoid #175 in the future!

When/If Travis is enabled, please tell me so I can try to refire it from this PR.

OK, I think I have successfully activated Travis.  (It's travis-ci.com, though, not travis-ci.org).  Does this let you start doing what you need to do, or are there further steps?

Is there any way this could be merged?

Merging now.  I haven't tested it, but there's no way it can break HARK given what's been added and changed.


hide "running on tty unknown" message

Description
if hyprlock is run from terminal or on startup(exec-once) then a text will appear in the top left corner of the screen saying: "running on tty unknown". im not sure whether it's a bug or not so im posting this a feature request.
my question is: can this text be disabled? i dont want to see it
hyprlock 0.5.0
hyprland 0.44.1
linux-zen 6.11.5

not hyprlock. Assuming you're on arch. Likely lock is taking too long to start and takes a screenshot of the "lock dead" screen, but the arch packagers have had broken assets under hyprland for months now (almost a year iirc?) and they refuse to fix them.


WIP - settings search

@sandy081 WIP but please take a quick look. Especially the PreferencesService changes for managing multiple default settings models. We can talk through it on a call if you'd like.

Oh and I need to add a setting for it.

I have a basic question.  I see now we have two search providers, local and remote which is good. But we have now async behaviour, how is the experience of seeing the results when compared to before? Looks like the local results are kept waiting until the remote ones are finished. Not sure whether it is good or not. If remote results does not return for a while, local results are also now shown.

Since the Default Settings Model is not shared across Editor groups, did you try updating the content of the model with the filtered results instead of computing hidden regions?

At the moment, it will only show remote results, and will hide the entire rest of the default settings editor. If getting remote results fails, then it will fall back on local results.

Since the Default Settings Model is not shared across Editor groups, did you try updating the content of the model with the filtered results instead of computing hidden regions?

This is actually what I do - I copy the settings texts from their positions elsewhere in the editor to the search results region at the top.

I'm sorry, but what is the goal behind this? As far as I understand, you want to make able to search user settings even when there on a remote host?

It's an experiment to provide a more effective settings search.

@sandy081 This also now has a mechanism for providing feedback, with a hovering widget like the one for adding keybindings. It opens an editor with the results, which the user can edit or rearrange to the expected list. The second editor also has a floating widget to send the feedback.
One thing I'm not clear on is how to dispose the second floating widget when the second editor is closed. https://github.com/Microsoft/vscode/pull/35679/files#diff-40874738efbf46b96418e915313e6720R742 Do I need to, or does the editor dispose its widgets automatically?

Regarding feedback widget, I shared my opinion in the review

Do you think if it is a good idea to provide some arrow actions next to results to update the ordering? Also listen to user actions like copying the setting after searching and update the setting relevance to the search criteria?
I see the necessary of feedback, but IMO if we can get more details from normal user actions would be more helpful. Not sure how many users update the contents ordering using the feedback widget as it looks to me a cumbersome task.
These widgets are attached to an editor. I would suggest to have two widgets for each purpose and show them in the right context.

@roblourens Not sure if I like the approach of renderers updating the Model and leaking the type of Search results in various places.
Here is what I thought about high level implementation design

PreferencesEditorModel should be a wrapper of IModel that holds the content. This also provides methods to get Settings content as ISettingsGroups and also to update the content.

A new ISettingsSearchService that does search and updates the content in the PreferencesEditorModel.

PreferencesEditors creates editors, editor models, renderers and also trigger filtering using new ISettingsSearchService.

PreferencesRenderers does the rendering of the content and any special widgets like Groups, Edit actions, Feedback widgets etc.,

One advantage is that we can get rid of renderers hiding filtered out content.
We can also discuss about this over call.

Implemented changes as discussed this morning. Didn't have time to finish it but it's enough to review the approach.
Raises a couple questions:

What type should have the IModel property? It could go own the IPreferencesEditorModel, which is the type we are working with in PreferencesService. Then AbstractEditorModel would implement that and every prefs model type would have an IModel. Or just on the DefaultSettingsEditorModel, the only one which needs it, but then we end up with an awkward type check in PreferencesService.
The ISettingsEditorModel.filterSettings interface feels weird, having a settingFilter callback and also passing in the list of 'most relevant' settings. The interface has to support remote and local search for the default and editable models. Maybe it's not that bad.

And

With this design, the IModel is disposed when the prefs editor is closed. Can I prevent that from happening? Do we even want the IModel to stick around? Maybe we should create a new IModel each time, as before, but persist the DefaultSettingsEditorModel and give the IModel to the DefaulSettingsEditorModel.

Realized I still need to get rid of the defaultSettingsResource - https://github.com/Microsoft/vscode/pull/35679/files#diff-ef4aafa82bbcafa092a2b3eeb34cda9dR102. The only place it's used now is by the SettingsEditorContribution, because the settings editormodel needs a pointer to the DefaultSettingsEditorModel. Now that there can be multiple of these, I need to remove the hardcoded URI.
We call updatePreferencesRenderer right after creation to make this connection anyway, so hopefully it's ok to depend on that.

@roblourens Renderers of a editor (left / right) takes both the editor's preferences model and the adjacent editor's preferences model. Main purpose of this is to compute appropriate edit actions (like copy/replace). Right approach is to follow how DefaultSettingsEditorContribution is getting its adjacent editor model.

For the EditSettingRenderer, the associated model is only used on the default settings side. But yeah the default contribution only gets the associated model through updatePreferencesRenderer.


Fix visible box

Since iOS 10 when the spinner appeared, there was for a little while a small black-ish box. Adding subviews to blurView, rather than vibrancyView, in init func fixes it.

This produces any another problem - the blurView is at the start not so dark, which was probably why those views were added to vibrancyView in the first place (have not noticed that). I think it is still better than the black box but other solution is definitely needed.

@icanzilb This issue is reproducible. It is needed to fix it shortly.

thanks for the fix


Code tidy

Courtesy of Clang-Tidy

I will merge once this is through CI (minus 32-bit failures which I will address separately).


Add additional install instructions

Current dependencies on/for this PR:

main

PR #143   👈

This comment was auto-generated by Graphite.


feat: variables in template file names

Render variables to template file names too

We could add a failsafe to the saver function to make sure that the file does not try to escape dest.

Added validation to saver. Should I still add check also for the interactive part or just consider passing invalid file name as a user being wiseass on purpose and it's OK to just fail during save?

Yeah I think it is fine to validate it only when saving. The validation is mainly meant for the user to protect from malicious recipe which tries to override /etc/passwd or similar


Dependency error when building server app

When deploying the server app to Bluemix, the build fails with:
swift-package: error: The dependency graph could not be satisfied (https://github.com/IBM-Swift/LoggerAPI.git)Mar 31, 2017 4:06:08 PM

I have the same issues, tried adding the .Package(url: "https://github.com/IBM-Swift/LoggerAPI", majorVersion: 1), to Package.swift results in Failed to compile droplet and subsequent exit status 223.
Help !

Interestingly enough, the restaurant-reviews Xcode project has "LoggerAPI" as it's bundle identifier...

@tedhogan @upwardstudios My guess is that you both were using the latest Xcode (8.3) & Swift (3.1) versions.  Yesterday, I updated the app & dependencies to work against these, and you should no longer see these errors.
Thanks!


Unambiguous packet query

Closes: #XXX
Description
Before, a query_txs for a packet on a given chain would filter only by the packet source port, source channel and sequence.
With 2 chains, there can be at most a single packet matching such filter, and this fact was assumed in the code.
However, this assumption does not hold with more than 2 chains. To understand why, consider the following example with chains ibc-0, ibc-1 and ibc-2:

a channel handshake occurs between ibc-0 and ibc-1; the channel identifiers are channel-0 on both ends
a channel handshake occurs between ibc-1 and ibc-2; the channel identifier on ibc-1 is channel-1 and on ibc-2 is channel-0

If now both ibc-0 and ibc-2 send packets to ibc-1 and we do a packet query filtering only by the source, such query will return
packets from both ibc-0 and ibc-1 (as both have channel-0 as the source channel in their packets).
In this commit, we start filtering also by the destination port and destination channel. This makes the packet query unambiguous.
Thanks @ancazamfir for the help debugging this issue. It was a fun one!

For contributor use:

[ ] Updated the Unreleased section of CHANGELOG.md with the issue.
[ ] If applicable: Unit tests written, added test to CI.
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments.
[ ] Re-reviewed Files changed in the Github PR explorer.

With 2 chains, there can be at most a single packet matching such filter, and this fact was assumed in the code.

I left a TODO to make this assumption explicit. It will be addressed in a following PR.

Codecov Report

Merging #613 (a6315e2) into master (b1b37f5) will increase coverage by 30.9%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #613      +/-   ##
=========================================
+ Coverage    13.6%   44.5%   +30.9%
=========================================
  Files          69     144      +75
  Lines        3752    9542    +5790
  Branches     1374       0    -1374
=========================================
+ Hits          513    4255    +3742
- Misses       2618    5287    +2669
+ Partials      621       0     -621

Impacted Files
Coverage Δ

modules/src/address.rs
100.0% <ø> (ø)

...application/ics20_fungible_token_transfer/error.rs
0.0% <ø> (ø)

...pplication/ics20_fungible_token_transfer/events.rs
0.0% <ø> (ø)

...ion/ics20_fungible_token_transfer/msgs/transfer.rs
0.0% <ø> (ø)

modules/src/events.rs
0.0% <ø> (ø)

modules/src/handler.rs
100.0% <ø> (ø)

modules/src/ics02_client/client_def.rs
48.3% <ø> (ø)

modules/src/ics02_client/client_type.rs
79.1% <ø> (+31.5%)
:arrow_up:

modules/src/ics02_client/context.rs
100.0% <ø> (ø)

modules/src/ics02_client/error.rs
100.0% <ø> (ø)

... and 246 more

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 b1b9dac...a6315e2. Read the comment docs.

@vitorenesduarte Awesome, thanks! Could you please create an issue and open a PR to add a changelog entry for this, mentioning said issue?

^ This can be done as part of your follow-up PR.

@vitorenesduarte Awesome, thanks! Could you please create an issue and open a PR to add a changelog entry for this, mentioning said issue?

Oh, right 😅 @romac Here it goes: https://github.com/informalsystems/ibc-rs/pull/617


Look for data file relative to current module

Look for stereo_chemical_props.txt relative to the current module, rather than relative to the current working directory. This enables AlphaFold to be run in a working directory other than the sources directory.

Thanks for the fix, I tested this and it worked great for my users to be able to call run_alphafold.py from any directory (from their work directory, for example.

We addressed this in https://github.com/deepmind/alphafold/commit/0be2b30b98f0da7aecb973bde04758fae67eb913.
Thanks a lot for suggesting this, we acknowledged you in the release notes for v2.1.0.


Correct address "RTMP"?

Correct address "RTMP"?
Hi been trying to test the demo. the problem is that I can't do it. The url that I should enter in the "ingestion url" bar should be something similar to:
rtmp://a.rtmp.youtube.com/live2/stream-key
o how?

Hi @vitalspace
I'm afraid RTMP won't work. You should be able to get a HLS ingestion URL from YouTube Studio. From the README:
Get your ingestion URL from YouTube Studio.
Click CREATE and then select Go Live from the drop-down menu.
Under Select stream key, select Create new stream key.
Give your key a name.
You must select HLS as the streaming protocol. Note: YouTube DASH ingestion is only available by using the Youtube API. See here for more details.
Click CREATE.
Make sure the key you created is selected.
Click COPY next to Stream URL.


[ContainerApp] Bugfix - Remove pre-existing containers for source to cloud flow

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Fixed linting errors for all the files that are a part of this PR but there are some linting errors in some un-related files that has not been fixed in this PR.

Please fix CI issues.

LGTM, please rerun tests relate to az containerapp up/update with --live.

Hi @zhoxing-ms  @yanzhudd
Can you help to review and merge this PR when you have chance? Thanks.

The credential Scan is Pass before.

The credential Scan is Pass before.

Known issue, @wangzelin007 has sent an email to Microsoft Security Code Analysis Support for help.

Hi @wangzelin007 @zhoxing-ms
Can you help to merge this PR? Thanks. Hope the Credential Scan not block this.

Hi @wangzelin007
https://github.com/Azure/azure-cli-extensions/commit/d6a8f0cb598bfa2e7801485a1c866d53709629a5
Can you help to review and merge this PR? I have remove all secrets in the yaml file, but the GitGuardian Security Checks is still failed. These secrets are always existing before, and they are deleted and out of date.
Thanks for your help.

Hi @wangzelin007
d6a8f0c
Can you help to review and merge this PR? I have remove all secrets in the yaml file, but the GitGuardian Security Checks is still failed. These secrets are always existing before, and they are deleted and out of date.
Thanks for your help.

Please fix the Integration Tests first, I can help bypass other security checks.

Hi @wangzelin007
d6a8f0c
Can you help to review and merge this PR? I have remove all secrets in the yaml file, but the GitGuardian Security Checks is still failed. These secrets are always existing before, and they are deleted and out of date.
Thanks for your help.

Please fix the Integration Tests first, I can help bypass other security checks.

Thank you, the integration Tests has pass, please help to merge it.


bash.exe / zsh.exe on Windows should  --login arg defaultly.

VSCode Version: 1.37.1
OS Version: Windows 10 Pro 18362.295

Steps to Reproduce:

Change the default shell to Git Bash (bash.exe)
It seems that --login arg was not used. Because /etc/profile was not loaded.

Does this issue occur when all extensions are disabled?: Yes

Related https://github.com/microsoft/vscode/issues/77652

Closing this in favor of https://github.com/microsoft/vscode/issues/45444 and #77652


Consider using hatch as build-backend?

Describe the feature or improvement you're requesting
setup.py + setup.cfg is an outdated way of building Python projects. The configuration can be moved to pyproject.toml for consistency.
hatch is a modern python project management tool. hatch is used by the likes of fastAPI, black, pydantic and others to manage projects.
Additional context
No response

In our v1 beta we've migrated to Rye which uses Rye under the hood.


I gen a CoinbasePro.Exceptions.CoinbaseProHttpException: Post only mode

Hi,
Sometimes, I get an error when placing a limit sell order.
The stack trace is below:
Exception - CoinbasePro.Exceptions.CoinbaseProHttpException: Post only mode
at CoinbasePro.Services.AbstractService.SendHttpRequestMessageAsync(HttpMethod httpMethod, String uri, String content)
at CoinbasePro.Services.AbstractService.SendServiceCall[T](HttpMethod httpMethod, String uri, String content)
at CoinbasePro.Services.Orders.OrdersService.PlaceOrderAsync(Order order)
at CoinbasePro.Services.Orders.OrdersService.PlaceLimitOrderAsync(OrderSide side, ProductType productId, Decimal size, Decimal price, TimeInForce timeInForce, Boolean postOnly, Nullable`1 clientOid)

hi @codeinflash
For post only mode, the post only flag is invalid when time_in_force is IOC or FOK. Are you using either of those values in your call? Looking through the docs, another piece of info which may or may not be related is The post-only flag indicates that the order should only make liquidity. If any part of the order results in taking liquidity, the order will be rejected and no part of it will execute.
If this still doesn't help, please paste the exact call you are making (omit quantities and prices) and I can try and help debug from there.
thanks!

Hi @dougdellolio
I use the built-in limit sell order function as following:
var orderResponse = await _CoinbaseProClient.OrdersService.PlaceLimitOrderAsync(CoinbasePro.Services.Orders.Types.OrderSide.Sell,
CoinbasePro.Shared.Types.ProductType.BtcUsd, correctOrderSize, currentPrice);

hmmm.. from my understanding you wouldn't be able to set a price that is the same or lower than the highest buy order.
Wish I could help more.... if you do find out the answer please post back for future reference


Events overlap in month view (but not in week view)

Hi,
Thanks for the awesome component! Really amazing.
I've noticed that in month view, events always render at the first line, even if there are other multiday events on the same line. When there are a lot of events, this turns difficult to distinguish which are the events happening on that day. I'm curious if this was designed so, because in week view this doesn't happen.
In the example bellow, events starting at the 15th and 16th overlap the previous event in month view, but not in week view:
Month view:

Week view:

Is there any prop to control this behaviour?
best,
alan

Hello, the same question: have overlapping, but in a week view. Events overlap by day that causes them joining into single event row instead of a new line. Customise event render doesn't work for all day events. What else may I try to avoid this issue?


Turkish character slug problem

While slugging some Turkish characters, it updates incorrectly. I made the 'onUpdate' status true in my config file, then the characters I specified below in any updated data are translated incorrectly.
Example
kompresörler => kompresoerler
ö => oe (false)
ö => o (true)

Having the same problem with Finnish letters.
For example a city called Jyväskylä should become "jyvaskyla", not "jyvaeskylae"

@Hesesses Finnish conversion should already be handled by cocur/slugify, so you likely just need to configure it for your models:
    /**
     * Return the sluggable configuration array for this model.
     *
     * @return array
     */
    public function sluggable(): array
    {
        return [
            'slug' => [
                'source' => 'title',
                'slugEngineOptions' => [
                    'ruleset' => 'finnish'
                ]
            ]
        ];
    }

I'm updating the docs with details, since this is such a common question. :)

https://github.com/cviebrock/eloquent-sluggable?tab=readme-ov-file#slugengineoptions

Thank you 🙏


Request new module: AWS Client - Cloud VPN

Related user story
Provide the issue number for the user story related to this request - #571
Create Client to Site (Cloud) Module for AWS Connectivity .
Type of module
terraform
If requesting a terraform module, what is the target cloud platform?
aws
What is the purpose of the module?
Create Client to Site (Cloud) Module for AWS Connectivity .
What is the category of the module?
iam, network, infrastructure

/group vpn

/name vpn-server

/displayName AWS VPN Server


idea: Add K/V cache quantization settings to reduce VRAM usage

Problem Statement
Currently, Jan is hardcoded to use fp16 for K/V context cache quantization. Users can't modify this setting to optimize memory usage, even though llama.cpp supports other options like Q8_0 that could reduce VRAM usage by ~50% with minimal quality impact.
Feature Idea

[ ] Add K/V cache quantization settings to model configuration UI, allow users to choose between different quantization options:

fp16 (current default)
Q8_0 (for better memory efficiency)
Other quantization options llama.cpp supports

[ ] Add documentation about memory/quality tradeoffs (if possible)

Update:
The Cortex extension settings now include several additional settings that users familiar with them can customize, such as K/V settings.
0.5.10

Possible update:
Enhance the settings for dropdown input types and other extension options.


cmd/gb: add gb info subcommand

Fixes #267
This PR adds a new subcommand, info. This returns some (hopefully) pertinent
information about the project, and an error code to indicate if the path is part
of a gb project or not.
zapf(~/devel/demo4) % gb info
GB_PROJECT_DIR="/Users/dfc/devel/demo4"
GB_SRC_PATH="/Users/dfc/devel/demo4/src:/Users/dfc/devel/demo4/vendor/src"
zapf(~/devel/demo4) % echo $?
0

zapf(~/devel/demo9) % gb info
FATAL could not locate project root: could not find project root in "/Users/dfc/devel/demo9" or its parents
zapf(~/devel/demo9) % echo $?
1

@freeformz PTAL. The stdout of this command is not well defined -- perhaps it should be json, but I figured that would be secondary to your use case.

FWIW, +1 on having a shell sourceable version of this output still if it ever switches to JSON officially. :smile:

@tianon same. I think if folks need machine consumable json then , gb info -json will be the order of the day.

:cake: :heart:


[themes] Open vscode with different theme when editing outside of home and other defined folders

When using VS Code to edit files outside of certain locations, it would be useful to make it open with a different them. As an example, it would be interesting to open vscode with a red theme when editing a file in part of the filesystem like /etc/ or elsewhere.
I believe the ideal method to facilitate this is to create a trusted recursive selection where you can say files in /Users/username/blah and /Volume/some/path/here should be trusted and / or normal, but anything outside of these should be considered a warning and open with a brighter and very visibly different theme (such as a dark red one) that would immediately alert the editor as to such an action visually.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


WritableStream / Upload Date / UTCDateTime Missing Argument

mongo-php-library/src/GridFS/WritableStream.php::105
Rise an Exception:
MongoDB\BSON\UTCDateTime::__construct() expects exactly 1 parameter, 0 given
environment:
mongo-php-driver ver 1.1.9
mongo-php-library ver 1.1.2

Version 1.1.2 of the library requires version 1.2.0+ of the extension. You can find newer versions of the extension on PECL (the most recent is 1.2.5).


Document uv run

Hello hello 👋🏻 I recently discovered the command uv run by stumbling on it in the uv issues list here on Github. Not sure if this is intentional, but if I simply run uv, then the run subcommand is not listed under commands.
My platform: macOS Sonoma 14.5
uv: 0.2.21 (ebfe6d8fc 2024-07-03)
Current output from the Commands section:
Commands:
  pip        Resolve and install Python packages
  tool       Run and manage executable Python packages
  toolchain  Manage Python installations
  venv       Create a virtual environment
  cache      Manage the cache
  self       Manage the `uv` executable
  version    Display uv's version
  help       Print this message or the help of the given subcommand(s)

Hi! uv run is currently in preview and not yet part of stable, documented interface of uv. We will unhide them once they become more stable. Feel free to play around with them and report problems in the meantime!

Ah, of course! Thanks for the reply, and sorry for the noise 😄