OPTIONS verb missing

I need allow OPTIONS verb on my endpoints, but i don`t see one way to do it on documentation and the Http method enum does not have this value.
How I can allow this method for my endpoints, also if possible allow for all endpoints on global configuration.

it's not possible to add an http verb globally. but you can set any string you want like below:
sealed class MyEndpoint : EndpointWithoutRequest
{
    public override void Configure()
    {
        Routes("my-endpoint");
        Verbs("OPTIONS", "GET");
        AllowAnonymous();
    }
}

is the OPTIONS verb needed for doing manual CORS or something?

need set this verb for all endpoints configured, because axios always use this verb to prefligth and I don't like to disable it on axios, the way I would like to solve this is allow OPTIONS verb for all endpoints. Or so in group configuration something like
public class Auth : Group
{
    public Auth()
    {
        Configure("auth", ep =>
        {
           ep.Verbs.Add("OPTIONS")
        });
    }
}

implemented in v<IP_ADDRESS>-beta
the following is now possible:
//global configurator
app.UseFastEndpoints(
       c => c.Endpoints.Configurator =
                ep =>
                {
                    ep.AdditionalVerbs(Http.OPTIONS, Http.HEAD);
                })

//endpoint group
sealed class SomeGroup : Group
{
    public SomeGroup()
    {
        Configure(
            "prefix",
            ep =>
            {
                ep.AdditionalVerbs(Http.OPTIONS, Http.HEAD);
            });
    }
}


Add more built in plugin commands that I've been using in projects

e.g:

!loop, !run_loop and !exit_loop for defining repeater chains, and for turning them on/off
!function and !run_function (maybe rename to !define_event and !event or something similar) for defining impulse chains and calling them (with a 1-tick delay sadly)

Closed with 9204baf3ffdfa3d0e77fcc76c3c557fccb3eb452


Broken Link

The link to the full technical reference is broken.

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

ID: cdf15d6d-c63e-6ec4-d1c0-bb800eec7f12
Version Independent ID: 595b6b57-f169-e38d-35d7-91eaa3b33610
Content: Network Shell (Netsh)
Content Source: WindowsServerDocs/networking/technologies/netsh/netsh.md
Product: windows-server
Technology: networking
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

#assign:xelu86

Hey @mbelt,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made to redirect users to our netsh command reference as the other resource is no longer available. Changes will be live after the next business day. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


[Feature request] New components

Hello!
First of all, loving your work, seriously. When a coworker discovered me vue, It was amazing, but I am more framework-friendly than a craft all by myself kind of person. I really enjoy making materialized vue apps. Some questions/improvements, thought:
Can the chips have an icon/avatar embed, like in https://material.io/guidelines/components/chips.html#chips-contact-chips?
Can the snackbar have customized theming using md-theme component?
Can you implement toasts/steppers?
Can the sidenav open on a swipe (swipeleft/swiperight) touch action using https://github.com/vuejs/vue-touch like in mobile devices? I managed to use the new beta version for vue 2.0 and built an app with Cordova but vue-router seems to capture my touch action instead the md-touch custom component I declared in order to open the sidenav. So I'd love a built-in solution instead.
Can you build a detailed and documented example of a full responsive multicolumn md-layout? I'm having a really hard time understanding this one, went from bootstrap-like grids and have no clue.

Hi @fergardi
First of all, it's better to open a different issue per subject, to make it better to track and to not merge two or more discussions. But I will answer all of them here :)
Can the chips have an icon/avatar embed
Yes. This will be added as a new component: md-contact-chips
Can the snackbar have customized theming using md-theme component?
What do you mean? You want different backgrounds? Of so, this is not going to be implemented. The snackbar should not have accent, primary or warn colors. Except for the actions that can have different colors.
Can you implement toasts/steppers?
I will think about the toast, because this component is ONLY for Android Apps. The steppers will be developed, but I haven't prioritized yet, so I cannot say when it's going to be delivered.
Can the sidenav open on a swipe (swipeleft/swiperight) touch action
This is duplicated. #275 #44
But I will integrate the vue-touch in the project, for tabs, switch, sidenav, snackbar (to dismiss), and some upcoming components, like the date/time pickers, bottom sheets, swipe to refresh, onboarding and feature discovery.
Can you build a detailed and documented example of a full responsive multicolumn md-layout?
What do you need specifically? A guide on how to change the column size for a specific breakpoint size? I can create a example on Codepen...
Thank you!

Hi,
Nice library, thanks for your work! I'm also looking for the stepper component, could you tell which level is this feature in your todo list? Do you maybe need some help to develop it?


Fine tuning

Hey I have been fine tuning using pre-trained checkpoint . however Having issues for it to converge , I have 20k Mask and image set for background removal . I have run 30 Epochs and the results are worse than the pretrained one
Any advice on how many epoch or learning rate ?

Finetuning with additional data only may cause catastrophic forgetting. Try adding your data to the composite dataset.

Finetuning with additional data only may cause catastrophic forgetting. Try adding your data to the composite dataset.

I'm just curious - what's the reason of that?

So you mean i Need to train on the pretraining dataset and my own dataset ?

@plemeri  I saw that in your transparent background libraries nightly model scores much higher than HR model in model zoo when tested on DUTS-TE . Can you share the reason and training technique ? is it just trained longer ?

Nightly model was trained with the updated training strategy which was my doctorate dissertation. Currently I have no time to release updated contents.

@plemeri if you can share it

My dissertation is not publicly opened yet because of the ongoing patent registration. Sorry for that.

@plemeri congrats on your doctorate dissertation! 👍
I would be more than happy to see the updates on this repository and not kill as everyone does after some time. We are waiting updated training strategy at some point.

Could you point us in the direction of these better methods then? :)


websocket error

Hi
I dont have websocket for set to webSocketUrl
How can I set this parameter to null?

No, this package only supports sip over WebSockets, so webSocketUrl is necessary.

Thanks for your answer.
excuse me, What permissions should be taken from user in android?


Add python 3.6 support in tests

@audreyfeldroy the current test environments are not even supported by upstream python anymore. Can this be merged please?


Helpers refactoring

See #24
This mainly moves functions to the helpers.py file and adds some tests.
Note that one test is skipped as it runs into #18, so we should probably first fix that one before merging this PR.

closing due to major refactor.


Add ability to generate dumps of node, slpdb and fulcrum

Currently users of bch-toolkit need to wait long times (often several days) to fully sync node+slpdb to mainnet. We should provide dumps so that the bootstrap process can be made faster.

Dump URL/data format (WIP)
Backup file : <prefix>/[bchn|bu|fulcrum|slpdb]/<blockheight>/<fname>
Manifest : <prefix>/[bchn|bu|fulcrum|slpdb]/<blockheight>/manifest.json
Signature : <prefix>/[bchn|bu|fulcrum|slpdb]/<blockheight>/sig.json
Example:
Lets say our storage root (prefix) is https://example.com/devkit-dumps/ , and we have a dump of bitcoin unlimited at block 1,500,000

This dump would be available at https://example.com/devkit-dumps/bchu/1500000/bu.tar.gz
Manifest file at https://example.com/devkit-dumps/bchu/1500000/manifest.json
Signature file at https://example.com/devkit-dumps/bchu/1500000/sig.json

Dump format : Depends on the application, the devkit needs to know how to deal with it
manifest.json proposed format
{
    "height": 1500000, //Last known block included in the dump
    "filename": "bu.tar.gz", //Filename of the actual dump
    "sha256sum" : "c98c24b677eff44860afea6f493bbaec5bb1c4cbb209c6fc2bbb47f66ff2ad31", //sha256sum of bu.tar.gz
    "version": "1.9.2", //Version used to make this dump. The users version must be same or newer
    "time" : "2021-12-20T11:38:39.730026" //Timestamp when this dump was created
}

sig.json proposed format
{
    "signer": "qp3wjpa3tjlj042z2wv7hahsldgwhwy0rq9sywjpyy", //The key used to sign the manifest, the user needs to trust this signer.
    "signature": "IBOvIfsAs/da1e36W8kw1cQOPqPVXCW5zJgNQ5kI8m57FycZXdeFmeyoIqJSREzE4W7vfDmdmPk0HokuJPvgPPE=" //Entire manifest.json signed by signer
}

User flow when restoring (lets say they want to do bitcoin unlimited)

Do directory listing of https://example.com/devkit-dumps/bchu/
Find directory name with highest block number
Fetch manifest.json and sig.json
Validate that signer is someone user trusts, and check if manifest.json is signed correctly.
Check if version is compatible. If not find an alternate block number and goto step 3.
Download the file referred in filename.
Validate sha256sum of downloaded file is same as mentioned in the manifest
Restore Bitcoin Unlimited node, wait for it to startup and stabilize (initialblockdownload turns to false)

Note: We either need directory listing enabled, or some application server that processes some logic to point the user to the correct directory.

Updated work-in-progress example for a smartbch restore

Fetch index https://devkit-dumps.actorforth.org/mainnet/smartbch/
Observe newest directory is 2808567 . Directory names are approximate last-known block number at the time of making the dump.
Fetch manifest from https://devkit-dumps.actorforth.org/mainnet/smartbch/2808567/manifest.json
check if constraints are satisfied, i.e. smartbch  >= 0.3.5 and dump made for devsuite 1.1.0 is compatible with currently running devsuite or not. If not then retry from step 2 using an older dump.
fetch signature file https://devkit-dumps.actorforth.org/mainnet/smartbch/2808567/sig.json (currently its a placeholder)
Compare if signature matches(check previous comment) and the signer is trusted.
Check if /tmp/smartbch.tar.gz already exists and sha256sum matches manifest. if matches GOTO 10
^ If not then download  https://devkit-dumps.actorforth.org/mainnet/smartbch/2808567/smartbch.tar.gz  . Its better to use a download accelerator (like axel) instead of wget, axel allows for multi-connection downloads, and allows download from several mirrors at once.
check sha256sum matches, if not its an error
proceed to untaring it as mentioned in #50

Restore step for slpdb is similar.
Find the file https://devkit-dumps.actorforth.org/mainnet/slpdb/710040/slpdb.mongo.gz
then run
mongorestore  --drop  --authenticationDatabase admin --archive=/tmp/slpdb.mongo.gz --gzip   mongodb://mongouser:mongopass@mongodb-slpdb:27017

This needs to run somewhere (ideally in a container) that has access to the dump file and can connect to mongodb


Add Image and more Content to CI

https://deviq.com/practices/continuous-integration

This came up in SmarterQueue for next week. I punted the page to the bottom of the queue. Will update this before it appears again - November 27


Bump Dependencies #12258872480

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/12258872480

 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.


Fix octree generation.

On octree generation, parent nodes are generated by subsampling from their children. The code is checking for all 8 potential children, expecting that the NodeIterator correctly returns NodeNotFound if a node does not exist.
However the OnDiskDataProvider returned std::io::ErrorKind::NotFound instead, which was taken as a hard error, ending octree generation.

@feuerste Please review, take over and shepherd into master.

@wally-the-cartographer merge

Merge requested by authorized user feuerste. Merge queue now has a length of 1.


Support for custom ciphers and protocols for https requests

This pull request is an implementation for the following feature request: https://github.com/Kong/unirest-java/issues/380
Usage would be for example:
Unirest.config()
    .sslContext(sslContext)
    .protocols("TLSv1.2")
    .ciphers("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384");

This will force your client to communicate over TLSv1.2 and TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 with the server or else it will fail. This setup will also prevent your client to communicate with older protocols such as TLSv1.1 and TLSv1

Thank you very much!

@Hakky54 there was an issue with the GitHub Actions setup for PRs would you might rebasing your branch with master (or merge master, either way)

I just merged your master branch with mine master branch and pushed the changes. Please let me know if something else needs to be done

This is in 3.11.04


correctly ignore functions that are not part of the source file

babel generates getter functions for re-exports: http://babeljs.io/repl/#?code=export {foo%2C bar} from "foobar"
Those were not correctly ignored and lead to some missing coverage in my project and I had to investigate :-)

Thanks for this, I was actually just about to look into this problem too.


Update Character “emmerson”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
29a8d0f6c3a93290e2e4a4c126445a2ccd531529

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/62ec2dbbda97930007c0a28f


Added inputType property to the View

I've also added a new activity making a sample of it with textPassword as inputType
Fixes #85

Hello, this library dependency repository location please? since JCenter is no longer provides where did you migrate ?

@ataballyyeva You can download it using another fork from Maven Central
implementation 'io.gitlab.alexto9090:materialsearchview:1.0.0'


Unittest insurancedatamanager

@kens-aais ,
Could you please review and approve the PR.
Please Note:
insurance-data-handler.js line# 25,
I am unable to mock direct DB calls. Since DBManagerFactory object is constructed as part of import (JS Hoisting).

Chary,
Is there some docs i can use to learn how to run these locally?
Maybe and update to the readme?
Ken

Hi @kens-aais ,
Its just a simple step. Once you have the latest code.

npm install
npm run jest
It will run all unit test cases and shows result in console.
We can view detailed coverage report in this file.
openid-insurance-data-manager/coverage/lcov-report/index.html
Note: coverage folder is added to .gitignore

That is what i figured.  I get the error about the ${GITHUB_TOKEN} what did you do about that?

From: charyitpc @.>
Sent: Wednesday, February 23, 2022 5:26 AM
To: openidl-org/openidl-main @.>
Cc: Ken Sayers @.>; Mention @.>
Subject: Re: [openidl-org/openidl-main] Unittest insurancedatamanager (PR #39)
Hi @kens-aaishttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkens-aais&data=04|01|kens%40aaisonline.com|727a9a6353674c9ad2f008d9f6c7c686|11a183b0e7574f328f598d8dd716cade|0|0|637812160174845481|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=iDfaHlyNsBVPXhWANtOnjK3aZq8WTN1FjXwHGIlamGI%3D&reserved=0 ,
Its just a simple step. Once you have the latest code.

npm install
npm run jest
It will run all unit test cases and shows result in console.
We can view detailed coverage report in this file.
openid-insurance-data-manager/coverage/lcov-report/index.html
Note: coverage folder is added to .gitignore

—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenidl-org%2Fopenidl-main%2Fpull%2F39%23issuecomment-1048731433&data=04|01|kens%40aaisonline.com|727a9a6353674c9ad2f008d9f6c7c686|11a183b0e7574f328f598d8dd716cade|0|0|637812160174845481|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=C%2F86Yc9fOB8mawbrA4O38kUdYh1rNBE%2FRNqldsEF3Zg%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS2JRUUQIE4DGYXHR4BKLNDU4THA3ANCNFSM5PAKIE5Q&data=04|01|kens%40aaisonline.com|727a9a6353674c9ad2f008d9f6c7c686|11a183b0e7574f328f598d8dd716cade|0|0|637812160174845481|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=TgWQlAU23GXt1O7R2quYvfOYeedtNFSdu9N5hduvrMU%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|kens%40aaisonline.com|727a9a6353674c9ad2f008d9f6c7c686|11a183b0e7574f328f598d8dd716cade|0|0|637812160174845481|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=NOyIBsr2gBe3rhq3Mk1StOvR6sCC5lyiU9BHgxVcMj0%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|kens%40aaisonline.com|727a9a6353674c9ad2f008d9f6c7c686|11a183b0e7574f328f598d8dd716cade|0|0|637812160174845481|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=pm2RTbrs1Djh%2BQ7tVshOHT5Xp6AOHjhx3jX908Y0OfA%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

That did not work.  I still get the same error message.

From: charyitpc @.>
Sent: Wednesday, February 23, 2022 9:09 AM
To: openidl-org/openidl-main @.>
Cc: Ken Sayers @.>; Mention @.>
Subject: Re: [openidl-org/openidl-main] Unittest insurancedatamanager (PR #39)
@kens-aaishttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkens-aais&data=04|01|kens%40aaisonline.com|43b99cd26427480ca21c08d9f6e6e562|11a183b0e7574f328f598d8dd716cade|0|0|637812293830124537|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Q7EiIpOcqW1vfZ4vtbWEkgBApLKr28pzKimLwfujvhQ%3D&reserved=0 ,
We need to generate a Personal Access Token [https://github.com/settings/tokens] you can select relevant permissions (or) check all :)
copy the token and place it in the openidl-main/.env file as below (please create .env file if not available)
GITHUB_TOKEN=<Your Token value eg., ghp_234abc*******>
And now you are good to go.
npm install
npm run jest
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenidl-org%2Fopenidl-main%2Fpull%2F39%23issuecomment-1048946670&data=04|01|kens%40aaisonline.com|43b99cd26427480ca21c08d9f6e6e562|11a183b0e7574f328f598d8dd716cade|0|0|637812293830124537|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=OH2dOf7cwD664N6r3uwm%2BhyMW9HFacisAunAhFYgito%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS2JRUUU4NKOD3MZ6GSWLSTU4UBEHANCNFSM5PAKIE5Q&data=04|01|kens%40aaisonline.com|43b99cd26427480ca21c08d9f6e6e562|11a183b0e7574f328f598d8dd716cade|0|0|637812293830124537|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=uM670qwUPUphIw72e4dQKJfRAH1%2B%2FFS6LrX4uy8LmKg%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|kens%40aaisonline.com|43b99cd26427480ca21c08d9f6e6e562|11a183b0e7574f328f598d8dd716cade|0|0|637812293830124537|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=pg%2BwnnTBTlvRr7zTtSJVAYmfsHWR5OuglUkPS5rWD1M%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|kens%40aaisonline.com|43b99cd26427480ca21c08d9f6e6e562|11a183b0e7574f328f598d8dd716cade|0|0|637812293830124537|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=LI3vpqTXjVjmpwzEX0GYZMu5%2BSPVU1ABLpM73Tcb2ao%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@kens-aais ,
Can we have a short call to check on it. Please let me know your availability.


Unity 6.27 Execute is not implemented problem

Just update from v4 to the current version or your great system, but I am getting endless messages in the console of:
Execute is not implemented, the pass Unified.UniversalBlur.Runtime.UniversalBlurPass won't be executed in the current render loop.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Is there a way to fix this, the blur seems to still work but its spewing out this warning endlessly even when the not in play mode.

@spookycat Thank you for opening the issue.
I just experimented with settings and I got a similar warning when I activated compatibility mode in graphics settings (although, in my case blur does not work). Do you have it enabled?

I did have Compatibility mode enabled, if I turn that off then it stops the warning above but is now replaced by the error below:
Skipping render pass. UniversalBlurPass requires an intermediate ColorTexture, we can't use the BackBuffer as a texture input.
UnityEngine.Debug:LogError (object)
Unified.UniversalBlur.Runtime.UniversalBlurPass:RecordRenderGraph (UnityEngine.Rendering.RenderGraphModule.RenderGraph,UnityEngine.Rendering.ContextContainer) (at ./Library/PackageCache/com.unify.unified-universal-blur/Runtime/UniversalBlurPass.cs:69)
UnityEngine.Camera:Render ()
Enviro.EnviroReflectionProbe/d__36:MoveNext () (at Assets/Enviro 3 - Sky and Weather/Scripts/Runtime/Modules/Reflections/EnviroReflectionProbe.cs:400)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
So not sure if that is an Enviro issue now or a Blur one now.

It might be the case of how EnviroReflectionProbe actually works. Unfortunately, it is kind of hard for me to replicate that problem.
Meanwhile, it might help to check the "Render Graph Viewer" window and see how the graph looks like (and there might be a few of them in your case, under the camera filter). And if you are able to, please share the screenshots.

Here is a grab from the Render Graph Viewer, probably managed to not grab what you want to look at so just let me know.


Intermittent MongoNetworkError when running on MongoDB Atlas Serverless

Link to reproduction
.
To Reproduce

Run payload attached to MongoDB Atlas Serverless
Run load test to try and get the error.

Describe the Bug
One user has reported getting a MongoNetworkError intermittently when running on MongoDB Atlas Serverless.
This warrants further investigation.
Payload Version
latest

Unable to recreate. Will reopen if reported again.


Allow 'err' and 'echo' to take in multiline text

The Line type enforces a semantics that disallow having newlines in the input, but personally I find it a valid use case to echo or err text with newlines in it - in which case the defined behavior is to print the text and then append a newline in the end. As long as this 'defined behavior' is sufficiently intuitive / sensible to users, we shouldn't need to restrict the acceptable input - what do you think?

I don't know if we should do this, what would be the preferred way to print a Line after this change? Using lineToText manually would be a bit too verbose.
So I'm not sure we should make this change. Even if we do, please also update the documentation, as Haddock for echo and err still say that they are for printing exactly one line (not true after your changes).

Maybe the problem is with the clunkiness for conversion between Text and Line. I agree lineToText is a bit verbose, but compare with currently converting from Text to Line:
mapM_ err . textToLines $ ...

What about adding eprintf similar to printf but for stderr?

Yeah, I was going to suggest printf s, so I think eprintf would be a good addition

Closing this in favor of #271


Add validations to recurring_expense object

Only get type calls available for this area right now, so no need for validations


fix: add gen2 as suffix in generate-sas for sku_name

What type of PR is this?
Add gen2 as suffix in sku_name so that the resulted VM image def for Gen 1 and Gen 2 will not have name conflicts.
Q: How will it look like after this change?
A: Gen 1: windows-2022-containerd; Gen 2: windows-2022-containerd-gen2.
/kind bug

What this PR does / why we need it:
To fix the bug. Currently the prod. sub has the same "windows-2022-containerd" VM image def for both Gen 1 and Gen 2.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

It seems like that there are some issues by mixing 2019 and 2019-containerd in generate-windows-vhd-configuration.ps1

Yes, you are right. Need to figure out the neatest way to write this, I guess?


feat: ignore piece media status

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds option to VT pieces to allow for media status checks to be ignored

What is the current behavior? (You can also link to an open issue here)
Core assets will show a full status of meaningless issues (eg freeze frames during vignett). These are not useful or relevent to the producer and just add noise

What is the new behavior (if this is a feature change)?
The blueprints can tell core to skip these checks, and always say that the media is online and valid

Other information:
blueprints-integration: https://github.com/nrkno/tv-automation-sofie-blueprints-integration/commit/a7fc8c8254009a14c8e1650675d18c0402395f1b

Status

[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report

Merging #142 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
+ Coverage   64.08%   64.09%   +<.01%
==========================================
  Files         123      123
  Lines        8357     8358       +1
  Branches     1899     1800      -99
==========================================
+ Hits         5356     5357       +1
- Misses       2977     2978       +1
+ Partials       24       23       -1

Impacted Files
Coverage Δ

meteor/lib/mediaObjects.ts
77.86% <100%> (+0.17%)
:arrow_up:

meteor/lib/lib.ts
81.43% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

It appears to treat both of those values the same. Perhaps it should be changed though for clarity, and to be safer?

Well, I think it's not the same, although for the sake of ease of implementation they are for now displayed the same. However, I think we should keep UNKNOWN and OK as separate states, the same way we have OK and UNKNOWN separate for PeripheralDevices. I think by default, the returned code should be UNKNOWN, unless some layer-specific procedure gives a positive confirmation of availability or that a given piece is unavailable.


Homebridge starts with default settings and won't load config file

Running Homebridge 0.3.4 on OS X El Capitan 10.11.6.
I have installed a plugin and created a config.json file in the homebridge folder (same folder where I found config-sample.json) but for some reason it starts with the default settings.
===
[9/25/2016, 1:30:32 PM] Loaded plugin: homebridge-soundtouch
[9/25/2016, 1:30:32 PM] Registering accessory 'homebridge-soundtouch.SoundTouch'
[9/25/2016, 1:30:32 PM] ---
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
[9/25/2016, 1:30:32 PM] Homebridge is running on port 51826.
If I delete the config file, I get no errors.
Home bridge works and I can find it in the home app, but I see no accessory...
Am I missing something here?

The config file I am editing is in: /usr/local/lib/node_modules/homebridge

@geberr you need to edit the one in ~/.homebridge/config.json

yes, of course, thanks, worked!


Constructor for diagonal arrays (like numpy.diag)

System information

TensorFlow version (you are using): 1.14
Are you willing to contribute it (Yes/No): No

At the moment the diagonal matrix constructor tf.linalg.tensor_diag does not support a second argument to specify which diagonal to fill. Something like the second argument in numpy.diag would be great.
This allows to simplify the process of generating powers of super- or sub-diagonal matrices by allowing a user to compute the off-diagonal elements directly and then filling the appropriate diagonal of a new array. Useful also to generate matrix exponentials of super- and sub-diagonal arrays.

@ziofil this functionality was recently added to tf.linalg.diag. Would that suffice?

Yes, that's wonderful thank you!


slow import time

Hi - importing fast_hdbscan seems to be really slow, using the latest PyPi version. It takes ~25s in a new python session.
Here is a repro in google colab.
Of course, numba compile times can be really slow sometimes, I just wanted to check if this is expected, or a possible regression due to a dependency?

I believe it is simply all the numba compile times. You can try turning on numba compilation caching with environment variables and see if that helps any.

Thanks for confirming. I couldn't find a global toggle in the Numba docs to instruct numba to cache everything. But I added cache=True to every jit decorator call, and that brings down import time from 25s to 8s in a new session.
Does it make sense to add caching by default?


fix: bump edge-runtime to 1.56.1

What kind of change does this PR introduce?
Bump edge-runtime to 1.56.1
BREAKING CHANGE: This PR changes the way eszip is bundled. It should remain in draft status until it is determined to be stable enough.
Changes
1.56.1 (2024-08-07)
Performance Improvements

implement lazy load for eszip entities (#343) (3f7863b)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 60.163%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.03%

Covered Lines:
6337

Relevant Lines:
10533

💛  - Coveralls

I've marked the PR as ready to review as we started to roll-out the eszip changes in production. Previously created eszips should continued to work with production.


fix TypeError for firefox 35.0.1

addresses #75

CLA is valid!

Changes Unknown when pulling ca4132c29646c9f0fddeb8237ccc0c3adf8ee39b on firefox into ** on master**.

Changes Unknown when pulling 7c815211227c099bb11e952bd4ee6d21d262e1a6 on firefox into ** on master**.

Changes Unknown when pulling 9b0b2d3527bc37c845b6e7ac71654ba3792c062f on firefox into ** on master**.

Changes Unknown when pulling 9b0b2d3527bc37c845b6e7ac71654ba3792c062f on firefox into ** on master**.


unknown-service-name in Jaeger when localEndpoint.serviceName is missing

We are using Jaeger for collecting trace-information from our services and have just installed the zipkin-plugin for Kong (v1.0.3). However, the serviceName for kong is missing, and instead unknown-service-name is presented, as seen in the screenshot below.

As of my understanding, Jeager takes the serviceName from the localEndpoint, which works fine for the kong.proxy span that can be seen in the screenshot above and in reporter.lua#L42-L54.
#12 resolved the above problem in cases where the the peer.service exists, but I expected that a default value for the serviceName would be set to kong in other cases.
Maybe this is a duplicate of #23 and if that is the case we could continue the discussion in that issue?
Update
This is how Jaeger determines the serviceName from a zipkin span:
to_domain.go#L206-L233

What would you like to see for each of those spans instead?

That is a great question, I hoped that you would have some answers to that :)
But as a minimum it would be great to at least default to kong or if it is configurable though an environment-variable as suggested in #23.
For spans that are children of auth-service in this case I would have expected that they would have the same serviceName as their parent. i.e. auth-service

That is a great question, I hoped that you would have some answers to that :)

I have several answers, none of which I'm totally happy with :stuck_out_tongue:
One problem I think about is how kong is "pretending" to be the service. However from the POV of the client: it is the service. But from the POV of the service, kong is just a client.
It can get a bit complex with how things might evolve: e.g. if within the access phase, we reach out to ldap, then there should be a span related to that ldap query: should the localEndpoint serviceName still be "auth-service" for that case (and I the remoteEndpoint serviceName would be my-ldap-server or similar)

I agree with you that it could get complex in some cases.
Is it too early in the chain to get the consumer.id in the kong.request span? Otherwise could that be a candidate for the service name at the top of the chain until the proxied service name is available?
I would argue that it can be of interest to see the chain from the service point of view, including kong as a client to your service, i.e. setting the serviceName to kong. But from your ldap example it is not a clear answer for how I would expect it to work.

Is it too early in the chain to get the consumer.id in the kong.request span?

Theoretically, yes it's too early. In practice, sometimes it's possible. Despite the span starting before we know where the request is going, we don't currently ship the log to zipkin until after the request has finished, which means we can edit it before it is sent. However not all requests will have a (known) service; and also in the future to support long running requests, we're considering sending the logs before the log phase.

As a jaegar/zipkin user: what do you expect to see for in the service field(s) for those spans? e.g. should some contain "my-kong-proxy"?

I would have expected the first two spans to be "my-kong-proxy", i.e. the servicename for the kong instance. For the spans which have auth-service as parent I would be totally fine with either "my-kong-proxy" or the service name (auth-service)

I would have expected the first two spans to be "my-kong-proxy", i.e. the servicename for the kong instance.

Where does that string "my-kong-proxy" exist in your infrastructure? Should that be a plugin config option? Grab it from the nginx server_name variable? (though that's almost always just "kong", so not so useful)

We are running kong in a kubernetes environment. So from our point of view I would have preferred an environment variable what we can specify from the outside.
Then we can map it in our Deployment as:
env:
 - name: KONG_ZIPKIN_PLUGIN_SERVICE_NAME
     valueFrom:
       fieldRef:
         fieldPath: metadata.name

This is also suggested in #23

Just saw this, would it make sense to start the first one to populate with kong or a config value. Then once kong knows the service name to allow that tag to be the service name through the rest of the proxy. Plenty of possibilities though.

From a jaeger-collector's point of view, logs are full of warning messages due to this issue:

{"level":"warn","ts":1559690330.4296474,"caller":"app/thrift_span_handler.go:136","msg":"Warning while converting zipkin to domain span","error":"cannot find service name in Zipkin span [traceID=f466d9100ea16133, spanID=92f495f6206fcb89]"}

We are running kong in a kubernetes environment. So from our point of view I would have preferred an environment variable what we can specify from the outside.

Wouldn't you want Kong to have different service names depending on which service it is proxying for/to?

IMHO I think it depends if Kong is proxying north/south traffic or if Kong is proxying east/west traffic.
In the first case (i.e. Kong proxying traffic north/south), the suggestion proposed by @goober would be a good solution.

@secat our current setup is a north-south type where only ingress requests are proxied through kong. All in-cluster communication between services are handled directly without going through kong. That is why we think it would solve our issue if the kong instance could be named separately to the service that was actually called.

@james-callahan we are currently deploying three (3) kong gateway on our kubernetes cluster and we would like to discriminate from which Kong proxy the traffic is coming from.
Having the possibility to configure the service name as poposed in @goober comment would be much appreciated.


Broken Search in head

on the master #ccf73a4750d5afa58272589ed6dc637cd3412c9c  when trying to search

Fixed in #1399. Nice catch! Thanks 👍


Question: build this with webpack/es6

Hi, i use webpack as build system. But unable to build this plugin
My code
import jQuery from 'jquery'
import Inputmask from 'jquery.inputmask'

let im = new Inputmask(maskOpts)
im.mask(inputElementRef)

But always fail on client-side with error:
"this.each is not a function"
$.fn.inputmask.$.fn.inputmask   @   jquery.inputmask.js:52
Im not familiar with AMD loader. it posible build this with webpack?

@Bogdaan ,
I never heart of webpack before, ...
I guess it is also using some mechanism like amd or commonjs.  I guess it is missing the dependencyLib for jquery.
Do you need to specify some config before been able to pack (bundle) ?  Have a look at the readme for using the plugin with a module loader.

@RobinHerbots @Bogdaan
Import in your app like so:
import InputMask from 'inputmask';

to make the module available by that name you have to alias it and the dep lib
webpack config (using the jqlite dep lib, swap this out for jquery if you use that instead):
{
  // ... your config +
  resolve: {
    alias: {
      'inputmask.dependencyLib': path.join(__dirname, 'node_modules/jquery.inputmask/extra/dependencyLibs/inputmask.dependencyLib.jqlite.js'),
      'inputmask': path.join(__dirname, 'node_modules/jquery.inputmask/dist/inputmask/inputmask.js')
    }
  }
}

@nathanmarks thanks, i'm load wrong module in import directive (alias works)

@Bogdaan I'm actually getting the same error now that I'm trying it.
TypeError: $.each is not a function
    at Object.Inputmask.mask (http://localhost:8080/app.bundle.js:94001:60)
    at link (http://localhost:8080/app.bundle.js:92710:18)
    at invokeLinkFn (http://localhost:8080/app.bundle.js:16967:10)

Did you figure it out?

@RobinHerbots I haven't dug into the code yet but $.each is not a valid jqLite method and I don't see it in the dependencylib module.

@Bogdaan @RobinHerbots I ended up just using the vanilla lib. The jqLite lib needs a .each method

@nathanmarks ,@Bogdaan,
The jqlite dependencylib is not complete!!  I was expecting some PR from @mfeingold, with an implementaion for jqlite.  . See #517.

@nathanmarks yes, jqlite os not complate, i use jquery in dependencyLib

@Bogdaan , @nathanmarks ,
jqlite dependencylib implemented and working ;-)  Have a try

Hi!
I have a problem with es6 and jquery.inputmask: inputmask added one more jquery in project. Why?
include:
require('jquery.inputmask');
webpack config:
'jquery.inputmask': path.join(__dirname, 'node_modules/jquery.inputmask/dist/jquery.inputmask.bundle.js')

@whooehoo ,
The phone extensions which is included in the jquery.inputmask.bundle.js requires jquery.
Include only the extensions you need.

@RobinHerbots Thx for the answer, but my problem not solved 😕
I need jquery.inputmask, but jquery.inputmask.js also added one more jquery(i think line 9 in this file).
Should I create own jquery.inputmask.js or ..?
include:
require('inputmask');
require('jquery.inputmask');

webpack config:
'inputmask': path.join(__dirname, 'node_modules/jquery.inputmask/dist/inputmask/inputmask.js'),
'inputmask.dependencyLib': path.join(__dirname, 'node_modules/jquery.inputmask/extra/dependencyLibs/inputmask.dependencyLib.js')

@whooehoo ,
You don't need jquery.inputmask.js It is only a jquery plugin wrapper.  Inputmask.js is enough todo all.

@whooehoo a month late but if you are still trying to get this jquery.inputmask to work with webpack here's a 'basic' project that accomplishes that https://gist.github.com/ksrb/47f9124c2f5be13f39dc645405a12608.

@ksrb Thanks a ton! Works like a charm!

@ksrb - Thank you so much for posting that example!  I would have been a very long time figuring that one out!

@Vaccano happy to hear it works for you too I've made a small update to the gist that's relevant if you're using extensions in the index.js file:
import 'inputmask.numeric.extension';

It's work for me:
import $ from 'jquery';
import 'imports?define=>false!jquery-mask-plugin/dist/jquery.mask.min';

@ksrb ,
Thx for your support on this

This way of doing it breaks SentryWebpackPlugin sourcemap file names hashes.

@versedi ,
Is this still actual?  Which version do you use?

@RobinHerbots actually I resolved it by using slightly different settings in webpack.conf.js in my Symfony/Encore based on project.
Following works and doesn't break Sentry sourcemap file name hashes:
config.resolve.alias = {
    'inputmask.dependencyLib': path.resolve(
        __dirname,
        'node_modules/jquery.inputmask/dist/inputmask/inputmask.dependencyLib',
    ),
    // Allows use of jquery input mask via jquery chaining api/$('selector').inputmask(...)
    'jquery.inputmask': path.resolve(__dirname, 'node_modules/jquery.inputmask/dist/inputmask/jquery.inputmask'),
};


logging not working with xunit

Hi Bas. I haven't had a chance to look into this too much but it looks like logging isn’t working as it should. I suspect this might be unique to xunit. I'm using the latest xunit packages and RestAssured.Net v 2.8.1.

Thank you for reporting, @codybower3. I’ll have a look at this soon. I’ve not done a lot of testing with xUnit as I didn’t suspect it mattered that much, but I might just be wrong here.
Will report back later this week.

Just ran a quick test and I can reproduce this on my own machine.

Hi @codybower3, it seems like xUnit does not print console output by default (Log() simply calls Console.WriteLine()).
To solve this within RestAssured.Net, it looks like I need to create some custom logging functionality specific for xUnit, but that requires adding xUnit as a dependency to the project, and I don't want to do that.
I'll see if I can create a working example that does not require me to do this, and then add that to the documentation for example.

Hey @codybower3, here's one way to resolve this. I was going to say that you could put this in a before / after hook, but xUnit also doesn't have those. I suspect (but haven't tested) that you could put the inner class etc. in a base class for your tests to avoid having to do this for every test class you've got:
public class IssueTest
{
    private readonly ITestOutputHelper output;
    public IssueTest(ITestOutputHelper output)
    {
        this.output = output;
    }

    public class ConsoleWriter : StringWriter
    {
        private ITestOutputHelper output;

        public ConsoleWriter(ITestOutputHelper output)
        {
            this.output = output;
        }

        public override void WriteLine(string? m)
        {
            output.WriteLine(m);
        }
    }

    [Fact]
    public void TestLogging()
    {
        Console.SetOut(new ConsoleWriter(output));

        Given()
            .Log(RequestLogLevel.All)
        .When()
            .Get("https://jsonplaceholder.typicode.com/users/1")
        .Then()
            .Log(ResponseLogLevel.All)
        .And()
            .StatusCode(200)
            .Body("$.name", NHamcrest.Is.EqualTo("Leanne Graham"));
    }
}

Hope that helps! If so I'll add this to the docs, too.

Thanks @basdijkstra. This is helpful! Really enjoying RestAssured.Net :)

Happy to hear that. I’ll add this example to the docs and close this issue after that has been done. Feel free to reopen it or open another one if there’s something else you feel should be done.
Happy to hear you’re enjoying the library!

Added to the docs: https://github.com/basdijkstra/rest-assured-net/wiki/Usage-Guide#logging-when-using-xunit


PyLance stops functioning when a (virtual) workspace folder is added with any URI that has a path ''

Environment data

Language Server version: 2022.6.30 (pyright 212d1465)
Windows 11 , X64
Python 3.9.13

Code Snippet
"""MicroPython blink"""
import time
import machine

print("Hello World")
p2 = machine.Pin(2,machine.Pin.OUT)
while True:
    p2.on()
    time.sleep(0.5)
    p2.off()
    time.sleep(0.5)

Repro Steps
The complete repro steps, logs , and screen recording are located in a repro repo
https://github.com/Josverl/stubs-esp-test/blob/main/repro.md
Expected behavior
one or more of the below:

not to blindly assume that the path section of an URI is available on the local filesystem
not to scan the entire local filesystem starting from the root
avoid to try to scan 'remote workspace' folders that do not use filesystem paths
skip 'workspace folders' that use an uri, or only where pylance does not understand the protocol  or scheme  such as :

"uri": "memfs:/"
"uri": "serial://com6"

ref: https://github.com/Microsoft/vscode-uri#vscode-uri
sample.code-workspace
{
{
	"folders": [
		{
			"name": "MemFS - Sample",
			"uri": "memfs:/"
		},
		{
			"path": "project_esp8266"
		},
		{
			"path": ".",
			"name": "root folder"
		},
		{
			"name": "serial:/COM6",
			"uri": "serial://com6"
		}
	],
	"settings": {
		"python.analysis.logLevel": "Trace",
	}
}
}

Actual behavior
As soon as a virtual filesystem is part of the workspace, Pylance will attempt to scan the local rootdrive (C:\ or '/' ) where the path is relative to the rootpath of the virtual filesystem. I assume URI.path  is used.

as the path happens to be / --> C:\, Pylance tries to scan the entire local file system , and fails.
this in turn also stops pylance providing services on all other python code in the workspace.

Logs
After that essentially PyLance stops functiong for either the local  or the virtual filesystem.
this is shown in the Pylance logs by looking for the tag : Search paths for \
[Info  - 12:39:18] (26416) Pylance language server 2022.6.30 (pyright 212d1465) starting
[Info  - 12:39:19] (26416) Server root directory: c:\Users\josverl\.vscode\extensions\ms-python.vscode-pylance-2022.6.30\dist
Notebook support: Legacy
[Info  - 12:39:20] (26416) Background analysis(1) root directory: c:\Users\josverl\.vscode\extensions\ms-python.vscode-pylance-2022.6.30\dist
[Info  - 12:39:20] (26416) Background analysis(1) started
[Info  - 12:39:20] (26416) Background analysis(3) root directory: c:\Users\josverl\.vscode\extensions\ms-python.vscode-pylance-2022.6.30\dist
[Info  - 12:39:20] (26416) Background analysis(3) started
[Info  - 12:39:21] (26416) Background analysis(2) root directory: c:\Users\josverl\.vscode\extensions\ms-python.vscode-pylance-2022.6.30\dist
[Info  - 12:39:21] (26416) Background analysis(2) started
[Info  - 12:39:21] (26416) Background analysis(4) root directory: c:\Users\josverl\.vscode\extensions\ms-python.vscode-pylance-2022.6.30\dist
[Info  - 12:39:21] (26416) Background analysis(4) started
[Info  - 12:39:21] (26416) No configuration file found.
[Info  - 12:39:22] (26416) No pyproject.toml file found.
[Info  - 12:39:22] (26416) Setting pythonPath for service "MemFS - Sample": "C:\Users\josverl\AppData\Local\Microsoft\WindowsApps\python3.9.exe"
[Warn  - 12:39:23] (26416) stubPath \typings is not a valid directory.
[Info  - 12:39:23] (26416) Assuming Python version 3.9
[Info  - 12:39:23] (26416) Assuming Python platform Windows
[Info  - 12:39:23] (26416) Search paths for \
[Info  - 12:39:24] (26416)   c:\Users\josverl\.vscode\extensions\ms-python.vscode-pylance-2022.6.30\dist\typeshed-fallback\stdlib
[Info  - 12:39:24] (26416)   \
[Info  - 12:39:24] (26416)   \typings
....
[Info  - 12:39:24] (26416) Adding fs watcher for directories:
 \
[Info  - 12:39:24] (26416) Searching for source files
[Info  - 12:39:24] (26416) Auto-excluding \$Recycle.Bin\S-1-12-1-3020494159-1235939459-3438115750-967420959\$REJ16W7.venv
[Info  - 12:39:24] (26416) Auto-excluding \$Recycle.Bin\S-1-12-1-3020494159-1235939459-3438115750-967420959\$RGXEZSB.venv
...
[Warn  - 12:39:24] (26416) Skipping broken link "\$Recycle.Bin\S-1-5-18"
[Warn  - 12:39:24] (26416) Skipping broken link "\PerfLogs"
[Warn  - 12:39:24] (26416) Skipping broken link "\Program Files\WindowsApps"
[Warn  - 12:39:25] (26416) Skipping broken link "\ProgramData\Microsoft\Crypto\PCPKSP\WindowsAIK"
....

[Error - 12:47:03] (29996) Enumeration of workspace source files is taking longer than 10 seconds.
This may be because:
* You have opened your home directory or entire hard drive as a workspace
* Your workspace contains a very large number of directories and files
* Your workspace contains a symlink to a directory with many files
* Your workspace is remote, and file enumeration is slow
To reduce this time, open a workspace directory with fewer files or add a pyrightconfig.json configuration file with an "exclude" section to exclude subdirectories from your workspace. For more details, refer to https://github.com/microsoft/pyright/blob/

Full log:
MemFS virtual provider :  https://github.com/Josverl/stubs-esp-test/blob/main/Memfs_workspace.log
references
https://github.com/microsoft/pylance-release/discussions/2696

we should disable all fs access for virtual workspace. we can't use vscode file provider api or new LSP file system api proposal for now. that require async file access which we currently doesn't support.

This issue has been fixed in version 2022.7.41, which we've just released. You can find the changelog here: CHANGELOG.md

confirmed resolved in Pylance preview 2022.7.41


Client.close() doesn't work?

My backend code:
var server = BinaryServer({port: 9000, chunkSize: 4096});

server.on('connection', function(client){
      client.close();
      client.on('close', function(){
        console.log({"client": client});
      });
});

First time when client connect server prints:

When client refresh, server prints:

Every next time client refresh, console log is fired one more time.
Any idea why?

Same problem here... any idea or solution?
Thanks!


.gitpod configuration

closes #103
This is a basic configuration for GitPod.
At the moment there are 2 details I'd like to the community to review, for now I'm marking this as a draft until these are solved.

In #122 I suggested the use of NomicFoundation.hardhat-solidity for syntax highlighting. But they are not gonna support GitPod for a while so I chose to go with JuanBlanco.solidity for now. Not sure if the readme should change back.

If the env variables MNEMONIC and INFURA_API_KEY are properly setup in the user's GitPod the init task will run smoothly but otherwise it will fail.
This still felt awkward to me for the new user experience so I added the option to pass a DOTENV_CONFIG_PATH in a similar way as dotenv does it.

@paulrberg let me know if any of these feel ok with you.

The result can be viewed here.
https://gitpod.io/#https://github.com/paulrberg/hardhat-template/pull/129

Hey @Janther, thanks for your contribution.

This is a basic configuration for GitPod.

At the time when I opened issue https://github.com/paulrberg/hardhat-template/issues/103, I didn't know about the existence of GitHub Codespaces. What do you think about using that instead of GitPod?
This is, after all, a GitHub template hosted on GitHub. All else being equal, GitHub CodeSpaces should be easier to use and involve less overhead - check out the . shortcut.

But they are not gonna support GitPod for a while so I chose to go with JuanBlanco.solidity for now. Not sure if the readme should change back.

Yeah we definitely should update the README to reflect this, though we can make this change in another PR.

This still felt awkward to me for the new user experience so I added the option to pass a DOTENV_CONFIG_PATH

I like this - it's a nicer, cleaner solution than the one we've discussed in https://github.com/paulrberg/hardhat-template/pull/116.

Ok regarding Github Codespaces I had a quick view. and these are my concerns:

There's no terminal (at least in the free version). For the paid version you need an organization or enterprise accounts so I haven't been able to test there.
(I feel this might be important)
The extension library is different from Gitpod's we will need to use tintinweb.vscode-solidity-language for highlighting and there's no live server extension for the coverage report.
(I don't feel this is that important but adds some noice)
extensions are not enforced but can be recommended by adding a .vscode/extensions.json file.
(I don't feel this is important)

{
  "recommendations": [
    "esbenp.prettier-vscode",
    "tintinweb.vscode-solidity-language"
  ]
}

Also the overhead for having Gitpod would be the .gitpod.yml and .vscode/settings.json files.
Using Github Codespaces would be .vscode/extensions.json and .vscode/settings.json files.
We could easily have both setups but there will be a small warning in Gitpod:

We can change it to hardhat-solidity once they are ready since the want to support both environments.

on second thought if tintinweb.vscode-solidity-language were in the recomended extensions array, it will also be suggested for VScode desktop.

Thanks for the thorough analysis, @Janther. I didn't know that Codespaces doesn't have a terminal (that sucks!). When you couple the fact that we can't even use Juan Franco's extension, I think that it just makes more sense to stick with GitPod for the time being.
However, it would be a good addition to include the .vscode/extensions.json file. Not for the GitPod integration, but for VSCode Desktop.

Merged. Thanks a lot (again) for your contribution @Janther.


The JSON-RPC must provide the block a deploy was included in when queried for a deploy

The JSON-RPC must provide the block a deploy was included in when queried for a deploy.  It is likely that storage will have to create a reverse-index for this.

SME @EdHastingsCasperLabs @xcthulhu @Fraser999


Invalid positioning when pushing item with sub-items

First, thanks for all your effort you put into this library.
After upgrading from 4.1.0 to the latest 5.1.4, I noticed that the context menu gets positioned incorrectly when using push to add an item that has a submenu. It seems as if items in the sub menu are counted and used for height calculation of the main menu.
The issue can be reproduced in this fiddle when opening the menu for the second time. Notice the change on line 66: https://jsfiddle.net/7Lgh38af/4/
I will be glad to provide any support, but my own efforts of debugging this issue quickly went dry as I'm not exactly sure what the intended way of counting the items (that are not in any submenu?) are.
The only thing I noticed is that you may have miss-translated the filter condition in getMenuEntriesLength if I'm not mistaken (see https://github.com/jonataswalker/ol-contextmenu/blob/4.1.0/src/internal.js#L84 vs. https://github.com/jonataswalker/ol-contextmenu/blob/master/src/main.ts#L317).

Thank you for fixing this, works perfectly now.

@iStefo  Thanks for your feedback.


logging of block execution

currently while executing a block, an echo of a markdown output is shown (can be turned off with -d:nimibQuiet). this is a residual of an earlier method of generating a markdown file that was based on saving output to a .md file.
This should be removed and some logging (possibly customizable) system should be put in place.

logging has somewhat improved with recent refactoring #61 but currently logging is very basic, in black and white and not customizable.


[Decrecated] Anoncred/new new new way

Overview

Fixes ATL-xxxx
Checklist
My PR contains...

[ ] No code changes (changes to documentation, CI, metadata, etc.)
[ ] Bug fixes (non-breaking change which fixes an issue)
[ ] Improvements (misc. changes to existing features)
[ ] Features (non-breaking change which adds functionality)

My changes...

[ ] are breaking changes
[ ] are not breaking changes
[ ] If yes to above: I have updated the documentation accordingly

Documentation

[ ] My changes do not require a change to the project documentation
[ ] My changes require a change to the project documentation
[ ] If yes to above: I have updated the documentation accordingly

Tests

[ ] My changes can not or do not need to be tested
[ ] My changes can and should be tested by unit and/or integration tests
[ ] If yes to above: I have added tests to cover my changes
[ ] If yes to above: I have taken care to cover edge cases in my tests

Deprecated in favor of https://github.com/hyperledger-labs/open-enterprise-agent/pull/820


Docker Compose

Does anyone successfully ran the whole stack with docker compose ?
I have hard time containerizing it ...

anyne facing the same issue??

Does anyone successfully ran the whole stack with docker compose ? I have hard time containerizing it ...

@nzahariev - did you get any further?
I think with the number of manual tasks at the beginning of the script is what's causing it to fail. Even if you manually populate the table(s) with the correct data, we can't be sure of any adverse affects of not running the manual commands on startup (i.e. missed logic steps)

Unfortunatelly I don't have any update on the Docker setup. Any suggestions and recommendations are welcome. :)


documentation about bicep reference() does not document reference()

The documentation about reference() does not actually document what reference() does or how to use it.
Instead it says that "typically you don't need it".
I would be interested in

an example, how it is actually used (ideally once with using resource ... existing and then how to achieve something similar with reference()
an actual documentation on what the output provides (e.g. .name)
limitations when to use it (e.g. my understanding is, that .name can be used anywhere, but other properties cannot, because they are only known at "runtime" not at "static time")

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

ID: e01a01e1-5ca6-1816-768b-c1c5b2c4168f
Version Independent ID: 87abfc75-86e9-5606-ef04-b3952b01a6a8
Content: Bicep functions - resources - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/bicep-functions-resource.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @mumian
Microsoft Alias: jgao

@kopp
Thanks for your feedback! We will investigate and update as appropriate.

@kopp - Thank you for your comments.  The article will be updated later today.
#please-close

@mumian , thanks a lot for taking this up.  Unfortunately, I still do not really get, what the function does/returns.  In the documentation of the other functions, a subsection "Return Value" clearly describes, what to expect.  For reference() I now still do not get what "object representing a resource's runtime state" should mean.  What fields can I expect in this object?  You mention "compile time" properties -- what else is a compile time property than name?  What are the "dynamic" properties?
I also do not get what "The reference function can only be used within the properties object of a resource" should mean.  In the example, reference is used outside of the properties object of a resource, but rather in an output statement.
In the example, I would normally use storageAccount.properties instead of reference(storageAccountName), right?  Can you provide an example, where it actually does make sense to use reference()?
#please-reopen
#please-open

@kopp. You are right, you want to use "storageAccount.properties" instead of "reference('stroageAccount'). I didn't include a return value section because different resource types have different sets of properties, and the return values are very long. If you use symbolic name in Visual Studio code, you will get a list of properties prompted.  For example, type "output foo object = storageAccount.properties." in Visual Studio Code.  Note there is a period at the end. You will get the list of properties.  One of them is "creationTime". You can retrieve the value by using the reference function: "output creationTime string = reference('storageAccount').creationTime".  I hope it helps.


[backport] Fix thrust related build issue with CUDA 11.6

Backport of #6346 by @anaruse

/test mini


How do i become a google 15 years old developer, or is a guy like not qualified

Task Description

HI there!
This is not the best place to ask about how to get a job at Google. I recommend checking out https://careers.google.com/ to learn about opportunities at Google and qualifications needed for various roles.
Best of luck!


Not more able to drag and drop items

When drag dropping items from the beginning of the "bag" to the end of the "bag", this locks the items. It seems that the item is lower than the bag room and then not more selectible.

This issue is fixed in release 1.0.2


I reproduced the code with an accuracy of only 54

The original code version is too old, so I reproduced the code to the new mmrotate version. I loaded the weights you provided and it went fine, the result was an accuracy of 68 on the validation set and 54 on the test set.
I don't know where the problem is, the weight file is loaded smoothly, I have also checked the configuration file parameters, but I just don't know what went wrong.If there is a problem with my reproduction, the final result should be 0, and it should not be as high as 54
dataset_type = 'DOTADataset'
data_root = '/data/facias/DOTA/'
img_norm_cfg = dict(
    mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)

angle_version = 'le90'
train_pipeline = [
    dict(type='LoadImageFromFile'),
    dict(type='LoadAnnotations', with_bbox=True),
    dict(type='RResize', img_scale=(1024, 1024)),
    dict(
        type='RRandomFlip',
        flip_ratio=[0.25, 0.25, 0.25],
        direction=['horizontal', 'vertical', 'diagonal'],
        version=angle_version),
    dict(type='Normalize', **img_norm_cfg),
    dict(type='Pad', size_divisor=32),
    dict(type='DefaultFormatBundle'),
    dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
]

test_pipeline = [
    dict(type='LoadImageFromFile'),
    dict(
        type='MultiScaleFlipAug',
        img_scale=(1024, 1024),
        flip=False,
        transforms=[
            dict(type='RResize', img_scale=(1024, 1024)),
            dict(type='RRandomFlip'),
            dict(type='Normalize', **img_norm_cfg),
            dict(type='Pad', size_divisor=32),
            dict(type='DefaultFormatBundle'),
            dict(type='Collect', keys=['img'])
        ])
]

data = dict(
    samples_per_gpu=2,
    workers_per_gpu=2,
    train=dict(
        type=dataset_type,
        ann_file=data_root + 'train_split/labelTXt/',
        img_prefix=data_root + 'train_split/images/',
        pipeline=train_pipeline),
    val=dict(
        type=dataset_type,
        ann_file=data_root + 'val_split/labelTxt/',
        img_prefix=data_root + 'val_split/images/',
        pipeline=test_pipeline),
    test=dict(
        type=dataset_type,
        test_mode=True,   #若test数据集没有标注，则设为True
        ann_file=data_root + 'test_split/images/',
        img_prefix=data_root + 'test_split/images/',
        pipeline=test_pipeline))

model = dict(
    type='OrientedRCNN',
    backbone=dict(
        type='ViT_Win_RVSA_V3_WSZ7',
        img_size=1024,
        embed_dim=768,
        depth=12,
        num_heads=12,
        mlp_ratio=4,
        qkv_bias=True,
        drop_rate=0.,
        attn_drop_rate=0.,
        drop_path_rate=0.15,
        use_abs_pos_emb=True),
    neck=dict(
        type='FPN',
        in_channels=[768, 768, 768, 768],
        out_channels=256,
        num_outs=5),
    rpn_head=dict(
        type='OrientedRPNHead',
        in_channels=256,
        feat_channels=256,
        version=angle_version,
        anchor_generator=dict(
            type='AnchorGenerator',
            scales=[8],
            ratios=[0.5, 1.0, 2.0],
            strides=[4, 8, 16, 32, 64]),
        bbox_coder=dict(
            type='MidpointOffsetCoder',
            angle_range=angle_version,
            target_means=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
            target_stds=[1.0, 1.0, 1.0, 1.0, 0.5, 0.5]),
        loss_cls=dict(
            type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0),
        loss_bbox=dict(
            type='SmoothL1Loss', beta=0.1111111111111111, loss_weight=1.0)),
    roi_head=dict(
        type='OrientedStandardRoIHead',
        bbox_roi_extractor=dict(
            type='RotatedSingleRoIExtractor',
            roi_layer=dict(
                type='RoIAlignRotated',
                out_size=7,
                sample_num=2,
                clockwise=True),
            out_channels=256,
            featmap_strides=[4, 8, 16, 32]),
        bbox_head=dict(
            type='RotatedShared2FCBBoxHead',
            in_channels=256,
            fc_out_channels=1024,
            roi_feat_size=7,
            num_classes=15,
            bbox_coder=dict(
                type='DeltaXYWHAOBBoxCoder',
                angle_range=angle_version,
                norm_factor=None,
                edge_swap=True,
                proj_xy=True,
                target_means=(.0, .0, .0, .0, .0),
                target_stds=(0.1, 0.1, 0.2, 0.2, 0.1)),
            reg_class_agnostic=True,
            loss_cls=dict(
                type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0),
            loss_bbox=dict(type='SmoothL1Loss', beta=1.0, loss_weight=1.0))),
    train_cfg=dict(
        rpn=dict(
            assigner=dict(
                type='MaxIoUAssigner',
                pos_iou_thr=0.7,
                neg_iou_thr=0.3,
                min_pos_iou=0.3,
                match_low_quality=True,
                ignore_iof_thr=-1),
            sampler=dict(
                type='RandomSampler',
                num=256,
                pos_fraction=0.5,
                neg_pos_ub=-1,
                add_gt_as_proposals=False),
            allowed_border=0,
            pos_weight=-1,
            debug=False),
        rpn_proposal=dict(
            nms_pre=2000,
            max_per_img=2000,
            nms=dict(type='nms', iou_threshold=0.8),
            min_bbox_size=0),
        rcnn=dict(
            assigner=dict(
                type='MaxIoUAssigner',
                pos_iou_thr=0.5,
                neg_iou_thr=0.5,
                min_pos_iou=0.5,
                match_low_quality=False,
                iou_calculator=dict(type='RBboxOverlaps2D'),
                ignore_iof_thr=-1),
            sampler=dict(
                type='RRandomSampler',
                num=512,
                pos_fraction=0.25,
                neg_pos_ub=-1,
                add_gt_as_proposals=True),
            pos_weight=-1,
            debug=False)),
    test_cfg=dict(
        rpn=dict(
            nms_pre=2000,
            max_per_img=2000,
            nms=dict(type='nms', iou_threshold=0.8),
            min_bbox_size=0),
        rcnn=dict(
            nms_pre=2000,
            min_bbox_size=0,
            score_thr=0.05,
            nms=dict(iou_thr=0.1),
            max_per_img=2000)))
# evaluation
evaluation = dict(interval=1, metric='mAP')
# optimizer
optimizer = dict(type='SGD', lr=0.0025, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=dict(max_norm=35, norm_type=2))
# learning policy
lr_config = dict(
    policy='step',
    warmup='linear',
    warmup_iters=500,
    warmup_ratio=1.0 / 3,
    step=[8, 11])
runner = dict(type='EpochBasedRunner', max_epochs=12)
checkpoint_config = dict(interval=1)

# yapf:disable
log_config = dict(
    interval=50,
    hooks=[
        dict(type='TextLoggerHook'),
        # dict(type='TensorboardLoggerHook')
    ])
# yapf:enable

dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = None
resume_from = None
workflow = [('train', 1)]

# disable opencv multithreading to avoid system being overloaded
opencv_num_threads = 0
# set multi-process start method as `fork` to speed up the training
mp_start_method = 'fork'

@facias914 It is suggested to use adamw for training vision transformer networks. The detailed settings can be seen in our configs.

@facias914 I mean hyper parameters, such as optimizer, scheduler, and so on, please refer to this config: https://github.com/ViTAE-Transformer/Remote-Sensing-RVSA/blob/main/Object Detection/configs/obb/oriented_rcnn/vit_base_win/faster_rcnn_orpn_our_rsp_vit-base-win-rvsa_v3_wsz7_fpn_1x_dota10_lr1e-4_ldr75_dpr15.py

I know what you mean. But I just use the checkpoint file to inference, not to train.

@facias914 which checkpoint you use? Did you use this: https://1drv.ms/u/s!AimBgYV7JjTlgVJM4Znng50US8KD?e=o4MRMQ ?

@facias914 The DOTA-V1.0 needs to be clipped with BBoxTookit, then the pkl can be obtained.

@facias914 The DOTA dataset needs to be clipped with BBoxTookit, then the pkl can be obtained.

Thank you!

@facias914 which checkpoint you use? Did you use this: https://1drv.ms/u/s!AimBgYV7JjTlgVJM4Znng50US8KD?e=o4MRMQ ?

Yes, I used this one

So the inference is conducted on unclipped images?

@facias914 which checkpoint you use? Did you use this: https://1drv.ms/u/s!AimBgYV7JjTlgVJM4Znng50US8KD?e=o4MRMQ ?

Yes, I used this one

So the inference is conducted on unclipped images?

No, I use clipped val images and clipped test images with size=1024 and gap = 200, obtaining mAP=68 and 54 respectively.

@facias914 OK, in fact, we didn't conduct the local validation. We directly train the model on the merged train+val set, and submit the results of testing set to the evaluation website. You can implement the same evaluation.

@facias914 OK, in fact, we didn't conduct the local validation. We directly train the model on the merged train+val set, and submit the results of testing set to the evaluation website. You can implement the same evaluation. The testing set also needs to be clipped with BBoxToolkit.

Thank You！I get the mAP87 in val dataset using the old mmrotate version. By the way , I get the test dataset pkl file , but I don't find the code to convert the pkl to txt. I used the pkl2txt code writen by myself , but failed to get the result in the DOTA website . Can you tell me where the pkl2txt file is?

@facias914 Shouldn't obbdetection automatically convert the pkl? (mmrotate is built based on obbdetection)

@facias914 Shouldn't obbdetection automatically convert the pkl? (mmrotate is built based on obbdetection) https://mmrotate.readthedocs.io/en/latest/get_started.html#test-a-model

Yes, I used obbdetection built from https://github.com/jbwang1997/OBBDetection, and I have got the pkl file. But the DOTA website requests txt file. So the pkl2txt code is what I need now.

@facias914 For DOTA-V1.0, using --format-only and OBBDetection will auto produce the required format, please refer to our readme.

@facias914 For DOTA-V1.0, using --format-only and OBBDetection will auto produce the required format, please refer to our readme.

Thank you very much for your reply. I also ran to 78.74 in the test set. Next, I will investigate why there is a big gap between the reproducible code and the official code.

Hi,
May I ask which config file in Bboxtoolkit you use to split DOTA dataset? is it ss_trainval.json?
{
"nproc": 20,
"load_type": "dota",
"img_dirs": [
"data/DOTA1_0/train/images/",
"data/DOTA1_0/val/images/"
],
"ann_dirs": [
"data/DOTA1_0/train/labelTxt/",
"data/DOTA1_0/val/labelTxt/"
],
"classes": null,
"prior_annfile": null,
"merge_type": "addition",
"sizes": [
1024
],
"gaps": [
200
],
"rates": [
1.0
],
"img_rate_thr": 0.6,
"iof_thr": 0.7,
"no_padding": false,
"padding_value": [
104, 116, 124
],
"filter_empty": true,
"save_dir": "data/split_ss_dota1_0/trainval/",
"save_ext": ".png"
}

@facias914 For DOTA-V1.0, using --format-only and OBBDetection will auto produce the required format, please refer to our readme.

Thank you very much for your reply. I also ran to 78.74 in the test set. Next, I will investigate why there is a big gap between the reproducible code and the official code.

@facias914
Hello, I also encountered the same issue. I used the official ViTAE-B + RVSA model to infer the test dataset, but the mAP I obtained is only 0.394. I would like to ask for your advice on how you achieved a mAP similar to the authors'. Could you provide some help? I have shared some of my configuration information in this issue ：https://github.com/ViTAE-Transformer/Remote-Sensing-RVSA/issues/39#issue-2417829111.


Add option to skip compression

I'm not really a fan of magic res properties. Can't you implement this using a custom filter?

ya i could. i'm just running into streaming problems with heroku and trying res.flush() first so i might not even need this.

I believe it could be done in custom middleware. Or include compression middleware only in routes that need it.
Extending res is a bad idea because of name collisions.
Also, it's kinda similar to https://github.com/strongloop/express/pull/2422

I'm closing your PR, with the official answer of the following ;)
app.use(compression({filter: shouldCompress}))

function shouldCompress(req, res) {
  if (res.compress === false) {
    // don't compress responses with this magic flag
    return false
  }

  // fallback to standard filter function
  return compression.filter(req, res)
}

ya i was going to close it anyways. all i needed was the flush option. hahaha

:wc: :toilet:


Line 118 MPU9250.cpp

Hi.
Line 118  "//calib_mag();  // Can't load this function here , strange problem?"
I think it is necessary to run in the function calib_mag():
WriteReg(AK8963_CNTL1, 0x00); // set AK8963 to Power Down
delay(50);
WriteReg(AK8963_CNTL1, 0x0F); // set AK8963 to FUSE ROM access
...and
WriteReg(AK8963_CNTL1, 0x00); // set AK8963 to Power Down
delay(50);
// Set magnetometer data resolution and sample ODR
WriteReg(AK8963_CNTL1, MFS_16BITS << 4 | M_8HZ);
delay(10);

Hi @radioelf . I'm not sure what you're saying here (specifically where should these snippets go?). Can you please send your version of MPU9250.cpp over so I can see the differences?

Hi.
My code:
void MPU9250::calib_mag(){
uint8_t response[3];
float data;
int i;
// Choose either 14-bit or 16-bit magnetometer resolution
//uint8_t MFS_14BITS = 0; 				                    // 0.6 mG per LSB
uint8_t MFS_16BITS =1;  				                    // 0.15 mG per LSB
// 2 for 8 Hz, 6 for 100 Hz continuous magnetometer data read
uint8_t M_8HZ = 0x02;   				                    // 8 Hz update
//uint8_t M_100HZ = 0x06;  				            // 100 Hz continuous magnetometer
/* get the magnetometer calibration */

WriteReg(MPUREG_I2C_SLV0_ADDR,AK8963_I2C_ADDR|READ_FLAG); 	// Set the I2C slave    addres of AK8963 and set for read.
WriteReg(MPUREG_I2C_SLV0_REG, AK8963_ASAX); 				// I2C slave 0 register address from where to begin data transfer
WriteReg(MPUREG_I2C_SLV0_CTRL, 0x83); 						// Read 3 bytes from the magnetometer

//WriteReg(MPUREG_I2C_SLV0_CTRL, 0x81);    					// Enable I2C and set bytes
delayMicroseconds(10000);
//response[0]=WriteReg(MPUREG_EXT_SENS_DATA_01|READ_FLAG, 0x00); //Read I2C

WriteReg(AK8963_CNTL1, 0x00);                               // set AK8963 to Power Down
delay(50);                                                  // long wait between AK8963 mode changes
WriteReg(AK8963_CNTL1, 0x0F);                               // set AK8963 to FUSE ROM access
delay(50);                                                  // long wait between AK8963 mode changes

ReadRegs(MPUREG_EXT_SENS_DATA_00,response,3);
//response=WriteReg(MPUREG_I2C_SLV0_DO, 0x00);    			// Read I2C
for(i = 0; i < 3; i++) {
    data=response[i];
    Magnetometer_ASA[i] = ((data-128)/256+1)*Magnetometer_Sensitivity_Scale_Factor;
}
WriteReg(AK8963_CNTL1, 0x00); // set AK8963 to Power Down
delay(50);
// Configure the magnetometer for continuous read and highest resolution.
// Set bit 4 to 1 (0) to enable 16 (14) bit resolution in CNTL
// register, and enable continuous mode data acquisition (bits [3:0]),
// 0010 for 8 Hz and 0110 for 100 Hz sample rates.
WriteReg(AK8963_CNTL1, MFS_16BITS << 4 | M_8HZ);            // Set magnetometer data resolution and sample ODR
delay(10);

}

I've added this in now.


friday lesson hometask

forgot to save hometask from friday lesson to readme file =(

Don't worry, will publish asap

README has been updated.


Add basic bot dockerfile

Open questions:

I'm assuming we're passing in env vars with -e or something
This assumes that graphql_schema.json is in the build directory. This isn't true in git, it's actually in the root of the repo. Either we need to build from the repo root and update the dockerfile accordingly, or somehow copy the file into the build directory.

Basically we need to run
cp coda/graphql_schema.json coda/frontend/bot/graphql_schema.json

this is shweet, thanks @Schmavery


Add suppor for secure boot and disk encryption to generic-amd64

Based on https://github.com/balena-os/balena-generic/pull/18

Can one of the admins verify this patch?

Hey @mtoman, is disk encryption anywhere close to be released? Thanks!

No longer relevant


⚠ Secret Website 3 has degraded performance

In 3df7d1d, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2012 ms

Resolved: Secret Website 3 performance has improved in 3388a04.


updated momentjs to version 2.9.0

forgot the momentjs edits for preventing adding to global context

That's actually ok, it's really easy to update. Merged in ac5cdc4f and updated in bb1c3346.
Thanks for the PR.

cool!
i am also searching for a method to add momentjs without modifying it.

I could do it by wrapping it in an iife that's .call'd to kalendae (basically what moment does itself). I'll look into adding that to the build process.
I'm also planning to make the non bundled version support amd and commonjs.

On Feb 22, 2015, at 8:36 AM, Christian Jellinghaus<EMAIL_ADDRESS>wrote:
cool!
i am also searching for a method to add momentjs without modifying it.
—
Reply to this email directly or view it on GitHub.


Error calling endpoint in 5.22.0

It's a simple endpoint that just returns a version string. Any calls to it works the very first time, then the subsequent time it'll throw the following error. It seems like a caching issue.
The class in question, Void is just an empty class. By the way this works in the previous version 5.21.2.
System.TypeInitializationException: The type initializer for 'FastEndpoints.RequestBinder1' threw an exception.  ---> System.NotSupportedException: Only request DTOs with publicly accessible properties are supported for request binding. Offending type: [Void]    at FastEndpoints.RequestBinder1..cctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)    at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)    at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)    at FastEndpoints.ServiceResolver.Resolve(Type typeOfService)    at FastEndpoints.Endpoint2.BindRequestAsync(EndpointDefinition def, HttpContext ctx, List1 failures, CancellationToken ct)    at FastEndpoints.Endpoint2.ExecAsync(CancellationToken ct)
at FastEndpoints.Endpoint`2.ExecAsync(CancellationToken ct)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

pls see here: https://github.com/FastEndpoints/FastEndpoints/issues/599#issuecomment-1929146684
let me know if that doesn't help.


[BUG] The calender butttons on community/events page are not rendered properly

Describe the bug.
The google calender and ics file button show placeholder instead of actual text.
Expected behavior
The google calender and ics file button should render thier actual text from common.json file.
Screenshots

How to Reproduce

Visit /community/events page from navbar.

🥦 Browser
Google Chrome
👀 Have you checked for similar open issues?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

Please can i work on this issue!
@derberg @quetzalliwrites
Issue Overview:
The problem occurs on the community/events page, where the button was displaying hardcoded text instead of rendering the actual link text. This impacts the user experience and accuracy of the button functionality.

Harcoded Text:

Proposed Solution:
I have identified and thoroughly tested this issue locally. The necessary changes have already been implemented to ensure the button text renders correctly from the appropriate source. I would be delighted to have this task officially assigned to me so I can contribute to resolving this important issue.
Visual Representation, before and after fixes:

I’ve implemented a straightforward and effective solution , no additional code files or complex changes required. Just a simple import, and it works seamlessly.
@anshgoyalevil @derberg @quetzalliwrites
I kindly request the maintainers to allow me the opportunity to fix this issue.

I’ve implemented a straightforward and effective solution , no additional code files or complex changes required. Just a simple import, and it works seamlessly.
@anshgoyalevil @derberg @quetzalliwrites I kindly request the maintainers to allow me the opportunity to fix this issue.

Thats Great @Shubhashish-Chakraborty . I assume you have just changed the hard coded values to fix this. Although this is a simple fix, for this issue it is temporary . The root cause is the translation function not working and fetching necessary values from common.json .
Also you can always work on other open issues because this issue already has a PR open.

No sir @SahilDahekar
I've not changed the hardcoded text only..
Actually a better approach...
I have imported the text from the common.json file.
In just a few minutes I'm gonna make a PR.
There you can review.

I’ve implemented a straightforward and effective solution , no additional code files or complex changes required. Just a simple import, and it works seamlessly.
@anshgoyalevil @derberg @quetzalliwrites I kindly request the maintainers to allow me the opportunity to fix this issue.

Thats Great @Shubhashish-Chakraborty . I assume you have just changed the hard coded values to fix this. Although this is a simple fix, for this issue it is temporary . The root cause is the translation function not working and fetching necessary values from common.json .
Also you can always work on other open issues because this issue already has a PR open.

Also i completely understand what youre saying,
Let me raise the PR and fix the code base then you can review on it

This might not be the perfect approach, but I’ve attempted to fix this based on my current understanding. I’m always open to learning and improving, so any feedback or suggestions are greatly appreciated!

@Shubhashish-Chakraborty I just checked your PR . Your approach works as a temporary fix, but it falls short when adding support for multiple languages for the button text. The component loses its dynamic nature since you’d need to update imports each time.
I suggest focusing your time and effort on resolving other issues instead.

Okayy, appreciate it!!

I would like to work on this issue.
If the issue is still ongoing then please assign me this issue.


Add toggleActive option

This option prevents the date from becoming unset when clicking on the currently active date.
The current default is set to match the previous behavior.
The option is ignored when multidate is active (as there would be no easy way to unselect a date, once selected).

@ximi can you rebase your pull request against master, as in #843 we remove this behavior but an option like this looks like a more complete solution!

Thanks  @ximi!


Add clarity incase operator namespaces is missing, existing service principal and apply yaml files.

This PR add 3 minor clarification:

In case of Operator namespace missing user actually need to install the OLM first.
In case of user copy pasting the yaml content in*.yaml files they need to make they apply those changes via kubectl apply -f *.yaml this I added for consistency.
User need to make sure that Name of  Service Principal is unique, otherwise they will see the already existing message on screen.

cc: @babbageclunk Thanks. cc: @matthchr
Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

Please signoff commits. More info here

Thank you @mvalarh , fixed 👍 please take a look. 💡 I believe this is just documentation change, so I am not entirely sure what is CI build failure relates.

I am retesting it now. Let's see how it goes

/lgtm

@J0zi @mvalarh  Per @dmesser Reason for CI failure is known (manual pre-requisites are going to be removed as soon as support for CRD conversion webhook management is added).

@madorn @Tatsinnit  Conversion webhooks are supported by OLM since the latest release, can you take a look here? https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/
There is currently a bug though where, if you just reference a single conversion webhook but no mutating/admission webhook in the CSV it will fail to deploy. This is being looked at here. But I think you have other webhooks as well, so you might not run into it.

💡 Cheers, @madorn,  @babbageclunk , @dmesser , @mvalarh and @matthchr.

What I know is that @madorn will kindly pick these changes up with some other work which will land.

Hence I am closing this PR for now. Thanks again and appreciate all the discussions.


Issue247 1to6bug

Fixes #247: When using more than one acceleration metric the calculation of average metric value between 1to6  resulted in an error.

Codecov Report

Merging #248 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
+ Coverage   75.33%   75.34%   +<.01%
==========================================
  Files          63       63
  Lines        7960     7961       +1
==========================================
+ Hits         5997     5998       +1
  Misses       1963     1963

Impacted Files
Coverage Δ

R/g.analyse.avday.R
98.46% <100%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


"config" file has a problem

Problems encountered when configuring nginx
configuring additional modules
adding module in /opt/nginx_proxy/ngx_http_proxy_connect_module/
/opt/nginx_proxy/ngx_http_proxy_connect_module//config: line 2: $'\r': command not found
/opt/nginx_proxy/ngx_http_proxy_connect_module//config: line 15: syntax error: unexpected end of file

Could you give more details. with your info, we could not help pinpoint the issue.
But I guess  you edited the config file and saveded it, then your editor may append some special chars.

Could you give more details. with your info, we could not help pinpoint the issue.
But I guess you edited the config file and saveded it, then your editor may append some special chars.

Yes, The config file was changed by me. Now it normally works when recovering the file.
Thanks your repley!

Could you give more details. with your info, we could not help pinpoint the issue.
But I guess you edited the config file and saveded it, then your editor may append some special chars.

Yes, The config file was changed by me. Now it normally works when recovering the file. Thank you for your reply!

COol. think it as resolved!


Zooming in past units of bases

Commit:

Current public build of higlass.io
v1.8.5 higlass + v0.2.2 higlass-multivec (test development server)

Steps to reproduce
To reproduce, I pan and zoom into viewport until sub-base units are visible.
Observed behavior
We have found that multivec tracks on a test server (v1.8.5 higlass + v0.2.2 higlass-multivec) flicker and disappear when the user is zoomed in at fractional-base resolution, as well as the data in the Rao et al. Hi-C dataset.
Behavior on higlass.io:

On test server:

Expected behavior
Wouter and I chatted about this and, at the lowest level, genomic datasets are typically represented in units of bases. We couldn't think of datasets that would be expressed in smaller units.
In the general case, it would be useful to lock zooming in past the point of a single base (or perhaps a specified resolution, for data that are coarser). This would also resolve the visual artifacts.

At its root, this is a float rounding error when the graphics are scaled by a huge amount.

In the general case, it would be useful to lock zooming in past the point of a single base (or perhaps a specified resolution, for data that are coarser)

Agreed. I think that's a very sensible solution.


Fix AuthenticatedImagePullTest

Previous implementation was assuming that Docker can pull from the gateway, which may not always be the case (eg Docker Desktop).
This change makes the temporary registry run with host network, so that Docker can always pull from it.

I can confirm that this PR fixes AuthenticatedImagePullTest on Docker Desktop for Windows with WSL backend, while ImagePullPolicyTest is still failing.
I can also confirm, that #4396 fixes AuthenticatedImagePullTest on Docker Desktop for Windows with WSL backend, while also fixing ImagePullPolicyTest.
Therefore, I am also in favor of merging #4396 instead and rely on this behavior, especially given that Docker wants to notify us in case of changes (as outlined in https://github.com/docker/for-mac/issues/5588#issuecomment-934600089):

I can't guarantee anything but I think there's no imminent danger of it stopping working: I'll add a test case which checks that it continues to work and linking to this issue so can avoid breaking it if possible / give you advance warning


How to handle/suppress "error: UB: using uninitialized data" correctly

I have the following use case
unsafe fn read_bytes_to_u64(data: &[u8], offset: usize, count: usize) -> u64 {
    debug_assert!(count <= 8);
    let mut tmp = std::mem::MaybeUninit::<u64>::uninit();
    let src = data.as_ptr().add(offset);
    // SAFETY: the caller must not use the uninitialized `8 - count` bytes in the returned value.
    unsafe {
        std::ptr::copy_nonoverlapping(src, tmp.as_mut_ptr() as *mut u8, count);
        tmp.assume_init()
    }
}

from https://github.com/apache/arrow-rs/pull/6288
This method is similar to Rust read_unaligned but reads count <= 8 only. In the above PR, the caller properly masks out the uninitialized part.  Looks like Miri does not understand that the masking makes things safe.
error: Undefined Behavior: using uninitialized data, but this operation requires initialized memory
   --> arrow-buffer/src/util/bit_mask.rs:125:9
    |
125 |         tmp.assume_init()
    |         ^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
...
note: inside `util::bit_mask::set_upto_64bits`
   --> arrow-buffer/src/util/bit_mask.rs:101:30
    |
101 |         let chunk = unsafe { read_bytes_to_u64(data, read_byte, bytes) };
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

where the chunk gets masked properly later.
let chunk = (chunk >> read_shift) & mask;

Is there any good way to tell Miri that this is a valid use case? (unless I am overlooking some unexpected behavior...)
For now, I work around the problem by creating Miri and non-Miri methods
#[cfg(not(miri))]
unsafe fn read_bytes_to_u64(...

#[cfg(miri)]
unsafe fn read_bytes_to_u64(...

If you need the masking to happen outside your function, you need to return a MaybeUninit to correctly signal that some bytes of it may be uninit.
Your function as written is UB as uninit bytes end up in a value of type u64

What the caller does is irrelevant. The signature of read_bytes_to_u64 and indeed the signature of MaybeUninit::<u64>::assume_init already promise LLVM that the bytes that they return are initialized. This isn't even Miri being picky; you can see the problem by putting your function into godbolt, the function signature says define noundef i64:
https://godbolt.org/z/5avdnqGvv
It would be wrong for Miri to not report UB in this code.

Is there any good way to tell Miri that this is a valid use case? (unless I am overlooking some unexpected behavior...)

There isn't because this is not a valid use case. :) There is no valid way to use uninitialized memory outside MaybeUninit.
It sounds like you also might be reading out-of-bounds here? I don't see  check for offset being in-bounds.

Thank you @oli-obk @saethlin @RalfJung
So, as long as assume_init() is called, the value of MaybeUninit:: has to be indeed initialized in advance, sounds like.

That is mentioned in the documentation for MaybeUninit::assume_init:

Calling this when the content is not yet fully initialized causes immediate undefined behavior.
If you think this could be more clear, please don't hesitate to make a suggestion on how we could clarify it.