Release for bugfix in #37

This bumps the patch version, for doing an update for a 0.1.1 release on PyPI that includes the change from the fix in #37. I think it is a good idea to do this, due to the importance of the fix as noted in #37, and more generally because it can be more manageable to do more frequent smaller releases rather than accumulating many changes into less frequent bigger releases.
Since we are not yet at 1.0.0, SemVer doesn't strictly dictate if this should be 0.1.1 or 0.2.0. #37 is arguably a small but breaking change, considering how the tests needed to be changed. But it seems conceptually to be a bugfix.
This can be changed to 0.2.0 if desired. Also, whatever version is used, the bump could instead be done by some means other than this PR. The purpose of this PR is to propose that another release be done on PyPI, but if it turns out to be easier to close this PR and bump the version number in some other way, that's just as good.
I checked available versions of direct and indirect dependencies, which all appear current, so this PR modifies the version metadata only.
Note: The first CI run for this PR failed on one of the test jobs. When re-run, all jobs succeeded. I believe the failure is due to the way the test uses random numbers, as described in #45 with a proposed fix in #46. I don't think it needs to hold back the release (#46 only modifies test code, which isn't included in our PyPI package).

@zbloss Do you want to make the v0.1.1 release? All I did here was advance the version number in pyproject.toml. GitHub will allow me to make the release, but I'm reluctant to take that action without either @bazingagin's or your go-ahead, in case there are considerations that I am unaware of. However, I'd be pleased to make the release if either of you requests that I do so.
The v0.1.1 release can be made from the tip of main, as it stands currently, since no new features have been added to the code in the npc_gzip subdirectory. There's nothing special about the point where his PR was merged. (#40 was since merged, but since it is minor and does not change behavior, I don't think it's a problem for that to be included.)

@EliahKagan I think we can make a v0.1.1 release, please go ahead! @zbloss please chime in if you have any other concerns!

@bazingagin @zbloss I drafted the release here on GitHub, but unfortunately it looks like I have misunderstood what is needed for trusted publishing to work. Publishing did not succeed. I don't have prior experience using trusted publishing and I don't know if the problem was caused due to an account other than @zbloss triggering the release, or for some other reason. An "invalid-publisher: valid token, but no corresponding publisher" error occurred; full error output is here.

@zbloss Are you able to manually publish or otherwise fix the failed release? As I noted about a week ago, publishing failed, and https://pypi.org/project/npc-gzip/ still has only 0.1.0. I think it may be a confusing situation for users to have https://github.com/bazingagin/npc_gzip/releases/tag/v0.1.1 here on GitHub without a corresponding release in PyPI.
I hope I'm not overstepping by pinging you again. If this isn't something we can fix in the short term, then I can mitigate the confusion by opening an issue for it, so that users who come here can find out what is going on. However, based on your :tada: reaction to the release announcement, I'm wondering if you may just have missed my previous comment and be unaware of the problem, and if the problem might actually be easily solved.

Yep my bad all, I've been very under the weather recently. Looking at this now.

@EliahKagan  I invited you to join the project on PyPI. Once you accept I can re-run this github action.
@bazingagin  I tried to add you as well but it appears you don't have a pypi account. Once you sign up for one I will invite you too.

@zbloss Thanks. I've accepted on PyPI. After doing so, I attempted to re-run the workflow myself, which did not succeed, but I think that may not be a problem, since you were saying I should join the project so you can re-run the workflow. Please let me know if there's any other action I should take.
I hope you are feeling better soon! (And I fully understand if you are not able to put much time into troubleshooting this now.)

I think I may know the cause of the problem. In #39, I shortened the workflow filenames, which included changing publish-package.yml to publish.yml. In hindsight, I should have researched if this could have an effect on trusted publishing! Now that I've joined the project on PyPI, I can see that the old name, publish-package.yml, is shown for the publisher.
I will attempt to add a publisher with the new workflow filename in the project settings on PyPI, and report back.

@zbloss @bazingagin I'm pleased to report that adding a publisher with the new workflow filename and rerunning the failed published job has succeeded. https://pypi.org/project/npc-gzip/ now has version 0.1.1. :tada:

@EliahKagan Thank you so much!
@zbloss I've set up an account on pypi - same as my github username, thanks!

@bazingagin No problem! Really @zbloss is the one to thank--once he added me to the PyPI project, I was able to see how I had myself inadvertently caused the problem in #39.
I've tried adding you, and PyPI reports that you have not verified your primary email address for your PyPI account. You should be able to do this in your account settings on PyPI; once you have, it should be possible for you to be added to the project.


Add sample for injected plugins with a C++ build

This can go along with our blog post.

I took care of this for the blog post


Pass in arguments to function used in Must predicate

System Details

FluentValidation version: Latest
Web Framework version (eg ASP.NET Core 2.1, MVC 5, WebApi 2. Delete if not applicable):

Issue Description
Hi Jeremy,
Apologies for the amount of issues I'm raising, these are actually all questions I've had in the past but only just got around to asking since picking up FV for a work project again.
I'm using the Must predicate to define a rule for one of the properties in the object that I'm validating, this has worked fine for simple validation but for more complex validation where I need to pass in more than a single argument to the function I'm not sure how to proceed.
For example if I have a rule
RuleFor(x => x.Answer).Must(DoThing);
And I have the function
public bool DoThing(string input)
{
     //return...
}

There's no issues here, but if I instead change the DoThing signature to public bool DoThing(string input, string[] array), as I want to pass in an array to use within the function, I'm not sure how to make this work with my rule definition.
The Must predicate doesn't have access to the data inside the object being validated, so I can't do RuleFor(x => x.Answer).Must(DoThing(x => x.Answer, array)), but trying to invoke the function with only the array as a parameter obviously doesn't work.
How do I work around this?

Hi, the Must predicate does have access to the whole object being validated - there’s a second overload for this.
Can I suggest you take a look at the documentation? This is all covered there. https://fluentvalidation.net/built-in-validators#predicate-validator


is there a way to enable waf rules with the az command?

i see that there is a parameter to disable specific rules, is there anyway to enable them through an az command?

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

ID: 68725488-1e3a-ac2d-c454-bcedd26e4b70
Version Independent ID: 706d7f46-f132-10ab-423c-4a640d65d2dc
Content: az network application-gateway waf-config
Content Source: src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Anything not disabled is enabled, so you would basically re-run the command without those disabled rules.


PIPELINE_ERROR_DECODE error in Chrome with android phones.  What can we do to troubleshoot?

Formatted as a bug but submitting a question as we dont have a repro and the request is to figure out how we can get one.

Have you read the FAQ and checked for duplicate open issues?
Yes.  We saw another item with the same PIPELINE_ERROR_DECODE and that issue seemed to potentially about hardware decoding. We are unable to repro on our various devices
What version of Shaka Player are you using?
Recently updated to 2.5.3 but was previously on 2.5.2.
Can you reproduce the issue with our latest release version?
Just updated so no data yet.  It is random so it takes a while to see it.
Can you reproduce the issue with the latest code from master?
Huh?
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
We dont have an in house repro with any app.
What browser and OS are you using?
Based on logs various Chrome versions with Android OS versions appear to repro.
Last one in logs was Chrome 75.0.3770.101 on Android v8.0.0.
One before that was Chrome 70.0.3538.80 on Android v6.0.1
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
NA
What are the manifest and license server URIs?

We dont use a license server.  We are using signed cookies.
What can we do to capture more data when the error occurs so that we may be able to troubleshoot further?
What did you do?

This appears to happen during initialization of the video. The video never reaches the state where it "canplay".
What did you expect to happen?
No error.
What actually happened?

Again we cant repro this in house but this is what we get in logs when we listen to the "error" event on the Shaka player object.  Once the error happens in the field - that particular user is blocked.  We dont know of a workaround.
shaka.util.Error {
  "severity": 2,
  "category": 3,
  "code": 3016,
  "data": [
    3,
    null,
    "PIPELINE_ERROR_DECODE: video decoder reinitialization failed"
  ],
  "handled": false
}
shaka.util.Error {
  "severity": 2,
  "category": 3,
  "code": 3015,
  "data": [
    {
      "stack": "Error: Failed to execute 'appendBuffer' on 'SourceBuffer': The HTMLMediaElement.error attribute is not null.\n    at ce.p.ce (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:135:430)\n    at le (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:137:269)\n    at ke (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:133:414)\n    at Gi.<anonymous> (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:349:245)"
    }
  ],
  "handled": false
}
shaka.util.Error {
  "severity": 2,
  "category": 3,
  "code": 3015,
  "data": [
    {
      "stack": "Error: Failed to execute 'appendBuffer' on 'SourceBuffer': The HTMLMediaElement.error attribute is not null.\n    at ce.p.ce (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:135:430)\n    at le (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:137:269)\n    at ke (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:133:414)\n    at Gi.<anonymous> (https://worldalive.tours/scripts/shaka-player/dist/shaka-player.compiled.js:349:245)"
    }
  ],
  "handled": false
}

PIPELINE_ERROR_DECODE would seem to indicate that the media pipeline in Chrome on Android has failed to decode your content for some reason.
I would suggest navigating to chrome:media-internals for more info at the Chrome level.  Please try it and let us know what you find.
On Android, you may also want to try adb logcat.  I don't have much experience in this area, but I seem to recall that you can see additional information at the Android codec level.

Thanks Joey.
Unfortunately we don't have repros so the only devices are in the hands of users who have clicked on ads.  I previously looked into whether we could capture chrome://media-internals via javascript but it doesnt appear to be possible.
Do you think the data from a non reproing device would still be useful? We certainly have those.

You're right, there's no way to capture chrome:media-internals in JS.
I'm not sure what else to say.  We've certainly seen examples of hardware decode failures on certain devices.  Usually it is a matter of the encoding profile or other codec-level options that are not supported by that hardware.  You can test this theory by disabling hardware decode on a certain device, but I'm not sure what you can do without a failing device in hand.
As an experiment, you could change the encoding parameters (if it's a live stream and not already long-since encoded) for some subset of users and see if the problem gets better compared to a control group.  I'm not sure what else you can try off the top of my head.


the server responded with a status of 422 (Unprocessable Entity) on RESTful API upload

I am trying to replace this image drop and uploading with our Add Image button.
Add Image button codes are:
		if (typeof(dropzoneFile) === 'undefined') {
			dropzoneFile = $('input[name="activityImage"]');

			angular.element(dropzoneFile).on('change', function(e) {
				var file = dropzoneFile.get(0).files[0];
				console.log('Image shitty data is : ')
				console.log(e.target.result);

				var reader = new FileReader();
				reader.onload = function(e) {
					var uploadedImage = new ActivityImage({
						activity_id: $scope.activity.id,
						primary: ($scope.activityImages.length > 0) ? false : true,
						image_filename: e.name || 'seamless_planet.png',
						image_data: e.target.result
					});
					console.log(typeof uploadedImage.image_data);
					console.log(uploadedImage.image_data);
					$scope.imagePromise = uploadedImage.$save(function(res) {
						$scope.activityImages.push(res);
						$scope.addAlert('success', 'New image was uploaded successfully!');
					});
				};
				reader.readAsDataURL(file);
			});
		}
		dropzoneFile.click();
	};```
The console outputs for
`console.log('Image shitty data is : ')`
`console.log(e.target.result);`:  undefined
`console.log(typeof uploadedImage.image_data)`: string
`console.log(uploadedImage.image_data);`:'data:image/gif;base64,R0le9oUhMUAMG0IIvcQNg9yn6Ui30MAIIbMEWEMDBCGYAitc+vete/zrYYRIQADs='
I removed big portion of junk data information of type string.

I code the drag and drop controller like this:
```$scope.$watch('files', function () {
         $scope.upload($scope.files);
     });
     $scope.upload = function (files) {
         if (files && files.length) {
             for (var i = 0; i < files.length; i++) {
                 var file = files[i];
                 console.log(file);
                 console.log(typeof file);
                 console.log(toString(file));
				 var uploadedImage = new ActivityImage({
				     activity_id: $scope.activity.id,
				   	 primary: ($scope.activityImages.length > 0) ? false : true,
				 	 image_filename: file.name || 'seamless_planet.png',
				 	 image_data: file
				 });
				 		 $scope.imagePromise = uploadedImage.$save(function(res) {
                         $scope.activityImages.push(res);
						 $scope.addAlert('success', 'New image was uploaded successfully!');
                    });

     }}};```

but is gives me `the server responded with a status of 422 (Unprocessable Entity)`
I even used toString() function for file in image data.

Can you help me with that please?

What are you using as Backend? Can you provide the Request that you're sending and how are you treating this request on the backend side? Apparently on the front, everything is ok.

How do you upload the file?

I put the 'file' info into the object which is passing to the server. The codes for drag and drop gut  got corrupted here when I was pasting and markdown. For the add image button which is a simple input tag. the something like 'data:image/gif;base64,R0le9oUhMUAMG0IIvcQNg9yn6Ui30MAIIbMEWEMDBCGYAitc+vete/zrYYRIQADs=' is sent to the server.
I believe a simple change in the file object that comes from you codes will solve the problem.

That's a server error and you are not using this plugin to send the file to the server, so it doesn't really concern this plugin.


No server in the list

Hello, I have 2 servers with the user but on the autorisation page no one appear.


TAngularCorrelation bug fixes

Changing area error assignment to be chi^2/NDF*sqrt(area) if fit is suspect.
Fixing indexing bug in ScaleSingleIndex function.
Including "o" option in THnSparse Projection calls.

You're comparing the error of the area from the fit to the square-root of the area, but then set it to the square-root of the area times the reduced chi-square.
I have two (related) issues with that, a) you don't check that the reduced chi-square is larger than 1, so the final error might still be smaller than the square-root of the area, b) comparing the error to the square-root (and not the scaled square-root) creates a discontinuity in the error (if it slight larger than the square-root you leave it be, if is slightly smaller you multiply it by the reduced chi-square which might be large).
I think it would be better to first calculate the scale (= the reduced chi-square), set the scale to 1 if it's less than 1, and then compare and set the error to the scaled square-root of the area.

Just to re-iterate:

Calculate scale = sqrt(chi2/NDF).
Compare scalesqrt(area) with area error. If area error > scalesqrt(area), do nothing. If area error < scale*sqrt(area), continue to 3.
Set area error to scale*sqrt(area).

Yes, just modify 1. to read Calculate scale = min(1, sqrt(chi2/NDF)), i.e. check after calculating scale that it is one or larger and if not set it to one.

I'm assuming you mean max and fixing this.

Right, of course I meant max, sorry about that. Thanks for changing this.


Error "expected string" for None in YAML config

In the docs for yaml config, it says that the default for a requirements_file is None. I assumed None meant a Python None or a null value, so I used the YAML syntax of null for the value, but that triggered this build failure.
It's unclear from the docs how one might specify the default value for a setting. Here's what I recommend:

[ ] Docs for YAML config should specify defaults and example values in YAML syntax (i.e. null for null value).
[ ] RTD should allow for null values (YAML null or Python None) in config where appropriate.
[ ] RTD should use native types in YAML config and not encoded values (i.e. literal None string in YAML).

But most essentially, it should be possible to specify the default value for a given setting. I don't believe that's possible given the current implementation (though admittedly, I haven't looked at the implementation itself).

I'm solving this issue on the rtd-build repo https://github.com/rtfd/readthedocs-build/pull/38


map key to "Lock Screen"

I would like to be able to lock the screen when I press the eject button. Having a nice keyboard shortcut like Windows users have win+L key combination would be very handy in a corporate environment.

That sounds like an option perfect for the "Run Script" feature in PowerKey
One of the bash or Apple Scripts here will likely work. Create a script, then run it via PowerKey.
http://apple.stackexchange.com/questions/80058/lock-screen-command-one-liner
http://apple.stackexchange.com/questions/135728/using-applescript-to-lock-screen


Post release automated changes for core releases

Post release automated changes for azure-core-auth

API change check
API changes are not detected in this pull request.


Mark all test classes fileprivate

This reduces the number of unnecessary exported symbols.

@swift-ci please smoke test

Actually, this technique doesn't work with XCTest on Windows (only Swift Testing), never mind.

The -static changes in the build manifest generator are working so far.

I consider this best practice regardless. :)


Add a convenience method for reporting importability

As discussed in the parent branch.
Actually, I super like this after all.

After the review of the other PR, I thought of the function to provide a dict of the report instead
    def import_readiness_report(self):
             return {self.label: self.import_ready}

    def import_readiness_report(self):
         result=super().import_readiness_report(tabs=tabs)
        if not result[self.label]:
             result[self label]={node.label: node.import_readiness_report() for node in self}
    return result

This would omit composites which are fine from being reported and one could provide this dict in the error upon save. Of course one can also make these private and add a nice printing user function.
(sorry for missing formatting - ok my mobile 😅)

Lgtm, however tests seem to be violated?!

Did they fail for you locally? On my machine they run fine.
CI tests are fully expected to be broken because (a) I haven't updated my requested pyiron_contrib version yet, and (b) I have requested a version of h5io that isn't released yet 😝

After the review of the other PR, I thought of the function to provide a dict of the report instead
    def import_readiness_report(self):
             return {self.label: self.import_ready}

    def import_readiness_report(self):
        result=super().import_readiness_report(tabs=tabs)
       if not result[self.label]:
            result[self label]={node.label: node.import_readiness_report() for node in self}
   return result

This would omit composites which are fine from being reported and one could provide this dict in the error upon save. Of course one can also make these private and add a nice printing user function.
(sorry for missing formatting - ok my mobile 😅)

I would actually prefer if the composite does register as failing.
Pros:

Because trying to save it while any children are not saveable must crash
IMO it makes it easier to trace down the report to where the broken leaf node is

Cons:

The user might think they need to fix something in the composite defintion itself, even when that's fine.

Now the readiness report appears right in the error message (good call, @niklassiemer!!) and .import_readiness_report is a property (for symmetry with .readiness_report and usability).

Like it :+1:
No time to actually play with the branch right now, only procrastinating before cleaning the kitchen 🤣


fix(api-gen): re-enabled GenericRecords for objects in api-type schema

Description
In pull request #1032 the transformation of generic openAPI objects was commented out. In result, all generic objects (e.g. associations) have been generated as Record<string, never>, making them unusable. This PR reverts that behaviour.
Type of change
Bug fix (non-breaking change that fixes an issue)
TODOs

[X] Changeset file provided read more
[ ] Documentation added/updated
[ ] Unit-Tests added/updated
[ ] E2E-Tests added/updated
[ ] Related Issue updated

Hello @patzick,
thanks for your quick response. Unfortunately, this is currently not working for the admin api schema. Associations there are typed as Record<string, never>, as you can see here: https://raw.githubusercontent.com/shopware/frontends/main/packages/api-client/api-types/adminApiTypes.d.ts
This means associations are currently not usable without overwriting their types.


TypeError in TextOperation

TypeError: this is undefined

TextOperation.prototype.equals = function (other) {
if (this.baseLength !== other.baseLength) { return false; }
if (this.targetLength !== other.targetLength) { return false; }
if (this.ops.length !== other.ops.length) { return false; }
for (var i = 0; i < this.ops.length; i++) {
if (this.ops[i] !== other.ops[i]) { return false; }
}
return true;
};

I'm using combined script for browser and get this error.

Do you have a stack trace for that? I'd try to help but I have no idea what the context of the error is.

Hi @alanhong902, did you manage to fix the issue? We encountered a TypeError: Cannot read property 'baseLength' of undefined, and it seems to be related to the code block at:
https://github.com/Operational-Transformation/ot.js/blob/e9a3a0e214dd6c001e25515274bae0842a8415f2/lib/text-operation.js#L410
If you have any updates or solutions, please let us know. Thanks!


Line with no vSphere version 5.5.0

I found a line with no vSphere version 5.5.0. I mean, these are lines 817 to 821 of the vmwarevSphereHealthCheck.pl version 6.0.0:

if($aversion eq '4.1.0' || ($aversion eq '5.0.0' || $aversion eq '5.1.0')) {
## UPTIME ##
$vmstateString .= "".($vm->summary->quickStats->uptimeSeconds ? &getUptime($vm->summary->quickStats->uptimeSeconds) : "N/A")."";
}

I wonder why the version number 5.5.0 is not included. And also, some lines don't include the versio number 6.0.0.  Those lines are identified running this command:

[user]$  grep 5.1.0 vmwarevSphereHealthCheck.pl -n|grep -v 6.0

Is all of that ok? Thank you.

The whole section is (lines 802 to 821):

                            ######################
                            # VM STATE
                            ######################
                            if($VM_STATE eq "yes") {
                                    $vmstateString .= "
";

                                    ## ESX/ESXi host ##
                                    $vmstateString .= "".$host_name."	";

                                    ## DISPLAY NAME ##
                                    $vmstateString .= "".$vm->name."	";

                                    ## BOOT TIME ##
                                    $vmstateString .= "".($vm->runtime->bootTime ? $vm->runtime->bootTime : "N/A")."	";

                                    if($aversion eq '4.1.0' || ($aversion eq '5.0.0' || $aversion eq '5.1.0')) {
                                            ## UPTIME ##
                                            $vmstateString .= "".($vm->summary->quickStats->uptimeSeconds ? &getUptime($vm->summary->quickStats->uptimeSeconds) : "N/A")."	";
                                    }


Please put out a new release

Can a new release be made so that people running on PHP 7.2 don't have issues? The fix was committed a long way back, so it's just waiting a new release. This would prevent people from having to use a development copy.

Done


Module vs state

Hi,
i am a beginner at MEAN.JS. I am a bit confused about few of the things.
Case: i want to create a page which can be opened at url [xxxx.com/post-requirement]
the contents of this page will store data to DB on submit
which thing should i follow:

create a module by the name 'post-requirement'
or
create a state using ui-router

the second case is easy but because i am working in the 'core' module, the boilerplate did not provide model files from where i can store info into mongodb and i dont how to create them.
please suggest.

Please post this on Gitter as this is a question rather than a bug/feature request.

no room for meanjs on Gitter ?
where do i post ?

Post on StackOverflow
On 10/28/15, dbelieves<EMAIL_ADDRESS>wrote:

no room for meanjs on Gitter ?
where do i post ?

Reply to this email directly or view it on GitHub:
https://github.com/meanjs/mean/issues/1024#issuecomment-151869336

--
Twesigomwe Gilbert
Software Engineer
Bsc. Computer Engineering

https://gitter.im/meanjs/mean


Autostart with template

Hi. How I can adjust autostart with my template?

I don't quite follow what is requested here, can you expand on what you mean?

For example after powerlost, pc will start and run chia application, also start pschiaplotter.
Q, how i can start pschiaplotter automaticaly (start make plots) with my template.


If there is '/' contain in git branch name, vcs_branch show incorrect branch name.

If there is '/' contain in git branch name, vcs_branch will show only the parts of brach name after last '/'.
I think the root cause is using branch=${branch##*/} in promptline#slices#vcs_branch#function_body.
Would you fix this condition?

According to the POSIX Shell specification, ${branch##*/} will remove the largest prefix pattern matching */.
I'm guessing that removing the smallest prefix pattern would suit your needs better, the pattern for that being ${branch#*/}.  Have you tried this?  If it works for you, maybe submit a pull request?

Hi @tysonclugg, thank you for your response!
I think the original pattern is correct for the normal condition.
If the result of git symbolic-ref --quiet HEADisrefs/heads/master, that works correctly. But if I have a branch named test/dev, that would be refs/heads/test/devand onlydev` was showed.
I think that slash is inappropriate for being a delimiter in the branch name.
Therefore, I decide to close this issue.
Thank you all.


API request to Deploy a single container returns an array of 1 container

API request '/api/containers', along with a POST of data, returns an array containing a single containers instead of just a single object.

Shipyard v3 has been released and is a major refactor. Could you please check to see if this is still an issue? If so, please re-open. Thanks!


Refactor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

110 of 115 (95.65%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+13.8%) to 17.692%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/test_plassembler.py
97
98
98.98%

src/concat.py
13
17
76.47%

Totals

Change from base Build<PHONE_NUMBER>:
13.8%

Covered Lines:
230

Relevant Lines:
1300

💛  - Coveralls


Update dotnet

Tool information

Tool name: dotnet
Tool license:
Add or update? update
Desired version: 5
Approximate size:
If this is an add request:

Brief description of tool:
URL for tool's homepage:
Provide a basic test case to validate the tool's functionality:

Area for Triage:

Question, Bug, or Feature?:
Feature
Virtual environments affected

[x] macOS 10.15
[x] Ubuntu 16.04 LTS
[x] Ubuntu 18.04 LTS
[x] Ubuntu 20.04 LTS
[x] Windows Server 2016 R2
[x] Windows Server 2019

Can this tool be installed during the build?

Tool installation time in runtime

Are you willing to submit a PR?
yes https://github.com/actions/virtual-environments/pull/1856
Azure Pipelines hosted agents will soon be updated to contain .Net Core 5.x SDK/Runtime along with older lts versions. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions.
You can learn more about the breaking changes here:
https://docs.microsoft.com/en-us/dotnet/core/tools/
https://docs.microsoft.com/en-us/dotnet/core/compatibility/
To learn about more such changes and troubleshoot, refer here:
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting

Hi, @tejasd1990!
Thanks for your contribution. Could you please change your PR to install a stable version of .Net 5 only? We'll merge it as soon as a stable version is released.

Hi @miketimofeev , I have added this issue for adding an announcement. My team owns the dotnetcore ecosystem, and we have made this change in the pr for the dotnet 5 release day 0 readiness.

Azure Pipelines hosted agents have been updated

They have not yet been updated. We will be updating them soon.
This is a hands-up to make folks aware of this change. Please update the message to call that out.

hi @miketimofeev , we want to make this an announcement as I said earlier. Whats the way forward for that?

@tejasd1990 , Alyona has create announcement in repository: https://github.com/actions/virtual-environments/issues/1891
It will also be included to image documentation for all images next week

@maxim-lobanov could you please update this issue after announcement is public this week? Would like to spread that information.

Hello, I am closing this issue in favor of https://github.com/actions/virtual-environments/issues/1891.
We will deploy new images with .NET 5 in two weeks. We will keep announcement post updated.


10updocker & VVV

Describe your question

I am interested to use 10updocker and VVV but 10updocker required Hyper-V enabled but VVV required Hyper-V disabled.
How I can use both?

This may (or may not) help you - https://varyingvagrantvagrants.org/docs/en-US/installation/hyper-v/


Improved mac docs

This includes more accurate instructions regarding making install disks
for Macs. It includes instructions on how to burn DVDs as well because
older Macs are incapable of booting elementary from USB. The only issue
is that the long Mac documentation causes the Windows and Linux tabs to
have lots of whitespace. I don't have enough knowledge of Javascript or PHP to fix that. I apologize if I'm not following the contributing guidelines --- I don't really know how Github works.

I'm onboard with adding Mac-specific instructions for a USB, but this is way too much. I don't think we need to worry about people installing elementary OS on a 10+ year old Mac (yep it's been that long since they switched to Intel) and Apple themselves don't support creating an install DVD anymore. I think we can/should assume USB across the board and not speak to legacy devices.

I can remove some of the super excessive information about PPC Macs and such, looking back, it is a little ridiculous.
At the same time though, pretty much only Macs released from 2012 onwards can boot elementary OS from a USB; those are macs from just the past three years ago. It gets more confusing that the different Mac models gained proper EFI USB booting support at different times. I addressed the lather part in my copy. I did a lot of research into this, and there's no way around that.
I don't see why we should remove support for every Mac released before 2012 just because the text is a little too long on the website.

I definitely think calling out specific models and the like is excessive. Opening about this Mac and everything. It's overly complicated and frankly kind of scary. It makes installation sound really hard. From this documentation I would assume it's not worth it to try. It's too much.
We don't provided DVD instructions for PC either. USB is our recommendation.

I'll come around to remove the information and make the changes once I have the time to do so.
I understand your reasoning on user-friendliness regarding documentation, but I hope you will consider accessibility as well.
Would be alright to suggest, in one sentence or so, that older Macs can be booted from a DVD? USB might be the recommendation, but it will not work on pre-2010 or pre-2012 Macs, point blank. I don't think we should leave out an enormous chunk of Mac users.
Are you also happy with recommending the elementary thumbdrive creator for creating USB drives on OS X. If you think the UI text of that app is off, I can fork it and fix it.

Could I recommend my own solution for creating elementary OS USBs?
https://github.com/linusbobcat/create-elementary-os-installer
I'm still new to Github and might have messed up my branch/commits. It's suppose to contain the new text I wrote in the new documentation format.
I removed redundant text but added two lines for suggesting DVDs for older Macs. I hope this is alright.
If my branch is too messed up, I can create a new one.

You need to do git fetch origin and git rebase master on your branch, that should shorten the diff down to be a little more manageable, but you might need to manually accept some changes yourself. Always use the one from master unless it's something you are trying to change.

@linusbobcat If you don't rebase this soon then I may close and steal this, your GitHub hasn't seen any activity since the last post and this potentially useful information is languishing here.

I've been extremely busy the past few months, and I apologize for not putting any work into this. Feel free to steal my content. The latest commit I did might not have the latest changes, so I'll put it up on a GitHub gist sometime in the next few days.
To clarify, these are the additions I made, the reasons I added them, and some background info:

I suggested that elementary can be booted using a DVD on older Macs. While Daniel said not to include full instructions on how to make a DVD, I replaced it with one sentence or so. I don't see why we should cut support for millions of Macs which are perfectly capable of running elementary. The addition of adding this line is of course up to you guys.

FYI, Macs' USB EFI boot (for platforms other that OS X) support comes around 2010-2012 depending on the type of Mac. (Apparently MacBook Pros from 2010 can do USB EFI boot whereas iMacs only support it from 2012 up.)

Instead of referring to Unetbootin, which has been largely unreliable in my experience, I refer to an app made from myself which has been largely based on one suggested by aroman in his elementary on Mac guide. It's build using AppleScript, which makes it compatible with many older versions of OS X, and uses DD as a backend, which is super reliable.

Feel free to steal this and make it officially part of elementary. The license is a bit awkward, it's under a CC, but that was the license used by the original author whom I  based the project on. I think it's possible to transfer the CC to a GPL license now, but I'm not sure. I'll check if it is and transfer the license if I can. The project also contains some screenshots for you to use, although those might also be a bit out of date. I'll update the screenshots as soon as possible along with sending that Github gist. There might also be a need for additional instructions on how to bypass gatekeeper which I'll add to the gist.

I recommended installing firmware updates before installing elementary. OS X updates (of OS X itself) are also recommended as Apple sometimes bundles firmware updates along with them.

Sent from my iPhone

On Oct 14, 2015, at 3:52 PM, Lewis Goddard<EMAIL_ADDRESS>wrote:
@linusbobcat If you don't rebase this soon then I may close and steal this, your GitHub hasn't seen any activity since the last post and this potentially useful information is languishing here.
―
Reply to this email directly or view it on GitHub.

Here's the Github gist with all the content. I hope this can be useful. I apologize for this inconvenient way of contributing.


⚠ Bofrost.nl has degraded performance

In 58e5703, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1379 ms

Resolved: Bofrost.nl performance has improved in 49e3fca.


Type declaration does not seem correct.

Describe the bug
Running tsc results in errors
To Reproduce
Steps to reproduce the behavior:

Install the package yarn add ...
Run tsc
Observe the following:

$ tsc --noEmit
node_modules/react-fullstory/src/index.d.ts:32:3 - error TS2411: Property 'uid' of type 'string | undefined' is not assignable to string index type 'string | number | boolean'.

32   uid?: string;
     ~~~

node_modules/react-fullstory/src/index.d.ts:34:3 - error TS2411: Property 'displayName' of type 'string | undefined' is not assignable to string index type 'string | number | boolean'.

34   displayName?: string;
     ~~~~~~~~~~~

node_modules/react-fullstory/src/index.d.ts:36:3 - error TS2411: Property 'email' of type 'string | undefined' is not assignable to string index type 'string | number | boolean'.

36   email?: string;
     ~~~~~

Found 3 errors.

Expected behavior
A clean output.
Environment

OSX 10.14.2
tsc 3.4.5
react-fullstory 1.3.1

Hmm, I just made a new project and added the package and couldn't reproduce. Any specific settings in the tsconfig I can try? Or any info on how youre using it?

I am getting the same result.
"typescript": "3.4.5"

@devon94 I've put together a example setup with the same error that @tomatosource is seeing
Steps:
git clone git@github.com:kengjin/fullstory-typescript-error.git
cd fullstory-typescript-error
yarn
yarn type-check

Output:
$ yarn type-check
yarn run v1.15.2
warning package.json: No license field
$ tsc --noEmit
node_modules/react-fullstory/src/index.d.ts:32:3 - error TS2411: Property 'uid' of type 'string | undefined' is not assignable to string index type 'string | number | boolean'.

32   uid?: string;
     ~~~

node_modules/react-fullstory/src/index.d.ts:34:3 - error TS2411: Property 'displayName' of type 'string | undefined' is not assignable to string index type 'string | number | boolean'.

34   displayName?: string;
     ~~~~~~~~~~~

node_modules/react-fullstory/src/index.d.ts:36:3 - error TS2411: Property 'email' of type 'string | undefined' is not assignable to string index type 'string | number | boolean'.

36   email?: string;
     ~~~~~

Found 3 errors.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Thanks for the repro! It should be fixed by my pull request. Hopefully it gets merged soon.


Input not valid for ENST00000263801.7 Ensembl ID

When entering ID ENST00000263801.7 either through input field or file, an error is raised (input not valid).  (not sure if should be supported, it is actually a transcript)

I guess in principle the idea would be to return a dedicated error message to say this is not supported.

We could support this, easily by mapping the transcripts to genes and using genes for the query.
@YojanaGadiya if you also agree we can consider it for later enhancement.


Error in melo_server.dockerfile

I am facing issue in melo_server.Dockerfile, the issue is

[melo-app  9/10] RUN pip install --no-cache-dir txtsplit torch torchaudio cached_path transformers mecab-python3==1.0.5 num2words==0.5.12 unidic_lite unidic pykakasi==2.2.1 fugashi==1.3.0 g2p_en==2.1.0 anyascii==0.3.2 jamo==0.4.1 gruut[de,es,fr]==2.2.3 g2pkk>=0.1.1 librosa==0.9.1 pydub==0.25.1 eng_to_ipa==0.0.2 inflect==7.0.0 unidecode==1.3.7 pypinyin==0.50.0 cn2an==0.5.22 jieba==0.42.1 langid==1.1.6 tqdm tensorboard==2.16.2 loguru==0.7.2 git+https://github.com/kvinwang/python-crfsuite:
0.518   Running command git clone --filter=blob:none --quiet https://github.com/kvinwang/python-crfsuite /tmp/pip-req-build-ryuiph02
2.586   Running command git submodule update --init --recursive -q
38.27 ERROR: Cannot install gruut[de,es,fr]==2.2.3 and python-crfsuite 0.9.6 (from git+https://github.com/kvinwang/python-crfsuite) because these package versions have conflicting dependencies.
38.27 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
38.42
38.42 [notice] A new release of pip is available: 23.0.1 -> 24.1.1
38.42 [notice] To update, run: pip install --upgrade pip

failed to solve: process "/bin/sh -c pip install --no-cache-dir txtsplit torch torchaudio cached_path transformers mecab-python3==1.0.5 num2words==0.5.12 unidic_lite unidic pykakasi==2.2.1 fugashi==1.3.0 g2p_en==2.1.0 anyascii==0.3.2 jamo==0.4.1 gruut[de,es,fr]==2.2.3 g2pkk>=0.1.1 librosa==0.9.1 pydub==0.25.1 eng_to_ipa==0.0.2 inflect==7.0.0 unidecode==1.3.7 pypinyin==0.50.0 cn2an==0.5.22 jieba==0.42.1 langid==1.1.6 tqdm tensorboard==2.16.2 loguru==0.7.2 git+https://github.com/kvinwang/python-crfsuite" did not complete successfully: exit code: 1

hey @Jaiaggarwaaaaal , did you try deploying this in GPU-based instance? melo_server and whisper_server require GPU instances as mentioned in their docker config.
https://github.com/bolna-ai/bolna/blob/aafb2133ce2f1b9a837c57eb2b8e3efb7e643833/examples/whisper-melo-llama3/docker-compose.yml#L68-L82

No, @prateeksachan i didn't. @marmikcfc also tried to solve the issue in the Hackathon(AI - AGENT ), he also proposed that might be the GPU issue, because he was able to run 'bolna' in his device through instance.  I will try deploying it using the gpu.


[virt-launcher]: lower the log severity of GA unsupported commands

It's a temporary solution until we will implement a proper behavior
of the virt-launcher in cases of unsupported GA commands.
Signed-off-by: Igor Bezukh<EMAIL_ADDRESS>What this PR does / why we need it:
The urgency for lowering this message came from a large scale
environment where this message appears to abuse the monitoring
system of the cluster.
Fixes #
https://bugzilla.redhat.com/show_bug.cgi?id=2008522
Release note:
NONE

/cc @rmohr @stu-gott @vladikr

/approve
@enp0s3 did you verify that the message goes away?
/cc @vladikr

@rmohr @stu-gott  I've verified with the following steps:

Crafting some non existing GA command guest-get-usersssss in agent-poller
Observing the error log {"component":"virt-launcher","level":"error","msg":"internal error: unable to execute QEMU agent command 'guest-get-usersssssss': The command guest-get-usersssssss has not been found","pos":"qemuAgentCheckError:1054","subcomponent":"libvirt","thread":"26","timestamp":"2021-10-05T13:56:36.465000Z"}
Rebasing on this PR, cluster-sync, error message dissapeares.
Patching Kubevirt CR with configuration.developerConfiguration.logVerbosity.virtLauncher: 4
Re-run the VM, the same error appears as warning

/retest


sassc 2.4.0 Unable to Install on latest Sonoma

Ruby
ruby 3.3.1 (2024-04-23 revision c56cd86388) +YJIT [x86_64-darwin24]

RVM
$ rvm --version
$ rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]

Gives me the following error when trying to install sassc at @ 2.4.0
/Users/xyzxyz/.rvm/rubies/ruby-3.3.1/bin/ruby extconf.rb
creating Makefile

current directory: /Users/xyzxyz/.rvm/gems/ruby-3.3.1/gems/sassc-2.4.0/ext
make DESTDIR\= sitearchdir\=./.gem.20241015-77813-bxkh7z sitelibdir\=./.gem.20241015-77813-bxkh7z clean

current directory: /Users/xyzxyz/.rvm/gems/ruby-3.3.1/gems/sassc-2.4.0/ext
make DESTDIR\= sitearchdir\=./.gem.20241015-77813-bxkh7z sitelibdir\=./.gem.20241015-77813-bxkh7z
compiling ./libsass/src/ast.cpp
make: *** [ast.o] Error 1

make failed, exit code 2

Someone I know didn't have this issue using rbenv could it be something to do with the way rvm builds Ruby?

Seems like a duplicate of https://github.com/sass/sassc-ruby/issues/248

I have same issue with rbenv and ruby 3.1.1


MC 1.19.2  Forge 43.2.7 Configs & or save restart

Configs & or save restart Chausses the loss of origin. this making me afraid of server having to give an orb every time they join the game.
Origin mods being used are:
Version of mod are as follows:
https://www.curseforge.com/minecraft/mc-mods/origins-forge V: 1.19.2, <IP_ADDRESS>
https://www.curseforge.com/minecraft/mc-mods/origins-plus-plus V 2.0
link to the post on other mod:https://github.com/QuantumXenon/origins-plus-plus/issues/166

If you can provide the latest.log of the server (or client if you're running a client), I'd be able to check what the errors are.
You can find it in the logs folder in you minecraft instance.

I was checking the logs to see if i could find something regarding the issues witch was not the case so there for i didn't include as the log was empty about origin info. also i don't have the file anymore.

Unfortunately, the offending mod isn't origins, it's probably Apoli, which is why I asked for logs.
If you can reproduce the issue, you'll be able to find those logs.

Waht apoli u mean ?
i don't have any mod named apoli that i know of

It's bundled in the origins jar file. It's the mod that handles powers.

I'll look in to it

latest.log

also the key bind set up for the mods on my end stopped working after a KubeJS /reload.

So any news to the info on bug ?

I don't know, as far as I can tell, half the origins of Origins++ failed to load properly on forge (basically every single one had missing powers), updating origins may help, but apart from that the only way it breaks after a reload is that something isn't synced properly, which shouldn't be able to occur anymore given the sheer amount of redundancy in the synchronization system.

ok well im posted a issue to the origin ++ so hope they can fix it and the last update made my save crash due to missing powers.


Fix EPG for programme-tv.net

Changed names of things to grab (moved from singleBroadcastCard to mainBroadcastCard, check https://www.programme-tv.net/programme/chaine/programme-tf1-19.html)

@LaneSh4d0w Thank you for your help!


'user is not exit' error

2021-01-14 22:34:16  DEBUG    main          SysInfo: {'version': '2021.1.1', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.7', 'docker': True, 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.4.79-v8', 'supervisor': '2020.12.7', 'host_os': 'Home Assistant OS 5.10', 'docker_version': '19.03.13', 'chassis': 'embedded'}
2021-01-14 22:34:16  DEBUG    main          AUTO mode start
2021-01-14 22:34:22  ERROR    sonoff_cloud  Login error: {'error': 404, 'msg': 'user is not exit'}
2021-01-14 22:34:22  WARNING  main          Can't connect to eWeLink Cloud
2021-01-14 22:34:22  INFO     sonoff_local  1000b0d874 <= Local1 | No devicekey for device
2021-01-14 22:34:22  INFO     sonoff_local  1000b89c37 <= Local1 | No devicekey for device
2021-01-14 22:34:22  INFO     sonoff_local  10009b0ee7 <= Local1 | No devicekey for device

I tried using my main account and 2nd account. Both give me same error.
Does it need an eWelink advanced plan to enable Sonoff LAN?
Thanks

Apparently the 2nd account works. I entered wrong login details.
2nd account is created on AU server
3rd account I created also works (I tried it on UK server)

Apparently the 2nd account works. I entered wrong login details.
2nd account is created on AU server
3rd account I created also works (I tried it on UK server)


Event Handling

Since Deno does not have an EventEmitter, we need to somehow create a solution for this. The current idea i have as a rough first draft is that when an event is sent by discord through the websocket we just run a function on the client.
client.eventHandlers.guildMemberAdd() for example
This would allow the end users to overwrite the functions as they wish.

Closing in favor of #7


Add reagent specific footstep sounds

About the PR

Added a sticky sound effect for soda/juice.

Closes #15194
Why / Balance

More immersive.
Technical details

Subscribes to GetFootstepSoundEvent, and then gets the primary reagent of a puddle and returns its FootstepSound (defaults to water sound).
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/space-wizards/space-station-14/assets/89101928/105a105c-229f-4b87-af74-c0a3ad3c4f04
Changelog

:cl:

add: Added different footstep sounds for blood, soda and juice

meatslap.ogg


Help with creating encrypted message

Hey stoodkev,
Sorry to bother you, I am having the hardest time as a C# developer going through the source code layers to find how the requestEncodeMessage is encrypting the message.
Would you be able to provide any insight on how the message is hashed/created so that it can be used by the requestVerifyKey function?
My end goal is to create an encoded message on my backend and then give it to the user to decode with the requestVerifyKey to ensure they control the private key of an account.
Any help or insight would be greatly appreciated! I have spent a lot of time trying to work this out but to no avail so far.

Hi! We're using hive-js library for encrypting / decrypting the messages :
import * as hive from '@hiveio/hive-js';
hive.memo.encode(privateKey, receiverPublicKey, memo) // memo needs to start by a '#'

Wow, thanks for the quick reply @stoodkev!
Just to confirm, even though it's hive.memo.encode, the same method can also be used for Posting/Active key?

hive.memo.encode

Yeah, it works with any type of key. Just make sure you start the message with a '#'

Perfect, thanks!


[Android] initial UpdateLogitsOrProbOnCPUSync freezes OS

🐛 Bug
:wave: been diving more into the freezing issue noted in https://github.com/mlc-ai/mlc-llm/issues/1379, creating a new issue with better details and ways to reproduce.
When I load a llama-2-7b model (any of the default configured quantizations) and prompt the model with a large input:

Android OS freezes and becomes unresponsive
System application crashes and restarts itself
The output of the LLM starts appearing in the MLC-Chat app after the os becomes responsive again.

Additional information: prompt size ~ 2700 characters (which is gets truncated: The prompt tokens are more than max_window_size, the input will be truncated.) which is not the root cause but makes it easier to reproduce.

When timing execution of all the different functions in llm_chat.cc, I can see that the underlying issue is coming from:

SampleTokenFromLogits executed in 65189.915079 ms

Diving more deep into where it's being hold back, it's coming from:
  void UpdateLogitsOrProbOnCPUSync(NDArray logits_or_prob) {
    if (!logits_on_cpu_.defined()) {
      logits_on_cpu_ = logits_or_prob.CopyTo(DLDevice{kDLCPU, 0});
    } else {
      ICHECK_EQ(logits_on_cpu_->shape[0], logits_or_prob->shape[0])
          << "Expect size of logits remain unchanged";
      logits_on_cpu_.CopyFrom(logits_or_prob);
    }
    TVMSynchronize(device_.device_type, device_.device_id, nullptr);
  }

The next line when logits aren't found on the CPU is the last line to hit before it halts:

logits_on_cpu_ = logits_or_prob.CopyTo(DLDevice{kDLCPU, 0});

Will continue to look more into what above line does but any :eyes: are highly appreciated!

Smaller model like https://github.com/jzhang38/TinyLlama, is faster but still results in a freeze of the OS:
SampleTokenFromLogits executed in 12231.236818 ms

using a single world prompt, like hello, results in:
SampleTokenFromLogits executed in 567.032344 ms

While it's shorter, having any freezes at all makes it unusable in non-chat UI use-cases. For example, using a with voice assistant powered by a LLM while having animating elements and sound in the application.

Would be great to confirm if the particular run executes on a separate thread.
The main issue is not sample, but the cost of Synchronize(aka the cost of waiting for GPU compute to finish)

Would be great to confirm if the particular run executes on a separate thread.

it is, my initial assumption about main thread halting was wrong.
The code is executing on a separate thread.

I see, then it might due to the fact that we are overusing the gpu resources for prefill.

We are moving towards a new engine and android sdk, so this issues as of now is less relevant, closing for now. We might still face some throttling issue in new engine


[BUG] TensorFlow multihot doesn't work with empty rows

To be clear: this is on the embedding side. The data loading is no problem.

This might be easiest to handle in TF with something like https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/sparse-fill-empty-rows


Update convert-user-mailbox-to-shared-mailbox.md

Correcting the part of the article discussing about converting an user mailbox to a shared mailbox in an Exchange Hybrid environment.

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@JohanFreelancer9 is something that I should continue / do, in order to have this change in Production?

@dimcry - yes, please merge the commit on the copy/edit review I've done. Thank you.

Merging the content in Production.

Seems that I don't have rights to commit...

@JohanFreelancer9 / @yogkumgit seems that I don't have rights to merge this in Production.
Can you please help me with this?
Thank you very much!

@dimcry and @JohanFreelancer9  confirm copy review

@yogkumgit - all good after my edits have been implemented.

@yogkumgit I confirm it can be published. Thank you!

@SKjerland Please merge this PR. Thanks.

@yogkumgit or @JohanFreelancer9 - Please resolve the conflicts and then ping me again so I can merge. Thanks!

@yogkumgit - unfortunately I cannot resolve the conflicts, can you please assist?

@msbemba Please help and resolve this conflict if possible. Thanks

@yogkumgit I don't have access to resolve this conflict. Only those who created the PR can resolve the conflict.

@dimcry - Can you please resolve the conflicts on this PR so that I can merge? Thanks!

@yogkumgit / @msbemba  / @SKjerland / @JohanFreelancer9 please review and proceed in merging this change in Prod. Thank you!

@SKjerland


Is there any way to Renew Token using this API?

try this
https://gist.github.com/IntuitDeveloperRelations/7259345


some more tests for coverage

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (22b7554) 73.22% compared to head (a20a6b5) 72.47%.

Files
Patch %
Lines

.../librir/signal_processing/rir_signal_processing.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@                 Coverage Diff                 @@
##           releases/v5.0.0      #33      +/-   ##
===================================================
- Coverage            73.22%   72.47%   -0.76%
===================================================
  Files                   18       18
  Lines                 1856     1838      -18
===================================================
- Hits                  1359     1332      -27
- Misses                 497      506       +9

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


After update flutter to v3.22.0, getBuilder not working properly, I faced a problem that getBuilder wont create multiple instance controller with tag. It working in debug mode but not working in release mode

After update flutter to v3.22.0, I faced a problem that getBuilder wont create multiple instance controller with tag.

I also encountered the same problem

I resolved the issue by using "UniqueKey().hashCode.toString()" instead of "UniqueKey().toString()". Previously, "UniqueKey().toString()" was returning 'Instance of 'U1Z2eEa0zJL''', but now, in debug mode, I'm seeing actual values but in release mode i get 'Instance of 'UniqueKey''. Using UniqueKey().hashCode.toString() provided consistent and expected behavior across both modes. @amraamandal


[Bug] Jupyter notebook kernel crashes with pyclesperanto but not pyclesperanto_prototype

Pre-requist tasks

[x ] My device drivers are up to date.
[x ] The troublemaking solutions did not solved my issue.

Describe the bug
In a juptyer notebook, kernel crashes sporadically. Usually, the first time I write code with import pyclesperanto as cle, the kernel does not crash. However, upon re-running the same code block or after restarting the kernel, the kernel will always crash. Switching to import pyclesperanto_prototype as cle results in the kernel never crashing. I'm mostly posting this in case this can be a spot where this can start to be tracked down. I have had this occur in a few different projects over the past few weeks, and always find the fix is to fall back to the prototype, but I haven't kept track if it is particular functions or not.
To Reproduce
I have no idea. I have tried to create a test notebook where this happens. With a random numpy array it never seems to happen. With image data that is the same size it sometimes happens. The most consistent time that it occurs, is when I have a napari viewer open in that kernel.
This should be enough to crash the kernel, if it was consistent, but this does not do it regularly:
import numpy as np
import pyclesperanto as cle
# import pyclesperanto_prototype as cle

# Calculate the number of elements for a 5MB array with uint16 elements
num_elements = (5 * 1024 * 1024) // 2
# Create a 5MB, 2D array
array_5mb_2d = np.random.randint(
    0,
    65536,
    size=(1024, num_elements // 1024),
    dtype=np.uint16
)

def background_subtraction(img, gb_sigma=1, th_sigma=10):
    gb = cle.gaussian_blur(img, sigma_x=gb_sigma, sigma_y=gb_sigma)
    th = cle.top_hat_box(gb, radius_x=th_sigma, radius_y=th_sigma)
    return th

img_bs = background_subtraction(array_5mb_2d, gb_sigma=2, th_sigma=30)

Screenshots
If applicable, add screenshots to help explain your problem. Expected results, vs actuall results. Or the output error message if any.
Configuration details:

OS: Windows 11
Device: NVIDIA RTX 3060 12GB
Device type: dedicated GPU

Additional context
Add any other context about the problem here.

Thanks for raising the issue! I was able to reproduce on a Silicon M2 quickly.
It seems that having a napari running in the jupyter kernel while calling a pyclesperanto operation make the jupyter kernel crash. Without any napari running, I did not have any issues.
My first guess is an issue related an error in the pyclesperanto.Array API in perspective of the numpy.array API. We will try to solve this quickly.

I'm glad my description was helpful enough to figure that out. I was quite tired last night when writing that out...
I can confirm that this  code minimally reproduces the crash. Commenting out instantiating the viewer prevents the crash as does switching to prototype.
import numpy as np
import napari
import pyclesperanto as cle
# import pyclesperanto_prototype as cle

viewer = napari.Viewer()
img = np.random.randint(0, 65536, size=(1024, 1024), dtype=np.uint16)
img_gb = cle.gaussian_blur(img, sigma_x=2, sigma_y=2)

Yes, I though at start it was due to some incompatibility between numpy memory beeing used in napari and clesperanto but simply having a napari viewer is enough for crashing the kernel, even if the data is not loaded in the viewer.
I will need to search a bit on how to solve this ... thanks for pointing this to us !

Reverting to 0.10.3 seems to solve the issue.

I just tested and 0.10.3 does not crash my kernel.

Great, I will work on fixing this in the coming days


feat: add render prop

Resolves #175

Pull Request Test Coverage Report for Build 823

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 822:
0.0%

Covered Lines:
73

Relevant Lines:
73

💛  - Coveralls

Thank you @ksocha for this PR and sorry that I've looked at it so late. Published in 1.6.0.


Add specification for isdtype

This PR

resolves #425 by adding an API for testing whether a provided dtype is of a specified data type kind.
specifies that the function name is is_type (rather than is_dtype) in order to match result_type. Another possibility is istype in order to match astype. Update: based on feedback, the function name is specified as isdtype. The functions astype and result_type are now considered ill-named (e.g., as_dtype/asdtype and result_dtype/common_dtype are considered better based on present naming conventions, but are named as such due to historical reasons). The choice of isdtype is considered preferable over is_dtype in order to be consistent with isfinite, isinf, and isnan, which already exist in the specification. One should note that this does not follow strict PEP8 guidance; however, consistency within specification was considered preferable over PEP8 purity.
follows the API design proposed and voted on in https://github.com/data-apis/array-api/issues/425#issuecomment-1271413533 and supports providing a dtype, a str, and a tuple of dtype and str.
supports the following dtype kinds: 'bool', 'signed integer', 'unsigned integer', 'integral', 'real floating','complex floating', and 'numeric'.
does not include the kind "floating" (as described in the specification data type categories). This kind would be achieved via a tuple: ('real', 'complex').

Based on the 3 November 2022 meeting, a few changes should be made to this PR:

change integer to integral (in order to avoid ambiguity with integer referring to signed integer dtypes).
change real to real floating (due to ambiguity of what is meant by "real").
change complex to complex floating (in order to mirror real floating).
add a note explaining that array API implementors are not limited to including only dtypes as described in the spec in particular categories. E.g., float16 and bfloat16 can be included in real floating.

Based on the 3 November 2022 meeting, a few changes should be made to this PR:

(1) and (4) are more clear cut than (2) and (3), which make things more verbose. But I'm fine with all four of those.
I do really want to see the name change to either is_dtype or isdtype. Then, with those five changes made, I think this is good to go.

I've updated the PR to incorporate the proposed changes 1-4, and I've renamed the API to isdtype to be consistent with isfinite, isinf, and isnan. Both isdtype and is_dtype were considered acceptable based on feedback here and in consortium meetings; the former was chosen for consistency with existing specification APIs.
This PR should be ready for another round of review.


I tried to run this example after making changes to it according to my task: https://colab.research.google.com/github/google-research/bert/blob/master/predicting_movie_reviews_with_bert_on_tf_hub.ipynb
I get an accuracy of 75% on testing dataset.
I tried to run the estimator.prediction function on some data and got negative results. I thought this is because the model has not seen the data that I'm feeding and is given negative similarity for the said data. Hence, I tried to predict on one of the training data and got negative probabilities on this as well. Any ideas why?

change in create_model() function can help.
probs = tf.nn.softmax(logits, axis=-1)
instead of returning log_probs, return this.


Add examples to translate trigger

I will be adding examples of how words are used in a sentence in translate trigger. This is just a reminder for me since I'll forget.

Done.


pydantic version is incompatible with some existing packages (thinc and spacy)

flowfunc requires pydantic>=1.9 ( pydantic-1.10.2 installed) is incompatible with existing packages of my app:

thinc 8.0.15 requires pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4, but you have pydantic 1.10.2 which is incompatible.
spacy 3.2.4 requires pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4, but you have pydantic 1.10.2 which is incompatible.

I have to solve these dependency conflicts.
After all, I have successfully installed flowfunc-0.0.1 and pydantic-1.10.2.
Next, run the basic usage example.

I believe flowfunc should work with previous versions of pydantic as well. I'd suggest you override the pydantic version and try with spacy and thinc and see if it works for you.


[FLINK-21937][python] Support batch mode in Python DataStream API for basic operations

What is the purpose of the change
This pull request support batch mode in Python DataStream API for basic operations such as map, flatmap, filter, etc.
Verifying this change
This change is already covered by existing tests, such as BatchModeDataStreamTests in test_data_stream.py.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@dianfu Thanks for your pull request. LGTM.


tests/arch/common/timing/arch.common.timing.smp fails for CAVS15, 18

Describe the bug
tests/arch/common/timing/arch.common.timing.smp fails for CAVS 15 and CAVS 18.
To Reproduce
twister --disable-suite-name-check -p intel_adsp_cavs18 --device-testing --device-serial-pty=/home/herbert/zephyr-intel/zephyr/soc/xtensa/intel_adsp/tools/cavstwist.sh --west-flash=/home/herbert/zephyr-intel/zephyr/soc/xtensa/intel_adsp/tools/cavstwist.sh --no-skipped-report -x=CONFIG_BOOT_DELAY=500 -v -s tests/arch/common/timing/arch.common.timing.smp

Logs and console output
Same handler.log for both:
***** delaying boot 500ms (per build configuration) *****
*** Booting Zephyr OS build zephyr-v3.1.0-4409-ge6d7118f0ee7  (delayed boot 500ms) ***
Running TESTSUITE arch_timing
===================================================================
START - test_arch_timing
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/common/timing/src/main.c:66: perform_tests: diff1_ns not within WAIT_NS +/- WAIT_NS * TOLERANCE
FAIL - test_arch_timing in 0.003 seconds
===================================================================
START - test_arch_timing_smp
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/common/timing/src/main.c:66: perform_tests: diff1_ns not within WAIT_NS +/- WAIT_NS * TOLERANCE
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/common/timing/src/main.c:66: perform_tests: diff1_ns not within WAIT_NS +/- WAIT_NS * TOLERANCE
FAIL - test_arch_timing_smp in 0.003 seconds
===================================================================
TESTSUITE arch_timing failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL -   0.00% [arch_timing]: pass = 0, fail = 2, skip = 0, total = 2 duration = 0.006 seconds
- FAIL - [arch_timing.test_arch_timing] duration = 0.003 seconds
- FAIL - [arch_timing.test_arch_timing_smp] duration = 0.003 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
RunID: e48a778ee91d4220b57b33fd693b8065
PROJECT EXECUTION FAILED

Expected behavior
Test pass
Impact
Unsure, will leave it to @edersondisouza
Environment

Ubuntu 20.04
Zephyr SDK (also confirmed for XCC)
Latest main at time of writing (e6d7118f0ee7fbf542124ab6845ba6879de8aaf7)

What else is weird is that I can't build the same test with XCC for CAVS 15, 18 or 25 (I know I can build with XCC, just built hello_world)
XCC environment:
XTENSA_BUILDS_DIR=/home/herbert/xcc/install/builds/RG-2017.8-linux
XTENSA_CORE=X6H3CNL_2017_8
XTENSA_SYSTEM=/home/herbert/xcc/install/builds/RG-2017.8-linux/X6H3CNL_2017_8/config
XTENSA_TOOLCHAIN_PATH=/home/herbert/xcc/install/tools
XTENSA_TOOLS_ROOT=/home/herbert/xcc
XTENSA_TOOLS_VERSION=RG-2017.8-linux

$  twister --build-only -p intel_adsp_cavs15 -p intel_adsp_cavs18 -p intel_adsp_cavs25 -s tests/arch/common/timing/arch.common.timing.smp -v

build.log:
...
external/zephyr/tests/arch/common/timing/src/main.c
cc1: warnings being treated as errors
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:83: warning: ‘arch_timing_test_arch_timing’ declared inline after being called
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:83: warning: previous declaration of ‘arch_timing_test_arch_timing’ was here
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:102: warning: ‘arch_timing_test_arch_timing_smp’ declared inline after being called
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:102: warning: previous declaration of ‘arch_timing_test_arch_timing_smp’ was here
...

What else is weird is that I can't build the same test with XCC for CAVS 15, 18 or 25 (I know I can build with XCC, just built hello_world)
XCC environment (dunno if you need alla this):
XTENSA_BUILDS_DIR=/home/herbert/xcc/install/builds/RG-2017.8-linux
XTENSA_CORE=X6H3CNL_2017_8
XTENSA_SYSTEM=/home/herbert/xcc/install/builds/RG-2017.8-linux/X6H3CNL_2017_8/config
XTENSA_TOOLCHAIN_PATH=/home/herbert/xcc/install/tools
XTENSA_TOOLS_ROOT=/home/herbert/xcc
XTENSA_TOOLS_VERSION=RG-2017.8-linux

$  twister --build-only -p intel_adsp_cavs15 -p intel_adsp_cavs18 -p intel_adsp_cavs25 -s tests/arch/common/timing/arch.common.timing.smp -v

build.log:
...
external/zephyr/tests/arch/common/timing/src/main.c
cc1: warnings being treated as errors
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:83: warning: ‘arch_timing_test_arch_timing’ declared inline after being called
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:83: warning: previous declaration of ‘arch_timing_test_arch_timing’ was here
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:102: warning: ‘arch_timing_test_arch_timing_smp’ declared inline after being called
/home/herbert/zephyr-external/zephyr/tests/arch/common/timing/src/main.c:102: warning: previous declaration of ‘arch_timing_test_arch_timing_smp’ was here
...

Does any ZTEST build with xcc?


Search & filtering

Hi folks,
I've added the searchable functionality and it works well just when I add input text and not when I remove text.
So I can make a search of word in my adapter dataset and the text is highlighting if matches -> nice ! ... but not on every showed items.
I'm pretty sure it's linked to a refresh problem cause I have UI troubles when I remove search text.
The refresh of the initial list seems to be done but visually there's also some old filtered items that remains. So It's like some super impose of two lists one on top of the other.
Below is parts of search method in my adapter implementation
private boolean animate = false;
private List items = get input data from model ...
private List initialDataset = null;    -> initial data to adapter
private List listToSearch = null;     -> copy for search
Can you just tell me if I missed something in initialization or filtered/unfiltered items ?
-->So I do first a call to    updateDataSet(items, animate);   to get database data and make a first copy of items into initialDataset then set that as initial adapter content.
@Override
public void updateDataSet(List dataset, boolean animate) {
if (dataset != null && dataset.size() > 0) {
initialDataset = new ArrayList<>(dataset);
super.updateDataSet(initialDataset, animate);
}
}
Then when I add text in my search field, it goes to this method
public void searchText(String search){
    if (StringUtils.isEmpty(search)) {
       // run if search field is empty null to reset everything to initial state the adapter content
       // but I suppose the problem is there somewhere...

        setSearchText(null);
        if (listToSearch != null && listToSearch.size() > 0) listToSearch.clear();
        updateDataSet(items, animate);
        notifyDataSetChanged();
        return;
    }

    // otherwise it makes the search if there's something to search into from a search copy list !
    if (initialDataset != null && initialDataset.size() > 0) {
        listToSearch = new ArrayList<>(initialDataset);
        if (hasNewSearchText(search)) {
            setSearchText(search);
            filterItems(listToSearch, 200);
        }
    }

}
Thanks for help
Lo.

I simplify a bit
    if (hasNewSearchText(search)
            && initialDataset != null && initialDataset.size() > 0) {
        setSearchText(search);
        filterItems(initialDataset, 200);
    }

public void setChoiceList(List<ChoiceModel> choiceModelList){
    if (choiceModelList != null && choiceModelList.size() > 0){
        initiaChoiceModelList = new ArrayList<>(choiceModelList);
        updateChoiceList(initiaChoiceModelList);
    } else {
        updateChoiceList(null); // reset
    }
}

@Override
public void updateDataSet(List dataset, boolean animate) {
if (dataset != null && dataset.size() > 0) {
initialDataset = new ArrayList<>(dataset);
super.updateDataSet(initialDataset, animate);
}
}
but nothing better...
So in fact, remove/add char from search textfield will not correctly refreshing the content of recyclerView... The content and the highlighting... I need to scroll to recycle items and then I can see some highlighted text but I'm still facing with some duplicated ghosts items, a mix from initial list and filtered list.
Seems also the sticky mechanism is goes below the "refreshed" list... the text content is moving above the sticky header.
I tried resetting with new dataset (i.e.... with other flexible object model with others id)
setSearchText(null or empty);
I tried using filters(with the same list of init of adapter)
I tried using filters(with a copy of the same list of init of adapter)
I tried using some notify* methods to rebind some stuffs  without success.
I do something wrong but I cannot figure it out where with your system of copies of model list copy hash and whatever... I'm pretty sure I don't need to reset and recreate all the adapter each times and let the search mechanism uses the hash storages to get fast access to data.
Please can you just send me an example "other than the demo app"... ?
Your help and advices will be really appreciated.
I can't really spend more time working on trivial configuration... :-(
Thanks in advance.
Lo.

@lostation, I see that you are using the same instance initialDataset to initialize the Adapter and to filter the items, so the original list is not copied while filtering and the adapter already modified it when filtering it.
Internally, the Adapter deletes items while filtering, so if you remove chars in the search text it needs to find items from the original list, not from the original instance.
The Adapter to needs a copy when you initialize it, when updating the dataset and a new one when filtering. Basically, every time the full dataset changes.
Also you need to enable this option setNotifyChangeOfUnfilteredItems, everything is explained in the wiki page, but you can also check my demoApp and run the sample of the AsyncFilter.

Why the copy? because the Adapter is on the presentation layer, while the Database is at lower layer. Normally, we should have this distinction and converting items from one layer to another to be more flexible to maintain the code.
Also, on presentation layer, displayed data can differ in format from the database data.

Ok it works...
I was misunderstanding the utility to recreate really each time a new dataset with fresh AbstractModelItem entity ID and new linked Hashcodes.
In fact, I was storing and always copy ( for search for instance) the initial dataset that I pushed to adapter on first step...  That was indeed wrong !
It NEEDS new ID and hashcodes ! So on every add/remove character it recreate a new copy from my models into a full Hashset in adapter. It's like recreate the adapter finally...
So now all is pretty nice now ! THANKS for help and hints ! ;-)


move citation before contributing

How about moving the section of citation before the section of contributing in README?

I have created a PR for this issue. Kindly look into it.


Send notification of failed nightly builds

Because we use a "not rocket science" approach to our builds, the nightly builds should never fail. If they do, something is very wrong, and so alerting in this case is important.
IMO the best notification delivery target to use for this is the MailNotifier.
Files:

buildbot/master/files/config/master.cfg

I can't think of any good tests to add for this beyond the buildbot checkconfig we already have.

I can't find buildbot/master/files/config/master.cfg in the tree. Where is it located?

I got a notification of a comment on this but I don't see one, is there someone interested in working on this?

I commented on it but then deleted my comment. If I can close another ticket that I'm working on, maybe I can work on this one.

@thuibr If not, I'd be happy to give this a shot.

Sure thing!

@rwaweber Have you made progress on this task? Any questions?

@jdm Not as of yet, but I was planning on getting the PR together today.
I do have a couple questions though; who would be the interested parties that this should notify when the build fails? Additionally, when the build fails, would we also like logs attached to the message, or is just a link to the failed build on the buildbot site sufficient, or both?

@rwaweber A link to the failed build is probably sufficient. Our log files are rather large and I don't think trying to attach them to the message or extract the relevant bits is necessary at this time.
Also, a new requirement: our android builds are currently busted (although close to getting back to working!) so it should to be possible to disable notifications for certain builds; just hardcoding that information in the file should be enough for now.
I'm not sure about the parties to notify yet; I'm guessing most problems will be infra-related. Thoughts @larsbergstrom?
Feel free to open a WIP PR in the meantime while we figure that out though!

@edunham Do you think we should create an account @servo.org for these infra-related failures?

Hey @rwaweber , looks like there hasn't been movement on this one, mind if I submit a Work in progress PR to see if it's the right idea for a fix?

Go for it! I had some initial trouble setting up the testing environment
initially, but I'd definitely be interested in seeing some other stabs at
the idea.
On Sat, Feb 4, 2017 at 2:22 PM Matt Duell<EMAIL_ADDRESS>wrote:

Hey @rwaweber https://github.com/rwaweber , looks like there hasn't
been movement on this one, mind if I submit a Work in progress PR to see if
it's the right idea for a fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/servo/saltfs/issues/413#issuecomment-277468405, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFkIGTHSvRwvcsmxPQwV87drs2_SfISLks5rZM_4gaJpZM4JCGeM
.

--
University of Delaware '16
B.S. In Computer Science
Minors in Computer Engineering and Cybersecurity

Thanks rwaweber!
Yeah the environment set up took a bit of work. I got it going enough for running the buildbot checks though.

For linking purposes: #595 is @matt-duell's current PR.


[Bug]: Helium taking too long for status updates

What happened?
Bobcat light has been dark Green for six hours but still showing as offline on Helium explorer
URL
https://explorer.helium.com/hotspots/11kcwwoQJ7FzABdGkB4bwTFjRrRgNjCcLdhFLfRfZ3j2ooTBJg9
What browsers are you seeing the problem on?
Safari
Do you see the issue on Mobile or Desktop?
Desktop
Relevant log output
Transmit Scale 0.50
Synch Status is OFF LINE
Next MileStone Hotspot Status

hi there, explorer takes time to update due to the peer-to-peer network. the best way to understand your hotspot's status is to run a diagnostic report, or use bobcat's Diagnoser.
this isn't a bug.


Rust and WebAssembly Working Group Meeting #16

Our next meeting will be Thursday, August 30th at 17:00 UTC.
Add agenda items here: https://paper.dropbox.com/doc/RustWebAssembly-WG-dcXi5F7Bqlvg10zd7dKve
We use Zoom for video meetings, so make sure you've downloaded the client! (It's free, but you have to sign up.) Here is our meeting room: https://zoom.us/j/625862582
Anyone interested in Rust and WebAssembly is invited to join! Yes, that includes you!

Using a custom zoom meeting room again this time, see below.
Meeting starts in 15 minutes! Come one, come all! :)

Hi there,
Nick Fitzgerald is inviting you to a scheduled Zoom meeting.
Topic: Nick Fitzgerald's Zoom Meeting
Time: Aug 30, 2018 10:00 AM Pacific Time (US and Canada)
Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/883558846
Or iPhone one-tap :
US: +16465588665,,883558846#  or +16699006833,,883558846#
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1<PHONE_NUMBER>  or +1<PHONE_NUMBER>
Meeting ID: 883 558 846
International numbers available: https://zoom.us/u/d2ibhEK9O

Thanks for the meeting, everyone!


Week1 thrishank

Hey, well done with the assignment. A few suggestions from my end:

Try to use CSS to beatify the project. You can add images, background colors, different fonts etc.
The h1 element should be placed within the body element, not within the head element. Head is meant for metadata (data about the data)
The button elements should be placed within the form element and should have a type attribute of submit or reset.

Other than these, good job!


mate.mate-power-manager: 1.20.1 -> 1.20.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mate-power-manager/versions.
These checks were done:

built on NixOS
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-manager passed the binary check.
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-preferences passed the binary check.
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-statistics passed the binary check.
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-manager-wrapped passed the binary check.
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-preferences-wrapped passed the binary check.
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-statistics-wrapped passed the binary check.
/nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-backlight-helper passed the binary check.
7 of 7 passed binary check by having a zero exit code.
2 of 7 passed binary check by having the new version present in output.
found 1.20.2 with grep in /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2
directory tree listing: https://gist.github.com/f8d3fda03f4b6da87bde96d8dd1e974e
du listing: https://gist.github.com/8b7bb5497d6d6ab20df5efb10ba50b19

meta.description for mate.mate-power-manager is: '"The MATE Power Manager"'.
cc @romildo @chpatrick for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 3cf548bd90c4e6663bb7f37e833b6ad3091a40be && nix-shell --pure -I nixpkgs=. -p mate.mate-power-manager

Success on x86_64-linux (full log)
Attempted: mate.mate-power-manager
Partial log (click to expand)
shrinking /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-statistics-wrapped
shrinking /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/sbin/mate-power-backlight-helper
shrinking /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/libexec/.mate-brightness-applet-wrapped
shrinking /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/libexec/.mate-inhibit-applet-wrapped
gzipping man pages under /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/share/man/
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/libexec  /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin  /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/sbin
patching script interpreter paths in /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2
checking for references to /build in /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2...
moving /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/sbin/* to /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin

Success on aarch64-linux (full log)
Attempted: mate.mate-power-manager
Partial log (click to expand)
shrinking /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/bin/.mate-power-manager-wrapped
shrinking /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/bin/.mate-power-preferences-wrapped
shrinking /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/bin/.mate-power-statistics-wrapped
gzipping man pages under /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/share/man/
strip is /nix/store/min150lkigznaayzpwvf8d4jdl1dqvx6-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/libexec  /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/bin  /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/sbin
patching script interpreter paths in /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2
checking for references to /build in /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2...
moving /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/sbin/* to /nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2/bin
/nix/store/8ra46wvz00dy8aazkfkmiilhx0r5aw14-mate-power-manager-1.20.2


Thin rects don't use thick stroke, rect width increase is not continuous

When you render a rect that is itself "thin", e.g. where x0 and x1 are equal (that is essentially a vertical line), then it will be drawn with stroke 1, not the given stroke!
Also even if x1 = x0 + delta it won't happen unless delta is at least 3 pixels.
And then, if you increase delta one by one, the drawn rect stays the same until delta becomes 7, only then it actually is rendered with that width.
I noticed this when drawing a rect below a line, the rect will completely be covered by the line when delta is 0, when I use 5 as the rect's stroke width:
I took screenshots of the green rect drawn under the red line with increasing delta from 0 to 7:

Zoomed in:

I re-rendered the scene without the red line to check how wide the green rect actually is at each delta:

Delta
Green rect's width (px)

0
1

1
1

2
1

3
5

4
5

5
5

6
6

7
9

These are not smooth/continuous width increases, they are "steppy".
Even with a stroke width of 1, the rect with delta 1 should have a width of 2 px, with delta 2 it should have a width of 3 etc.
With a stroke with larger than 1, I wish the green rect would always be as wide as stroke_width.max(delta+1) (stroke should extend to both sides of the real rect's border by stroke_width/2 pixels) so it would not be covered by the red line and thus invisible, because in this situation, the red line and green rect convey important semantic info and the red line has to be drawn last.

For filled shapes the stroke is currently drawn on the inside of the shape and not centered on the edges. This means rectangles with width or height <= stroke_width * 2 will be completely filled with the border color. Other stroke alignments will probably be added in the future (see #182), but until then you can offset the rectangle manually to achieve the same result.
I don't quite understand the "steppy" increase problem. Could you provide a code snippet that demonstrates this?

Other stroke alignments will probably be added in the future

Stroke alignment was added in #331 and will most likely be released in 0.7.
@Boscop If you still have the demo code around, can you try your example against the latest master and let us know if the "stepping" still occurs?

Closing due to inactivity. If this issue persists with e-g 0.7.0-alpha.1, please reopen with some example code to reproduce the original issue.


Remove set_unconditionally & BeValue

How this happened:

I was looking into an issue with name records generated from FEA
I got confused about why we were calling a method called set_unconditionally, instead of just set
The docs for that method had a TODO saying it was (mostly?) only necessary because write-fonts types don't impl PartialEq
... except that they have, for over a year
so I went and tried to impl that trait, except we don't impl it for them directly, we impl it for a wrapper type, BeValue
...and the docs for that type said it was only necessary to get around the orphan rules
... which wouldn't be a problem if we just impl'd the Persistable trait for the write-fonts types in the same crate where the trait is defined (fontir)
So I did that, and then ran into an issue where for avar we want to be able to store an explicit Option<T> (the only case like this) and we were repurposing the BeValue to also do that job
~so I added a PersistableOption type to explicitly handle this case (which I still do not fully understand)~
so I just made this an explicit special case, with a MaybeEmptyAvar type.
and now everything compiles again, and overall feels simpler.
... profit?

Bonus:
Why do we have this special case for avar? why do we need an explicit option? Why can't we just serialize an empty table in the case where we want to have an empty table in the final font? cc @rsheeter

Oh nice, if we now have partialeq everywhere we should be able to tear down a bunch of that indeed.
Memory is failing me wrt avar weirdness.

I tried just deleting the option but it broke some tests that did not seem immediately related, so I settled on this.


How to use the LibPostalNet

Hello,
I download the solution and compile it.
But when I see the results of the libPostalConsole, they appear in non-comprensible language.

Please, could you help me to fix this issue?
Thanks a lot,

Hi, sorry for delay.
I think problem is here:
Marshal.PtrToStringAuto
Try to use: PtrToStringAnsi
Let me know.

Hi,
Yes, it works.
I change all the references in the libpostalparcial.cs file to Marshal.PtrToStringAnsi and rebuild solution.
And there is no errors.
Thanks a lot for your support.
Best Regards,

Hi, I've update sourcecode and committ.

I download the project and try to run it in visual studio!  kept getting response is null error!  I am new to ,net app!
wonder what I missing here?


Re-re-fix ownership issues

Third time's the charm.

All good https://github.com/py-cov-action/python-coverage-comment-action/actions/runs/4096072321/jobs/7063458146


conda not in PATH on DSVM

'conda activate py36' gives 'command not found' on DSVM
Instead used:

'/anaconda/bin/conda init bash'
closed shell
opened new shell
conda activate py36

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

ID: 955b2d92-2d6a-787e-6612-d226e09b9a9a
Version Independent ID: 734d767b-f22d-2ba6-aabf-98b07bf5abfc
Content: Set up a Python development environment - Azure Machine Learning
Content Source: articles/machine-learning/how-to-configure-environment.md
Service: machine-learning
Sub-service: core
GitHub Login: @rastala
Microsoft Alias: roastala

@henry-schneiderman Thanks for the feedback. We are investigating the issue and will update you shortly.

@henry-schneiderman Can you please add more details about the DSVM that you are trying as we have the two DSVM images.

Windows Server 2019 (Datacenter edition) DSVM
Ubuntu  Server 18.04 LTS DSVM

@henry-schneiderman We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


FSK direct mode

FSK modem supports direct operation (aka continuous mode), in which all data received on DIO1 (data) and DIO2 (clock) pins are directly transmitted.
This allows to transmit FM notes (by feeding Arduino tone() function output directly to DIO2 (DIO1 left floating). Proof of concept: https://www.youtube.com/watch?v=a0CyXdC6qJg
Direct/continuous mode could also be used for FSK RTTY (or AFSK RTTY, using the tone() function).

Basic direct mode support is now in direct-mode branch.

any ETA on when this will be merged into the master branch? thanks for this, really awesome work.

I'm still struggling with RTTY a bit, hopefully within the next few days.

Finally managed to get RTTY working on direct-mode, so I will merge that branch and release a new version.
Since RTTY is a protocol, it won't be directly supported by LoRaLib (as in: there will not be a public API implementing the protocol, e.g. lora.sendRTTY()). User can either write his own implementation using LoRaLib as a driver or use KiteLib. That already separates protocols from drivers, so I will write full RTTY implementation with public API there.

Implemented in release 5.2.0

Hey jgromes do you have the code that you used with rtty on this library?
thanks!