"HotWater" not properly parsed - ERROR

Setup: TADO V3 with OpenTherm connection to gas boiler (combo - heating and water).
Exporter thorws an error while parsing "HotWater" component:
2021-01-17T08:57:38Z ERROR tado_exporter::tado::client] unable to retrieve home zone 'Hot Wat
er' state: error decoding response body: missing field insideTemperature at line 1 column 36

JSON response that most likely causes an issue:
request: "https://my.tado.com/api/v2/homes/[EDITED]/zones/0/state"
response:
{
"tadoMode": "HOME",
"geolocationOverride": true,
"geolocationOverrideDisableTime": null,
"preparation": null,
"setting": {
"type": "HOT_WATER",
"power": "ON",
"temperature": {
"celsius": 55.0,
"fahrenheit": 131.0
}
},
"overlayType": null,
"overlay": null,
"openWindow": null,
"nextScheduleChange": null,
"nextTimeBlock": null,
"link": {
"state": "ONLINE"
},
"activityDataPoints": {},
"sensorDataPoints": {}
}

JSON response that most likely causes an issue:
request: "https://my.tado.com/api/v2/homes/[EDITED]/zones/0/state"
response:
{
"tadoMode": "HOME",
"geolocationOverride": true,
"geolocationOverrideDisableTime": null,
"preparation": null,
"setting": {
"type": "HOT_WATER",
"power": "ON",
"temperature": {
"celsius": 55.0,
"fahrenheit": 131.0
}
},
"overlayType": null,
"overlay": null,
"openWindow": null,
"nextScheduleChange": null,
"nextTimeBlock": null,
"link": {
"state": "ONLINE"
},
"activityDataPoints": {},
"sensorDataPoints": {}
}

And additional zone definition as received
{
"id": 0,
"name": "Hot Water",
"type": "HOT_WATER",
"dateCreated": "2021-01-15T18:56:30.499Z",
"deviceTypes": [
"BR02",
"SU02"
],
"devices": [
{
"deviceType": "BR02",
"serialNo": "[EDITED]",
"shortSerialNo": "[EDITED]",
"currentFwVersion": "74.3",
"connectionState": {
"value": true,
"timestamp": "2021-01-17T10:41:32.480Z"
},
"characteristics": {
"capabilities": []
},
"isDriverConfigured": true,
"duties": [
"ZONE_DRIVER"
]
},
{
"deviceType": "SU02",
"serialNo": "[EDITED]",
"shortSerialNo": "[EDITED]",
"currentFwVersion": "73.1",
"connectionState": {
"value": true,
"timestamp": "2021-01-17T10:34:32.894Z"
},
"characteristics": {
"capabilities": [
"INSIDE_TEMPERATURE_MEASUREMENT",
"IDENTIFY"
]
},
"batteryState": "NORMAL",
"duties": [
"ZONE_UI",
"ZONE_LEADER"
]
}
],
"reportAvailable": false,
"supportsDazzle": false,
"dazzleEnabled": false,
"dazzleMode": {
"supported": false
},
"openWindowDetection": {
"supported": false
}
}

And additional zone definition as received
{
"id": 0,
"name": "Hot Water",
"type": "HOT_WATER",
"dateCreated": "2021-01-15T18:56:30.499Z",
"deviceTypes": [
"BR02",
"SU02"
],
"devices": [
{
"deviceType": "BR02",
"serialNo": "[EDITED]",
"shortSerialNo": "[EDITED]",
"currentFwVersion": "74.3",
"connectionState": {
"value": true,
"timestamp": "2021-01-17T10:41:32.480Z"
},
"characteristics": {
"capabilities": []
},
"isDriverConfigured": true,
"duties": [
"ZONE_DRIVER"
]
},
{
"deviceType": "SU02",
"serialNo": "[EDITED]",
"shortSerialNo": "[EDITED]",
"currentFwVersion": "73.1",
"connectionState": {
"value": true,
"timestamp": "2021-01-17T10:34:32.894Z"
},
"characteristics": {
"capabilities": [
"INSIDE_TEMPERATURE_MEASUREMENT",
"IDENTIFY"
]
},
"batteryState": "NORMAL",
"duties": [
"ZONE_UI",
"ZONE_LEADER"
]
}
],
"reportAvailable": false,
"supportsDazzle": false,
"dazzleEnabled": false,
"dazzleMode": {
"supported": false
},
"openWindowDetection": {
"supported": false
}
}

Hi @BagiSenior, the error you mentioned in this issue is that the API returns a insideTemperature field but I cannot locate where this field is returned. I cannot find this field in the API responses your paste in your comments too.
Could you please provide an API request/response with this field so I could update the model?
Thank you

Hi @BagiSenior, the error you mentioned in this issue is that the API returns a insideTemperature field but I cannot locate where this field is returned. I cannot find this field in the API responses your paste in your comments too.
Could you please provide an API request/response with this field so I could update the model?
Thank you

Hi @eko! First off, great work on the exporter.
I'm hitting the same issue as @BagiSenior above.
It looks like the hot water controller (seems to always be reported as zone/0/state) has a different layout than the radiator controllers.
Example:
Hot-Water:
{
  "tadoMode": "HOME",
  "geolocationOverride": false,
  "geolocationOverrideDisableTime": null,
  "preparation": null,
  "setting": {
    "type": "HOT_WATER",
    "power": "ON",
    "temperature": {
      "celsius": 55,
      "fahrenheit": 131
    }
  },
  "overlayType": null,
  "overlay": null,
  "openWindow": null,
  "nextScheduleChange": {
    "start": "2021-10-03T21:00:00Z",
    "setting": {
      "type": "HOT_WATER",
      "power": "OFF",
      "temperature": null
    }
  },
  "nextTimeBlock": {
    "start": "2021-10-03T21:00:00.000Z"
  },
  "link": {
    "state": "ONLINE"
  },
  "activityDataPoints": {},
  "sensorDataPoints": {}
}

Regular controller:
{
  "tadoMode": "HOME",
  "geolocationOverride": false,
  "geolocationOverrideDisableTime": null,
  "preparation": null,
  "setting": {
    "type": "HEATING",
    "power": "OFF",
    "temperature": null
  },
  "overlayType": "MANUAL",
  "overlay": {
    "type": "MANUAL",
    "setting": {
      "type": "HEATING",
      "power": "OFF",
      "temperature": null
    },
    "termination": {
      "type": "MANUAL",
      "typeSkillBasedApp": "MANUAL",
      "projectedExpiry": null
    }
  },
  "openWindow": null,
  "nextScheduleChange": null,
  "nextTimeBlock": null,
  "link": {
    "state": "ONLINE"
  },
  "activityDataPoints": {
    "heatingPower": {
      "type": "PERCENTAGE",
      "percentage": 0,
      "timestamp": "2021-10-03T07:29:32.180Z"
    }
  },
  "sensorDataPoints": {
    "insideTemperature": {
      "celsius": 21.57,
      "fahrenheit": 70.83,
      "timestamp": "2021-10-03T07:35:24.181Z",
      "type": "TEMPERATURE",
      "precision": {
        "celsius": 0.1,
        "fahrenheit": 0.1
      }
    },
    "humidity": {
      "type": "PERCENTAGE",
      "percentage": 51.3,
      "timestamp": "2021-10-03T07:35:24.181Z"
    }
  }
}

It would seem that the code needs to treat the structure differently if setting.type == "HEATING" vs. setting.type == "HOT_WATER".

Hi @cristicalin @BagiSenior,
Thank you for reporting this issue.
I think I just fixed this issue in the following pull request: https://github.com/eko/tado-exporter/pull/126
Could you be able to test the code in this particular branch?
I've added a new type label to metrics containing the device type (HEATING, HOT_WATER) and fixed the API response thanks to the JSON response you've provided to me.
Don't hesitate to let me know if you want me to merge and tag it as it does not break the actual ones.
Thank you

Thanks for the quick fix @eko!
I just built a new container out of your fixed branch and I can confirm that it works.

Thank you for helping on this topic!
I've just created a new v0.0.8 release containing this fix: https://github.com/eko/tado-exporter/releases/tag/v0.0.8
I will close this issue for now but feel free to reopen if you still have any issue :)


zebra-chain: Port array-wrapper types to const generics

Is your feature request related to a problem? Please describe.
We created several types that wrap arrays of bytes that are longer than 32, such as the Groth16Proof and Halo2Proof types. Since they are longer, Rust did not automatically derive several common traits for them, so we had to do that manually. Now that const generics have been stablized, we can clean up some of this code.
Describe the solution you'd like
Define the types in zebra-chain that wrap arrays of bytes longer than 32 as wrapping arrays with lengths defined by a const. This will allow us to #[derive()] common traits on the wrapper type that we could not before, and get rid of the directly implemented traits, like Copy, Clone, etc.
Describe alternatives you've considered
Leave the impls as they are.
Additional context
I think this should just work? But I haven't tested it.

PR #2021 already uses const generics for some of the AtLeastOne From impls. So this PR doesn't change the rust version requirement.

This ticket might be obsoleted by #2331.

Some of these macro-based impls were removed as part of #4004.

Let's do this when we actually change those types.


Move highlights to nvim_set_hl lua API

This gives a first stab at simplifying the highlighting in cmp to use the new vim.api.nvim_set_hl lua API.
I did remove the cterm and gui specific highlights because the vim.fn.synIDattr and vim.api.nvim_set_hl commands default to the current mode of neovim (i.e. gui/cterm/term) so I don't think it is necessary that we set all of them, instead just get the current mode. To my knowledge this mode won't change in the middle of running neovim.
This requires neovim 0.7 so it should be done along with https://github.com/hrsh7th/nvim-cmp/pull/844

I am going to resolve this merge conflict and update my commit

Thank you!


Not working in win10 WSL2

Environment

OS: win10 wsl2 Ubuntu  (it's normal in local win10)
Typescript: 4.5.2
Vue 3.x

Error Message
hover red underline with Cannot find name 'xxx' .ts(2304)

Hi @xiangqunXiao, can you reproduce this problem in https://github.com/johnsoncodehk/volar-starter?


letter-spacing issue for Arabic font in pdf

i facing issue letter-spacing in pdf in web working fine but when i download pdf than font issue in Arabic i already try to give latter spacing but it not work
const { toPDF, targetRef } = usePDF({
filename: report_${getTodayDate()}.pdf,
format: 'a4',
page: {
margin: Margin.MEDIUM,
},
unit: 'pt',
})
currunt :-

expected :-

+1


Remove Observed/Deferred/FP status tabs on Workload CVE pages.

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #6093

PR #6136   👈

This comment was auto-generated by Graphite.


DataTable scripts not being included

No @stack('third_party_scripts') exists on layouts/app.blade. So changing to push('page_scripts')

The issue has already been resolved with changes to layouts/app.blade


Does not Combine JS files

Am using the "auto" minify option with minify enabled for CSS and JS. The plugin does a great job combining CSS files into one file. JS on the other hand is still left as individual files like this:
http://site.com/wp-content/cache/minify/157cb.js
http://site.com/wp-content/cache/minify/1d743.js
http://site.com/wp-content/cache/minify/73cbe.js
http://site.com/wp-content/cache/minify/7e7b8.js
http://site.com/wp-content/cache/minify/9f110.js
http://site.com/wp-content/cache/minify/df983.js

This reduces page speed score drastically (Combine external CSS). Is this how it is designed to work or there is a solution to combine all JS into one (or a few) file(s)? Thanks

this happen because something break the flow betwen the scripts, eg. inline script:
<script src="script1.js"></script>
<script src="script2.js"></script>
<script>document.write('Hello');</script> <!-- this break combine flow -->
<script src="script3.js"></script>

this produce
http://site.com/wp-content/cache/minify/157cb.js (script1.js + script2.js)
http://site.com/wp-content/cache/minify/df983.js (script3.js)

I was surprised why some caching plugins did this by default and W3TC could not.
Seems it's a known issue.
Thanks for the explanation.


mobile app: Upgrade Ionic to more recent version

For longer term maintainability, consider upgrading to latest version of Ionic. This may "bring along" Angular and Typescript, and an updated version of Cordova.  The implemented version is currently 1.3.1.  The latest version is 3.5. There has been significant improvements regarding security, performance, and usability.
The features currently in the mobile app, that would have to be considered:

Login - which does seem to verify auth, but not much more than that. No special difference.
Events - shows up coming events in a list. Click on it, and it shows details. Very basic info.
Hour tracking / stop watch.  But doesn't persist.
Check-in (has only bar code scanner screen)
Caching - for when cannot contact services. Seems to be for offline mode availability, but if so, dicey cause it's "lazy caching."

Getting Visual Studio to play nicely with Ionic 3's paradigm of running build scripts on every save, and live-reloading any pages during "serve" might be challenging.

Please assign this to me.

I am still working on this


Break out dependency mapping and enumeration in Organization Mapping, Operational Dependency Mapping into discrete functions

Related to https://github.com/d3fend/d3fend-ontology/issues/104
Various relations across these to be broken down and this new function enumeration technique.

completed, in current release (0.14.0)

completed, in current release (0.14.0)


Error: Uncaught (in promise): TypeError: Not enough arguments decodeAudioData@[native code]

I am getting error in ios build  android is working fine Please Help

@goldenstone111  Could you please share your code. It'll help me figure out the issue.


closes #issue136763, changed a command to generate gradle error message according to platform

Currently, the error message displayed to regenerate the lockfiles gives a Unix-like command ./gradlew, which will be incorrect for Windows environments. This PR uses globals.platform.isWindows to give the appropriate command.
closes #136763
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on [Discord].

@christopherfujino sir please review it whenever you get time.

@Piinks please review it whenever is feasible for you.

packages/flutter_tools/lib/src/android/gradle_errors.dart test should not need to be modified.

sorry sir but from there only we can fix this issue

@reidbaker please add auto submit label again as earlier cases were failed .


[PRED-2176] Add optional prediction decision field to out csv

BATCH SCORING PULL REQUEST
This is a pull request into a public repository for Batch Scoring script maintained by DataRobot.
RATIONALE
Currently, there're only prediction values in the output CSV, but the actual prediction is not written.
This is particularly related to a classification problem: in the output we see only probabilities of each class, without the particular prediction decision i.e. to which class row belongs.
CHANGES

New command line argument --pred_decision=<column name> which is disabled by default
If the argument pred_decision is given, a new column in output CSV appears with the prediction value, which for the classification problem is the label of class.

TESTING

Functional tests were written
I ran script with and without new argument against real DR cluster for binary classification.

Coverage increased (+0.06%) to 84.075% when pulling 42e2b767a04e2d584f3f086a6d727df16e93d31e on rrader/PRED-2176-pred-decision into c7f9897ee4915873c2ec61f0c81dd5b506c8ca1d on master.


Changes needed to support Mac M1 processors

Thank you so much for sharing this repo, I have found it immensely helpful! Unfortunately, I recently switched to an M1 Mac and the instructions no longer work. Here is what I have figured out (I think):

M1 Macs requires adding "architecture: arm64" in serverless.yml. Otherwise you will get a "Runtime.InvalidEntrypoint" error.
M1 Macs requires choosing a region that supports Lambda arm64 (i.e. us-east-1 works, us-west-1 does not)
M1 Macs require a special ARM version of Chromedriver, otherwise you will get an "OSError: [Errno 8] Exec format error." I haven't been able to figure this one out. There is an ARM version here but it seems to be for Ubuntu/Debian (https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-arm64/chromium-chromedriver_95.0.4638.69-0ubuntu<IP_ADDRESS>_arm64.deb.html)
M1 Macs can build docker images under AMDx64, but the command require does not seem to be supported by sls deploy.

Anyway I really wish I could help more, but that's about the limits of my ability. If you have any suggestions for how to make this work I'd be very grateful!

@greattypo
Thank you for reporting! The same thing happened exactly in my new M1 Mac too. (I also recently changed to M1 but didn't try this repo
yet, sorry.)
Deployment goes fine, but invoking got the error below:
{
    "errorMessage": "RequestId: ed83ea06-69d2-11ec-90d6-0242ac120003 Error: fork/exec /lambda-entrypoint.sh: exec format error",
    "errorType": "Runtime.InvalidEntrypoint"
}

 Serverless Error ----------------------------------------

  Invoked function failed

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              17.2.0
     Framework Version:         2.68.0
     Plugin Version:            5.5.1
     SDK Version:               4.3.0
     Components Version:        3.18.1

After I added platform: linux/amd64 on #28 , my lambda function works fine even if deployed by M1 Mac. I hope it helps you too.

That worked! Thank you so much for the speedy fix 🙏


Trainer: auto default

What does this PR do?
Fixes https://github.com/Lightning-AI/lightning/issues/10606
Follow-up questions:

CUDA CI only runs the "min_cuda_gpus=N" tests. This helped greatly reduce the CI load in the past. Since we default to "auto" now, should we have CUDA CI run all tests?
The same question above applies to HPU, IPU, TPU, ...

cc @justusschock @awaelchli @borda @carmocca

CUDA CI only runs the "min_cuda_gpus=N" tests. This helped greatly reduce the CI load in the past. Since we default to "auto" now, should we have CUDA CI run all tests?

I wouldn't do this. I think the current way would be preferred.

I added one conenctor test that asserts "auto" under each accelerator availability. Just as the one in #16842


Card sorting exercise with users

💡 Description

Complete card sorting exercise with users to inform nav design.

https://docs.google.com/spreadsheets/d/1ZZrFccnBJXCaxmYvX4wT2qH3CgKo62A7_qYsfN2n22M/edit#gid=0

Interviews are remaining to be done

6 participants have been interviewed so far.
1 remaining for next week.

To be review @sophiaconover , @mpnewcom @anilnatha in a meeting

Review during a working group meeting


how do I install dnscrypt on linux mint/ what do I do to get it working?

https://github.com/GortCodex/DNSCrypt-Loader is an independant project. You should ask there!


Issue166fix

Added a new column for the last-cancelled. 7 files were modified.
Current look

Hey @bobeu, thank you for opening this PR, super helpful! I left a few comments throughout the code with some requested changes.

Ok great. Thank you for the feedback. I'll fix that shortly.

 However, I faced a major issue while calling an async operation in the same file where the tokens are being filtered. Despite trying multiple times, it wouldn't return any value to the filter function because of the async marking. I am confident that the issue is due to a couple of tokens that need to be tested in this case, causing the function to exit before the async operation completes. Right now, the program runs fine but I'll ask if you have any idea to improve the filter operation.

Thanks for the updates. Looks good.Thank you for the great work, you can consider the work done from your end 🥳
I will look into the issues you mentioned and try to fix them on my end before merging it.

Alright it should all be working now. I just realised that it is probably good to add a similar field to the "marketplace signatures" as well. I will add that later this week as well and then merge + deploy this.

Hey @bobeu, thanks once again for the great work. I just merged this into a new branch, where I will add the changes mentioned above before deploying it to the production Revoke.cash website.

Thanks for the updates. Looks good.Thank you for the great work, you can consider the work done from your end 🥳
I will look into the issues you mentioned and try to fix them on my end before merging it.

OK Great


Input search in navbar with unwanted margin at version 0.99.0

Chrome version: 59.0.3071.115
http://materializecss.com/navbar.html#search-docs

After I add css property
height: 65px !important;
got corrected

Fixed, but not yet released


Portable shoutbox

Button that would open small shoutbox from any page.

SB initialization using: setTimeout(startSBupdate,100)


third party libraries

I don't think including examples of third-party libraries is a good idea.
Example: https://guides.codepath.com/android/floating-action-buttons#with-third-party-floatingactionbutton
There is a zillion amount of such libraries floating around, and mentioning them all will explode this initiative. Plus, they will all become obsolete after a very short while, meanwhile clogging this guide.
Such libraries should use their own publishing mechanisms, such as e.g. their own GitHub pages.
Stack Overflow is already overflowing with loads of libraries that deal with all sorts of issues. A good example of this - in my opinion bad - behaviour is the plethora of (short lived) Material Design libraries that appeared before Google brought out their library. As a result, many devs will have included those libraries, and have become locked in.
A reference like this initiative should focus on pure Android libraries. Enough energy will already have to be invested in just keeping the guide up-to-date with Google/Android evolutions.

I appreciate the thought but sometimes the only reasonable way to achieve something for a while is using a third-party library and often these libraries have very poor documentation. So as much as possible we stick with built-in ways to do things and when cases come up where something is highly popular (Picasso, RxJava, Retrofit, etc) we try to maintain those as well. I'm very familiar with as you increase the scope of the guides they become harder and harder to maintain. My hope is to build a large enough community of contributors that it's still possible.


Lock to version 1.8.0 of six, for pycuda

pycuda requires at least version 1.8.0 of six, but it does not lock to it correctly. We will work around it by having sciguppy lock to it for the sake of pycuda.

Fixed


Update scalafmt-core to 3.4.0

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #157.


Add --log-level flag and use boost trivial logger

Allows to specify --log-level trace/debug/info/warning/error/fatal optionally (default: info)
Ran clang-format so there are some noisy styling changes, sorry.
Please review the log level used for each message and if I could add more messages.

Resolves #22


Companycheckbox

Current coverage is 46.99%

Merging #136 into master will decrease coverage by -4.37% as of 6ecef97

@@            master    #136   diff @@
======================================
  Files           18      18
  Stmts          257     283    +26
  Branches         0       0
  Methods          0       0
======================================
+ Hit            132     133     +1
  Partial          0       0
- Missed         125     150    +25

Review entire Coverage Diff as of 6ecef97

Powered by Codecov. Updated on successful CI builds.


Hyperlink

Added Hyperlink Functionality to document
Files Changed
1.docx/oxml/init.py
2.docx/text/paragraph.py
3.docx/oxml/text/run.py

Would like to see this merged.  Has this been implemented in a fork?


Add quiet option

Add a quiet option to every function, preventing output on gutil.log.

Thanks, merging.


[Feat] New liqoctl info peer command

Description
This completes the work done in #2718 implementing the liqoctl info peer command, which provides detailed info about the current active peerings:

Peer identity and role
Status and info about each of the modules
Amount of resources offloaded and shared
Details about the currently configured virtual nodes

By default the output is presented in a human-readable form. However, to simplify automate retrieval of the data, via the -o option, it is possible to format the output in JSON or YAML and, via the --get clusterID.field.subfield argument, each field of the reports can be individually retrieved (when data about a single peer is returned, the clusterID can be omitted).
E.g.
Get info about all the currently active peerings in a human readable form:
liqoctl info peer

dump the result in json form:
liqoctl info peer -o json

/build

/rebase

/build

/rebase test=true

/test

/test

/merge


Page freeze with 100% CPU load when (at least 2 of) slides doesn't have id prop

I think there's 2 options:

Make id prop not mandatory. Maybe create default internal id's based on array index (slides is an Array anyway).
Handle this case and just throw an error with notice. Add note about this in docs.

I just read the Slidy Component, I think this is because Slidy loop slides with hardcoded item.id as key. May be we can add something like keyExtractor as function to extract which key to become id and add fallback to index when there is no id key or keyExtractor not set.
{#each slides as item, i (item.id)}

may be we can change to this
<script>
export let keyExtractor = (item)=>item.id
</script>
{#each slides as item, i (keyExtractor(item)||i)}

I can make PR if necessary

I am not tested the code yet, but I think it's should work

merged


install f5-extended-profile.json

@<reviewer_id>
What issues does this address?
Fixes #
WIP #
...
What's this change do?
Where should the reviewer start?
Any background context?

Break build. Need to revert it.


bpf/lib/icmpv6.h: cleanup hardcoded ICMPv6 types

Cleanup hardcoded ICMPv6 values. Add missing ICMP6_TIME_EXCEEDED_TYPE definition.

/test

Can we just merge this one?


TileMap has set_celld() missing get_celld()

Godot version:
db55d8a
Issue description:
I was excited to see set_celld() in the classref, and immediately wanted to try using it to set some custom per-tile data. However, as there is no get_celld() there doesn't seem to be a way to retrieve that data from the TileMap.

I'm not sure if set_celld should be exposed in the first place, it does no validation of the input dictionary whatsoever, that seems pretty unsafe: https://github.com/godotengine/godot/blob/2062d6126d70f5c70b7b03ecb9372ec637c0ea3e/scene/2d/tile_map.cpp#L729-L732
It was added as a utility method for engine features AFAICT, by @marcelofg55 in #19164.

Yeah, that doesn't sound safe. While it would be nice to have a place to store per-cell data, it would probably be better at this point to hide that function. As it is, it serves no purpose, and definitely doesn't do what you'd expect seeing it in the classref.

@akien-mga If I rename the function to _set_celld it will be hidden from the classref, right?

Yep.


Self-destructed on auto-update from v0.6.0 to v0.6.1

I just had v0.6.0 auto-upgrade to v0.6.1. Some unseemly terminal windows popped up on screen and disappeared almost immediately. The resources directory was removed during the update. The app is completely unusable after the update:
internal/modules/cjs/loader.js:604
    throw err;
    ^

Error: Cannot find module 'c:\Program Files\IPFS Desktop\resources\electron.asar\browser\init.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:753:10)
    at startup (internal/bootstrap/node.js:241:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:579:3)

This issue on Windows won't happen again. I've also removed the system wide installation from the options and it will only be user specific. I've tested on 3 different machines from 3 different people and auto-update is working well. Closing this. If any other issue appears, please let us know ;)


alarm if popular old links are broken

There's a script in the repo that checks old URLs, i.e., popular incoming requests for pages that no longer exist. Run the script with the same triggers as the build and deploy/publish job and raise a GH issue on failure with a link to the failed job. Auto-resolve the issue the next time the script succeeds.

Script: https://github.com/openziti/ziti-doc/blob/main/check-old-urls.sh
Copy the pattern used to alarm on broken links in existing pages: check-links.yml is called by main.workflow.yml.


Editor scrolls to the right when caret moves to the end of line after deleting another line

Godot version
3.3
System information
W10
Issue description
When deleting empty line, the caret jumps to the end of next line and editor scrolls all to the right:

Steps to reproduce

Paste this code

func collision_avoidance() -> Vector2:
	var avoidance_force: Vector2
	var left = physics.raycast(left_collision_start.global_position, left_collision_end.global_position)
	if not left:
		left = get_world_2d().direct_space_state.intersect_ray(left_collision_start.global_position, left_collision_end.global_position, [self], Const.ENEMY_COLLISION_LAYER, false, true)

		if left.collider is BaseBuilding:
			print("kill")

Click at the blank line in the middle
Delete the line (e.g. by pressing Ctrl+X)

Minimal reproduction project
No response

I can reproduce it even on 4.0 using CTRL+X (only)


Number pad detection of version

Ok, so I'm installing 0.10.35 64 but when I click enter in the Console it just outputs:
C:\Users\Mairuzu>nvm install v0.10.35 64
Node.js vv0.10.35 is only available in 32-bit.
but if you hit the numbers in the top row I get:
C:\Users\Mairuzu>nvm install 0.10.35 64
Downloading node.js version 0.10.35 (64-bit)... Complete
This is a bug with the keyboard or my console, or something just weird.

You don't need to prefix v before version.
So nvm install v0.10.35 64 is wrong
nvm install 0.10.35 64 is correct

@vkbansal is correct.


Merge master branch to prTesting1_201905201153 branch

Docs Build status updates of commit 287524c:
:clock10: Pending: waiting for processors (20 builds ahead of you)
:warning: Docs Build is busy, currently there are 20 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 287524c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.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.


no-access-state-in-setstate bug?

Hi,
The react/no-access-state-in-setstate rule should prevent usage of this.state inside setState calls. I can see the it generating error with the following code:
Example with errors / trigger
import React from 'react'

class Test extends React.Component {
  state = { count: 0 }

  handleClick = () => {
    this.setState({ count: this.state.count + 1 })
  }
  render() {
    return
{this.state.count}

  }
}

export default Test

but when the state variable is destructured from this.state, there will be no errors/warnings:
Example without errors / trigger
import React from 'react'

class Test extends React.Component {
  state = { count: 0 }

  handleClick = () => {
    const { state } = this
    this.setState({ count: state.count + 1 })
  }
  render() {
    const { state } = this
    return
{state.count}

  }
}

export default Test

This is especially troublesome when using  react/destructuring-assignment with the react/no-access-state-in-setstate.
System & setup
Windows 10, node v.8.9.3, eslint-plugin-react v. 7.5.1, ESLint v.3.19.0 & babel-eslint 8.0.3, using the rule     'react/no-access-state-in-setstate': 2.

Nice find!
I had to dive into this, and hopefully fixed it in #1598.
Also made this while fiddling around to show that it works. Hope this helps :)


ArduCAM 2MP mini Plus QVGA bitmap display issue when saved as bitmap file

I try to save the QVGA raw data into a 16-bit bitmap file. I'm using the default QVGA setting from Arduino project. The image I get dump out have a lot of 'blue' noise points but captured color seems correct, so I think figured out how to save raw data into a 16-bit color bitmap file correctly.
Anybody knows what is the potential reason lead to this?
Please check 3 snapshots I dumped out, I convert to PNG here because Github does not support bitmap file preview, the effects are the same.
(BTW, My camera driver works perfect under JPEG mode)

Here is my code to save into bitmap mode. I search a lot on internet and find a reference file to learn from.
p_imgBuffer store the 320x240x2 bytes raw data read from ArduCAM camera.
	const uint8_t cBitmapFileHeaderSize = 14;
	const uint8_t cBitmapInfoHeaderSize = 40;
	const uint8_t cBitmapbmiColorsSize = 12;

	uint32_t width  = 320;
	uint32_t height = 240;
	uint32_t byteperpixel = 2;

	file_size = cBitmapFileHeaderSize + cBitmapInfoHeaderSize + cBitmapbmiColorsSize + img_len;
	p_file = calloc(file_size, 1);

	// mark 'BM'
	p_file[0]  = 'B';
	p_file[1]  = 'M';

	// total file size
	p_file[2]  = (uint8_t)(file_size);
	p_file[3]  = (uint8_t)(file_size >> 8);
	p_file[4]  = (uint8_t)(file_size >> 16);
	p_file[5]  = (uint8_t)(file_size >> 24);

	// reserved
	p_file[6] = 0x00;
	p_file[7] = 0x00;
	p_file[8] = 0x00;
	p_file[9] = 0x00;

	// Pixel Array offset
	p_file[10] = (uint8_t)(cBitmapFileHeaderSize + cBitmapInfoHeaderSize + cBitmapbmiColorsSize);
	p_file[11] = 0x00;
	p_file[12] = 0x00;
	p_file[13] = 0x00;

	p_file[14] = cBitmapInfoHeaderSize;
	p_file[15] = 0x00;
	p_file[16] = 0x00;
	p_file[17] = 0x00;

	p_file[18] = (uint8_t)(width);
	p_file[19] = (uint8_t)(width >> 8);
	p_file[20] = (uint8_t)(width >> 16);
	p_file[21] = (uint8_t)(width >> 24);

	p_file[22] = (uint8_t)(height);
	p_file[23] = (uint8_t)(height >> 8);
	p_file[24] = (uint8_t)(height >> 16);
	p_file[25] = (uint8_t)(height >> 24);

	// biPlanes = 0x01
	p_file[26] = 0x01;
	p_file[27] = 0x00;

	// biBitCount = 16
	p_file[28] = byteperpixel * 8;
	p_file[29] = 0x00;

	// biCompression = BI_BITFIELDS
	p_file[30] = 0x03;
	p_file[31] = 0x00;
	p_file[32] = 0x00;
	p_file[33] = 0x00;

	// biSizeImage = 153600 (320 x 240 x 2)
	p_file[34] = 0x00;
	p_file[35] = 0x58;
	p_file[36] = 0x02;
	p_file[37] = 0x00;

	// biXPelsPerMeter = 0
	p_file[38] = 0x00;
	p_file[39] = 0x00;
	p_file[40] = 0x00;
	p_file[41] = 0x00;

	// biYPelsPerMeter = 0
	p_file[42] = 0x00;
	p_file[43] = 0x00;
	p_file[44] = 0x00;
	p_file[45] = 0x00;

	// biClrUsed = 0
	p_file[46] = 0x00;
	p_file[47] = 0x00;
	p_file[48] = 0x00;
	p_file[49] = 0x00;

	// biClrImportant = 0;
	p_file[50] = 0x00;
	p_file[51] = 0x00;
	p_file[52] = 0x00;
	p_file[53] = 0x00;

	// data is organized as little end RGB565, MSB first
	// RedMask
	p_file[54] = 0xF8;
	p_file[55] = 0x00;
	p_file[56] = 0x00;
	p_file[57] = 0x00;

	// Green Mask
	p_file[58] = 0x07;
	p_file[59] = 0xE0;
	p_file[60] = 0x00;
	p_file[61] = 0x00;

	// Blue Mask
	p_file[62] = 0x00;
	p_file[63] = 0x1F;
	p_file[64] = 0x00;
	p_file[65] = 0x00;

	// assume no padding if required for simplicity
	memcpy(&p_file[cBitmapFileHeaderSize + cBitmapInfoHeaderSize + cBitmapbmiColorsSize], p_imgBuffer, img_len);

	free(p_imgBuffer);

Hi, it may be your bmp header is not correct, you can refer to the bmp header in our example, the link is: https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/Shield_V2/ArduCAM_Shield_V2_Camera_Playback

Thank you.
I found the problem is caused by swapping order of pixel bytes. When reading from ArduCAM memory, we get MSB first and LSB later for one 16-bit pixel. I'm aware of this and try to change the Red/Green/Blue mask order, and keep the pixel order. But this ways seems not OK. We have to organize the pixel data in LSB MSB LSB MSB pattern.
One problem I found in the official example is the file size is incorrect. It should be 153666, not 153654.

We can close this ticket.


Email importing is not working, how to debug?

Description
Email importing is not working. Can I debug this at code level? I'd like to know if it's a connection problem of a authentication problem.
papermerge_worker_1  | ?: Failed to login to IMAP server 'xxxxxx.xxxxx.xxx'
papermerge_worker_1  |  HINT:
papermerge_worker_1  |         Please double check that IMPORT_MAIL_HOST,
papermerge_worker_1  |         IMPORT_MAIL_USER, IMPORT_MAIL_PASS settings
papermerge_worker_1  |         are correct.

I double checked configuration by copy and pasting all values in a regular mail client and this works.
Info:

OS: Docker-compose from project
Papermerge Version 2.0 (master)
Docker-Mailserver v10(https://github.com/docker-mailserver/docker-mailserver) running dovecot

Debugging session in three easy steps:

Learn python
Run application in development modeby following this step by step guide.
Insert a breakpoint (starting with python 3.7 there is a built-in breakpoint keyword !)

Happy debugging! :laughing: :rofl: :partying_face:
You can use this resource to learn how to debug. I don't provide assistance for that.


website/pk-web: run from anywhere

pk-web should be smart enough to be able to find its root by default. It currently is not and requires being run from a specific directory:
dev:perkeep.org $ pk-web
2018/05/02 15:06:15 ReadFile /home/bradfitz/src/perkeep.org/tmpl/page.html: open /home/bradfitz/src/perkeep.org/tmpl/page.html: no such file or directory
dev:perkeep.org $ cd website/
dev:website $ pk-web
2018/05/02 15:06:24 Not installing GCE /launch/ handler: invalid -https flag: missing port in address
2018/05/02 15:06:24 Listening for HTTP on :31798

Let's use osutil.GoPackagePath("perkeep.org")

as discussed on https://perkeep-review.googlesource.com/c/perkeep/+/13246, you can pass the -root flag to specify the root directory, allowing you to run pk-web from anywhere.  Is that sufficient, or do you really want it to try to find its root automatically?


Add moderation commands and logging

This PR effectively replaces Dyno.
To-do list:

[ ] Record manual actions in the moderation log
[ ] Document

I would like to see the output of running every command.

https://user-images.githubusercontent.com/65940752/234358497-ea4999d1-9ed8-42ad-96ec-55160d53c675.mp4
Context for the video:

The check for interacting with yourself was commented out for ease of testing
@TheWatcher is below @CamelotTesting in the role hierarchy
@Matyr is the server owner


Xilem architecture prototype

I am writing a blog post on the Xilem architecture, and want that to refer to a PR, as that is the most stable identifier for a branch; the PR can be closed and the branch deleted, and still resolve.
I will also continue to explore and develop in this branch. We might rethink that if we start developing more collaboratively.
Also note, I do the same with the idiopath_py and idiopath_async branches. Those are shorter-term explorations, and basically I just want to capture what I did. It's likely the ideas for both will get merged into this branch.

Two months on, the peanut gallery wonders what impressions/experiences Druid developers and/or users have had with this prototype. Is the mood optimistic? Have unexpected challenges arisen?
I hope this doesn't come across as "are we there yet" — I'm actually just maddeningly curious about what people think about it! 😅

I didn't get the impression that this is in the state where it can be tried out easily, since there was no call for testing or similar.

The most innovative aspect of Xilem is event dispatching based on an id path, at each stage providing mutable access to app state.

Nice to see that this idea caught on. You can copy my code for compressed paths if you like, though they may be less useful for Xilem since you have separate Id and Path.
In general I like this idea quite a lot. Some comments:

Most elements have to implement both View and Widget
What's the relationship between View::event and Widget::event? Aha, the Widget impl leverages Druid's existing machinery for handling events, then triggers a "view event". Is this a temporary relationship or could all event handling code be pushed to the "view" side?
Is it desirable that an app always has one "app data"? What if, instead, an app consisted of any number of "modules", each with its own data and view, with each module's view optionally being a window root and optionally being embedded within another view?
EventResult::Nop — is that "no-op" or "nope"? :laughing:

Xilem has inspired me to consider something vaguely similar built on top of KAS, which could go some way to solving its biggest weaknesses (difficulty expressing dynamic layout, and not requiring manual updates of widgets dependant on app state). But if we're honest, the Rust UI space is a lot more crowded today than it was when these projects started.


Replace WebBrowser with WebView2

The output pane currently seems to use the WebBrowser control, which is still Internet Explorer under the hood. This means that modern CSS selectors aren't supported and the IE formatting quirks still apply. Can you consider migrating to WebView2 instead, which is based on Edge/Chromium?

Hi!
I tried a few years ago, but found that I will loose the print preview functionality that I can access on the WebBrowser control. Having that engineers would hardly use some fancy CSS formatting, I finally decided to get the WebBrowser back. I think most users would prefer to have print preview. Do you know how to display a print preview dialog on WebView2?

I know that the Edge print preview dialog may not be the best because it's shown an overlay within the control, but you should be able to show a print preview with the browser print dialog (CoreWebView2.ShowPrintUI(CoreWebView2PrintDialogKind.Browser)) rather than the system dialog. There seems to be a known issue where printing from Edge/Webview2 using the system dialog doesn't show a preview.


Cannot log in accounts with "DenyLoginSubtask"

Recently I can hardly log in accounts with the login flow. Looking into the subtask, I always enter "DenyLoginSubtask" after"LoginEnterUserIdentifierSSO". This happens even with my individual aged Twitter accounts. Anyone facing similar issues?

I getting ct0 not in cookies (most likely ip ban) 90% of time. Maybe it's related.

Same, despite passing a valid ct0 cookie. I got about 15% of accounts to log in.

Is there a reason why suddenly it's showing this error ct0 not in cookies ?

@anussbau @jemather @caterpillar1219  see #214 , i posted there about how to solve the ct0 problem

I got same, DenyLoginSubtask, and added 		"X-Client-Transaction-Id":   to header but not worked


iOS - Sign in - Entering long e-mail address will break layout

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open app
Tap on email address
Enter a e-mail address longer than the field

Expected Result:
While new characters are typed, the first ones will lend its room, like a carousel
Actual Result:
There comes a time where e-mail field will enlarge to make room to a long e-mail address, leading to layout break
Workaround:
Unknown
Platform:
Where is this issue occurring?

iOS

Version Number:
1.0.81-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Issue occurs in iPhone 6S, iPhone 8 and iPhone SE (smarller size devices)
https://user-images.githubusercontent.com/43996225/127426322-67faf779-3ce1-4e09-aba8-1a1352c34b30.mp4

Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Glancing through the GH blame for that textinput shows me tells me that it wasn't changed recently. It seems like it's likely this was around for a while. Can confirm it doesn't happen on iphone 11.
This polish makes sense as an external issue I think.

Triggered auto assignment to @kevinksullivan (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

It isn't an issue with iPhone X and iPhone 11 that I've tested. In the iOS simulator, I could reproduce it only twice for "iPhone SE 2nd Generation" and  "iPhone 8". After a few attempts, I couldn't reproduce.

Issue not reproducible during KI retests (it was tested on a iPhone X)

@kevinksullivan Eep! 4 days overdue now. Issues have feelings too...

@kevinksullivan 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Issue reproducible during KI retests

Posted as this was reproducible
https://www.upwork.com/jobs/~01da27dde12d8add71

Triggered auto assignment to @roryabraham (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@isagoico Can you help me with some additional information on reproducing this issue? Couldn't reproduce this on the simulator at least. I have an iPhone X device and cannot reproduce on that.

I was able to reproduce this consistently in a iPhone 6S. Original tester was able to reproduce this on an iPhone SE (2016)

We can do multiline input and wrap the content in flex wrap.

Sorry @Rushu-geek, I don't understand your proposal. Can you explain in a bit more detail?

is this still we can try to fix it?

Yes, we're still accepting proposals to fix this issue.

@roryabraham

It seems an issue with the UI interface, I can set up customize UI layout by having proper constraints set in the layouts.
If required I will modify the screen and do a programmatic UI interface that will give full command on the screen.

I am now unable to reproduce this on an iPhone 6S. @kavimuru can we retest please?

How we can participate I get Invitation on upwork I responded there

Issue reproducible during KI retests

How we can participate

Welcome! Please review the contributing guide for detailed instructions!

Overall, we need proposals to demonstrate:

A clear understanding of the problem
Some degree of familiarity with the repo code (i.e: enough detail to point out where the problem exists in the code)
A clear and concise summary of the proposed solution
The proposed solution must not violate the philosophy of the repo.

And I haven't seen all those qualities demonstrated in any of the proposals in this issue so far. That said, I don't want to discourage participation in the repo! There is a bit of a learning curve on your first few issues in a new repo, but I know that once you get set up we've got a vibrant community with plenty of opportunity to get involved!

Hi,
on version number <IP_ADDRESS> the issue seems to have been solved or am I wrong?
I tried on an iPhone 8 simulator

@roryabraham This issue was not reproducible during KI retests. I had a typo when reviewing the results. I also double checked on my iPhone 6S and this is not reproducible anymore. Should we close?

I can fix it

Waiting on @roryabraham but sounds like we can close this out.

Yep, I'm not able to reproduce this so I'm closing this out


[bug]: nodes does not free gpu memory

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
24GB
What version did you experience this issue on?
nodes
What happened?
nodes does not free GPU memory after generation
in the screenshot below, using nodes cli, displaying nvtop output during generation:

green underline = 512x512
yellow underline = 1024x1024
reddish underline = 1536x1536
blue underline = 512x512

Screenshots
No response
Additional context
No response
Contact Details
No response

Does it eventually even put? After e.g. 20 generations? Nodes does retain results in a cache, and caches the model, though I can't imagine why it would keep that much in memory.

From: psychedelicious @.>
Sent: Wednesday, April 5, 2023 11:35:19 PM
To: invoke-ai/InvokeAI @.>
Cc: Kyle Schouviller @.>; Assign @.>
Subject: Re: [invoke-ai/InvokeAI] [bug]: nodes does not free gpu memory (Issue #3125)
Assigned #3125https://github.com/invoke-ai/InvokeAI/issues/3125 to @Kyle0654https://github.com/Kyle0654.
—
Reply to this email directly, view it on GitHubhttps://github.com/invoke-ai/InvokeAI/issues/3125#event-8942102430, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAO3P3557MZTNUR5SAYGAXLW7ZP2PANCNFSM6AAAAAAWU7N4QE.
You are receiving this because you were assigned.Message ID: @.***>


Update all dependencies

Add Sphinx 5-7, Python 3.9-3.12
Drop Sphinx 2, 3, since they don't work with newer python versions and dependencies
Drop unsupported Python 3.6, 3.7
Update black to 23 and reformat
Update all actions versions

supersedes #53


Avoid java class names printed as error message in DB connectors

Description:
$title since some error messages have java class names printed in all db connectors as all db connectors have extended the sql module
Eg:
When trying to connect an oracle database server using ssl connection and If the user give a wrong cert file to connect to the server, An error message is coming
Error in SQL connector configuration: Failed to initialize pool: IO Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException

as this error message is originated in
https://github.com/ballerina-platform/module-ballerina-sql/blob/feb050d02ace978178fcb2ae2416358c47a7edb0/native/src/main/java/io/ballerina/stdlib/sql/datasource/SQLDatasource.java#L354
Steps to reproduce:
Affected Versions:
0.6.0-beta.3
OS, DB, other environment details and versions:
Related Issues (optional):
Suggested Labels (optional):
module/sql
Suggested Assignees (optional):

Fixed in https://github.com/ballerina-platform/module-ballerina-sql/pull/421


Inconsistent Symbol Info Values (minQty, maxQty, stepSize)

I am using python-binance for trading BNBUSDT pair. I just noticed there are some inconsistency between Binance-API filters and the filters I receive when I use client.get_symbol_info('BNBUSDT') command.
When I use client.get_symbol_info('BNBUSDT'), I get {'filterType': 'LOT_SIZE', 'minQty': '0.01000000', 'maxQty': '9000.00000000', 'stepSize': '0.01000000'}
But on https://api.binance.com/api/v3/exchangeInfo, I get {"filterTpe":"LOT_SIZE","minQty":"0.00100000","maxQty":"900000.00000000","stepSize":"0.00100000"}
This is a problem for me because when I want to make a market order with 3 decimal precision it raises APIError(code=-1013): Filter failure: LOT_SIZE.
Is there a get around I can apply here to make market orders with 3 decimal precision?

I found out the mismatch was happening only in the test server. The exchange information is consistent otherwise.


A pod fix and a suggestion

Hi,
in order to make your pod accessible, please replace the following line in your podspec:
s.source = { :git => 'git@github.com:Gainsight/px-ios.git', :tag => '1.6.0' }
with:
s.source = { :git => "https://github.com/Gainsight/px-ios.git", :tag => s.version.to_s }
Also, consider that to avoid collisions with other swift frameworks or libraries, it is better not to use generic class names (ie User, Account, etc.) and apply prefixed names such as PXUser, PXAccount, etc.

Hey, All the Class names are prefixed with PX for Objc since swift already has namespace we did not add the prefix

I am getting this issue after running the "pod install" command. and the pod is added like this ( pod 'PXKit', :git => 'git@github.com:Gainsight/px-ios.git', tag: '1.11.0') in the pod file. Kindly help me at your earliest in this.


Fix logo in HTML doc

The logo is not visible in the published HTML page

The logo/banner now appears in the HTML doc


Agent installation

I want to be able to install the mcollective-package-agent package on remote server managed by MCollective at the same time as installing MCollective. For me, the ability to RPC to a remote server and get package information is important and I believe other system administrators would benefit greatly from such a feature. It's tunable and off by default, so it's a safe addition.

Is this still something we want/need, @mrcrilly, @apenney?
I would see about making some tests if it is.

closing for inactivity


Support for ESP32

Hi,
I successfully tested this library with SparkFun ESP32 Thing and SSD1306 driver via I2C and it works without any change. I also compiled example with SPI version of this driver without any problem, but I don't have SPI OLED display to test.
So you can add ESP32 platform/architecture to library.json and library.properties.

I also tested it with I2C. Maybe on weekend I have some time left to test it on SPI too.

Thank you guys! I updated the properties file and made a new release. Can you confirm that the library now shows up when using the ESP32 platform goal?

Fix PIO platforms in library.json: https://github.com/squix78/esp8266-oled-ssd1306/pull/113


[type:fix] plugn-dubbo-common  fix selector update gray remove cache(…

…#4665)

#4665

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@Kakk22 hi，pls resolve conflicts file，and checked ci pass

@yu199195 hi, i has resolve conflicts file,please check it

@Kakk22 hi，pls checked ci

@yu199195 i just change tow file. both are shenyu-plugin-dubbo-common module, i has not idea why other moduleci is fail. can y  see and tell how can i do

Codecov Report

Merging #4762 (03c0414) into master (04c3bd5) will decrease coverage by 0.33%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #4762      +/-   ##
============================================
- Coverage     65.50%   65.17%   -0.33%
+ Complexity     8145     8137       -8
============================================
  Files          1135     1136       +1
  Lines         33236    33363     +127
  Branches       2967     2971       +4
============================================
- Hits          21770    21744      -26
- Misses         9735     9888     +153
  Partials       1731     1731

Impacted Files
Coverage Δ

...common/handler/AbstractDubboPluginDataHandler.java
89.13% <100.00%> (+2.46%)
:arrow_up:

... and 37 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Run ./tools/pretty.sh to format README.md files.

This mainly adjusts line lengths and removes trailing characters. I try to remember to run it before commits but don't always. If we put it in the Makefile under the main target, builds will require a local installation of prettier (I think that's too burdensome for new contributors).

We can install prettier into VSCode. https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode


Use AzureOpenAI in OpenAIWrapper

Why are these changes needed?
Creating AzureOpenAI in OpenAIWrapper if api_type is "azure"

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

@kevin666aa if you'd like help with this PR, I'm happy to find helpers from discord.

@kevin666aa if you'd like help with this PR, I'm happy to find helpers from discord.

Yes, thanks!

@kevin666aa can you please rebase and and check tests afterwards 🙏

@cforce This PR should be closed. The described feature is implemented in #1232.


[DEV-1970]&[DEV-2205]&[DEV-2172]&[DEV-2203]&[DEV-2183]&[DEV-2202] fee, instant, fps price

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations

Login/logout
Registration
Update user data
Create/delete payment routes

Post-Release

Test basic user operations
Monitor application insights log

deactivate preparation services before merging, update fee paymentMethods


Issue between diagrams.net and Google Slides

Preflight Checklist

[x ] I agree to follow the Code of Conduct that this project adheres to.
[ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
A clear and concise description of what the bug is.
The diagrams.net extension is not working on Google products. I am trying to update a diagram from draw.io that is already present in a Google Slides presentation, and whenever I attempt to update the visual in the slideshow, an error pops up. I also tried deleting the diagram from the presentation and re-inserting it, but this also was unsuccessful. I have cleared browser history, cleared cache, used an incognito window, however none of these solved the issue. Any help would be greatly appreciated!
Steps to reproduce the behavior:

Go to 'Google Slides'
Click on 'Extension > diagrams.net > update selected diagrams OR update all'
Scroll down to 'no need to scroll'
See error

Expected behavior
A clear and concise description of what you expected to happen.
The diagram was supposed to be updated to reflect new adjustments in the draw.io visual within our Google Slides presentation.
Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 23.0.1

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Browser Version 120.0.6099.225

Smartphone (please complete the following information):

Device: [iPhone 13]
OS: [e.g. iOS17.2]
Browser [safari]
Version [e.g. 17.2]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
-yes
Additional context
Add any other context about the problem here.
Please help :(

Cannot repeat.


Rewrite testclient cookie impl

Rewrite the _TestCookieJar class to remove dependency on http.cookiejar including the unnecessary Header and Response conversions when working with cookies

fixes #1060
fixes #1680

Checklist:

[ ] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[x] Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

Closing as I don't think this is the direction I want to go. I know we discussed more on this at the time, but I can't remember exactly what conclusion I came to, so I'll investigate that again.


Investigate using SignalR itself as a backplane

We can start with a basic implementation that is a standalone application that needs to be hosted in order to function, no fancy clustering just yet. Everyone connects to the SignalR backplane service and we treat it like a remote cache.
One downside of doing it this way is that the backplane service would need to be scaled out as well...

I’m looking into something similar, with #ServiceFabric hub-spoke configurations and mesh, also looking at the possibility of a #ServiceFabric in memory #EF provider

@KPixel basically, there are questions on how to scale out the signalr used for messaging though.


If null throw null pointer...

https://github.com/smartdevicelink/sdl_java_suite/blob/93778656113f0023ec7025281b77e28000a1f5bd/base/src/main/java/com/smartdevicelink/proxy/SystemCapabilityManager.java#L105

@randypfohl can you please follow the issue template when reporting an issue?


Appimage not working

Hey there,
I just tried running the appimage and I even tried using npm run pack-app but there is a problem: The window is just white ((node:36424) electron: Failed to load URL: file:///home/maus/Downloads/studiorack-app-main/dist/linux-unpacked/resources/app.asar/renderer/out/projects.html with error: ERR_FILE_NOT_FOUND)
I have no clue why this is, but the app works fine with npm run start , so it seems like a file is lost when creating the binary.
Please fix this!
Thanks!

Hello,
Thanks for trying out the app. I don't have a Linux machine, so it is the least tested of the Operating Systems, there are likely bugs!
I have just tested using:

Virtual Box v6.1 (https://www.virtualbox.org/)
Ubuntu Desktop v20.04.3 (https://ubuntu.com/download/desktop)

After that I downloaded and install the dependencies using the commands:
sudo apt install git
sudo snap install node --classic --channel 17/stable
mkdir ./Sites && cd ./Sites
git clone https://github.com/studiorack/studiorack-app.git
cd studiorack-app
npm install
npm run dev

The app loads just fine in dev mode:

If I build the final binary using:
npm run dist

(This is how the release binaries are created in the GitHub pipeline code here):
https://github.com/studiorack/studiorack-app/blob/main/.github/workflows/release.yml#L50
I do see an error:

Thanks for reporting, will investigate!

I have found the issue. When I switched pages over to server-side rendering, that prevented me exporting the entire app static content.
I changed the package.json commands to this:
"build-renderer": "next build renderer",

https://github.com/studiorack/studiorack-app/blob/main/package.json#L11
But the original template has:
"build-renderer": "next build renderer && next export renderer",

https://github.com/vercel/next.js/blob/canary/examples/with-electron-typescript/package.json#L8
If I replace the origin command the build fails for a different reason. Will need to create a fix

This issue has now been fixed.
Please note the app is still in beta and is not fully stable/tested!

I'm having trouble still - At the moment I'm getting an internal server error, even though the website seems to be running fine...
The console is also pretty useless, just a "Clientside exception"

Hmm you're right. If I run the AppImage built on Linux it works:

However If I download the build from the GitHub CI Pipeline it doesn't work:

Investigating...

Added debug code to catch the runtime error:
https://stackoverflow.com/a/70638485/2068766
Revealed this error:
> Ready on http://localhost:3000
+<EMAIL_ADDRESS>Error: ENOENT<EMAIL_ADDRESS>not found in /tmp/.mount_studiorYTHOn/resources/app.asar
    at createError (node:electron/js2c/asar_bundle:5:1243)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1962)
    at Object.writeFileSync (node:fs:2143:35)
    at fileCreate (/tmp/.mount_studiorYTHOn/resources/app.asar/node_modules/@studiorack/core/dist/file.js:136:25)
    at Object.fileJsonCreate (/tmp/.mount_studiorYTHOn/resources/app.asar/node_modules/@studiorack/core/dist/file.js:160:12)
    at configSet (/tmp/.mount_studiorYTHOn/resources/app.asar/node_modules/@studiorack/core/dist/config.js:20:12)
    at getServerSideProps (/tmp/.mount_studiorYTHOn/resources/app.asar/renderer/.next/server/pages/projects.js:191:64)
    at Object.renderToHTML (/tmp/.mount_studiorYTHOn/resources/app.asar/node_modules/next/dist/server/render.js:589:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async doRender (/tmp/.mount_studiorYTHOn/resources/app.asar/node_modules/next/dist/server/base-server.js:879:38) {
  errno: -2
}

@studiorack/core is a shared package containing common typescript code. There is a config file which is loaded/saved and likely there is a path issue on linux.
Will test that package further on Linux.

I believe it's permissions issues. I get similar issues when trying to install plugins in the mac build:
node:electron/js2c/renderer_init:65 Uncaught (in promise) Error: Error invoking remote method 'pluginInstall': Error: ENOENT: no such file or directory, mkdir './temp/ryukau/vstplugins/cubic-pad-synth'
    at EventEmitter.i.invoke (node:electron/js2c/renderer_init:65)

When you build the binary on the same machine as it is being run, it must have permission.
When the binary is built on another machine (GitHub pipeline) the code is not trusted and has permissions issues.
I will need to spend time testing the permissions for all platforms.

I believe it's permissions issues. I get similar issues when trying to install plugins in the mac build:
node:electron/js2c/renderer_init:65 Uncaught (in promise) Error: Error invoking remote method 'pluginInstall': Error: ENOENT: no such file or directory, mkdir './temp/ryukau/vstplugins/cubic-pad-synth'
    at EventEmitter.i.invoke (node:electron/js2c/renderer_init:65)

When you build the binary on the same machine as it is being run, it must have permission. When the binary is built on another machine (GitHub pipeline) the code is not trusted and has permissions issues.
I will need to spend time testing the permissions for all platforms. and take a look through the security recommendations here: https://www.electronjs.org/docs/latest/tutorial/security

There usually shouldn't be any permission problems - The files should all have the owner and group 1000 (it's like the default user afaik), but Github CI never messed those things up for me

I spent some time investigating and found a few potential issues which required changes:

Upgrading to latest Electron
https://github.com/studiorack/studiorack-app/commit/6953632f949ce4ef5e04dc8ae818348c9ef9059d

Rewrote the Web -> Electron communication to follow security best-practices
Use new contextBridge and enable contextIsolation for security
https://github.com/studiorack/studiorack-app/commit/9b68a1ec82b8af965a737cf3de0051d5ac909226

Cross-platform appData directory and paths
https://github.com/studiorack/studiorack-core/commit/d087306d9f16d55d5b15c5f1b081bed7b93e3dd6

Testing the latest build in Ubuntu it seems item 3) was preventing the config from loading. Either the location of the config.json or the way I was joining paths with slashes.
The latest build is running, and navigable. However when installing a plugin there is still an error:
(in promise) Error: Error invoking remote method 'pluginInstall': Error: EACCES: permission denied, mkdir '/usr/local/lib/VST3/ryukau/vstplugins/colliding-comb-synth/0.1.1'

Will continue to investigate this issue

It appears that the Electron process by default does not have permissions to write files outside of the user AppData directory.
Potential solutions:

Instruct user to run StudioRack Electron app with elevated privileges (e.g. Admin)
Wrap Electron app in https://www.npmjs.com/package/electron-sudo which will prompt user to enter Admin password, then run StudioRack as child process after password is entered.
Run only the plugin install step as child process with elevated privileges (prompt the first time for password)

My worry is that running the entire Electron app with elevated privileges would be a security risk. Also dangerous if there was a bug, imagine wiping all your files on your machine.
I was sure there must be someone who has done this before. Looking at open-source Electron apps which also write files to System directories... I realized! https://github.com/microsoft/vscode
In the package.json file they have two interesting dependencies:

https://www.npmjs.com/package/native-is-elevated
https://www.npmjs.com/package/@vscode/sudo-prompt

They check to see if permissions are elevated using native-is-elevated, and if not prompt for an admin password using sudo-prompt.
Looking at the logic is interesting. They only use the elevated permissions to copy a file from temp folder to a system directory. I guess this is for security.
https://github.com/microsoft/vscode/blob/8845f89c1e4183b54126cd629cd45c8f0f7549f2/src/vs/platform/native/electron-main/nativeHostMainService.ts#L491
Will look into a coded solution for StudioRack soon.

I've successfully replicated the VSCode logic as a separate minimal example app:
https://github.com/kmturley/electron-runas-admin
Everything seems to work as expected. Next step is to integrated this code into StudioRack.
My planned approach is everytime a plugin is installed it will:

Download the plugin .zip file from GitHub Releases into a temp folder
Extract the .zip into a temp folder
Trigger Runas Admin step which will prompt user for their admin password
Copy the files from temp folder to Plugin directory.

Will take a look at this work in the coming week

Using the download from github on windows 10 gives me the same issue, is there any upadate on a fix?

@ThePinkUnicorn6 Thanks for trying out StudioRack!
The app is still in beta and there are still a few issue to work out. This is my first Electron app so there have been a few bumps! I am currently the only contributor to this project and working on it in my spare time, so progress has been slow.
I have been making updates to the core package which shares the logic for installing/uninstalling plugins:
https://github.com/studiorack/studiorack-core/commits/main
I am currently working on triggering an Admin prompt when plugins are installed into a System directory. This work is almost complete and there will be a new beta release soon.
In the meantime you can use the website or the command line to search and install plugins!

I managed to trigger Admin prompts and then install plugins with elevated privileges. The installation process is a little slow, but something that I can optimize over time.
I have publish beta v0.0.27 which should be fixed for Mac and Linux:
https://github.com/studiorack/studiorack-app/releases/tag/v0.0.27
Below are screenshots of the StudioRack app installing plugins successfully for each platform.
MacOS Monterey 12.2.1

Linux (VirtualBox Ubuntu)

Windows (VirtualBox Windows 10) not working

I will look into the Windows build next.

This admin problem gets me to believe that it also installs the plugins to the system - If so, why not just download it into the downloads directory or only install it to the user? How can that require root access?

@UltraBlackLinux I have configured the default plugin installation directory to match Steinberg's recommendations:

MacOS: /Users/$USERNAME/Library/Audio/Plug-ins
Linux: /usr/local/lib
Windows: /Program Files/Common Files

https://developer.steinberg.help/display/VST/Plug-in+Locations
However you can change the default directory in the app settings screen:

I believe these directories require admin permissions to install files. In the future I am planning to only ask for admin permission if the installation directory is outside the App Data directory.
Closing this issue as it has been resolved on Linux/Mac. There is a separate issue for Windows which I will address here:
https://github.com/studiorack/studiorack-app/issues/3


[Feature] Add Plant Care Calculator

Description
The Plant care calculator will help plant owners create a schedule according to their specific plants needs. Users input details will be like plant type, size, location, season, watering frequency etc. The output will be a dedicated schedule for watering, fertilizing, and repotting. Please assign this issue under GSSOC'24 @Rakesh9100
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 this issue can be assigned


PL update

Fixed spelling & grammar
Added Discord rich presence
Updated and added translation
Polished store descriptions (Part 1/2)

Thank you for the update!


vite项目中使用postcss-scss报错

Describe the bug
项目运行时报错：[vite] Internal server error: Loading PostCSS Syntax failed: Class extends value undefined is not a constructor or null 具体如下图

Reproduction
使用vite init 初始化的项目
其中postcss.config.js文件
module.exports = {
  syntax: "postcss-scss",
  plugins: [
    require("autoprefixer")({ overrideBrowserslist: ["> 0.15% in CN"] }),
    require("postcss-nested"),
    require("postcss-px-to-viewport")({
      viewportWidth: 375,
      viewportHeight: 667,
      unitPrecision: 3,
      viewportUnit: "vw",
      selectorBlackList: [".ignore", ".hairlines"],
      minPixelValue: 1,
      mediaQuery: false,
    }),
    require('postcss-syntax')
  ],
};

packag.json
{
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vue-tsc --noEmit && vite build",
    "serve": "vite preview"
  },
  "dependencies": {
    "autoprefixer": "^10.2.6",
    "postcss-scss": "^4.0.0",
    "viewport-units-buggyfill": "^0.6.2",
    "vue": "^3.0.5",
    "vue-router": "^4.0.10",
    "vuex": "^4.0.2"
  },
  "devDependencies": {
    "@types/node": "^16.0.0",
    "@vitejs/plugin-vue": "^1.2.4",
    "@vue/compiler-sfc": "^3.0.5",
    "postcss": "^7.0.36",
    "postcss-nested": "^5.0.5",
    "postcss-px-to-viewport": "^1.1.1",
    "postcss-syntax": "^0.36.2",
    "typescript": "^4.3.2",
    "vite": "^2.4.0",
    "vue-tsc": "^0.0.24"
  }
}

System Info
windows
"vite": "^2.4.0"
"postcss": "^7.0.36"
"postcss-scss": "^4.0.0"

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

是你的 postcss版本太低，你应该升级你的 postcss 到 8.0.0 以上的版本。


More information on reacher task

I'm trying to understand the cost function for the reacher task which uses the function here.
However, I can't find a reference for what each index of the observation is in the Reacher task in the OpenAI documentation.
Can someone help explain what this function is computing? Also does anyone have a better source of documentation on the state observations in the Reacher task?

Each of the seven angles represents each of the joint angles, starting from the base of the robot to the end-effector (it follows the order of the joints in the corresponding xml file). All the function is doing is going through each of the angles to compute the position of the end-effector.

Is the 7-DOF reacher implemented in OpenAI gym? Where can I find out documentation about it?


Add (experimental) vector space utility functions

I am improving some of the wrappers and I found that we can use several of the built-in vector functions for generating empty arrays, stacking observations, etc
In this PR, I have copied the original space utility functions from vector which were in two files, spaces and numpy_utils into a single file, space_utils, the functions are batch_space, concatenate, iterate and create_empty_array
I have not changed the implementation of the functions other than adding new functions for the Sequence, Text, Graph spaces
For testing, I have not included expected outputs for each of the functions. This can be added, rather I have opted for functionality testing of the functions, in particular the interface between the four functions

I'm slightly confused by this, as I understand this is just refactoring of existing code, except it's put into the experimental directory, so it kinda looks like new code in the diff? Wouldn't it be better to just change it in the live version of the repo, and then it will get merged with the experimental stuff when that becomes stable?


Make sure conpty is flushed before clearing scrollback

Summary of the Pull Request
When you execute a cls in the cmd shell, or Clear-Host in
PowerShell, we have a pair of shims that attempt to detect those
operations and forward an ED3 sequence to conpty to clear the
scrollback.
If there was a linefeed at the bottom of the viewport immediately
prior to those functions being called, that event might still be
pending, and only forwarded to conpty after the ED3. The result
then is a line pushed into the scrollback that shouldn't be there.
This PR tries to avoid that situation by forcing the renderer to
flush before the ED3 sequence is sent.
References
The cls and Clear-Host shims were originally added in PR #5627.
PR Checklist

[x] Closes #5770
[x] Closes #13320
[x] CLA signed.
[ ] Tests added/passed
[ ] Documentation updated.
[ ] Schema updated.
[ ] I've discussed this with core contributors already. If not
checked, I'm ready to accept this work might be rejected in favor of a
different grand plan. Issue number where discussion took place: #xxx

Validation Steps Performed
I've manually tested in PowerShell with echo Hello; Clear-Host (this
is the only way I could reliably reproduce the original problem), and in
the cmd shell with cls. Both cases are now working as expected.

🎉Windows Terminal v1.14.186 has been released which incorporates this pull request.🎉
Handy links:

Release Notes
Store Download

I just installed the latest stable Windows Terminal Version: 1.14.1862.0 directly from the releases page; and it looks that despite being emailed this morning that that this PR that was implemented in today's releases addressed my issue from 2020, it did not. I'm still experiencing the same thing I did back then: https://github.com/microsoft/terminal/issues/4461

@jrd-lewis I think closing #4461 as a duplicate of #3126 was probably a mistake. Your problem was regarding the command history not being cleared, while #3126 (and this PR) has to do with clearing the scroll-back buffer.
That said, the PowerShell history isn't actually something that is controlled by the terminal, so there's nothing we could do about that anyway. And I suspect it may be working as intended, since you're clearing the PSConsoleReadLine history which I believe is separate from the actual PowerShell history.
But I think the best place to get further info would be in the PowerShell/PSReadLine repository. Just doing a quick scan, I found PowerShell/PSReadLine/issues/1247, which may be relevant. I'm sorry you weren't directed there earlier.

Thanks for this, @j4james. You're right -- I shouldn't have closed that as a duplicate. I completely overlooked the fact that @jrd-lewis was talking about command history. Even though he had said, "press the up arrow." 🤦🏻


[feature request]: schema validator and comments

Are there any plans to include a schema validator as well as comment support? Our project www.bareflank.org is about to add JSON support, and we are debating this code vs RapidJSON. We like the simplicity of this code, as well as the modern use of C++11/14, but we also like the Schema support and comment support with RapidJSON.
Some more info on the roadmap would be really helpful with respect to make our decision. Thanks a ton, and great job on this library.

The JSON standard does not include comments.
See also:
https://github.com/nlohmann/json/issues/192
https://github.com/nlohmann/json/issues/294
https://github.com/nlohmann/json/issues/305
There is also a library that just does validation and supports this parser:
https://github.com/tristanpenman/valijson

Thanks


Unexpected error with the extension since tests today

I have been using the extension successfully for a while. Without any code change, I now get Bad request (400) errors when using the task ms-pbi-api.pbi-automation-tools.Pipelines_Deploy.DeploymentPipelines-Deploy@1 in a YAML pipeline. The same script was working on Aug. 23 with the same deployment pipeline.
Task code:
`parameters:

name: Environment
type: string
name: datasetName
type : string
name: reportName
type : string
name: comment
type : string
name: pipelineId
type: string
name: pbiConnection
type: string

stages:

stage: PUBLISH
dependsOn: []
displayName: "Déploiement dans l'espace sélectionné"
variables:

name: EnvironnementPwrBI
${{ if eq(parameters.Environment, 'PWRBI-TA') }}:
value: Test
${{ else }}:
value: Production
jobs:

deployment: DeployPowerBIArtifacts
displayName: "Deploy Power BI Artifacts"
pool:
name: "Azure Pipelines"
vmImage: windows-latest
environment: ${{ parameters.Environment }}
strategy:
runOnce:
deploy:
steps:
## Déploiement sélectif
- task: ms-pbi-api.pbi-automation-tools.Pipelines_Deploy.DeploymentPipelines-Deploy@1
displayName: 'Deploy content to the stage'
inputs:
pbiConnection: ${{ parameters.pbiConnection }}
pipeline: ${{ parameters.pipelineId }}
stageOrder: ${{ variables.EnvironnementPwrBI }}
note: ${{ parameters.comment }}
deployType: Selective
datasets: ${{ parameters.datasetName }}
reports: ${{ parameters.reportName }}
createNewWS: false`

Here is the log from my last successful deployment:
2024-08-23T13:46:00.5463661Z ##[section]Starting: Deploy content to the stage 2024-08-23T13:46:00.5481261Z ============================================================================== 2024-08-23T13:46:00.5481425Z Task         : Deploy content in a deployment pipeline 2024-08-23T13:46:00.5481545Z Description  : Deploy content in a Power BI deployment pipeline 2024-08-23T13:46:00.5481663Z Version      : 1.2.0 2024-08-23T13:46:00.5481753Z Author       : Microsoft 2024-08-23T13:46:00.5482279Z Help         :  2024-08-23T13:46:00.5482354Z ============================================================================== 2024-08-23T13:46:01.6360287Z Importing module MicrosoftPowerBIMgmt.Profile 2024-08-23T13:46:01.7024243Z Activity ID: 286d4658-dc7c-4710-9bc9-c3d770438748 2024-08-23T13:46:01.7131727Z Connecting to Power BI with ServicePrincipal 2024-08-23T13:46:02.9467762Z Getting pipeline: f026edfe-5e50-49f8-aa96-d0651e94d609 2024-08-23T13:46:03.0575525Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines 2024-08-23T13:46:03.4005379Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/stages/1/artifacts 2024-08-23T13:46:03.8612254Z Sending Post request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/Deploy 2024-08-23T13:46:03.8621317Z Request Body: { 2024-08-23T13:46:03.8621681Z     "reports":  [ 2024-08-23T13:46:03.8622183Z                     { 2024-08-23T13:46:03.8623043Z                         "sourceId":  "453fc512-8019-4595-83d4-4110bc0003e5" 2024-08-23T13:46:03.8623394Z                     } 2024-08-23T13:46:03.8623649Z                 ], 2024-08-23T13:46:03.8625672Z     "options":  { 2024-08-23T13:46:03.8642989Z                     "allowTakeOver":  false, 2024-08-23T13:46:03.8643735Z                     "allowOverwriteArtifact":  true, 2024-08-23T13:46:03.8644076Z                     "allowPurgeData":  false, 2024-08-23T13:46:03.8644472Z                     "allowSkipTilesWithMissingPrerequisites":  false, 2024-08-23T13:46:03.8644850Z                     "allowCreateArtifact":  true, 2024-08-23T13:46:03.8645184Z                     "allowOverwriteTargetArtifactLabel":  false 2024-08-23T13:46:03.8645509Z                 }, 2024-08-23T13:46:03.8645793Z     "dashboards":  [ 2024-08-23T13:46:03.8645985Z  2024-08-23T13:46:03.8646250Z                    ], 2024-08-23T13:46:03.8646528Z     "datasets":  [ 2024-08-23T13:46:03.8646790Z                      { 2024-08-23T13:46:03.8647369Z                          "sourceId":  "cd50d40c-45ba-427b-aa99-524c1567e5b5" 2024-08-23T13:46:03.8647698Z                      } 2024-08-23T13:46:03.8647948Z                  ], 2024-08-23T13:46:03.8648249Z     "isBackwardDeployment":  false, 2024-08-23T13:46:03.8648582Z     "sourceStageOrder":  1, 2024-08-23T13:46:03.8648879Z     "datamarts":  [ 2024-08-23T13:46:03.8649086Z  2024-08-23T13:46:03.8649333Z                   ], 2024-08-23T13:46:03.8649607Z     "dataflows":  [ 2024-08-23T13:46:03.8649803Z  2024-08-23T13:46:03.8650049Z                   ], 2024-08-23T13:46:03.8650489Z     "note":  "PDATA-18112 - Ajout flag larges groupes securite" 2024-08-23T13:46:03.8650809Z } 2024-08-23T13:46:04.2844900Z Deployment requested sucessfully, Operation ID: 8105c278-670a-49c1-bd92-d4c4cbbe0945 2024-08-23T13:46:04.2852188Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/Operations/8105c278-670a-49c1-bd92-d4c4cbbe0945 2024-08-23T13:46:04.3853211Z Waiting for deployment completion, Status = NotStarted 2024-08-23T13:46:09.3786760Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/Operations/8105c278-670a-49c1-bd92-d4c4cbbe0945 2024-08-23T13:46:09.6252937Z Waiting for deployment completion, Status = Executing 2024-08-23T13:46:14.6312602Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/Operations/8105c278-670a-49c1-bd92-d4c4cbbe0945 2024-08-23T13:46:14.8259890Z Waiting for deployment completion, Status = Executing 2024-08-23T13:46:19.8225560Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/Operations/8105c278-670a-49c1-bd92-d4c4cbbe0945 2024-08-23T13:46:19.9888202Z Deployment completed with status: Succeeded, Operation Id: 8105c278-670a-49c1-bd92-d4c4cbbe0945 2024-08-23T13:46:20.0225454Z ##[section]Finishing: Deploy content to the stage
Now with one of today's tests:
2024-08-27T19:30:34.4130702Z ##[section]Starting: Deploy content to the stage 2024-08-27T19:30:34.4150035Z ============================================================================== 2024-08-27T19:30:34.4150258Z Task         : Deploy content in a deployment pipeline 2024-08-27T19:30:34.4150393Z Description  : Deploy content in a Power BI deployment pipeline 2024-08-27T19:30:34.4150528Z Version      : 1.2.0 2024-08-27T19:30:34.4150599Z Author       : Microsoft 2024-08-27T19:30:34.4151125Z Help         :  2024-08-27T19:30:34.4151201Z ============================================================================== 2024-08-27T19:30:35.4325878Z Importing module MicrosoftPowerBIMgmt.Profile 2024-08-27T19:30:35.4920461Z Activity ID: b40ce6ab-38c5-4a3d-960f-7b4582f628ae 2024-08-27T19:30:35.5021564Z Connecting to Power BI with ServicePrincipal 2024-08-27T19:30:36.8910356Z Getting pipeline: f026edfe-5e50-49f8-aa96-d0651e94d609 2024-08-27T19:30:36.9080748Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines 2024-08-27T19:30:37.1902852Z Sending Get request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/stages/0/artifacts 2024-08-27T19:30:37.5991605Z Sending Post request to - https://api.powerbi.com/v1.0/myorg/pipelines/f026edfe-5e50-49f8-aa96-d0651e94d609/Deploy 2024-08-27T19:30:37.6007751Z Request Body: { 2024-08-27T19:30:37.6027173Z     "reports":  [ 2024-08-27T19:30:37.6031972Z                     { 2024-08-27T19:30:37.6033291Z                         "sourceId":  "a17d28e8-6df6-40be-acf0-55f5a6badaf7" 2024-08-27T19:30:37.6033675Z                     } 2024-08-27T19:30:37.6034021Z                 ], 2024-08-27T19:30:37.6034392Z     "options":  { 2024-08-27T19:30:37.6034767Z                     "allowTakeOver":  false, 2024-08-27T19:30:37.6035255Z                     "allowOverwriteArtifact":  true, 2024-08-27T19:30:37.6035649Z                     "allowPurgeData":  false, 2024-08-27T19:30:37.6036072Z                     "allowSkipTilesWithMissingPrerequisites":  false, 2024-08-27T19:30:37.6036494Z                     "allowCreateArtifact":  true, 2024-08-27T19:30:37.6036903Z                     "allowOverwriteTargetArtifactLabel":  false 2024-08-27T19:30:37.6037287Z                 }, 2024-08-27T19:30:37.6037631Z     "dashboards":  [ 2024-08-27T19:30:37.6037901Z  2024-08-27T19:30:37.6038239Z                    ], 2024-08-27T19:30:37.6038549Z     "datasets":  [ 2024-08-27T19:30:37.6038891Z                      { 2024-08-27T19:30:37.6039407Z                          "sourceId":  "3642d916-d5e8-457d-bbf1-0aae9a8ddc1a" 2024-08-27T19:30:37.6039760Z                      } 2024-08-27T19:30:37.6040088Z                  ], 2024-08-27T19:30:37.6040436Z     "isBackwardDeployment":  false, 2024-08-27T19:30:37.6040809Z     "sourceStageOrder":  0, 2024-08-27T19:30:37.6041165Z     "datamarts":  [ 2024-08-27T19:30:37.6041446Z  2024-08-27T19:30:37.6041782Z                   ], 2024-08-27T19:30:37.6042121Z     "dataflows":  [ 2024-08-27T19:30:37.6042346Z  2024-08-27T19:30:37.6042674Z                   ], 2024-08-27T19:30:37.6043218Z     "note":  "PDATA-18112 - Inventaire des rapports mis à jour" 2024-08-27T19:30:37.6043571Z } 2024-08-27T19:30:37.9635648Z ##[error]The remote server returned an error: (400) Bad Request..Exception     Request Id: 00b0a81a-a64b-4445-a624-b185ddeef6b9     Error response body:         {"error":{"code":"BadRequest","message":"Bad Request","details":[{"message":"Invalid value","target":"request"}]}} 2024-08-27T19:30:37.9948523Z ##[section]Finishing: Deploy content to the stage
The operation does not reach the API.
I do not see any API change that would explain it. Using the deployment pipeline UI to deploy worked fine

please note that the deployment is successful if I use the same parameters in a script such as the PS sample

linked to issue #26


De-traitify text module

Since I keep delaying the text refactor, and this is mostly ready, I'm removing the draft status and the TMP commit. I'll do the text refactor in another branch.


Add syn_mid::ImplItemMethod

For parsing impl blocks without method bodies.
Also adds syn_mid::ImplItem and syn_mid::Item, with the types other than ImplItemMethod delegated to syn.

...also anything that references Item, such as Stmt

What APIs do you actually need? ImplItemMethod (struct) + ImplItem (enum, 1 variant) + ItemImpl (struct) + Item (enum, 2 variant)?

delegated to syn

I'm not sure what this means. You need the full feature of syn to let syn parse it. Or does that mean treating anything other than a method as a variant like Item::Verbatim?
FWIW, as rustc syntactically accepts top-level functions without body, we can also change ItemFn. (aside from we want to do that or not)

What APIs do you actually need? ImplItemMethod (struct) + ImplItem (enum, 1 variant) + ItemImpl (struct) + Item (enum, 2 variant)?

Yes, I think this is enough. I started an implementation within syn_mid but I got bogged down when I started copying and pasting a lot of parser code from syn. And it looks like there is some overlap between the code to parse ImplItemMethod and the existing code in syn_mid that parses ItemFn.

You need the full feature of syn to let syn parse it.

Yes, this is fine - I mean syn_mid provides ItemImplMethod (and ImplItem, ItemImpl and Item), and other variants within ImplItem are fully parsed and exposed in terms of syn's types.
ImplItemConst is the other variant within ImplItem that could contain a non-trivial body, so it could be another candidate for special handling by syn_mid, but I haven't yet encountered any large const declarations within impl blocks.
The background to this is as a speedup for crates like pyo3 that parse impl blocks but only care about function signatures. I'm hoping to improve compile times of code that uses pyo3 by replacing syn with syn_mid.

My use case for this crate is saving compile time and forward compatibility with rust syntax by not parsing the function bodies. So I prefer completeness of structs over compile time benefits of removing them. And I think a feature flag is fine.


An expression of non-boolean type specified in a context where a condition is expected

The error i am getting is
django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'AND'. (4145) (SQLExecDirectW); [42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Statement(s) could not be prepared. (8180)")
When trying to query on boolean fields such as Portfolios.objects_for_user.get_queryset(request=request, is_active=True, portfolio_reference=portfolio_reference).
The is_active field is a boolean and the sql being generated is not valid. It generates SQL saying WHERE boolean instead of WHERE boolean=1

I uninstall django-mssql-backend  which installed via pip. Then install django-mssql-backend in github release https://github.com/ESSolutions/django-mssql-backend .There has been no release since this patch. It work for me.


ROST.iso install fails at selecting operating system

During the install process, the setup window that says select the operating system you want to install, there are no options and it's blank. If you click and press next you receive the error. Windows could not display the images available for installation.
Same issue as in this technet article.
https://social.technet.microsoft.com/Forums/en-US/cf4dbd79-c079-4041-b110-26f3a76aed79/quotwindows-could-not-display-the-images-available-for-installationquot-after-windows-2012-r2?forum=winserver8setup

+1

In virtualbox it works, in vmware you have to manual install it


Pass several parameters in StartLogin function

I am building a custom connector to connect to our API via OAuth2. This is so we can use our api as a data source to powerbi.
How do I pass a url (which is taken as input from the user in power bi site/desktop) to StartLogin function? I basically need this variable to construct authorizationUrl. Any references would be helpful too.

to get the source path is it the resourceURL parameter or different parameter ?

Yes, in most code examples the data source path is misidentified as the resource URL. That's because -- if your function has a single parameter which is typed as a Uri.Type, it will be the resource URL. This was very common in our early scenarios so the name stuck in the samples.

I tried to use the data-source path, without success i always get a null value. Do you have any sample code showcasing how the data-source path is passed to StartLogin function?
Thank you in advance for the help

can we use Extension.CurrentCredential()[Properties] for that purpose and how we can parameters using it ?


Not working on my Brackets 1.6 ?

Hello and thanks for the plugin.
I was using concat Brackets CSS concat and Brackets JS concat, but was looking for just one plugin to combine CSS and JS files. That's why I install your plugin.
Unfortunately the plugin doesn't work on my 1.6 Brackets. Is there any things I haven't understood ?
I create a clientlibs.combile file in my root directory and fill it with :
{
    "combineOnSave": false,
    "combine": [
        {
            "output": "combine/css/styles.min.css",
            "files": [
                "style1.css",
                "style2.css"
            ]
        },
        {
            "output": "combine/js/perso.min.js",
            "files": [
                "jstest/*.js"
            ]
        },
    ]
}

But when I right-click on the file and click Combine client Libs, nothing happens.
Thanks for your help.

I have tested on Brackets 1.6 and it is working for me.  Do you see any errors in the console?

Hi and thanks for your answer.
I'm not a good dev enough to explore errors but ...
The only error I have when I launch Combine Client Libs is :
Uncaught SyntaxError: Unexpected token ]

HI again I solve my problems in changing the name of my root folder from "dossier sans titre" to "dossiertest"
It was OK for css and not for js. So I delete the last coma and it's all OK
{
    "combineOnSave": false,
    "combine": [
        {
            "output": "combine/css/styles.min.css",
            "files": [
                "style1.css",
                "style2.css"
            ]
        },
        {
            "output": "combine/js/perso.min.js",
            "files": [
                "jstest/*.js"
            ]
        }
    ]
}

Last test.
No problem of extensions, it was just a problem of coma.
Here is the code OK
    "combineOnSave": false,
    "combine": [
        {
            "output": "combine/css/styles.min.css",
            "files": [
                "style1.css",
                "style2.css"
            ]
        },
        {
            "output": "combine/js/perso.min.js",
            "files": [
                "jstest/*.js"
            ]
        }
    ]
}

Good find.