Blind status on HomeKit opposite to TUYA App.

[ ] I've read the Readme - FAQ and Readme - Troubleshooting section.

Describe the bug
Blind in HomeKit say CLOSED (when actual blind is CLOSED) but in TUPA app says OPEN
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Device info
[2/19/2023, 3:14:10 PM] [TuyaPlatform] [Office Blinds] [WindowCovering/undefined/CurrentPosition] Update value: 0 => 100 [2/19/2023, 3:14:10 PM] [TuyaPlatform] [Office Blinds] [WindowCovering/undefined/PositionState] Update value: 1 => 2 [2/19/2023, 3:14:12 PM] [Hue] Philips hue: request 15: GET /lights [2/19/2023, 3:14:12 PM] [Hue] Philips hue: request 15: 200 OK [2/19/2023, 3:14:16 PM] [TuyaPlatform] [TuyaOpenAPI] Request: method = post endpoint = https://openapi.tuyaeu.com path = /v1.0/devices/0006317224a160234f1c/commands query = null headers = {   "t": "1676819656995",   "client_id": "rkwsnttnr8f7scu8g5fw",   "nonce": "667d66b6-ca48-426d-af84-2bd8f71490c2",   "Signature-Headers": "client_id",   "sign": "7AEE0BE177B7D7E458EEF9BE0E0BEEBFFDF05995D84B1D144903058EB9AE11E3",   "sign_method": "HMAC-SHA256",   "access_token": "908e6a907e9b64b7bd20f149c143b5ba",   "lang": "en",   "dev_lang": "javascript",   "dev_channel": "homebridge",   "devVersion": "1.7.0-beta.28" } body = {   "commands": [     {       "code": "percent_control",       "value": 0     }   ] } [2/19/2023, 3:14:17 PM] [TuyaPlatform] [TuyaOpenAPI] Response: path = /v1.0/devices/0006317224a160234f1c/commands data = {   "result": true,   "success": true,   "t":<PHONE_NUMBER>152,   "tid": "13a48c76b06811edaee5be2f74bef187" } [2/19/2023, 3:14:17 PM] [TuyaPlatform] [TuyaOpenMQ] onMessage: topic = cloud/token/in/2d60bcb0032580266a1f2fae28afe9ca protocol = 4 message = {   "dataId": "621fff8e-7ff3-450a-a994-2039c563f456",   "devId": "0006317224a160234f1c",   "productKey": "djgodnktzcudfrlb",   "status": [     {       "2": 0,       "code": "percent_control",       "t": "1676819656",       "value": 0     }   ] } t =<PHONE_NUMBER> [2/19/2023, 3:14:17 PM] [TuyaPlatform] [Office Blinds] [WindowCovering/undefined/PositionState] Update value: 2 => 0 [2/19/2023, 3:14:17 PM] [TuyaPlatform] [TuyaOpenMQ] onMessage: topic = cloud/token/in/2d60bcb0032580266a1f2fae28afe9ca protocol = 4 message = {   "dataId": "83a74241-97ae-4fe7-a9bf-03bc4b3cebbb",   "devId": "0006317224a160234f1c",   "productKey": "djgodnktzcudfrlb",   "status": [     {       "7": "opening",       "code": "work_state",       "t": "1676819656",       "value": "opening"     }   ] } t =<PHONE_NUMBER> [2/19/2023, 3:14:17 PM] [Hue] Philips hue: request 16: GET /lights [2/19/2023, 3:14:17 PM] [Hue] Philips hue: request 16: 200 OK [2/19/2023, 3:14:19 PM] [TuyaPlatform] [TuyaOpenMQ] onMessage: topic = cloud/token/in/2d60bcb0032580266a1f2fae28afe9ca protocol = 4 message = {   "dataId": "055c3ecb-d0d2-4498-8afd-416e61725363",   "devId": "0006317224a160234f1c",   "productKey": "djgodnktzcudfrlb",   "status": [     {       "3": 0,       "code": "percent_state",       "t": "1676819659",       "value": 0     }   ] } t =<PHONE_NUMBER> [2/19/2023, 3:14:19 PM] [TuyaPlatform] [Office Blinds] [WindowCovering/undefined/CurrentPosition] Update value: 100 => 0 [2/19/2023, 3:14:19 PM] [TuyaPlatform] [Office Blinds] [WindowCovering/undefined/PositionState] Update value: 0 => 2 [2/19/2023, 3:14:22 PM] [Hue] Philips hue: request 17: GET /lights [2/19/2023, 3:14:22 PM] [Hue] Philips hue: request 17: 200 OK

There are two type of blinds wich conflict definition, type A defines 0%-100% as close precent, type B defined 0%-100% as open precent, and I couldn't find the way to differ them.
Why tuya app can differ them is because type A and type B are using different device panel, different implementation code, but plugin only have one implementation code.
Currently one of them have to manually add configs to reverse the state:
https://github.com/0x5e/homebridge-tuya-platform/blob/develop_1.7.0/ADVANCED_OPTIONS.md#reverse-curtain-motors-onoff-state

edit your JSON config, I followed the advice on the main post. my config:
( Insert your own device ID's of course )
{
"options": {
"projectType": "2",
"accessId": "xxx",
"accessKey": "xxx",
"countryCode": 1,
"username": "xxx",
"password": "xxx",
"appSchema": "tuyaSmart",
"deviceOverrides": [
{
"id": "eb912a59fe2a7341e5flwn",
"schema": [
{
"code": "percent_control",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
},
{
"code": "percent_state",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
}
]
},
{
"id": "eb3cbf158968e5f9f0kt4b",
"schema": [
{
"code": "percent_control",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
},
{
"code": "percent_state",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
}
]
},
{
"id": "eb72a257f0708a9f44zpns",
"schema": [
{
"code": "percent_control",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
},
{
"code": "percent_state",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
}
]
},
{
"id": "ebd51697eae7f16748vxwd",
"schema": [
{
"code": "percent_control",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
},
{
"code": "percent_state",
"onGet": "(100 - value)",
"onSet": "(100 - value)"
}
]
},
{
"id": "eb1da0dd43d1c0eb15bzxe",
"category": "hidden",
"schema": [
{
"type": "Boolean"
}
]
}
]
},
"_bridge": {
"username": "0E:11:B5:66:6B:2B",
"port": 43176
},
"platform": "TuyaPlatform"
}


Defaulting semver should be patch

After consulting with the maintainer, we propose to alter what version this script defaults to when creating a new tag. We suggest replacing the current default value which increases the minor version with an increase to the patch version instead eg 0.0.0 to 0.1.0 will instead become 0.0.0 to 0.0.1.
Fixing this would lead to a more expected behavior according to us, for more info about semver, see semver 2.0.0

Fixed by https://github.com/janderssonse/janderscripts/commit/e6b1509e4e55458bf20eba7fb6402383a2ca1a2e.
Closing, thank for the patch! 👍


support to restore cluster from the healthy node(lost quorum)

https://github.com/tkestack/kstone/issues/104

how to implement the feature?


2.x.x - Add support for creating a streamed HBRequestBody

One of the problems with moving to wrapping the NIOAsyncChannelInboundStream iterator in the HBRequestBody, is it provided no method for creating a streamed HBRequestBody outside of the HTTP request handler. This PR addresses this by internal storing an enum which switches between a NIOAsyncChannelInboundStream.AsyncIterator and a NIOThrowingAsyncSequenceProducer.
You can now create a new streamed request body as follows
let (stream, source) = HBRequestBody.makeStream()

Closed in favour of #373


Add a parameter for user to set a title to the dialog directing to the setting page.

For myself, it's better to set a title to this dialog which directing to the setting page.

I signed it!

What about backward compatibility?

I have bring back the old two methods for backward compatibility. I am so embarrassed
to forget it.

@kelv1nq1an thanks for this contribution!  I have to think about how much overloading is desirable here, but this looks pretty good.

@kelv1nq1an I really appreciate this contribution as it has made me think a lot about the API surface.  I am going to pursue something a little different here that I think will sastisfy your need while also keeping things tidy.
I will keep this PR open until I come up with something.

@kelv1nq1an see #41 which changed this settings dialog to a Builder pattern.  This includes the ability to set the title without an exploding number of overloads.


Cookie expiration is null

I open website in Chrome on desktop - cookies have expiration date.
I open the same website in webview, get cookies. I can see their names and values but expiration date is null. Why?

Currently, the Android Cookie Manager, unfortunately, doesn't give other cookie info except for name and value.


Implement basic profiling using the Google Trace Event format

Spec: https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview#
This profiler is based on google's tracing format https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview# . It is an extremely simple format (at least the part we use) and since it is just a json it is somewhat easy to reason about. Personally my favourite UI for this is https://ui.perfetto.dev/ but you can also use chrome's embedded tracer instead.
Though we currently only expose this format, the API is made so it can be 'easily' extended to other formats as well.

@seven1m my friend told me it is ready to be reviewed now :^)

@seven1m your fix works, thanks a lot!

@TheGrizzlyDev this is really cool! Do you have an idea what kind of overhead this adds when we are not profiling? I'm wondering if we need to conditionally compile these statements -- especially the ones around the GC allocation and collection -- since they could slow down normal operation.
If you can show me there is negligible difference, I'll :shipit:. :smile: Otherwise, I think we should make this an #ifdef kind of thing.

@TheGrizzlyDev this is really cool! Do you have an idea what kind of overhead this adds when we are not profiling? I'm wondering if we need to conditionally compile these statements -- especially the ones around the GC allocation and collection -- since they could slow down normal operation.
If you can show me there is negligible difference, I'll :shipit:. smile Otherwise, I think we should make this an #ifdef kind of thing.

I think we can say with the last commit the impact of a disabled profiler is almost none :)

Once I get some time this/next week I'll try making the profiler impact less the runtime it's profiling so we can get more accurate profiles :) For now though it is quite useful and highlights some issues on the GC side, especially during the marking phase.

I haven't forgotten about this! I wanted to play around with it and just see how it affects traces before I merged. Very cool stuff, but I just ran out of time the last few days. :hugs:

I haven't forgotten about this! I wanted to play around with it and just see how it affects traces before I merged. Very cool stuff, but I just ran out of time the last few days. hugs

ahahahah no worries! It's a really good point, I've done that a bit as well and there are some interesting findings and things to fix (that would make a pretty cool youtube live/video by the way :D )

I hate to be that guy ... but this does add a teensy bit of overhead...

script
master branch debug build
master branch release build
antonio's branch debug build
antonio's branch release build

examples/fib.rb
m_fib_dev
m_fib_rel
a_fib_dev
a_fib_rel

examples/boardslam.rb
m_bs_dev
m_bs_rel
a_bs_dev
a_bs_rel

Benchmark 1: ./m_bs_rel 3 5 1
  Time (mean ± σ):     215.1 ms ±   6.3 ms    [User: 177.9 ms, System: 36.7 ms]
  Range (min … max):   204.7 ms … 228.8 ms    14 runs

Benchmark 2: ./a_bs_rel 3 5 1
  Time (mean ± σ):     224.1 ms ±  15.4 ms    [User: 187.6 ms, System: 36.3 ms]
  Range (min … max):   209.4 ms … 261.4 ms    12 runs

Summary
  './m_bs_rel 3 5 1' ran
    1.04 ± 0.08 times faster than './a_bs_rel 3 5 1'

tim@x230 ~/pp/natalie master 0 → hyperfine './m_fib_rel' './a_fib_rel'                                                                                3.0.3
Benchmark 1: ./m_fib_rel
  Time (mean ± σ):     230.4 ms ±  11.4 ms    [User: 196.8 ms, System: 33.4 ms]
  Range (min … max):   215.4 ms … 263.0 ms    13 runs

Benchmark 2: ./a_fib_rel
  Time (mean ± σ):     240.0 ms ±  22.6 ms    [User: 206.5 ms, System: 33.4 ms]
  Range (min … max):   220.7 ms … 309.4 ms    13 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.

Summary
  './m_fib_rel' ran
    1.04 ± 0.11 times faster than './a_fib_rel'

tim@x230 ~/pp/natalie master 0 → hyperfine './m_bs_dev 3 5 1' './a_bs_dev 3 5 1'                                                                                3.0.3
Benchmark 1: ./m_bs_dev 3 5 1
  Time (mean ± σ):     647.2 ms ±   7.5 ms    [User: 603.4 ms, System: 43.0 ms]
  Range (min … max):   641.3 ms … 667.0 ms    10 runs

Benchmark 2: ./a_bs_dev 3 5 1
  Time (mean ± σ):     654.7 ms ±  27.6 ms    [User: 612.0 ms, System: 41.5 ms]
  Range (min … max):   622.1 ms … 702.3 ms    10 runs

Summary
  './m_bs_dev 3 5 1' ran
    1.01 ± 0.04 times faster than './a_bs_dev 3 5 1'

tim@x230 ~/pp/natalie master 0 → hyperfine './m_fib_dev' './a_fib_dev'                                                                                3.0.3
Benchmark 1: ./m_fib_dev
  Time (mean ± σ):     680.8 ms ±  12.2 ms    [User: 642.8 ms, System: 37.9 ms]
  Range (min … max):   663.5 ms … 703.4 ms    10 runs

Benchmark 2: ./a_fib_dev
  Time (mean ± σ):     726.2 ms ±  10.1 ms    [User: 689.4 ms, System: 36.5 ms]
  Range (min … max):   715.9 ms … 747.0 ms    10 runs

Summary
  './m_fib_dev' ran
    1.07 ± 0.02 times faster than './a_fib_dev'

...Now, I'm ok with merging as-is and we can circle back to make it better. But I don't think something that is optional should slow down normal operation.
What do you think about using some #ifdefs and enabling the feature with rake build_release_profiled or similar? Then we could compile out the instrumentation for regular builds... Thoughts?

That feels a bit too much, are you sure you have compared with the commit from master this branched off from? Otherwise the difference may be caused by other changes. After work I'll try this again after rebasing on master, but ideally I want this feature to always be part of natalie and leave to our end users the ability of profiling or not and therefore I'd rather spend more time optimising this rather than disabling it in certain natalie builds :)
I'll let you know how this goes ;)

You're right, I compared with current master. I'll try again later...

You're right, I compared with current master. I'll try again later...

ah no worries, I've tried as well but my machine seems to produce too many outliers, so I'll see how to create a more reliable test-bench. I really want this to be unnoticeable when not profiling and barely noticeable when profiling. This tool seems to be quite nice so hopefully it'll help me do that!


Bugfix: Correct Navbar Positioning Issues in style.css (#996)

Issue Title: #996 Duplicate Property Assignment for position in style.css
Info about the Related Issue

Identified duplicate position property assignments (relative and sticky) within the style.css file, leading to potential conflicts in styling for the navbar.
Noted that the layout-container class was used inconsistently across multiple HTML files, affecting the navbar's visibility and behavior during scrolling.

Contributor Information

Name: Divanshi Goyal
GitHub ID: divanshiii09
Email ID<EMAIL_ADDRESS>Closes: #996

Describe the Add-ons or Changes You've Made 📃
Issues Resolved

Duplicate Position Assignment:

Files Affected: about.html, blog.html, category.html, contact.html, index.html, privacy.html, start_writing.html
Reviewed the usage of the layout-container class for the navbar, which had both relative and sticky positions defined.
Chose the position sticky over relative in all mentioned files to ensure consistent navbar behavior.

Screenshots

Navbar Visibility with Relative Position:

When the position is set as relative, the navbar disappears on scrolling.

Navbar Visibility with Sticky Position:

When the position is set as sticky, the navbar stays in position when scrolled.

Before and After Changes:

Before (Relative):

After (Sticky):

Similar adjustments were made in other HTML files, setting the position as sticky.

How Has This Been Tested? ⚙
After making these changes, I linked the updated style.css file to the relevant HTML files and tested them in a web browser. I verified that the navbar behaves correctly, remaining visible while scrolling, and that all styles were applied as intended. The output remains consistent, and the code changes did not negatively impact the overall functionality.
Pull Request Checklist

[x] I have added screenshots and videos to show before and after the working of my code.
[x] I have ensured that the screen size is set to 100% while making the video.
[x] I have synced the latest fork with my local repository and resolved any conflicts.
[x] I have mentioned the issue number which I created before making this PR (format to mention issue number is: fixes #996).
[x] I understand that if any of the above conditions are not met, my PR will not be merged.

@sanjay-kv and @MastanSayyad can you review this?

the labels following is incorrect level1 it should be


build: update<EMAIL_ADDRESS>

Product build to verify -> https://monacotools.visualstudio.com/Monaco/_build/results?buildId=75012&view=results

Builds seem to be failing, converting the PR to draft.

I am not sure whats wrong here, I tested this branch locally for our custom repo by setting
"electronRepository": "microsoft/vscode-electron-prebuilt"
and set the env VSCODE_MIXIN_PASSWORD  variable with a github token to download from private repo. This works fine locally.

@deepak1556  I'm seeing some other errors in the builds:

[23:25:33] /__w/1/s/src/vs/workbench/services/views/browser/viewDescriptorService.ts: line 22, col 26, Warning - Please add 'vs/workbench/services/views' to ./build/lib/i18n.resources.json file to use translations here. (code-translation-remind)

And on Windows:

$ DEBUG=* node build/lib/electron
'DEBUG' is not recognized as an internal or external command,
operable program or batch file.

Not sure how that relates to your last comment?

Abandoning, after some investigation I couldn't get the downloaded stream from @electron/get work with gulp streams. I have updated the old version to accept electron nightlies https://github.com/joaomoreno/gulp-atom-electron/tree/robo/electron_nightlies , we can update to that version.


fix(TimeSeriesCard): removed rounding and separator in formatter function

Closes #1360
Summary

All values above 1000 were getting rounded down cause the y-axis to show the same values if the values were close enough together

Change List (commits, features, bugs, etc)

Updated 1 story to have very high values where this bug appears
Created a new function called formatChartNumberWithPrecision that would only localize and reduce the decimals rather than dividing and rounding down the number in chart cards
Updated valueFormatter name to chartValueFormatter to ensure that its understood to be only for charts

Acceptance Test (how to verify the PR)

Go to the following story and see that the values on the y-axis and the hovered datapoint tooltip shows the whole value value, instead of rounding it  https://deploy-preview-1361--carbon-addons-iot-react.netlify.app/?path=/story/watson-iot-timeseriescard--large-single-line-interval-hour-same-day

:tada: This PR is included in version 2.98.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix Issue #396

In 64-bit mode, the selector index is from the 4th bit onward; this attempts to get the 32-bit selector error code which causes erroneous selector indices to be returned.

Thank you for your contribution!
How can we be sure that this patch is correct? Both Intel's and AMD's manuals specify that the selector index starts at bit 3. Could this be a bug in QEMU? Does real hardware behave the same way?

According to the StackOverflow member who solved my problem it's due to an ambiguity in the way the selector error code is documented:

Funny thing is, I think this ambiguity arises from the way they worded things in the Intel Software Development Manual. intel.ca/content/www/ca/en/architecture-and-technology/… (section 6.13 Error Code). They use the word index which I think leads to ambiguity. If you set the lower 3 bits of the selector error to 0 you can treat the result as the OFFSET (not the index) in the IDT. In 64-bit code you divide by 16 to get the index number (entries are 16 bytes) and in 32-bit code you divide by 8 (entries are 8 bytes)

Definitely attempting this on real hardware anyway as soon as I get the chance, but makes perfect sense seeing as though index 4 is power-of-2-aligned and index 3 isn't.

Funny thing is, I think this ambiguity arises from the way they worded things in the Intel Software Development Manual. intel.ca/content/www/ca/en/architecture-and-technology/… (section 6.13 Error Code). They use the word index which I think leads to ambiguity. If you set the lower 3 bits of the selector error to 0 you can treat the result as the OFFSET (not the index) in the IDT. In 64-bit code you divide by 16 to get the index number (entries are 16 bytes) and in 32-bit code you divide by 8 (entries are 8 bytes)

Wow, that's subtle, good find! Unfortunately, this doesn't apply for the GDT which can contain 8 byte sized user entries, truncating the third bit would lead to wrong indices being returned for the GDT. I'm not sure what the best solution could be, either way we should add some documentation that explains the returned value.

Updated my changes to also include a check of whether or not the fault originates in the IDT before proceeding.

Was initially hesitant to call the .descriptor_table() getter because I've had to fight with the borrow checker over similar self-referential method calls in the past, but trying anyway.

Thanks a lot the PR! I'm not sure if changing the behavior of the index method is a good idea since it's technically a breaking change. It could count as a bug-fix, but it might still break some users, e.g. if they already account for this bug by dividing the index by 2.
How about we keep the index method as-is, but mark it as deprecated? Then we could add a new descriptior_index(&self) -> DescriptorIndex method, with DescriptorIndex being defined as:
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum DescriptorTable {
    /// An index into the Global Descriptor Table.
    Gdt(u8),
    /// An index into the Interrupt Descriptor Table.
    Idt(u8),
    /// An index into the Logical Descriptor Table.
    Ldt(u8),
}

Fair enough. And yes, a simple division by 2 should in theory work around this problem without the need to create a breaking change, but definitely going to try that later.


Seek for help

It's my first time to use ruby and rspec. So I always failed in runing 'rspec spec db_test.rb', this process will be killed as for outing of memory. Does ruby need some configuration before to make it run normally?

If it's possible, could you please show me your specific error message? And also the version of ruby and respec (ruby -v && rspec -v) you are using?

After some attemption, my error message became another one like this:

Search it on google, I guess that meybe ruby require some prefix configuration like file path and so on.
Anyway it still make me confuszed. My ruby verision is 2.7.4p191 and rspec version is 3.9.

Maybe you can try to just use spec db_test.rb or spec ./db_test.rb.

Maybe you can try to just use rspec db_test.rb or rspec ./db_test.rb.

Unfortunately, I still failed this time with error An error occurred while loading spec_helper. Failure / Error: return gem_original_require(path). Accoriding to an answer in StackOverFlow, I enter rspec --init command and then I get a subfolder spec. Then I copy the file db_test.rb to spec folder, enter rspec ./spec/db_test.rb command. This time, error message became Failure / Error: config.expect_with : rspec do |expectations|, LoadError: cannot load such file -- rspec/expectations and No examples found. That's the situation I meet right now. Could you help me fix this problem?

Not quite sure, but maybe you can try to do by follow steps:

cd tutorial01
g++ db.cpp -o db
mkdir spec && cp db spec
cp db_test.rb spec/main_spec.rb
 rspec spec

Not quite sure, but maybe you can try to do by follow steps:

cd tutorial01
g++ db.cpp -o db
rspec --init && cp db spec
cp db_test.rb spec/main_spec.rb
 rspec spec

I really appreciate your help! Now I have fixed this problem. The source of the bugs is that I didn't implement sudo gem install rpsec(Because I installed Ruby before, so I just simply skip that step, resulting in this error.)


Configuration-free server

Since the default config file for osvr_server is now empty, why should osvr_server require a configuration file be present at all?  I propose the following behavior:

If a configuration file is provided on the command line, use it (if it exists).
Failing (1), if an osvr_server_config.json file is available in the current working directory use it.
Failing (1) and (2), start the server using an empty { } configuration.

I'd like to extend this a bit: between 1 and 2, look in a system path (such as $PREFIX/share).
https://github.com/OSVR/OSVR-Core/issues/238 should probably be resolved first.

Yes, it should presumably have a search path including a user directory, etc.  (The osvr_server binary itself is incredibly minimal - doesn't even have a proper command-line-parsing framework in use - has been basically a "good enough" launcher for the functionality that's added primarily in the osvrServer library, with little engineering attention paid to it.)

I'll take this one on


Uncaught ReferenceError: Component is not defined

Was trying to add this beautiful component to my project, but unfortunately getting Uncaught ReferenceError: Component is not defined at  index.umd.js:919
Using Webpack, TypeScript
package.json dependencies:
  "dependencies": {
    "@types/react": "^16.3.12",
    "@types/react-dom": "^16.0.5",
    "@types/react-loader": "^2.4.2",
    "@types/react-redux": "^5.0.16",
    "@types/react-router": "^3.0.15",
    "@types/react-router-redux": "4.0.50",
    "@types/react-sortable-hoc": "^0.6.3",
    "react": "^16.3.2",
    "react-dom": "^16.3.2",
    "react-loader": "^2.4.5",
    "react-query-builder": "^1.0.0",
    "react-redux": "^5.0.7",
    "react-router": "3.2.1",
    "react-router-redux": "^4.0.8",
    "react-sortable-hoc": "^0.6.8",
    "redux": "3.7.2",
    "redux-thunk": "^2.2.0"
  },
  "devDependencies": {
    "@types/immutable": "^3.8.7",
    "@types/ramda": "^0.25.24",
    "awesome-typescript-loader": "4.0.0",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.4",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-stage-2": "^6.24.1",
    "chunk-manifest-webpack-plugin": "^1.1.2",
    "cpy-cli": "^1.0.1",
    "css-loader": "^0.28.11",
    "flow-status-webpack-plugin": "^0.1.7",
    "html-webpack-plugin": "^3.2.0",
    "immutable": "^3.8.2",
    "inline-manifest-webpack-plugin": "^3.0.1",
    "open": "^0.0.5",
    "postcss": "^6.0.21",
    "postcss-hexrgba": "^1.0.0",
    "postcss-import": "^11.1.0",
    "postcss-loader": "^2.1.4",
    "precss": "^3.1.2",
    "ramda": "^0.25.0",
    "resolve-url-loader": "^2.3.0",
    "rimraf": "^2.6.2",
    "style-loader": "^0.21.0",
    "stylelint": "^9.2.0",
    "stylelint-config-standard": "^18.2.0",
    "tslint": "^5.9.1",
    "tslint-eslint-rules": "^5.1.0",
    "tslint-loader": "^3.6.0",
    "typescript": "^2.8.3",
    "webpack": "3.11.0",
    "webpack-dev-server": "2.11.1"
  },

loaders:
      {
        test: /\.tsx?$/,
        enforce: 'pre',
        loader: 'tslint-loader'
      },
      {
        test: /\.tsx?$/,
        use: [
          {
            loader: 'awesome-typescript-loader',
            options: {sourceMap: true, useCache: true, useBabel: true}
          }
        ],
      },

.tsconfig:
{
  "compilerOptions": {
    "typeRoots": [
      "./node_modules/@types",
      "./@types"
    ],
    "outDir": "./dist/",
    "noImplicitAny": true,
    "sourceMap": true,
    "module": "commonjs",
    "target": "es2017",
    "jsx": "react",
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true
  },
  "include": [
    "./src/**/*"
  ]
}

Everything else is copied and pasted from react-query-builder-demo
It seems there is no import/require for Component in index.umd.js

Same issue. A quick work around would be
window.Component = require('react').Component

something like that

Even though I could get around this, I am getting another error after fixing this one
fromRequireContextWithGlobalFallback.js:19 ReferenceError: babelHelpers is not defined
    at index.umd.js:800
    at WidgetContainer (index.umd.js:919)
    at index.umd.js:957
    at ./node_modules/react-query-builder/dist/index.umd.js.React__default (index.umd.js:2)
    at Object../node_modules/react-query-builder/dist/index.umd.js (index.umd.js:5)


Install google analytics

I'm pretty sure DCAF has an account already -- I'll see if I can't dig up keys and pop in the slugs.

Slugs popped in!


Is there a plan to update UnicornStore to RC1?

@rowanmiller Is there a plan to update UnicornStore to RC1?

Yes, I plan to do that in the next week or so. I'm closing out the issue here, since UnicornStore has its own repo and it's a pet project of mine... not really part of the EF project


📣 Spring Cloud Alibaba 2.2.10-RC1 is released

Hello Community,
We are very glad to announce that Spring Cloud Alibaba 2<IP_ADDRESS>-RC1 is released.
You can check detailed release notes here:

Release notes: https://github.com/alibaba/spring-cloud-alibaba/releases/tag/2.2.10-RC1
Relevant article: https://mp.weixin.qq.com/s/dAdtv1QvW1MQbVqpfbprkA

If there are no notable bugs, the official version will be released shortly!
If you have any questions using this version, please report the issue on Github.
Best regards,
Spring Cloud Alibaba Team

Looks promising!


the end date is set to 1st of next month as the upperbound is excluded

Description

the end date is set to 1st of next month as the upperbound is excluded
also a new tabl version is created to avoid overlapping confusion with the existing partitions with different dateranges

Related Issue(s)

#{issue number}

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Wait, why are we making v2 of the table?

Wait, why are we making v2 of the table?

The existing partition december has date range until 05 january in production, 11 in AT environments. We cannot change the partition range without removing them which means data will be lost. So data has to be any way migrated. So my plan here is to create new table and partitions with monthly date range and migrate the data from v1 to v2. Probably this is not very optimal solution. Any thoughts?

https://www.enterprisedb.com/blog/altering-bounds-partition - rather than using a migration to create v2, use one to alter the bounds (if the table exists).

The script is run manuallly in all the evironments to alter the parition ranges.


Update fastparse to 3.0.0

Updates com.lihaoyi:fastparse from 2.3.3 to 3.0.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!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "fastparse" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.lihaoyi", artifactId = "fastparse" }
}]

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

Should be fixed by https://github.com/scalameta/fastparse/pull/3

Superseded by #92.


feat: make oneOf relation required if non-nullable

Solves https://github.com/mswjs/data/issues/269 by making oneOf relation required (throwing an error) unless the field is explicitly set to nullable.

@kettanaito do you by any chance have time to review this PR?

@kettanaito it's been a year, but the issue is still present and I hope this MR has a chance to be merged :slightly_smiling_face:

Any news one this?

Now what? Also facing this undefined issue with oneOf


Update year in copyright

Hello,
A bad year is entered in the copyright note.
Regards,

Thanks, I updated it with preset in 250f7fba9841a13556d02f83dd4eb1e7718a99c1


Implement back publishing support

Fixes https://github.com/sbt/sbt-ci-release/issues/102
Ref https://github.com/scalameta/metals/pull/3557
Ref https://github.com/typelevel/kind-projector/pull/206
Ref https://github.com/scala/scala-parser-combinators/blob/d2e6685145ca4a9298c3d2ac0bde5ccf090f5d99/build.sh#L13-L15
Problem
For plugin code, like sbt plugins and Scala compiler plugin, and even normal libraries, it's common for the maintainers to want to back publish the current code base against a new version of Scala (or sbt, Scala Native etc) instead of bumping the version.
The current "bump the version" approach effectively pushes the work of figuring out the correct patch version number to the end users. In addition, if the plugin or the library does not cross publish all variants, then the end user might need to figure out different patch version to use effectively the same code.
Solution
This implements a mini DSL for tag:
version[@command|<EMAIL_ADDRESS>
, which allows plugin authors to back publish a code base. A back-publish tag is split via @ character, and uses # to denote comments. The comment is useful when multiple tags must be made pointing to the same version, which might be needed to recover from failures or for sbt plugin migration.

@a.b."x" for example @3.x expands to ;++3.x;publishSigned
@a.b.c for example @2.12.20 expands to ;++2.12.20!;publishSigned
@command for example @foo/publishSigned expands to foo/publishSigned

For example, to back publish sbt-pgp plugin 2.3.0, we will tag<EMAIL_ADDRESS>

Would be great to have the DSL explained in the README

@mzuehlke I'd be happy to add documentation before merging this, but I didn't know how this PR would be received so first I wanted to float the idea and see what people thought on if we should do it, and if the syntax looks ok.

Makes sense. Sorry for nagging

Constructive feedbacks are always welcome :)

I'm in favor. I never really understood @olafurpg's and @dwijnand's objections on #102, and the lack of this feature has been steadily wasting small amounts of my time — but those amounts add up! — in a lot of repos that I work in.

Syntax looks fine. I wonder more if it is generic enough. Could we think of some concrete examples and how they would be addressed? E.g., re-release 1.2.3 of some library for a new version of Scala Native?

Scala Version
JVM
JS (1.x)
Native (0.4.x)
Native (0.5.x)

2.13.x
_
_
_
case 3

3.x
case 2 (republish)
_
_
case 3

2.13.15
case 1 (all vs sub)
case 1 (all vs sub)
case 1 (all vs sub)
_

case 1.all
Publish all subprojects for a new Scala version
<EMAIL_ADDRESS>case 1.sub (to be impl)
Publish one subproject for a new Scala version
v1.2.3@2.13.15@foo/publishSigned
User can define a new command to aggregate 2 or more subprojects.
case 2
Republish for 3.x (sbt plugin likely would do this)
<EMAIL_ADDRESS>case 3 (to be impl)
Publish one subproject for a new sbt plugin like Scala.JS or Scala Native.
v1.2.3#scalaNative=0.5.5
Likely we'd have to parse the comment part in project/plugins.sbt via environment variable that represents the tag to switch the metabuild.

Reading the code, it seems like the # is just a comment identifier - a note to let folks know they can "tag" git tags with similar scala versions, so they can differentiate their scalaJS/sbt/scala native versions from one another.
I assume this means that these branches/tags will exist for the whole set of supported version combinations that might exist. A scalaJS + multiScalaVersion sbt plugin is going to be pushing a lot of tags.

I assume this means that these branches/tags will exist for the whole set of supported version combinations that might exist. A scalaJS + multiScalaVersion sbt plugin is going to be pushing a lot of tags.

Not sure what you mean here. I'm proposing this mechanism for back publishing purpose only, which means that a normal tag like v1.2.3 is used to publish a build matrix combination, let's say on 2024-01-01, and later, on 2024-06-01, a new version of something comes out, like a new Scala 2.13 release, and ScalaMeta folks wants to publish semanticdb compiler plugin for 2.13.15. I don't think this would necessarily increase the number of tags more than today. It would just not create new numbers as much.

Branch off of v1.2.3 ...
Republish the subproject

OK, so the goal is not to handle each and every scenario only through the tag name. I think that's good, it would be way too open ended otherwise.
One could argue, if you have to create a branch with some patches for the backpublishing anyway, v1.2.3#someCommentToDrop would be enough. Bumping versions, selecting subprojects etc could be handled by the patch.
Branching is not needed to publish for a new Scala version, but that's only useful for fully cross-versioned projects, like compiler plugins.

The feature of dropping a #.* suffix on the tag is helpful though, as the plain tag already exists when backpublishing.
So maybe that basic feature, plus documentation how to narrow down the build to publish only specific artifacts, is enough?

The comment only route of the documentation would look like..
Case n: Publish some subprojects for Scala 3.x

Branch off of v1.2.3 to create release/1.2.3 branch, and send a PR to:
a. bump appropriate dependency (sbt, Scala Native etc)
b. Modify the CI_RELEASE environment variable to ;++3.x;foo/publishSigned. For GitHub Actions, it would be in .github/workflows/release.yml
Tag the branch to v1.2.3#some_unique_comment. For record keeping it would likely make sense to encode the version you're trying to back publishing for e.g. v1.2.3#native0.5_3

If some project wants to do that, they can do that, but I now you have to look at both the build and the YAML to understand what's going on, and the YAML is different for different CI systems (a committer may not even have access to change it, in case of Jenkins).

Thanks Eugene. In any case, this PR enables the comment-only workflow you describe. If the additional feature is helpful, then I guess why not? I'm not a maintainer here and I'm certainly not going to be in the way :)


Translate Existing Definitions to German

As a native german speaker I would volunteer to translate all of them :)
Just assign me to the issue.

@iamNoah1, please have a look at our new localization doc and, if possible, join our Glossary Working Group meeting on Thursday. You can find the meeting and add it to your calendar here.
We do require at least three volunteers per language. If it's only you, we can try to help recruit volunteers. In any case, let's discuss on Thursday.


Editing file over SSH with Cygwin's client - garbage shows up when scrolling

This issue is demonstrated by this .gifv: http://i.imgur.com/1zpieuP.gifv
It does not always happen, but scrolling (typically with Page Up/Page Down) will cause the text to become garbled (the effect is only visual). You can also notice the status bar acting up as well.
The end of the .gifv shows some editing with nano, which does not have this issue.
The server runs Ubuntu Server 14.04, host is Windows 10 with ConEmu terminal and Cygwin.

are you using screen or tmux? if not try and see if that fixes

I'm not experiencing this issue when I try. Is it still a problem for you?


Fails to parse JSON if feed contains NaN

It looks like fetching JSON feed which contains NaN value which is not a valid JSON token results in error.

That's is what should happen, JSON can't contain NaN values


Edit Org Profile- Account Information Bug

Steps to Reproduce:

Log into test account<EMAIL_ADDRESS>PW: Clarify123 on https://staging.fightpandemics.work/
2 Go to Masks for All organization
Click on pencil icon-->Account Information
Under "What are you looking for", one box should be checked. Check an additional box
Click on Save Changes
Refresh the page

Expected Behavior: Two boxes should be checked
Actual Behavior: Only the new checked box is checked

@rabbi08 - FYI logged this bug for Edit Org Profile


bug: state of sidebar should be by default false

On opening sidebar takes a chunk of space initially and almost everyone closes it, which I think is irritating
Therefore its state should be by default false so that on opening the app the sidebar should be minimized and upon clicking it opens

give it to me

give it to me

Already proposed a solution and opened the pull request 😁


Relax Copy bound for ArraySet

Only implement where the underlying type is Copy.

Can probably do the same for Clone.


Exporting the polyline drawing

Hi  ,
Thanks for the wonderful app. Was wondering if there is a method to export out the draw polyline or polygon coordinates on the leafmap itself ?
Tried several methods such as save_draw_features() etc to no avail.
Appreciate if there is an alternative approach or suggestion.
Thank you :)

Unfortunately, the answer is no. Folium does not support export draw features programmatically. The only way to export draw features is through the draw export plugin, but you need to click button manually. Ipyleaflet supports exporting features programmatically, but streamlit does not support ipyleaflet or ipywidgets.

Thank you very much the reply. Appreciate the tool you have built 😃


Deduplicate code and Update 1.2.2

Closes #23

LGTM

LGTM

It's not really resolve all the problems. @bkcsoft


Update params to include default_config_file for suse

Fails on SLES 11.3 without this line

This is fixed in the current master


Sort endpoints / group endpoints

I'm a happy user of Insomnia, but there's one thing which I believe Insomnia lacks.
When you have a growing list of endpoints for an API, it becomes harder and harder to locate a specific request. It is not possible to sort the list of endpoints. It's possible to drag and drop / arrange endpoints, but it's cumbersome when you have a long list of endpoints - and you need to make sure you arrange new endpoints correctly as well.
If I would be able to sort endpoints - and maybe also group endpoints (and label the groups) - then that would truly make it awesome!

Thanks for requesting this, there is an open issue with some conversation so I will close this as duplicate of https://github.com/Kong/insomnia/issues/2594.


ACM-4489 Remove cached client & disable secret caching

This PR addresses the consistent crashing of the application-manager controller by replacing the default cached client with a noncached client.
Addresses:

https://issues.redhat.com/browse/ACM-4489

/hold

/unhold

/lgtm


Can't implement multiple interfaces where each has same resolver function definition

Description:

In a scenario where multiple interfaces have the same function definition. If a class implements two or more interfaces. Then there will be an error saying "redeclared symbol".
Steps to reproduce:
Consider the following code
public type Info distinct service object {
    resource function get name() returns string;
};

public type ParentInfo distinct service object {
    resource function get name() returns string;
};

public type SiblingInfo distinct service object {
    resource function get name() returns string;
};

service class Student {
    *Info;
    *ParentInfo;
    *SiblingInfo;

    resource function get name() returns string {
        return "John";
    }
}

Affected Versions:
Tested on Ballerina 2201.4.0
OS, DB, other environment details and versions:
macOS
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This is a limitation in the Ballerina lang.
@hasithaa @MaryamZi any thoughts on this? Can't we allow the type inclusion here since all the included types have the same method signature?

This is a limitation in the Ballerina lang.
@hasithaa @MaryamZi any thoughts on this? Can't we allow the type inclusion here since all the included types have the same method signature?

I think we can allow this, created a spec issue (related to this in a way) anyway (https://github.com/ballerina-platform/ballerina-spec/issues/1230).


Display is cut off at the bottom

Is there a possibility to change the display position? Because since I flashed opendps the input voltage and wifi symbol a cut off at the bottom.

What kind of DPS are you running?

The 5005 with the newer connectors

I thought maybe some more information and a picture would be useful. I bought an "DPS5005 + USB + BT" kit two month ago. It has the new smaller connectors and includes a bluetooth and a wifi expansion module. As seen in the photo, the "CV" text is still displayed in full height but the intake voltage ist cut at the bottom. The same goes for the wifi symbol when it's displayed.

That's strange. If you dig some in the code you will find the coordinates for the offending widgets.

same issue here; all my newer (march 2022) modules have the display cut off.  I edited my pull of the source and raised things by about 4 or 8 units and that did the trick.  wonder if some main x,y offsets have changed with some clone^(n) version of the tft display?


Add a IP Address Tracker

Project title
IP Address Tracker
Project Description
I am a GSSOC Contributor and I would like to add an IP Address tracker which on entering a valid IP code will display Country's location , City and it's Country Code.
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

/assign


Figure out failing stable diffusion tests

System Info
Tests may only fail on Windows, only with CPU, or only for specific PyTorch versions.
Who can help?
Anyone.
Information

[x] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
Currently, the merging test for LoHa is being skipped:
https://github.com/huggingface/peft/blob/f0fb9516d8ebc4fed1bacaa11b789be023f003f8/tests/test_stablediffusion.py#L122-L124
Testing on Linux, the test passes with GPU and PyTorch 2.1, but fails on CPU.
Furthermore, the same test causes issues for OFT as well when using CPU:
https://github.com/huggingface/peft/pull/1160#issuecomment-1829890240
Expected behavior
Merging should work on CPU for LoHa and OFT.

I invested some hours but didn't find the exact point where it goes wrong but I can for sure say that it is only the text-encoder merging that does not produce correct results. The merging of the unet does not result in any differences in outputs.

Thanks for the info, this helps a lot.


libswoc: Clean up ts::MemSpan

This replaces ts::MemSpan with swoc::MemSpan. However, the changes are extensive because to do this it was also necessary to update the build to use libswoc for both includes and library.
This sets the stage for others to work on replacing the old versions with the newer ones in libswoc, as the build changes should not be required.

This should have been against 10-Dev, not master.


Where are April tags?

In this discussion here @StephenHodgson mentions that "the HoloToolkit also has april tags (QR codes) built into it." Where are the respective scripts and documentation for this? I know this is used by spectator view for pairing so it must be somewhere.
Mixed Reality Toolkit Release Version
2017.4.1

That was part of the https://github.com/Microsoft/MixedRealityToolkit, but was removed

@StephenHodgson how does the spectator view code scan on the phones now, or has that been removed?

Pretty sure it just uses the built in platform support for barcode reading

Is there an API for that?

Yup! https://docs.microsoft.com/en-us/uwp/api/windows.devices.pointofservice.barcodescanner

Let me see what the HTK does to get this info.

Nope, they're using open CV. Check out the preview package with Spectator View.
[MarkerDetector](https://github.com/Microsoft/MixedRealityToolkit-
Unity/blob/master/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerDetector.cs)
MarkerDetectionHololens.cs

Awesome. Will do! Danke.

@lordlycastle are you still blocked on this issue?


Implement Checkout Order API

Create an API endpoint that receives a list of products and returns the order ID.

graph LR
  subgraph UI
    A[User Interface] --> B[Controller]
  end

  subgraph Controller
    B --> C[Use Case]
  end

  subgraph Use Case
    C --> D[Product Repository]
    C --> E[Order Service]
  end

  subgraph Domain
    D --> F[Product]
    E --> G[Order]
  end

  subgraph Persistence
    D --> H[Product Database]
    E --> I[Order Database]
  end

  subgraph Output
    E --> J[Order ID]
  end

  A --> B
  B --> C
  C --> D
  C --> E
  E --> J

  style D fill:#f9f,stroke:#333,stroke-width:2px
  style E fill:#f9f,stroke:#333,stroke-width:2px
  style H fill:#f9f,stroke:#333,stroke-width:2px
  style I fill:#f9f,stroke:#333,stroke-width:2px

Explanation:

UI: Represents the user interface, which sends a request with a list of products.
Controller: Receives the request from the UI and calls the corresponding use case.
Use Case: Orchestrates the logic for creating an order, including:

Fetching product information from the product repository.
Creating an order using the order service.

Product Repository: Interfaces with the database to retrieve product information.
Order Service: Responsible for creating the order and generating the order ID.
Product: Represents a product entity.
Order: Represents an order entity.
Product Database: Stores product data.
Order Database: Stores order data.
Order ID: The output of the API endpoint, representing the unique identifier of the created order.

Key Points of Clean Architecture:

Dependency Inversion: The use case depends on abstractions (repositories and services) rather than concrete implementations.
Separation of Concerns: Each layer has a specific responsibility, keeping the codebase organized and maintainable.
Testability: The separation of layers allows for easier unit testing of individual components.
Flexibility: The architecture is flexible and can be adapted to changing requirements.

This diagram illustrates a simplified representation of the flow for an API endpoint using clean architecture. The specific implementation details may vary depending on the chosen framework and technologies.


refactor: replace jwt-go dependency

https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515
github.com/dgrijalva/jwt-go has a high severity vulnerability. This package is no longer maintained so we need to upgrade.
Verification
The new module is the exact same - so to verify you should be able to log in.

rhoas login. rhoas logout? Anything else to test?

rhoas login. rhoas logout? Anything else to test?

I see that this is used in the Kubernetes interace for creating a secret: https://github.com/redhat-developer/app-services-cli/blob/8cb272c006793626d6f230dc5a128aaef8f5ea5f/pkg/cluster/kubernetes_cluster.go#L244
But that just checks if the JWT can be parsed - it does not seem to use it. Since we have no cluster to test this I added this to the whoami command to verify it works.


Cw22 add supported interface

Implement #842

Hi, since this is a new package, I think we could add more functionalities into it.
For example, instead of a simple Vec, we could use a Map

Hi @eledra89  @uint @ThienLK1. Since this is a new package, I think we could add more functionalities.
For example, instead of a Vec stored in a Item, we could use Map which map an interface_name to a version:
const SUPPORTED_INTERFACES: Map<&str, &str> = Map::new("supported_interfaces");
With that, we can support smart query like check_supported_interface(interface, version) which would make using this much more convenient.

also cc @shanev per our discussion on Twitter. Can't cc Larry here though

Hi @eledra89 @uint @ThienLK1. Since this is a new package, I think we could add more functionalities. For example, instead of a Vec stored in a Item, we could use Map which map an interface_name to a version: const SUPPORTED_INTERFACES: Map<&str, &str> = Map::new("supported_interfaces"); With that, we can support smart query like check_supported_interface(interface, version) which would make using this much more convenient.

@peara  I just merge a new pull request, add more function to define and check version of supported interfaces, please take a look!

@uint @ethanfrey , we added cw22: supported interface with additional support for version checking.

Nice. I took a quick look over the comments and agree with the direction.
Using a separate independent interface, as well as using a Map for easier checks.
I want to say that one nice part of cw2 is that it has a well-defined storage structure, so you can do "raw queries" against it if needed. Making the storage layout part of this spec also sounds like a good idea. Sure, we can do smart queries, but that depends on a higher-level API and is less efficient. A well defined storage layer allows efficient raw queries with no more code on the queried contract.
We also have helpers for this, a calling contract can do something like:
let version = SUPPORTED_INTERFACES.query(contract_addr, "crates.io:cw20")?;
I will go through briefly on the code, but this is my high-level input.

oh wow this is super detail @ethanfrey, we are kind of new to Rust & CosmWasm so this is very helpful in the long term !

Would love to get this merged in @eledra89 if you get a chance to resolve the PR comments.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: eledra89:white_check_mark: ThienLK1:x: pearaYou have signed the CLA already but the status is still pending? Let us recheck it.

@hashedone I have updated with Cow.
I'd like to add some examples of QueryRaw like in cw4 but haven't been able to finished.
I also want to add this to cw20-base as well.
So maybe in a follow up PR, I will add this to cw20-base and add some QueryRaw examples as test there.

Sorry for the annoying nitpicking here. We struggle with documentation quality, and we don't want to introduce any more dept in this area.
@hashedone No problem, I actually forgot that, would have hate it myself.


Unable to use Fabrication API in CADmep

I am trying to use Addin Manager with the CADmep API. I receive an error Exception has been thrown by the target of an invocation. when running any methods that use the Fabrication API dll.
Running in the debugger, I found that the error comes from AddinManagerBase.cs, line 103. Activator.CreateInstance() throws an exception System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'
There are two inner exceptions.

FileLoadException: Could not load file or assembly 'FabricationAPI, Version=2<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

and
ArgumentException: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at CadAddinManager.Model.AssemLoader.SearchAssemblyFileInTempFolder(String assemName)

I noticed that FabricationAPI.dll is not copied to the running location.

I wonder if this has anything to do with Addin Manager not checking for FabricationAPI.dll or accore.dll in the assembly loader.
Desktop

OS: Windows 10
CadAddinManager version: 1.0.7 release
AutoCAD version: 2020
CADmep version: 2020

To Reproduce

Create new Class Library
Add references to acmdg.dll, accoremgd.dll, acdbmgd.dll (AutoCAD folder), and FabricationAPI.dll
Paste in the example C# code
Run Class1.Execute from Addin Manager
Get error Exception has been thrown by the target of an invocation.
Profit

using Autodesk.AutoCAD.Runtime;

namespace FabricationAddin
{
    public class FabricationInteractions
    {
        [CommandMethod("DoFabricationThing")]
        public void Execute()
        {
            var m = Autodesk.Fabrication.DB.Database.Materials;
        }
    }
}

Thanks @onomou reported, at the moment when i do with this product, i only think to core product autocad and civil, CADmep is not include in my target , so i think this is not a bug, i will think about improvement product to support CADmep.

I see what you are saying, not really a bug. What about adding the ability to copy additional DLL files with the specified one? In the Revit Addin Manager, it gives the option to copy the whole folder. I think the AutoCAD Addin Manager loading code is nearly the same, but I never get the option to copy the whole folder, even if it is over the limit (I think 50MB). The program appears to only copy my DLL without any dependencies to the running folder (screenshot in the original post).

Correct , because FabricationAPI.dll is defaut of cadmep, and it will automatic load assembly this when you open CADmep, we don't need add it like acdbmgd, but with CADmep.CADmep working like a submodule of autocad, so need a other way to can execute same with process if you want use visual studio to debug it.


b2: on cleanup delete hide marker it is the current file

If we don't do that then we get left with the hide markers which show in the web interface.
$ mkdir /tmp/cleanup-test
$ echo one > /tmp/cleanup-test/file1.txt
$ rclone -q sync /tmp/cleanup-test b2:cleanup-test
$ rclone --b2-versions -q ls b2:cleanup-test
4 file1.txt
$ rm /tmp/cleanup-test/file1.txt
$ rclone -q sync /tmp/cleanup-test b2:cleanup-test
$ rclone --b2-versions -q ls b2:cleanup-test
4 file1-v2016-08-02-133808-000.txt
$ rclone -v cleanup b2:cleanup-test
2016/08/02 14:39:08 file1.txt: Not deleting current version (id "4_z9f821d93605dab7b5f580e1b_f106f5a6bb6795c41_d20160802_m133842_c001_v0001031_t0029") "hide"
2016/08/02 14:39:08 file1.txt: Deleting (id "4_z9f821d93605dab7b5f580e1b_f106823c0648d1986_d20160802_m133808_c001_v0001008_t0000")
$ rclone --b2-versions -q ls b2:cleanup-test
$

However if I look in the b2 interface I can see that it says "file1.txt (hidden)"
So on cleanup we need to delete the current file if it is in status hide too.

I just came here to report this bug, only to find you are already ahead of me!  Looking forward to the fix in v1.33. Thanks

This is fixed now it will be in the v1.33 release
Here is a beta with the fix: http://pub.rclone.org/v1.32-22-gb4f2adaβ/


Wiki is empty, what is this? Why do I want it?

The Wiki is empty, the Modrinth page doesn't have a list of features, and I only see a list of 6 features listed on this Github, which doesn't seem to match the implication that there are a ton of fixes.  What is this software?  Why do I want it?
I came across your modrinth pages while looking for beacon mods, and decided to see what a purpurpack was all about, which led me here.
I don't use Discord because Discord refuses to let me use my account, for over 10 years.  Therefore, I have no idea what Discord is all about.

The Wiki is empty

it doesn't need a wiki. everything is outlined in the README.md

the Modrinth page doesn't have a list of features

yes it does. it's a direct copy of the GitHub README.md

only see a list of 6 features listed on this Github

correct

the implication that there are a ton of fixes

at no point does it imply "a ton". we clearly state "various" a few times, which means "more than one; several".

What is this software? Why do I want it?

"a Fabric client mod that aims to fix various client-side bugs in the game. A lot of these bugfixes end up in the vanilla game eventually, but for those who can't wait, this mod is for you."


Add PricingAdjustmentService

this still seems to be missing the updateCart call (where the price is stored that the user will be charged?)


chore: 🤖 update README

Description

Type of change

[ ]  Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] This is something we need to do.

awesome!! @theashraf


CopyFilesOverSSH: not honoring overwrite eq false

Required Information
Type: Bug
Task Name: CopyFilesOverSSH
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/CopyFilesOverSSHV0
Environment

Server - Azure Pipelines
Agent - Hosted

Image: windows-latest

Issue Description
We have a pipeline with a Windows based agent that goes through promotion requests and linked tasks, downloads attached files, deploys them to our servers and then copies them to a Linux SFTP server. The problem is that we have configured our SCP task to not overwrite the files, but it keeps overwriting them.
The task is configured as the following:
Task
    - task: CopyFilesOverSSH@0
      displayName: 'Upload deployment files'
      inputs:
        sshEndpoint: 'custom-automation-sftp-connection'
        sourceFolder: '$(Build.SourcesDirectory)/$(Build.Repository.Name)/AutomationBuild/SFTP'
        contents: '**'
        targetFolder: '/home/user/data/Bundles/'
        cleanTargetFolder: false
        overwrite: false

Unfortunately, I can't post screenshots due to sensitive information. But after enabling debug on the pipeline I can see that it looks for the files, and even though they are there, it doesn't see them... hence why it's overwriting the files.
I think that there might be a chance that the task is not converting back slashes to forward slashes when checking for the files (but it does when copying them).
Task logs
File listing on the Linux server showing modified timestamp for 2 consecutive runs:

Here you can see more clear the use of back slashes and forward slashes:
##[debug]Checking if /home/user/data/Bundles/PD\20220607\####\1_####_S2_Create user ID-####.sql on the remote machine exists.
##[debug]/home/user/data/Bundles/PD\20220607\####\1_####_S2_Create user ID-####.sql doesn't exist on the remote machine
##[debug]Upload D:\a\1\s\#### Bundle Repository\AutomationBuild\SFTP\PD\20220607\####\1_####_S2_Create user ID-####.sql to /home/user/data/Bundles/PD/20220607/####/1_####_S2_Create user ID-####.sql on remote machine.

I am still waiting on a review from the developers.


Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

Appears not to work with Xcode 14.3 command line tools.

@GitHubStuff,
Would you like to add the code below to Podfile?
      target.build_configurations.each do |config|
      # https://developer.apple.com/forums/thread/725300
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
      end

@yutae this work for me! thank you

Me too after update Flutter 3.10

@GitHubStuff, Would you like to add the code below to Podfile?
      target.build_configurations.each do |config|
      # https://developer.apple.com/forums/thread/725300
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
      end

yes this solution worked for me also


Add NavData plugin

What does this PR introduce?
NavData plugin (connected with Directus) that will be used by new DevPortal UI.
Improtant: This PR requires updating the following repository secrets: DIRECTUS_URL, DIRECTUS_GRAPHQL_URL, DIRECTUS_TOKEN, SITE_URL, ALGOLIA_SITE_APP_ID, ALGOLIA_SITE_API_KEY, ALGOLIA_SITE_INDEX_NAME, BASE_URL.
Additional context
For easier review PR from MiracleDevs is split into 2. This is the first half with plugin, the other one will contain components/theme.
Checklist

[x] Docs are successfully building - yarn install && yarn run build.
[x] All technical procedures have been tested.

Note: navdata_plugin.patch should not be part of this PR.


investigate downcast type safety

Following scenarios need investigating:

[ ] explicit downcast as in foo as Derived (or <Derived>foo)
[ ] implicit downcast due to bivariant function types: TS FAQ
[ ] covariant arrays
[ ] indexing types without explicit indexer

I think we could introduce some runtime checks for the above - upon explicit casting, entry into a lambda function, and upon assigning to arrays.
We cannot really support union types (there is currently no way to distinguish at runtime between a number and a reference for example). Intersection types are I think only compile-time feature.

CC @tballmsft

forget about union/intersection types, say I.

New type checker disallows downcasts, bivariance. Closing for now


Allow to specify confidence score

Moved here from discussion in #4

Another thing which comes to mind. Is there a confidence for the prediction? Because if that one is very low I would rather not have a prediction.

Good point. The decorator could accept a parameter through which users can set a threshold.
The SVM classifier in scikit-learn can calculate probabilities, compare How to get a classifier's confidence score for a prediction in sklearn? on stackoverflow. I don't know how much this will slow down the pipeline.fit method, but I would not worry too much about it.

Did quite some testing about this, see #25 but with SVM classifier the probabilities are not 100% identical with the prediction and I'm getting strange results, parking this for now

Note: If another classifier instead of SVM produces better results, we can of course switch. SVM was just an educated guess.

@tarioch Shall we close this ticket? I am not sure how a more accurate confidence score would help in practice. What do you think?


Fix capability type encoding in CDDL

Fix capability-type encoding in CDDL by changing it from array to single data item.
Closes #23

Merging this now because I have more changes pending before today's meeting to present and discuss updated CCF specs with team.


Making packages required for ContentModerator clearer

Only the Microsoft.Azure.CognitiveServices.ContentModerator package is required for the client to work. The other two listed packages are automatically installed as its dependencies.
On the other hand, I have added the equivalent command to install the package using dotnet add package

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

#sign-off

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


Raspberry Pi WebServer does not function w/o hard access point

[ ] Flask WebServer fails without an internet connection -- why?
[ ] Logo is not rendered as it is hosted on Github

Not an issue with running Ubuntu, we can have it act as a bridge between the network and the user


[Quest/eCBIS] - On HouseHold List Error -> patient DOB cannot not be null

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. Samsung Galaxy A2 emulator]
Android version: [e.g. Settings -> About phone -> Android version]
Build number: [e.g. Settings -> About phone -> Build number]
Version [e.g. 24]

Additional context
Add any other context about the problem here.
Screenshot

App currently failing to syn new data presumably due to this issue CC @NaveenZehra11 @shoaibmushtaq25 @maimoonak

This issue could be an issue with the StrucutreMap and the way we are computing patient age when you select age unknown. The approximate DOB should be computed from the approximate age input filed.

I am not able to generate null dob by any means width current form. The data might have been entered from somewhere else.
The issue have been fixed in Family Register / Details / Profile only. It would show N/A occur on other registers like ANC/HIV/Appointment as patient age is displayed in list there. Ideally it should be controlled by data entry points i.e. forms. Fixed in PR above

what this rule is supposed to do in family member registration? Maybe we can simplify it.
       src.item as calculate_new_date_today -> evaluate(src, today() - 15 'years') as new_date then {
           calculate_new_date_today as patient_date_of_birth where(linkId = 'cd8e3d6d-e9ff-458d-d122-57070bebffaf' and answer.value.count() > 0) then {
               patient_date_of_birth.answer first as patient_date_of_birth_answer then {
                    patient_date_of_birth_answer.value as patient_date_of_birth_answer_value then {
                        patient_date_of_birth_answer_value as patient_age_compare_with_today where(patient_date_of_birth_answer_value <= new_date) then {
                            src.item as head_of_household_check where(linkId ='1e1a206f-1cc2-4e48-8103-b26bf4bd7c3c' and answer.value.code = 'yes') then {
                                head_of_household_check -> bundle.entry as entry, entry.resource = create('RelatedPerson') as relatedPerson then {
                                    src then ExtractRelatedPerson(patient, relatedPerson) "rule_related_person_reference";
                                } "rule_related_person_creation";
                            } "household_head_trigger_check";
                        } "rule_patient_age_compare_with_today";
                    } "rule_patient_date_of_birth_answer_value";
               } "rule_patient_date_of_birth_answer";
           } "rule_patient_date_of_birth";
       } "rule_calculate_new_date_today";

this issue is not replicating on latest apk
cc @maimoonak @f-odhiambo

this issue is not replicating on latest apk
cc @maimoonak @f-odhiambo


Swiper vertical css class error

Check that this is really a bug

[X] I confirm

Reproduction link
https://ms3.ms3dev.it/
Bug description
Swiper direction vertical sets the swiper class to .swiper-verical not .swiper-vertical
Expected Behavior
No response
Actual Behavior
No response
Swiper version
7.3.0
Platform/Target and Browser Versions
macOS chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

verical is what you passed to params on your side


Content Builder Failure

I'm using Monogame.Aseprite <IP_ADDRESS> and the the latest current Monogame packages (<IP_ADDRESS>1).
After adding the reference to the Monogame.Aseprite.ContentPipeline.dll in the content builder, I get an error when building stating:
Couldn't find a default importer for
'/build=/build/=reference../../../../Users/ME/=nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandar2.0/Monogage.Aseprite.ContentPipeline.dll'!
If I then add an aseprite file by adding an existing item in MGCB, I can assign the asprite importer and processor but the build fails with the same message and
"Failed to create importer 'AsepriteDocumentImporter'
on the imported aseprite file.
Workaround:
Edit the Content.mgcb file directly and remove the lines:
#begin /build=/reference:..\..\..\..\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll
/importer:
/processor:
/build=/build=/reference:..\..\..\..\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll

and change relative path:
/reference:..\..\..\..\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll
to and absolute path:
/reference:C:\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll

@padesso So, i just tried this with fresh installs in both Visual Studio 2019 and Visual Studio Code using the .NET CLI to create the new project and install packages.  For both, I was not able to produce the same error.
This is what the Content.mgcb file looked like each time.

#----------------------------- Global Properties ----------------------------#

/outputDir:bin/$(Platform)
/intermediateDir:obj/$(Platform)
/platform:DesktopGL
/config:
/profile:Reach
/compress:False

#-------------------------------- References --------------------------------#

/reference:..\..\..\..\..\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll

#---------------------------------- Content ---------------------------------#

#begin adventurer.aseprite
/importer:AsepriteDocumentImporter
/processor:AsepriteDocumentProcessor
/processorParam:SheetType=Packed
/processorParam:MergeDuplicateFrames=True
/processorParam:IgnoreEmptyFrames=True
/processorParam:OnlyVisibleLayers=True
/processorParam:BorderPadding=0
/processorParam:Spacing=0
/processorParam:InnerPadding=0
/build:adventurer.aseprite

Could you provide me with the following info?

Operating System
Visual Studio or Visual Studio Code
Full Content.mgcb content when the error is happening.

I'm suspecting this may have something to do with the MGCB Editor and how it resolves the reference when adding it.

@padesso So, i just tried this with fresh installs in both Visual Studio 2019 and Visual Studio Code using the .NET CLI to create the new project and install packages.  For both, I was not able to produce the same error.
This is what the Content.mgcb file looked like each time.

#----------------------------- Global Properties ----------------------------#

/outputDir:bin/$(Platform)
/intermediateDir:obj/$(Platform)
/platform:DesktopGL
/config:
/profile:Reach
/compress:False

#-------------------------------- References --------------------------------#

/reference:..\..\..\..\..\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll

#---------------------------------- Content ---------------------------------#

#begin adventurer.aseprite
/importer:AsepriteDocumentImporter
/processor:AsepriteDocumentProcessor
/processorParam:SheetType=Packed
/processorParam:MergeDuplicateFrames=True
/processorParam:IgnoreEmptyFrames=True
/processorParam:OnlyVisibleLayers=True
/processorParam:BorderPadding=0
/processorParam:Spacing=0
/processorParam:InnerPadding=0
/build:adventurer.aseprite

Could you provide me with the following info?

Operating System
Visual Studio or Visual Studio Code
Full Content.mgcb content when the error is happening.

I'm suspecting this may have something to do with the MGCB Editor and how it resolves the reference when adding it.

I'm using Windows 10 Pro, Version 20H2, OS Build:<PHONE_NUMBER>57.  Visual Studio 2019 Community, Version 16.8.3.
Full Content MGCB when I get the error:
#----------------------------- Global Properties ----------------------------#

/outputDir:bin/$(Platform)
/intermediateDir:obj/$(Platform)
/platform:Windows
/config:
/profile:Reach
/compress:False

#-------------------------------- References --------------------------------#

/reference:..\..\..\..\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll

#---------------------------------- Content ---------------------------------#

Steps to reproduce:
Create a new Cross Platform Desktop DirectX Monogame project in Visual Studio.
Add MonoGame.Aseprite nuget package
Open MGCB
Add reference to MonoGame.Aseprite.ContentPipeline.dll
Build
Error in MGCB:
Couldn't find a default importer for '/build=/build/=reference../../../../Users/ME/=nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandar2.0/Monogage.Aseprite.ContentPipeline.dll'!
Error in VS:
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3073	The command "dotnet C:\Users\ME\.nuget\packages\monogame.content.builder.task\<IP_ADDRESS>1\build\\..\tools\netcoreapp3.1\any\mgcb.dll /quiet /@:"C:\Dev\AsepriteErrorDemo\AsepriteErrorDemo\Content\Content.mgcb" /platform:Windows /outputDir:"C:/Dev/AsepriteErrorDemo/AsepriteErrorDemo/Content/bin/Windows/Content" /intermediateDir:"C:/Dev/AsepriteErrorDemo/AsepriteErrorDemo/Content/obj/Windows/Content" /workingDir:"C:/Dev/AsepriteErrorDemo/AsepriteErrorDemo/Content/"" exited with code 1.	AsepriteErrorDemo	C:\Users\ME\.nuget\packages\monogame.content.builder.task\<IP_ADDRESS>1\build\MonoGame.Content.Builder.Task.targets	138

I'm using Windows 10 Pro, Version 20H2, OS Build:<PHONE_NUMBER>57.  Visual Studio 2019 Community, Version 16.8.3.
Full Content MGCB when I get the error:
#----------------------------- Global Properties ----------------------------#

/outputDir:bin/$(Platform)
/intermediateDir:obj/$(Platform)
/platform:Windows
/config:
/profile:Reach
/compress:False

#-------------------------------- References --------------------------------#

/reference:..\..\..\..\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll

#---------------------------------- Content ---------------------------------#

Steps to reproduce:
Create a new Cross Platform Desktop DirectX Monogame project in Visual Studio.
Add MonoGame.Aseprite nuget package
Open MGCB
Add reference to MonoGame.Aseprite.ContentPipeline.dll
Build
Error in MGCB:
Couldn't find a default importer for '/build=/build/=reference../../../../Users/ME/=nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandar2.0/Monogage.Aseprite.ContentPipeline.dll'!
Error in VS:
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3073	The command "dotnet C:\Users\ME\.nuget\packages\monogame.content.builder.task\<IP_ADDRESS>1\build\\..\tools\netcoreapp3.1\any\mgcb.dll /quiet /@:"C:\Dev\AsepriteErrorDemo\AsepriteErrorDemo\Content\Content.mgcb" /platform:Windows /outputDir:"C:/Dev/AsepriteErrorDemo/AsepriteErrorDemo/Content/bin/Windows/Content" /intermediateDir:"C:/Dev/AsepriteErrorDemo/AsepriteErrorDemo/Content/obj/Windows/Content" /workingDir:"C:/Dev/AsepriteErrorDemo/AsepriteErrorDemo/Content/"" exited with code 1.	AsepriteErrorDemo	C:\Users\ME\.nuget\packages\monogame.content.builder.task\<IP_ADDRESS>1\build\MonoGame.Content.Builder.Task.targets	138

@padesso What is the version number of the MBCB Editor?  You can get it by opening the MGBC Editor and going to Help > About

@padesso What is the version number of the MBCB Editor?  You can get it by opening the MGBC Editor and going to Help > About

mgcb-editor-wpf <IP_ADDRESS>1

mgcb-editor-wpf <IP_ADDRESS>1

Thanks for the info.  That's the newest version, everything seems to be in order.
I'm unable to reproduce the issue on my end. For some reason though it seems MGCB isn't resolving the reference path correctly or something for you.  I'm going to do some research on this.

Thanks for the info.  That's the newest version, everything seems to be in order.
I'm unable to reproduce the issue on my end. For some reason though it seems MGCB isn't resolving the reference path correctly or something for you.  I'm going to do some research on this.

@padesso Sorry to ask for more info, but can you provide me with the following:

Full path to the MonoGame.Aseprite.ContentPipeline.dll
Full path to the Content.mgcb file for the project showing the error.

feel free to change the username in the path to something like [user] for privacy.
Also could you try and build the content from the command line and post the output here.  You can do this by opening a command prompt in the directory of the Content.mgcb file and performing the following:
mgcb ./Content.mgcb
This will require you to have the tool instead through the .NET CLI. If you don't have that you can install it with the following command
dotnet tool install -g dotnet-mgcb

@padesso Sorry to ask for more info, but can you provide me with the following:

Full path to the MonoGame.Aseprite.ContentPipeline.dll
Full path to the Content.mgcb file for the project showing the error.

feel free to change the username in the path to something like [user] for privacy.
Also could you try and build the content from the command line and post the output here.  You can do this by opening a command prompt in the directory of the Content.mgcb file and performing the following:
mgcb ./Content.mgcb
This will require you to have the tool instead through the .NET CLI. If you don't have that you can install it with the following command
dotnet tool install -g dotnet-mgcb

Full path to dll: C:\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll
Full path to Content.mgcb:
C:\Dev\AsepriteErrorDemo\AsepriteErrorDemo\Content
I already had the tool installed and when run from command line, I get:
Build started 1/11/2021 8:24:45 AM

/build=/build=/reference:../../../../Users/ME/.nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandard2.0/MonoGame.Aseprite.ContentPipeline.dll: error: Couldn't find a default importer for '/build=/build=/reference:../../../../Users/ME/.nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandard2.0/MonoGame.Aseprite.ContentPipeline.dll'!

Build 0 succeeded, 1 failed.

Time elapsed 00:00:00.09.

Full path to dll: C:\Users\ME\.nuget\packages\monogame.aseprite\<IP_ADDRESS>\contentFiles\netstandard2.0\MonoGame.Aseprite.ContentPipeline.dll
Full path to Content.mgcb:
C:\Dev\AsepriteErrorDemo\AsepriteErrorDemo\Content
I already had the tool installed and when run from command line, I get:
Build started 1/11/2021 8:24:45 AM

/build=/build=/reference:../../../../Users/ME/.nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandard2.0/MonoGame.Aseprite.ContentPipeline.dll: error: Couldn't find a default importer for '/build=/build=/reference:../../../../Users/ME/.nuget/packages/monogame.aseprite/<IP_ADDRESS>/contentFiles/netstandard2.0/MonoGame.Aseprite.ContentPipeline.dll'!

Build 0 succeeded, 1 failed.

Time elapsed 00:00:00.09.

Did some testing, and I think it's because you're project is rooted in the C:\ directory and not past the users directory like C:\Users\[username]\Dev
I think the MGCB is having trouble with the relative link at that point, which would be out of my control.  I'll do some more testing in a bit and if my findings are correct, I'll open an issue on the MonoGame github.  Need to download the develop branch first and test there to see if they have already resolved this for a future release first.

Did some testing, and I think it's because you're project is rooted in the C:\ directory and not past the users directory like C:\Users\[username]\Dev
I think the MGCB is having trouble with the relative link at that point, which would be out of my control.  I'll do some more testing in a bit and if my findings are correct, I'll open an issue on the MonoGame github.  Need to download the develop branch first and test there to see if they have already resolved this for a future release first.

I can confirm that if I create the monogame project in the c:\users\ME\source\repos directory, the references get added and compile without error.

I can confirm that if I create the monogame project in the c:\users\ME\source\repos directory, the references get added and compile without error.

I've opened an issue on the MonoGame GitHub.  It does look like it won't resolve the relative path properly if it's not behind the C:\users\[username]\ directory at least. Since this doesn't appear at this time to be related any issue caused by the MonoGame.Aseprite project, I'm going to close the issue for now. If new information comes up from the MonoGame issue i created that points back here, I'll reopen this issue at that time.
For now, if you need to created your projects from the C:\ root directory, the following workarounds should work

Edit the Content.mgcb file directly and change the reference to an absolute path to the dll

or

Copy the dll file directly into the project or content folder and reference it from there.

I've opened an issue on the MonoGame GitHub.  It does look like it won't resolve the relative path properly if it's not behind the C:\users\[username]\ directory at least. Since this doesn't appear at this time to be related any issue caused by the MonoGame.Aseprite project, I'm going to close the issue for now. If new information comes up from the MonoGame issue i created that points back here, I'll reopen this issue at that time.
For now, if you need to created your projects from the C:\ root directory, the following workarounds should work

Edit the Content.mgcb file directly and change the reference to an absolute path to the dll

or

Copy the dll file directly into the project or content folder and reference it from there.


Add multipathd image

This image was missing from OpenStackVersion.
Depends-On: https://github.com/openstack-k8s-operators/dataplane-operator/pull/813
Signed-off-by: James Slagle<EMAIL_ADDRESS>

Would be good to add the RELATED_IMAGE var for this to hack/export_related_images.sh and then expand the unit test coverage in openstackversion_controller_test.go to ensure the new var is getting set

Would be good to add the RELATED_IMAGE var for this to hack/export_related_images.sh and then expand the unit test coverage in openstackversion_controller_test.go to ensure the new var is getting set

both those are addressed. I'll leave this as draft until the dataplane-operator PR merges

recheck

Given the inconsistency in the EDPM image env var names, this still wasn't working. Fixing those names here: https://github.com/openstack-k8s-operators/dataplane-operator/pull/813
Then this one can be updated again.

Given the inconsistency in the EDPM image env var names, this still wasn't working. Fixing those names here: openstack-k8s-operators/dataplane-operator#813 Then this one can be updated again.

That's now merged. This should be ready for review again.

/test openstack-operator-build-deploy-kuttl

/test openstack-operator-build-deploy-kuttl

/lgtm

/retest
could not run steps: step ansibleee-operator-build-deploy-kuttl failed: failed to wait for the created cluster claim to become ready: timed out waiting for the condition

/retest

/retest


api.editMessage

where is api object stored at? i wanna add goatbot editMessage

@RFS-ADRENO

never mind that i found it. now i have a problem,  api.editMessage() does not work.

I believe I already added that api...

I believe I've already added that API...

it only works if i add global. like global.api.editMessage()

I believe I've already added that API...

it only works if i add global. like global.api.editMessage()

then its working bro, its not about api but how the bot designed


[FEEDBACK] Instructions for using Edit Config for adding Widgets

I struggled with adding the SABnzbd last night but finally figured it out and thought I would document my process in case you wanted to share it with the community.  I'm sure you developer types have easier ways to manage your configs but us mere mortals have to do it the hard way (I'm not complaining, I'm actually really grateful I was able to do this at all).  I hope you find this contribution helpful.
-David
Instructions for using Edit Config for adding Widgets

Go to Config -> Update Configuration -> Edit Config

Expand the section you want to add the widget(s) to ("Testing Widgets" in this case); if you want to use a new section add that via the GUI first

Click on the Edit button for the section’s name and select Insert -> Array; You will see 2 new rows were added: “field” in a box with “[0]” next to it and “(empty array)”

Type “widgets” into the newly created field

Click on the Edit button for the newly created “empty object” and select Append -> Object; You will see 1 new row added with "(empty array)".

Click on the Edit button for the newly created “empty object” and select Append -> Auto; See new row with field box and value box.

Enter “type” into the field box and enter the name of the widget into the value box.

Click on the Edit button for the “type” row and select either Append -> Object (for value fields required by the widget) or Append -> Auto (for boolean fields required by the widget)

Don't forget to hit the Save Changes button and then the Save to Disk button (or whatever save mechanism you prefer) so you don't lose your work.

You can add additional widgets by repeating steps 5-8.

You can add an additional widget block by repeating steps 3-8.

You can drag the widget and items (buttons) around into water order you want.

You can drag the name row above the widget row for neatness

Thanks @poke0 for the nice guide :)
I'm gonna transfer it to the discussions section....
Just to add, a much easier way of editing config, is to work with your config file directly.
Using a tool like Code-Server, makes this even easier.

Or, using the UI JSON editor, you can also switch to code mode, and quickly copy/pasta stuff in.
YAML and JSON follow the same structure, if you're not so familiar you can just use this tool to convert between the two.


[stable/prometheus-operator] Prevent creating empty PrometheusRules.

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.
No

What this PR does / why we need it:
Prevent empty PrometheusRules that will fail a release.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

I like that solution,
I have almost pushed different solution https://github.com/den-is/charts/commit/53c4bab604624761a09bce0c20dd3524286398ca
But that PR looks like more programmatic...
That issue has discovered one more possible bug.
What if user has apiserver and kubelet disabled too?
kubeApiServer:
  enabled: false
kubelet:
  enabled: false

currently it disables only "Down" rules in each group, but creates other rules which won't be healthy

/ok-to-test
@tiagomeireles  thanks for your contribution!
Looks like Chart.yaml needs an update

/assign @vsliouniaev

@tiagomeireles looks like you just missed another PR merge. Could you please do another bump?

@vsliouniaev I rebased on master. Waiting for CI to pass 🤞.

/lgtm
Thanks!


schedules do not work

Hello,
on my QNAP NAS I have installed in the Container Station "marthoc/deconz". It is up and running. I can add Lights onto the app, am able to control the Lights, have set different scenes and actions (alarms). But unfortunately my schedules (call scene - set lights on at specific time / set light off at another specifiy time) do not work.
I am not sure if this issue is due to the following strange messages i n the log !?
In the log of the running container I get the following infos in a continous loop:
CTRL got nwk update id 0
18:13:50:345 Device TTL 1620 s flags: 0x7
18:13:51:321 apsUseExtPanid is 0xDDDDDDDDDDDDDDDD but should be 0, start reconfiguration
18:13:51:321 Skip automatic channel change, TODO warn user
18:13:52:821 send permit join, duration: 0
18:14:01:321 apsUseExtPanid is 0xDDDDDDDDDDDDDDDD but should be 0, start reconfiguration
18:14:01:321 Skip automatic channel change, TODO warn user
18:14:11:321 apsUseExtPanid is 0xDDDDDDDDDDDDDDDD but should be 0, start reconfiguration
18:14:11:321 Skip automatic channel change, TODO warn user
How do I change apsUseExtPanid to 0 in my container ????
Thank you very much for any help.

This seems to be a issue unrelated to Docker. If it's still valid, please open one here: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/new/choose


Unwanted blank lines in PowerShell output in VSCode

Describe the bug
Output of the PowerShell cell contains a blank line after every line of the output. Please, fix the formatting of the output.
Please complete the following:
Which version of .NET Interactive are you using?

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[x] Visual Studio Code
[ ] Other (please specify)

Screenshots
If applicable, add screenshots to help explain your problem.

@TylerLeonhardt Do you know why this happens by any chance?

I feel like this is a formatting thing more than a PowerShell specific thing...
Like in a C#
Console.WriteLine(1);
Console.WriteLine(2);
Console.WriteLine(3);

you get the same thing.

.NET PowerShell kernel in Azure Data Studio behaves the same and outputs those extra blank lines.
At the same time, "old" PowerShell kernel's output is fine.
.NET PowerShell kernel

PowerShell kernel

It looks like this is because each write to the console is a separate display event.
@rebornix, thoughts?

@jonsequitur, @alexandair's example is in Azure Data Studio https://github.com/dotnet/interactive/issues/641#issuecomment-660001271

Yeah, I see that. Sorry for not being clearer. I meant to point out that VS Code exhibits the same behavior and presumably for similar reasons, i.e. DOM and styling. You can see from my screen shot that we're not inserting extra newlines. And this doesn't happen in JupyterLab:

Maybe there's a different API we should call when adding these items to the DOM? @brettfo?

The issue is that pwsh is returning the formatted text with a trailing newline, e.g. text/plain for each "1\n", "2\n", etc. and the CSS that VS Code applies to the outputs preserves the whitespace (which, arguably it should since it's raw text.)
We could add .trimEnd() on the notebook side (or whatever the call is) to all formatted text, but I'm hesitant to do so because it's entirely possible for someone to write this and we'd do the wrong thing trying to to the right thing: Console.WriteLine("lots of empty space:\n\n\n\n\n"); Console.WriteLine("some text down low"); and that would get rendered as:
lots of empty space:
some text down low

Ideally the pwsh kernel could detect when it's interesting to trim its own trailing newlines when constructing the formatted text.

You know I love Perl.
I think this is a good solution. It'll eventually surprise someone but the current behavior is surprising to everyone.

@jonsequitur

I think this is a good solution.

Removing a single trailing newline if present from all formatted text? or
Updating the pwsh kernel to trim its own newlines?

The same problem exists if you submit this in C#, so option 1 is probably better:
Console.WriteLine("1");
Console.WriteLine("2");

After experimenting for a bit, we're doing the right thing and it's VS Code that needs to adjust their display/CSS.
I modified the output to not contain trailing newlines and the result was that (1) VS Code still has the extra vertical space, so no change here, and (2) Jupyter Lab started displaying stuff on the same line (e.g., 12345), so a negative change.  VS Code also shows the same line gaps with Console.Write.
I'm closing this issue as it's not something we can directly alter, but I've opened an issue on VS Code to track it: microsoft/vscode#103661.


SSR not working with cjs modules

Describe the bug
I try to build ssr project, but cant to build production with cjs modules
And simple demo well works with hack (  ssr: {
noExternal:
mode === "production" ? ["react-copy-to-clipboard", "date-fns"] : [],
},), but crash with any error (filename.js not existed, but it already)
Reproduction
https://stackblitz.com/edit/github-vke2fz-67onp4?file=README.md
Steps to reproduce
yarn dev - failed
yarn run build
yarn run prod - failed (with noExternal its ok, but dev failed)
System Info
*

Used Package Manager
yarn
Logs

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 vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

file not found, but exists ?

This looks to me like it's probably a usage/packaging issue. That library distributes CJS, but doesn't expose named exports with module.exports.CopyToClipboard = ... and just has a single export.
Does it work better if you change import { CopyToClipboard } from 'react-copy-to-clipboard'; to
import * as ReactClipboard from 'react-copy-to-clipboard';
...
<ReactClipboard.CopyToClipboard ...

Or maybe
import ReactClipboard from 'react-copy-to-clipboard';
...
<ReactClipboard.CopyToClipboard ...

I'm not exactly sure how to run your reproduction and test it, but I expect one of those would fix it.

benmccann

I think you are right.  CopyToClipboard expose default exports, instead of named exports.
When yarn dev, ebuild handle the esm & cjs interop problem.
// input
import { CopyToClipboard } from "react-copy-to-clipboard";
console.log(CopyToClipboard);
// output
var import_react_copy_to_clipboard = __toESM(require_lib(), 1);
console.log(import_react_copy_to_clipboard.CopyToClipboard);

When yarn build, CopyToClipboard is imported absolutely from node_modules, instead of bundle
"use strict";
var _require = require('./Component'),
    CopyToClipboard = _require.CopyToClipboard;

CopyToClipboard.CopyToClipboard = CopyToClipboard;
module.exports = CopyToClipboard;

I just try solutions provided by @benmccann , and it works for me.

Great! I'll go ahead and close this then


JBDS-4099 DevStudio does not start from installer on Mac

Released to master as dbdadbf after re-base.