Should fetches in SW-* include credentials: 'same-origin' by default?

Hello @jakearchibald @domenic,
This question came up in a PR and @jeffposnick recommended asking you both for your thoughts.
By default fetch doesn't include credentials and I wondering what the down sides of setting credentials to 'same-origin' are? My assumption is that it's fairly safe for any requests coming from our service worker libraries to include credentials, but I might be missing something.
Any thoughts / comments?

(I spoke in person to @domenic and he wasn't sure one way or another.)

Do you think we should leave it as is or include by default when no options are defined by the developer?
I'm leaning towards keeping it as is. It looks like sw-toolbox isn't using it at all.

Keeping it as-is, given that there's an override, is fine to me. You're correct in that sw-toolbox didn't even allow you to change it.

Hi @jeffposnick, @gauntface,
I need to add credentials: 'same-origin' to all fetch requests in order to make a PWA work in a password-protected website.
How do I do that with Workbox ? I noticed the RequestWrapper class includes a fetchOptions, but I can't find a way to use it.
Thanks !

@srosset81 can you please move this to a new issue as you are asking a different question.

@gauntface I've done that on SO, since it's more a question than an issue.
https://stackoverflow.com/questions/47808749/how-to-add-fetch-options-to-workbox
Thanks !

@srosset81 FYI, I need some more information in order to help you on Stack Overflow: https://stackoverflow.com/questions/47808749/how-to-add-fetch-options-to-workbox#comment82602865_47808749


ContractLoader Error: Cannot find module './contracts/contracts.js'.

I'm not sure why but I can't seem to use ContractLoader
Error: Cannot find module './contracts/contracts.js'.

  35 | />
  36 | <ContractLoader
  37 |    web3={web3}
> 38 |    require={path => {return require(`${__dirname}/${path}`)}}
  39 |    onReady={(contracts)=>{
  40 |      console.log("contracts loaded",contracts)
  41 |      this.setState({contracts:contracts})

trying out the article https://medium.com/@austin_48503/clevis-blockchain-orchestration-682d2396aeef
with https://github.com/austintgriffith/broadcaster-example-dapp.git

update: I had to move the contract files from clevis compile, deploy to the src folder and change the paths in the ContractLoader component, but got ERROR LOADING CONTRACT Broadcaster Error: You must provide the json interface of the contract when instantiating a contract object.

yeah so the trick here is to run a 'clevis test publish' or 'clevis test full' before uncommenting the contract loader because it needs to inject the contracts in.
However, we should probably do a better job of detecting that it's not there and throw a quiet error in the console instead of crashing the app.

@austintgriffith I had the same issue, so I'll add a note in the docs.
I am now getting "contract is undefined" from the Events component, despite the loader working properly.
<Events
          config={{ hide: false }}
          contract={contracts.Name}
          eventName={'Create'}
          block={block}
          id={'_id'}
          filter={{}}
          onUpdate={(eventData, allEvents) => {
            console.log('EVENT DATA:', eventData);
            this.setState({ events: allEvents });
          }}
        />

I think on the Dapparatus side, let's just catch any of those errors quietly and dish them to the console.  I hate that it breaks the the entire app when those contracts are missing.
This is a change that would need to go into both the  and the  components to catch first time errors.

Maybe Event loader is trying to load before ContractLoader has finished


miss iconStyle == "default" and boxForm == "vertical"

miss iconStyle == "default" and boxForm == "vertical"

@LEAFERx

Seems position is unfunctional with same margin as well. 😃

@sli1989 well I don't change too much code from original repo.
Maybe u cloud fix it？


Allow for strings or json objects in mimedata

Fixes #1013.
Adds a validator function to nbformat for valid mime type/data pairing.
Adds tests for handling JSON values.
Adds tests for handling mime bundle injection.

@ellisonbg @rgbkrk any comments on this one?

Excellent.

Also see the injector bug I just filed in #1031

Will review now!


Inquiry about Table-Top Suite from NeurIPS paper

Thank you for this amazing work.
I checked your NeurIPS paper, and it mentioned Table-Top Suite This task suite contains a collection of tasks involving arms and grippers interacting with small-scale objects. Tasks like stacking blocks, pouring, zipping, pushing, and pick-place are common in this task suite. However, I am only seeing pick-place, reach, and push in the main branch in robohive/envs/arms.  Do the other tasks (e.g., stacking blocks) exist somewhere, and I missed it, or will it be released later?

They haven't been released yet. If you need it, I can place it on the dev branch so you can give it a try.
If it works we can release it with you as an authored contributor.
Let me know.

That would be great, thank you! Please take your time; there’s no rush on my end. Once it’s on the dev branch, I will give it a try


backend: need for the new models for the alumni

I have seen that in this there is only user and admin but the main focus of this web app is to connect with the alumni , so I think there would be another backend system for the alumni? what do you think @ChetnaNSharma

I have seen that in this there is only user and admin but the main focus of this web app is to connect with the alumni , so I think there would be another backend system for the alumni? what do you think @ChetnaNSharma

User ultimately becomes the alumni as per their year of graduation.

okay


My nebra miner won’t Bluetooth pair

I paired my Nebra miner once. I moved houses and changed internet connection. And now I am not able to pair my nebra miner to update the wigi details. It seems to be broken.?

Please email<EMAIL_ADDRESS>this is not a tech support channel


Resolved bug 1106 : Design System > Components > Address Input > Default > Input box alignment issue.

Description

Resolve the issues on Components:

Resolved issue on component address input - input box alignment issue.

Screenshots :

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Resolved conflict


added Australia Central region pair

@jozender : Thanks for your contribution! The author, @rayne-wiselman, has been notified to review your proposed change.

#sign-off


Allow welcome screen send button press regardless of touch coordinates

If you press the button dead center, where the "Send" text is, the button doesn't react. You need to press it on the sides where there is no text for it to work. This is because the stack view is absorbing the touch event and not relaying it to the UIControl. It doesn't happen to the sides because the stack view doesn't extend to the whole width of the button.
MOB-1891

!merge


WIP: Verify AdoptOpenJDK.mad tag and handle _adopt tags

Signed-off-by: andrew-m-leonard<EMAIL_ADDRESS>

Is this really WIP?

hi Martijn, yes, but only as I haven't had a chance to test it fully yet.. back in work monday so will do it then, cheers


Make CSSTransitionGroup usable

In current code CSSTransitionGroup is not usable because of the deprecation on https://github.com/Asana/typed-react/blob/master/typings/react/react.d.ts#L45. Let's make it usable!

The ComponentClass typing is correct. Try using CSSTransitionGroup by first wrapping it in React.createFactory (see https://github.com/facebook/react/blob/master/src/addons/transitions/ReactCSSTransitionGroup.js#L19-L24).


Tutorials for new Composable Windows API

I am trying to work through these tutorials.The "onCloseRequest = ::exitApplication" parameter in Window() has an unresolved reference exitApplication
project is set up according to Getting_Started (kotlin 1.5.10, compose 0.5.0-build225) on Ubuntu

project is set up according to Getting_Started (kotlin 1.5.10, compose 0.5.0-build225) on Ubuntu

All tutorials should work against the latest version 0.5.0-build235. We forget to change the version in Getting_Started, when we change tutorial for Window API. Thanks for letting us now!


Bad presentation of existing asset in file upload for recordedit

I think the file upload widget needs a little more review and bug fixing related to presenting state of existing records.
First, we need to reach a consensus on expected behavior.  I think there are two choices:

The file upload widget should behave like other input fields and ignore any markdown_pattern presentation in the annotations, instead always showing a more raw value presentation.  In this case, the raw asset URL text should appear.
The file upload widget should deviate from other input fields and obey markdown_pattern presentation if it is defined for the corresponding context. In this case, the widget needs to observe the "is html" and related properties to put rendered markdown into the DOM.

Right now, it seems like it partially obeys the pattern but inserts it into the DOM incorrectly.  I see a text rendering of the HTML output of the markdown renderer.  I can see benefits of allowing markdown patterns here, e.g. a better UX might include embedded content display for some kinds of assets.
Also, when someone is revisiting this code, I think they should also confirm that the widget and chaise recordedit app state are safe in that they preserve existing asset metadata (url, hashes, etc) even if there is a markdown pattern affecting the presentation of that state.
Right now, the broken display doesn't install confidence, and I as a user was afraid that the corrupt looking widget presentation meant that I'd corrupt my ermrest record if I submitted the recordedit form.  Instead, I canceled and then went to change my annotations to exclude the column from visible columns, so I could be more confident that I wouldn't corrupt my existing asset URLs...

This bug is happening because of ermrestjs logic. If there's a markdown_pattern, regardless of context, we're using it. We can change it to always return the raw value in entry contexts (If we decid to stick with the first choice).

The change in ermrestjs is merged (#459). Now ermrestjs will only return raw values for file assets in entry contexts.

OK, I confirmed three different test scenarios on my test system

Edit an existing record to change some other field and the existing asset url remains stored
Copy an existing record and the existing asset url is copied and stored
Clear the upload control and the existing asset url is discarded


Fix Authorization header when getting user membership in AzureADGraphClient

According to the Azure AD Graph API documentation code snippets [1], the Authorization header requires the Bearer HTTP authorization scheme as part of the header. RFC 6750 [2] says:

Clients SHOULD make authenticated requests with a bearer token using
the "Authorization" request header field with the "Bearer" HTTP
authorization scheme.  Resource servers MUST support this method.

Therefore I suggest modifying the line of code in [3] to reflect to follow best practices by changing it to:
conn.setRequestProperty(HttpHeaders.AUTHORIZATION, String.format("Bearer %s", accessToken));

[1] https://docs.microsoft.com/en-us/previous-versions/azure/ad/graph/howto/azure-ad-graph-api-operations-overview#authentication-and-authorization--
[2] https://tools.ietf.org/html/rfc6750#section-2.1
[3] https://github.com/Azure/azure-sdk-for-java/blob/001c38fbac53161c7f1bfb784606819c1dc87076/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L93

/cc @jialindai

Closed by #13215


Adding tests for getBalance, getTokenBalance, mainAddress, getBlockNumber

…mber public functions for the raiden class
Thank you for submitting this pull request :)
Part of  #2588
Short description
Definition of Done

[ ] Steps to manually test the change have been documented
[ ] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

This PR has some very wierd merge conflicts which i dont want deal with hence will close this. @palango


[Ionic v4] Navigation -> TypeError: Cannot read property 'removeEventListener' of undefined

Ionic Info
@ionic/angular: "4.0.0-alpha.11"
Describe the Bug
I've got two pages both containing a slider (if that's related no idea), when I navigate (goRoot) from the first one to the second one I face the following error

Uncaught TypeError: Cannot read property 'removeEventListener' of undefined
at t.disableDraggable (k2weomgc.js:5)
at t.destroy (k2weomgc.js:5)
at t.destroy (k2weomgc.js:5)
at k2weomgc.js:5
at Array.forEach ()
at k2weomgc.js:5
at Array.forEach ()
at<EMAIL_ADDRESS>(k2weomgc.js:5)
at t.destroy (k2weomgc.js:5)
at e.componentDidUnload (k2weomgc.js:5)

the first call of that stacktrace is the following:
 e.prototype.componentDidUnload=function(){this.swiper.destroy(!0,!0)}

the last one
 d.touch||!d.pointerEvents&&!d.prefixedPointerEvents?(d.touch&&(a.removeEventListener(i.start,this.scrollbar.onDragStart,r),a.removeEventListener(i.move,this.scrollbar.onDragMove,r),a.removeEventListener(i.end,this.scrollbar.onDragEnd,o)), etc.

I think this is related to the slider. I have the same error when navigating away from a page with a slider.

the PR of @adamlacombe delivered with v4-beta1 fix the issue
thx a lot 👍


I messed up

Issue Type: Feature Request
Hello,
I tried some stuff and messed everything up, I would like to reset everything but when I uninstall then reinstall, it keeps my data so everything is still messed up.  Does anyone know a better/ faster way to do this?
Thank you,
Tim
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T07:50:42.600Z)
OS version: Windows_NT x64 10.0.18362

@Tim9-cpu You can delete this .json file located at this location: %APPDATA%\Code\User\settings.json
Also make sure to turn off synchronisation and delete all synced data from settings before doing the above if you are signed in with github or microsoft


Many video

Hi,
How can we loop on many videos ?
sources="['media/video-2.mp4', 'media/video-3.mp4']
This is not working, the first video is looping and we can't see the second.
regards

edit video 2+3 == > 4.mp4


Added support for notifier.

Adds support for caringa notifier, non-breaking, and adds extra config option (0-1), defaults to 0 and doesnt need plugin installed, also checks if plugin is installed before calling

You mean support for this plugin rcarriga/nvim-notify?? If yes, then this PR is not needed.

Agreed.
I wanted to use it with notifier. So i added it, your call to add it if you want it. Still really cool plugin.

well nvim-notify is supported by default without nothing much todo

Thats why i was able to do add it as an optional dependency in my lunch break.
Will probably add more stuff later on my side, or support for more notifiers or gui items. Anyway, great project, works amazing, enjoy the holidays.


Withdraw amount not correct

I notice that the amount in withdraws is not correct. Most likely that example tx sent 0.001 lbtc including fees. It seems that the amount is adding fees twice.

@louisinger

The tx is sending 0.0001 + fees isn't it ? The unblinded output in explorer screenshot is the change and you have two inputs (I guess two  0.0001 faucet from testnet). I may be wrong but if you sent that tx using the UI without send max button, it's the expected behaviour.

@tiero @louisinger Ok yes your interpretation is correct. The fee is not counted twice in the send amount.
However, should we add the fee to the send amount?
Here I withdraw 0.00005 LBTC from Green mobile

On transaction list screen the fee is added to the amount. But clicking to tx detail it shows send amount and fees separately. I think it's the best approach.
In Marina the transaction list is correct, but Outbound amount should be the send amount without fee.
What do you think?

but Outbound amount should be the send amount without fee. What do you think?

Yes u're right, I'll detuct the fee amount from withdraw. However, it should be done only if we own all the inputs, in others cases how do we know if we pay the fees? I'm thinking about swaps for instance: maybe I'm swapping 1 L-BTC for 10 shitcoins without paying the tx fees. In such case, deducting the fees will show swaps as 1-fees  <=> 10 shitcoins

Yes, it's relevant only for withdraws


CHANGELOG

Can you please provide the changelog in each release?

What is deprecated
What is fixed
What is introduced
What is removed
etc...

thanks

You mean a formal Changelog file? It would just be a duplicate of the Releases section in the repo.

Yah. I mean something like that https://github.com/phalcon/cphalcon/blob/master/CHANGELOG.md
But current release information not correspond to the actual changes. Actually more changes than in the release information

Yep, I'm committing that now. Thanks for the suggestion. :+1:


❓ Should we have an escape hatch to write inline JavaScript.

In previous iterations/explorations, I've always implemented an escape hatch to write JavaScript in sticky situations.
Although I'm generally disinclined to support something like this long-term, it might be a nice stopgap for throwing together things can't be implemented in Ren itself.

Can one import JS functions in Ren?

Oops, just saw this! At the moment ren's imports transpile directly to js imports so yeah you can import js files and packages (if you're running on node) no problem.
In the future I want to add purescript/gleam-style external js files and dedicated syntax for importing those, which renders this issue a bit moot 😅.


Incorrect Cooking Table recipe

The recipe for "Cooking Table" on the wiki appears to be:

Any type of stone x3
Terracotta, Cooking for Blockheads I ("Recipe Book"), terracotta
Terracotta x3

However, this recipe doesn't work in 1.12. The in-game recipe book tells me that the recipe for a Cooking Table is as follows:

Stone x3
Terracotta, Cooking for Blockheads II ("Crafting Book"), terracotta
Terracotta x3

It would be useful to have the wiki updated with this information.

@blay09 This is probably more suited to the blay09/BlaysModsDocs repo. I am happy to move there if you like (and happy to put up a PR to fix it).


Update time for Code && Coffee

The date of the next Code && Coffee event should be updated.  All other information is the same.
Date: October 12th, 2018

Done, for now.  Thanks.


Add support for all graphql-rate-limit options

Description
Exposes all possible configuration fields and types to the rate-limiter plugin and forwards them to the underlying graphql-rate-limit function. This is as discussed in issue #2273. I've designed it to be backwards compatible so that it shouldn't break past versions, but all config should now be available through the graphQLRateLimitConfig prop.
Primary motivation is to expose the "store" prop so that Redis can be used.
Fixes #2273
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[x] This change requires a documentation update

How Has This Been Tested?
This is a fairly simple change that shouldn't be breaking. I've tested locally by copying the plugin to my project and using the Redis store option. It seems to be working as expected.
Test Environment:

OS: macOS 14.6
@envelop/rate-limiter: 6.1.0
NodeJS: 18.17.0

Checklist:

[x] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

I merged in your suggestion and fixed the spread of options to reflect that change.
I also added a changeset. Let me know if this should be a minor release instead of a patch release, but I think a patch seems right since there aren't any breaking changes.
Thanks for the feedback and recommendations! Let me know if there is anything else.


Not working in Sketch 3.7.0

I like your plugin, and I'm looking forward to the 3.7 version of the update, which will save us. thanks
@getflourish

Styles not working. Symbols not working. Colors ok.

Text Styles should work again. Sketch did some changes to how symbols work and I have to figure out how to fix this issue. For similar functionality, please refer to the new native Symbols sheet and for text styles and colors, see Craft by Invision: https://www.invisionapp.com/craft
I will look into the issue asap.

Fixed in the latest version


Warnings during compilation

Description
There are two warnings during compilations.
How to Reproduce

bazel build -c opt //pir/cpp/...

Expected Behavior
No warning
Screenshots
NA
System Information

OS: macOS
OS Version: 10.15

Additional Context
pir/cpp/utils.h:33:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   33 |   for (int i = 1; i < sizeof(n) * 8; i = i << 1) {
      |                   ~~^~~~~~~~~~~~~~~

and
pir/cpp/server_test.cpp:122:16: warning: unused variable 'desired_index' [-Wunused-variable]
  122 |   const size_t desired_index = 7;
      |                ^~~~~~~~~~~~~

Fixed.
Also, added more CI checks to prevent this kind of issues.


RedissonLock in master/slave situation without wait

Is your feature request related to a problem? Please describe.

In our project, we use RedissonLock in master/slave redis. When the sync time bewteen master and slave goes high, the time that wait command cost get out of controll. In my env, it is between 20ms - 300ms, which influence the QPS of system, and other command.
In master/slave architecture, the connection rebuild when master changed is automatic, could offer some hooks to let us do something when it happens ?
Describe the solution you'd like
could it become a setting ? we could decide that when we need wait command to garantee the consitency.
Describe alternatives you've considered

You can use slavesSyncTimeout setting


Wiki link not working?

Hi, I am trying to use the Release Notes Generator and Wiki Updater together. The Release Notes Generator works fine, however as per the Wiki Updater documentation, there is no option to "clone repo" when I navigate to the wiki I want the md file to be published to, only a "clone wiki" option. It provides what looks to be the correct URL, until I run the pipeline and the task fails with
"##[error]Error: Cloning into 'D:\a\1\s\repo'...
remote: TF401019: The Git repository with name or identifier PartsUnlimited.wiki does not exist or you do not have permissions for the operation you are attempting."
I have allowed all permissions and the wiki definitely exists. It works when I use the URL when I go directly to the repo and "clone repo" but this publishes the md file directly to the repo, not to the Wiki.
Do you have any resolution for this?
Kind regards,
Dion

For the life of me I cannot get this to work.  Like Dion, the notes are generated fine.  But when I try to publish to the wiki I get the following error:
remote: TF401019: The Git repository with name or identifier XXXXXXXX.wiki does not exist or you do not have permissions for the operation you are attempting.
fatal: repository 'https://XXXXXXXX.visualstudio.com/XXXXXXXX/_git/XXXXXXXX.wiki/' not found
The wiki is absolutely there and I've checked everything to get this working.  Can I pay for some support on this?  I really need to get this functioning for the final piece of our SDLC.  Thanks so much Richard!

99% of the time the issue is the permissions, the things to check...

That the Clone URL of the WIKI is correct, and yours looks the format I would expect for an Azure DevOps built in WIKI, my one, as generated from the clone wiki button, is<EMAIL_ADDRESS>Don't worry about the bit before the @ it is removed by the task

For authentication

If you are using the OAUTH (the build agent user) access option

Set the task's UseAgentToken parameter to true
Make sure the user <project name> build service user is granted commit permission - this is the default user for the build agent.
If you changed the build scope then the user 'Project Collection build service` user should have permissions
IMPORTANT this one got me recently, a default has changed over repo permissions - Make sure that the Project Collection > Setting > Pipeline > Setting > Limit job authorization scope to referenced Azure DevOps repositories is not enabled. If set it can block access to the target repo giving the error you see

If you are not using the OAUTH (the build agent user) access option i.e. you pass in some credentials

Set the task's UseAgentToken parameter to false
Pass in the name of the Azure DevOps  organisation as the user and a valid PAT for a user with permissions to access the repo as the password
THIS IS A GREAT WAY TO GET GOING IF YOU HAVE PROBLEM WITH OAUTH You can also test these setting using the git command line and the url in the form<EMAIL_ADDRESS>

So I recommend testing using a PAT as the best way to get going. If this works you have a solution to use while you work out the issue with OAUTH.
The other points to consider are

Where is the build agent? Is there a proxy or firewall between it and the Azure DevOps Instance?
If this is the case try using a Microsoft hosted agent just to see if a local networking issue has caused the problem.

Thanks Richard for the quick reply.  The PAT is working but now I'm seeing issues with the notes generation and the wiki task finding the generated md file.
First problem - or is it... I'm seeing this:
Get the file details associated with the commits
Enriched change 0eba0db14e29904ed23c1a8b580595163cfd5162 of type TfsGit
Cannot enriched as location URL not in dev.azure.com format
Enriched change 6525b4d40403fdf6d278d0a1fc2bedaaca0ebb60 of type TfsGit
Cannot enriched as location URL not in dev.azure.com format
Enriched change cd897d28254be961ec6cbf05c1c52e9c00a473e8 of type TfsGit
Cannot enriched as location URL not in dev.azure.com format
Secondly, what I'm seeing in my Wiki Task:
Checking for files using the filter ${Build.ArtifactStagingDirectory)/*.md
Found 0 files
No commit was performed as no files have been added, deleted or edited
Finishing: WikiFolderUpdaterTask
Which confuses me as the notes generation completed successfully with:
Start of payload data dump
{"workItems":[],"commits":[{"id":"0eba0db14e29904ed23c1a8b580595163cfd5162","message":"Updated ReleaseNotes-PublishToWiki.yml","type":"TfsGit","author":{"displayName":"Matthew Foos","_links":{"avatar":{"href":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"}},"id":null,"uniqueName":"matthewf@grantcare.com"},"timestamp":"2020-11-03T18:49:30.000Z","location":"https://grantcare.visualstudio.com/_apis/git/repositories/1ab6579f-a5fd-423b-955c-dd56829384bc/commits/0eba0db14e29904ed23c1a8b580595163cfd5162","pusher":"c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","changes":[]},{"id":"6525b4d40403fdf6d278d0a1fc2bedaaca0ebb60","message":"Updated ReleaseNotes-PublishToWiki.yml","type":"TfsGit","author":{"displayName":"Matthew Foos","_links":{"avatar":{"href":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"}},"id":null,"uniqueName":"matthewf@grantcare.com"},"timestamp":"2020-11-03T18:49:06.000Z","location":"https://grantcare.visualstudio.com/_apis/git/repositories/1ab6579f-a5fd-423b-955c-dd56829384bc/commits/6525b4d40403fdf6d278d0a1fc2bedaaca0ebb60","pusher":"c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","changes":[]},{"id":"cd897d28254be961ec6cbf05c1c52e9c00a473e8","message":"Updated ReleaseNotes-PublishToWiki.yml","type":"TfsGit","author":{"displayName":"Matthew Foos","_links":{"avatar":{"href":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"}},"id":null,"uniqueName":"matthewf@grantcare.com"},"timestamp":"2020-11-03T18:48:42.000Z","location":"https://grantcare.visualstudio.com/_apis/git/repositories/1ab6579f-a5fd-423b-955c-dd56829384bc/commits/cd897d28254be961ec6cbf05c1c52e9c00a473e8","pusher":"c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","changes":[]}],"pullRequests":[],"tests":[],"builds":[],"relatedWorkItems":[],"releaseTests":[],"buildDetails":{"_links":{"self":{"href":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/Builds/372"},"web":{"href":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_build/results?buildId=372"},"sourceVersionDisplayUri":{"href":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/builds/372/sources"},"timeline":{"href":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/builds/372/Timeline"},"badge":{"href":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/status/21"}},"properties":{},"tags":[],"validationResults":[],"plans":[{"planId":"213fda5f-f17d-4d33-a1c3-e455b4e0c2bb"}],"triggerInfo":{},"id":372,"buildNumber":"Solution - QA-20201103..14","status":1,"queueTime":"2020-11-03T18:51:15.763Z","startTime":"2020-11-03T18:51:24.196Z","url":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/Builds/372","definition":{"drafts":[],"id":21,"name":"Solution - QA","url":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/Definitions/21?revision=2","uri":"vstfs:///Build/Definition/21","path":"\Pearland","type":2,"queueStatus":0,"revision":2,"project":{"id":"e60aae7a-d106-411b-b8f9-6c6de5c66af9","name":"GrantCare","description":"The default project collection for GrantCare. GrantCare Project Collection - GCPC","url":"https://grantcare.visualstudio.com/_apis/projects/e60aae7a-d106-411b-b8f9-6c6de5c66af9","state":"wellFormed","revision":146,"visibility":0,"lastUpdateTime":"2020-11-02T04:03:16.743Z"}},"buildNumberRevision":14,"project":{"id":"e60aae7a-d106-411b-b8f9-6c6de5c66af9","name":"GrantCare","description":"The default project collection for GrantCare. GrantCare Project Collection - GCPC","url":"https://grantcare.visualstudio.com/_apis/projects/e60aae7a-d106-411b-b8f9-6c6de5c66af9","state":"wellFormed","revision":146,"visibility":0,"lastUpdateTime":"2020-11-02T04:03:16.743Z"},"uri":"vstfs:///Build/Build/372","sourceBranch":"refs/heads/master","sourceVersion":"0eba0db14e29904ed23c1a8b580595163cfd5162","priority":3,"reason":1,"requestedFor":{"displayName":"Matthew Foos","url":"https://spsprodcus2.vssps.visualstudio.com/Aa40580e6-8061-4cb8-b4af-93044207950b/_apis/Identities/c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","_links":{"avatar":{"href":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"}},"id":"c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","uniqueName":"matthewf@grantcare.com","imageUrl":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk","descriptor":"aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"},"requestedBy":{"displayName":"Matthew Foos","url":"https://spsprodcus2.vssps.visualstudio.com/Aa40580e6-8061-4cb8-b4af-93044207950b/_apis/Identities/c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","_links":{"avatar":{"href":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"}},"id":"c9a11d9c-9cd4-67b9-af06-f1c4378a5d0d","uniqueName":"matthewf@grantcare.com","imageUrl":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk","descriptor":"aad.YzlhMTFkOWMtOWNkNC03N2I5LWFmMDYtZjFjNDM3OGE1ZDBk"},"lastChangedDate":"2020-11-03T18:51:24.193Z","lastChangedBy":{"displayName":"Microsoft.VisualStudio.Services.TFS","url":"https://spsprodcus2.vssps.visualstudio.com/Aa40580e6-8061-4cb8-b4af-93044207950b/_apis/Identities/00000002-0000-8888-8000-000000000000","_links":{"avatar":{"href":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/s2s.MDAwMDAwMDItMDAwMC04ODg4LTgwMDAtMDAwMDAwMDAwMDAwQDJjODk1OTA4LTA0ZTAtNDk1Mi04OWZkLTU0YjAwNDZkNjI4OA"}},"id":"00000002-0000-8888-8000-000000000000","uniqueName":"00000002-0000-8888-8000-000000000000@2c895908-04e0-4952-89fd-54b0046d6288","imageUrl":"https://grantcare.visualstudio.com/_apis/GraphProfile/MemberAvatars/s2s.MDAwMDAwMDItMDAwMC04ODg4LTgwMDAtMDAwMDAwMDAwMDAwQDJjODk1OTA4LTA0ZTAtNDk1Mi04OWZkLTU0YjAwNDZkNjI4OA","descriptor":"s2s.MDAwMDAwMDItMDAwMC04ODg4LTgwMDAtMDAwMDAwMDAwMDAwQDJjODk1OTA4LTA0ZTAtNDk1Mi04OWZkLTU0YjAwNDZkNjI4OA"},"orchestrationPlan":{"planId":"213fda5f-f17d-4d33-a1c3-e455b4e0c2bb"},"logs":{"id":0,"type":"Container","url":"https://grantcare.visualstudio.com/e60aae7a-d106-411b-b8f9-6c6de5c66af9/_apis/build/builds/372/logs"},"repository":{"id":"1ab6579f-a5fd-423b-955c-dd56829384bc","type":"TfsGit","name":"pearland-emergency-assistance","url":"https://grantcare.visualstudio.com/GrantCare/_git/pearland-emergency-assistance","clean":null,"checkoutSubmodules":false},"keepForever":false,"retainedByRelease":false,"triggeredByBuild":null},"inDirectlyAssociatedPullRequests":[]}
End of payload data dump
Writing payload data to file /home/vsts/work/1/a/payload.json
Loading template file /home/vsts/work/1/s/ReleaseNotesTemplate.md
Loading handlebars-helpers extension
Completed processing template
Writing output file /home/vsts/work/1/a/releasenotes.md
Finished writing output file /home/vsts/work/1/a/releasenotes.md
Finishing: XplatGenerateReleaseNotes
Again, I'd be willing to pay for an hour session to get this all working properly as it's just taking far too much time to get this up and running.  Keep me posted and thanks again!  😃👍

Follow Up:
Here are my tasks
  - task: XplatGenerateReleaseNotes@3
    inputs:
        # Required arguments
        outputfile: '$(Build.ArtifactStagingDirectory)/releasenotes.md'
        templateLocation: File
        templatefile: ReleaseNotesTemplate.md [<-- This file is on the root of my repo]
        dumpPayloadToConsole: true
        dumpPayloadToFile: true
        replaceFile: true
        appendToFile: true
        getParentsAndChildren: false

  - task: WikiFolderUpdaterTask@1
    inputs:
        # Required arguments
        repo: 'XXXXXXXX.visualstudio.com/XXXXXXXX/_git/XXXXXXXX.wiki'
        targetFolder: 'XXXXXXXX'  [<-- This folder is on root of wiki]
        replaceFile: true
        appendToFile: true
        user: <username>
        password: <token>
        useagenttoken: false
        sourceFolder: ${Build.ArtifactStagingDirectory)
        Filter: '*.md'
        message: 'Update from Build'
        gitname: builduser
        gitemail: 'build@grantcare'
        localpath: $(System.DefaultWorkingDirectory)\repo

Happy to keep answer these support issue
Can't enrich the commits
This is more of a warning, you have the basic information, but it can't get any extra because as the error say
Cannot enriched as location URL not in dev.azure.com format
This is because you are still using the old xxx.visualstudio.com organisation name as opposed to the newer dev.azure.com/xxx format. The task cannot handle these old URLs for commit enrichment.
Have a look at this documentation on changing URL format.
Wiki Upload
I do not usually my my WikiFolderUpdaterTask for this upload job, but rather  single file  equivalent WikiUpdaterTask. e.g.
- task: WikiUpdaterTask@1
  inputs:
    repo: 'dev.azure.com/richardfennell/Git-project/_git/Git-project.wiki'
    filename: 'releasenotes.md'
    dataIsFile: true
    sourceFile: '$(Build.ArtifactStagingDirectory)/releasenotes.md'
    message: 'Update from Release - $(Release.ReleaseName) with Creds'
    tagRepo: false
    gitname: builduser
    gitemail: 'build@demo'
    useAgentToken: false
    user: richardfennell
    password: '$(AzureDevOpsPAT)'
    localpath: '$(System.DefaultWorkingDirectory)\repo1'

This should address the "can't find the file issue"

IT WORKS!!!! 😃👍
You are a legend.  This is fantastic Richard!

Thanks a lot Richard, both for the excellent tasks and for your support!
I was facing exactly the same problem and got it to work using OAuth as you described above but with a few differences. I thought I'd share my settings as some of the options are different now (over two years later):

At All Repositories level (Project Settings | Repos | Repositories page, then Security tab instead of selecting a repository on the Repository tab of the page) I didn't assign Contribute permission to either the project's Build Service account or the Project Collection Build Service Account.

But I did set Wiki permissions so that both the projects Build Service account and the Project Collection Build Service group had Contribute permission (i.e. the Commit permission that you mentioned).

On top of the above, to get the task working  I had to switch off the option Protect access to repsositories in YAML pipelines on Project Settings | Pipelines | Settings page. This is similar to the option you described but the wording has probably changed.

However I then switched it back on (it's probabaly securer that way) and instead defined the wiki repo as a resource (but didn't check it out using checkout task) in the pipeline that contains the WikiUpdaterTask@2. This did the trick:
resources:
  repositories:
    - repository: WikiRepo #this can be any name you like, just a local name for repo
      type: git
      name: <Project name>/<Project Name>.wiki

trigger:
  - main
pool:
  vmImage: ubuntu-22.04

Thanks @foosfam, looks like the UX has changed yet again and a readme/wiki update is required with your text as the basic

I am using your task exactly as normal, only declaring the repository resource so that the scope of the job access token (presumably this token is for the account under which the pipeline is run, which in my case is most probabaly the project's Build Service account as I haven't changed the defaults) includes the wiki repo as well.
I was pointed in this direction by text in the Protect access to repositories in the YAML pipelines which says:

...generate a job access token that is scoped to repositories that are explicitly referenced in the YAML pipeline

I thought if I tried to checkout: <wiki repo URL>, it would mess with the paths in other tasks in my pipeline.
If there's just one checkout: , which there is by default as repo that contains the pipeline is checked out implicitly, then the repo is downloaded to s folder and I think all the tasks assume the path is /s. But if there are multiple checkout commands, e.g. a second checkout: <wiki repo URL>, then I think I would have needed to adjust paths in my other tasks.
Therefore I only refernced the wiki repo at the top of the pipeline without a checkout: WikiRepo further down in the pipeline.


ThemeKit installer obliterates system path on Windows

The ThemeKit installer removes the entire system path when it installs its own path as the system path for the entire system, thereby removing the original system path which could have been anything.
Now software all over the system is failing for all users.

Thanks for the heads up I will take down the windows installer immediately and will fix it in the near future.

What version of MS?

Windows 8.1

64/32 arch?

64 bitses

Okay I have taken the link out of the docs. My apologies for the inconveniences that this has caused. I will be in touch here when it is fixed.

Unfortunately this seems to be a limitation of NSIS the program we use to generate our installers. You your PATH was already long to begin with, editing the PATH var would truncate it. Windows users will have to use manual installs until another solution can be found.

You could just delete / comment out / conditionally not exectute the part that installs the path and possibly add some info on how to manually add it.

The path variable is the most complex part of the installation and exactly the part of the install that the installer was created for. The rest is just moving the (already downloaded with the executable) binary. It feels like users might as well already just follow the instructions.
I notice that you are referring to multiple users. Are you installing themekit using an automated system?

No, just installing it. I just noticed the path wasn't the system path at all but the user's path. Oops! I fixed the comment.


New version: BlockDiagonals v0.1.20

Registering package: BlockDiagonals
Repository: https://github.com/invenia/BlockDiagonals.jl
Created by: @oxinabox
Version: v0.1.20
Commit: 089ae3a1e5aa14931346b87437af377dbefbf17f
Reviewed by: @oxinabox
Reference: https://github.com/invenia/BlockDiagonals.jl/commit/089ae3a1e5aa14931346b87437af377dbefbf17f#commitcomment-45704602

Close this, will make a new PR with right version number

Close this, will make a new PR with right version number


Stack dependencies V1

Description of the change

Documentation for Stack Dependencies V1
Fixing compiler warning in run-promotion.md

Checklist
Please make sure that the proposed change checks all the boxes below before requesting a review:

[x] I have reviewed the guidelines for contributing to this repository.
[x] The preview looks fine.
[ ] The tests pass.
[x] The commit history is clean and meaningful.
[x] The pull request is opened against the main branch.
[x] The pull request is no longer marked as a draft.
[x] You agree to license your contribution under the MIT license to Spacelift.

If the proposed change is ready to be merged, please request a review from @spacelift-io/solutions-engineering. Someone will review and merge the pull request.
Thank you for your contribution! 🙇

@michalg9 added a scenario for both of these cases

Shall we add an example with monorepo and push policies that will evaluate to tracked on some stacks and to proposed on other?

Uhh, I wouldn't, imo these scenarios already look scary to the reader.


90950 segmentation fault zsh

Problem Summary
After upgrading to 2.3.0, when running zplug load I get this error:
[1]    92560 segmentation fault  zsh
Nothing in my zplug, or zshrc has changed. It was working fine < 2.3.0. Is there anyway to get more information on this error message? Thanks.
I have tried cleaning, re-installing and re-loading.
System Information
```

Darwin MacBook-Pro.local 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
```

zsh version

zsh 5.2 (x86_64-apple-darwin15.6.0)
```

zplug version/commit

2.3.0
```
Minimal zshrc
Create a minimal reproducing set of configurations for this issue. Please
remove all unnecessary parts!
export ZSH=$HOME/.oh-my-zsh
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh

export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/sbin:$PATH

# execute locally installed npm modules
export PATH="./node_modules/.bin:$PATH"

# put things in ~/.bin into my $PATH
export PATH="$HOME/.bin:$PATH"

TZ="Europe/London"
HISTFILE=$HOME/.zhistory
HISTSIZE=20000
SAVEHIST=20000
setopt HIST_IGNORE_SPACE
HOSTNAME="`hostname`"
PAGER='less'
export AUTOENV_FILE_ENTER=".env"
ENABLE_CORRECTION="true"
DEFAULT_USER="tomspeak"

GIT_MERGE_AUTOEDIT=no
export GIT_MERGE_AUTOEDIT

export EDITOR='vim'

# PLUGINS
zplug "Tarrasch/zsh-autoenv"

zplug "plugins/colorize",   from:oh-my-zsh
zplug "plugins/git",   from:oh-my-zsh
zplug "plugins/npm",   from:oh-my-zsh
zplug "plugins/node",   from:oh-my-zsh
zplug "plugins/tmux",   from:oh-my-zsh
zplug "plugins/osx",   from:oh-my-zsh

zplug "frmendes/geometry", use:geometry.zsh-theme
zplug "zsh-users/zsh-syntax-highlighting", nice:10
zplug "zsh-users/zsh-autosuggestions", nice:10

PROMPT_GEOMETRY_GIT_TIME=false
GEOMETRY_COLOR_GIT_DIRTY=9
GEOMETRY_COLOR_GIT_BRANCH=6
GEOMETRY_COLOR_EXIT_VALUE=9
PROMPT_GEOMETRY_GIT_CONFLICTS=true
GEOMETRY_SYMBOL_EXIT_VALUE="▲"

zplug load

# so autoenv runs all the time, even when you open a tmux split
cd .

source $ZSH/oh-my-zsh.sh
source $HOME/dotfiles/zsh/aliases
source $HOME/dotfiles/zsh/functions

Steps to Reproduce

zplug load

Thanks for reporting! Could you strip off the unnecessary lines in the .zshrc you have provided  and figure out the minimal set of configurations that would cause this problem? That way it's easier for us to pin-point the problem

Can't reproduce. Closing since no response.


Installing extensions with interactive azdev setup doesn't work correctly

I notice following issue:
When i run azdev setup interactively to install extension i am working on, my extension is not accessible.
Only when running non-interactive version:
azdev setup -r /azure-cli-extensions -e managed-network -c /azure-cli
it works.

closing as wrong repo


clarify how strict we want to treat empty startDate and endDate fields

for a yearly statistic, it is important to know the startDate and endDate of an entity, in order to decide whether it should be included in the statistic of the current reporting period.
however, since all startDate and endDate fields are optional, it is not entirely clear how this can happen.

note from July's meeting for the curation:

for institutions - by default date of the whole country joining dariah


about_modules.py: Copy old Python 2 fixes to Python 3 version.

This is a less-zealous replacement for pull request #143 "Sync Python 2 and 3 versions of about_modules".  (I didn't see any way to remove one commit from a pull request.)
Ported changes made to the Python 2 version of about_modules.py (SHA d65e6904, 2012-02-10 --- or before) to the Python 3 version.  This changed one test name, but otherwise only comments and docstrings.

I like the "wildcard" version. More human friendly :)
On Sep 30, 2016 2:19 PM, "Kevin J. Chase"<EMAIL_ADDRESS>wrote:

@kjc commented on this pull request.
In python3/koans/about_modules.py
https://github.com/gregmalcolm/python_koans/pull/144:

     duck = Duck()
     self.assertEqual(__, duck._password)
     # module level attribute hiding doesn't affect class attributes
     # (unless the class itself is hidden).

def test_a_module_can_choose_which_attributes_are_available_to_wildcards(self):

   # NOTE Using this module level import declared at the top of this script:

   #   from .local_module_with_all_defined import *

def test_a_modules_XallX_statement_limits_what_wildcards_will_match(self):

I copied it from the Python 2 version. I thought it was weird, but
test_a_modules___all___statement... looked really ugly too. I like
yours... or maybe test_a_module_can_limit_what_a_wildcard_imports.
Whatever we choose, it should be the same in both versions of
about_modules.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gregmalcolm/python_koans/pull/144, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD7sZTo028044af_eQeBtEqmzODvOi6ks5qvVKvgaJpZM4KLUGd
.

@gregmalcolm:  OK, I've made the change.

I concur, merged it.  Thanks! :-)


Add support for changing channel playback rate.

This bug report was migrated from our old Bugzilla tracker.
Reported in version: unspecified
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2017-10-28 20:40:23 +0000, Ivan Epifanov wrote:

Ryan seems to have Mix_PlaybackRate in http://icculus.org/~icculus/tmp/mixer.c
Would be nice to have it in official SDL_Mixer too.

Ehh...I wrote that for someone that needed an engine revving up effect in their game, but I don't know if it's really good quality work.

There was a discussion somewhere of having some way to make SDL_AudioStream change it's resampling rate, instead of locking it in at creation time, and that would be useful here, too, though, so let's keep this open for now in any case.

Ehh...I wrote that for someone that needed an engine revving up effect in their game, but I don't know if it's really good quality work.

It's not mathematically correct, but yeah, let's leave this open for future discussion.

Speaking about playback rate switch on the fly, I made a little experiment with the music on my MixerX fork side to see how that thing works: https://github.com/WohlSoft/SDL-Mixer-X/commit/840606fabfd42ba92100f59c8f9f8a02880434ac
It works, but, when I change the rate (flushing and re-creating the stream instance), clicks appear (maybe there is a better way to flush all content of the stream buffer until re-create it?).
Speaking about channels, I highly recommend making the new call with the tempo factor as an argument to ensure it will start with given tempo immediately (especially if you choose the channel by a -1 number).
And, more about channels, there are three new fields that would appear:

tempo factor;
computed source rate (the sample rate passed to SDL_AudioStream as a source to trick it);
and the stream pointer itself.

Maybe I'll try to make some on my side for the experiment to see how the thing works in action...
The demo with music on my MixerX fork side:
https://user-images.githubusercontent.com/6751442/179379309-96072be8-2bd2-4cce-b415-d67c6b601533.mp4

Hi,
I'm porting SDL2 Mixer to our Game engine and seeing the functionality of other ported audio engines, I could provide the following information as a contribution:
*** Used in OpenAL/OpenAL Soft ***
alSourcef(source_id, AL_PITCH, rate); // rate values = 0.0 to 2.0 (1.0 = default rate)
*** Used in FMOD Ex/FMOD Studio ***
FMOD_Sound_SetDefaults(FMOD_SOUND *sound, float frequency, int priority)
Sets a sound's default playback attributes.

frequency
Default playback frequency.
Units: Hertz Default: 48000

FMOD_RESULT FMOD_Channel_SetFrequency(FMOD_CHANNEL *channel, float frequency)
Sets the frequency or playback rate.

frequency
Playback rate.
Units: Hertz
Default frequency is determined by the audio format of the Sound or DSP.

FMOD_RESULT FMOD_Channel_SetPitch(FMOD_CHANNEL *channel, float pitch)
Sets the relative pitch / playback rate.

pitch
Pitch value where 0.5 represents half pitch (one octave down), 1.0 represents unmodified pitch and 2.0 represents double pitch (one octave up).

Changing the rate in both libraries is individual, each sound, music or channel can have its own rate in playing, while maintaining the global one set by default.
Maybe looking at how OpenAL Soft is progressing can help.

So in the time since this originally came up, SDL3's SDL_AudioStream came along and is super powerful for this; it can change both input and output sample rate on the fly, even managing data that is still queued at a different sample rate than new data that is just entering the queue.
More or less, this does exactly what is needed here.
However, while we have moved SDL_mixer to SDL3, we have not made each SDL_mixer channel use its own audiostream, which we would need to do to make this work.
Figuring out the logistics of that would solve this, and probably other problems, too.


Folder logic / sub-package naming

Hi Lars,
I ran into the "unexpected package naming" error, since we have now subpackages where the name is not prefixed with the parent package's name. I know this is currently the intended behavoir (I've seen your comment at https://github.com/larshp/abapGit/blob/master/src/zabapgit_folder_logic.prog.abap#L98) - but would this be difficult to change?
Background why we don't want to use prefixes: We've now moved our code from Z to our new /CQSE/ namespace. We'd like to have one top-level package what is synchronized with abapGit.
Before we had a top-level package ZCQSE which worked well es prefix for the sub-packages. Since package name /CQSE/ ist not possible, we'd use something like /CQSE/ALL or /CQSE/ABAP_DEV instead for our repository root package ... but obviously we wouldn't like to use this name again in every package name.
If the modification wouldn't be too elementary I could also try out it on our fork of abapGit. But maybe you could give me a few hints what must be changed for that.
Cheers,
Christian

Hi,
FULL folder/package naming is supported in abapGit, implemented 7 days ago, https://github.com/larshp/abapGit/pull/624. This will translate the package names 1:1 to folders.
See example in repository https://github.com/larshp/PROG
Currently there is no easy way to change this(https://github.com/larshp/abapGit/issues/630 planned), so you have to set the logic to FULL in the remote repository not using abapGit. Like this: https://github.com/larshp/PROG/commit/77bfc69075caf79e0515d0a58c250a7fa029a354

I do not know your exact setup, but looking at this from the outside it might make sense to have 1 git repository per solution/product, eg.(just found some product names on your homepage, not sure if they are ABAP related):

/CQSE/TEAMSCALE
with subpackages /CQSE/TEAMSCALE_UI and /CQSE/TEAMSCALE_LOGIC
/CQSE/CONQAT
etc.
/CQSE/SIMULINK
etc.

But there might also be reasons to have

/CQSE/ALL
with subpackages  /CQSE/TEAMSCALE + /CQSE/CONQAT + /CQSE/SIMULINK, and these subpackages follow the PREFIX format

The folder logic is implemented in https://github.com/larshp/abapGit/blob/master/src/zabapgit_folder_logic.prog.abap, it might make sense to add a new FOLDER_LOGIC option for the 2nd case

Hi Lars,
perfect, setting  FULL in .abapgit.xml worked! Many thanks!
About our packages structure: basically all our ABAP code is related to Teamscale (ConQAT uses just a subset) - the differentiation is more between what to be included in the main transport, and some further things which should under source control, too. We even placed two Z packages inside ... one if for Code Inspector Variants (which cannot be named in /../ namespace) and the other is for legacy proxies for earlier Teamscale version which expect e.g. RFC functions in Z namespace. But as everything belongs to Teamscale we'd prefer to have it in one Git repository.
Thanks again,
Christian


RFDiffusion scaffold benchmark

Hey Guys, Cool work its a really nice read. Just a quick comment that I believe the motif scaffolding benchmark as you have implemented does not match the RFDiffusion motifs exactly. The three cases which have small, medium and large scaffolds (6exz, 6e6r, 5trv) are minorly different in the RFDiffusion outputs when compared with your PDB file specifications. This is likely because RFDiffusion seem to index these files differently... I thought I'd flag it in any case.
For example if you download the output sequences from RFDiffusion paper (https://figshare.com/s/439fdd59488215753bc3), and look at the file Motif_scaffolding_benchmark.fasta. You will see that for 6exz the fixed motif is HLE...FMLA while in your file it is LET...MLAE (i.e. offset by one). This is similarly true of the other two cases I mention.
Let me know if you disagree, we hit this minor gotcha a few weeks ago.

Hi @JoshuaMeyers Thank you very much for pointing this out. We follow the specification from the RFDiffusion paper for this motif scaffolding benchmark, and the fixed motif might be minorly different because of reindexing. We would double check with our motif files again. However, we believe that this should not affect our performance comparisons since we evaluate both RFDiffusion and Genie 2 using the same set of motif files.


custom PaginationArgs

PaginationArgs have tow params
orderBy and limit .
we must extract limit field out from options field like orderBy.
Description
When we getEvents , we need pass PaginationArgs params to get paged data.
While we need pass limit and orderBy field.
So we must extract limit field from options very like orderBy.

PaginationArgs have tow params
orderBy and limit .
we must extract limit field out from options field like orderBy.
Description
When we getEvents , we need pass PaginationArgs params to get paged data. While we need pass limit and orderBy field.
So we must extract limit field from options very like orderBy.

PaginationArgs holds offset and limit https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/types/index.ts#L160 that we later use to for getEvents query - this change breaks the offset option

PaginationArgs have tow params
orderBy and limit .
we must extract limit field out from options field like orderBy.
Description
When we getEvents , we need pass PaginationArgs params to get paged data. While we need pass limit and orderBy field.
So we must extract limit field from options very like orderBy.

PaginationArgs holds offset and limit https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/types/index.ts#L160 that we later use to for getEvents query - this change breaks the offset option

Ya. I know. But when transfer limit in one object like
{pagination: {offset:0,limit:10} }

the page params does not take effect.  So we should extract the like
{
  offset: 0 ,
  limit :10
}

PaginationArgs have tow params
orderBy and limit .
we must extract limit field out from options field like orderBy.
Description
When we getEvents , we need pass PaginationArgs params to get paged data. While we need pass limit and orderBy field.
So we must extract limit field from options very like orderBy.

PaginationArgs holds offset and limit https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/types/index.ts#L160 that we later use to for getEvents query - this change breaks the offset option

Ya. I know. But when transfer limit in one object like
{
   pagination: {offset:0,limit:10}
}

the page params does not take effect. So we should extract the like
{
  offset: 0 ,
  limit :10
}

Well this change breaks the option to provide an offset option.
testing this query work as expected and returns 5 events (instead of the default 100)
const events = await aptos.getEvents({
      options: { offset: 0, limit: 5 },
    });

but when setting the offset option, it doesnt seem to do anything, looks like it is an error on the Indexer side. https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.mainnet.aptoslabs.com%2Fv1%2Fgraphql&query=query+MyQuery+{
++events(offset%3A+2%2C+limit%3A+5)+{
++++creation_number
++}
}

PaginationArgs have tow params
orderBy and limit .
we must extract limit field out from options field like orderBy.
Description
When we getEvents , we need pass PaginationArgs params to get paged data. While we need pass limit and orderBy field.
So we must extract limit field from options very like orderBy.

PaginationArgs holds offset and limit https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/types/index.ts#L160 that we later use to for getEvents query - this change breaks the offset option

Ya. I know. But when transfer limit in one object like
{
   pagination: {offset:0,limit:10}
}

the page params does not take effect. So we should extract the like
{
  offset: 0 ,
  limit :10
}

Well this change breaks the option to provide an offset option.
testing this query work as expected and returns 5 events (instead of the default 100)
const events = await aptos.getEvents({
      options: { offset: 0, limit: 5 },
    });

but when setting the offset option, it doesnt seem to do anything, looks like it is an error on the Indexer side. https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.mainnet.aptoslabs.com%2Fv1%2Fgraphql&query=query+MyQuery+{
++events(offset%3A+2%2C+limit%3A+5)+{
++++creation_number
++}
}

Ah. So I think this is not the code should be like this. It doest not work because of indexer. 😄

PaginationArgs have tow params
orderBy and limit .
we must extract limit field out from options field like orderBy.
Description
When we getEvents , we need pass PaginationArgs params to get paged data. While we need pass limit and orderBy field.
So we must extract limit field from options very like orderBy.

PaginationArgs holds offset and limit https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/types/index.ts#L160 that we later use to for getEvents query - this change breaks the offset option

Ya. I know. But when transfer limit in one object like
{
   pagination: {offset:0,limit:10}
}

the page params does not take effect. So we should extract the like
{
  offset: 0 ,
  limit :10
}

Well this change breaks the option to provide an offset option.
testing this query work as expected and returns 5 events (instead of the default 100)
const events = await aptos.getEvents({
      options: { offset: 0, limit: 5 },
    });

but when setting the offset option, it doesnt seem to do anything, looks like it is an error on the Indexer side. https://cloud.hasura.io/public/graphiql?endpoint=https%3A%2F%2Findexer.mainnet.aptoslabs.com%2Fv1%2Fgraphql&query=query+MyQuery+{
++events(offset%3A+2%2C+limit%3A+5)+{
++++creation_number
++}
}

Ah. So I think this is not the code should be like this. It doest not work because of indexer. 😄

Actually, by checking it it does work, but it always returns 'limit' number of results. So consider there are 10 items in a response, setting {offset:0, limit:5} would return items 0-4, but setting {offset:3, limit:5} would return items 2-6.
I think we dont need to change anything but maybe just document it better in the SDK

Should document this.


Document JSON-RPC service

@derekparker I am the author of go-plus, and will also be building a general / extensible debugging package for Atom - debugger which will incorporate the Chromium developer tools' debugging UI.
I would like to begin integrating delve as part of this, but I'm unsure of the status of dlv regarding its ability to be driven programmatically / its ability to accept / return structured output that could be used for the integration. Can we explore this in more detail in this issue?

It's not well documented, but there is facilities for communicating with a Delve debug server via JSON-RPC.
I can provide more information on this, and I'll be working on some documentation as well, however in the meantime take a look at what the client is doing in service/rpc/client.go, or feel free to reach out to me here or on gitter.
I'll keep this thread open in the meantime until the documentation is put together.

I renamed this issue to be more generically applicable to those seeking to integrate with the JSON-RPC service externally.

@joefitzgerald I was near to open an issue on go-plus to ask you if you can provide interface to delve :) so I put a +1 here ;)

@joefitzgerald the folks at Microsoft integrated delve with their VS IDE, this is the relevant part in their repo: https://github.com/Microsoft/vscode-go/tree/master/src/debugAdapter

@joefitzgerald have you made any progress? it seems that the development on https://github.com/atom-community/debugger has stopped a while ago ...
Btw I have created a package around the rpc server over the last few days and it works fine. I will create a github and atom package for it in the next few days. Maybe I will try to integrate the chrome dev tools too ...

@lloiser frankly the debugger project remains a placeholder - I never got the time to make progress there. I would be happy to review a pull request / add you as a contributor to that project.


Add MAMBA_SKIP_ACTIVATE

Allows starting a deactivated shell with
docker run --rm -it -e MAMBA_SKIP_ACTIVATE=1 mambaorg/micromamba bash

For merging this with #82, see https://github.com/maresb/micromamba-docker/pull/1

Nice tests and docs @maresb .


Updates fix issues with Relationship.

Added Functions

Added private function ConvertTo-Hashtable to take an unordered PSObject and return an [ordered] object.  Used so that Get-IntuneWin32AppDependency and Get-IntuneWin32AppSupersedence could return an [ordered] object arry since you need this type of object to call the Set- version of these commands.
Added private function ConvertTo-IntuneWin32RelationshipJSON.  When working with Supersedence and Dependencies if you wanted to assign a single Supersedence or no Supersedence (same with Dependencies) the standard ConvertTo-JSON would create JSON that the Graph API wouldn't accept.  This is my attempt to deal with these edge cases.
A relationship object with no relationships would be created as

{
  "relationships": null
}

The API's are looking for

{ "relationships" : [  ] }

A relationship object with a single relationships was created by ConvertTo-JSON as
{
    "relationships":  {
<EMAIL_ADDRESS> "#microsoft.graph.mobileAppSupersedence",
                          "supersedenceType":  "update",
                          "targetId":  "c5944f4d-4434-4b3a-a933-3b92158f1ce9"
                      }
}

The API's are lookiung for this format
{ "relationships": [
    {
<EMAIL_ADDRESS> "#microsoft.graph.mobileAppSupersedence",
        "supersedenceType":  "update",
        "targetId":  "c5944f4d-4434-4b3a-a933-3b92158f1ce9"
    }
] }

Updates to Add-IntuneWin32ppDependency

Allowed the passing a empty $Dependency, this allow this function to remove all Dependencies.
Fixed the logic for pulling current supercedence.  You can only update the supersedence with "child" relationships.
Fixed the edge case for JSON conversion of single items.

Updates to Add-IntuneWin32AppSupersedence

Allowed the passing a empty $Supersedence, this allow this function to remove all Supersedences.
Fixed the edge case for JSON conversion of single items.

Updates to Get-IntuneWin32ppDependency

Return Dependency as an array of [ordered].  Should be in the same format as required by the Set function.
Fixed the logic to deal with multiple dependancies.

Updates to Get-IntuneWin32AppSupersedence

Added a switch for -ChildOnly to return just the child supersedence.  This is useful when updating supersedence.
Return Supersedence as an array of [ordered].  Should be in the same format as required by the Set function.

Updates to New-IntuneWin32AppDependency

Fixed syntax error

Updates to Remove-IntuneWin32App

Added -Force switch to allow removal of app with dependancies or supersedences.  It will remove all child and parent supersedences and dependencies.

Updates to Remove-IntuneWIn32AppDependency

Updated to fix JSON edge cases

Updates to Remove-IntuneWIn32AppSupersedence

Updated to fix JSON edge cases

Not sure that I really follow along with your approach here. If we take an example part of code such as:
$Dependencies = @{     "test" = "test" } $Supersedence = @{     "test" = "test" } $Win32AppRelationshipsTable = [ordered]@{     "relationships" = @(if ($Dependencies) { @($Supersedence; $Dependencies) } else { @($Supersedence) }) } $Win32AppRelationshipsTable | ConvertTo-Json -Depth 10
This would yield:
{   "relationships": [     {       "test": "test"     },     {       "test": "test"     }   ] }
Which is what the Graph API posts in the payload when invoking updateRelationships:
{
"relationships": [
{
"@odata.type":"#microsoft.graph.mobileAppDependency",
"targetId":"ID",
"dependencyType":"autoInstall"
},
{
"@odata.type":"#microsoft.graph.mobileAppSupersedence",
"targetId":"ID",
"supersedenceType":"replace"
}
]
}

Appreciate your effort in creating this PR, but as is I can't merge it.


Setting a position seems to override html 'position'

Ran into an issue where I couldn't set the position of the keyboard. When setting it in html, it always appeared in the same place.
Commenting out:
https://github.com/etiennepinchon/aframe-material/blob/4545ce4e31ce12b9e785e11d92a5784a0d4a5f95/src/keyboard/index.js#L54
in the aframe-materials.js allowed me to set a position in html that seems to stick for all the component drawings, refreshes, etc. I'd suggest not setting a default position to allow folks to choose one in html.

Can workaround with a wrapper entity.
<a-entity position="0 0 -1"><a-keyboard></a-keyboard></a-entity>


[Basic] Serialize integers in the specified byte order

Replace writeRaw with writeInteger and make it use the endianness
specified in the stream. The memcpy size is still fixed at compile
time.
This fixes the ExponentialGrowthAppendingBinaryByteStream tests on
big endian machines.

Ping.

@swift-ci Please test

Hi @akyrtzi @benlangmuir, I've updated the PR so that the byte order used in ExponentialGrowthAppendingBinaryByteStream is always little-endian. This should allow the compiler to avoid inserting any extra instructions on little-endian platforms vs. the original memcpy.
We're getting close to having all the tests working on our big-endian platform (IBM Z) now so it would be great to get this PR merged if it looks OK to you.
Thanks!


Debug Null Data in Clearinghouse 5-minute and Detector Status Models

@JamesSLogan after merging #408 yesterday I did some QC checks this morning and there are too many Null values in the int_clearinghouse__detector_agg_five_minutes_with_missing_rows.sql and int_diagnostics__detector_status.sql models for past dates. The last few days data looks good, but we have too many Null values for the older data. A full resfresh may fix this but we can discuss this in more detail at the sprint meeting this morning 10/3/24.

As an example, the screenshot below shows no Good detectors on 9/26/24 and 9/27/24 but from 9/28/24 - 9/30/24 the statuses look good and are consistent with expected values (~25k Good detectors daily).


feat(tactic/assoc_rewrite): new tactic for implicitly applying

associativity before rewriting
TO CONTRIBUTORS:
Make sure you have:

[x] reviewed and applied the coding style: coding, naming
[x] for tactics:

[x] added or adapted documentation in tactics.md
[x] write an example of use of the new feature in tactics.lean

[x] make sure definitions and lemmas are put in the right files
[x] make sure definitions and lemmas are not redundant

For reviewers: code review check list

Is there a rason not to use the (old) conversion module (in tactic/conversion/old_conv.lean)?

No reasons. I don't know how to use that module. How does it help in this situation?

Does old_conv supersede the purpose of assoc_rw?


Minimal message for list, command word no longer case sensitive, clean

Resolved #138 #136

Resolved #95 by limiting it to the 20th and 21th century rage for the years

#59


Matlab Does Not Run Codes on Visual Studio Code

Describe the bug
I have Visual Studio Code Version: 1.89.1 with Matlab extension v1.2.2, I have Matlab R2024a.
Everything seems working but when I try to run a Matlab code in Visual Studio code, it gives me notification that "File is not found in the current folder or on the MATLAB path" after I click on "Add to Path" then I receive Unrecognized function or variable on terminal.
To Reproduce
Steps to reproduce the behavior:

Go to 'my a.m file'
Click on '.Run'
Scroll down to 'Terminal'
See error "Unrecognized function or variable a"

Expected behavior
I expected matlab code be running and generating plots and results.
Screenshots

Useful Information

OS Version: Sonoma14.5
VS Code Version: 1.89.1

Thank you for your help in advance.

I can share a simpler code.
my directory is /Users/seckinpolat/Documents/MATLAB
my code is trial.m
close all
clear all
a=1;
b=3;
plot(a,b)
After I run it

trial
Unrecognized function or variable 'trial'.

When I tried to write your on VS I received the following error

which ('trial')
'trial' not found.

When I run the same line on my Matlab command line

which('trial')
/Users/seckinpolat/Documents/MATLAB/trial.m

When I manually enter addpath('/Users/seckinpolat/Documents/MATLAB/trial.m')
I received this following error on VS >> addpath('/Users/seckinpolat/Documents/MATLAB/trial.m')
Warning: Name is nonexistent or not a directory: /Users/seckinpolat/Documents/MATLAB/trial.m

In path (line 109)
In addpath>doPathAddition (line 116)
In addpath (line 80)

Thanks!

I run the lines that you sent me and I got the exact same errors

addpath('/Users/seckinpolat/Documents/MATLAB/')
Warning: Directory access failure: /Users/seckinpolat/Documents/MATLAB
In path (line 109)
In addpath>doPathAddition (line 116)
In addpath (line 80)

trial
Unrecognized function or variable 'trial'.


Can't get nokogiri, a rails dependency, to build with bundlerEnv

Issue description
I'm trying to make a development environment for a rails project, but I can't get nokogiri, which seems to be a dependency of rails, to build.
Steps to reproduce
I simplified the gemfile to only require nokogiri. To reproduce the problem, put the following files in a directory and run nix-shell. BTW, I'm inlining them, as github doesn't seem to like the extensions, and I figure that using zip or having to later rename them from .txt might be more bothersome.
Gemfile
source "https://rubygems.org"
gem 'nokogiri'

Gemfile.lock
GEM
  remote: https://rubygems.org/
  specs:
    mini_portile2 (2.1.0)
    nokogiri (1.6.8)
      mini_portile2 (~> 2.1.0)
      pkg-config (~> 1.1.7)
    pkg-config (1.1.7)

PLATFORMS
  ruby

DEPENDENCIES
  nokogiri

BUNDLED WITH
   1.10.5

gemset.nix
{
  pkg-config = {
    version = "1.1.7";
    source = {
      type = "gem";
      remotes = ["https://rubygems.org"];
      sha256 = "0lljiqnm0b4z6iy87lzapwrdfa6ps63x2z5zbs038iig8dqx2g0z";
    };
  };
  nokogiri = {
    version = "1.6.8";
    source = {
      type = "gem";
      remotes = ["https://rubygems.org"];
      sha256 = "17pjhvm4yigriizxbbpx266nnh6nckdm33m3j4ws9dcg99daz91p";
    };
  };
  mini_portile2 = {
    source = {
      remotes = ["https://rubygems.org"];
      sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
      type = "gem";
    };
    version = "2.1.0";
  };
}

default.nix
with (import <nixpkgs> {});
let
  env = bundlerEnv {
    name = "test-package";
    inherit ruby;
    gemfile = ./Gemfile;
    lockfile = ./Gemfile.lock;
    gemset = ./gemset.nix;
  };
in stdenv.mkDerivation {
  name = "test-package";
  buildInputs = [env ruby];
}

This is the output of running nix-shell. It includes stderr.
Attempts at fixing
I think the exact reason why it failed is in the mkmf.log file mentioned in the output, but I can't find it under /nix/store/5jcpxbf2i4bgs3w7s7dfxl9467pla9ch-ruby2.3.0-p0-nokogiri-1.6.8/ which, according to the output, seems to have been left to inspect the failure of the build. Are the build directories the paths under /nix/store or is there another place I can look for said file?
I tried replacing nokogiri in the gemfile with each of its 2 dependencies in turn, and (after rebuilding Gemfile.lock and gemset.nix) they both lead to no problems with nix-shell. So I guess it's not a problem with nokogiri's dependencies. Because the output hinted that it might be due to missing libraries, I also tried including zlib, pkg-config, and something else (sorry I forget) in the buildInputs, but it didn't change the outcome.
Technical details

System: NixOS 16.03
Nix version: nix-env (Nix) 1.11.2
Nixpkgs version: 16.03.git.0470d0d, though that's the hash of a personal commit. It's based on baf46b9 from the nixos-16.03 branch from the nixpkgs-channels repo. Changes made are to nixos/modules/config/update-users-groups.pl and pkgs/applications/networking/sync/unison/default.nix, so that's unrelated.

This is the important line from your logs:
/nix/store/s7skd7lkiaw1vnf5qjxkgy56r55plp1n-rubygems-2.4.8/lib/rubygems/dependency.rb:315:in `to_specs': Could not find 'pkg-config' (~> 1.1.7) among 5 total gem(s) (Gem::LoadError)

Nokogiri expects that the pkg-config gem is installed, which it then uses in it's extconf.rb to invoke the pkg-config binary, in order to resolve CFLAGS and such during compilation of the native C extension.
Unfortunately, your gemset.nix appears to be broken: it doesn't show that pkg-config is a dependency of nokogiri, and therefore bundlerEnv doesn't know to pass along pkg-config when building nokogiri, which then results in the error message that I highlighted above.
Looks like there might be a bug in bundix that'll need to be fixed.
/cc @manveru

I found this line:
https://github.com/NixOS/nixpkgs/blob/release-16.03/pkgs/development/interpreters/ruby/bundler-env/default.nix#L36
which seems to allow specifying other gems in the gemset as dependencies, passing their derivations as propagatedBuildInputs of the dependent. I tried changing the gemset.nix package to this:
{
  pkg-config = {
    version = "1.1.7";
    source = {
      type = "gem";
      remotes = ["https://rubygems.org"];
      sha256 = "0lljiqnm0b4z6iy87lzapwrdfa6ps63x2z5zbs038iig8dqx2g0z";
    };
  };
  nokogiri = {
    version = "1.6.8";
    dependencies = ["pkg-config" "mini_portile2"];
    source = {
      type = "gem";
      remotes = ["https://rubygems.org"];
      sha256 = "17pjhvm4yigriizxbbpx266nnh6nckdm33m3j4ws9dcg99daz91p";
    };
  };
  mini_portile2 = {
    version = "2.1.0";
    source = {
      type = "gem";
      remotes = ["https://rubygems.org"];
      sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
    };
  };
}

but that still gives me the same error.
I listed the files in /nix/store/nj7cq3zmci9vd3x1fzqmkw1dk252y48g-ruby2.3.0-p0-nokogiri-1.6.8, but I didn't find the files of its dependencies symlinked in there. I'm going to search to see if their gem paths are included in GEM_PATH before executing extconf.rb.

It seems this line is what, at some point, ends up executing extconf.rb:
https://github.com/NixOS/nixpkgs/blob/release-16.03/pkgs/development/interpreters/ruby/build-ruby-gem/default.nix#L183
I echoed $RUBYLIB (found that's what was needed, not $GEM_PATH) right before that line and got /nix/store/s7skd7lkiaw1vnf5qjxkgy56r55plp1n-rubygems-2.4.8/lib:/nix/store/a28k21v4xikvs393bvmcrfhwfqcg9yrl-ruby2.3.0-p0-pkg-config-1.1.7/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.7/lib:/nix/store/glbn70m5zmczgyay5jpgcp3chn80mf7y-ruby2.3.0-p0-mini_portile2-2.1.0/lib/ruby/gems/2.3.0/gems/mini_portile2-2.1.0/lib.
So, that's not it.

Adding pkg.pkgconfig as buildInput in either/both nokogiri and/or pkg-config failed to work. Did an strace on the gem install call, only found that the error came right after trying to stat a Makefile and finding it didn't exist. I guess extconf.rb makes Makefiles.. I'm going to read more on ruby's native extension mechanism tomorrow/today; going to bed now..

I figured I can debug the gem package by using nix-shell with this default.nix:
with import <nixpkgs> {};

let simpleGem =
      { version
      , gemName
      , gemPath ? []
      , sha256
      } @ args:
      buildRubyGem (args // {
        inherit ruby rubygems;
        type = "gem";
        remotes = ["https://rubygems.org"];
      });
in

simpleGem {
  gemName = "nokogiri";
  sha256 = "17pjhvm4yigriizxbbpx266nnh6nckdm33m3j4ws9dcg99daz91p";
  version = "1.6.8";
  gemPath = [
    (simpleGem {
      sha256 = "0lljiqnm0b4z6iy87lzapwrdfa6ps63x2z5zbs038iig8dqx2g0z";
      version = "1.1.7";
      gemName = "pkg-config";
    })
    (simpleGem {
      sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
      version = "2.1.0";
      gemName = "mini_portile2";
    })
  ];
}

but running unpackPhase in the shell gives me this error:
unpacking source archive /nix/store/y8wf8kjaqqkkdbcwra3y5027kxi4bw4b-nokogiri-1.6.8.gem
do not know how to unpack source archive /nix/store/y8wf8kjaqqkkdbcwra3y5027kxi4bw4b-nokogiri-1.6.8.gem
exit

I ran typeset -f unpackPhase and got back what looks like the generic unpacker. Why didn't I get this? I thought maybe it was wrapping over it, but they both run the preUnpack and postUnpack hooks.

Using nix-build gives me the same error as the one in the OP, where I'm using bundlerEnv. Running (import ./default.nix).unpackPhase in nix-repl using the default.nix with the buildRubyGem in the previous comment, does give me the correct unpackPhase.
Am I misunderstanding something about nix-shell, or is this another bug?

Just bumped into the same issue, did you manage to figure it out?

Found two bits which might be related:

bundix -d will include the dependencies into gemset.nix
bundlerEnv supports a parameter gemConfig which can be used if special tweaks are needed, default seems to be here https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/gem-config/default.nix

For my case using -d to generate gemset.nix did the trick.

No, I haven't tried again since that last comment. I'll look into what you suggest tonight.

@jolmg Were you able to resolve this? I just packaged (using bundix) a gem that depends on nokogiri, and found I had to run bundix in a nix-shell with zlib and libiconv,
nix-shell -p bundix zlib libiconv --run 'bundix --magic'

I wonder if you were missing libiconv?

No, I gave up on this and moved back to Archlinux. I'll try to check this again sometime this week in a virtual machine.

FWIW, I had the same issues and when I ran what @ivanbrennan posted it worked with no extra configs at all -- just like a normal bundle install. Glorious. Thank you!

@jolmg seeing as a solution was found and you're no longer in a position to test can you please close the issue?


Fixed function arguments

The _updateCollection function expects two arguments but it was getting passed a single, undefined variable which was causing the program to fail.
Before code fix:
npx @syngenta-digital/pdt --collection-file postman/api.postman_collection.json --doc-path swagger.yml
===== POSTMAN DOCUMENTATION TESTER STARTED =====
--VALIDATING ARGUMENTS
--READING COLLECTION FILE
--VALIDATING POSTMAN COLLECTIONS & ENVIRONMENTS
--READING SCHEMA FILE
--MAPPING COLLECTION TO SCHEMA
/path/to/repo/node_modules/@syngenta-digital/pdt/src/logic/postman.js:105
        if (item.request && item.request.hasOwnProperty('url')) {
                 ^

TypeError: Cannot read properties of undefined (reading 'request')

After code fix:
npx @syngenta-digital/pdt --collection-file postman/api.postman_collection.json --doc-path swagger.yml
===== POSTMAN DOCUMENTATION TESTER STARTED =====
--VALIDATING ARGUMENTS
--READING COLLECTION FILE
--VALIDATING POSTMAN COLLECTIONS & ENVIRONMENTS
--READING SCHEMA FILE
--MAPPING COLLECTION TO SCHEMA
--SAVING UPDATED COLLECTION
===== POSTMAN DOCUMENTATION TESTER COMPLETED =====

Hey, would be great if someone could take a look at this PR as the current release is broken without it and it's be great to just be able to install the latest version using npm and not install from a forked copy, thanks!

Sorry was on paternity leave, this has been approved and released as 1.0.7

No worries. Huge congratulations sir!
On Thu, 27 Oct 2022, 18:38 Paul Cruse III, @.***> wrote:

Sorry was on paternity leave, this has been approved and released as 1.0.7
—
Reply to this email directly, view it on GitHub
https://github.com/syngenta-digital/package-node-pdt/pull/39#issuecomment-1293857098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGCYP4KYNBOXETTHPFOVXX3WFK4YRANCNFSM6AAAAAAQ4UCRVE
.
You are receiving this because you authored the thread.Message ID:
@.***>


ch8.error stray \342 in program

trying to build project from chapter 8 MultithreadedCV in QtCreator under Archlinux I got :
/usr/bin/uic ../MultithreadedCV/mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../MultithreadedCV -I. -isystem /usr/local/include/opencv -isystem /usr/local/include -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o ../MultithreadedCV/main.cpp
../MultithreadedCV/main.cpp:26:16: error: stray ‘\342’ in program
         return “”;
                ^
../MultithreadedCV/main.cpp:26:17: error: stray ‘\200’ in program
         return “”;
                 ^
../MultithreadedCV/main.cpp:26:18: error: stray ‘\234’ in program
         return “”;
                  ^
../MultithreadedCV/main.cpp:26:19: error: stray ‘\342’ in program
         return “”;
                   ^
../MultithreadedCV/main.cpp:26:20: error: stray ‘\200’ in program
         return “”;
                    ^
../MultithreadedCV/main.cpp:26:21: error: stray ‘\235’ in program
         return “”;
                     ^
../MultithreadedCV/main.cpp:32:31: error: stray ‘\342’ in program
                       QString(“\”).toStdWString().c_str(),
                               ^
../MultithreadedCV/main.cpp:32:32: error: stray ‘\200’ in program
                       QString(“\”).toStdWString().c_str(),
                                ^
../MultithreadedCV/main.cpp:32:33: error: stray ‘\234’ in program
                       QString(“\”).toStdWString().c_str(),
                                 ^
../MultithreadedCV/main.cpp:32:34: error: stray ‘\’ in program
                       QString(“\”).toStdWString().c_str(),
                                  ^
../MultithreadedCV/main.cpp:32:35: error: stray ‘\342’ in program
                       QString(“\”).toStdWString().c_str(),
                                   ^
../MultithreadedCV/main.cpp:32:36: error: stray ‘\200’ in program
                       QString(“\”).toStdWString().c_str(),
                                    ^
../MultithreadedCV/main.cpp:32:37: error: stray ‘\235’ in program
                       QString(“\”).toStdWString().c_str(),
                                     ^
../MultithreadedCV/main.cpp: In function ‘QString getVersionString(QString)’:
../MultithreadedCV/main.cpp:18:5: error: ‘DWORD’ was not declared in this scope
     DWORD dwHandle;
     ^~~~~
../MultithreadedCV/main.cpp:19:11: error: expected ‘;’ before ‘dwLen’
     DWORD dwLen = GetFileVersionInfoSize(fName.toStdWString().c_str(), &dwHandle);
           ^~~~~
../MultithreadedCV/main.cpp:21:5: error: ‘LPVOID’ was not declared in this scope
     LPVOID lpData = new BYTE[dwLen];
     ^~~~~~
../MultithreadedCV/main.cpp:22:58: error: ‘dwHandle’ was not declared in this scope
     if(!GetFileVersionInfo(fName.toStdWString().c_str(), dwHandle, dwLen, lpData))
                                                          ^~~~~~~~
../MultithreadedCV/main.cpp:22:58: note: suggested alternative: ‘drand48’
     if(!GetFileVersionInfo(fName.toStdWString().c_str(), dwHandle, dwLen, lpData))
                                                          ^~~~~~~~
                                                          drand48
../MultithreadedCV/main.cpp:22:68: error: ‘dwLen’ was not declared in this scope
     if(!GetFileVersionInfo(fName.toStdWString().c_str(), dwHandle, dwLen, lpData))
                                                                    ^~~~~
../MultithreadedCV/main.cpp:22:75: error: ‘lpData’ was not declared in this scope
     if(!GetFileVersionInfo(fName.toStdWString().c_str(), dwHandle, dwLen, lpData))
                                                                           ^~~~~~
../MultithreadedCV/main.cpp:22:75: note: suggested alternative: ‘QMapData’
     if(!GetFileVersionInfo(fName.toStdWString().c_str(), dwHandle, dwLen, lpData))
                                                                           ^~~~~~
                                                                           QMapData
../MultithreadedCV/main.cpp:22:9: error: ‘GetFileVersionInfo’ was not declared in this scope
     if(!GetFileVersionInfo(fName.toStdWString().c_str(), dwHandle, dwLen, lpData))
         ^~~~~~~~~~~~~~~~~~
../MultithreadedCV/main.cpp:25:18: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
         delete[] lpData;
                  ^~~~~~
../MultithreadedCV/main.cpp:26:9: error: return-statement with no value, in function returning ‘QString’ [-fpermissive]
         return “”;
         ^~~~~~
../MultithreadedCV/main.cpp:29:5: error: ‘VS_FIXEDFILEINFO’ was not declared in this scope
     VS_FIXEDFILEINFO *lpBuffer = NULL;
     ^~~~~~~~~~~~~~~~
../MultithreadedCV/main.cpp:29:23: error: ‘lpBuffer’ was not declared in this scope
     VS_FIXEDFILEINFO *lpBuffer = NULL;
                       ^~~~~~~~
../MultithreadedCV/main.cpp:29:23: note: suggested alternative: ‘setbuffer’
     VS_FIXEDFILEINFO *lpBuffer = NULL;
                       ^~~~~~~~
                       setbuffer
../MultithreadedCV/main.cpp:30:5: error: ‘UINT’ was not declared in this scope
     UINT uLen;
     ^~~~
../MultithreadedCV/main.cpp:30:5: note: suggested alternative: ‘MIN’
     UINT uLen;
     ^~~~
     MIN
../MultithreadedCV/main.cpp:31:23: error: ‘lpData’ was not declared in this scope
     if(!VerQueryValue(lpData,
                       ^~~~~~
../MultithreadedCV/main.cpp:31:23: note: suggested alternative: ‘QMapData’
     if(!VerQueryValue(lpData,
                       ^~~~~~
                       QMapData
../MultithreadedCV/main.cpp:33:31: error: expected primary-expression before ‘)’ token
                       (LPVOID*)&lpBuffer,
                               ^
../MultithreadedCV/main.cpp:34:24: error: ‘uLen’ was not declared in this scope
                       &uLen))
                        ^~~~
../MultithreadedCV/main.cpp:34:24: note: suggested alternative: ‘QPen’
                       &uL``en))
                        ^~~~
                        QPen
../MultithreadedCV/main.cpp:31:9: error: ‘VerQueryValue’ was not declared in this scope
     if(!VerQueryValue(lpData,
         ^~~~~~~~~~~~~
../MultithreadedCV/main.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [Makefile:603: main.o] Error 1
16:51:15: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project MultithreadedCV (kit: Desktop)
When executing step "Make"
16:51:15: Elapsed time: 00:03.

The error error: stray ‘\342’ in program happens when you copy & paste source code from somewhere else directly into your IDE.
The double quotes character “ ” used in many websites is different from the double quotes " " used in programming languages. Sometimes this happens also with single quotes characters.

thanks @karlphillip for your reply, and you're right, but I didn't copy and paste code, I just clone the repo from github
see for example: https://github.com/PacktPublishing/Computer-Vision-with-OpenCV-3-and-Qt5/blob/master/ch08/MultithreadedCV/main.cpp#L26

@avilleret , the following function is pasted by mistake. Remove it completely since it is not necessary and not used at all. I'll make sure to remove it now, sorry about that.
QString getVersionString(QString fName)

Should be fixed now. @avilleret thanks for pointing it out.


refactor: update models and configuration

:tada: This PR is included in version 0.53.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add binding for AzureML and integration of Sriracha adapters

Before you make a Pull Request, read the important guidelines:
Goals of this PR :tada:

What new capabilities / what bugs does this PR address?
Why is the change important?
What Github issue(s) does this PR address?

Things to check on :dart:

My Pull Request code follows the coding standards and styles of the project
I have worked on unit tests and reviewed my code to the best of my ability
I have used comments to help others understand my code better
My changes are not generating new warnings
I have added unit tests for both positive and negative test cases
All unit tests pass successfully before pushing the PR
Overall code coverage and diff code coverage is above the minimum requirement
I have made sure all dependent downstream changes impacted by my PR are working

Merging to develop for dev release


@conda-forge-admin, please re-render

@conda-forge-admin, please re-render.

@conda-forge-admin, please re-render.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/automake-feedstock#14.

Resolved in PR ( https://github.com/conda-forge/automake-feedstock/pull/14 ).


remove lines

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My contribution follows the style guidelines of this project
[x] I have performed a self-review of my own contribution
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings

#197

#197

Hi, please send the ss of the changes done
The line is also appearing in the contributors section and other pages too.
Please do the changes


provideWorkspaceSymbols API does not take into account multi-word queries

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

VS Code Version: 1.81.1
OS Version: Ubuntu 22.04.2 LTS

Steps to Reproduce:

Register a dummy WorkspaceSymbolsProvider and log the query argument

export function activate(context: vscode.ExtensionContext) {
   function provideWorkspaceSymbols(myQuery, token): vscode.SymbolInformation[] {
        vscode.window.showInformationMessage(myQuery)
        return [];
    }

    let disposable = vscode.languages.registerWorkspaceSymbolProvider({
        provideWorkspaceSymbols
    });

    context.subscriptions.push(disposable);
}

Use ''go to Symbol in Workspace'' -> "query1 query2"
myQuery will have its value equal to "query1"

I`m not sure if this is intended but I think it should be up to the symbols provider to decide whether or not to treat ( or make use of ) such cases.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.83.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Reproducible in VS Code 1.83.0 as well.

@bpasero @TylerLeonhardt Is this on purpose and/or a quick pick feature for nested filtering?

Quick open allows you to run a multi-query on providers when you separate search terms by space. The idea is to run multiple queries on each segment and then require each to match. This can be disabled when you surround with quotes.
However, I do not recall why we do this for symbol search:
https://github.com/microsoft/vscode/blob/9dbe48372d1b3ac1abc92ff8f319d1edcefeaaef/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.ts#L102-L113
I think the part after the first segment is used to narrow down results based on the container. Quite sure we had that for a long time and its nothing new.
I am fine changing this to query workspace symbols on the original value the user provided but it will likely break those providers that cannot deal with these kinds of queries?


Support for Component Islands

Scope
You can add a component to a view or page, and it will become interactive once the browser opens a websocket connection. This is similar to pre-rendering except it doesn't require integrating with the client-side router.
You can have multiple of these on a page.
Additionally, you can pass state (through parameters) to the component and it will just work to preserve your state when it becomes interactive.

This is already possible once we have the strong reconnects. It is essentially prerendering.

@danroth - is there anything we're tracking by leaving this issue open? I thought we did this.

Closing this as we already have support for it on server-side blazor. We can file a new issue if we want to cover client-side too.


Environmental issues of the project

I followed the install.md build environment to build four or five times, and every time I encountered ImportError:
"/DCNet-main/maskrcnn_benchmark/_C.cpython-36m-x86_64-linux-gpu.so:* undefined symbol: __cudaPopCallConfiguration"*.
But I am completely I installed it according to install.md. The cuda version of my computer is 9.0.176, and gcc tried 5.5 and 7.5, but they all reported the same error. What are the specific torch, cuda, torchvision, gcc and other environments you are using?  Why do I get an error following the installation tutorial? Looking forward to your quick reply! @hzhupku

cuda和torch不匹配

cuda和torch不匹配

我用的cuda10.0，torch1.2.0，没问题，，，你这个问题应该是你的torch是cuda9.0版本的，但是你的cuda不是9.0

建议使用docker创建环境来跑，很多东西都已经无法直接pip install到了，可以参考我的博客docker跑通DCNet

The details are in the INSTALL.md.


Add Rapid7 mappings

Purpose of this pull request
This pull request (PR) adds inventory source mappings for Rapid7 to:
https://help.sumologic.com/docs/cse/administration/inventory-sources-and-data/
Issue number:
TRIDENT-17698
Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions and updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

Thanks, @kimsauce.


Error when deleting credentials

Describe the bug
An error is generated, using version 1.9.1, for missing variable $adfi when trying to remove a credential that is no longer in config files.
It appears on line 16 $adfi should be $adfInstance which then generates the error inside of Remove-AdfObject.ps
https://github.com/Azure-Player/azure.datafactory.tools/blob/517d2f0e1c2a8a3aa9e4205845170bde875aed57/private/Remove-AdfObjectRestAPI.ps1#L16
Exception: /home/runner/.local/share/powershell/Modules/azure.datafactory.tools/1.9.1/private/Remove-AdfObject.ps1:134
Line |
 134 |          throw $ErrorMessage
     |          ~~~~~~~~~~~~~~~~~~~
     | The variable '$adfi' cannot be retrieved because it has not been set.
Error: Process completed with exit code 1.

To Reproduce
Your script to reproduce the behaviour:
1. Create credential
2. Deploy nothing
3. See error

Expected behaviour
Credential was deleted
Screenshots
If applicable, add screenshots to help explain your problem.
Version of PowerShell module of:

ver 1.9.1

Provide all files to reproduce the issue

Attach at least log file (you can wipe out any potentially sensitive info)
Attach files of objects which are involved in the process

To be precise: Is this happening when you use DeleteNotInSource flag enabled?