[All hosts] (Debugging) Update cache clear article to include web link

Customer issue #1137 and internal work item.

Docs Build status updates of commit 40e739b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/testing/clear-cache.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit cb95475:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/testing/clear-cache.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit cd615f7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/testing/clear-cache.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@AlexJerabek

I'm a little confused by the sideloading for the web article. The section linked to here recommends clearing the Office cache on the user's machine, but that shouldn't have an effect, right? Is that an artifact from an old version of the article?

In my experience, clearing the Office cache is an important step when re-sideloading an add-in on the web. @Rick-Kirkham,  can you confirm if the Office cache needs to be cleared after a manifest.xml is changed, before re-uploading that manifest.xml to the web?

Also, consider having the definitive cache clearing information in this article, instead of in the web sideloading article (and making the web sideloading article link here). I think that makes the reader's page flow a little easier.

This would involve refactoring multiple articles. I think the change included in this PR addresses the customer feedback. Is there more customer feedback indicating that we should re-think the entire Test and debug TOC section?

In my experience, clearing the Office cache is an important step when re-sideloading an add-in on the web. @Rick-Kirkham, can you confirm if the Office cache needs to be cleared after a manifest.xml is changed, before re-uploading that manifest.xml to the web?

I'm not aware of any absolute rules about when developers have to clear the Office cache. It was always my understanding that, in theory, it should never be necessary and that it came as a surprise to the engineers a few years ago when it was discovered that sometimes Office didn't recognize changes unless the Office cache was cleared. Clearing the Office cache is a workaround for a bug. (At least that's my understanding.)

Thanks, Ricky!
@AlexJerabek, given the information from Ricky, I think leaving the Office cache clear note in the Sideloading for web article is reasonable. Do you think this PR is good to merge, or are there further changes that you'd like to see?

Docs Build status updates of commit ee75512:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/testing/clear-cache.md
:white_check_mark:Succeeded
View

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Removes required "to" keyframes in animation

Describe the bug
When an SVG has key frames with to, svgo will remove them, which changes the animation.
This can be caused with the following SVG:
<svg width="48" height="48" viewBox="0 0 12.7 12.7" xmlns="http://www.w3.org/2000/svg"><style>@keyframes a{0%,to{clip-path:inset(84%0 0)}4%,96%{clip-path:inset(74%0 0)}16%,52%,84%{clip-path:inset(16%0 0)}20%,48%{clip-path:inset(19%0 0)}24%,44%{clip-path:inset(26%0 0)}28%,64%,72%{clip-path:inset(29%0 0)}32%{clip-path:inset(45%0 0)}36%,40%{clip-path:inset(35%0 0)}60%,76%{clip-path:inset(23%0 0)}68%{clip-path:inset(32%0 0)}}@keyframes b{0%,32%,40%,68%,to{clip-path:inset(13%0 0)}4%{clip-path:inset(20%0 0)}76%,8%{clip-path:inset(23%0 0)}16%,84%{clip-path:inset(29%0 0)}28%,72%,96%{clip-path:inset(19%0 0)}36%{clip-path:inset(16%0 0)}48%{clip-path:inset(45%0 0)}52%{clip-path:inset(58%0 0)}56%{clip-path:inset(48%0 0)}60%{clip-path:inset(35%0 0)}64%,92%{clip-path:inset(26%0 0)}88%{clip-path:inset(39%0 0)}}@keyframes c{0%,to{clip-path:inset(52%0 0)}16%{clip-path:inset(0 0 0)}20%,84%{clip-path:inset(10%0 0)}24%,52%{clip-path:inset(26%0 0)}28%{clip-path:inset(39%0 0)}32%,44%{clip-path:inset(48%0 0)}36%{clip-path:inset(55%0 0)}40%{clip-path:inset(68%0 0)}48%,92%{clip-path:inset(32%0 0)}56%{clip-path:inset(16%0 0)}60%,76%,88%{clip-path:inset(23%0 0)}68%{clip-path:inset(29%0 0)}72%{clip-path:inset(35%0 0)}80%{clip-path:inset(13%0 0)}}</style><path d="M2.117 2.249h2.38v8.202h-2.38z" fill="#FFF" style="animation:a 1.25s linear infinite"/><path d="M5.292 2.249h2.38v8.202h-2.38z" fill="#FFF" style="animation:b 1.25s linear infinite"/><path d="M8.467 2.249h2.38v8.202h-2.38z" fill="#FFF" style="animation:c 1.25s linear infinite"/></svg>

To Reproduce
Steps to reproduce the behavior:

Download the SVG locally. (Open it in a browser so you know how it normally looks.)
Run svgo to optimize it, which will remove the to frames in the animation.
Open the result in the browser, and notice the animation flickers.

Expected behavior
The to frames should be preserved.
For example: 0%,to{clip-path:inset(84%0 0)}, should not become 0%{clip-path:inset(84%0 0)}.
Desktop (please complete the following information):

SVGO Version: 2.8.0
NodeJs Version: 16.13.1
OS: Debian 11

I'm looking further into this over time to see if I can open a PR myself.
The issue is caused by the minifyStyles plugin, the actual bug is upstream in CSSO, one of the dependencies.
I'll open an issue there as well with an MRE.

I believe this issue has been fixed in CSSO.
As soon as it's released and the dependency is updated here, I can test it and close this issue if it's resolved.

A workaround is to use from and to (it will be correct then), but that of course will not be sufficient if you need steps in between.

Closing this as resolved! 🎉
Opened a PR against it anyway to add a test, but no need to keep this open.


reason for TextRenderer class not open for extending

Hey guys, I was just wondering why TextRenderer class is marked as final why can't it be open for extending. Is there a reason for this? I wanted to add subtitle sync functionality to the TextRenderer by extending it but can't since it's marked as final class

TextRenderer is not designed to be subclassed. This allows us to evolve its implementation with more flexibility, because it is easier to reason about how it cooperates with other components. See also Items 18 and 19 in Effective Java 3rd Edition: Item 18: 'Favor composition over inheritance' and 'Design and document for inheritance or else prohibit it'. We follow this rule for many components of ExoPlayer.
As a concrete example, we recently made significant changes to the functionality of TextRenderer in https://github.com/androidx/media/commit/6ad54d72adf50df7604094da4f62fe102a9c7707. This change would have been a lot harder to make while maintaining behavioural compatibility with all possible subclasses that might have been created by users of the library.

If you have specific functionality in TextRenderer that you would like to customize, please consider how it could be extracted as a well-defined compositional component which we could encapsulate in a new interface.


[IO-1264] Fix for OOM find_contours issue

Problem
find_contours function calls sometimes result in an OOM issue. Some issue in the underlying simplify_polygon function causes the algorithm to fail to exit and therefore continually append points to a list, resulting in a continually growing use of memory.
Solution
By comparing the simplify_polygon algorithm to existing implementations here
https://namekdev.net/2014/06/iterative-version-of-ramer-douglas-peucker-line-simplification-algorithm/
and the base recursive algorithm here
https://en.wikipedia.org/wiki/Ramer–Douglas–Peucker_algorithm
we can see that the algorithm is meant to iterate from i=startIndex+1 to i<endIndex-1 (exclusive) in both instances, but currently iterates to (endIndex) on one of the loops, not setting the stack correctly.
Changelog
Fixes an issue that causes memory use to spiral out of control when attempting to find the contours of an image.

@Nathanjp91 Did you test that this actually works functionally? As in, we should create quite a lot different polygons (complex and simple) on our UI, export in COCO format, and then try to re-import that with this code, than compare. This looks a bit scary without proper functional testing.

Scrap the epsilon idea, that was totally wrong logic.

updates here: https://github.com/v7labs/upolygon/pull/16


Add option to ignore rule IDs

I don't know how to test the action locally/on my repo, so I'm not 100% sure this works correctly

@microsoft-github-policy-service agree

@maj113 Thanks for the contribution.

so I tested this locally now and it seems to not work properly (it only parses the first ID)
DevSkim doesn't actually have a example on how to use --exclude-rule-ids
but I tested devskim on my machine and it only ignored rules if it wasn't in quotes, for some reason when running the action docker passes it in quotes ..."GITHUB_WORKSPACE" "**/.git/**,**/bin/**" "DS176209, DS148264"

It still seems to report the second one

Hmm interesting I tested it with a single rule and it was working but forgot to test the multiple case.
Have you tried comma separated without the space separating?

Have you tried comma separated without the space separating?

that works!
Needs change in readme then

Have you tried comma separated without the space separating?

that works! Needs change in readme then

#20.

Maybe it would be a good idea to document --ignore-rule-ids a bit on the main devskim repo

I've added a usage example to the wiki: https://github.com/microsoft/DevSkim/wiki/Analyze-Command#ignore-rules-by-id


Blockly on the web takes over the entire page

Blockly on the web takes over the entire page, and even Scaffold/AppBar isn't displayed. I have tried putting the editor in a container and sized box as well but the constraints aren't respected as well.

Thanks @SerSerch. Please, let me know if I can help in any way.

@sajjaduc one of the problems with flutter (web) is that all elements have position absolute.
or all elements are rendered in canvas
  <script>
    window.addEventListener('load', function(ev) {
      // Download main.dart.js
      _flutter.loader.loadEntrypoint({
        serviceWorker: {
          serviceWorkerVersion: serviceWorkerVersion,
        },
        onEntrypointLoaded: function(engineInitializer) {
          // config with html or canvas (default)
          engineInitializer.initializeEngine({
            renderer: "html",
          }).then(function(appRunner) {
            appRunner.runApp();
          });
        }
      });
    });
  </script>

flutter_blockly adds an editor using JS
I added "style" so that styles can be controlled
BlocklyEditorWidget(
          workspaceConfiguration: workspaceConfiguration,
          initial: initialJson,
          onInject: onInject,
          onChange: onChange,
          onDispose: onDispose,
          onError: onError,
          style: '.wrapper-web {top:58px;bottom:50px}',
        ),
      )

It's all I can do (v1.4.4)
I hope this helps you

Thanks @SerSerch.
Would it be possible to put the editor in a Container and dynamically change style based on the constraints of the Container as that will pretty much achieve what we want?

@sajjaduc good idea, I'll try to add that

@sajjaduc flutter_blockly 1.4.5

Thanks @SerSerch. It seems this still requires use of manually passing in style with the top and width etc to set it up correctly. Is my understanding correct?

Wouldn't it be better to use webview_flutter_web package and using loadHtmlString to add the div for the editor, instead of just adding it directly to the root?

@sajjaduc yes, you still need to pass the style
.wrapper-active {top:58px; left:0;}

but the height and width are determined automatically.
webview_flutter_web it is iframe
this is a bad implementation
I will look for some new solution to make it ok

@sajjaduc Hi. I finally found a solution HtmlElementView
there will be an update soon
  @override
  void initState() {
      super.initState();
      platformViewRegistry.registerViewFactory(
        'blocklyEditor',
        (int viewId, {Object? params}) {
          final divElement = DivElement();
          divElement.id = 'blocklyEditor';
          return divElement;
        },
      );
  }

  @override
  Widget build(BuildContext context) {
    return const HtmlElementView(viewType: 'blocklyEditor');
  }


Publish on Accrescent store

Would you please consider publishing it on Accrescent; an alternative android app store?
See their guide: https://accrescent.app/docs/guide/getting-started/

Sure, I would like to publish my app to as many app stores I could

The project is still in alpha phase, you can contact them on Matrix, if you've any queries.

For now, I will stick with F-Droid and IzzyOnDroid. Maybe later I will consider adding to that app store.


The retrieved workflow is null

When using this step, I get this in the output
Workflow id: null
I tried hardcoding the workflow id and running the next bash command and it returns null as well.
Trying with a PAT, I get the correct results.
Therefore, I suppose that this is only a matter of token permission.
Is there anything to do in the settings of the repository to provide the GITHUB_TOKEN the appropriate permission?

adding the actions permission solved it.
So my job looks like this
  CI:
    permissions:
      actions: read # to get the status when trying to slack notify
      contents: read # to checkout the repository
  ...
   steps:
  ...
      - name: Get previous workflow status
        uses<EMAIL_ADDRESS>        id: last_status
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}


KOGITO-7292: Patch PR for KOGITO-7290 with doc improvements in Handling events on workflows guide

JIRA: https://issues.redhat.com/browse/KOGITO-7292

Description: Patch PR for KOGITO-7290 with doc improvements in Handling events on workflows guide

https://github.com/kiegroup/kogito-docs/pull/100
Please make sure that your PR meets the following requirements:

[x] You have read the contributions doc
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] The nav.adoc file has a link to this guide in the proper category
[x] The index.adoc file has a card to this guide in the proper category, with a meaningful description

@fjtirado Please review the changes in this PR and share your comments.

@fjtirado I've made the changes as suggested. Can you please take a look one more time and let me know if this PR is ready to merge?


Doc

Purpose
Fix doc issue
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the changelog
[ ] Added tests

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


Update how collection instruments get loaded for BRES

Motivation and Context
The purpose of this PR is to update how collection instruments get loaded for BRES. At the time this was created, the collection exercise was hardcoded so needed to be updated and other parts of the code needed refactoring to tidy it up. After this goes in:

The Jenkins job will need to be updated for the new environment variables,
The asymmetric keys that are they need to be checked in case they're out of date

What has changed

The collection exercise has now been updated to an environment variable
Added more environment variables
Added a config so all environment variables can be put in one place
Added a Dockerfile for it to run

How to test?

Make sure that the tests pass
try attempting to run the entire service with sdx-seft-publisher-service

At the moment, you'll have to build the image locally to get it to work so do docker build -t sdcplatform/ras-rabbit-adaptor-service . to build the image. You'll have to do the same with sdx-seft-publisher-service
Run the Docker-compose file on sdc-ci-upload-compose with the image and it should all start up correctly.
Other repos used:
sdx-seft-publisher-service
sdc-ci-upload-compose

@ryangrundy7 may want to introduce some checks to this repo, like codacy and codecov


Change update strategy from name to semver with git write-back will have error

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

Enable git write-back
update-strategy: name, let it write-back to .argocd-source-*.yaml
change update strategy to semver
Unable to find newest version from available tags: Invalid Semantic Version in logs

Expected behavior
Former strategy result should not cause error with new strategy. When we change to new strategy, should always override old tag.
Additional context
Workaround:

Stop Argo CD Auto Sync
Scale down argocd-image-updater to zero instance
manually upate tag in .argocd-source-*.yaml
manually Argo CD Sync
Wait App -> SUMMARY -> IMAGe have correct result. (It will have both old strategy tag and new tag co-exists a while)
Scale up argocd-image-updater to one instance

Version
Argo CD: v2.1.3
argocd-image-updater: v0.10.3
Logs
Unable to find newest version from available tags: Invalid Semantic Version" alias=eucleia application=hub-main image_name=eucleia image_tag=20211001T060636 registry="repo.mycompany.com"

We're facing a similar problem where image-updater won't update the initial stable image because it is not semver. If one specifically specifies a semver constraint, I can't see the reason why it shouldn't update to the most recent version that matches the constraint.
I'm not totally sure about leveraging the force-update option, since it seems like this goes beyond the intent of that flag.
@jannfis would you be happy to take a PR to address this?
Something like:
t.Run("Find the latest version with a semver constraint when base is a named tag", func(t *testing.T) {
  tagList := newImageTagList([]string{"0.1", "0.5.1", "0.9", "1.0", "1.0.1", "1.1.2", "2.0.3"})
  img := NewFromIdentifier("jannfis/test:stable")
  vc := VersionConstraint{Constraint: "1.x.x"}
  newTag, err := img.GetNewestVersionFromTags(&vc, tagList)
  require.NoError(t, err)
  require.NotNil(t, newTag)
  assert.Equal(t, "1.1.2", newTag.TagName)
})

I'm having trouble trying to change from the latest to semver strategy without having to take down all of the running pods. I've even set the initial tag to be semver in the kustomization.yml to no avail.

I've suffered from this issue. I also tried to change my update strategy from latest to semver but when my current tag name wasn't qualified with semver, it returned errors.
I think this is a bug and I hope the bug fixed. If no one is handling this issue, can I fix this?
Please refer to https://github.com/argoproj-labs/argocd-image-updater/blob/f12a5ab6d3c69299ccd02473bdebdebc24131cb4/pkg/image/version.go#L109

I think it'd be great to have an annotation were you could specify one or several tags that, when found, image-updater automatically upgrades to the latest semver image found in the registry.
e.g., If you find [latest,master,stage] in the running application, just override the image with the semver latest found in the registry

Running into the same issue trying to update from latest to semver

This also seems to happen while using images that has no semver tags with the latest strategy

I know this is an old thread, but for anyone having this issue, I was able to fix it by setting an override for the app.
I ran argocd app set appli -p image.tag=v1.5.0 and after that argocd-image-updater could update to v1.5.1.
Using constraint vx.x.x, update-strategy: semver, helm.image-name: image.repository.


Use specialized struct for solver orders

There is no need to carry around the extra information for the front end facing orders endpoint so we use a smaller struct for the solver facing endpoint. Likewise querying these orders from the db can be done with a specialized query.
This is good to have before #323 . In this PR the balance filtering for solver orders is temporarily removed. Will add it back in that PR.
Before writing more tests for the db query I want to see if this PR gets positive feedback. If so I will add more tests before merging into main.
Test Plan
e2e test

however I'm not convinced we should duplicate the fetching logic (I assume for balance computation a lot of the logic will also be duplicated).

This definitely deserves discussion. To me these routes feel different enough that I thought it would be better to split them up even though they could share code right now. I am worried that otherwise we end up making get_solver_orders more complicated as get_orders gets extended more.
It is true that balance computation will be somewhat duplicated too. On the other hand I am not sure if availableBalance even makes sense on the frontend facing orders anymore when the solver_orders is it's own struct. For the frontend a new route user_balance <user address> <sell token> probably makes more sense than attaching this to every order. So the logic would end up existing only once if we made that change too.

I've resolved the merge conflicts. Looking back at the discussion I think I was waiting for a response from you @fleupold .

Closing this for now because we started making use of order meta data in the solver too and the point about not duplicating the db query makes sense.
The executable amount change is useful but I don't like the code duplication just for that. Can attempt to do something about that again in the future if it becomes more clear if/how the frontend wants to react to some orders not being solvable.


Fix buildAndRunTests.ps1

Fixes problem where buildAndRunTests.ps1 failed when run from the root directory.

:+1:


fix mitmWeb crash, when using filter

Description
mitmWeb crash, when using filter.

How to reproduction:

catch more than 2000+ flows
scroll to the end of flowTable
input a filter condition, which only hits a small number of flow items. Maybe less than 100 flow items
then the flow table's height reduces from 2000 * 32px to 100 *32 px
you will get the crash

Root cause:
FlowTable.jsx->FlowTable: the variable viewportTop is set to viewport.scrollTop in componentDidUpdate().
in the above case, vScroll.end, vScroll.paddingTop, vScroll.paddingBottom is small, but viewportTop is still a large number
this will case "<thead ref="head" style={{ transform: translateY(${viewportTop}px) }}>" more higher than excepted.
scrollTop only reduce offsetHeight each time FlowTable render()
then " Maximum update depth exceeded.", mitmWeb crash

How to fix:
set viewportTop to 0, when vScroll.start > vScroll.end

Checklist

[ ] I have updated tests where applicable.
[ ] I have added an entry to the CHANGELOG.

Thanks for the very clear repro! I haven't looked deeply into it, but intuitively the calcVScroll helper should return correct values and we shouldn't need to do vScroll.start > vScroll.end tests. :)


Changed Rule Sequence of Location vs. Content-Location Header

Please check if the PR https://github.com/zalando/restful-api-guidelines/pull/649 introduces changes which are relevant to the Zally project.

No changes are required.


Separe to GenericOpeningController?

Opening components will possibly do the same operations, what changes is virtually communication. In this way, it is interesting to create a generic class that has all these operations.
In this way, creating a GenericOpeningComponent is useful for sparing development efforts.

Not separe. If necessary, uses:

REST

from tornado.httpclient import HTTPRequest, AsyncHTTPClient, HTTPError

Example: WebServiceSerial - RequestMessageProcessor

WebSocket

from tornado.websocket import websocket_connect

Example: WebServiceSerial - WebSocketClient


std.socket: -dip1000

Fails on windows std\socket.d(1756): Error: scope variable addr may not be returned.

Error: scope variable addr may not be returned

Looks like dip1000 found a latent corruption bug in std.socket


[SW-173358] add first token prints

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@dvarshney-habana, @puneeshkhanna
the purpose for those prints is to measure first token latency. coming from the ticket - https://jira.habana-labs.com/browse/SW-169485
you can see the prints in the logs:
/software/users/sweinberger/infer/models/file-llama-7b.txt
/software/users/sweinberger/infer/models/file-llama-70b.txt
/software/users/sweinberger/infer/models/file-falcon-40b.txt
/software/users/sweinberger/infer/models/file-gpt-j-6b.txt

Changes look good to me.
@shakkedw  - make style done ?


bug: unable to build zine-ssg.io on a fresh build

I attempted to use the docs to build and test zine-ssg.io. However, when I attempt to run this as is, I get the following error on both macOS and Linux running with Zig 0.13.0:
/Users/ethan/.cache/zig/p/1220c7a5284269c9aca520c601438155d81dc4e27cb79696b6648aef24686d4c942d/build.zig:290:25: error: no module named 'zig-afl-kit' available within module<EMAIL_ADDRESS>    const afl = @import("zig-afl-kit");
                        ^~~~~~~~~~~~~
referenced by:
    build: /Users/ethan/.cache/zig/p/1220c7a5284269c9aca520c601438155d81dc4e27cb79696b6648aef24686d4c942d/build.zig:248:5
    runBuild__anon_16353: /nix/store/59c7cd6llbcg4zjvgymppcgab54qpv26-zig-0.13.0/lib/std/Build.zig:2117:37
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
/Users/ethan/.cache/zig/p/1220a064034f7b797618a1fc5c2f3596b5dbfe4f309afd0798cfc77bbea6bb5eb672/build.zig:2:21: error: no module named 'zig-afl-kit' available within module<EMAIL_ADDRESS>
Interestingly, when I build using zine version 0.1.0 this build completely fine and subsequent builds work fine. I am guessing this is likely due to an issue with caching zig-afl-kit happening incorrectly. Furthermore, if you remove the .zig-cache directory, this error will once again propagate. zine is able to build standalone, but the site is not able to be built. Feel free to let me know if I can help to work through this!

Yes sorry that's on me, first time working with lazy dependencies and I didn't do it properly, fix incoming (you can use a previous version of zine in the meantime).

if you fetch the latest commit now you will find that everything works now. I'll add an entry in the website's changelog tomorrow (kinda late here now) but as a quick upgrade guide:

Update zine: zig fetch  --save git+https://github.com/kristoff-it/zine
In your build.zig:

change addWebsite to website
remove the try

No worries! I just wanted to make sure it was on your radar. New changes seem to be working well and speed up the compile time!

Fixed in v0.2.0, please reopen this issue if you still can reproduce the problem :^)


[AVM Module Issue]: Add missing backup-instances for avm/res/data-protection/backup-vault module

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/data-protection/backup-vault
(Optional) Module Version
0.4.2
Description
The Microsoft.DataProtection/backupVaults/backupInstances part of backup vaults module avm/res/data-protection/backup-vault is missing
(Optional) Correlation Id
No response

Will be picking this work up next.

I figured out my issue. I was looking at documentation for the wrong API version.

Running into this issue when trying to write a test to implement a backup-instance: https://github.com/Azure/azure-cli-extensions/issues/7628


Replace usage of 'master' language with 'primary'.

Codecov Report

Merging #81 (c0d4086) into main (808cc0e) will increase coverage by 0.04%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   69.08%   69.12%   +0.04%
==========================================
  Files           7        7
  Lines         731      732       +1
==========================================
+ Hits          505      506       +1
  Misses        226      226

Impacted Files
Coverage Δ

lib/loggers/WorkerTransport.js
93.75% <ø> (ø)

lib/loggers/index.js
75.00% <ø> (ø)

lib/bedrock.js
59.43% <50.00%> (+0.14%)
:arrow_up:

lib/config.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


chore: update package.json breakdown to be inline with updated boosters

The package.json changed just a little bit, so this reflects those changes
launcher PR https://github.com/fabric8-launcher/launcher-booster-catalog/pull/231

Can one of the admins verify this patch?


Basic support of jQuery UI MultiSelect Widget for muli_select

Added basic support for jquery-ui multiselect widget: http://www.erichynds.com/blog/jquery-ui-multiselect-widget
With both select2 and chosen, element height may vary if too many elements are selected...

Hi, you have patched the wrong file, you should send the PR for the beta file because its more updated, since your not the first one to do this mistake I think I'll stop with putting beta in separate folder and work on the file that inside the root. Please apply it to the the beta file


Update live-stream.md

Supportability PM Vitaly reported that customers had said that sections on using unsecure control channel was unclear. Updated section. However, there is a screen shot that included in that section that is kind of old (./media/live-stream/live-stream-auth.png). I tried to update that as well, but I don't have push permissions to the repository. Sent Email to Aaron Maxwell with image attached.

@abinetabate : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I am closing this PR and opening a new one to update the image.

#please-close


Upgrade codebase to go 1.15 and other associated updates

@kpacha , any chance you can review and see if PR is fit for merge? Cheers.


Cross-validation for selecting optimal number of clusters

We should code up a script that implements 10-fold CV for selecting the optimal number of subtype (see the SuStaIn paper).
For each fold:

Calculate model likelihood for test and training sets;
Output/Save this, and optionally also plot.

Leon added this functionality so I'm closing this comment


implement gpg/signapi verification

An important part of doing this is retaining support for GPG signing.
I think the best way might be for the API to accept something that looks like an ostree remote config, except minus url.
Also we need to enhance the core ostree C API to support verifying a commit in memory.  It looks like right now we'd need to add a temporary repo as a remote, and pull the commit to that to verify...eww.

This will depend on https://github.com/ostreedev/ostree/pull/2340

From an out-of-band chat: I know ostree has much flexibility and my understanding/knowledge is likely a bit blurry.
What I'd advocate for is not using all its flexibility upfront, especially around the "importing signatures before transporting" part.
As a developer, I'd prefer a model where signatures are transported in a detached way, and only re-glued together at the consuming/importing side (after verification).
In the container world, that would possibly mean having a pristine content layer without any kind of signatures, and a separate metadata layer (or entry in an parent manifest).
All of this from a very high-level point of view, where I don't know if there are technical issue making this a bad idea.

Previous to a team discussion I'd been envisioning this converting this tarball stream:
[commit object][metadata and content objects]

to:
[commit object][commit metadata file][metadata and content objects]

i.e. we mutate the tarball stream.  This would be quite natural for us to parse and handle.  It's also mean that the commit object appears in the tar stream and can at least be inspected via e.g. podman run ....  (Hmm, ideally e.g. ostree show Just Works inside this container image, which mayh not be the case today)

In the container world, that would possibly mean having a pristine content layer without any kind of signatures, and a separate metadata layer (or entry in an parent manifest).

So...yes, this is possible.  And I do see an advantage here in not modifying the layer tarball.
However, a problem then becomes how much we try to align with e.g. https://github.com/containers/image/blob/a5061e5a5f00333ea3a92e7103effd11c6e2f51d/docs/containers-signature.5.md#json-data-format
On one hand, it's confusing to do so because this is not a signature of the layer, just of a subset of it.  On the other as you say it is more "container like" to do so.


stackResourceRegistryFactoryBean returns null value

Encountering a problem with starting an application using spring-cloud-starter-aws:2.1.0.RELEASE with cloud.aws.stack.auto = false. The application encounters the following error:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stackResourceRegistryFactoryBean' defined in class path resource [org/springframework/cloud/aws/autoconfigure/context/ContextStackAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.ClassCastException: org.springframework.beans.factory.support.NullBean cannot be cast to org.springframework.beans.factory.FactoryBean
This is likely due to org.springframework.cloud.aws.autoconfigure.context.ContextStackAutoConfiguration.stackResourceRegistryFactoryBean() returning null.
@Bean
    @ConditionalOnMissingBean(StackResourceRegistry.class)
    public StackResourceRegistryFactoryBean stackResourceRegistryFactoryBean(AmazonCloudFormation amazonCloudFormation) {

        if (StringUtils.hasText(environment.getProperty("cloud.aws.stack.name"))) {
            return new StackResourceRegistryFactoryBean(amazonCloudFormation, new StaticStackNameProvider(this.environment.getProperty("cloud.aws.stack.name")));
        }

        if (environment.getProperty("cloud.aws.stack.auto") == null || "true".equalsIgnoreCase(environment.getProperty("cloud.aws.stack.auto"))) {
            return new StackResourceRegistryFactoryBean(amazonCloudFormation, new AutoDetectingStackNameProvider(amazonCloudFormation, this.amazonEC2));
        }

        return null;
    }

Should this be changed to use @ConditionalOnProperty("cloud.aws.stack.name") and @ConditionalOnProperty("cloud.aws.stack.auto") ?

same issue in my project.

I am not able to reproduce it using 2.2.1 version. Could you please provide complete sample as a github repository that reproduces this issue?

Running into the same issue. Just adding some more info that might be help troubleshoot.
I'm seeing the issue arise when beanFactory.isSingleton("stackResourceRegistryFactoryBean") is called and StackResourceRegistryFactoryBean is null due to the bean registration from the original post. In my case, the isSingleton() call is being made from a BeanPostProcessor provided by Axon.
Not sure if this means the responsibility falls under spring-cloud-aws, another Spring team, or Axon. Hopefully someone here can provide a bit more direction.
Caused by: java.lang.ClassCastException: class org.springframework.beans.factory.support.NullBean cannot be cast to class org.springframework.beans.factory.FactoryBean (org.springframework.beans.factory.support.NullBean and org.springframework.beans.factory.FactoryBean are in unnamed module of loader 'app')
	at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFactory.java:441) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.axonframework.spring.config.AbstractAnnotationHandlerBeanPostProcessor.postProcessAfterInitialization(AbstractAnnotationHandlerBeanPostProcessor.java:73) ~[axon-spring-4.3.3.jar:4.3.3]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:431) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE]

I think @reypader suggestion is valid:
@ConditionalOnProperty("cloud.aws.stack.name") and @ConditionalOnProperty("cloud.aws.stack.auto") with havingValue=true and matchIfMissing=true should do the job. PRs welcome!


Add v0.38.0, v0.37.1, and v0.37.2 to README

Changes
This commit adds links to the latest Pipelines releases to the README.
/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
n/a Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
n/a Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
n/a Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/test all

timeout tests flake-- we're working on fixing
/retest

/test check-pr-has-kind-label


Public leaderboard

When will the public leaderboard open? Thank you.

@Zbozhou Leaderboard reopened: https://huggingface.co/spaces/AGC2024/driving-with-language-official


Merge from master to BAEL-2969 branch

Merge from master to BAEL-2969 branch

Merge from master to BAEL-2969 branch


Startup option: --help-. changed to --help-all

https://www.arangodb.com/docs/stable/administration-configuration.html
This was changed at some point, possibly devel (3.5.0) only. Need to adjust docs.

#880


proposal: io: provide adapter types for the fundamental interfaces of Reader/Writer/Closer

I believe that adapter types like http.HandlerFunc are incredibly useful. In fact, they are so useful that I want to use them in many places. Frequently, I want to use adapter types to implement io.Reader and io.Writer (and sometimes even io.Closer) behaviors.
Yes, it's not much code to define those adapter types, but it's kind of annoying to have to re-write them in each project. I believe the community would be well-served if these adapter types were established right there in the standard library.
I originally came at this proposal from a code-first approach: https://go-review.googlesource.com/c/go/+/98519 / https://github.com/golang/go/pull/24247. Within that PR I found that the io.TeeReader was ripe for re-implementation by an io.ReaderFunc, and in multi_test.go there's already a writerFunc defined that could be replace by a standard io.WriterFunc.

A more general solution for Go 2 has been proposed in #21670

Deferring this proposal in favor of #21670.


How do I get rustfmt to stop complaining about lines it can't fix?

I'm trying to get Diesel using rustfmt. We have a comment that is a long link. Rustfmt can't break it up (It seems like it doesn't actually try to touch comments at all?). I wouldn't want it to. There is no way to make that line shorter. How do I make rustfmt not complain about that line every time I run it?

There's basically no way right now. Somewhat related is https://github.com/rust-lang-nursery/rustfmt/issues/584. But even if we skipped formatting (which we do anyway) we would still complain about the line length. I'm not sure what a solution here looks like - an option to not complain about overlong comments? A skip comment which also turns off warnings? Something else?

Frankly I'm not sure why rustfmt needs to complain that it couldn't fix a line in the first place? All of the cases in Diesel are a combination of long comment lines (usually links), poorly formatted doc comments (which I'm actually surprised weren't handled), and macros which I wouldn't expect it to touch. It's not valuable information to me as a user that rustfmt couldn't do anything to those lines.

You could set error_on_line_overflow = false to prevernt rustfmt from complaining about lines exceeding max_width.

This doesn't really help with rustfmt, but I usually use URL shortener for long links in the code.

@kirs, please note that this makes you depend on the continued existence of that link shortener.
@sgrif, you can in the meantime also use cargo fmt -q to omit any output :)

Closing this since we now have error_on_line_overflow_comments configuration option to suppress warnings against single line comments.


Add Safari 12 for iOS

#4292 added Safari 12 for macOS, can you add Safari 12 for iOS too?

Seems added


feat(saml): option to create minimal SAML metadata file

In #6507 @mffap proposed that:

While creating a SAML application, I'm required to provide a metadata file. Not all providers expose this metadata file or it is clear where to find it. ZITADEL does not provide any guidance in the Wizard on what to do when the file is not available. [...] Allow users to provide ENTITYID and ACSURL with text fields and create the minimal metadata file on-the-fly [...]

This PR adds a new option when we create a SAML application (either wizard or pro mode) with two input fields for ENTITYID and ACSURL so a minimal metadata file is created on-the-fly. Also we've the same option available when we visit the app's detail.
Here's a video showing this new feature
https://github.com/zitadel/zitadel/assets/30386061/fd74176a-4c01-4738-9a0d-a688d13c49f1
Closes #6507
Definition of Ready

[X] I am happy with the code
[X] Short description of the feature/issue is added in the pr description
[X] PR is linked to the corresponding user story
[ ] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[X] No debug or dead code
[X] My code has no repetitions
[ ] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[X] Functionality of the acceptance criteria is checked manually on the dev system.

Sure @peintnermax I'll prepare the changes today or tomorrow. Thanks for your review and the suggestions

@eliobischof it seems that the FF test failed... if you want it to, I may try to test manually with latest Firefox in my machine that SMTP test and update the PR if that cypress test can be fixed/improved

@eliobischof it seems that the FF test failed... if you want it to, I may try to test manually with latest Firefox in my machine that SMTP test and update the PR if that cypress test can be fixed/improved

#6811 as follow up. It is not caused by this PR. But feel free if you want to give it a shot :).


There was a race condition in the build where there are three jobs for amd64, x86, arm64 that builds Foundation and which ever job copied this dll to the net5.0-windows10.0.18362.0 folder is the one that gets included in the final WindowsAppSDK.
This PR fixes this issue and allows the tests in x86 and arm64 to compile against the binary.

/azp run


ANY query first, unless DNS server doesn't support ANY

On a per-domain basis dnsbrute needs to first perform an ANY query.
If it returns data for the ANY query, then all further queries can be ANY queries.
If it throws some kind of error, or notifies us that it will not process ANY queries, then the second strategy is used - query for A, AAAA, CNAME etc.
However, some DNS resolvers may not support ANY queries, so we should modify checkresolvers to try and do an ANY query against example.com - and output that as a flag if it's supported.
E.g. checkresolvers will output
<IP_ADDRESS> ANY AXFR

Indicating that the nameserver supports both ANY and AXFR transfers.
zonetransfer.me can be used as a test domain for AXFR.


Maven multi module : merge json config files of the tracing agent

Hi everyone, I hope you're very well.
I come back to you about a problematic on the tracing agent piloted by the surefire maven plugin.
Context :
In maven multimodule project, I need to merge all config json files from the tracing agent into the bootstrap module; where maven build the uber jar. The tracing agent has a capacity to merge with config-merge-dir parameter. So I use it to redirect the output inside the target of the bootstrap module.
My approch is to split on two maven life cycles.
// usefull to force the target clean on all multi module project
// and avoid clean the target of the bootstrap module anytime during a lifecycle.
mvn clean

// run the tracing agent and merge the files inside the target of the bootstrap module
mvn test -PtracingAgentOld

What do you think ? I guess you have already encountered this problem. Do you have a better idea ?
Thanks !

Hi, I am not sure to understand what is exactly the problem you want to solve since config-merge-dir seems to be a valid way to do this. Could you please elaborate?

Hi Mister Deleuze,
Sorry for late.
My point is about the merge of json files of the tracing agent in a multimodule maven project environnement. You're solve this problem in the AOT plugin.
If I understood correctly, the plugin produce a graalvm json files inside every maven module. Next, the AOT plugin (or other) merge all json files into the bootstrap maven module, where you have a spring-boot maven plugin configured.
How did you do merge json configs with the AOT plugin ?
When you run a maven lifecyle, maven can clean a target anytime. If you configure the config-merge-dir in the target of the boostrap maven module, you risk losing your json files.
I hope it's clear. I'm sorry if the question is a bit off topic compared to spring native.
Thanks for your time.
Have a great day and best weekend !

We don't need to merge those file, GraalVM native-image will automatically merge all the files detected in the various META-INF/native-image directories available in the various modules. Usually a best practice is to use META-INF/native-image/groupId/artifactId with groupId and artifactId to be replaced with values accurate for your modules. See more documentation in https://www.graalvm.org/22.2/reference-manual/native-image/metadata/.

Good to know. Thanks for your answer.
Best regards.


Spyder hangs on launch when python##/scripts is in the path

There have been similar questions recently (fail starting) therefore I did not mention it, but I had the same issues since 3.1.4. In fact all versions from python2.7 to 3.5 I could test including latest git fail to start (on win7, all packages up-to-date).
The splash screen hangs in the last steps (loading main window or plugins).
I've tried spyder reset, --show-console... but no help.
I could track down the issue to the presence of ".../python35/scripts" in the variable path. Without this folder spyder starts normally. However I don't know why. But it is a pity to suppress it (spyder3.exe is here).
NB: apparently it has nothing to do with 3.1.4, just a circumstance.

I don't know what to about this. It seems a problem related to your way of handling PATH on Windows.
You're welcome to send us a PR to fix this, if you find a way to do it.


Change PCRE escape to simple escape

As mentioned in https://github.com/w0rp/ale/pull/1890#discussion_r216167903, it would be more useful to use a simple escape here instead of PCRE.

Cheers! :beers:


Virtual Keycode is incorrect on macOS non-qwerty layouts

The virtual_keycode field seems to be incorrect when using a non-qwerty layout.  It seems to always return values corresponding to the qwerty (or perhaps physical?) layout.
I'm running the following program:
extern crate winit;

fn main() {
    let mut events_loop = winit::EventsLoop::new();
    let window = winit::Window::new(&events_loop).unwrap();

    events_loop.run_forever(|event| {
        println!("{:?}", event);
        match event {
            winit::Event::WindowEvent {
                event: winit::WindowEvent::CloseRequested, ..
            } => winit::ControlFlow::Break,
            _ => winit::ControlFlow::Continue,
        }
    });
}

Pressing a dvorak P here (qwerty 'R')  results in the following lines:
WindowEvent { window_id: WindowId(Id(140217433672064)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 15, state: Pressed, virtual_keycode: Some(R), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }

WindowEvent { window_id: WindowId(Id(140217433672064)), event: ReceivedCharacter('p') }

As you can see, we receive virtual_keycode: Some(R).  Also note that right after the window receives the P character.  (Shouldn't these always be the same?)
The issue doesn't seem to occur on Linux/X11.
winit version: 0.18
MacBook Pro (2017)
macOS version: 10.14 (Mojave)

Thanks for reporting this!
We're currently using NSEvent keyCode to generate VirtualKeyCode: https://github.com/tomaka/winit/blob/139686ddce870614f12eb3a0ed33a9adfee1e47a/src/platform/macos/view.rs#L415
This is wrong, since that's really just a scancode: https://stackoverflow.com/a/18413469/5435443
We likely inherited this oversight from GLFW, since it's done the same way there (and in SDL). It doesn't look like AppKit has a concept of layout-aware virtual key codes. WebKit has a good explanation and solution here: windowsKeyCodeForKeyEvent, windowsKeyCodeForCharCode
If you're interested in contributing, this would likely be an easy PR.

I will definitely have a look, thank you!


Use button color for paginator and header color for module caption

Thanks! This changes the design of the pagination. I think it's fine but one should be aware of this.

Thanks! This changes the design of the pagination. I think it's fine but one should be aware of this.

It's the same color. Since the paginators are buttons, it should make more sense to use button colors.

It's the same color. Since the paginators are buttons, it should make more sense to use button colors.

Thanks :+1:

Thanks :+1:


don't save, help!

I am using 39-6 version.
format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password= '%s',money=  '%d',admin= '%d',gruz= '%d' WHEREid` = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]);
mysql_function_query(DBconnectID, qString, false, "", "");`

Hey, can you put your code in triple backticks?
If you don't know how please read this:
https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
On Sun, Apr 14, 2019 at 12:54 PM loneliplay<EMAIL_ADDRESS>wrote:

I am using 39-6 version.
format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password=
'%s',money= '%d',admin= '%d',gruz= '%d' WHEREid` = '%d'",
Player[playerid][pName], Player[playerid][pPassword],
Player[playerid][pMoney], Player[playerid][pAdmin],
Player[playerid][pGruz], Player[playerid][pID]);
mysql_function_query(DBconnectID, qString, false, "", "");`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pBlueG/SA-MP-MySQL/issues/211, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACx8xm4VtkgRfgsmoP2YNhUELFR17Q-6ks5vgwjQgaJpZM4cujAs
.

Hey, can you put your code in triple backticks?
If you don't know how please read this:
https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
On Sun, Apr 14, 2019 at 2:57 PM Jeroen de Neef<EMAIL_ADDRESS>wrote:

Hey, can you put your code in triple backticks?
If you don't know how please read this:
https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
On Sun, Apr 14, 2019 at 12:54 PM loneliplay<EMAIL_ADDRESS>wrote:

I am using 39-6 version.
format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password=
'%s',money= '%d',admin= '%d',gruz= '%d' WHEREid` = '%d'",
Player[playerid][pName], Player[playerid][pPassword],
Player[playerid][pMoney], Player[playerid][pAdmin],
Player[playerid][pGruz], Player[playerid][pID]);
mysql_function_query(DBconnectID, qString, false, "", "");`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pBlueG/SA-MP-MySQL/issues/211, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACx8xm4VtkgRfgsmoP2YNhUELFR17Q-6ks5vgwjQgaJpZM4cujAs
.

 format(qString, sizeof(qString), "UPDATE `players` SET `name` = '%s', `password` = '%s', `money` =  '%d', `admin` = '%d', `gruz` = '%d' WHERE `id` = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]);

mysql_function_query(DBconnectID, qString, false, "", "");
	return 1;

Hey, can you put your code in triple backticks? If you don't know how please read this: https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
…
On Sun, Apr 14, 2019 at 12:54 PM loneliplay @.***> wrote: I am using 39-6 version. format(qString, sizeof(qString), "UPDATEplayersSETname= '%s',password= '%s',money= '%d',admin= '%d',gruz= '%d' WHEREid = '%d'", Player[playerid][pName], Player[playerid][pPassword], Player[playerid][pMoney], Player[playerid][pAdmin], Player[playerid][pGruz], Player[playerid][pID]); mysql_function_query(DBconnectID, qString, false, "", ""); — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#211>, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx8xm4VtkgRfgsmoP2YNhUELFR17Q-6ks5vgwjQgaJpZM4cujAs .
up

This is not an error of the plugin, is an error in your query syntax.
UPDATE players SET name= '%s',password= '%s',money= %d, admin= %d, gruz= %d WHERE id = %d

This is not an error of the plugin, is an error in your query syntax.
UPDATE players SET name= '%s',password= '%s',money= %d, admin= %d, gruz= %d WHERE id = %d
Next time you can check the mysql_log file.

Don't help

Check the MySQL plugin log file for any errors or warnings.


Error running app

The website said there is an error running the app and contact support if it happens multiple times I tried multiple times and it kept saying there is an error running the app

Dear 53Cheese,
Thank you for the report.
Unfortunately, this app's server is regularly down due to a memory leak bug(currently can use the app).
I'm currently working on fixing the server, and I apologize for not resolving this issue completely at the moment.


(Tutorial Sample App) is disabled

Hi There
There is a link on this page to a sample application.
When you click on the link and login I am presented with an error message that says
"(Tutorial Sample App) is disabled."
AADSTS7000112: Application '6731de76-14a6-49ae-97bc-6eba6914391e'(Tutorial Sample App) is disabled.
Perhaps it's worth removing that section of the page if the sample app can not be reactivated.
Webpage with the issue
https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=http#use-the-microsoft-authentication-library-msal:~:text=to True.-,Try%3A You can try,-this for yourself
Text From Page
Try: You can try this for yourself by pasting the following request in a browser. If you sign in as a global administrator for a Microsoft Entra tenant, you will be presented with the administrator consent dialog box for the app.
https://login.microsoftonline.com/common/adminconsent?client_id=6731de76-14a6-49ae-97bc-6eba6914391e&state=12345&redirect_uri=https://localhost/myapp/permissions

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

ID: 04f96510-c628-47f8-971f-d5ba7b560efc
Version Independent ID: f27f8646-1313-f225-b315-1ae3bc036117
Content: Get access without a user - Microsoft Graph
Content Source: concepts/auth-v2-service.md
Product: applications
Technology: microsoft-graph
GitHub Login: @FaithOmbongi
Microsoft Alias: ombongifaith

Thank you @jmtread for raising this issue. I'll remove the link because the sample app that was used for this example can't be restored for now.


error

─# python3 cctv-Hack.py
/usr/bin/python3: can't find 'main' module in '/home/kali/CVE-2018-9995_dvr_credentials/cctv-Hack.py'

Want to hack cctv?
On Fri, Jul 7, 2023, 12:14 AM gamenetmolavi @.***>
wrote:

─# python3 cctv-Hack.py
/usr/bin/python3: can't find 'main' module in '/home/kali/CVE-2018-9995
https://github.com/advisories/GHSA-mjcj-jjh8-28r2
_dvr_credentials/cctv-Hack.py'
—
Reply to this email directly, view it on GitHub
https://github.com/akashblackhat/cctv-Hack.py/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3F5PVCXFK64BOFICO7VRVLXO4BQZANCNFSM6AAAAAA2A2IY4E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Update reference of SiF4 for fluorine

Fix #14
Re-generate the SiF4 structure start from the cif file from COD
database. Detail inputs
parameters are:

use pseudopotentials for silicon and fluorine from SSSP-v1.1 precision
degauss=0.00735Ry -> 0.1eV
Seven points(0.02 interval) eos running

Also add export nodes for SiF4 generating so that it is included in the final provenance DB.


max evaluable function doesn't work for bigint

In Trealla Prolog I get:
/* Trealla Prolog 2.7.34 */
?- X is max(16^16, 0.0).
   error(type_error(integer,0.0),max/2).

On the other hand Scryer Prolog gives me:
/* Scryer Prolog 0.9.1-70-g5e0e3e27 */
?- X is max(16^16, 0.0).
   X = 1.8446744073709552e19.

Its just doing a float conversion, which is permitted by ISO core standard.
Alternatively you can also return 16^16 as its bigint value, without
float conversion, this would be also allowed.

There is a bug in the min function, it behaves like max function:
$ ./tpl
Trealla Prolog (c) Infradig 2020-2023, v2.7.37
?- X is min(2^1024, 0.0).
   X =<PHONE_NUMBER>86231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137216.

Changes pushed to devel branch.
On Mon, Jan 23, 2023 at 9:51 AM Jean-Luc-Picard-2021 <
@.***> wrote:

There is a bug in the min function, it behaves like max function:
$ ./tpl
Trealla Prolog (c) Infradig 2020-2023, v2.7.37
?- X is min(2^1024, 0.0).
X =<PHONE_NUMBER>86231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137216.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/107#issuecomment-1399644914,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEW3ZNBEPLA57NPTXGTWTXBZTANCNFSM6AAAAAAUDCM5SQ
.
You are receiving this because you commented.Message ID:
@.***>


Kronos missing some CSS

The window that opens to show you :info and other things at the bottom was formatted very nicely running off the Docker. In Kronos it just seems to be unformatted.
Also the "Open the pager in an external window" icon doesn't do anything.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8079584-kronos-missing-some-css?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).

Kronos is unmaintained/deprecated now.


Blank slides blog post

interesting idea - makes your life as a presenter not easier but definitely gives you the focus of your audience in the beginning - free to merge from my side


Change databricks build to dynamically create a cluster

This changes it so we dynamically create a new databricks cluster everytime we kick off a nightly build.  It deletes the cluster at the end of the run as well.  This is the basic functionality that we have now and we can continue enhance it later.  Note that I use a file to get the cluster id from python to use later when terminating. If others have better options to do this let me know.

build

tested here: https://ci-dev.ngcc.nvidia.com/job/spark/job/tgraves-test-databricks-create/

@NvTimLiu

added a create.py script and split create off from run-tests.py.  Added a bunch more options to make it more configurable.  Passing clusterid back in stdout from create script and then pass it in jenkinsfile via environment variable.

running one file test here: https://ci-dev.ngcc.nvidia.com/job/spark/job/tgraves-test-databricks-create/36/

build

build

3.1.0 failure we have pr up for

build

same 3.1.0 failure with ParquetRowConverter that should have been fixed second time I built. will try again

build

same 3.1.0 failure with ParquetRowConverter that should have been fixed second time I built. will try again

The PR needs to be upmerged with latest on branch-0.3 to pick up the fix.

build


generateBlockKey -> generateRandomKey

I'd like to generate an editor-level key, too. Might as well reuse the same module, since it's useful.

Editor-level key is to be used to solve #125.

:+1:

@facebook-github-bot import


Wind Turbine Library Updates (Issue #348)

Updated wind turbine library to include rotor diameter and power curve changes. To be included in Patch 3.

Closes #348


Add cvigilv/esqueleto.nvim

Repo URL:
https://github.com/cvigilv/esqueleto.nvim
Pinging @cvigilv for awareness
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!

@Amar1729 Thanks for the PR! Hope this little plugin helps more people


Update to dotnet 3.0

I think that we should move all the projects to the last dotnet version. Here you can see a summary of the changes.
Changes:
https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0
Benchmarks
https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-core-3-0
Fix: https://github.com/neo-project/neo-cli/pull/477

Agreed, It is a good time for that.


unchecked or unsafe operations

Whenever I build or run I get this error:
...device_info-2.0.3\android\src\main\java\io\flutter\plugins\deviceinfo\DeviceInfoPlugin.java uses unchecked or unsafe operations.

[√] Flutter (Channel beta, 2.9.0-0.1.pre, on Microsoft Windows [Version 10.0.19042.1415], locale en-US)
• Flutter version 2.9.0-0.1.pre at E:\stuff\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8f1f9c10f0 (3 weeks ago), 2021-12-14 13:41:48 -0800
• Engine revision 234aca678a
• Dart version 2.16.0 (build 2.16.0-80.1.beta)
• DevTools version 2.9.1

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Users\Voistlused\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: E:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.

[√] Android Studio (version 2020.3)
• Android Studio at E:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.54.1)
• VS Code at C:\Users\Voistlused\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.21.0

[!] Connected device
! No devices available

@sisalik1
The log seems to be coming from device_info plugin which has been deprecated in favor of community plugin device_info_plus : https://pub.dev/packages/device_info#deprecation-notice
Try using the new plugin and see if you still get the same log or not. If yes, you'll need to open the issue in dedicated repo.
Closing from here.


sov-modules: Dispatch.. macro should be agnostic to serialization format

The DispatchCall/Query macro derives an enum type based on the underlying structure. Later, the macro derives borsh serialization/deserialization for this enum:
// TODO we should not hardcode the serialization format inside the macro.
#[derive(borsh::BorshDeserialize, borsh::BorshSerialize)]
enum #enum_ident #impl_generics #where_clause {
      #(#enum_legs)*
}

We should extend the macro and enable users to pass their chosen serialization format (we can use the proc macro attributes mechanism).

Should the serialization derive for the generated enum be mandatory or optional?

Should the serialization derive for the generated enum be mandatory or optional?
It should be mandatory.


Arrange the script alphabetically

https://github.com/Logan1x/Python-Scripts#scripts arrange these scripts alphabetically.

I take this :)


Ugly noises when changing the time parameter of delay effects

When changing the time parameter of delay effects we get an unusual noise. The change in parameters should be smooth enough to avoid unwanted side effects.

@alemangui is this specifically when futzing around with the time param in the Dub Delay effect you noticed this? I think the original developer of this effect (or at least, where I ported it from) mentions this at the end of the blog post, http://blog.chrislowis.co.uk/2014/07/23/dub-delay-web-audio-api.html He calls it 'dezippering.' I... quite like it, but I can see why it might be seen as unwanted.

I noticed it in the regular vanilla delay first. I'm still unsure as to whether or not it needs to be removed, but I will probably make a branch with a smooth ramp-to-value of the audio params to see if there's a difference.

I've been taking a look at this and still struggling to remove the clicks.
Dezippering is basically a technique by which the parameters are changed smoothly to avoid clicks or unwanted sounds. It used to be baked into the web audio API until about a year ago - when the working group decided to remove it. The discussion is long (https://github.com/WebAudio/web-audio-api/issues/76).
Some of the arguments for maintaining the dezippering effect automatically in the browser had to do with the clicks when setting the delay time. At the time when Chris Lowis wrote the Dub Delay article, the dezippering effect was still shipped within Chrome, which is why he describes it. Nonetheless, today dezippering is no longer automatically and you can hear the clicks when moving the sliders in his blog post.
I will see how setting the delay time can be achieved smoothly.

Hmm, yes, reading that post and also looking Chris Lowis' example early on in the chain, I think I had a different idea of what was meant by dezippering :-( Clicks are bad, but the quirky sonar type 'pings' are cool (I thought), but that's a different thing.
From reading that ticket, it seems the advised approach it to tween your way from start to the target value. I assume you've tried this already?
@ https://github.com/alemangui/pizzicato/blob/master/src/Effects/Delay.js#L79
this.delayNode.delayTime.value.setTargetAtTime(time, Pz.context.currentTime, 0.1)
my apologies upfront, I can't checkout the code right now to see if the above even works.

I was wrong. The current noises are an effect of dezippering indeed. While it was removed from the Web Audio spec, it hasn't been removed from the browsers (at least not Chrome and Firefox). You can see more info here: http://stackoverflow.com/questions/38814005/in-web-audio-whats-the-difference-between-using-valuex-and-setvalueattimex
In any case, I don't think it's worth doing modifications just now - especially given that this effect is likely to go away with the removal of dezippering in upcoming browser versions.

Should this already be resolved? I still hear the clicks when I change an effect parameter.
Chrome Version 72.0.3626.119 (Official Build) (64-bit)
Linux inspirion 4.15.0-45-generic


AL HCO Results Profile

Story
As AL HCO, to ensure we'll receive all needed results data to an EHR, we need to relate the ReportStream results information to what will be received by the EHR.
Pre-conditions

none

Acceptance Criteria

[x]  Approved message profile

Tasks

[x] Obtain publish message profile (if available)
[x] Obtain sample messages
[x] Document data elements of interest

[x] Optionality
[x] Cardinality
[x] Vocabulary requirements

[x] Requested HCO feedback on our analysis
[x] Confirm baseline profile requirements with Sender

Research

[ ] Research work needed to complete the story
[ ] Foundational: High-level research that will support this and future efforts

Decisions

Optional: Any decisions we've made while working on this story

Notes

Optional: Any reference material or thoughts we may need for later reference

Blocked: Test order analysis still in progress

Partly blocked waiting on PLT codes

Still waiting to close out HCO feedback on the current data/vocabulary profile draft.  Final closure will likely come in concert with the initial round-trip test cycle.

Knowledge transfer is complete for handover of the AL engagement to the DETOR team.  This story can be closed.
@JohnNKing

Moved to done.


rbd: use DeepCopy to create a thick-provisioned clone

To create a full-allocated RBD image from a snapshot/clone DeepCopy()
can be used. This is needed when the parent of the new volume is
thick-provisioner, so that the new volume is independent of the parent
and thick-provisioned as well.
Things that need to be done:

[x] manually tested and confirmed allocations with rbd du
[x] rebase on top of the next go-ceph release (v0.10.0 #2147)
[x] add e2e verification test

Fixes: #2077

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

This PR depends on #2147, once that is merged, the [DNM] label can be dropped.

@mergifyio rebase

tested it locally its failed to mount the clone PVC to application pod
Events:
  Type     Reason                  Age                   From                     Message
  ----     ------                  ----                  ----                     -------
  Normal   Scheduled               5m29s                 default-scheduler        Successfully assigned default/csirbd-demo-pod to minicluster2
  Normal   SuccessfulAttachVolume  5m29s                 attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-16c4ed55-9f7a-487a-8040-caf9c56475f2"
  Warning  FailedMount             3m26s                 kubelet                  Unable to attach or mount volumes: unmounted volumes=[mypvc], unattached volumes=[mypvc default-token-glr45]: timed out waiting for the condition
  Warning  FailedMount             72s                   kubelet                  Unable to attach or mount volumes: unmounted volumes=[mypvc], unattached volumes=[default-token-glr45 mypvc]: timed out waiting for the condition
  Warning  FailedMount             57s (x10 over 5m13s)  kubelet                  MountVolume.MountDevice failed for volume "pvc-16c4ed55-9f7a-487a-8040-caf9c56475f2" : rpc error: code = Internal desc = an error (exit status 2) occurred while running ceph args: [rbd task add flatten replicapool/csi-vol-fdb11c26-cd8f-11eb-836d-0242ac110005 --id csi-rbd-node --keyfile=***stripped*** -m <IP_ADDRESS>:6789]

When No PVC is present on the kubernetes the images exists in the trash
and the ceph cluster is still using 16 Gib (PVC size was 15 Gib)
[root@dhcp53-170 rbd]# kubectl delete -f pvc-clone.yaml
persistentvolumeclaim "rbd-pvc-clone" deleted
[root@dhcp53-170 rbd]# kubectl delete -f pvc.yaml
persistentvolumeclaim "rbd-pvc" deleted
[root@dhcp53-170 rbd]# kubectl get pvc
No resources found in default namespace.
[root@dhcp53-170 rbd]# kubectl get pv
No resources found

# ceph -s
  cluster:
    id:     d6d71dda-7470-418a-9186-e63e55f71efc
    health: HEALTH_WARN
            mon is allowing insecure global_id reclaim

  services:
    mon: 1 daemons, quorum a (age 18m)
    mgr: a(active, since 18m)
    osd: 1 osds: 1 up (since 18m), 1 in (since 18m)

  data:
    pools:   2 pools, 33 pgs
    objects: 3.85k objects, 15 GiB
    usage:   16 GiB used, 34 GiB / 50 GiB avail
    pgs:     33 active+clean

  io:
    client:   681 B/s rd, 0 op/s rd, 0 op/s wr

sh-4.4# rbd ls --pool=replicapool
sh-4.4#
sh-4.4# rbd trash ls --pool=replicapool
10be52dc3ad6 csi-vol-fdb11c26-cd8f-11eb-836d-0242ac110005-temp
10be534682a8 csi-vol-d6a94576-cd8f-11eb-836d-0242ac110005

when provisioner pod is restarted when Thick clone is getting created the thick clone will not consume expected size on ceph cluster
[root@dhcp53-170 rbd]# kubectl get pvc
NAME            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
rbd-pvc         Bound    pvc-6ce1452f-689d-4903-a6b4-af4720151818   15Gi       RWO            rook-ceph-block   69s
rbd-pvc-clone   Bound    pvc-caff5817-86a2-45df-843f-19ad8cd81e8a   15Gi       RWO            rook-ceph-block   37s

sh-4.4# rbd du replicapool/csi-vol-d791f254-cd92-11eb-8352-0242ac110005
warning: fast-diff map is not enabled for csi-vol-d791f254-cd92-11eb-8352-0242ac110005. operation may be slow.
NAME                                          PROVISIONED  USED
csi-vol-d791f254-cd92-11eb-8352-0242ac110005       15 GiB  936 MiB
sh-4.4# rbd du replicapool/csi-vol-c477b45f-cd92-11eb-8352-0242ac110005
warning: fast-diff map is not enabled for csi-vol-c477b45f-cd92-11eb-8352-0242ac110005. operation may be slow.
NAME                                          PROVISIONED  USED
csi-vol-c477b45f-cd92-11eb-8352-0242ac110005       15 GiB  15 GiB
sh-4.4# rbd info replicapool/csi-vol-c477b45f-cd92-11eb-8352-0242ac110005
rbd image 'csi-vol-c477b45f-cd92-11eb-8352-0242ac110005':
	size 15 GiB in 3840 objects
	order 22 (4 MiB objects)
	snapshot_count: 1
	id: 124edb32d808
	block_name_prefix: rbd_data.124edb32d808
	format: 2
	features: layering, operations
	op_features: clone-parent, snap-trash
	flags:
	create_timestamp: Tue Jun 15 04:33:03 2021
	access_timestamp: Tue Jun 15 04:33:03 2021
	modify_timestamp: Tue Jun 15 04:33:03 2021
sh-4.4# rbd info replicapool/csi-vol-d791f254-cd92-11eb-8352-0242ac110005
rbd image 'csi-vol-d791f254-cd92-11eb-8352-0242ac110005':
	size 15 GiB in 3840 objects
	order 22 (4 MiB objects)
	snapshot_count: 0
	id: 124e9cae7648
	block_name_prefix: rbd_data.124e9cae7648
	format: 2
	features: layering, deep-flatten
	op_features:
	flags:
	create_timestamp: Tue Jun 15 04:33:33 2021
	access_timestamp: Tue Jun 15 04:33:33 2021
	modify_timestamp: Tue Jun 15 04:33:33 2021
sh-4.4#

when provisioner pod is restarted when Thick clone is getting created the thick clone will not consume expected size on ceph cluster

In this case, DeepCopy() was aborted and needs to be restarted. This is still TODO at the moment.

when provisioner pod is restarted when Thick clone is getting created the thick clone will not consume expected size on ceph cluster

In this case, DeepCopy() was aborted and needs to be restarted. This is still TODO at the moment.

:+1: This will be addressed in the next PR?

On Wed, Jun 16, 2021 at 05:19:42AM -0700, Humble Devassy Chirammal wrote:

@humblec commented on this pull request.

  if err != nil {

	return fmt.Errorf("failed to copy encryption config for %q: %w", rv, err)

	return fmt.Errorf("failed to deep copy %q into %q: %w", parentVol, rv, err)

}

} else {

// flatten clone

errFlatten = tempClone.flattenRbdImage(ctx, rv.conn.Creds, false, rbdHardMaxCloneDepth, rbdSoftMaxCloneDepth)

if errFlatten != nil {

@nixpanic if Flatten failed here, do we need to return error ? or can we move ahead without failing? I understand,  this is normal/general workflow we have so far/till now, so ideally should keep the same. But double confirming, is it mandatory to flatten before creating a snap from temporary clone image?.

Sorry, I am not sure what you are asking...
The previous behaviour is not changed for non-thick-provisioned cloning.
Is that something you are concerned about?
For thick-provisioned cloning, the DeepCopy() function is expected to do
the flattening. I might have understood that incorrectly, as it seems
the 'deep-flatten' option is still enabled once DeepCopy() has finished.
In that case, additional flattening might still be required?

when provisioner pod is restarted when Thick clone is getting created the thick clone will not consume expected size on ceph cluster

In this case, DeepCopy() was aborted and needs to be restarted. This is still TODO at the moment.

+1 This will be addressed in the next PR?

I am including that in this PR, with an additional commit.

Please review again :pray: Manual tests now succeed (including provisioner restart while cloning).

@nixpanic LGTM, a minor comment from me, but that can be ignored too.


get-azureadauditsigninlogs do not return non-interactive sign in logs

when I am doing an audit using get-azureadauditsigninlogs -filter "UserPrincipalname eq<EMAIL_ADDRESS>I found that it does not return non-interactive sign in logs
In Azure AD, there is "User sign-ins (non-interactive)" which has that result, did I miss anything or there is a feature missing?

Same issue.

Hi @limjianan
Thank you for your issue submission. Unfortunately, this appears to be a problem with the cmdlt and a support issue. Issues in this repo are for documentation issues. You can try one of the following links for additional help.
Microsoft Support: https://support.microsoft.com/
Azure AD forums: https://social.technet.microsoft.com/Forums/en-US/home?forum=windowsazureaditpro
Stackoverflow: https://stackoverflow.com/


Url/Link create doesn't generate a screenshot

On https://www.vutuv.de/users/stefan.wintermeyer/links I do the following:

The screenshot generator doesn't work.
I have no idea why but I think it is our code and not the Browserstack API.
Just in case here are the info for the Browserstack-API:
https://www.browserstack.com/screenshots/api

I have checked this bug. It seems Browserstack API is OK.
The problem is:

The code does not insert/update the database (url.screenshot)
Somehow it also does not copy the screenshot file to the correct image folder from temporary upload path
Since the logic on card_list.html.eex cannot find the url.screenshot on the database, it shows the default "/images/screenshot.png"

I will update the progress soon.

I tried to replay it in the console and got stuck here:
iex(21)> url |> Url.changeset(%{screenshot: upload}) |> Repo.update
12:47:06.927 [error] Task #PID<0.551.0> started from #PID<0.448.0> terminating
** (UndefinedFunctionError) function :crypto.rand_bytes/1 is undefined or private. Did you mean one of:

      * rand_seed/0
      * rand_seed/1

    (crypto) :crypto.rand_bytes(20)
    (arc) lib/arc/transformations/convert.ex:30: Arc.Transformations.Convert.temp_path/0
    (arc) lib/arc/transformations/convert.ex:3: Arc.Transformations.Convert.apply/3
    (arc) lib/arc/actions/store.ex:54: Arc.Actions.Store.put_version/3
    (elixir) lib/task/supervised.ex:85: Task.Supervised.do_apply/2
    (elixir) lib/task/supervised.ex:36: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Function: #Function<0.129232098/0 in Arc.Actions.Store.async_put_version/3>
    Args: []
** (EXIT from #PID<0.448.0>) evaluator process exited with reason: an exception was raised:
    ** (UndefinedFunctionError) function :crypto.rand_bytes/1 is undefined or private. Did you mean one of:

      * rand_seed/0
      * rand_seed/1

        (crypto) :crypto.rand_bytes(20)
        (arc) lib/arc/transformations/convert.ex:30: Arc.Transformations.Convert.temp_path/0
        (arc) lib/arc/transformations/convert.ex:3: Arc.Transformations.Convert.apply/3
        (arc) lib/arc/actions/store.ex:54: Arc.Actions.Store.put_version/3
        (elixir) lib/task/supervised.ex:85: Task.Supervised.do_apply/2
        (elixir) lib/task/supervised.ex:36: Task.Supervised.reply/5
        (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

It seems to be this problem:
https://stackoverflow.com/questions/44927921/phoenix-started-throwing-undefinedfunctionerror-function-crypto-rand-bytes-1
@hendri-tobing I can't figure out how to fix it or to do a work around.

It seems to be this problem:
https://stackoverflow.com/questions/44927921/phoenix-started-throwing-undefinedfunctionerror-function-crypto-rand-bytes-1

We can edit the arc library, from :crypto.rand_bytes(20) to :crypto.strong_rand_bytes(20), then recompile the deps.

I replace these instances with the new code:
vutuv1@bonaureus:~/Github/vutuv/deps$ grep -R "crypto.rand_bytes" *
arc/lib/arc/transformations/convert.ex:    rand = Base.encode32(:crypto.rand_bytes(20))
cowlib/src/cow_multipart.erl:	base64:encode(crypto:rand_bytes(48)).

It works in production. 🎉
@hendri-tobing What is the best way to actually commit this fix to the repo?

@hendri-tobing Forget it. I just add a link into the README.md for this issue. The days of v1.1 are counted any ways.


Implement Organization backend controllers and routes (Part 1)

We created the getOrganization and deleteOrganization functions in both controllers and routes.
getOrganization (Controllers):

Function retrieves a single organization from database by its unique id using Prisma's findUnique method.
Returns the organization if found, or null if it doesn't exist.
Throws an error if the retrieval process fails

getOrganization (Routes):

Used the getOrganizationById controller function to fetch the organization.
Returns a 200 OK status with the organization if found, or a 404 Not Found status if it doesn't exist.
Returns a 400 Bad Request status in case of invalid id or other issues.

deleteOrganization (Controllers):

Deletes organization from database by its id
Throws an error if the organization is not found or if delete process fails

deleteOrganization (Routes):

For successful deletion, route returns 204 No Content status.
If organization is not found or an error occurs, the route returns a 400 Bad Request status with an error message.

We created detailed comments throughout each function to fully explain what we are doing in each function.
closes #20

Looks good! No revisions this week.


Pass chooser URLs to widgets via data attributes instead of global JS vars

Chipping away at _editor_js.html bit by bit...
Update chooser widgets so that the URLs to the modal views are passed via a data- attribute on the widget's root element, instead of depending on the global chooserUrls object in _editor_js.html.
Draftail (and hallo.js) still relies on chooserUrls, so it can't be eliminated just yet.

(Next on the agenda: there are probably a lot of views, such as wagtailsites/create.html and wagtailsites/edit.html, which don't make use of rich text or expanding formsets, and are only importing _editor_js to make the page chooser widget work - these can now ditch _editor_js 🎉 )


Illuminate\Support\Testing\Fakes\NotificationFake->sendNow() should t…

Illuminate\Support\Testing\Fakes\NotificationFake->sendNow() should trigger \Illuminate\Notifications\Events\NotificationSent()

My first PRT to Lavarel. Please let me know if I'm not following proper procedure.  Addresses https://github.com/laravel/internals/issues/749

I don't think it should fire events. Just write a different test for that.


Django IntegrityError: Column 'is_superuser' cannot be null

Using Django 2.1.5 here and this library's 1.0.0a3 version, when sending token and password from a user with no admin privileges ('is_superuser' = False) to the endpoint, I get this error on line 74 on the views.py file
reset_password_token.user.save()
It is because Django, in my specific case, when returning user from the DB and a BooleanField is False it returns with 'null' as value (i really don't understand how or why).
A quick hack to solve this is to put an ugly if else to check if user.is_superuser, user.is_staff are null, if they are, then assign False to them:
if reset_password_token.user.is_superuser is None:
reset_password_token.user.is_superuser = False
if reset_password_token.user.is_staff is None:
reset_password_token.user.is_staff = False
Can someone give me other options or explain me how is it that django query gives me null instead of False

very interesting :confused:
A few questions:

Does this only happen with 1.0.0a3 or also with 0.9.7?
Which database and Django Database Backend are you using?

I wouldn't want to include that very specific fix into the code (literally any boolean field will cause that issue, not just is_superuser), but what I could do is to adapt this code:
https://github.com/anx-ckreuzberger/django-rest-passwordreset/blob/e7e61fbab249b1155614aa340dff9a20a45f386f/django_rest_passwordreset/views.py#L73-L74
to this:
reset_password_token.user.set_password(password)
reset_password_token.user.save(update_fields=['password'])

Long story short in 0.9.7 i had the error of "line 141 missing positional argument of instance", and as the 1.0.0a3 addresses that I just updated to be met with the issue of Django returning a 'null' instead of False, hence the extremely ugly fix. I'll probably just change the if else to save(update_fields=['password'].
My buddy right now is using the 0.9.7 with just the fix in views.py line 141 -adding instance=self to reset_password_token.send(sender=self.__class__, reset_password_token=token)
I didn't use de save(update_fields=['password']) because I didn't know at the time of the handy update_fields, but hey you learn something everyday :+1:
The backend I'm currently using is mysql-connector-python==8.0.15, in the DB the False values are being saved (as 0 because tinyint) so probably the returning null is this driver's doing.

Thanks for the suggestions and solutions, for now the fix in the library will be enough :).
The change for msqlclient is gonna be a 4-5gb c++ runtime or something on a slow net for the windows users in the team. Can't wait to tell them haha.
I'm closing the issue and thanks again for the answers.

The change for msqlclient is gonna be a 4-5gb c++ runtime or something on a slow net for the windows users in the team.
I can't deny that I have a grin in my face right now :P

I really wonder if that behaviour of the mysql native client and Django is documented, or if there is another issue somewhere in the database. But I'm happy that it works now!

FYI, if you want to avoid the Windows binary problem, you can try to use this:
pip install --only-binary mysqlclient -r requirements.txt

(assuming that your requirements.txt contains all other requirements)

Okay, seems that mysql-connector-python could be the cause.
If you don't have any reasons for that connector, I recommend using
mysqlclient>=1.3,<1.4

(make sure to uninstall mysql-connector first), and in your settings you should use the 'django.db.backends.mysql' engine, e.g.:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'database',
        'USER': 'root',
        'PASSWORD': 'database',
        'HOST': 'mysql',
        'ATOMIC_REQUESTS': True,
    }

FYI, thi sis also what Django itself recommends: https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-db-api-drivers
Alternatively, MySQL provides more information about its connector here: https://dev.mysql.com/doc/connector-python/en/connector-python-django-backend.html
If the driver is really the root cause, I highly recommend avoiding that driver (or find out if you can configure that driver differently), because you will end up having much more issues in the future.

Quick heads-up: this seems to be a drive issue indeed, elaborate bug report here:
https://code.djangoproject.com/ticket/30469


Open preview page in new tab, instead of replacing already opened tab

Is it possible to add possibility to open 'preview' page always in new tab (not just replace the opened tab)?
I think we can remove (or make optional) the target prop (PREVIEW_WINDOW_NAME) in  window.open( url, PREVIEW_WINDOW_NAME );
Code:
https://github.com/mattmilburn/strapi-plugin-preview-button/blob/staging/admin/src/components/PreviewButton/index.js#L19

Hi @Krak86 This option seems reasonable. I will include this in an upcoming release 👍🏻

@Krak86 There is a new release for v1.0.1 which includes a new openTarget config option that should help you out 👍🏻 You should set it to _blank. Here it is described in the README.

@Krak86 There is a new release for v1.0.1 which includes a new openTarget config option that should help you out 👍🏻 You should set it to _blank. Here it is described in the README.

Awesome, man! Many thanks 👍


Add favicon ico.

please assign me this for the hacktoberfest PR.

@Shashankfeeling also add calculator image in page background with 0.2 opacity

I added Favicon ico. Check the PR if its correct then please merge it. and please assign me this with hacktoberfest tags

#7 done


The function of the get_optim_policies()

I found a problem that when I used the function get_optim_policies(), I got an error "ValueError: New atomic module type: <class 'torch.nn.modules.batchnorm.BatchNorm2d'>. Need to give it a learning policy".   I change the code "elif isinstance(m, torch.nn.BatchNorm3d)" into "elif isinstance(m, torch.nn.BatchNorm3d) or isinstance(m, torch.nn.BatchNorm2d):".
Another question is that I don't find "lr_mult" and "decay_mult" arguments in pytorch. Do these parameters affect the learning rate?

The first problem is caused by the absence of lr setting with layer BN2D. In the author's paper, the BN after res5 is a 2DBN, so BN2D should be considered.  your solution is great, and I have already added this in the code.
Of course PyTorch doesn't understand the two params, they are actually generated to adjust the learning rate. like the following:
 optimizer=torch.optim.SGD(polices, lr_init)
 def adjust_learning_rate(optimizer, epoch, lr_steps):
     lr=lr_init* $some num to decay$
     certain_param=optimizer.param_groups[x] #x=2 for instance
     certain_param['lr']=lr* certain_param['lr_mult']

so, the solution is to write your custom adjust_learning_rate() method to utilize these two params.


consumeAllItems: no-ops in ios

Version of flutter_inapp_purchase
0.9.2
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
It should show the product/items to make a purchase.
Actual behavior
print('consumeAllItems: $msg'); // returns consumeAllItems: no-ops in ios
Tested environment (Emulator? Real Device?)
Both
Steps to reproduce the behavior
Using sample code, I changed _productLists to include my item's from the app store that I created.

@dark-chocolate This is expected. consumeAllItems only affects Android.


Add Multiple Tag Searches Connected via Logical OR

Add support for multiple tag searches connected via logical OR in a user friendly way. This could be done by re-defining NHENTAI_TAGS to a Vec<Vec<String>>, but I don't find it user friendly enough to use. It would also destroy any possibility to set NHENTAI_TAGS via docker-compose.yaml.
To properly support this and even more complex searches down the line, I'm currently thinking that implementing a graphical user interface might be necessary. I like to avoid that for several reasons: I don't have the time, I don't have the experience, and I'm worried about multi platform support.

The current workaround is to have multiple docker-compose.yaml each defining a different search by defining NHENTAI_TAGS in their environment section and then playing round robin with the container that is being used.

@9-FS  Can you give an example on how to use the vecstring approach to get multiple tag searches? I'm also interested in achieving this.

I suggest a file configuration like "downloadme.txt" but instead each line is a logical AND connection,
# jobs.txt

key-1:"value-1", key-2:"value-2"
key-3:"value-3"
key-4:"value-4"

So the program reads jobs.txt, splits it by line, goes line by line and treating each line as a NHENTAI_TAGS. I think this would minimize refactoring needed and not require a GUI.
As for more complicated examples maybe a json approach, you might look at elasticsearch query dsl, but I personally think it would be overkill and go beyond nhentai's own search ability.
I'd contribute if I knew a bit more about Rust, sorry. Love this project <3

How do you suggest should this be compatible with docker compose?

There should be no change to the docker compose. Add a file in config,
/app/config/jobs.txt

If you want, you can also add an environment variable JOBS_FILEPATH=./config/jobs.txt, if this should be somewhere else.
So you can do something like
jobs_filepath = os.getenv("JOBS_FILEPATH", "./config/jobs.txt")
if os.path.exists(jobs_filepath):
    with open(jobs_filepath, "r") as reader:
        nh_tags_list = reader.readlines()
        for nh_tags in nh_tags_list:
            try:
                process_nh_tags(nh_tags) # since this logic already exists.
            except:
                ...

This solution seems pretty janky. I'm not going to add another archival strategy unless I really have to.
Acceptable solutions that I can think of currently are

a graphical user interface (not gonna happen)
change configuration file format from TOML to YAML and use a 2 dimensional array to save multiple tag searches

I consider using a 2 dimensional array in YAML user-friendly enough because it natively supports nested array structures with minimal syntax.
Problem with the YAML solution I currently see is that docker compose does not natively support environmental variables of type array. Changing NHENTAI_TAGS from a 1 dimensional array to a 2 dimensional array would make things even more complicated to use with docker.
The tradeoff could be worth though considering setting NHENTAI_TAGS from the docker-compose.yaml will probably be less required if logical OR can be used from within the config file. Hmm

Not sure I get what you're struggling with.
The yaml configuration file you're considering isn't related to docker, it's how your app reads the file.
As for environment variables, they don't have a 'type', they're just strings. Obviously you can write them as if they represent complex data types such as arrays, but it's not like they inherently contain that structure.


Wlp updates

Update to galaxy version
update molecule test
update wlp version
new roles for new java/WLP

DB2 failing  with actions that passed in the past