service instance custom error message in status template is not returned

Describe the bug
Thanks for the great work. Testing how to return a custom failed error message, I never see it being returned in SFServiceInstance (and hence nor by the service broker)
To Reproduce
Steps to reproduce the behavior:
Given a SFPlan with the following status template
  templates:
  - action: status
    content: |-
      # Status template for provision call
      provision:
        state: failed
        description: a custom error message

When the SFServiceInstance gets provisionned, then its status does not contain the description or error field
status:
  appliedSpec:
    planId: ""
    serviceId: ""
  resources:
  - apiVersion: v1
    kind: ConfigMap
    name: instance-sapcp-5a29d700-3c08-4d5e-a68a-3e6cae710ab4
    namespace: sf-5a29d700-3c08-4d5e-a68a-3e6cae710ab4
  state: failed

However, when the status template is missing, then a proper error message is returned
 status:                                                                                │
│   appliedSpec:                                                                                │
│     planId: ""                                                                                │
│     serviceId: ""                                                                                │
│   description: sources template not found for plan 24d7d4c8-6fe2-4c2a-a5ca-b826937d5a88                                                                                │
│   error: |-                                                                                │
│     Retry threshold reached for 930f66eb-3311-4aa2-8037-16ad164b1384.                                                                                │
│     sources template not found for plan 24d7d4c8-6fe2-4c2a-a5ca-b826937d5a88                                                                                │
│   state: failed                                                                                │

The provisionner logs include the following trace   provisioner-6c44c77565-8l7rt2021-12-13T17:12:39.649Z    INFO    provisioners.instance    Updating provision status from template    {"instanceID": "5a29d700-3c08-4d5e-a68a-3e6cae710ab4", "state": "in  progress", "lastOperation": "in_queue", "newState": "failed"}
Expected behavior
The SFServiceInstance and service broker should return the description to the osb client, as documented in the OSB specs at https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#body-1
Additional context
Reproduced with helm chart version: 0.19.0
Possibly related to https://github.com/cloudfoundry-incubator/service-fabrik-broker/issues/1305

Unfortunately we cannot tackle this soon. Also we are open for contributions. 👍


Generate properties with constant values on models from Cadl

[Description TBD]

We have another issue for literal support. Close it as duplicate


Develop restore viewer

With the purpose of make Viewer works and allow google healthcare api data works I restored many files and specially "/platform" directory and set Google Client ID on google.js file.
@dmayerleno please give it a check.

Google client ID location:

DICOM data is there:

Command to run:
Please remember to use
APP_CONFIG=config/google.js yarn run dev to startup the viewer

:warning:  @dmayerleno please check it carefully because I am restoring a lot of files has been modified/deleted.


Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.

I have 4 different versions of python (3.8-3.12) installed on my PC. When I try to install the python language support extension on my VSCode version 1.87.2, i get the error 'Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.'
I also tried to create a virtual environment but that is not working either.

Thanks for the bug report, but unfortunately we need some more information from you in order to triage this issue appropriately. Please follow the instructions at https://aka.ms/pvsc-bug and that will create a new issue with more information to help us debug your situation.
Also, please make sure to provide the following as the error message suggests:

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

XXXX


Fixing broken links and updating older links

Fixing broken links for Custom.Cmd and Provisioning.Auto

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/build-your-image/AddRecovery.md
:white_check_mark:Succeeded

windows-iotcore/build-your-image/CreateInstallPackage.md
:white_check_mark:Succeeded

windows-iotcore/build-your-image/OSCustomizations.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/IoTCoreShell.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/SetupDefaultApp.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/PeripheralDrivers.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/16257.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/16267.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Change server URL in the README

Since we don't have a different staging URL, just specify the production URL in the  README.

Resolved in  #164


Polymer dart expression "?=" does not work

Originally opened as dart-lang/sdk#20640
This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
I have a login dialog similar to the Topeka example. The expression "?=" for the showing attribute does not work as expected:
           ...
          <paper-input label="Name" id="name"></paper-input>
           ...
          <paper-fab id="check" icon="check" showing?="{{$['name'].inputValue.length > 0}}" on-tap="{{handleLogin}}"></paper-fab>
What is the expected output? What do you see instead?
When I enter some name I expect the paper-fab to be shown (the showing attribute added).
If I change the expression to "{{$['name'].inputValue.length == 0}}" it is shown even when a name is added
What version of the product are you using?
Dart Editor version 1.6.0.dev_09_05 (DEV)
Dart SDK version 1.6.0-dev.9.5
On what operating system?
Mac OS X 10.9.4
What browser (if applicable)?
Dartium
Please provide any additional information below.

 Comment by lrhn

Added Pkg-Polymer, Area-Pkg labels.

 Comment by dgrove

Set owner to @justinfagnani.
Added Triaged label.


Update enable-disable-kaizala.md

Updating communication

@chuckedmonson - can you please assist to check, approve and merge the content for this PR?
Thank you.


[SharedCache] Reduce lock contention in SharedCache::LoadSectionAtAddress

When loading a number of sections, for instance when an image is loaded, many of the analysis threads bottleneck in SharedCache::LoadSectionAtAddress trying to acquire the viewOperationsThatInfluenceMetadataMutex lock. This is a very expensive lock to try and acquire as it is used in a lot of places and held for long durations.
This commit improves performance in SharedCache::LoadSectionAtAddress by not acquiring the viewOperationsThatInfluenceMetadataMutex lock until absolutely necessary, i.e. when something actually needs to be loaded. Often what happens is many threads try to load the same sections but ending up queuing up to do this one at a time. The commit adds per memory region locking so that threads only block waiting for the memory region they require to be loaded. In most cases though, if the region is already loaded they won't wait at all because no lock is required to determine if this is the case.
Note: this PR is built on @bdash's PR https://github.com/Vector35/binaryninja-api/pull/6196 due to the fixes and improvements in view-specific state, as this commit adds view-specific mutexes. I thought it would be prudent to make use of those changes.
To be honest I'm not 100% sure about the use of a map of mutexes to provide per memory region locking. It just feels a bit excessive but it works and the memory consumption of it won't be anything significant.

I'm currently doing some rather sweeping changes to the code in regards to the usage of locking. I'm not 100% confident in some of the changes I've made in this PR and I actually think I have a better version in the works. I've got it so I can do bulk parallelised loading of images which can dramatically bring down load times to very acceptable levels. Although it is somewhat reliant on #6271 being fixed and the UI freezes if many changes are made that quickly so you have to do it in the background.


Email Matt every time someone signs up because that's exciting!

This issue was moved to tightenco/symposium#22

Has this already been completed? I see that there are Mailgun placeholders, in .env.example, and there is code to sent the emails, in AccountController but this issue is still open...

has been completed.


global is not defined error

I am trying to use turbolinks in our rails application. The gems that I was initially using are jquery-turbolinks and turbolinks. But my react component does not show up after adding them into my application. So I went ahead and added turbo_react-rails into my app(in addition to  jquery-turbolinks and turbolinks), but it throws 'global is not defined error'. What am I doing wrong?

getting the same global is undefined.
var originalReplaceChild =
  global.document.documentElement.replaceChild.bind(
    global.document.documentElement);

Looks like getting this as well:
var converter = new HTMLtoJSX({createClass: false});

Is there an extra dependency required to run this in a rails app?

I'm getting the same when evaluating if (global.Turbolinks === undefined) {, - global itself isn't defined.

I see the latest release uses if (window.Turbolinks === undefined) {, which is indeed defined on my setup too. @ssorallen can we expect a new release?

I just released the 'turbo_react-rails' gem with the version of the 'turbo-react' that fixes the global error. v0.9.0 should fix the issue you're seeing. Try upgrading your gems, and let me know if you see other problems.


Don't fail file discovery if 'file' command is unavailable

I'm running the statick test suite on Windows for fun (as part of MR #62), and it works as expected in Git Bash but fails in Powershell. One of the big issues, unsurprisingly, is that the file command doesn't exist on Windows but is used in a number of discovery plugins. I suggest having the file command be nonfatal and pop up a warning if the file command doesn't exist, but continuing on where possible. I'll prep a MR for this.

Fixed by MR #62.


STORM-2884: Explicitly specify the curator dependencies in storm-druid pom

any updates on a decision for this?

I'm now +1 to remove storm-druid in 2.0.0, though "option 4" is taking place from #2698.

@arunmahadevan Now this issue is invalid. Could you close this issue?


Tile Generator abandons processing if unsupported image type (to be removed in 2018) is encountered

Does this affect the legacy HoloToolkit (master) or the Mixed Reality Toolkit (mrtk_release)?
HoloToolkit
Describe the bug
When using the Tile Generator on a Unity 2017.4.* build, as soon as the generator runs into an image type that will ostensibly be removed in Unity 2018, an exception is thrown and all further image processing is abandoned.
This was caused by this commit
To Reproduce
Steps to reproduce the behavior:

Fire up a 2017.4 build of Unity
Import the MRTK-Unity (aka HoloToolkit)
Click on the Mixed Reality Toolkit -> Tile Generator menu item
Provide appropriate source images for App Icon and Splash Image
Click on the Update Icons button

Expected behavior
All icons are generated
Actual behavior
After about 30ish of 200ish images are processed, an exception is thrown:
Exception of type 'System.ArgumentOutOfRangeException' was thrown.
Parameter name: type
Actual value was StoreTileLogo.
UnityEngine.Debug:LogError(Object)
HoloToolkit.Unity.SetIconsWindow:ResizeImages() (at Assets/Packages/MixedRealityToolkit.2017.40000.6241/Utilities/Scripts/Editor/SetIconsWindow.cs:239)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()

And all further processing is abandoned.
Unity Editor Version
2017.4.8f1
Mixed Reality Toolkit Release Version
Which MRTK version(s) you've been able to reproduce the bug in.
2<IP_ADDRESS> - 2<IP_ADDRESS>
Additional context
Not all users of the legacy MRTK have or will move to Unity 2018.
I have a fix for this issue that I'll submit a PR for shortly.

Which ones were removed?

@StephenHodgson , in answer to your question, support for different types was removed from the MRTK in the commit referenced in the description above; you can determine which ones by a quick look the code. As far as which might have been removed in Unity 2018, I can't answer that question.


Fix typo in Windows specific npm task

Something I had forgotten to push after originally adding the task w/ https://github.com/brave/electron/commit/035bdf9dd9654a9e17c5e70783a4caef9f38c4fc

++


Design Issues

search bar is too bright on mobile in dark mode?
nav buttons too bright on hover in dark mode?

comment any design issue below and ill review and add them here and remove your comment

No gap below the 'all' box before the invite on the notification page

tables aren't styled correctly for dark mode. example page

Line breaks use the TailwindCSS tag break-all in a lot of places which lead to the weird line breaks pictured since it breaks any time it needs to despite being in a word or not. The strategies of break-words or break-normal should be used instead to avoid this and make reading less of a pain.
Here's the link to the Tailwind page on it...

Dropdowns shouldn't become squished on smaller displays and instead open/get moved to the left

Dropdowns that need to be closed when you click on one of their items: Profile dropdown on any item, the notification dropdown when you click "View all notifications", and the platform selection dropdown on a version page on any item.
The current projects page needs to be set to 0 when a filter is changed on the homepage project list.
Date and selector flickering on homepage: https://discord.com/channels/855123416889163777/859516358281396234/1001172099475452024

Suggestion: I believe the table cell outlines are too bright on dark mode, this could be changed to the same color as the separator line at the bottom of the following screenshot (yellow arrow pointing at it).

API keys look kinda squished, even with short names

Maybe puttting those 2 boxes below each other instead of next to each other would be an option? Also the "key identifier" seems to be always empty (at least for me), so not sure what that thing does (Ok, I've refreshed the page and added another key, now the "Key" field is empty but the "Key identifier" has a uuid?) Apparently, after creating the key the key is displayed under "Key", but if you refresh the you get one in "Key identifier"
(not sure if the rest is also technically "Design", but I wasn't sure if I should make a seperate issue for that stuff as well)

After adding an API key the input field immediately becomes red with "Name is required".
If you type the name for an API key and go over 5 characters, for a few frames after the "Minimum length is 5" disappears an "error" is visible
The toast if the key length is below 5 chars is in german randomly while everything else is in english
The toast when creating a key is missing the key name, currently it's only You have created the key:

Sometimes the default avatar fails to load, displaying your name twice

(I was able to more or less get that consistently when visiting a new page and refreshing it once)

This menu popup (top left) should be scaled larger so the links are easier to click.

The resource name is not a clickable link.

May want to change ID to E-mail? :)

Well I think multiple things work there. Email, username

Email or username?

Small cosmetic thing: the buttons should be next to each other (currently only the case if you have a quite small window)

The loading indicator at the top should only appear after maybe a third/half a second of loading, otherwise it's very distracting at the moment

Multiple images or images and text cannot be on the same line:

These are all on the same line in the Markdown but render on multiple.

Wonderful job on front-end despite the likely majority of backend-only developers working on Hangar. Incredibly happy you guys were able to release it to open beta!
These are the immediate problems I saw when making an account & navigating. Saw an issue already existed so I'll post them here & will separately issue track them if asked.

https://hangar.papermc.io/api-docs is using the light-mode OpenAPI docs when the site is on dark-mode
the login button on the signup page, and vice-versa, should be teritary buttons. I accidentally clicked Login instead of Sign Up on the form and couldn't figure out why I was unable to sign in. Even attempted a password reset (never received an email, but my account didnt even). Perhaps a modal to verify redirecting off to signup from the login and vice-versa?
put a max-width on the signup and login forms, they are just massive on desktop & it's not good practice
the invalid username and apssword alerts need to be more obvious. they should up in a tiny corner of the screen instead of the actual form
the yellow box for not having API Keys on the API Keys section of user settings is very badly contrasted. It's bright yellow with white text on a dark screen
the "At least one permission needs to be set." is just floating in the middle of the screen, probably a text-align: center? should be left-aligned, or experiment inline-block on the "Permissions" sub-header in parenthesis (i.e. "Permissions (at least one permission needs to be set)")

For a resource page's subpages, given that the former has an icon and that the latter do not, it is not immediately apparent that the sub pages are, in fact, subpages.
A bit more spacing to the left of them might make this a bit clearer.

IMO it feels like an antipattern that you can left-click anywhere on a plugin listing to follow the link, but you can only middle click/right click to open in a new tab on the plugin title
https://github.com/HangarMC/Hangar/assets/6566104/b0b4d4b7-ffc4-43f1-a955-e8833f69f97c

fixing that sadly is non trivial, at least control clicking works now as expected


Non-breaking changes

This builds on this PR: https://github.com/HubSpot/java-control-plane/pull/3. So quoting that description:
This PR in the Go repo had me thinking about how versions were generated at the resource level. The Go PR hashes the resource and uses that as the version. I think this is a solid approach because it would allow for a non-breaking change for merging these delta changes.
Originally SnapshotResource was introduced to wrap a resource with a version String so that DeltaRequests could send updates only for resources whose version had changed. This PR renames SnapshotResource -> VersionedResource as we need a binding of resource -> version for the delta xds bits, but no longer requires a version to be passed in. This allows users to pass in an Iterable of the resource (like before).
This version generation will impose some costs on all users as each resource will need to be hashed.
The main change in this PR is these changes should be non-breaking

@slonka Opening this new PR that incorporates my new non-breaking changes and pulls in the new acceptances tests I wrote. I was able to run this against Allegro's tests and got all but one test to pass (the failure was due to Spring boot not starting up, so I didn't dig further). For Allegro I only had to make minor changes, mainly supplying types in some places so that Kotlin could figure out what types to use. I can provide a patch or PR for Allegro is you want to try it out

I can provide a patch or PR for Allegro is you want to try it out

Wow, thanks. You've done more than enough in developing this feature ❤. I will push your changes to the envoyproxy/java-control-plane repo so that I can release a snapshot version of JCP and then I will create a PR in https://github.com/allegro/envoy-control/pulls. I'll update you with results from running it on dev environment.

Tests on CircleCI fail: https://app.circleci.com/pipelines/github/envoyproxy/java-control-plane/126/workflows/81409503-f245-4640-a1d2-034063f683e9/jobs/659 - can you take a it?

Sure, can take a look later today
-Mike
On Mon, Apr 5, 2021 at 9:09 AM, Krzysztof Słonka @.***> wrote:
Tests on CircleCI fail: https://app.circleci.com/pipelines/github/envoyproxy/java-control-plane/126/workflows/81409503-f245-4640-a1d2-034063f683e9/jobs/659 [https://app.circleci.com/pipelines/github/envoyproxy/java-control-plane/126/workflows/81409503-f245-4640-a1d2-034063f683e9/jobs/659] - can you take a it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [https://github.com/HubSpot/java-control-plane/pull/4#issuecomment-813384050] , or unsubscribe [https://github.com/notifications/unsubscribe-auth/ACQJV7PF225HTEUO7WNEZHTTHGY63ANCNFSM42JPHEFQ] .

Able to reproduce this failure locally, but only when running mvn verify and not while running the test individually. Looking into what's causing that

@slonka I've been debugging this, and I think this should fix it: https://github.com/HubSpot/java-control-plane/commit/21abca38a8379e1e960362e17084c59be7f2348a. Can you pull that in and try running it, or can you give me perms on the project so I can push to that branch?

I've pushed it: https://app.circleci.com/jobs/github/envoyproxy/java-control-plane/662 . Unfortunately I can't just give you the rights, you have to be a maintainer (it's not too complicated to become one but I think someone from envoyproxy org has to approve).

It failed, I think that you can also open up a PR from a fork and it will run the CI tests.

Thanks for that tip, was able to get it passing: https://app.circleci.com/pipelines/github/envoyproxy/java-control-plane/131/workflows/a6e3e53c-a14c-4dc4-838b-7f9110e266d8/jobs/664

Great, running the snapshot release right now: https://circleci.com/gh/envoyproxy/java-control-plane/666

It got released under 0.1.25-SNAPSHOT. I forgot it's behind master.

Also released 0.1.29-delta-xds-slonka-SNAPSHOT which is up to date with master.

Thanks for releasing that @slonka I'll have some time to test it out today or tomorrow.


Downloading not cancelling with $cordovaFileTransfer  and no documented example for cancelling downloading or uploading

Details(Android/Windows):

ngCordova v0.1.12-alpha
org.apache.cordova.file-transfer v "0.5.0",

//in short what i am doing
var downloadCancel = $cordovaFileTransfer.download(url, targetPath, downloadOptions, trustHosts)
.then(function(result){
console.log(completed);
},function(error){
console.log(error);
});
//aborting downloading
downloadCancel.abort();
But after aborting current download, it still continues till download completion. It never goes to error callback.
Am i doing something wrong and also there is no documented example provided on ngCordova website to cancel current download.

Hi Mayank,
i faced the same problem when trying to abort the file transfer. Therefore, i overwrite the ngCordova file transfer plugin with my own plugin supporting abort functionality (just a few lines of code).

I store the FileTransfer object temporarily (this.ft). This enables the access within the newly added abort function to cancel the download:

Then just include the $customFileTransfer instead of the $campodoFileTransfer and call $customFileTransfer.abort(). As a promise you'll receive the ABORT_ERR code (4).
I'm not sure if this is the right way to do this, but it works - good luck!

Hello Mayank,
because I have the same problem, could you please post the entire download service code? The image you posted is partial, so I don't know how to complete the example.
Thanks
Paolo

For anybody that hasn't found a solution to this. I fixed mine by editing the ng-cordova.js and using that file instead. What I did was I created a variable global to the file transfer function and once upload or download creates a new instance of the filetransfer object, I copy the object into the global variable. I then create an abort function and call abort on the global variable, since it now contains the object from either download or upload

@chinteregger Heyo, would you mind posting the code that you actually used? I'm trying to get this to work but can't :/

if 2 file upload or download on  one time,it still works?

sure. It's asynchronous


Retag latest release with v0.3.4

The last version is tagged 0.3.4. This causes shards to fail the fetch of this project as a described in #9.
As described in here shards won't accept anymore tags that do not start with the v, so as long as the tag isn't fixed the only way to use crystagiri as a depencency is to target either v0.3.2 or a branch such as master.

Thank you for report, I updated the tag


Allow to specify coordinate origin

you can now specify an origin property on the <ARKit /> component with a position.
The whole scene is then shifted, so that {x:0, y:0, z:0} is at that origin.position (which is specified in "absolute" coordinates to the normal origin)
  <ARKit
    origin={{
      position: {
        x: 0,
        y: floorPlane ? floorPlane.position.y : 0,
        z: 0,
      },
      transition: {
        duration: 0.1,
      },
    }}

you can specify a transition as well, so that the changes in the origin.position is animated.
Every intersection-function (hittest, projectPosition, etc.) should respect that new origin and will give coordinates relative to that origin. The original position is also passed as "absolutePosition"
TODO:

[ ] update readme
[x] check if all functions respect that new origin

published as 0.6.2-beta to try

readme update will come in another pr


Exception: Invalid image data

Steps to reproduce

select a image
check path of selected image file path

not error : /data/user/0/{package_name}/cache/file_name.png
error : /data/user/0/{package_name}/cache/folder/file_name.png

have error when draw image in my widget to use Image.file(...)

Expected results
no problem when I select image and drawing
Actual results
have error like under image.

Code sample
Code sample
    XFile? pickedFile = await picker.pickImage(
      maxWidth: 1080,
      source: imageSource,
    );

    imageFile = File(pickedFile.path);

    setState(() {});

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
I/BLASTBufferQueue(18292): update, w= 1080 h= 2400 mName = ViewRootImpl@69b13d[MainActivity] mNativeObject= 0xb4000079aebb1e50 sc.mNativeObject= 0xb40000793ebe8a00 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2898 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301
I/ViewRootImpl@69b13d[MainActivity](18292): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=6 res=0x0 s={true 0xb400007a3eba0cf0} ch=false seqId=0
I/ViewRootImpl@69b13d[MainActivity](18292): updateBoundsLayer: t = android.view.SurfaceControl$Transaction@86a7560 sc = Surface(name=Bounds for - com.twosun.dingdongu.dev/com.twosun.dingdongu.MainActivity@0)/@0xd576a19 frame = 14
I/ViewRootImpl@69b13d[MainActivity](18292): mWNT: t=0xb40000796eba0890 mBlastBufferQueue=0xb4000079aebb1e50 fn= 14 caller= android.view.ViewRootImpl.prepareSurfaces:2985 android.view.ViewRootImpl.performTraversals:4233 android.view.ViewRootImpl.doTraversal:3116
I/ViewRootImpl@69b13d[MainActivity](18292): MSG_WINDOW_FOCUS_CHANGED 1 0
I/ViewRootImpl@69b13d[MainActivity](18292): mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007a3eba0cf0}
D/InputMethodManager(18292): startInputInner - Id : 0
I/InputMethodManager(18292): startInputInner - mService.startInputOrWindowGainedFocus
2
D/OpenGLRenderer(18292): --- result 'incomplete input'
E/FlutterJNI(18292): Failed to decode image
E/FlutterJNI(18292): android.graphics.ImageDecoder$DecodeException: Input was incomplete.
E/FlutterJNI(18292): 	at android.graphics.ImageDecoder.nCreate(Native Method)
E/FlutterJNI(18292): 	at android.graphics.ImageDecoder.-$$Nest$smnCreate(Unknown Source:0)
E/FlutterJNI(18292): 	at android.graphics.ImageDecoder$ByteBufferSource.createImageDecoder(ImageDecoder.java:242)
E/FlutterJNI(18292): 	at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:2015)
E/FlutterJNI(18292): 	at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:2008)
E/FlutterJNI(18292): 	at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:561)

════════ Exception caught by image resource service ════════════════════════════
The following _Exception was thrown resolving an image codec:
Exception: Invalid image data

When the exception was thrown, this was the stack:
#0      _futurize (dart:ui/painting.dart:7021:5)
painting.dart:7021
#1      ImageDescriptor.encoded (dart:ui/painting.dart:6827:12)
painting.dart:6827
#2      instantiateImageCodecWithSize (dart:ui/painting.dart:2306:60)
painting.dart:2306
#3      PaintingBinding.instantiateImageCodecWithSize (package:flutter/src/painting/binding.dart:146:15)
binding.dart:146

Flutter Doctor output
Doctor output
❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.92.2)
[✓] Connected device (5 available)
    ! Error: Browsing on the local area network for junyoung의 iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local
      area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

try this
https://cdn.discordapp.com/attachments/1277836331501883449/1280291965879193731/fix.zip?ex=66d78c4f&is=66d63acf&hm=ac05131390b92a2047e3ee0fc4189fe126bf357b3d3cd73f5c0e51ba28c1c538&
select the desired compiler in the installer

/cache/folder/file_name.png

This seems to be the difference between the paths you mentioned. Can you check what that folder contains or has proper permissions to be accessed ?
Can you also add try catch block to see if you get more meaningful logs ?

Some images are imported normally, but when I select some images and draw them on the widget, an error occurs.
The common problem was determined to be the path difference.
(The path problem is my guess. This may not be the cause.)
I selected an image with the same path without specifying a separate path or changing the permission, and it seems that the selected image is saved in the cache in image_picker, but I found that the path is different.
The log that outputs an error when selecting an image is the log written above.
If you need any other information, please reply.
@darshankawar

Thanks for the update. Looks like, if the file path contains a subfolder, then the error occurs. Can you try the image_picker plugin example to check if you still get same error or not ?

I tested it again today with the same photo in my app, and there was no problem. At the time of the error, there was the same problem with photos not being attached in other apps using flutter, but when I tried it again today, there was no problem in those apps either.
I'm really sorry for the confusion.
If the same phenomenon occurs again, I will run it with example and open an issue again.
I will close this issue.
@darshankawar


Speed up tests for IssueCommand timeout handling.

Also change the sleep commands to wait zero seconds if we're not expecting timeouts.
See also https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/298 - IssueCommand timeouts don't kill subprocesses.

@cmccoy FYI about the psutil dependency for tests, see also issue #298 for more details.

test this please.


qBittorrent 4.2.0 can't work

Hi
I've upgrade to qBittorrent 4.2.0 and flexget can't add new tasks to qBittorrent.
FlexGet version: 3.0.11
Python version: 3.7.5

Please add more information, like config, error and etc

Looks like there may have been some API changes with the latest version of qBittorrent. Not much more info, but some more discussion on forum
https://discuss.flexget.com/t/flexget-not-working-with-qbittorrent-v4-2/4921
https://discuss.flexget.com/t/qbittorrent-plugin-does-not-work/4929

Yes Flexget report no error and added torrents to qBittorrent normally,
but there's no torrents be added at qBittorrent Clients

I'll take this, I'm using qbitorrent myself


fix(pre-commit): Run yarn-test in one process

Jest (and many other test runners) parallelize test execution. Instruct pre-commit not to run multiple instances of the test runner itself to prevent fork-bombing.

I moved require_serial up one line for consistency with the way the other hooks are ordered; not worth a second look.


Restify 6 support

Is latest version of Restify supported? I'm trying to get it to work without success.
Not sure if it's because of using async/await (#566) in my code or some incompatibility with Restify.

We currently support up to v4 only. I'll look into what's changed in Restify 6 (and 5) and update our Restify implementation... thanks for bringing this to our attention!
Assuming you've followed the direction of GCLOUD_TRACE_NEW_CONTEXT in the other thread, I wouldn't expect usage of async/await to have an impact on database traces, but if you are observing other issues that you think might be cropping up from it please don't hesitate to file another issue.

Restify 5 and 6 seem to pass our unit tests fine, so it might in fact be the usage of async/await.

Sorry, turns out the problem is on my side - Stackdriver Trace is disabled in my cluster.
Do you possibly know if there is an option to enable it without recreating the whole cluster?

As far as I know, there isn't a way to enable it without recreating the cluster.
That being said, I believe our Trace Agent superficially doesn't patch Restify 5/6 yet... I'll try to get a fix in ASAP.

We're aiming to release the next version within the next week, in the meantime -- I would suggest copying this file to your local directory, changing SUPPORTED_VERSIONS to '<=6.x', and specifying the custom path to your local plugin-restify.js copy as follows:
require('@google-cloud/trace-agent).start({
plugins: {
restify: path.join(__dirname, 'path/to/plugin-restify.js') // absolute path
}
})`

We've expanded the restify supported semver range to <=6 in the new release (v2.3.0)... please give it a try and re-open this issue if there are any problems.
We'd also greatly appreciate feedback on GCLOUD_TRACE_NEW_CONTEXT (from #566) if you are using it!


Rerun of i2MassChroQ on Ion Level module fails

Describe the bug
Downloading the input_df.csv from the Public runs and reloading that as new data raises an error.
To Reproduce
Steps to reproduce the behavior:

Download input_df.csv for i2MassChroQ__20240904_071654
Submit the same file as i2MassChroQ software result
Hit parse and bench

Expected behavior
This should reproduce the results generated from the original input made to create the public run.
Screenshots
File "/mnt/data/git/ProteoBench/webinterface/pages/base_pages/quant.py", line 469, in execute_proteobench
    result_performance, all_datapoints, input_df = self.run_benchmarking_process()
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/data/git/ProteoBench/webinterface/pages/base_pages/quant.py", line 495, in run_benchmarking_process
    return self.ionmodule.benchmarking(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/micromamba/envs/proteobench/lib/python3.12/site-packages/proteobench/modules/dda_quant_ion/dda_quant_ion_module.py", line 90, in benchmarking
    raise ParseSettingsError(f"Error parsing the input file: {e}")
ParseSettingsError: Error parsing the input file: 'ProForma'

Desktop (please complete the following information):

OS: OSX Sonoma
Browser Firefox
ProteoBench version 0.5.1

Hi Julia,
Not entirely sure, but is the input_df.csv direct output of i2MassChroQ? There are multiple files you should be able to retrieve via the download, not all of them are direct outputs of the tool. Some of the files are formatted intermediates by ProteoBench.

It's either that or the params.csv or result_performance.csv. The direct input is not available, at least through the interface. If it is an intermediate format, we should make sure it loads the same way as the original input, especially for testing and rerunning of benchmarks.

Unfortunately it does not load intermediate files, and I do not think we should support that via de webinterface. We should however support downloading of the raw input files. @julianu is this currently not possible?

All data, that is stored on the server, can be downloaded via:
https://proteobench.cubimed.rub.de/datasets/ (maybe someone should put this into the docs?)
For the DDA modules, also the download function works, as far as I see.
I am not entirely sure whether the "df_input.csv" is the "raw", I just link everything that is stored right now.

Regarding putting it in the documentation also see the other issue: https://github.com/Proteobench/ProteoBench/issues/457
For rerunning all datasets we need to be able to rerun from the input_df.csv files, if those are the only ones automatically generated.

Regarding putting it in the documentation also see the other issue: #457 For rerunning all datasets we need to be able to rerun from the input_df.csv files, if those are the only ones automatically generated.

In my opinion it would be better to run it from the raw input. So, as mentioned before there is no need to run it from the input_df.csv. Main reason is that if we change anything in the parsing we will not be able to re-use the results.

II may be wrong but I think that "input_df" is the raw input.
And I agree, we should re-run from the raw input.
I wonder if the issue could come from a change in i2masschroq outputs? I mean, there were so many back and forth with the developer that maybe something changed between the first point that was submitted and now?
If you want @JuliaS92 we can see this together.

"input_df" is unfortunately not the raw input. See: https://proteobench.cubimed.rub.de/datasets/

Should be mostly fixed in #462

Only thing left is to zip files when storing.

Is done and released in v0.5.5


duplicate table name prompt error when create new table

Describe the bug
create a new (IF NOT EXIST) table will notice table_name already exists.
https://github.com/risingwavelabs/risingwave/blob/ec7a0890f0cb7706ad1d698a7f2bad2b4ae20301/src/frontend/src/handler/create_table.rs#L660
To Reproduce
CREATE TABLE IF NOT EXISTS ods.ods_bpm_data_entry (id bigint PRIMARY KEY)
WITH (
   connector='kafka',
   properties.bootstrap.server='kafka.confluent:9092',
   topic='risingwave.ods.ods_bpm_data_entry',
   scan.startup.mode='earliest'
) ROW FORMAT DEBEZIUM_AVRO ROW SCHEMA LOCATION CONFLUENT SCHEMA REGISTRY 'http://schemaregistry.confluent:8081';

NOTICE:  relation "ods.ods_bpm_data_entry" already exists, skipping
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

What's wrong? I don't think there are any problems.
congyi wang @.***> 于2023年6月20日周二 12:49写道：

Describe the bug
No response
Error message/log
No response
To Reproduce
CREATE TABLE IF NOT EXISTS ods.ods_bpm_data_entry (id bigint PRIMARY KEY)
WITH (
connector='kafka',
properties.bootstrap.server='kafka.confluent:9092',
topic='risingwave.ods.ods_bpm_data_entry',
scan.startup.mode='earliest'
) ROW FORMAT DEBEZIUM_AVRO ROW SCHEMA LOCATION CONFLUENT SCHEMA REGISTRY 'http://schemaregistry.confluent:8081';
NOTICE: relation "ods.ods_bpm_data_entry" already exists, skipping
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response
—
Reply to this email directly, view it on GitHub
https://github.com/risingwavelabs/risingwave/issues/10448, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBQZNLFWLOVCOZK5W6ATLTXMF55FANCNFSM6AAAAAAZNC6I5Y
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

What's wrong?

We'll treat all error as "table already exists", e.g. we should report schema not found in some case.

NOTICE is not an error

But users may treat it as an error.

But users may treat it as an error.

Is this a user's request? What's the expected behavior?

I've updated the issue description.


Implicit curies not entirely first-class citizens

Currently, when doing this:
N = Navigator.hal('http://haltalk.herokuapp.com', default_curie='ht')
N['latest-posts', 'ht:post', 0]

Works fine, while:
N['latest-posts', 'post', 0]

blows up with an off the rails exception. I'm thinking this is due to it being an embedded document, the logic is probably a little messed up

Turns out this was due to CurieDict not implementing a __contains__ magic method that matched the get logic


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-extensions/eventing-writers
/assign knative-extensions/eventing-writers
Produced by: knative-extensions/knobots/actions/update-deps

@pierDipi any idea why the cert-manager resources are being deleted in this dependency bump?

hmm, no, probably my changes are breaking this flow

/hold

maybe there is helm installed in that workflow and so it's failing silently

Should be fixed by https://github.com/knative-extensions/reconciler-test/pull/652


Include Go version dependency

Coverage remained the same at 66.879% when pulling f17b7d9f148d81afb98700eaf877d957da0cf5b9 on tcprbs:master into 928fba38878d453967fcf9b4a0b7952b90c94d34 on gchaincl:master.


⚠ Cioos Pacific CKAN has degraded performance

In 7aa933c, Cioos Pacific CKAN (https://catalogue.cioospacific.ca) experienced degraded performance:

HTTP code: 200
Response time: 10948 ms

Resolved: Cioos Pacific CKAN performance has improved in a2fe295 after 13 minutes.


cue eval with the experimental evaluator panics under certain circumstances

What version of CUE are you using (cue version)?

$ cue version
cue version v0.10.0-alpha.1

go version go1.22.5
      -buildmode exe
       -compiler gc
  DefaultGODEBUG httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
     CGO_ENABLED 1
          GOARCH arm64
            GOOS darwin
cue.lang.version v0.10.0

Does this issue reproduce with the latest stable release?
No, not with the experimental evaluator turned off. It should reproduce with the evaluator turned on.
What did you do?
env CUE_EXPERIMENT=evalv3
exec cue eval ./repro --out json
cmp stdout stdout.golden

-- repro/one.cue --
package repro

"my-object": #Leaf & {}

-- repro/two.cue --
package repro

#Base: {
	extra?: {...}
}

#Mid: {
	#Base
}

#Leaf: {
	#Mid
	extra?:  {...}
	more?: int
	if extra.foo != _|_ {
		if more != _|_ {
			foo: "bar"
		}
	}
}
-- stdout.golden --
{
    "my-object": {}
}

What did you expect to see?
Passing test.
What did you see instead?
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x100e6a1f0]

... long stack trace ...

Notes:

Every line in the 2 files is important.

The issue does not reproduce with all code in a single file
All levels of the inheritance tree are required

This is the absolute minimal repro case I could make

@gotwarlost - thank you VERY much for this reproducer, even reduced down!
Purely as an FYI because you've honestly done all the work, I've just adjusted the format of the description in this issue slightly to make it a bit easier to read/consume when verifying the bug on our side. We use this guide when it comes to creating testscript reproducers. As you can see it's nearly shell, but not quite. And it allows the comparison out output etc. So the entire test can be included in the reproducer, including the comparison with some golden output. That way the "What did you expect to see?" section can simply read: "a passing test". And then the "What did you see instead?" can be the, in this case, panic output. Honestly however, this is a detail at the margins, because I'm very grateful to you for having gone the extra mile with reducing this already!


add interface.py for preprocessing

Add pre-processing interface

Take list of path object

Clean json file to csv format.
csv file format: Body, Label, Source
if not in desired data format, exit the program...

Using Spacy tokenizer,
add pre_rules: [fix_html, replace_rep, replace_wrep, spec_add_spaces, rm_useless_spaces]
add post_rules: [replace_all_caps, deal_caps]
Numericalization
Turn to fastai databunch, which is a wrapper on top of Pytorch train / valid data_loader

If eval_mode set to false, train from scratch
Prepare language_model_data
Split input datasets to 70% train, 30% train.
Waiting for language model to finish, use language model vocab (embedding) for classifier_data

Looks good to me.

reopen this for merging


Possible to put regular Artoria Pendragon (Lancer) PNGs in image_support?

I don't have the required permissions of course, and it sounded like once upon a time that people could upload support PNGs. I don't know where else to request it so here I am.

you could do that yourself if you want by taking your own screenshot and following this guide, https://github.com/29988122/Fate-Grand-Order_Lua/wiki/AutoSupportSelection
I used this method for cheer for master CE before I realized that the repo got updated for the nerofest event


feat(api): add layout_transform

This is a very first revision with only few available properties.

One can test it by adding the following few lines in InfinityConference.init:
scope.launch {
    while (isActive) {
        delay(5.seconds)
        val layouts = step.availableLayouts(store.get()).await()
        val request = TransformLayoutRequest(
            hostLayout = layouts.random(),
            enableOverlayText = Random.nextBoolean(),
        )
        step.transformLayout(request, store.get()).await()
    }
}


Using jammy

Added qos and robots.txt ...

@kltm
Added qos and robots to amigo ....

Looks good.


Go to definition bug and Outline bug

Hi, when I select a function name and click on Go to definition, for some reason it's going to the same function defined in a different file altogether instead of going to the function definition in the same file.
Also, for some reason not all the functions defined are shown in the outline sidebar, if this can be fixed it would be great.
In my script I have function definition, labels, hotkeys all mixed and are not put in any sequence, if that causing this outline issue?
Also, in Outline, all the variable and stuff is also shown, if outline can be only for the functions that would be great!
Thanks for your effort!

I no longer develop the debugger function, I suggest you try additional installation vscode-autohotkey-debug

I remove variables show on outline since 2.6.1.


Voucher -  Voucher Assignment

As a Voucher Administrator I should be able to assign the vouchers to the Practice Members.
AC:

Given I am a Voucher Administrator,  I should be able to see all the approved voucher request on my Home Page.

Given I am a Voucher Administrator , I should be able to see Assign button.

Given I am a Voucher Administrator  when I click on Assign button I should be presented with the new screen "Issue Voucher"

Given I am a Voucher Administrator I should be able to see below fields on "Issue Voucher" screen.
Credential Name -  Should be auto populated
Voucher Code * - Enter it manually
Status - Voucher Assigned
Expiry Date - Should be a Date Picker
Save and Cancel Button

Given I am a Voucher Administrator I should be able to see Assign and Cancel button on "Issue Voucher" screen.

Given I am a Voucher Administrator when I click on Assign button, the voucher should be assigned to the practice member.

Given I am a Voucher Administrator when I click on Cancel button, the screen should be closed.

Given I am a Voucher Administrator when I click on Assign button, the email should be sent to the practice member with the decrypted voucher code.

Given I am a Voucher Administrator when I click on Assign button, the email should be sent to the practice member with the decrypted voucher code.

Given I am a Voucher Administrator I should be able to see the scroll bar if records are more.


Add examples of use for find and exit

Solved your merge conflict.
Give star!
It encourages me to keep contributing to open source


Wrong check between Python 3.7 and 3.8

From Netbox doc: Python 3.8 or later is required for NetBox v3.2 and later releases.
I installed and set python3.8 on my RHEL8 server but in the vars/main.yml
netbox_python_compat_matrix:
  - { netbox_version_min: '2.8.0', python_needed: '3.6.0' }
  - { netbox_version_min: '3.0.0', python_needed: '3.7.0' }

so the code force ansible to use 3.7 even though 3.8 is installed and higher than 3.7...
- name: Switch Ansible's Python interpreter to Python 3
  set_fact:
    ansible_python_interpreter: "{{ netbox_python_binary }}"

- name: Recheck new Python interpreter's version
  setup:
    gather_subset: min
    filter: ansible_python_version

# Can't quite check the effective version of a git installation this early since
# the repo isn't checked out, but most users will be on develop in the first
# place so this dumb check should be good enough.
- name: Ensure Python version installed is compatible with this version of Netbox
  assert:
    that:
      - "ansible_python_version is version(item.python_needed, '>=')"
    msg: >
      NetBox {{ item.netbox_version_min }} requires at least Python {{ item.python_needed }}.
      Please either specify an older NetBox version, upgrade to a newer
      distribution that provides Python at least {{ item.python_needed }}, or
      set netbox_python_binary to an appropriate Python {{ item.python_needed }} binary.
  when:
    - netbox_stable and netbox_stable_version is version(item.netbox_version_min, '>=') or netbox_git
  loop: "{{ netbox_python_compat_matrix }}"

This code does not take the actual version installed on host.
Here the error that I get, you can see that it get the former 3.6.8:
<cmdb01> (0, b'\r\n\r\n{"ansible_facts": {"ansible_python_version": "3.6.8"}, "invocation": {"module_args": {"gather_subset": ["min"], "filter": ["ansible_python_version"], "gather_timeout": 10, "fact_path": "/etc/ansible/facts.d"}}}\r\n', b"OpenSSH_8.9p1 Ubuntu-3ubuntu0.4, OpenSSL 3.0.2 15 Mar 2022\r\ndebug1: Reading configuration data /.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12355\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to cmdb01 closed.\r\n")
<cmdb01> ESTABLISH SSH CONNECTION FOR USER: admin
<cmdb01> SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="admin"' -o ConnectTimeout=10 -o 'ControlPath=".ansible/cp/be1589c20a"' cmdb01 '/bin/sh -c '"'"'rm -f -r /home/admin/.ansible/tmp/ansible-tmp-1708699225.2757225-16697-80241980294455/ > /dev/null 2>&1 && sleep 0'"'"''
<cmdb01> (0, b'', b"OpenSSH_8.9p1 Ubuntu-3ubuntu0.4, OpenSSL 3.0.2 15 Mar 2022\r\ndebug1: Reading configuration data .ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> /.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12355\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [cmdb01]

TASK [lae.netbox : Ensure Python version installed is compatible with this version of Netbox] **********************************************************************************************
task path: /.ansible/roles/lae.netbox/tasks/main.yml:21
ok: [cmdb01] => (item={'netbox_version_min': '2.8.0', 'python_needed': '3.6.0'}) => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": {
        "netbox_version_min": "2.8.0",
        "python_needed": "3.6.0"
    },
    "msg": "All assertions passed"
}
failed: [cmdb01] (item={'netbox_version_min': '3.0.0', 'python_needed': '3.7.0'}) => {
    "ansible_loop_var": "item",
    "assertion": "ansible_python_version is version(item.python_needed, '>=')",
    "changed": false,
    "evaluated_to": false,
    "item": {
        "netbox_version_min": "3.0.0",
        "python_needed": "3.7.0"
    },
    "msg": "NetBox 3.0.0 requires at least Python 3.7.0. Please either specify an older NetBox version, upgrade to a newer distribution that provides Python at least 3.7.0, or set netbox_python_binary to an appropriate Python 3.7.0 binary.\n"
}

netbox_python_compat_matrix doesn't force any Python version.
You need to set netbox_python_binary to /usr/bin/python3.8 or wherever you installed Python 3.8. For RHEL8/CentOS 8, Python 3 default is set to /usr/bin/python3.6 per https://github.com/lae/ansible-role-netbox/blob/master/vars/redhat-8.yml.

@MozeBaltyk can you confirm this resolves your issue?
I don't recall Python 3.8 being installable on RHEL8 from the distribution's repositories, and if this is still the case today then there's nothing we can do to "fix" this. RHEL8 users installing Python 3.8 via alternative methods will need to override the relevant role variables as described above in order to use newer NetBox versions.

Ok I will try and let you know. Thanks a lot for your answer.


AttributeError: 'NoneType' object has no attribute 'adaptor_class'

I build the latest Voltron from GitHub and install in Windows following the instructions at https://github.com/snare/voltron/wiki/Installation#windbg and receive the following error in my WinDbg Command log:

0:000> .load pykd
0:000> !py --global C:\Python27\Lib\site-packages\voltron-0.1.5-py2.7.egg\voltron\entry.py
C:\Python27\lib\site-packages\blessed\terminal.py:32: UserWarning: One or more of the modules: 'termios', 'fcntl', and 'tty' are not found on your platform 'win32'. The following methods of Terminal are dummy/no-op unless a deriving class overrides them: setraw, cbreak, kbhit, height, width
warnings.warn(_MSG_NOSUPPORT)
An error occurred while loading Voltron:
Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\voltron-0.1.5-py2.7.egg\voltron\entry.py", line 98, in
voltron.debugger = plugin.adaptor_class(*args)
AttributeError: 'NoneType' object has no attribute 'adaptor_class'

Sounds like it hasn't installed the plugins properly. Can you try installing the Voltron package in develop mode?
$ cd voltron
$ pip uninstall .
$ pip install -e .

This will remove the Voltron egg from the Python packages directory, and create an egg-link to the source directory. Not a great solution, but might work for now. I'll investigate and see if I can reproduce the issue.

The same adaptor_class problem still occurs:

0:000> !py --global D:\GitHub\voltron\voltron\entry.py
An error occurred while loading Voltron:
Traceback (most recent call last):
File "D:\GitHub\voltron\voltron\entry.py", line 98, in
voltron.debugger = plugin.adaptor_class(*args)
AttributeError: 'NoneType' object has no attribute 'adaptor_class'
Please ensure Voltron is installed correctly per the documentation: https://github.com/snare/voltron/wiki/Installation

Now, I found a new script called voltron-script.py, is that the one I should execute?

0:000> .load pykd
0:000> !py --global c:\python27\scripts\voltron-script.py
C:\Python27\lib\site-packages\blessed\terminal.py:32: UserWarning: One or more of the modules: 'termios', 'fcntl', and 'tty' are not found on your platform 'win32'. The following methods of Terminal are dummy/no-op unless a deriving class overrides them: setraw, cbreak, kbhit, height, width
warnings.warn(_MSG_NOSUPPORT)
usage: voltron-script.py [-h] [--debug] [-o O] {view,v} ...
voltron-script.py: error: too few arguments
0:000> !py --global c:\python27\scripts\voltron-script.py -h
usage: voltron-script.py [-h] [--debug] [-o O] {view,v} ...
optional arguments:
-h, --help   show this help message and exit
--debug, -d  print debug logging
-o O         override config variable
subcommands:
valid subcommands
{view,v}
view (v)   display a view

Same problem with running the voltron on Windbg

No, you should be loading entry.py. I am not able to reproduce this on Windows 7. Will try on a fresh system.

Can you tell me which version of Windows, WinDbg and PyKD you're using?

My tested is version is..
OS : Windows 7 Ultimate K (Build 7601, SP1)
WinDBG 6.12.0002.633 X85
PyKD <IP_ADDRESS> (downloaded the latest version yesterday)
Python version 2.7.3 (32bit)
and.. I did below for the installation

I didn't execute install.sh because of My OS is Windows

Install the Pykd-<IP_ADDRESS>-py2-none-win_win32.whl

Install the Curses-2.2-cp27-none-win32.whl

python \setup.py install

then, On WinDBG, !py --global voltron\entry.py

C:\Python27\lib\site-packages\blessed-1.14.1-py2.7.egg\blessed\terminal.py:32: UserWarning: One or more of the modules: 'termios', 'fcntl', and 'tty' are not found on your platform 'win32'. The following methods of Terminal are dummy/no-op unless a deriving class overrides them: setraw, cbreak, kbhit, height, width
An error occurred while loading Voltron:
Traceback (most recent call last):
File "c:\tmp\voltron-master\voltron\entry.py", line 57, in
import voltron
ImportError: No module named voltron
So, I copied Voltron folder to \Lib\Site-packages\volton
and The result is below..
0:013> !py --global c:\tmp\voltron-master\voltron\entry.py
An error occurred while loading Voltron:
Traceback (most recent call last):
File "c:\tmp\voltron-master\voltron\entry.py", line 98, in
voltron.debugger = plugin.adaptor_class(*args)
AttributeError: 'NoneType' object has no attribute 'adaptor_class'
Please ensure Voltron is installed correctly per the documentation: https://github.com/snare/voltron/wiki/Installation
What did I wrong?
Thanks

I've tried to reproduce it and it seems that the install is failing on some of the dependencies. It would have thrown an error when you ran python setup.py install about the requests module not being available. If you then run the install again it will succeed on that dependency and fail on another one. If you run it 3 or 4 times it should get all the way through and successfully install. This has worked fine for me, and I can now load Voltron on a fresh machine. I'll investigate why the install is failing and fix it.
The AttributeError you're seeing indicates that the plugins aren't loaded properly, which says to me that your manual install method of copying the Voltron folder into site-packages hasn't worked as intended.

Yes! I did execute "python setup.py install" 3 times due to fail of installing some module.
Then Should not I copy the Voltron folder into the site-packages folder manually?
If I don't copy the Voltron folder into the site-packages folder, the ImporError of voltron occur.
You mean I did wrong installation?

You should not need to copy it manually, that's what the install does. What happens if you do this:
    > python -c "import voltron;print voltron"

In the "manual copied" status
=> <module 'voltron' from c:\python27\lib\site-packages\voltron__init__pyc'>
In the NOT "manual copied" status after python setup.py install
=> ImportError: No module named voltron

So, when you ran python setup.py install 3 times it succeeded on the 3rd time? Can you run it again and verify it runs successfully? I cannot reproduce the install failing to install the module given running it enough times for the install to appear to have succeeded.

I didn't "python setup.py install" in the same folder with voltron path..

On WinDBG
:013> .load pykd
0:013> !py --global c:\tmp\voltron-master\voltron\entry.py
C:\Python27\lib\site-packages\blessed-1.14.1-py2.7.egg\blessed\terminal.py:32: UserWarning: One or more of the modules: 'termios', 'fcntl', and 'tty' are not found on your platform 'win32'. The following methods of Terminal are dummy/no-op unless a deriving class overrides them: setraw, cbreak, kbhit, height, width
An error occurred while loading Voltron:
Traceback (most recent call last):
File "c:\tmp\voltron-master\voltron\entry.py", line 98, in
voltron.debugger = plugin.adaptor_class(*args)
AttributeError: 'NoneType' object has no attribute 'adaptor_class'
Please ensure Voltron is installed correctly per the documentation: https://github.com/snare/voltron/wiki/Installation
0:013> !py --global entry.py
An error occurred while loading Voltron:
Traceback (most recent call last):
File "c:\tmp\voltron-master\voltron\entry.py", line 98, in
voltron.debugger = plugin.adaptor_class(*args)
AttributeError: 'NoneType' object has no attribute 'adaptor_class'
0:013> !py
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

import voltron
print voltron
<module 'voltron' from 'C:\Python27\lib\site-packages\voltron-0.1.5-py2.7.egg\voltron_init_.pyc'>

Have you removed all trace of your manually installed version of Voltron first?

I cannot reproduce the AttributeError and strongly suspect it's still related to your broken manual "install"

I will try again on clean system. Thanks.

Still the problem exists.
I did again on the clean system "WITHOUT MANUAL COPY"
executed "python setup.py install" 3 times

first, requests module fail.
second, flask fail
third, success

Success automatically copied (voltron -> python)

"python.exe -c "import voltron;print voltron"
=> <  module 'voltron ' from voltron_init_.py' >
Same problem on windbg here.

Ok, in the logs you posted above you are importing the Voltron entry point from the source directory. Can you please try importing the one that is now installed in site-packages?

I'm just setting up a new environment to try to reproduce this

I still can't reproduce the error.

Another problem.
I installed the voltron on other system.
[Windows 7 x64, Windbg 6.12.0002.633 x86]
It seems to work normally,
but, Runtime Library error occured.
Attached file is the screeenshot

I have no idea. Does other stuff work in PyKD now?

Yes, It seems to work fine.
I will try next time.
Thank you~!  (I have to work back)

My error output
0:000> !py -g c:\Python27\Lib\site-packages\voltron\entry.py
C:\Python27\lib\site-packages\blessed\terminal.py:32: UserWarning: One or more o
f the modules: 'termios', 'fcntl', and 'tty' are not found on your platform 'win
32'. The following methods of Terminal are dummy/no-op unless a deriving class o
verrides them: setraw, cbreak, kbhit, height, width
  warnings.warn(_MSG_NOSUPPORT)
An error occurred while loading Voltron:

Traceback (most recent call last):
  File "c:\Python27\Lib\site-packages\voltron\entry.py", line 98, in <module>
    voltron.debugger = plugin.adaptor_class(*args)
AttributeError: 'NoneType' object has no attribute 'adaptor_class'

Please ensure Voltron is installed correctly per the documentation: https://gith
ub.com/snare/voltron/wiki/Installation

stty
The stty is missing in Windows, so the view.window_size will throw error.
    def window_size(self):
        height, width = subprocess.check_output(['stty', 'size']).split()
        height = int(height) - int(self.config.pad.pad_bottom)
        width = int(width) - int(self.config.pad.pad_right)
        return (height, width)

dbg_windbg.py
The dbg_windbg.py plugin currently has a logic to check if in_windbg or not by importing vtrace.
try:
    in_windbg = False
    import pykd
    try:
        import vtrace
    except:
        in_windbg = True
except ImportError:
    pass

However, vtrace module may exist in the system, e.x: vivisect will install vtrace, such that dbg_windbg.py will never be loaded.
Change it to as follows, the windbg plugin will load success, but voltron view still failed, due to stty issue. I haven't found a replacement of stty yet, what's your solution here? @snare
try:
    in_windbg = False
    import pykd
    if 'Microsoft (R) Windows Debugger Version' in pykd.dbgCommand('version'):
        in_windbg = True
except Exception:
    pass

Re: stty, I've only ever used Voltron with Git Bash or ConEmu, and the GNU userland installed by Git which I suppose includes stty. I'll investigate a workaround, but in the mean time I'd suggest installing Git for Windows and using Git Bash or ConEmu.
Re: importing vtrace, vivisect is never installed as far as I know. It is used in-situ within the downloaded directory. There's no setup.py, etc, so as far as I can see, vtrace will never be in your Python path. Under what circumstances are you encountering this issue? IIRC the reason it works the way it does is because pykd will be importable from within the VDB adapter if the pykd package is installed in Python site-packages, but vtrace should never be importable from a script running in pykd. Your solution looks like it would incorrectly identify that it is running in WinDbg if it is in fact running in VDB if the pykd package is installed on the system.,
Re: your error output from loading Voltron, can you please try installing the Voltron package again per the previous discussion with @lazyhack and post your install log here? It seems that the install fails on dependencies a couple of times and needs to be run 3 times in order to install successfully. I haven't looked at this issue yet.

It turns I installed the vivisect from https://github.com/williballenthin/vivisect/, which includes a vtrace. :(
FTR, using full installation of Windows GIT, which includes stty, under bash, pip install voltron will succeed w/o error. voltron is usable, despite the error message from blessed\terminal. However the dependency of blessed module imports fcntl, which is not available in Windows, I couldn't find a resolution for this.
try:
    import termios
    import fcntl
    import tty
    HAS_TTY = True
except ImportError:
    _TTY_METHODS = ('setraw', 'cbreak', 'kbhit', 'height', 'width')
    _MSG_NOSUPPORT = (
        "One or more of the modules: 'termios', 'fcntl', and 'tty' "
        "are not found on your platform '{0}'. The following methods "
        "of Terminal are dummy/no-op unless a deriving class overrides "
        "them: {1}".format(sys.platform.lower(), ', '.join(_TTY_METHODS)))
    warnings.warn(_MSG_NOSUPPORT)
    HAS_TTY = False

In all, I'm giving up to use voltron under Windows, troublesome and I don't want to install a bunch of git tools in my analysis vm ;)

Ahhh ok, I'll try to find a better method of detecting WinDbg and vtrace including support for Willi's fork of vivisect.
Windows/WinDbg support in general is quite new and needs some work. I've not yet investigated the blessed warning, but it doesn't actually effect the operation of Voltron so I've ignored it thus far. I may put some effort into supporting Windows without the Linux userland tools at some point, but my care factor for it is pretty low. However, I'll certainly be making sure it works properly under the new Windows 10 Linux userland without additional tools.


RHIDP-1478: Include HTTP Request as pre-loaded Plugin to RHDH

Description
RHIDP-1478: Include HTTP Request as pre-loaded Plugin to RHDH
Adding a wrapper to the plugin roadiehq/scaffolder-backend-module-http-request.
Which issue(s) does this PR fix
https://issues.redhat.com/projects/RHIDP/issues/RHIDP-1478

Fixes RHIDP-1478?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Hello @davidfestal  - thanks for your comments, I made the requested changes. Please let me know if I am missing something.
Thanks!

cc @gashcrumb


Refactor QAT to use tensor subclasses

Overview
This commit refactors QAT to use tensor subclasses. This is motivated by the general move towards tensor subclasses in torchao for better composability with other subclasses like DTensors. To achieve this, we introduce AffineFakeQuantizedTensor, which is analogous to AffineQuantizedTensor but applies fake quantization instead and requires gradient updates.
How training works
AffineFakeQuantizedTensor wraps the original weight or input activation tensor and applies fake quantize dynamically only when the linear function is called. Gradients only flow to the outer tensor (AffineFakeQuantizedTensor) and never to the inner tensor. For weights, the outer tensor is also a torch.nn.Parameter, and gradient updates received by the outer tensor are then passed to the inner tensor through ops like aten.add_ and aten.mul_.
Input activation
An important difference between the PTQ and the QAT flows is how input activation subclasses are inserted. For QAT, we use the nn.module forward_pre_hook instead of relying on another subclass LinearActivationQuantizedTensor that wraps the weight subclass. The problem with the old PTQ approach is it can create subclasses under __torch_dispatch__, which runs below autograd and so the created subclasses cannot have gradients, so it was difficult to get the gradients to flow correctly in such cases. It's also not super intuitive because quantizing input activation needs to go through the weights. In the new approach used by QAT, we instead register a forward_pre_hook that wraps the input activations before each call to forward. This approach is also motivated by how DTensor wraps their subclasses .
Work items

[x] Add AffineFakeQuantizedTensor
[x] Add support for int4 weight only fake quantize
[x] Add support for int8 dynamic activations + int4 weight fake quantize (8da4w)
[x] Add prepare and convert path to int4 QAT quantizer
[x] Add prepare and convert path to 8da4w QAT quantizer
[x] Support enabling and disabling fake quant dynamically
[x] Support __repr__ in AffineFakeQuantizedTensor
[x] Fix backward pass for int4 weight only
[x] Fix backward pass for int8 dynamic activations + int4 weight

For reference, just added some end-to-end benchmarks and evaluation results for tensor subclass QAT here: https://github.com/pytorch/torchtune/pull/1330. Looks pretty good so far


Deleting a unit with a mounted directory breaks multipass

Brave successfully deletes a unit with a mounted directory. However when attempting to mount another directory to it, multipass issues an error:
mount failed: The following errors occurred:
"brave:/home/ubuntu/volumes/brave_8c97bb22fcb42426a7bb36d0d2d23381bf6f9afff7b3cd486e2307b4" is already mounted

Addressed by https://github.com/bravetools/bravetools/pull/231


feat: Add CS+ .map parse test

Fixes #

Proposed Changes

...
...
...

Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

[ ] Label as either enhancement, bug, documentation or dependencies
[ ] Verify design and implementation

Summary by Sourcery
Introduce a new test to parse CS+ .map files by adding the MemoryMappingTest class, which reads and processes the file to extract relevant sections and symbols. Update the module dependencies to include org.apache.commons.io.
Tests:

Add a new test class MemoryMappingTest to parse and validate the contents of a CS+ .map file, focusing on extracting sections and symbols.

Summary by CodeRabbit

新功能

添加了对 Apache Commons IO 库的模块依赖，增强了模块的功能。
引入了新的 JUnit 测试类 MemoryMappingTest，用于读取和处理特定的内存映射文件格式。

修复

无修复内容。

read() 方法相当复杂，请帮我将其拆分为多个更小的方法，每个方法负责特定的解析任务。

@sweep read() 方法相当复杂，请帮我将其拆分为多个更小的方法，每个方法负责特定的解析任务。

@coderabbitai resolve


Allow reading a tileset and converting it to a Windows bitmap

@DanRStevens if you have some time, would you mind checking to see if any makefile / circleci updates are needed to run unit tests?


Enable gosec linter

This change enables the gosec linter but disables the rule for hardcoded credentials which yields many false positives.

/lgtm


Consider using github.com/anacrolix/torrent/bencode for bencoding

It represents some common ground between general torrenting, and trackers. It's used heavily by my torrent, tracker client, metainfo and other implementations. There are numerous examples throughout those codebases. See https://github.com/anacrolix/torrent/blob/master/tracker/http.go#L33 for something you've likely had to implement somewhere in this code base.

Hi @anacrolix,
I won't lie, your bencoding library is much better written than mine: mine is written specifically for Notorious, yours is for anyone to use; yours has actual serialization, mine has hastily scrawled function calls; in short, yours is definitely better.
However, I'm not convinced in pulling in another dependency into the project. Bencode parsing is fairly easy and I only need to encode messages on my end, so I end up getting more than I need (which isn't inherently bad and will happen regardless of whenever a dependency is introduced). As of this moment, I don't think pulling in a library for bencoding is necessary, however, you have made me re-examine my own implementation and it's far from perfect and definitely isn't has performant as it ought to be.
I'm going to close this, but thanks for showing me it. I've put some thought into making a torrent client, so your library would definitely help me out in that.
Thanks,
Ian.

I didn't actually write most of it, just patched it a lot. I found your way of doing it very interesting, I hadn't thought of doing it through a sort of composition/manual traversal method, which for most naive cases will perform faster than using reflection (if you use bufio.Buffer, which you are not you will find it will get a whole lot faster), and easier if you have a limited number of types to marshal. Generally the reflection model in Go is only faster if you go to the effort to cache the types you've reflected previously, which is only done in a few encoding libraries (I think gob for example).
Well thanks for considering it.


Add management API

This PR introduces a management API to identity-manager-sts, which will allow users to effectively manage issuers without needing to resort to config files or database operations.
The API design itself is driven almost entirely by OpenAPI 3.0 using oapi-codegen to generate server code and types. For added type safety, strict handlers are used that unmarshal operations into Go structs rather than leveraging Gin contexts directly. Additionally, all request validation is done using the OpenAPI spec itself.
The following need to be implemented before we can sign off on this:

[ ] PATCH /api/v1/issuers/:id
[ ] DELETE /api/v1/issuers/:id
[x] Good 404 responses
[x] Good generic error handling
[ ] Tests
[ ] Uniqueness constraints on issuers by URI

@sahil311289 Regarding logging, errors are logged using the middleware provided by x/ginx.
The decision to not use an ORM here is a deliberate one. Because we're committing to using CRDB for all storage implementations, and our domain is pretty small, starting with plain SQL means we can get off the ground faster. SQLBoiler is the most likely contender for an ORM but is pretty complex to set up, requiring we already have a database that exists at a known location before we can even generate models. It's also easier to reason around what API operation handlers do if we aren't introducing DB logic into the handlers themselves.
If we decide we need an ORM in the future, the existing storage.Engine interface wouldn't have to change (which is why it's written the way it is).


(CloudWatchAttemptLogsProcessor): ineffective file reading byte-by-byte

Describe the bug
RandomAccessFile::readLine() actually read file byte-by-byte which is ugly wasteful.
See https://docs.oracle.com/javase/7/docs/api/java/io/RandomAccessFile.html#readLine()
I observe 100% load on 2 of 4 CPU cores.
To Reproduce
Just log 100 lines per second from your component or stop greengrass, create 10-20 big log files and start greengrass again. Using htop and strace -p PID  observe system calls.
Expected behavior
Usage of buffer at least 4k in size is expected.
Actual behavior
Nucleus thread eat to much CPU when read the log files.
Environment

Ubuntu 20.04
JDK version: 11.0.11+9-Ubuntu-0ubuntu2.20.04
Nucleus version: 2.5.0
Log Manager version:   2.2.1

Additional context
Impact: system load

Hello @bgklika,
Thank you for reporting this issue with the IO efficiency due to the usage of RandomAccessFile. I believe that I have resolved it in #73. Please feel free to use that branch to build your own copy of Log Manager, upload it to your Greengrass account and give it a try to see if it helps you.
Thank you again.


include soft deleted models in yajra/laravel-datatables results on change status of a checkbox

I am using yajra/laravel-datatables laravel package to show a list of all records of a Model.
Now I want to include soft deleted models in the result by changing a simple checkbox.
this is my checkbox :
<input class="checked-switch" type="checkbox" id="showDeleted" value="yes" />
and this is my datatable jquery code to send and retrieve result :
$('#allCoursesTable').DataTable({
                    processing: true,
                    serverSide: true,
                    "bSort": false,
                    "responsive": true,
                    ajax: {
                        url :   '{!! route('coursesData') !!}',
                        data: function(d){
                            d.showDeleted =   $('#showDeleted').prop('checked')
                        }
                    },
                    columns: [
                        //columns properties come here
                    ]
                });

        $('#showDeleted').change(function (e) {
            console.log($(this).is(':checked'));
            allCoursesTable.draw();
        });

And in the backend I write this :
public function coursesData (Request $request)
    {
        $courses =
            Course::select(['course_id', 'title', 'start_date', 'end_date', 'picture', 'lesson_count', 'status', 'active', 'teacher','start_date','end_date','reg_start_date','reg_end_date']);

        if ($request->get('showDeleted')) {
            //what Can I do here???
        }

        $datatable = app('datatables')->of($courses)
            ->orderBy('created_at', 'desc')

        // add Or edit columns come here

        return $datatable->make(true);
    }

I know that to include soft deleted models in pure laravel should do this :
$Courses= App\Course::withTrashed()->get();
But I do not know how add or remove withTrashed() method based on checkbox state.
How Can do?

I think you are on the right track and just add withTrashed on your if condition? Just make sure that the showDeleted request value is properly submitted.
        if ($request->get('showDeleted')) {
            $courses->withTrashed();
        }


Null Safety Migrated

Description

[✔]  Migrated to sound null safety

[✔]  Bump up package version to  1.0.2.nullsafety.0

[✔]  Updated CHANGELOG.md
Create a Null-Safety branch to merge this PR
fixed issue #7

@emreesen27 plz, you are the only dependency of my project not migrated to non nullable

@adarsh-technocrat thank you for contributing.

@PlugFox You can switch to version 2.0.0-nullsafety.0.


scons errors _ITERATOR_DEBUG_LEVEL is 2 while Godot is at 0 when using target="debug"

Godot version:

623f7b64ae7ab075fe9cc7f5b7b2c777e774f81d
OS/device including version:

Win10 64bit
Issue description:

I'm fiddling about with trying to create a module using Box2D.  Compiled the libraries and module fine initially.  The first line of code in the hello world example works fine, but once it hits the second line, I get an explosion of errors like:
[100%] box2d_debug_x86_64.lib(b2World.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in godot_windows.windows.tools.64.obj
box2d_debug_x86_64.lib(b2World.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MT_StaticRelease' in godot_windows.windows.tools.64.obj
box2d_debug_x86_64.lib(b2BroadPhase.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in godot_windows.windows.tools.64.obj
box2d_debug_x86_64.lib(b2BroadPhase.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MT_StaticRelease' in godot_windows.windows.tools.64.obj
box2d_debug_x86_64.lib(b2ContactManager.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in godot_windows.windows.tools.64.obj
box2d_debug_x86_64.lib(b2ContactManager.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MT_StaticRelease' in godot_windows.windows.tools.64.obj
box2d_debug_x86_64.lib(b2Body.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in godot_windows.windows.tools.64.obj

And so on.  It seems to indicate that the build is release, but the command I'm using is:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" amd64 && scons platform=windows tools=yes target=debug vsproj=yes -j4

My config.py looks like
def can_build(env, platform):
	return platform == "windows"

def configure(env):

	env.Append(CPPPATH = [

		"src/Rope",
		"src/Common",
		"src/Dynamics",
		"src/Collision"
	])

	if(env["platform"] == "windows"):

		env.Append(LIBPATH=["#modules/box2d/lib"])

		if(env["CC"] == "cl"): # VS

			if(env["target"] == "debug" or env["target"] == "debug_release"):
				env.Append(LINKFLAGS=["box2d_debug_x86_64.lib"])

			else: # Release
				pass # TODO

		else: # GCC - Untested

			if(env["target"] == "debug" or env["target"] == "debug_release"):
				env.Append(LIBS=["box2d_debug_x86_64"])

			else: # Release
				pass # TODO

The library was built in VS2017 as 64-bit debug.  I've tried all combinations of them though.
Let me know if I need to include more details.

Opps, meant to say "can" package it up, not "can't".  XD
Had some time to look at it again, so uploading it.  It includes the .lib file, not sure if that would be a trustworthy file, but they can be rebuilt in a few minutes if necessary, following the instructions in the Box2D repo:  https://github.com/erincatto/Box2D/blob/master/Building.md

Gave it another look today, resolved it by using the release library.  Is this how it is supposed to be configured?  I was expecting something else from target=debug.
If so, than this issue can be closed, I'll leave it to someone more knowledgeable with the build configurations to assess.
As an aside, the other error seen above, if anyone else bumps into this in the future, this is resolved by changing this setting in Visual Studio 2017 when building static libraries:

I don't think applying an edition inside VS will help because the solution file can just be regenerated, which means that all your changes will get lost.
I do remember that this error occurs in VS2017 when Debug and Release library builds get mixed up. See https://stackoverflow.com/questions/7668200/error-lnk2038-mismatch-detected-for-iterator-debug-level-value-0-doesnt
See if a Clean build followed by a Rebuild command does anything helpful

@IronicallySerious Thanks for the reference.  It's been awhile since I had time to work on this, so my memory is a bit hazy, but I do recall trying the general advice.  When I get the time to return to this (maybe late summer with luck) I'll give everything a proper review.
And also, my apologies, in re-reading I could've been more precise.  The project property change above in the screenshot is being done in a VS solution related to Box2D, and is what is being used to build the static libraries that the module will use.
It wouldn't be the godot.sln that the build could regenerate.  I assume that could be avoided as well by dropping the the vsproj=yes flag from any future rebuilds?

@avencherus Yes, you could avoid vsproj=yes but that would mean you are trying to run previous versions of your solution file with newer Godot code. This can bring some problems if any of the newer changes did a configuration change to Scons, or let's say, brought a new dependency to Godot, which you won't have registered at that time.

Haven't encountered this one as of late.  Closing for now.  Will re-open if it appears.  It was most likely a configuration issue.


Make property declarations of CSS rules modifiable

Modifying the property declarations of CSS at-rules doesn't seem possible currently. AFAICT this should only apply to @font-face and @viewport, i.e. those derived from the internal class CssDeclarationRule.
For my use case, it would be ideal if the property declarations were exposed as an ICssStyleDeclaration property similar to @page and @keyframes (ICssPageRule and ICssKeyframeRule).

The ICssStyleDeclaration brings A LOT of properties that are not used in this scenario. I think about what would be a good approach.
If you come up with a suggestion like this, could you please elaborate more to allow going into a more detailed discussion? I would love to see code example(s) (what have you tried? how should it look like?) and potential changes (to the API). Also a discussion about alternatives and workarounds would be suitable.

My use case is a sanitization library based on AngleSharp: https://github.com/mganss/HtmlSanitizer
We've recently added sanitization of style sheets which necessitates access to at-rules. The code we have for sanitizing property declarations references ICssStyleDeclaration because previously we only sanitized inline styles. I was able to reuse this for ICssStyleRule, ICssPageRule, and ICssKeyframeRule but found no way for modifying the property declarations of ICssFontFaceRule and ICssViewportRule.
I looked at CssDeclarationRule and its methods GetValue and SetValue but it's internal. I also tried modifying the rule's children of type ICssProperty but its properties are read-only.
If ICssStyleDeclaration is not the way to go, how about letting CssDeclarationRule implement an interface ICssDeclarationRule:
public interface ICssDeclarationRule: IEnumerable<ICssProperty>
{
    void SetProperty(string propertyName, string valueText);
}

Ideally, ICssStyleDeclaration could inherit that same interface so client code could be kept DRY.

Sounds good. I would propose the following:
public interface ICssProperties : IEnumerable<ICssProperty>
{
  String this[String propertyName] { get; }

  [DomName("getPropertyPriority")]
  String GetPropertyPriority(String propertyName);

  [DomName("getPropertyValue")]
  String GetPropertyValue(String propertyName);

  [DomName("setProperty")]
  void SetProperty(String propertyName, String valueText, String priority = null);
}

This is a nice basic version of ICssStyleDeclaration, such that there is a logical progression.

:+1:

Will be released with the next version, see PR #298.


Maybe required cmake should be >= 3.14

I found that FetchContent_MakeAvailable isn't available on cmake 3.13.0 when I tried to make this project.
..
-- Latest recognized Git tag is -128-NOTFOUND
-- Git HEAD is ad86920331dda3315538ab0ee30fb24727aff82d
-- Revision is 128-NOTFOUND-ad869203
-- Found LLVM: /usr/lib/llvm-6.0/include 6.0.0
-- Using static-libstdc++
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.a;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
CMake Error at CMakeLists.txt:49 (FetchContent_MakeAvailable):
  Unknown CMake command "FetchContent_MakeAvailable".

-- Configuring incomplete, errors occurred!
See also "/home/parallels/Procmon-for-Linux/build/CMakeFiles/CMakeOutput.log".

That command was introduced on cmake 3.14 according to its release note.
https://cmake.org/cmake/help/v3.14/release/3.14.html#modules

I had to download
https://github.com/Kitware/CMake/releases/download/v3.18.0/cmake-3.18.0-Linux-x86_64.sh
and
sudo sh cmake-3.18.0-Linux-x86_64.sh  --skip-license --exclude-subdir --prefix=/usr/local
to get a past 3.14.* recent version on Mate LMDE4, then it built fine.


I CAN'T GET GPU INFORMATION. The pod gpushare-device-plugin-ds is pending.

I cant understand the symbol "~=" in Prerequisites. Is it "not equal" or "approximate"? I use the nividia driver 450.80.02.
I deployed it on my  master node,then I found that it could not get GPU information.The pod gpushare-device-plugin-ds is pending.

Is there anyone knows the reason?
（我不明白Prerequisites里的”~=“是什么意思，是不等于还是约等于？我用的英伟达驱动版本是450.80.02
我照着Installation Guide在主节点上部署后，发现不能get到GPU的信息。gpushare-device-plugin-ds这个pod的状态一直是pending。）

can you run these commands and post the outputs?
kubectl describe pod -n kube-system gpushare-device-plugin-ds-z4dsk
cat /etc/docker/daemon.json

I have the same issues, no events are registered. Pod remains pending.
daemon.json is as intended


ext_authz: Consider sending enveloped request to http_service instead of as-is

Title: ext_authz: Consider sending enveloped request to http_service instead of as-is
Description:
I've been looking into using envoy as a non-transparent, authenticated egress proxy (i.e. using HTTP CONNECT). External Authorization seems like a good way to go, but when I tried to use an http_service I saw that the requests were being copied to the ext_authz service as-is, i.e. a CONNECT request from behind the proxy was being sent as a CONNECT request to the ext_authz service.  This seems like a nice symmetry, but in my case, since very few HTTP server frameworks support CONNECT, I couldn't find a good way to parse these requests so they could be authorized.  I wound up switching to gRPC (#19246) but this isn't ideal, because at the moment we have ~0 other use of gRPC in production, so when I hand off the ext_authz service to someone else, they'll have an additional learning curve.

Describe the desired behavior, what scenario it enables and how it
would be used.

For CONNECT (and probably other types of requests), it'd be nice if a future http_service external authorization protocol could support wrapping the original request in an envelope (JSON would probably be nice), and send it to the authz service using an identical protocol every time, no matter what the original request looks like. Maybe something like this?:
POST /ext-authz/authorize_request HTTP/1.1
Content-Type: application/json
Content-Length: nnnnn

originalRequest: {
  method: POST
  raw_url: https://example.com/foo?bar=baz
  parsed_url: {
    scheme: https
    host: example.com
    path: /foo
    query: {
      bar: baz
    }
  }
  headers: {
    Cookie: "abcd123"
    ...
  }
  body: "<base64 or escaped JSON of original body>"
}

cc @dio

I think you can use something like https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_http1_reverse_bridge_filter to support a server that still understands protobuf and HTTP 1.1
This isn't the JSON solution you suggested, but it does remove gRPC.

server that still understands protobuf and HTTP 1.1

yeah, that would be better, but still pretty alien. I'm going ahead with gRPC for now so this enhancement isn't a high priority for me anyway. :)


Drop: Delete Windows development documentation

We have decided to suspend development for the Windows platform due to its long development cycle and high level of difficulty. As a result, we have removed the Windows README.md document to avoid any potential confusion or misinformation for users.

closes: #ISSUE_Number

Change logs
Describe your change clearly, including what problem is being solved or what feature is being added.
If it has some breaking backward or forward compatibility, please clary.
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[ ] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution(One-time setup).
[ ] Learn the coding contribution guide, including our code conventions, workflow and more.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[ ] Add tests for the change
[ ] Pass make installcheck
[ ] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to @cloudberrydb/dev team for review and approval when your PR is ready🥳

Windows document has been deleted, requesting merger

Hi @Zhangbaowen-Hashdata: can you please delete the relevant description from the /readmes/README.md file as well?

Hi @Zhangbaowen-Hashdata: can you please delete the relevant description from the /readmes/README.md file as well?

OK,I will delete it!


gitHub - deploy

Provisioning failed - deployed to West US - followed the steps : https://github.com/Azure/azure-iot-predictive-maintenance/blob/master/Docs/cloud-deployment.md
please advise.

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

ID: 38c81b69-80cb-f1e1-28ef-0c5ae3e48d1b
Version Independent ID: 70c7ca96-da8f-1f89-386d-81d006620e21
Content: Try a cloud-based IoT predictive maintenance solution - Azure
Content Source: articles/iot-accelerators/quickstart-predictive-maintenance-deploy.md
Service: iot-accelerators
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@ac2707 Thanks for the feedback! We are currently investigating and will update you shortly.

This doesn't seem a like documentation bug or documentation feedback. We noticed that you have already opened an issue here. Please continue your discussion there for better insights on this issue. We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

@AshokPeddakotla-MSFT  can you please have someone look into this issue - couldn't tag you on the originial issue link.


harmonize isotherm data

common between the experiments should be:

sample weight
p
p/p0
temperature
adsorptive
(measurement type: adsorption/desorption)

also, we should take either a filepath or a string for all kinds of data (or offer both options)

save x and y units

check also compatibility with https://adsorption.nist.gov/isodb/index.php

so now we will have as x always absolute pressure in kPa and as y the excess adsorption in mmol / g.
if we have a desorption / cycle we make a new jcamp. Adsorption will be the datatype Adsorption Isotherm and desorption will be Desorption Isotherm.
for the jcamp we will use the following keys:
x: absolute pressure
y: excess adsorption mmol/g
p: pressure relative to saturation pressure
r: Excess Adsorption [%]


Add .newInstanceWith(buffer, size) to lists, stacks, etc. [HPPC-100]

This is useful to wrap an existing array and reuse it.

Issue: HPPC-100 (migrated from JIRA), created by Dawid Weiss (@dweiss), resolved Oct 22 2017

Comment by Dawid Weiss (@dweiss) (migrated from JIRA)
Postponing until it is really needed.


[PE-D][Tester C] Age allows numbers between 1 to 999

Noted based on the error message that it is intended for any number between 1 and 999 to be accepted as age. However, I would suggest capping it at perhaps 120 as it is not realistic for people to live beyond that age.

Labels: severity.Low type.FeatureFlaw
original: jason-chuah/ped#1

Advancements in technology could allow humans to live longer, we dont know the hard limit of a human lifespan.
In our perspective, having a person over 120 does not complicate the usage of the app.