WIP use audio crate's traits for generic input & output buffers

This doesn't compile yet; there's more work to do. I am opening this draft PR early to get feedback on whether this is a direction worth continuing in.
Fixes #51

I did not yet find the time to get familiar with the audio crate, so it's difficult to say much at this point.
But I can mention a few things I think are important:

The current performance level must be maintained (or improved), in terms of processing speed and quality.
It must be reasonably easy to add Rubato to an existing project that doesn't use the audio buffers (yet).
It must be reasonably easy to upgrade an existing project using non-audio Rubato. This and the previous point mean that it should be possible to somehow still use vecs of vecs, perhaps by wrapping them up as audio buffers. I don't want to force people to copy data back and forth between buffers, or to migrate the entire project to use audio buffers.
Both the asynchronous Sinc resampler and the synchronous one rely on the exact layout of the data in their internal buffers. This is required for the simd load/store instructions of the former, and for feeding the data to the FFT in the latter. I see the internal buffer of SincFixedIn/Out was changed to an audio buffer. Does this guarantee that the values for a channel are stored sequentially? It can't be generic, trying to use an interleaved layout here will produce garbage. Is there any reason to use an audio buffer in a place where it's anyway not possible to be generic over the layout?

Probably a few of these are non-issues, but as I mentioned  I haven't had the time yet to get familiar with audio. Unfortunately, it will be a while before I'll manage to do anything about that.

I'm closing this as there is now a more generic solution that is also able to handle different sample formats.
See https://github.com/HEnquist/rubato/pull/93


Stellwag

Summary
Added a new featureFlag check to the V2 portion of the plugin.  This changes how we check if a feature is enabled throughout our code.  I've updated any reference to custom_data or UIAttributes (where applicable) to the new method.  If we agree on this approach and merged, we can work on adding this to V1 if we feel there is value in doing so.

@aestellwag - @dremin merged the critical changes from this PR into his other PR as they overlapped a lot.  The great news is both sets of changes were highly compatible! Closing this PR


Registry.unpublishAll won t invoke the callback if the records are empty

Hi,
Small typo at
https://github.com/watson/bonjour/blob/b0c7842105ee8115e642dd3c075415e18073293e/lib/registry.js#L176
I d say it should be fixed like this
if (records.length === 0) return cb && cb();

@mh-cbon thanks for reporting this :smiley: I've fixed it in v3.2.1

cool, thanks, i ll update on my side !


add change password methods to ClusterBuilder

Nit: Branch name tomf/CORE-18501/add-change-password-methods-to-ClusterBuilder has a reference to a different Jira unrelated to password change functionality.

Nit: Branch name tomf/CORE-18501/add-change-password-methods-to-ClusterBuilderin this PR has a reference to a different Jira unrelated to password change functionality.

Ah thanks Viktor, I'll rename the branch if we are going to merge it. Although I may alternatively just include this change in https://github.com/corda/corda-runtime-os/pull/5302 once it's ready


Plaster and Powershell 6 Installation Problem

I couldn't install Plaster on my Mac. Will it install? Am I missing something?
I

There have been a number of bugs fixed in the PowerShellGet area of PowerShell Core.  Can you update to 6.0.0-alpha.14?

I updated to alpha.14, tried it again. Hey, it works now! Plaster install was success. Thanks.


⚠ Bofrost.de has degraded performance

In 9532482, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1067 ms

Resolved: Bofrost.de performance has improved in 8bb31b5 after 6 minutes.


ADAL usage in Service Fabric tasks

Required Information
Question, Bug, or Feature?
Type: Question
... though depending on the answer it could become either of the other two options
Enter Task Name: ServiceFabricDeploy
Environment

Server - Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Can I provide this privately if it's needed

Agent - Private - Windows 2019, agent version 2.198.3

Issue Description
With the end of support coming up soon for ADAL we've been trying to track down our usage and update to MSAL for all authentication. The only ADAL logins I can find now in our environment are from the ServiceFabricDeploy task during pipeline deployments. The ADAL DLL is loaded in the common SF helpers - https://github.com/microsoft/azure-pipelines-tasks/blob/2a525c5c3e41dbe4742622f64809dba542668a65/Tasks/Common/ServiceFabricHelpers/Connect-ServiceFabricClusterFromServiceEndpoint.ps1#L39
Is there a plan to move to MSAL for these tasks or an alternate MS task I can use to deploy service fabric apps without using ADAL?
Thanks in advance
Task logs
Can provide privately if needed.

This is still a problem. No answer but not stale.


Question about the results on nuscenes

Thanks for your inspiring work.
I have some questions concerning the results on nuscene.
When do you impose the focal loss [loss_box_of_pts] on nuscenes? I notice that you only employ it with modality fusion but disable it with LiDAR only?  Is there any reason behind this?

This is because the calculation of gt for each voxel in nuScenes is too slow on nuScenes, as the number of voxels is times of that of KITTI. It will slow down the training time. Thus, I disable this loss for fast training. You can also use it. The performance influenced from this loss is limited.

Thanks for your prompt response!  So how long will it take  when activating this loss than without it?

BTW,  the result of fusion but without FocalConv should be the second line in Table 9 of your paper?   It would be nice if you can share that results with the whole set.

It takes about 2 to 3 days longer than the experiment that disabling the loss.
Yes. It is the second line in Table 9. Sorry that we did not train this baseline before on the whole set. I will run this experiment tomorrow and tell you the results this week.

Thanks for your kind response, and look forward to the results!

Sorry for keeping your waiting. Due to our limited computation resources. I still need 3 days to finish this training. Thanks!

No worries! And thanks for your kindness on reporting this result.

Hi,
It is finished.

Thanks! It really helps!
Two minor questions:

does this result employ the test-time augmentation?
Which part of the BNs should be fixed?

Hi,

It does not use the test-time augmentations.
Sorry. I did not understand this question. I did not do any special operation on BNs.

Thanks again for your informative response!
I mention the BN configs because I notice the name of some config files contains fix_bn.

This name follows the original CenterPoint baseline.
https://github.com/tianweiy/CenterPoint/blob/master/configs/nusc/voxelnet/nusc_centerpoint_voxelnet_0075voxel_fix_bn_z.py

OK, great!

Thanks for your interest in our work. You can contact me by WeChat<PHONE_NUMBER>6 if there are any further question, in case that I did not check the GitHub issues in time.


Support Android Flash From TWRP

can you make this? like title

Hi Harry @alsyundawy do you have technical details for this request?  Specifically, which domains?

I think @alsyundawy is talking about a flashable file through recovery. But why though, when adaway and many solutions exist?

@githubber101 adaway is adware and spyware :+1:


run.py: use an unversioned python in #!

This should be more compatible across more distributions.

Rebased here https://github.com/OISF/suricata-verify/pull/355.


Terraform v0.15.0 removed "map" and "list" functions

While it already fixed by:
https://github.com/Guimove/terraform-aws-bastion/pull/105/files
A new version isn't publish yet.
This works:
module "bastion" {
  source                             = "github.com/Guimove/terraform-aws-bastion"
}

This doesn't work:
module "bastion" {
  "source" = "Guimove/bastion/aws"
}

Any plan to release soon?

Version v2.3.0 as been released, sorry for the delay

Thank you @Guimove


Issue 6594 nested resolver key

Summary of the changes (Less than 80 chars)

Update Apollo ArgumentParser to unwrap NonNullType.

Closes #6594

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Darren Clark seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


build-support/docker: pass tlsVerify to support http registries

Disable TLS fetch for skopeo, default is unchanged and to use TLS.
Motivation for this change
Sometimes you have to deal with internal registries which do not have TLS gasp. In such cases this option should be useful.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[ ] Fits CONTRIBUTING.md.

Thanks!

I've just tried to update one of my images with
let
  pkgs = import ./nixpkgs.nix { };

  # To enable sandboxing the container has to be started with the --privileged flag and sandbox = true set in /etc/nix/nix.conf.
  nixBase = pkgs.dockerTools.pullImage {
    imageName = "nixos/nix";
    imageDigest = "sha256:d9bb3b85b846eb0b6c5204e0d76639dff72c7871fb68f5d4edcfbb727f8a5653";
    sha256 = "sha256-+ZEWyHjZ65P8Fl0rhFY5e5tGBogHDy3gHhv+lqJaHWs=";
    finalImageTag = "2.3.12";
    finalImageName = "nix";
  };

  haskellBase = pkgs.dockerTools.buildImage {
    name = "jinko-base-layer";
    # depending from nix-base brings certificates support etc
    fromImage = nixBase;
    contents = with pkgs; [
      bashInteractive
      coreutils
      llvm_8.lib
      libxml2
      postgresql.lib # for libpq
      sundials
      liblapack
      gmp
      xz
      openblas
      nlopt
      curl
    ];
  };
in
{
  inherit haskellBase;
  inherit nixBase;

  uncompressedImage = pkgs.runCommand "base-image" { } ''
    mkdir -p $out
    gunzip -c ${haskellBase} > $out/image
  '';
}

but I got (nixos-unstable).
       last 1 log lines:
       > FATA[0000] unknown flag: --src-tls-verify

NB: the image hash is wrong but that shouldn't matter

To prevent this, we need something like https://github.com/NixOS/nixpkgs/issues/133739 and use it to define skopeo.passthru.tests.dockerTools-pullImage


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3748

Questions ?
Please refer to the Backport tool documentation


Rename Variables slow obfuscation time

The Rename Variables is very slow! Taking over 30 seconds for 3mb file.
{
    "fileName": "static/js/bundle.js",
    "obfuscatedTime": "55.2 Seconds",
    "transformationTimes": {
        "Preparation": "0.7 Seconds",
        "ObjectExtraction": "1 Seconds",
        "Dispatcher": "0.6 Seconds",
        "DeadCode": "0.1 Seconds",
        "Calculator": "0.1 Seconds",
        "ControlFlowFlattening": "1.2 Seconds",
        "OpaquePredicates": "0.4 Seconds",
        "StringConcealing": "0.5 Seconds",
        "DuplicateLiteralsRemoval": "0.8 Seconds",
        "MovedDeclarations": "6.1 Seconds",
        "RenameLabels": "0.9 Seconds",
        "Minify": "2.5 Seconds",
        "RenameVariables": "36.4 Seconds",
        "AntiTooling": "0.5 Seconds",
        "Finalizer": "0.7 Seconds"
    },
    "originalFileSize": "3mb",
    "obfuscatedFileSize": "10mb"
}

This is obfuscating an entire React build on Low preset. (With compact=false for fair file size comparison)

Hi, how to perform such test?
I am obfuscating quite a large file (1MB+) and it takes upwards of 5+ minutes to obfuscate, would like to figure out the cause.

Hi this is from a webpack plugin I’m making, it will be available soon. Also I found a solution to the slow obfuscation times so expect this fixed in the next update.

Cool, I made a new PR with a progess bar which helped me figure out what is taking so long, apparently it's the NameRecycling transformation which takes upwards of 4 minutes!

Here is a simple benchmark I did for some other transformations:
Stack: 28 seconds
ControlFlow: 12 seconds
NameRecycling: 287 seconds !
MovedDeclarations: 182 seconds !
RenameLabels: 96 seconds

Im planning on removing the Name Recycling option (it's a weak obfuscation, and Rename Variables already practically does this) and have rewritten Moved declarations to be more efficient.

Hi this is from a webpack plugin I’m making, it will be available soon. Also I found a solution to the slow obfuscation times so expect this fixed in the next update.

Hey, has there been any updates to this? Looking to find out on my own what's taking so long, have there been any discoveries?

Yes here's what I've achieved so far:
 {
    "fileName": "static/js/bundle.js",
    "obfuscatedTime": "18.6 Seconds",
    "transformationTimes": {
        "Preparation": "0.8 Seconds",
        "ObjectExtraction": "1.1 Seconds",
        "Dispatcher": "0.5 Seconds",
        "DeadCode": "0.1 Seconds",
        "Calculator": "0.1 Seconds",
        "ControlFlowFlattening": "0.7 Seconds",
        "OpaquePredicates": "0.2 Seconds",
        "StringConcealing": "0.4 Seconds",
        "DuplicateLiteralsRemoval": "0.5 Seconds",
        "MovedDeclarations": "0.4 Seconds", // from 6.1 Seconds
        "RenameLabels": "0.5 Seconds",
        "Minify": "1.1 Seconds",
        "RenameVariables": "9.3 Seconds", // from 36.4 Seconds
        "AntiTooling": "0.3 Seconds",
        "Finalizer": "0.5 Seconds"
    },
    "originalFileSize": "3mb",
    "obfuscatedFileSize": "5mb"
},

I will release this soon


Color code

Hi, The use of color code should be emphasize

i am interested to contribute this project please assign me..

hey,is anyone working on this issue?


Invalid default parameters

Using the default parameters for create_client and create_host throws an invalid type error as it is unable to convert an object to an int.

the default parameter should probably be 0 instead of null.

Hey there!  As far as I know, there is no internal docs created for MultiplayerPeer that we made yet.  That is generated by Godot itself.
Also, the MultiplayerPeer branch we have does not have those functions so I think you are talking about Espresso SteamMultiplayerPeer which is a totally separate project.


How to utilize template versions for multiple language support

So it seems I can send different email that is written by different language for each customers(localization) according to the docs, but how can I exactly do that?
It says I need to activate and change through API, But I couldn't figure out how to achieve it.
or do I need to use substitutions and send message bundles from our backend?
Any help would be appreciated!
Technical details:

sendgrid-nodejs Version: master (latest commit: [13af4a6])
Node.js Version: 6.12.3

Hello @ifndefdeadmau5,
Here is the API documentation on this feature. Here is how to use this SDK to make that API call.
I hope that helps!
With Best Regards,
Elmer

Thank you for getting back to me @thinkingserious,
I still cannot figure out how 'activate specific template version' actually can be used.
I was thinking of that I have 2 versions of template that is written by more than 2 languages, maybe English and Spanish, or whatever.
Then, I make a message send API call with specific template versions that matches user's language
export function sendSendGridEmail()
{
  sgMail.setApiKey(config.get('sendgrid.API_KEY'));
  sgMail.setSubstitutionWrappers('{{', '}}');
  const msg = {
    to<EMAIL_ADDRESS>    from<EMAIL_ADDRESS>    subject: 'Sending with SendGrid is Fun',
    text: 'and easy to do anywhere, even with Node.js',
    html: 'and easy to do anywhere, even with Node.js',
    templateId: isEnglish ? ENGLISH_TEMPLATE_ID : SPANISH_TEMPLATE_ID, // This line!
    substitutions: {
      name: 'Some One',
      city: 'Denver',
    },
  };
  sgMail.send(msg);
}

But above requires 2 template, not one template of different version. Which can lead to generate separate templates but content is related.
Thank you again and look forward to hear from you!

Hello @ifndefdeadmau5,
You can have multiple versions per template. Then you can use the SDK to activate a particular version.
First, you would create multiple versions of your template. Then you would activate the desired version before you made the above call.
With Best Regards,
Elmer

Good morning @thinkingserious,
Thank you for your quick response. And I haven't imagine such a work around.
Now I understand how to do it, but one question is why not activate all template versions at the first time and just use it without bothering with Activate/Deactivate things?

Hello @ifndefdeadmau5,
That's a valid concern.
It seems that what you really need is our new (in beta) templating system. To join the beta, please email<EMAIL_ADDRESS>With Best Regards,
Elmer

Hello @thinkingserious ,
I requested through email to<EMAIL_ADDRESS>Thanks!

I was also looking at transactional templates to see how we could use template versions for different locale-specific emails.
I agree, it seems strange to have to activate a particular template version before using it. This isn't the best solution for our high transaction software. I'd expect to be able to specify which version to use in the POST /mail/send request.

Hey @andyblack19
No need for versioning with the new templates we have introduced. In your account you should see an option for "Transactional" templates. There you can create one template that will serve many languages. You will likely want to take a look at the docs here and an example here.

I did read that page.. but completely missed the multiple language section! Thanks for your help

It appears that using "Design Editor" mode templates is not possible with the handlebars strategy mentioned above. If one wants to have multiple templates for different use cases with at least two different languages, are you supposed to be copy pasting the template code to each template when the general layout is changed? Why isn't there a way to have a top level shareable layouts?

Hello @raine

It appears that using "Design Editor" mode templates is not possible with the handlebars strategy mentioned above.

You are correct the specific design of the language template found here was not designed to work in the "Design Editor" mode. You could still create something similar in the "Design Editor" using a Code Module.

If one wants to have multiple templates for different use cases with at least two different languages, are you supposed to be copy pasting the template code to each template when the general layout is changed? Why isn't there a way to have a top level shareable layouts?

This is actually something that has been brought up to our engineers. I would still recommend you use the feedback button when you are logged in to your account to let our engineers know this is wanted. The more people who submit feedback like that the more likely it is that we will see an improvement like that. The feedback button is one of the best ways to get feedback directly to our engineers when it comes to anything outside of code libraries. I personally have put in a vote for something similar to what you are looking for.

Also, it would seem that you have to localize the subject of email at server side, instead of in the template content where you are already setting the template body for each language? It doesn't make sense to separate subject and body in this way. Or have I overlooked something?

I think you have overlooked something. I know from my own personal testing that handlebars work in setting the subject of a template. Though I may not be understanding your wording correctly. I know the subject has not been visually designed to support this though so it is best to create the code and content in something like a text editor and paste it into the subject field after. This is another area where using the feedback button is recommended. Please feel free to suggest what you think would be a better way of doing this.
Please correct anything I goofed on and give me further details so I can better understand.
Kyle

How does the example of multiple languages address translation of the email subject line?

@esiqveland
In the subject line in the template you would use something like this:
{{#if english}}
Hello
{{else if spanish}}
Hola
{{else if french}}
Bonjour
{{/if}}

You basically use the same structure that is in the HTML content. Please let us know if you have further questions.

Hi @kylearoberts, is there a way how to check variable value in the conditional? So instead of checking multiple variables like english or spanish, I'd just check if language variable equals en or es. This doesn't make much difference in the template itself, but it does on the backend where I have to translate language code variable into specially named variable in dynamic template data.
I checked Handlebars briefly and it doesn't seem to support it by default. But maybe SendGrid has some custom helpers built in.

@tlinhart
Thanks for the great question. As it stands right now, the system will not work that way, but we will likely have something later on that will allow something like that. When we do make such a change we will likely update our docs and examples for how to use transactional templates.

Hi,
I'm currently using the new template system for my multi language emails. The main problem is the subject field limited length. Basically, my subject content is like this:

{{#if english}}
Hello blah blah...
{{else if spanish}}
Hello blah blah...
{{else if french}}
Hello blah blah...
{{/if}}

But there are a few problems:

The subject field length is not enough for more than a few languages. I had to cut down the text and variable names just to stay within the limits. But this will obviously not work should we have to add a new language.
The editor shows a single line field for entering subject which is unsuitable for working with template subjects.
The editor subject field happily cuts down text entered from pasting. This will lead to a template error since the syntax will be wrong due to removed template scripting code

@bragma
I have run into the same issue as you. This is also not the first time we have heard this. We love getting feedback like this because it helps us improve our products. I have made sure to get your feedback to our engineering team and I can tell you this is one of the areas they want to improve things. When they get a chance to work on improvements this is likely to be one of them. Thank you again for the feedback.

@thinkingserious  +1 I need localization feature

@thinkingserious huge +1 for this feature.
Really nice feature to be able to deal with all the language of an e-mail within the same template but as stated previously it is not usable due to the subject limitation.

@thinkingserious mega +1 for this feature - We also need this feature, for us, the use-case is a bit different, we want to offload the creation/maintaining of templates to our marketing guys, only these people aren't programmers, so we need plain WYSIWYG templates per language. Having 1 separate version per language would be the answer to our problem.
The following would be even better:
1 - the ability to set a default version ( when no version is selected, or invalid version is provided the default version would take over )
2 - just have an extra parameter in the POST /mail/send API to add a version
We have a platform with more than 12 languages and counting (yes we like a challenge) so we need specific marketing people for different languages, they don't code so plain templates. Also, we plan on having a massive amount of users, so first setting the required template to active, then sending an email would result in concurrency problems where wrong templates will be chosen.
Thanks so much,

Hey everyone who's contributed to this issue!
We are doing some research with customers to try and understand how we can best solve the problem of localizing/translating emails sent using SendGrid. If you've got some time you can spare we'd love your feedback as we think through how to build this right!
Here's a link to signup for a slot to speak with myself and my team about how you handle translation and localization today: https://calendly.com/travisterwilligar/sendgrid-research?month=2019-09
Thanks so much for your time!

@ben-grid just checked the calendy but the times dont work for me, so ill give a short summary of what would be awesome.
We have an e-commerce system with an sandbox and production account. And when we approve of an tempalte we export and import it to production (this is also something that would be a great feature, having sandbox and production templates with a promotion pipeline)
Anyway... currently we have 2 languages, but the task at hand is to move to 5 languages. Currently we have 11 templates. What we do now is the {{if lang.en}} Hi {{else}} Hallo {{/if}} only this will nog work for 5 languages (20 languages in the near future) so now we are going to create separate templates per language, creating 55 templates instead of 11. (horrible)
What would be great!
Option 1:
Add a "version" parameter to the API, and just send version provided to. Now we can at least send a spesific version in a written language (versions could be a translated version of the template, fallback would be the active one)
Option 2
Add localized parameters to a template. This way we can use the template for multiple languages by only translating the parameters. Drawback of this approach is that some sentence constructs dont work for each language, so probably you would like to have more felxibility
**Option 3 The Unicorn with golden tears **
Basically have a translation tab for each module you drop in. So when you insert a module like this
 this module would have multiple locales. Basically a clone of the original for a different languages. You need to be able to set the language of the template (setting all modules to a specific languages including subject and preheader) maybe coloring modules red if they are not filled in for that module yet
Just my 2 cents, i would love your feedback on this, if you would like to mail, hit me up at<EMAIL_ADDRESS>id love to provide some insight. Thanks and hope there will be a solution fast. And if not some insight in how its going to be tackeled so that we can prepare,

@reneweteling Thanks much, that's very helpful. We are working on a prototype that's probably going to be more akin to option 2 and 3 than 1. I'll hit you up via email when we have something worth getting feedback on. Thanks again for your input!

@reneweteling I think option 1 or 2 would do the job - since it is very intuitive. Option 3 - well, it is just nice to have...

@ben-grid & @a-tonchev Thanks for all the hard work! ive switched jobs though so for me, this is not relevant any more. Keep up the good work!

Any news on this one?

IMO, It seems that the more workable solution would be to generate all text server side, then just slot it into the template as chunked paragraphs.
...
The neccessary paragraphs/text can then be pulled from those files depending on the users language, then passed as template variables to sendgrid. Sendgrid would just be an overarching template (like, footer etc - just styles and images) and even some styles would have to be kept in the language file itself - like specifically which words to bold etc.
So the template would end up like: subject HelloLine welcomeparagraph helpparagraph footerslogan. And that's it.
I have done this in SalesForce using Server-side JS. The json object is in the template but runs on the server during compilation. It is similar to having a real localization feature and it is not dependant on development publishes you'd have in an ecomm environment.
I'm looking forward to see what the SG team has come up with as @ben-grid mentions.

+1 localize feature. If we have 10 languages it's a mess with some many if/else.

How to handle the Unsubscribe groups per locale?
Since the description is shown to end user can be only in one language?
Do they support handlebars?

How to handle the Unsubscribe groups per locale?
Since the description is shown to end user can be only in one language?
Do they support handlebars?

Has any work been done to support localization? @ben-grid


Cannot start a basic pocketbase project as a framework

Unable to run a basic project using pocketbase as a framework as directed in https://pocketbase.io/docs/use-as-framework. The following error pops up:
../../../my_code/go/pkg/mod/github.com/pocketbase/pocketbase@v0.4.2/ui/embed.go:10:12: pattern all:dist: no matching files found

How to recreate the issue:
mkdir proj
cd proj
go mod init github.com/Himujjal/proj
touch main.go

# Add the content of `main.go` to be the example from https://pocketbase.io/docs/use-as-framework/

go mod tidy
go build main.go

The following error occurs:
../../../my_code/go/pkg/mod/github.com/pocketbase/pocketbase@v0.4.2/ui/embed.go:10:12: pattern all:dist: no matching files found

My configs:
> go version
go version go1.17.7 darwin/amd64

PocketBase requires go1.18+ to use as framework. Please update your go installation and try again.

@Himujjal I'll close the issue since this was previously discussed here - https://github.com/pocketbase/pocketbase/discussions/46#discussioncomment-3139062 and most likely is the same, but if upgrading your go installation doesn't solve it, please let me know and I will investigate it further.


BUG: add_poisson_drive doesn't accept floats for rate_constant

Found while working on #455. net.add_poisson_drive() expects a dictionary for the rate_constant argument. The following script fails:
from hnn_core import simulate_dipole, jones_2009_model
net = jones_2009_model()
weights_ampa = {'L2_pyramidal': 0.0008, 'L5_pyramidal': 0.0075}
synaptic_delays = {'L2_pyramidal': 0.1, 'L5_pyramidal': 1.0}

n_drive_cells = 'n_cells'  # default for poisson drive
cell_specific = True
net.add_poisson_drive(
    'poisson', rate_constant=1.0, weights_ampa=weights_ampa,
    location='proximal', synaptic_delays=synaptic_delays,
    cell_specific=cell_specific)

simulate_dipole(net, tstop=1)

The documentation indicates that this should accept a float or a dictionary so this should be resolved quickly.
I found this because I am adding a simulate_dipole() call to test_drives.py. @jasmainak I can probably handle this in the same PR, but they are two unrelated issues.

As a general comment too I'm noticing there are hardly any explicit type checks in the drives API, maybe that constitutes a good first issue? It really just amount to using the type check functions used elsewhere, and writing test cases that loop over the arguments.

agree that it's a good first issue!


Incorporate post-quantum KEM

Since X25519MLKEM768 hasn’t seen browser support yet, perhaps we can incorporate the widely supported X25519Kyber768Draft00 for now?
use rustls::crypto::{aws_lc_rs, CryptoProvider};
let parent = aws_lc_rs::default_provider();
let my_provider = CryptoProvider {
    kx_groups: vec![
        &rustls_post_quantum::X25519Kyber768Draft00,
        aws_lc_rs::kx_group::X25519,
    ],
    ..parent
};

https://docs.rs/rustls-post-quantum/latest/rustls_post_quantum/

It is technically possible just by replacing the current CryptoProvider with the PQC one. But I believe that if we go with that, it should be managed as a forked or non-default feature

We merged the update supporting the hybridized post-quantum key exchange in TLS. Currently, the published version of rustls-post-quantum supports X25519Kyber768Draft00, but the developers already implements its newer version X25519MLKEM768 on the main branch. So, I would like to remain this issue open until X25519MLKEM768 is available in rpxy.

I will publish 0.9.3 soon with this update.
I am also considering to make the post-quantum feature default once the X25519MLKEM768 is available in rpxy. Because Firefox and Chrome (Chromium) beta already support it by default. https://pq.cloudflareresearch.com

https://www.reddit.com/user/jqtype/comments/1gh46n4/rpxy_093_support_hybridized_postquantum_tls_key/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Should you add a pqc tag to the github project?

Ah yes, I added it :-) Thanks!

Solved with #226 and #225


Can not get Githoard to find repository with Git URL

I tried all sorts of Git Urls (full and relative) but the response remains no Repositories found (I have nothing in my clone directory, but expected to add those trough finding the repositories online. Maybe firewall settings? I did not change anyhing upon installing on Windows 10.

Try pasting https://github.com/jojobyte/githoard.git inside the URL/Search Bar then hit enter/return on your keyboard.
If you are trying to search the internet via the URL/Search Bar it wont work. Currently, it only searches repositories cloned by GitHoard, although this may change in the future.
If you can share a screenshot/gif of what you're trying to do that would also help with debugging.

I was reading this issue, and thought I'd give what you suggested to @nicojdejong. Below is the error dialog that poppedup:

It did however proceed to clone the repo. HTH

This should be fixed by #9


Improve diagnostics for depracted Lock.

Improve diagnostics for depracted Lock.
Motivation:
When using a Lock instance handed by another library and calling withLock or withLockVoid on it, the compiler will issue an incorrect fix-it warning that withLock (or withLockVoid) was renamed to NIOLock and by applying it will incorrectly change the method signature to NIOLock.
For example when using Vapor, there is a property called locks on Vapor's Application class. Vapors hands out locks to users here. However, creating these locks isn't done by the users of Vapor, but by Vapor itself. Thus, users cannot fix the deprecation themselves.
Modifications:
The warning results from annotating the extension that adds withLock and withLockVoid with @available(*, deprecated, renamed: "NIOLock"). This removes the annotation and moves these two methods into the main declaration of Lock.
Result:
The fix-it warning no longer appears when using withLock or withLockVoid.

Hmm, @swift-server-bot seems to be a bit of an overachiever... 😄

@swift-server-bot test this please


Configure libgit2 fetch and push ProxyOptions

Similarly to https://github.com/fluxcd/source-controller/pull/524, this PR allows to specify an HTTP(S) proxy for Git operations through environment variables.
Fixes https://github.com/fluxcd/image-automation-controller/issues/279.
This is a draft for now because the current version of git2go's bindings do not allow to specify ProxyOptions for push operations, only for clone and fetch.
It first requires https://github.com/libgit2/git2go/pull/872 to be merged and backported to release-1.1 (v31), which is the version of libgit2 used by image-automation-controller (and source-controller).

https://github.com/libgit2/git2go/pull/872 has been merged and backported to release-1.1 in https://github.com/libgit2/git2go/commit/a8009473795b98fedaab80cc39c53f695d7ed6c5 as v31.7.6 earlier today.
So this PR is now ready for review.
I had to bump the version of git2go from v31.6.1 to v31.7.6 which contains the new push proxy options. I hope that's not an issue, given that there is no breaking changes documented between those two versions.
@hiddeco Do you want me to implement similar test cases than the ones for https://github.com/fluxcd/source-controller/pull/524, or are the tests in that PR sufficient?

@au2001 Thanks a lot for adding the support in upstream git2go. Good to see that there's already a release available for it.

Do you want me to implement similar test cases than the ones for fluxcd/source-controller#524, or are the tests in that PR sufficient?

I don't think we need that. We have tests now in SC that helped us understand what works and what doesn't.

I had to bump the version of git2go from v31.6.1 to v31.7.6 which contains the new push proxy options. I hope that's not an issue, given that there are no breaking changes documented between those two versions.

That shouldn't be an issue.

@au2001 could you rebase this against the main branch?

@darkowlzz I have now rebased it with the latest commits from the main branch.


Improve README

Starting from scratch.
Core idea is to build open sourced website that contains helpful tips for new developers in field of health and productivity. Body and Time management basically.

can you assign this to me please ?

@lotfijb You have been assigned this issue. All the best.

Don't forget to include 'Closes #IssueNumber' in your PR message.

@lotfijb Are you working this?

@asdsyd please assign this issue to me, I will also add the steps to let people know how to contribute in this project

assign me plz

assign me please


Too Big

The package seems to be too big, following the necessary steps to use it as Lambda Layer I get the following error:
Resource handler returned message: "Function code combined with layers exceeds the maximum allowed size of 262144000 bytes. The actual size is 288155599 bytes.
any ideas on how to reduce it?

@bablo1979
the same issue.. did you found a solution?

Sorry, the chrome and driver binaries need a lot of space and cannot be trimmed. I suggest finding alternatives to trim the size of other libraries. Example: avoid embedding binaries in the libraries with the flag --no-binary.

Sorry, the chrome and driver binaries need a lot of space and cannot be trimmed. I suggest finding alternatives to trim the size of other libraries. Example: avoid embedding binaries in the libraries with the flag --no-binary.

Thanks I will try..

@bablo1979 the same issue.. did you found a solution?

I solved creating an AMI with a real Chrome+Selenium and deploying it on EC2 when I need it... this was fitting for my needs, but AWS bills are slighly differents without Free Tier, I will try the author suggested solution, maybe I will drop a message it can work..

@bablo1979 the same issue.. did you found a solution?

I solved creating an AMI with a real Chrome+Selenium and deploying it on EC2 when I need it... this was fitting for my needs, but AWS bills are slighly differents without Free Tier, I will try the author suggested solution, maybe I will drop a message it can work..

Sorry, the chrome and driver binaries need a lot of space and cannot be trimmed. I suggest finding alternatives to trim the size of other libraries. Example: avoid embedding binaries in the libraries with the flag --no-binary.

Many thanks, I will try..


Render Circle displays icons to far right of 2 column

I am trying to display a custom view which includes an icon for the circle using renderCircle in a single column left. I can see that my custom view is being rendered. The only issue is that the custom circle is being rendered to the far right of the screen instead of down the middle line that is rendered. Do I maybe need to change more styles or is this a bug?

Same is happening for me.

In case people are still struggling with this the answer is "Yes". You do need to add some additional style, as the native _renderCircle method manually positions the circles relative to other dimensions.
The renderCircle function you pass into the component is bound to the component. So you can do something like this:
<Timeline
        data={data}
        renderCircle={function (item, index) {
          let circleSize = 9;
          if (item.type === 'cap') {
            return (
              <View
                style={{
                  width: circleSize,
                  height: circleSize,
                  backgroundColor: 'blue',
                  right: this.state.width - circleSize / 2 - (lineWidth - 1) / 2,
                }}
              />
            );
          }

          return this._renderCircle(item, index);
        }}
      />


abnormal acrosome formation terms

Add new terms:

abnormal acrosome formation (as child of abnormal acrosome morphology MP:0008898 and abnormal spermiogenesis MP:0001932)
DEF: any anomaly in the formation of the acrosome from the spermatid Golgi
SYN: abnormal acrosome assembly (exact)
SYN: abnormal acrosome biogenesis (related)
SOURCE: GO:0001675

abnormal proacrosomal vesicle fusion (as a child term of abnormal acrosome formation)
DEF: any anomaly in the fusion of the membrane of a proacrosomal vesicle with the membrane of another proacrosomal vesicle to form a single large acrosomal granule at the nuclear surface
SOURCE: GO:0120211, PMID: 31620437
Annotations from J:303517, J:72756, J:263980

Added new terms:
abnormal acrosome formation MP:0031354
CHECK: abnormal acrosome formation is now also placed under abnormal spermiogenesis (based on placement of GO:0001675)
CHECK: Child terms of abnormal acrosome formation now include absent acrosome MP:0008839 and globozoospermia MP:0002686 (but not detached acrosome MP:0009231)
abnormal proacrosomal vesicle fusion MP:0031355

Use assembly in term name and formation in synonym and textual def just like GO.
Leave absent acrosome as a sibling.


Fix publish workflow

The issue with coding workflows blind with no way to test them until the pull request they were originally authored under is landed to main. 🤦

Success: https://github.com/ably/ably-asset-tracking-android/runs/2510956037
I ran the publish workflow from the branch underlying this PR, validating that once we land this PR to main that it can be used from there.


Update Plugin Artifacts Links for v0.147.6

Automated changes by create-pull-request GitHub action

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Image tag specifier is not used when pushing through build goal

When building an image with a tag using the build goal, and pushImage is set to true, push refers to the tag-less image which results in pushing the latest tag only.
This doesn't work:
      <plugin>
        <groupId>com.spotify</groupId>
        <artifactId>docker-maven-plugin</artifactId>
        <version>0.0.21</version>
        <executions>
          <execution>
            <id>build</id>
            <phase>package</phase>
            <goals>
              <goal>build</goal>
            </goals>
            <configuration>
              <dockerHost>tcp://docker.host:5555</dockerHost>
              <imageName>docker.registry/image:withtag</imageName>
              <dockerDirectory>${basedir}/src/main/docker</dockerDirectory>
              <pushImage>true</pushImage>
              <resources>
                <resource>
                  <targetPath>.</targetPath>
                  <directory>${project.build.directory}</directory>
                  <include>docker-assembly.tar</include>
                </resource>
              </resources>
            </configuration>
          </execution>
          <execution>
            <id>push</id>
            <phase>package</phase>
            <goals>
              <goal>push</goal>
            </goals>
            <configuration>
              <dockerHost>tcp://docker.host:5555</dockerHost>
              <imageName>docker.registry/image:withtag</imageName>
            </configuration>
          </execution>
        </executions>
      </plugin>

By separating the build and push executions it works though:
      <plugin>
        <groupId>com.spotify</groupId>
        <artifactId>docker-maven-plugin</artifactId>
        <version>0.0.21</version>
        <executions>
          <execution>
            <id>build</id>
            <phase>package</phase>
            <goals>
              <goal>build</goal>
            </goals>
            <configuration>
              <dockerHost>tcp://docker.host:5555</dockerHost>
              <imageName>docker.registry/image:withtag</imageName>
              <dockerDirectory>${basedir}/src/main/docker</dockerDirectory>
              <resources>
                <resource>
                  <targetPath>.</targetPath>
                  <directory>${project.build.directory}</directory>
                  <include>docker-assembly.tar</include>
                </resource>
              </resources>
            </configuration>
          </execution>
          <execution>
            <id>push</id>
            <phase>package</phase>
            <goals>
              <goal>push</goal>
            </goals>
            <configuration>
              <dockerHost>tcp://docker.host:5555</dockerHost>
              <imageName>docker.registry/image:withtag</imageName>
            </configuration>
          </execution>
        </executions>
      </plugin>

@nistvan86 I just tried with 0.2.13 and the image tag is used during the push. Your first pom example should work now with more recent versions. If it does, can we close this?

I have created a pull request which adds the ability to only push images explicitly defined in the tags property. This have been useful to us when we have generic build machines which build a lot of tags on a specific image. we don't want to push all the images under imageName all the time. only the ones that have been been built by a specific process. This would seem to apply to the OP's scenario.

AFAIK this was resolved in #127. @nistvan86 please feel free to re-open if that does not fix your issue.


Minor typos and markdown fixes

just a bunch of fixed typos and markdown formatting glitches

Thank you Christian !


Bug with input field

Could not able to add or edit text in input field

@theQuarky Same here :-(


Use proper image prefix when building

Description

This PR resolves an issue where the same prefix was used across front-qa, front-edge, and front deployments. When building and deploying for a specific commit, deploying front-qa first and then front would result in the front deployment using the public environment variables of front-qa.
Risk

Deploy Plan

I don't get it, where is $IMAGE_NAME coming from ?

Looks like the part in cloud-build.yml was recently updated in https://github.com/dust-tt/dust/pull/7489 by Jules. IMAGE_NAME seems to always have been around.


Code Error

Traceback (most recent call last):
File "run.py", line 5, in
trainer = Trainer(seed=2020)
File "/home/wangzhen/program/GraduationProject/SelfKG/model/layers.py", line 315, in init
myset1 = Mydataset(token1.id_features_dict)  # dataset
TypeError: init() missing 1 required positional argument: 'adj_tensor_dict'

@Xiao9905 xiao

Thanks for your reminder, we will fix it up this weekend!

File "run_DWY_neighbor.py", line 7, in
trainer.train(0)
File "model/layers_DWY_neighbor.py", line 442, in train
pkl = open(join(DATA_DIR, 'DWY100K', self.args.dir, "epochs_32_64", "batch_{}".format(epoch) + ".pkl"), 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'data/DWY100K/dbp_wd/epochs_32_64/batch_0.pkl'
@Xiao9905 How to get the pickle file?

@WatsonWangZh The codes are now published. Thanks for your interest in our work.

Thanks for your prompt reply. Great job.

How long does it take to run the LaBSE_SSL experiment? It seems too slow. @Xiao9905

@WatsonWangZh

How long does it take to run the LaBSE_SSL experiment? It seems too slow.  But it is only for ablation study with only entity name information, so it's not
In our experiment, we use one NVIDIA Tesla V100 GPU, and it took about two days to get our final ablation study result of the layers_LaBSE_SSL.py model, which is SelfKG without neighbor information on DBP15K.


Support alternate tag prefixes

We should support alternate prefixes in version tags. At the moment the project assumes that the prefix v is always used. But some projects use no prefix, or include the package as a prefix to the version (e.g. in monorepos).
All public-facing functions now support a tag prefix option. It is optional, so this is a non-breaking change. The updateChangelog
method accepts an array of tag prefixes instead of a single one, so that we can better support the first release of a monorepo where you might want to compare against a backup tag if the first isn't found.
Fixes #116

I will follow up with manual testing steps soon, and do some manual testing myself.

Manual testing steps:
Independent repository (regression testing):

Checkout auto-changelog and build the project
Add the script `"auto": "[path-to-auto-changelog-project]/dist/cli.js" to some repository for test purposes

It can be any of our projects, as long as it's not a monorepo, and as long as it has some changes and some previous git tag.

Run yarn auto update --rc
See that it correctly identified the changes since the last tag, and it correctly set the release header in the changelog.

Monorepo repository (new functionality):

Checkout auto-changelog and build the project
Checkout the controllers repository monorepo-poc branch, and build the project
Add the script `"auto": "[path-to-auto-changelog-project]/dist/cli.js" to the root of the repository.
Run yarn auto update --rc --root ./packages/base-controller --tag-prefix=base-controller@v
See that it correctly identified the changes since the last tag, and it correctly set the release header in the changelog.
Commit the changelog changes and tag that commit as base-prefix@v[version]
Make some example commits that alter the base controller package
Run yarn auto update --rc --root ./packages/base-controller --tag-prefix=base-controller@v
See that it correctly identifies just the example commits

The manual testing steps include setting the --currentVersion flag because the default version used is npm_project_version, which is wrong if the update script is being run from the root of the monorepo.
This seems wrong to me (the version should always match the manifest at the project root), so I have updated how that works here: https://github.com/MetaMask/auto-changelog/pull/121


can we have a CP_Image_DrawSubImageAdvanced?

we have CP_Image_DrawAdvanced that allows drawing rotated images, and we have CP_Image_DrawSubImage that allows providing uv coordinates for the image so we can draw a portion of the image.
but we don't have a function that allows both.

This is fixed in the Singapore branch: ccaca3d1d2cc6eb0f1407df3b109c035c4d0976e

This is fixed in the Singapore branch: ccaca3d1d2cc6eb0f1407df3b109c035c4d0976e


Added math equation support for plus and minus signs.

Pull request for the issue feature #6935
Added initial support for parsing math equations. + and -
Plus and minus signs are supported.
Ex:
5 ft + 12 in + 1 yd -1 ft 6 in = 7.5 ft
(5 + 1 + 3 - 1.5)
Multiplication and division are not supported yet.
Special case + Refactoring
I noticed that the functions createQuantityFromParseTokens and getQuantityValueFromParseTokens where doing the same "tokens to value" logic. So I de-duplicated them.
There was one inconsistent output between these methods.
The case where only the unit label was specified. <- See line 601 in Parser.ts.
The output for the 2 methods where :   'FT' = 1   and    'FT' = 0
I opted to assume that the magnitude is 1.
Another special case, which I assume was a bug, is the parsing of 2'-6". <- See line 218 in the file Parsing.test.ts.
The minus sign was threated like a formatTraits fractionDash, but the format did not specified fractionDash, so it should've been 0 or error.
Now it's treated like a minus sign when fractionDash is NOT specified, and a fractionDash when fractionDah is specified.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Added initial support for parsing math equations. + and -
Plus and minus signs are supported. Ex: 5 ft + 12 in + 1 yd -1 ft 6 in = 7.5 ft (5 + 1 + 3 - 1.5) Multiplication and division are not supported yet.

In cases like these where multiple metrics are supplied (yd, ft, in, m, cm, ...) how do you decide on which to go with?

Moved to https://github.com/iTwin/itwinjs-core/pull/7019


Update elastic4s-client-esjava, ... to 7.16.1

Updates

com.sksamuel.elastic4s:elastic4s-client-esjava
com.sksamuel.elastic4s:elastic4s-effect-cats
com.sksamuel.elastic4s:elastic4s-json-circe

from 7.8.1 to 7.16.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.sksamuel.elastic4s" } ]

labels: library-update, semver-minor

Superseded by #203.


Introduce a ProvisionerStrategy to provision a node without delay

Description
Apparently the below properties should help to speed up the node provisioning:
System.setProperty('hudson.model.LoadStatistics.clock', '5000')
System.setProperty('hudson.model.LoadStatistics.decay', '0.5')
System.setProperty('hudson.agents.NodeProvisioner.MARGIN', '100')
System.setProperty('hudson.agents.NodeProvisioner.MARGIN0', '1.0')

but I'm afraid they don't work as expected. Even when using the oneShot flag.
Tasks

[x] Add changes suggested in the code review.
[x] Integration Tests.

Implementation
This particular change is similar to the done for other Cloud providers:

https://github.com/jenkinsci/ec2-plugin/pull/294
https://github.com/jenkinsci/amazon-ecs-plugin/pull/144
https://github.com/jenkinsci/kubernetes-plugin/pull/598

In addition, it does include the fix JENKINS-60055
For instance:

running in parallel 60 stages to say hey! it takes 30 minutes or so

The very first stage to get a provisioned worker takes 3~4 minutes when there is a peak of 60 requests for workers:

The last stage waiting for a provisioned worker takes 23 minutes:

Expand to view the started provisioning log output

docker logs jenkins-lint 2>&1  | grep "Started provisioning" | sed 's#.*apply: ##g'

Started provisioning test-linux-kqprf7 from gce-test with 1 executors. Remaining excess workload: 0
Started provisioning test-linux-iit98i from gce-test with 1 executors. Remaining excess workload: 3.965
Started provisioning test-linux-0l6hp3 from gce-test with 1 executors. Remaining excess workload: 2.965
Started provisioning test-linux-4pdqlg from gce-test with 1 executors. Remaining excess workload: 1.965
Started provisioning test-linux-565sin from gce-test with 1 executors. Remaining excess workload: 0.965
Started provisioning test-linux-f7pt2n from gce-test with 1 executors. Remaining excess workload: -0.035
Started provisioning test-linux-ywtvjr from gce-test with 1 executors. Remaining excess workload: 4.168
Started provisioning test-linux-xd8had from gce-test with 1 executors. Remaining excess workload: 3.168
Started provisioning test-linux-5zuvf1 from gce-test with 1 executors. Remaining excess workload: 2.168
Started provisioning test-linux-s73pzb from gce-test with 1 executors. Remaining excess workload: 1.168
Started provisioning test-linux-xvvqap from gce-test with 1 executors. Remaining excess workload: 0.168
Started provisioning test-linux-9k8bdd from gce-test with 1 executors. Remaining excess workload: -0.832
Started provisioning test-linux-yvdiay from gce-test with 1 executors. Remaining excess workload: 5.806
Started provisioning test-linux-lzqd0s from gce-test with 1 executors. Remaining excess workload: 4.806
Started provisioning test-linux-o79gvf from gce-test with 1 executors. Remaining excess workload: 3.806
Started provisioning test-linux-gmbohi from gce-test with 1 executors. Remaining excess workload: 2.806
Started provisioning test-linux-g68jvv from gce-test with 1 executors. Remaining excess workload: 1.806
Started provisioning test-linux-d12ml0 from gce-test with 1 executors. Remaining excess workload: 0.806
Started provisioning test-linux-8mch6u from gce-test with 1 executors. Remaining excess workload: -0.194
Started provisioning test-linux-qx450a from gce-test with 1 executors. Remaining excess workload: 1.326
Started provisioning test-linux-2ahezy from gce-test with 1 executors. Remaining excess workload: 0.326
Started provisioning test-linux-xodzi1 from gce-test with 1 executors. Remaining excess workload: -0.674
Started provisioning test-linux-ohqlgc from gce-test with 1 executors. Remaining excess workload: 0.193
Started provisioning test-linux-2819jr from gce-test with 1 executors. Remaining excess workload: -0.807
Started provisioning test-linux-g7jn4k from gce-test with 1 executors. Remaining excess workload: -0.526
Started provisioning test-linux-vgcxqt from gce-test with 1 executors. Remaining excess workload: -0.474
Started provisioning test-linux-3dlcub from gce-test with 1 executors. Remaining excess workload: -0.626
Started provisioning test-linux-hzguiw from gce-test with 1 executors. Remaining excess workload: -0.367
Started provisioning test-linux-p0e8mm from gce-test with 1 executors. Remaining excess workload: -0.538
Started provisioning test-linux-nvyc3b from gce-test with 1 executors. Remaining excess workload: -0.85
Started provisioning test-linux-zkvttj from gce-test with 1 executors. Remaining excess workload: -0.216
Started provisioning test-linux-lw98nh from gce-test with 1 executors. Remaining excess workload: 8.282
Started provisioning test-linux-w80cfk from gce-test with 1 executors. Remaining excess workload: 7.282
Started provisioning test-linux-sjnxau from gce-test with 1 executors. Remaining excess workload: 6.282
Started provisioning test-linux-w9p8na from gce-test with 1 executors. Remaining excess workload: 5.282
Started provisioning test-linux-7d73c3 from gce-test with 1 executors. Remaining excess workload: 4.282
Started provisioning test-linux-b9t25u from gce-test with 1 executors. Remaining excess workload: 3.282
Started provisioning test-linux-5fu5bu from gce-test with 1 executors. Remaining excess workload: 2.282
Started provisioning test-linux-1vz92o from gce-test with 1 executors. Remaining excess workload: 1.282
Started provisioning test-linux-x509w1 from gce-test with 1 executors. Remaining excess workload: 0.282
Started provisioning test-linux-9rt8fl from gce-test with 1 executors. Remaining excess workload: 0.254
Started provisioning test-linux-lhrrp1 from gce-test with 1 executors. Remaining excess workload: 0.029
Started provisioning test-linux-jxu8pw from gce-test with 1 executors. Remaining excess workload: -0.271
Started provisioning test-linux-m044ir from gce-test with 1 executors. Remaining excess workload: 0.156
Started provisioning test-linux-ux8rsj from gce-test with 1 executors. Remaining excess workload: -0.844
Started provisioning test-linux-mnjkjl from gce-test with 1 executors. Remaining excess workload: 0.241
Started provisioning test-linux-gsxiht from gce-test with 1 executors. Remaining excess workload: -0.759
Started provisioning test-linux-r8xmbl from gce-test with 1 executors. Remaining excess workload: -0.083
Started provisioning test-linux-uxcyxh from gce-test with 1 executors. Remaining excess workload: -0.079
Started provisioning test-linux-ocswor from gce-test with 1 executors. Remaining excess workload: -0.271
Started provisioning test-linux-ypeu0s from gce-test with 1 executors. Remaining excess workload: -0.444
Started provisioning test-linux-d930pm from gce-test with 1 executors. Remaining excess workload: -0.8
Started provisioning test-linux-b74nms from gce-test with 1 executors. Remaining excess workload: -0.499
Started provisioning test-linux-q68j51 from gce-test with 1 executors. Remaining excess workload: -0.822
Started provisioning test-linux-1jnqrs from gce-test with 1 executors. Remaining excess workload: -0.477
Started provisioning test-linux-qno651 from gce-test with 1 executors. Remaining excess workload: -0.616
Started provisioning test-linux-a7dcp4 from gce-test with 1 executors. Remaining excess workload: -0.716
Started provisioning test-linux-nr6d11 from gce-test with 1 executors. Remaining excess workload: -0.781
Started provisioning test-linux-5gxtwh from gce-test with 1 executors. Remaining excess workload: -0.836
Started provisioning test-linux-aids9l from gce-test with 1 executors. Remaining excess workload: 0

The provisioning time seems to be lineal, so running the same pipeline for 10, 20, 30, 40, 50 and 60 parallel stages the overall time seems stable:

Actions

[x] Run the same test cases for this particular PR and compare it with.

The below overall execution team is based on the same pipeline for 10, 20, 30, 40, 60 and 100 parallel stages:

It seems it does cope with more concurrent workers although there is some kind of degradation. NOTE: the build with 30 workers took a bit longer as there were timeouts and I had to reset the timeout to be from 6 minutes to 10 minutes.
UI

References
Blocked by https://github.com/jenkinsci/google-compute-engine-plugin/issues/184
Classloader
It seems the classloader with the remoting causes some issues with some threads (see mailing-list). For instance, I did add a particular random sleep before running the connection and there was some improvement in the overall time, see the below screenshot regarding the execution time for 60 nodes was faster than with 50 nodes.

Related issues

Blocked by https://github.com/jenkinsci/google-compute-engine-plugin/issues/189

Thanks @v1v for this contribution! A few notes inline. Also, please be sure to run mvn verify locally and re-commit with the format changes :)

Would also like to see an int-test added which specifically tests the new strategy.

@craigdbarber , I added some ITs with https://github.com/jenkinsci/google-compute-engine-plugin/pull/183/commits/5712a68f5b729b0b9be65b28c6422eca54508c78 but I'm afraid neither I cannot test them locally nor I know the status in the https://jenkins.cloudgraphite-cicd.net service, any ideas how I can debug what's going on? Thanks

Hi @v1v I've granted you read access to the Jenkins server. You should be able to drill into the build/test logs now. Let me know if you encounter any issues. Thanks.

@v1v were you able to access the logs?
Here is the error:
[2020-04-27T21:01:42.342Z] [INFO] -------------------------------------------------------------
[2020-04-27T21:01:42.342Z] [ERROR] COMPILATION ERROR :
[2020-04-27T21:01:42.342Z] [INFO] -------------------------------------------------------------
[2020-04-27T21:01:42.342Z] [ERROR] /C:/Jenkins/workspace/gle-compute-engine-plugin_PR-183/src/test/java/com/google/jenkins/plugins/computeengine/integration/ConfigAsCodeTestIT.java:[90,41] unreported exception java.lang.InterruptedException; must be caught or declared to be thrown
[2020-04-27T21:01:42.342Z] [ERROR] /C:/Jenkins/workspace/gle-compute-engine-plugin_PR-183/src/test/java/com/google/jenkins/plugins/computeengine/integration/ConfigAsCodeTestIT.java:[91,43] unreported exception java.io.IOException; must be caught or declared to be thrown

LGTM if we can get that test passing. When that's done we'll merge and I'll cut a release.

I think we are good to go now! :) I did miss to run mvn test-compile for validating those compilation errors :(
Please, if you merge it please feel free to squash those commits
Thanks for your help

Thank you @v1v! Next I'll confirm tests are fine in develop, then manually verify by installing the HPI, then we'll release.

@v1v thanks for implementing and @evandbrown and everyone else involved thanks for testing and publishing it :+1:
Using this new feature since yesterday without any issues and finally there is no weird 3min delay anymore until a new node is provisioned :tada:


tb_logger Error: got an unexpected keyword argument 'another_engine'

Hi, I'm trying to run train.py on Google Colab.
interact.py works fine, but when trying to fine-tune, "!python train.py" (with or without arguments) stops here:

INFO:train.py:Build inputs and labels
INFO:train.py:Pad inputs and convert to Tensor
INFO:train.py:Build train and validation dataloaders
INFO:train.py:Train dataset (Batch, Candidates, Seq length): torch.Size([131438, 2, 285])
INFO:train.py:Valid dataset (Batch, Candidates, Seq length): torch.Size([7801, 20, 185])
Traceback (most recent call last):
File "train.py", line 267, in
train()
File "train.py", line 249, in train
tb_logger.attach(evaluator, log_handler=OutputHandler(tag="validation", metric_names=list(metrics.keys()), another_engine=trainer), event_name=Events.EPOCH_COMPLETED)
TypeError: init() got an unexpected keyword argument 'another_engine'

(this is using the CPU runtime. If I try the GPU, I don't even get this far... interact.py crashes too)
could it be a tensorboard version incompatibility? i've got the following installed:
tensorboard              2.2.2
tensorboard-plugin-wit   1.7.0
tensorboardcolab         0.0.22
tensorboardX             1.8
pytorch-ignite           0.5.0
(just tried it locally and I'm getting the same error.)

OK I simply removed "another_engine=trainer" and it seems to work fine.

I tried changing pytorch-ignite version to 0.3.0 and that worked.


scraping of IPv6 link-local fe80 addresses fail

What did you do?
Versions tested with: 2.41.0, 2.37.5, 2.37.0
I am using file based service discovery to scrape targets in json format.
One example file_sd_config:
[
   {
        "labels": {
            "instance": "machine-test",
            "__metrics_path__": "/metrics-test"
        },
        "targets": [
            "[fe80::11:1111:c001:1111%bond0]:80"
        ]
    }
]

What did you expect to see?
Successful Scrape of the target with the ip fe80::11:1111:c001:1111 through interface %bond0 on port 80
What did you see instead? Under which circumstances?
Jan 19 11:22:42 machine-testing prometheus[1337]: ts=2023-01-19T10:22:42.751Z caller=scrape.go:1343 level=debug component="scrape manager" scrape_pool=testip6 target=http://[fe80::11:1111:c001:1111%25bond0]:80/metrics-mdi msg="Scrape failed" err="Get \\"http://[fe80::11:1111:c001:1111%25bond0]:80/metrics-test\": dial tcp [fe80::11:1111:c001:1111%bond0]:80: connect: invalid argument"

As one can see in this  log the address is correctly converted from an url to an uri and back (%zoneIdent => %25zoneIdent => %zoneIdent) so the zone identifier was correctly parsed, but still this error is thrown and nothing got scraped.
System information
Linux 5.15.88 x64
Prometheus version
prometheus, version 2.41.0 (branch: unknown, revision: unknown)
  build user:       nix@nixpkgs
  build date:       unknown
  go version:       go1.19.4
  platform:         linux/amd64

Prometheus configuration file
no interessting things to see here

Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

Scoped link-local scrape targets are working for me, with Prometheus 2.41.0, so I don't think your issue is caused by Prometheus.


Onboard Georgiana to work on UToronto Hub

@GeorgianaElena is now with 2i2c, and will be working with me on supporting hubs - including UToronto hub!
This ticket tracks onboarding her.

[x] Get utorid
[x] Add her to Microsoft Teams
[x] Give her access to the Azure subscription
[x] Add her to the GitHub organization
[x] Add her as admin to the JupyterHub
[x] Test making a change & pushing an image
[x] Do a deployment to validate the process

@GeorgianaElena if you have a working utorid, can you try logging in to jupyter.utoronto.ca?

@yuvipanda, I was able to login to jupyter.utoronto.ca, but no utorid was requested.
Also, I now have access to Microsoft Teams  :tada:

👋 welcome @GeorgianaElena

thank you @ntaback and hello :wave:

@GeorgianaElena I think you've almost everything here under control. Can you also add yourself as an admin to the JupyterHub so we can close this?

@GeorgianaElena I think you've almost everything here under control. Can you also add yourself as an admin to the JupyterHub so we can close this?

See https://github.com/utoronto-2i2c/jupyterhub-deploy/pull/75#issuecomment-764576598

See https://github.com/utoronto-2i2c/jupyterhub-deploy/pull/75#issuecomment-764576598


DBZ-3878 Support AS clause for GRANT statement

https://issues.redhat.com/browse/DBZ-3878

Upstream: https://github.com/antlr/grammars-v4/pull/2291

Thx, @ani-sha!


Add pprof endpoint

This is simple, but help us improve performance in the future.

@Random-Liu Do you mean start a http serve for this?

Something like this https://golang.org/pkg/net/http/pprof/


precomputed_knn Implementation

Hi,
As discussed in #786  I have added the option for the user to pass a precomputed_knn when constructing a UMAP object in order to save time. The precomputed_knn must be a tuple containing (knn_indices, knn_dists, knn_search_index). The first part of thisPR has to do with umap_.py:

Added docstring and basic implementation. I chose to create knn_dists, knn_indices and knn_search_index attributes to keep the precomputed_knn seperate from the ones that umap uses internally (with '_' before them).
Included several checks to validate user inputed parameters.
In order to ensure reproducibility when using precomputed_knn and comparing with regular UMAP. Note that this is only ensured when the k of the precomputed_knn is equal to the n_neighbors value. This doesn't add any issues as the NNDescent() function has it's own input validation to ensure that the random_state input is proper. However, I'm not sure if it's worth it.

Secondly I added a notebook testing and showing some of the functionality of the precomputed_knn. The first part of the notebook deals with reproducibility and input validation, and I included it just to show that it works. I'll remove this section before merging. The second part of the notebook actually includes a use case example, and I think it would be useful to include it with the rest of the notebooks.
I planned to continue working on some more examples, but, I wanted to see what you thought before proceeding.

I'm excited to see this folded into the code base as well.  It will make a very nice addition to the library.  Well done!

Hi, thanks for your comments. I'm glad you both liked it.
I hadn't considered how the change would affect previously reproducible UMAP results.  The change isn't entirely required to reproduce results. Precomputed k-nn's will produce the same result as long as the same seed and n_neighbors is used in the n_neighbors function. The only scenario where the change helped was if you wanted to reproduce regular UMAP with a precomputed_knn UMAP, or vice versa.
However, after thinking about it I don't see this being all that useful. The precomputed_knn has to have the same number of neighbors as the normal UMAP. The only case where I can think of this being applied, is if you want to analyze the k-nn distribution before running UMAP with n_neighbors=k. I agree that we can look into updating it later, but, it doesn't seem to be worth it for now.
I set up a different branch where I removed the changes to the random_state variable. In it, I also polished the notebook in that branch to be a bit more didactic and I went into more detail about reproducing results with precomputed_knn. It turns out that even without changing when the random_state variable is declared, we can still reproduce normal UMAP results with a precomputed_knn.
I'm very interested in seeing what you think. If you like the new notebook and modifications to the implementation, i'll merge the knn_dist2 branch to the current one in the PR.

The new notebook looks great. If you want to merge that branch into the PR I will be happy to merge it now.
If you want to go a step further I would recommend adding the notebook explicitly to the documentation. You can do that by using nbconvert to generate an rst file, and putting that in the doc folder, then adding the name of the file (less the extension) to the doc/index.rst file (in the tutorials section would be best). Having it explicitly in the docs will make it much more likely that users will find it.
I'm happy with whatever you want to do from here -- just let me know. And great work, this is definitely appreciated.

Thanks!
I liked the idea of including the notebook in the doc and ended up moving it there. Let me know if there's anything else you need me to do.


Some icons are scaled up too much when viewing in HiDPI

System information:

Pop!_OS (Ubuntu based) 18.10
DBeaver 5.3.3
openjdk 11.0.1 2018-10-16

Describe the problem you're observing:
Icons for columns and connection types are scaled up twice when viewing in HiDPI:

I'm sure it has to do with DPI scaling. The only way to fix it is to set the resolution to FHD (from QHD).

Same issue here on Arch Linux. All the icons at the top are scaled correctly though. It's just the ones in the main screen.

No comments on this in some time, but I can confirm this is indeed still an issue 7 months later on latest release (6.1.5).

@nestor-custodio Just upgraded to version 6.1.5 and the issue persists.

Although, I switched to elementary OS 5.0 in the meantime.

@wout -- Good note on the OS in use. I'm seeing this on Ubuntu 19.04 (GNOME).

Is everyone experiencing this using Wayland? See #6581

@johnf no, I'm using Openbox (Xorg).

Ditto. I'm running an Xorg session here, @johnf.

This is fixed for me in 6.2.2! Awesome :)

Mine are still too large.

I also am still seeing this on <IP_ADDRESS>910072100.

on version 6.2.3 and ubuntu 16.04 and scaled down to 1x. Still the icons are zoomed in

installing the latest version of eclipse solved it for me. I’m running on Ubuntu 19.10 though not sure if that matters.
And the icons are fine on wayland and x.org

Hi,
Same here:

Ubuntu 18.04.03
3840 x 2160, running at 200% scale
Eclipse: org.eclipse.equinox.simpleconfigurator_1.3.200.v20<PHONE_NUMBER>.jar

All other icons are fine for me, just the ones in the navigator are double-size:

Oddly, they're fine in the first column here.... and double again to the right:

...love DBeaver, will be buying the full version... but this is a really distracting eye-splinter. I've tried all the other related issues... anyone have any thoughts?

This was fixed for me in 6.2.2, but after updating to 6.2.4 the icons are back to being broken.
Running Ubuntu 19.10
3840 x 2160, at 200% scale

In 6.2.2 we used newer Eclipse platform but then rolled back (because of critical bugs in it).
This must be resolved in 6.2.5 as we'll upgrade to newer version.
You can check it in Early Access version (https://dbeaver.io/files/ea)

I'm using DBeaver Version <IP_ADDRESS>112130652.
KDE Plasma 5.23.3 on Fedora. Dual Monitor (laptop: Frame.work 2256*1504@100%, External: Dell 32 4k@150%)
Same behavior in single monitor as well.
My only essential tool that does not work with hidpi is DBeaver. It also does not care about QT_SCALE_FACTOR=1.


Express-session memory leak

The default server-side in memory session storage for express-session is purposely not designed for a production environment. It will leak memory under most conditions and will be removed in a feature major release.
This is the recommended Memory Storage.
This can be easily integrated in auth/index.js#L151:
var crypto = require("crypto")
var session = require('express-session')
var MemoryStore = require('memorystore')(session)

adminApp.use(session({
  // As the session is only used across the life-span of an auth
  // hand-shake, we can use a instance specific random string
  secret: crypto.randomBytes(20).toString('hex'),
  resave: false,
  saveUninitialized: false,
  store: new MemoryStore({
    checkPeriod: 86400000 // prune expired entries every 24h
  })
}));

Hi, thanks for this. Can you open a PR with the proposed change?

@knolleary sure, I'll do it right now.

Looking at this in more detail, I see your proposing your own memorystore module here; so is that your own recommendation or is there a wider discussion you can point us at about it? A quick search does find other modules that claim to address the same issue.

There are not other modules listed on the official express-session module documentation, this is the the only "memory session store made for production" as pointed on the doc.
This is part of a wider discussion with the express-session mantainers, here.

Hi @roccomuso - thanks for the links. Really useful context for this change.


Links within hierarchy local - DAC_Non-descriptive_Links_Issue4

On page 26 of the report DAC describe an issue with ID DAC_Non-descriptive_Links_Issue4 which says the purpose of the links within should be contained in the link itself. The report doesn't specify which WCAG Success Criterion this relates to but, since the required text is provided in the programatically determined context (which would, I think, meet Success Criterion 2.4.4 Link Purpose (In context), it seems this might be Success Criterion 2.4.9 Link Purpose (Link only) at Level AAA
DAC have suggested we fix this by introducing a sr-only <span> element that contains the information "Previous", "Next" and "This record is in" statements for each link.
I'm not entirely sure about this approach because I'd have thought it might lead to users encountering the same information twice as they move through the page in context, for example: "This record is in This record is in ...". I wonder whether it would be better to simply bring the visually shown text into the link.
Why wasn't this picked up by in-house testing
It seems to relate to a Level AAA success criterion.

A solution to this could be to wrap the whole element in an  tag and add a span to ensure the generic descriptive text in the link 'i.e previous record, this record is in, etc' is styled slightly differently and on a separate line. That would allow the link to be fully descriptive out-of-context in a list of links, but retain the control of the unique part of the link which is helpful for readability to differentiate on the visual interface.


Cargo.toml contains dependencies that are specific to the Raspberry Pi Pico

These should be removed as they do not serve any purpose.

Resolved in 238d4c0


Extend FragmentActivity instead of Activity

If ReactActivity extends Activity, It will be difficult for third-party libs that require the use of FragmentActivity (refer https://github.com/facebook/react-native/pull/4827#issuecomment-169953931). It might also break the DialogModule as the commit message says that it requires FragmentActivity - https://github.com/facebook/react-native/commit/3a3af8a385583c7aabfad5f8ff5daa69aa29953f

cc @mkonicek

Looks good, I effectively had to copy the source from ReactActivity in one of my projects to make it extend FragmentActivity instread of Activity to use a third party library.

Good catch that some 3rd party modules require FragmentActivity! I'm quite surprised to hear that actually - FragmentActivity is just a backport of new Activity APIs added in Android version 11. It's a way to use the fragment APIs on very old Android versions (10 and below, that's Gingerbread, even fb doesn't release updates for Gingerbread anymore for example). I don't think there's a reason to use FragmentActivity in new apps? It's a bit unfortunate that this leads to quite a bit of confusion (Google results for 'Android FragmentActivity vs Activity').
The dialog module works with both Activity and FragmentActivity. Unfortunately we still use FragmentActivity in some fb apps due to some very legacy dependencies designed to work on Gingerbread and below.
React Native has been using the "new" android.app.Activity since the first release:
https://github.com/facebook/react-native/blob/42eb5464fd8a65ed84b799de5d4dc225349449be/local-cli/generator-android/templates/package/MainActivity.java
I believe the right thing to do is to ask all the 3rd-party module authors to depend on android.app.Activity rather than FragmentActivity. React Native itself requires API 16+ (depends on the Choreographer API) so supporting Gingerbread (API 10) and below is not possible with React Native apps in any case.
Filed an issue on the material-dialogs module here: https://github.com/afollestad/material-dialogs/issues/899
@foghina What do you think?

@janicduplessis Which 3rd party library was it that made you use FragmentActivity?

@mkonicek There might be some works for material-dialogs to rewrite based on android.app.DialogFragment and it will break the compatibility that it original claim to Android API 8.
BTW, will watch the that issue and hope we would have some solutions to have some good React Native dialogs.
Thank for your kindly help.

@mkonicek https://github.com/aakashns/react-native-dialogs

The problem with FragmentActivity is that it forces you to use other APIs from the support lib as well, such as getSupportFragmentManager() and so on. We should be moving away from this especially since we only support API16+, which already has fragment support. This was a conscious decision when we launched RN OSS. If you really need it, though, changing MainActivity to extend FragmentActivity should be fairly straightforward, although we can't guarantee that some builtin modules won't break.


SpsPps is Null when Using Camera2 in ExampleCode

Why running the [rtmp-rtsp-stream-client-java], I always meet "sps or pps is null" when try to run TextureModeRTSP. Other RTSP by  Camera1(Custom, Default,OpenGI ) or RTMP is OK.
wish to get help， thanks
ref：
Android Studio Dolphin | 2021.3.1 Patch 1
ZLMediaKit

Hello,
I recommend you use camera2 with OpenGlView or LightOpenGlView if you don't need filters. TextureView and SurfaceView with camera2 are deprecated because it is not customizable and produce problems since you need set 2 surfaces to camera2 API (encoder and preview).
If you still need it. Can you try force use software video encoder?:
rtmpCamera2.setForce(CodecUtil.Force.SOFTWARE, CodecUtil.Force.FIRST_COMPATIBLE_FOUND);

thanks


On Open Validation - extend to other TSV types

Based on some testing, I believe on-open validation was only done for TN files (which was the only TSV formatted file back in the day). But now we have many TSV resources. The "on open" validation was intended to be a fast check of certain features to prevent it from being used, since it would likely crash tc-create. Those checks are:

Does it have the correct header?
Does every row have the correct number of columns? If not report whether too few or too many.
Are all ID values unique? Report all duplicates and their row numbers.

It may check for:

empty rows (which would be also be a too few columns issue, but perhaps a different root cause worth reporting)

The existing code should be read to be sure I've captured all that it does.
@birchamp

@mandolyte test after refactor

Works for tN and tWl.
Does not work for tQ.

Looks good in translationCore Create - v1.4.4 build 153-d1b4fc1 on develop branch.


Typos

Typo in

methods/proofs/can’t-do-it.tex
incompetents/arithmetization-sytnax/proofs-in-nd.tex

Thanks!


[BUG] Sass import error in Parcel 2.9.3

What happened?
Importing a framework like Primer.css fails with
Cannot create property 'importer' on string 'index.scss'

This has been fixed upstream in Parcel 2.10.0: https://github.com/parcel-bundler/parcel/pull/9256
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Relevant log output
TypeError: Cannot create property 'importer' on string 'index.scss'
    at loadConfig (.../node_modules/.pnpm/@parcel+transformer-sass@2.9.3_@parcel+core@2.9.3/node_modules/@parcel/transformer-sass/lib/SassTransformer.js:67:29)
    at async loadPluginConfig (.../node_modules/.pnpm/@parcel+core@2.9.3/node_modules/@parcel/core/lib/requests/ConfigRequest.js:52:21)
    at async Transformation.loadTransformerConfig (.../node_modules/.pnpm/@parcel+core@2.9.3/node_modules/@parcel/core/lib/Transformation.js:488:5)
    at async Transformation.loadPipeline (.../node_modules/.pnpm/@parcel+core@2.9.3/node_modules/@parcel/core/lib/Transformation.js:440:20)
    at async Transformation.run (.../node_modules/.pnpm/@parcel+core@2.9.3/node_modules/@parcel/core/lib/Transformation.js:146:20)
    at async Child.handleRequest (.../node_modules/.pnpm/@parcel+workers@2.9.3_@parcel+core@2.9.3/node_modules/@parcel/workers/lib/child.js:193:9)

(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[x] I agree to follow this project's Code of Conduct
[x] I checked the current issues for duplicate problems.

Thanks for the flag @joshuawalker - we should def upgrade to the latest Parcel upstream!


collect-debug-info gets 405 on gist upload

INFO[03-10|22:08:15] uploading logs and debug information to a private, anonymous gist
INFO[03-10|22:08:15] this may take a while depending on the size of your logs
INFO[03-10|22:08:15] getting flynn-host logs
INFO[03-10|22:08:24] getting job logs
INFO[03-10|22:10:27] getting system information
INFO[03-10|22:10:36] creating anonymous gist
238.87 MB / 238.87 MB [===========================================================================================================================================================================================================================] 100.00 % 48.63 MB/s 0EROR[03-10|22:10:51] unexpected HTTP status: 405
238.87 MB / 238.87 MB [=========================================================================================================================================================================================================================] 100.00 % 15.86 MB/s 15s
22:10:51.700288 host.go:141: unexpected HTTP status: 405

This is a semi-intermittent issue, even on the same host.

This probably based on the file size, we should bail out before attempting the upload if it is greater than the limit.

This is happening quite regularly now. Rather than randomly aborting, it would be better to a) found a new place to upload to, or b) trimmed down to fit the Gist maximum.

Yeah. I like your proposal to have an option to upload to S3.

S3 or something similar would be good as the Github support recently complained due to the high amount of deletion requests I sent them. :-)

This was fixed in #2912. A new issue should be opened if S3 support is still wanted.


Use blocking invokes when running messageHubProduce

These tests really should not proceed until it is known that the produce action fully completed.

FYI @jasonpet this could very well explain the intermittent failures.

Using blocking actions does not guarantee that the code will not proceed because the blocking action may exceed an execution time of 60 seconds and then turn into a non-blocking action.

Yes, I'm aware. Are you suggesting it is better to leave these invokes non-blocking? :trollface:

The test, in its current configuration, will fail if the blocking invocation goes async.

withActivation blocks until the it found the activation record as well, no?

The test, in its current configuration, will fail if the blocking invocation goes async. The code will not move beyond the invocation call.

This seems reasonable to me. If the produce action takes longer than 60s then something is wrong and the test cannot proceed.


Merge 3.0.2 recent changes to 3.1.x

I checked out 3.0.2, and did below on my local 3.1.x branch.
git merge 3.0.2 -X ours
This merged all 3.0.2 diff to 3.1 so we don't lose anything. But if files conflict, it takes 3.1 code.
Then I manually fix the galley version.

LGTM.


Confusion about Audioset-Instrument data

Dear author,
I have a question about Audioset-instrument data. In "Co-Separating Sounds of Visual Objects", you mention there are 113,756/456 for unbalanced/balanced instrument clips, respectively. But in "Learning to Separate Object Sounds by
Watching Unlabeled Video", there are 104k+2.9k/1k  for unbalanced/balanced respectively. I also tried download the balanced audioset-instrument, and I get 938 videos totally. Why they are not the same? Is it possible to provide the video name list?

Have you solved this? I have the same question.


Support for .twig files

Support for .twig files would be great. Shopify's .liquid and Mozilla's .njk (nunjucks) are similar syntax.
I see .twig is supported by Chroma already.

Added, thanks!


Serial and Serial1

You mention that you (cross-)connect rx/tx between the arduino and the esp8266, but in the source for arduino not Serial but Serial1 is used.
When using a 32u2 like the cjmcu beetle, is serial1 connected to the pins with rx/tx label or are those some other pins?

Serial1 means the rx/tx pins.
There are 2 'Serials' because you have to differ between the USB-Serial connection and the onboard pin-serial connection.
So yes Serial1 is for the pins, regardless of the board (as long as it's an atmega32u4 of course).
For the ESP8266 it looks a bit different. It doesn't have a native USB connection like the atmega. The Serial connection you get on your computer to, for example a NodeMCU, is made via a USB to serial chip on the board it self. This chip uses these two rx and tx pins. So for the ESP8266, there is only one serial connection for both, but the atmega has 2 seperate.

Thanks for explaining, and for adding the "question" label (wasn't able to find that myselve).
While waiting for my China 32u4 deliveries, I am testing with the 16u2 chip on my Arduino Mega2560. Do you know if the rx/tx pins on such board (which are from the also correspond to the tx/tx of the atmega2560) the same as the rx/tx pins from the 16u2?

I think so, but I'm not sure. I would say just try it out ;)

Figured it out and tested. On the Arduino Mega2560:
pin 0 (marked RX)  is TX for the 16U2 Serial1
pin 1 (marked TX)  is RX for the 16U2 Serial1


Is it based on hg38 genome?

Thanks for your excellent software, I want to know whether these software is based on hg38 genome.

Same problem！If you have the answer？

Same doubt! Could anyone confirm this?
I'm using bam files aligned to hg38 and wanted to know whether this software is compatible with hg38 genome.
Thank you!

No, it uses a custom reference of all known HLA sequences. But you can use your alignments to prefilter for reads falling into the HLA superlocus, which will speed up optitype‘s inference.

@b-schubert Thank you for confirming.
I'm trying to use the Optitype for my sample file. Like you said I'm filtering the reads for MHC complex regions [hg38 chr6:28,510,120-33,480,577] using samtools view and converting the bam2fq and passing the fastq files as i/p for optitype. On executing Optitype command, it generates intermediate bam file for 1st fastq file within couple of seconds but for 2nd fastq file it takes forever and it doesn't throw any logs or output.
Could you help me to solve this?


Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/deploy-microservice-tutorial/deploy
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

I am learning deploy my first microservice to azure but got this error:
Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
Please help.
Thanks.

What version of dotnet are you using? What command were you running when you got that error?

V5.0.202
Command I used is from a learning online: kubectl apply -f deploy. yaml
Thanks.
Sent from my iPhone

On Jun 18, 2021, at 1:49 PM, Michael Sharp @.***> wrote:

What version of dotnet are you using? What command were you running when you got that error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@nishanil @shirhatti can you help here?


Possible to show a progress bar?

As the title says. Do you think this could be extended to show a progress bar for the file upload?

Good idea. Can you make PR for this?

Not sure if I have the skills. Have never written a line of Objective-C :(

In fact I also almost, this is the only one I wrote. :joy:

Wow that's pretty impressive. Did you use any special resources to learn how to write the code (and to write it in such a way that it can be used from react-native)? Coming from Python, Objective-C is almost completely unreadable to me :)

No special resources, just google and stackoverflow search. Objective-C  is hard to adapt also to me.

 to write it in such a way that it can be used from react-native
That maybe refer to here.

This would be very useful to me too.  Any one solved this?

I solved this, here's my code:  https://github.com/wootwoot1234/react-native-transfer

do you have the android version that seems to have been added here:
https://github.com/PhilippKrone/react-native-fileupload
???


Change Log should overwrite the default log name

Logs weren't rotating over to the new name if you used changeLogName(), they were rolling over to the original default name.
Added a test for this case as well.

No need for the empty test since you changed it

:+1:


Roll Engine from 0cf0ea0e781d to 8c7ffa9d858b (1 revision)

https://github.com/flutter/engine/compare/0cf0ea0e781d...8c7ffa9d858b
2022-03-15<EMAIL_ADDRESS>Roll Skia from ff138c94d600 to e1880aed8f81 (1 revision) (flutter/engine#32019)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Switch fork of Munson to an active fork

Gem releases have always come from my fork. I no longer have access to the StackSocial fork...

@coryodaniel thanks for the correction. I can see that you're the definitive owner of the gem 👍


3.5.6 latest uncover with XS MAX no cydia?

Anyone have any idea why cydia won’t install on my device. I have a XS Max 12.4 running 3.5.6 latest uncover. Has no JB issues what so ever instals fine but cydia isn’t in my phone
Regards

no injection for a12 🤦♂

Oh what does that mean? Sorry I’m a JB noob, what is the point of uncover if you have no cydia in this device then? Is there another way to add other things?

Have to wait until A12 chipset devices are fully supported until you can get cydia and start using tweaks, should be about a month bur thats just a guess

To answer your question @Royal-Marine-42, installing unc0ver 3.5.6 and running the jailbreak tool will disable auto updates and allow you to gain SSH so you can change root passwords.

Add on to the dummy question @Stoekoe0990 since you seem pretty knowledgeable, what exactly does changing the root passwords do for the user?

@HonoringBills If you jailbreak your iPhone to disable auto-updates, you're going to want to change the root account's password from the default of 'alpine' as you may have enabled SSH during the jailbreaking process.
If you don't change the root password on an SSH-enabled jailbroken phone, you will be allowing other users to SSH into your device and deploy malicious code. Be it on public wi-fi or any kind of shared network.

So how to install cydia thru this jailbroken device with ssh?

what should i do?

You can't because tweak injection isn't supported yet.


[SDK Automation] Log the output of the 'tsp compile' command to the pipeline

The common automation scripts used to generate SDK based on TypeSpecs does not log the command output, making it hard to troubleshoot the root cause of failures.
Currently, when this command fails, the log of pipeline is as follows for this spec PR:
01:21:41.233 cmdout 	[Invoke-GenerateAndBuildV2.ps1] npx tsp compile /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/applicationinsights.livemetrics/Azure.Monitor.OpenTelemetry.LiveMetrics/TempTypeSpecFiles/ApplicationInsights.LiveMetrics/main.tsp --emit @azure-tools/typespec-csharp --option @azure-tools/typespec-csharp.emitter-output-dir=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/applicationinsights.livemetrics/Azure.Monitor.OpenTelemetry.LiveMetrics/src
01:21:42.991 cmderr W 	[Invoke-GenerateAndBuildV2.ps1] Write-Error: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/Invoke-GenerateAndBuildV2.ps1:120
01:21:42.992 cmderr W 	[Invoke-GenerateAndBuildV2.ps1] Line |
01:21:42.992 cmderr W 	[Invoke-GenerateAndBuildV2.ps1]  120 |  … ectFolder = & $processScript $typespecFolder $commitid $repoHttpsUrl  …
01:21:42.992 cmderr W 	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
01:21:42.992 cmderr W 	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk project at
01:21:42.992 cmderr W 	[Invoke-GenerateAndBuildV2.ps1]      | /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/applicationinsights.livemetrics/Azure.Monitor.OpenTelemetry.LiveMetrics
01:21:43.066 warn 	Script return with result [warning] code [0] signal [null] cwd [azure-sdk-for-net]: pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1

@weshaggard , it appears that the tsp-client library adoption work for each SDK language automation is currently in backlogs. How do you think of improving the TypeSpec-Project-Generate.ps1 script to address this issue?

Do you know if tsp-client handles this correctly? If so perhaps the work here should be to move to tsp-client instead of fixing these scripts.

@weshaggard ,
Yes, tsp-client logs the output of tsp compile errors and it's easy to extend the logging information there. I agree to integrate with tsp-client in SDK automation tool. Now the request is the support of the private spec repo by tsp-client.
https://github.com/Azure/azure-sdk-tools/issues/8012

Close this as we would like to adopt tsp-client.