v3.2.3 Govee LED H6142  No Longer Lists Adaptive Lighting in Homekit

What issue do you have? Please be as thorough and explicit as possible.
After update Govee LED Lights no longer list adaptive lighting when opening the accessory in Homekit

Details of your setup.
Homebridge (v1.3.4 ) + Config UI from Docker oznu/homebridge:latest
Which version of Homebridge/HOOBS do you have?
Homebridge (v1.3.4 )
Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
Docker oznu/homebridge:latest
Node.js Version v14.17.0
NPM Version v6.14.13
Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
3.2.3, yes
Which Govee devices do you have that are causing issues? Please include product models if applicable.
Govee LED H6142
Please paste any relevant logs below.
[5/26/2021, 10:20:25 AM] [Govee] [Govee LED] initialised with id 5D:5C:A4:C1:38:BC:F0:57.
[5/26/2021, 10:20:25 AM] [Govee] ✓ Setup complete. Have a feature request? Visit http://bit.ly/hb-govee-issues to ask!
[5/26/2021, 10:20:25 AM] [Govee] [Govee LED] has been reported online.
[5/26/2021, 10:20:25 AM] [Govee] [Govee LED] sending update {"name":"colorTem","value":4500}.
[5/26/2021, 10:20:25 AM] [Govee] [Govee LED] current colour [4500K / 220M] via adaptive lighting.
[5/26/2021, 10:20:40 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:20:40 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:21:10 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:21:25 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:21:25 AM] [Govee] [Govee LED] skipping adaptive lighting update as device is off or kelvin is same as before [4500K / 220M].
[5/26/2021, 10:21:40 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:21:55 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:22:10 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:22:25 AM] [Govee] [Govee LED] ignoring update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:22:25 AM] [Govee] [Govee LED] skipping adaptive lighting update as device is off or kelvin is same as before [4500K / 220M].
[5/26/2021, 10:22:40 AM] [Govee] [Govee LED] received update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].
[5/26/2021, 10:22:40 AM] [Govee] [Govee LED] current colour [4500K / 222M].
[5/26/2021, 10:22:55 AM] [Govee] [Govee LED] received update [{"online":true,"powerState":"on","brightness":80,"colorTemInKelvin":4500,"colorTem":4500}].

Hi @TWDickson
This is very strange I have never known this to happen before.
Have you tried restarting Homebridge again? Can you try removing the accessory from the homebridge cache to see if it is readded with the adaptive lighting option?

Hey @bwp91 here are the steps I tried.
Removed HomeBridge Govee
Restarted Homebridge
Removed Cached Accessory
Restarted Homebridge
Added Homebridge Govee
Restarted Homebridge
Entered API Key
Restarted Homebridge

Checked Home App. Same issue

Also here's the accessory list from the plugin after all the above:

Can you use the homebridge-ui to rollback to a previous version of the plugin to see if this works?
There shouldnt have been any changes that affect the adaptive lighting, but i’d like to rule this out just in case.

I tried rolling back to a few releases, removing the cached device and then restarting to no avail. Same as before no option for adaptive lighting in the first slot.

And it's back. So I opened my iPad which I hadn't used in a while and got a prompt "Adaptive Lighting Available" and that I could use it with Govee LED. No option on my phone. I think it deregistered as a Home Hub and I lost adaptive lighting

Ah, good news!
Is the option back on your phone now that it’s been activated with the ipad?
I hadn’t even thought about the home hub requirement, i was beginning to wonder what on earth was going on 😆

Yep. Seems all good now. I think I need to buy an Apple TV or a Homepod Mini


e2e: refactored ctlv3_make_mirror_test

Modified the test cases to remove code duplicity and to make it more orgainised,

@gyuho I have done the changes as per your suggestion.
Thank you!

lgtm. defer to @xiang90
Thanks @sinsharat

@gyuho you are welcome :-)

@xiang90 I have done the changes as per your suggestion.
Thank you!

lgtm


Themes: set classes to the  element

Maybe there is a technical reason but I find it a bit weird that the theme service changes classes on the <body> element, especially when VSCode is running on Web in a specific container.
Do we actually need to do it this way, why can the theme service not set it on the workbench container?

This applies to file icons as well it seems.

It is on the workbench container..
https://github.com/microsoft/vscode/blob/e38fba58226e85e6d41750c7543660e14f6ce512/src/vs/workbench/services/themes/browser/workbenchThemeService.ts#L102
Feel free to change it...

@aeschli it is not so easy, changing it results in this flicker on startup:

I am puzzled what condition could check on body for these classes, do you have any clue?


Allow setting access-control-allow-origin

User story.
As a developer using Prism with a browser app, I can set the value of access-control-allow-origin to something other than *, so that I can use Prism to stub the services my browser app calls and the browser does not block access to the response.
Is your feature request related to a problem?
I cannot change my browser app (written with Angular) because I need to send cookies for authentication, which is done via withCredentials: true, and that seems to be setting the credentials mode to include.
Describe the solution you'd like
I think an option like --cors-origin="http://localhost" would work to start with.
It would also be great to tell the CORS plugin to set the value to the origin of the request, perhaps like --cors-origin-match-request? For me, this would override the need for the previous solution.
Additional context
Console error shows me that I need to set access-control-allow-origin: http://localhost to allow the browser access to the Prism response:

Access to XMLHttpRequest at 'http://localhost:4010/foo' from origin 'http://localhost:4200' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

I love this repo, and I'm so close to getting consumer-driven contract testing working with API descriptions using Prism! This is the last hurdle I think =)

@henrahmagix PR created to fix such issue. Could you try it out and let me know if that solves your issue?

Wow that was quick, thanks @XVincentX!
I tried to clone this repo and run docker build . on that branch but had an issue: the image built ok, but when it received a request it gave me an error:

Request terminated with error: TypeError: prismInstance.process is not a function

So instead I ran a shell in stoplight/prism:3 (version 3.1.1) and made the same change, but my browser is still telling me the response is access-control-allow-origin: *. This is what I ran:
$ docker run --rm -it -p 4010:4010 -v $PWD/openapi.yaml:/openapi.yaml --entrypoint=sh stoplight/prism:3
/usr/src/prism/packages/cli # sed -i 's/\(server.register(fastifyCors\)/\1, {origin:true}/' ../http-server/dist/server.js
/usr/src/prism/packages/cli # grep server.register ../http-server/dist/server.js
        server.register(fastifyCors, {origin:true});
/usr/src/prism/packages/cli # node dist/index.js mock -h <IP_ADDRESS> /openapi.yaml
# the prism server runs and responds to my request

Am I testing this correctly?

I would suggest you to not build the images locally because of an internal limitation we'll hopefully get rid of very soon. In meantime — compile the code and create binary out of it
yarn build
yarn build.binary
./cli-binaries/prism mock …

@henrahmagix #800 should fix that.

@XVincentX That's worked, thanks! I can see access-control-allow-origin: http://localhost:4200 in the response.
However, there's still a CORS problem: the Access-Control-Allow-Credentials header needs to be set to 'true'. I'm not sure if that can always be set to true, or if it should only be set when the credentials mode is 'include'.
Here's my full error:

Access to XMLHttpRequest at 'http://localhost:4010/foo' from origin 'http://localhost:4200' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

I'm happy for that to be a separate issue, since this one is satisfied by #797 =)

Added the header in the same PR.

@XVincentX Yup, that worked! Everything works on my end with #797 =) Thanks for responding so fast!

Hi @XVincentX, do you know when we might get this fix into a release?

@henrahmagix Prism 3.2.0's been released.


feat: Show icon-only for small devices

Motivation
fix #2699
Show icon-only search bar for devices under 768px.
This fix is useful to solve an issue with long app name causing a rendering problem with search
I hope to make something right :)
Regards
Marco
Have you read the Contributing Guidelines on pull requests?
YES

I did in a different way because in that way the input field was not clickable. Let me know

But what if you completely remove the .search-icon element and show the magnifier icon of search input, as shown below?

Hi @lex111 I have applied the fix.
I removed the icon, but now I have a doubt about accessibility because in this case I made the div as button to expand the input in small devices. The div has always a button role but for large screens and when the input is already expanded the click on the div is disabled.

Hmm, currently I click on the magnifier icon, the search input expanded  and collapsed immediately.

You mean that with code in master branch, removing only the search-icon it will work?

this is my diff
+++ b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js
@@ -104,16 +104,6 @@ const Search = (props) => {

   return (
     <div className="navbar__search" key="search-box">
-      <span
-        aria-label="expand searchbar"
-        role="button"
-        className={classnames('search-icon', {
-          'search-icon-hidden': props.isSearchBarExpanded,
-        })}
-        onClick={handleSearchIcon}
-        onKeyDown={handleSearchIcon}
-        tabIndex={0}
-      />
       <input
         id="search_input_react"
         type="search"

I only removed the .search-icon but it doesn't work. I think that I don't understand what you mean

You have made more changes, which is why the first time you tap to the search input on mobiles, it immediately collapsible. You can easily see this incorrect behavior for yourself if you open the preview website on your mobile.

Thank you for this PR! As #2791 is more robust, we'll go with that. We'll definitely credit you in our next release as a collaborator of #2791 :)


Error on QNAP TS-231P3

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After installing latest Teslamate version inside Container Station the Teslamate web interface doesn't work and docker-compose-teslamate-1 keeps reporting

"waiting for postgres at localhost:5432 (XXXsec)"

while "docker-compose-database-1" keeps reporting

"/usr/bin/env: error while loading shared libraries: libc.so.6: ELF load command address/offset not page-aligned"

. I already tried fully formatting ed resetting the NAS with no effect.

And get different strange things
Alpine Linux 3.18.0 under emulation page size 32k give me page size 4K
getconf PAGESIZE
4096
Alpine Linux 3.17.0 under emulation page size 32k give me "bin/sh: getconf: Bad address"
on any commands.
And backward on QNAP with pagesize 32K container
Alpine Linux 3.17.0 work without problem and Alpine Linux 3.18.0 didnt work at all.
sudo apt-get install qemu binfmt-support qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
for 32K PAGE SIZE
docker run -e "QEMU_CPU=cortex-a15" -e "QEMU_PAGESIZE=32768" --rm --platform linux/arm/v7 -it alpine:3.18.0 /bin/sh
docker run -e "QEMU_CPU=cortex-a15" -e "QEMU_PAGESIZE=32768" --rm --platform linux/arm/v7 -it alpine:3.18.0 /bin/sh

for 4K PAGE SIZE
docker run -e "QEMU_CPU=cortex-a15" -e "QEMU_PAGESIZE=4096" --rm --platform linux/arm/v7 -it alpine:3.18.0 /bin/sh
docker run -e "QEMU_CPU=cortex-a15" -e "QEMU_PAGESIZE=4096" --rm --platform linux/arm/v7 -it alpine:3.18.0 /bin/sh


Cannot parse tsconfig.extend.json

Follow these steps:
https://github.com/risenforces/craco-alias#ran-into-a-problem
Then describe your problem and paste the plugin output.
This seems like a completely valid tsconfig.extend.json to me
{
    "compilerOptions": {
      // baseUrl is optional for plugin, but some IDEs require it
      "baseUrl": "src",
      "paths": {
        "@components": ["./src/components"],
        "@entities": ["./src/entities"],
        "@factories": ["./src/factories"],
        "@gifs": ["./src/gifs/v5"],
        "@imgs": ["./src/imgs"],
        "@interfaces": ["./src/interfaces"],
        "@root": ["./src"],
        "@store": ["./src/store"],
        "@utils": ["./src/utils"],
        "@missions": ["./src/missions"],
      }
    }
  }

> craco start

Cannot parse tsconfig.extend.json

Please read plugin documentation: https://github.com/risenforces/craco-alias

You have a trailing comma here which JSON specification does not allow:
"@missions": ["./src/missions"],
                               ^

That's why it isn't able to parse it.

Still getting this and confirmed that I don't have any trailing comma.. Can someone help me?


Is Fault-tolerant Training possible with YOLOX?

It doesn't have to be a complete Fault-tolerant Training. I just need to be able to restart from the specified weight from the epoch where it was interrupted with the specified scheduler. The results do not have to be a rigorous reproduction of the results of complete training.

Did you try --resume in your training? It will autoload latest.pkl to continue your training.

Thank you for your reply. I'll try it. I would like to record the results here.

@FateScript Where is the latest.pkl? I can't find it in the code either.

please refer to code below:
https://github.com/Megvii-BaseDetection/YOLOX/blob/15e87259399a0f6900d0c065a9aaae18fe83a771/yolox/core/trainer.py#L264
You could find such a file under YOLOX_output(the path is also logged in terminal of your log)

It's latest_ckpt.pth. I got it.

Set self.max_epoch = 2 and do the following:
python tools/train.py -f exps/example/yolox_voc/yolox_exp01_s.py -expn yolox_exp01_s --batch-size 16 --occupy

Then set self.max_epoch = 4 and do the following:
python tools/train.py -f exps/example/yolox_voc/yolox_exp01_s.py -expn yolox_exp01_s -e 3 --batch-size 16 --occupy --resume

Is this right?

yes, maybe -e 3 is not needed if you set all settings right.

This is the result of an experiment with self.max_epoch = 300 at first, judging that it is not enough, and then experimenting with self.max_epoch = 400. It's a strange result, but is it the proper behavior?

It's strange, did your change learning rate or anything else?

--resume only loads the last checkpoint and doesn't consider the learning rate, right? I think that is the cause because the learning rate was resume training with the initial value.


fix table of contents layout

Reorganizes existing content to fix the ToC.

This TOC looks great, just a couple nits:

Is there anything equivalent to the .NET Framework Design Guidelines that could help folks new to Go learn how to write idiomatic Go code?  If so, consider including a section on it.  If this is already linked from the General Guidelines, then ignore this comment (I didn't look at content, per our conversation)
Supernit: you have an OSS Repos section - in the .NET guidelines we took this out in favor of a couple guidelines saying to commit your code to the azure-sdk-for-net repo.  Probably worth taking this out here too, unless there's much more to say for Go.

Thanks for doing this!!


Merge prTesting_202005181925 branch to master branch

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

Docs Build status updates of commit a3a29ff:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestCon.md
:warning:Warning

Details

split/updateTestCon.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
Line 0: [Warning] Markdown content is not allowed before H1.
Line 1: [Suggestion] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning on 04/01/2020.

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


Avoid using the "daemon" group because it might not exist

The Etc.getgrnam spec uses a hard-coded group name "daemon", but it does not necessarily exist in the system. Instead, use the first group name in the system returned by Etc.getgrent.

Thanks!


Make use of bootstrap-vue

Any reason the project doesn't use https://bootstrap-vue.js.org ?

I'm sorry but I think it does, or did I wrongly used it?
Look at package.json and webapp/main.js in templates. Did I do something wrong?

Yes it's indeed used

Well I realized that afterwards: it is partialy using bootstrap-vue:
for instance https://github.com/jhipster/jhipster-vuejs/blob/master/generators/client/templates/webapp/app/components/account/LoginForm.vue
actually all files in https://github.com/jhipster/jhipster-vuejs/blob/master/generators/client/templates/webapp/app/components/account don't use any bootstrap vue for instance, with is not very consistent.


Why HTTP/2 disabled while openssl version is 1.1.0 ?

ubuntu 14.04.5
openssl 1.1.0c
mitmproxy 0.18.2
python 2.7.6
cryptography 1.5.3
I always receive the following warning:HTTP/2 disabled. OpenSSL 1.0.2+ required, it's confused me because my openssl version is 1.1.0, can someone tell me why ?

Which OpenSSL version do you get with mitmproxy --sysinfo?

1.0.1f，How to tell mitmproxy to use my openssl version ？

https://cryptography.io/en/latest/installation/

I generate openssl.ld like this:
OPENSSL_1.1.0C_CUSTOM {
global:
;
};
and execute commands to build openssl 1.1.0c as follows:
sudo ./config -Wl,--version-script=openssl.ld -Wl,-Bsymbolic-functions -fPIC shared
sudo make
but it interrupted by error:/usr/bin/ld: duplicate expression `' in version information, do you know why ?

If you have issues installing cryptography, please read through the cryptography docs or (if that does not help) ask the guys at https://github.com/pyca/cryptography.
Thanks!
Max


Log line when running function needs to strip secret

When running my function, the log has:
2016-10-25T18:30:32.501 Function started (Id=1dcd9311-f76b-4ad9-939f-33351da4838e)
2016-10-25T18:30:32.501 C# HTTP trigger function processed a request. RequestUri=https://functiondevtestsecrets.azurewebsites.net/api/HttpTriggerCSharp1?code=[...secret code...]
2016-10-25T18:30:32.501 Function completed (Success, Id=1dcd9311-f76b-4ad9-939f-33351da4838e)

Clearly we don't want to log that!

Just realized that this is coming from the template and not runtime. Moving to template repo.

https://github.com/Azure/azure-webjobs-sdk-templates/issues/332


Support specifying an object as unmanaged.

resolves #376
Motivation
Adding annotation compute.functionmesh.io/managed: false should make an object unmanged.
Modifications
Controller will check for the annotation in reconcile loop and skip unmanaged objects.
Verifying this change

[x] Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.
Documentation

[x] doc-required
Add doc about how to make an object unmanaged.

@nlu90 @tpiperatgod @jiangpengcheng PTAL when you have time, thanks.


[core] Possible issue: parsed APK has a reference to an adaptive icon that has no files to reference to

Sadly I can't fill this form correctly, because I use the online tool which doesn't even seem to show the version of Jadx:
http://www.javadecompilers.com/
The problematic file is:
base.zip
The website shows that the app icon is "adaptiveproduct_one":

This file doesn't exist when I extract the APK file. In fact there are almost no resource folders, no "mipmap" or "drawable" folders at all.
Using a different tool (here), I got 2 different candidates for icons:

"res/xm.png" , but this file is just this one:

"res/uG.xml" , and even though it failed to get its content as adaptive icon, on the website I got this:

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt">
    <background>
        <bitmap android:src="@mipmap/adaptiveproduct_one_background_color_108"/>
    </background>
    <foreground>
        <bitmap android:src="@mipmap/adaptiveproduct_one_foreground_color_108"/>
    </foreground>
</adaptive-icon>

But, again, "mipmap" folder doesn't exist, and even the file "adaptiveproduct_one_foreground_color_108" doesn't exist anywhere using Jadx...
So, what I did is to try another website, here, and this is what I got from it:
base.apk.zip
Seems it has 2 resource folders: "res" and "resourced/res" (the one I saw before, without mipmap and drawable folders). Looking at "res", I can finally see "adaptiveproduct_one_foreground_color_108" file.
How could it be? Where did this folder and its files come from?  Are those all in "resources.arsc" file somehow?

I am sorry but APK files with somehow obfuscated resources are not yet supported by Jadx.
As mentioned in https://github.com/skylot/jadx/issues/931#issuecomment-628633663 please use apktool to decompile those resources.

This is called obfuscated resources? How is it done?
I think all of the drawables are inside the "resources.arsc" file. Am I correct?

I am sorry but you are wrong. Inside resources.arsc are only strings. All the other (e.g. xml) resources are stored as separate file in the APK in the /res folder.

So it's in the "fV" file? How could it be this way? I didn't know it's possible.
How do such apps being made?
And why isn't it possible to parse those via jadx, but possible via others?
Is it hard?

You are asking the wrong persons(s). If we would knew how such an app can be created we could implement in Jadx the necessary steps for a deobfuscation of the resource file names.

Sorry for that.
Do you know of any library that can be used on Android itself, handle APK files nicely, even if they are not available via a file-path (example is a Uri) ?

If a file is only available as URI, retrieve the data and save it. All Java based APK reading tools need a file because Java ZipFile class is used. And for on-device libraries I don't have any recommendations I do app-analysis only off-device.

@jpstotz If what you need is a fraction of what's in the APK, that's a bad solution.
If the APK is very large, it might not be possible (not enough space), and could take a long time.
Plus it causes creation of junk files which need to be removed.
Having a Uri, you can re-create the InputStream as you wish, hence reaching every possible byte on the file, and that's without copying anything to storage.
Sure it will be slower in some cases, but it's way faster than copying everything to storage first, especially for large files.
Not only that, but on some cases when you have a Uri, the app that provided it already has the file, so it's useless to copy it again, creating a duplicate.
And, even without a Uri, it's still very useful to handle InputStream because the APK might be inside a zipped file.

@AndroidDeveloperLB That this the typical balance between disk-usage and CPU usage. Just saving the APK file grants you random access. Streaming it requires you to process/skip each entry again and again until you have found the one you are looking for (in worst case you end up in an algorithm with a run-time of O(n^2) hence is totally inefficient). And there is one more problem:
99% of all APKs can be read using a stream. However there are APKs that can't be accessed via ZipInputStream because they have an ZIP entry that use a compression without specifying the entry size. Such ZIP files can not be read. This is an oddity of the ZIP file format. See this Stackoverflow question for details.

Right. I actually edited this answer, and there are solutions for it, as I asked about here  and here. Of course, there could be better solutions, but that's what I have for now, and it works fine on my app (here). I plan to improve it further, of course.
And it's not the APK issue itself, it's the ZIP file that has it inside. I don't think I ever saw an APK that has this issue.
As for efficiency, again, it depends on the case. If all you want to do is to show app info: name, package name, app icon, version code, version name,... - you don't need most of the APK file, and there aren't many times that you will go back and forward in it.
And same goes for when you actually need to install it, because then most of the time you will go in linear direction like a normal stream, exactly like on a ZipFile.


Support for building with Remix 2.0.0

No big changes required, it seems. The main one affecting this project is that route.handle is now of type unknown, so I added some additional casts in order to avoid type checking errors.
In addition to this, Remix requires Typescript 5.1.0 or later. This, in turn, requires upgrading @typescript-eslint to at least 5.61.0 (I went with 5.62.0 since that's the last version before 6.0.0).
 I just went with it since none of the packages seem like they would cause breakage on upgrade but of course it's tricky to make guarantees about this.
Obviously I'm not very familiar with the internals of this project (I'm just a happy user :)), so it's perfectly possible this patch is not enough, but it might be an OK start at least.

Thanks a lot of helping with the support for Remix v2!


Fixes user creating and voting

Users can be created even if vote_weight is enabled (Fixes #877)
After voting vote options will disappear (Fixes #878)

Closed in favor of #881.


Assign user object model - added UI elements

Can one of the admins verify this patch?

[test]

[test]


Added hindi translations

Hindi translations for the message in  file  _locales/en/messages.json  are made in _locales/hin/messages.json file.

Looks okay but the language code needs to be hi`` not hin`, would you mind renaming the folder? :)


[NEW ICONS]: Flyio, Chartjs & Docsify

Add New Icon(s)
Icon Details

Icon ID
Icon

flyio

chartjs-auto

chartjs-dark

chartjs-light

docsify-auto

docsify-dark

docsify-light

Notes

Fly.io is a platform designed for deploying and running containerized applications globally.
Chart.js is a popular JavaScript library used for creating responsive and interactive charts and graphs on web pages.
Docsify is a lightweight, flexible, and feature-rich documentation site generator that leverages Markdown files to generate beautiful, responsive documentation websites.

Closing

Closed #161, #159

Checklist

[x] Added icon(s) to the appropriate directory
[x] Updated documentation with the new icon(s)
[x] Verified the icon(s) display correctly
[x] If the icon has light and dark, verified the auto switch works correctly

i was confused of what to do with the stroke color on light mode 😕

"I am impressed; issues get resolved in no time here. You guys rock!"


Derive Clone trait for all optimizers

Makes sure all optimizer derive the Clone trait.
The only exception is ParticleSwarm because it sounds like Callback<T> does not implement Clone and I have not investigated further.
Something I have run into in pyargmin when changing solvers.
Helps toward "Interoperability" in https://github.com/argmin-rs/argmin/issues/1

This is a good idea!
I think we can ignore ParticleSwarm for now because as far as I know the callback is only for plotting and I think @jjbayer is implementing an Observer for the plotting instead (in the visualizer branch). If I'm not mistaken this would make the callback obsolete.


dependencies failure

Hi there, thanks for the code. However, when I tried to test it, I suffered from lots of dependency failures and so on, mainly due to the Dataset4EO, mmcv and torch. Could you be so kind to share your platform and versions of installed modules, especially mmcv, torch and Dataset4EO, torchdata, for a convenient reproduction?
Many thanks!

Sorry for the late reply and thanks a lot for your feedback. I just uploaded the version information of some important packages in the README. I hope it would help.
torch==1.13.1+cu117
torchdata==0.5.1
torchvision==0.14.1
mmcv==1.7.1


Command: ng coc OR ng diversity  --coc

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x ] feature request

Desired functionality

A possibility to print out our current community code of conduct or ressources about diversity & community inside the command line
Mention any other details that might be useful

Hey @willi84, this sounds like a good idea! We should definitely have something like this. I'd suggest to keep just a link to the CoC so that we don't have to maintain two copies of it.
We'll discuss during the triage meeting this week.

@willi84 the code of conduct is very important for us and we're strongly encouraging all community members to follow it. We want to have a direct reference it for everyone before an interaction of someone with the community.
We discussed how introducing the CoC in the CLI would look like but we don't think many people will notice it given the specifics/purpose of the tool.
Again, thanks for the suggestion!


feat(plugin-shiki): rename getHighlighter to createHighlighter

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[ ] Bug fix
[x] New feature
[ ] Other

Description

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.42%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1084

Relevant Lines:
1675

💛  - Coveralls


Can't get rule wrong-decorator-signature to work

The rule wrong-decorator-signature doesn't seem to work. This is an extracted part of my .eslintrc.js:
overrides: [
  {
    files: [
      "packages/server/src/entities/**/*.ts",
      "packages/server/src/resolvers/**/*.ts",
    ],
    parserOptions: {
      project: "packages/server/tsconfig.json",
    },
    extends: ["plugin:type-graphql/recommended"],
    rules: {
      "type-graphql/wrong-decorator-signature": [
        "error",
        {
          number: "BigInt",
        },
      ],
    },
  },
]

Here is also some extra context from my .eslintrc.js file:
overrides: [
  {
    files: ["*.js", "*.ts", "*.tsx"],
    parser: "@typescript-eslint/parser",
    extends: [
      "eslint:recommended",
      "plugin:import/recommended",
      "plugin:import/typescript",
      "plugin:react/recommended",
      "plugin:react-hooks/recommended",
      "plugin:react/jsx-runtime",
      "plugin:@next/next/recommended",
      "plugin:@typescript-eslint/recommended",
      "plugin:prettier/recommended",
    ],
    plugins: ["unused-imports"],
    env: {
      browser: true,
      es2021: true,
      node: true,
    }

But I still get this error:

Could it be because I'm not using plugin:@typescript-eslint/recommended-requiring-type-checking maybe?

There was an error in the example in the documentation. The correct configuration for the rule is:
"type-graphql/wrong-decorator-signature": [
  "error",
  {
    "customTypes": {
      "number": "BigInt"
    }
  }
]


Create prediction dashboard

Potential enhancement: given a set of predictions, show a dashboard that describe the predictions and provide useful information (as a complement to a map of predictions). For example:

What are the top 5 or 10 most dangerous street segments?
How many predictions are above a given threshold?
How has the average risk level across all segments changed over time?

Kind of covered and distributed across some other issues right now.  Closing.


How to disable validation when I leave the page by clicking on the link?

When I click on any link on the page (not a submit button), validation occurs and error is displayed before leaving this page. Additionaly, in the case when a link is located under a form, error message shift down this link and page leaving doesn't occurs. How to fix this?

Sounds like you want to disable the validation that happens on focusout. Do $('#myForm').off('focusout.bs.validator'), though be aware that the form will no longer let the user know if they skipped through an invalid field.

The correct call is $('#myForm').validator().off('focusout.bs.validator').


Bazel Tensorflow installation with TensorRT from source throws error although there is output file

I want to build Tensorflow with TensorRT support with Bazel from source.
System specifications:
Tensorflow 2.7
Python 3.8.0
CUDA 11.5
Ubuntu 18.04
Geforce RTX 2060
I tried the following bazel versions: 3.7.2, 4.2.1, 4.2.2 and all threw the same error.
It starts the building process but then throws the following 2 errors regarding the BUILD file:
ERROR: /home/ros/.cache/bazel/_bazel_ros/f58d1d645696850c769c1c78103710da/external/local_config_python/BUILD:78:8: declared output 'external/local_config_python/*.*' was not created by genrule. This is probably because the genrule actually didn't create this output, or because the output was a directory and the genrule was run remotely (note that only the contents of declared file outputs are copied from genrules run remotely)
ERROR: /home/ros/.cache/bazel/_bazel_ros/f58d1d645696850c769c1c78103710da/external/local_config_python/BUILD:78:8: not all outputs were created or valid
Target //tensorflow/tools/pip_package:build_pip_package failed to build

Here is the BUILD file from which the error occurs
licenses(["restricted"])

package(default_visibility = ["//visibility:public"])

load("@bazel_tools//tools/python:toolchain.bzl", "py_runtime_pair")

py_runtime(
    name = "py2_runtime",
    interpreter_path = "/home/ros/tfenv/bin/python3",
    python_version = "PY2",
)

py_runtime(
    name = "py3_runtime",
    interpreter_path = "/home/ros/tfenv/bin/python3",
    python_version = "PY3",
)

py_runtime_pair(
    name = "py_runtime_pair",
    py2_runtime = ":py2_runtime",
    py3_runtime = ":py3_runtime",
)

toolchain(
    name = "py_toolchain",
    toolchain = ":py_runtime_pair",
    toolchain_type = "@bazel_tools//tools/python:toolchain_type",
    target_compatible_with = [],
    exec_compatible_with = [],
)

cc_import(
    name = "python_lib",
    interface_library = select({
        ":amd64": ":python_import_lib",
        # A placeholder for Unix platforms which makes --no_build happy.
        "//conditions:default": "not-existing.lib",
    }),
    system_provided = 1,
)

cc_library(
    name = "python_headers",
    hdrs = [":python_include"],
    deps = select({
        ":amd64": [":python_lib"],
        "//conditions:default": [],
    }),
    includes = ["python_include"],
)

alias(
    name = "headers",
    actual = ":python_headers",
)

cc_library(
    name = "numpy_headers",
    hdrs = [":numpy_include"],
    includes = ["numpy_include"],
)

config_setting(
    name = "amd64",
    values = {"cpu": "amd64"},
    visibility = ["//visibility:public"],
)

genrule(
    name = "python_include",
    outs = [
        "*.*"
    ],
    cmd = """

   """,
)

genrule(
    name = "numpy_include",
    outs = [
        "numpy_include/numpy/__multiarray_api.h",
        "numpy_include/numpy/__ufunc_api.h",
        "numpy_include/numpy/_neighborhood_iterator_imp.h",
        "numpy_include/numpy/_numpyconfig.h",
        "numpy_include/numpy/arrayobject.h",
        "numpy_include/numpy/arrayscalars.h",
        "numpy_include/numpy/halffloat.h",
        "numpy_include/numpy/libdivide/LICENSE.txt",
        "numpy_include/numpy/libdivide/libdivide.h",
        "numpy_include/numpy/multiarray_api.txt",
        "numpy_include/numpy/ndarrayobject.h",
        "numpy_include/numpy/ndarraytypes.h",
        "numpy_include/numpy/noprefix.h",
        "numpy_include/numpy/npy_1_7_deprecated_api.h",
        "numpy_include/numpy/npy_3kcompat.h",
        "numpy_include/numpy/npy_common.h",
        "numpy_include/numpy/npy_cpu.h",
        "numpy_include/numpy/npy_endian.h",
        "numpy_include/numpy/npy_interrupt.h",
        "numpy_include/numpy/npy_math.h",
        "numpy_include/numpy/npy_no_deprecated_api.h",
        "numpy_include/numpy/npy_os.h",
        "numpy_include/numpy/numpyconfig.h",
        "numpy_include/numpy/old_defines.h",
        "numpy_include/numpy/oldnumeric.h",
        "numpy_include/numpy/random/bitgen.h",
        "numpy_include/numpy/random/distributions.h",
        "numpy_include/numpy/ufunc_api.txt",
        "numpy_include/numpy/ufuncobject.h",
        "numpy_include/numpy/utils.h",
    ],
    cmd = """
cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/__multiarray_api.h" "$(@D)/numpy_include/numpy/__multiarray_api.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/__ufunc_api.h" "$(@D)/numpy_include/numpy/__ufunc_api.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/_neighborhood_iterator_imp.h" "$(@D)/numpy_include/numpy/_neighborhood_iterator_imp.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/_numpyconfig.h" "$(@D)/numpy_include/numpy/_numpyconfig.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h" "$(@D)/numpy_include/numpy/arrayobject.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayscalars.h" "$(@D)/numpy_include/numpy/arrayscalars.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/halffloat.h" "$(@D)/numpy_include/numpy/halffloat.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/libdivide/LICENSE.txt" "$(@D)/numpy_include/numpy/libdivide/LICENSE.txt" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/libdivide/libdivide.h" "$(@D)/numpy_include/numpy/libdivide/libdivide.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/multiarray_api.txt" "$(@D)/numpy_include/numpy/multiarray_api.txt" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h" "$(@D)/numpy_include/numpy/ndarrayobject.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h" "$(@D)/numpy_include/numpy/ndarraytypes.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/noprefix.h" "$(@D)/numpy_include/numpy/noprefix.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_1_7_deprecated_api.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_3kcompat.h" "$(@D)/numpy_include/numpy/npy_3kcompat.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_common.h" "$(@D)/numpy_include/numpy/npy_common.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_cpu.h" "$(@D)/numpy_include/numpy/npy_cpu.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_endian.h" "$(@D)/numpy_include/numpy/npy_endian.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_interrupt.h" "$(@D)/numpy_include/numpy/npy_interrupt.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_math.h" "$(@D)/numpy_include/numpy/npy_math.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_no_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_no_deprecated_api.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_os.h" "$(@D)/numpy_include/numpy/npy_os.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/numpyconfig.h" "$(@D)/numpy_include/numpy/numpyconfig.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/old_defines.h" "$(@D)/numpy_include/numpy/old_defines.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/oldnumeric.h" "$(@D)/numpy_include/numpy/oldnumeric.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/random/bitgen.h" "$(@D)/numpy_include/numpy/random/bitgen.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/random/distributions.h" "$(@D)/numpy_include/numpy/random/distributions.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/ufunc_api.txt" "$(@D)/numpy_include/numpy/ufunc_api.txt" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/ufuncobject.h" "$(@D)/numpy_include/numpy/ufuncobject.h" && cp -f "/home/ros/tfenv/lib/python3.8/site-packages/numpy/core/include/numpy/utils.h" "$(@D)/numpy_include/numpy/utils.h"
   """,
)

Hi @sanatmpa1! Could you please look in this issue?

@lenkei-mark,
I noticed that you're using CUDA 11.5, whereas the tested build configuration supports CUDA 11.2 for TF 2.7.0. Can you take a look at this tested build configurations and modify your enivronment accordingly. Let us know if the same issue still persists? Thanks!


Document the correct usage of BoMs

Issues like #2131 are a clear sign that we are lacking on documentation about dependency management. Let me file a new issue for that.
We should document at least:

The easiest and most straightforward option is to use https://code.quarkus.io/ producing a project with the quarkus-universe-bom that aggregates camel-quarkus-bom. This has the advantage that the user does not need to care for the compatibility of the individual artifacts that may potentially come from various independent project. All artifacts managed by quarkus-universe-bom is supposed to work together flawlessly.
Using camel-quarkus-bom instead of quarkus-universe-bom: As long as the user does not import any other BoM beyond camel-quarkus-bom, this is an easy and reliable option too. camel-quarkus-bom manages all supported Camel artifacts and it also imports quarkus-bom. This option can be used if the user plans to use only extensions from Quarkus and Camel Quarkus.
Combinig camel-quarkus-bom or quarkus-universe-bom with each other manually: does not make much sense because camel-quarkus-bom already imports a compatible version of quarkus-universe-bom.
Combinig camel-quarkus-bom with any other BoM: think carefully in which order you import them. The order of imports makes up the precedence. This matters for the artifacts managed by both BoMs.

Got an error when submitting this one, created https://github.com/apache/camel-quarkus/issues/2136 and then found out this one was eventually created.

Got an error when submitting this one, created https://github.com/apache/camel-quarkus/issues/2136 and then found out this one was eventually created.


How to use @svgr/core v7.0.0 with plugin-jsx?

💬 Questions and Help
Hi, after updating @svgr/core to v7.0.0 I noticed my script stopped transforming svg source files to a React components.
I went to the changelog, it appears that the plugin-jsx was removed by default.
Unfortunately, there's no clear guidance on how to migrate. I'm using the Node.js API, by the way.
I searched the docs website for "Plugins" but couldn't find any details.
Any help is appreciated, Thanks!

OK, for anyone else that was a bit lost like me, here's how to migrate to v7.0.0
Add @svgr/plugin-jsx to your dependencies, then include it in the plugins Config
Example:
const jsxPackComponent = await transform(
  packTemplate,
  { icon: true, plugins: ["@svgr/plugin-jsx"] },
  { componentName: "IconPack" }
);

⬆ This should have been put in the CHANGELOG, under a ## Here's how to upgrade to v7 with a two-lines change, instead of making the users dig into pages and pages of github issues. sigh
So little effort can make user's life so much better...


Metadata for policyDefinitons/policySetdefinitions and update of dependencies

Overview/Summary
Closing #413, #414 and #415
This PR fixes/adds/changes/removes

#414
#413
Changed jq template for policyDefinitions and policySetDefinitions to include relevant metadata (#415)

Testing Evidence
Metadata returned:

As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[X] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located in the Enterprise-Scale repo in the directory: /docs/wiki/whats-new.md)

/azp run


Not compatible with Angular 13.2

I tried to add the library to an Angular 13.2.2 project:
npm i -S @ngx-grpc/common @ngx-grpc/core @ngx-grpc/grpc-web-client @ngx-grpc/well-known-types google-protobuf grpc-web
But that gave me the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/rxjs
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@ngx-grpc/common
npm ERR!   @ngx-grpc/common@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Hi, the lib should be definitely updated.
Could you try temporarily to use --legacy-peer-deps? I assume it should work normally

Thank you for your quick response! It worked with --legacy-peer-deps, but it would be nice not to need it.
Should I leave the issue open until it is updated?

Yes please

The issue is fixed in v3.0.0, see CHANGELOG for details


Move Tinkerbell datacenter config validations

Issue #, if available:
Description of changes:
Move Tinkerbell datacenter config validations. This makes all datacenter config validations invokable from once place for webhooks.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


applyMiddleware() is not working with the spread operator

I have created a new React app with create-react-app and installed redux, redux-thunk and redux-logger. When I apply middleware with applyMiddleware(thunk, logger) the middleware is applied as expected, but when I use the spread operator (...middleware) with an variable called middleware like so:
import { createStore, combineReducers, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import createLogger from 'redux-logger';
import rootReducer from './reducers/index';

const logger = createLogger();

const middleware = {
  thunk,
  logger
}

const store = createStore(
  rootReducer,
  applyMiddleware(...middleware)
);

the middleware is not applied.


Remove deprecated option --wait for spo site remove

Ref: https://github.com/pnp/cli-microsoft365/issues/5218#issuecomment-2033192183

Let's remove the deprecated option --wait for command spo site remove.

Since we have v8 branch we may now start working on it!
Let's get this 🚢
and Let's put CLI to the 🚀🌙

Can I work on it?

Can I work on it?

all yours

PR merged


Feature/model managment

The purpose of this RP is to solve two of our current problems:

The too high number of false positives, for that I propose a kind of model ensemble by taking the average score of n models (here 2). I have done several performance tests on the subject, this technique allows to maintain almost unchanged the recall while improving significantly the precision. I'll share the results of my tests soon, I have to write this properly. The best combo among all the models available on the hub seems to be "pyronear/rexnet1_3x", "pyronear/rexnet1_5x" so I suggest to use it.

We have to limit our data consumption, so it is not optimal to download the models at each docker build. So I propose here to copy them in cache in the docker volume.

I could have done 2 PR but the two modifications are quite correlated so I left everything in the same one.

My bad, I spoke with Mateo offline but better to document things here:

while model ensembling is a good idea, even if we have RAM left, I think we shouldn't deploy this unless it solves 80-90% of our problems :/
perhaps some things that could be done: knowledge distillation, student/teacher model, etc.

we shouldn't deploy this unless it solves 80-90% of our problems :/
--> Why not having this option ?
--> So far, Mateo, do you have an idea of the improvement thanks to model ensembling ?

Although for various reasons we would be better off taking another approach as you suggest, this solution improves our current alert system, so it is worth keeping as an option if we don't have something better by the time we get to maintenance in the Ardèche. (and that would help to stop spam from the st peray test tower)

I think the patch is worth it at least temporarily. I'll make available the results of my benchmark in the coming week to continue the debate

new model coming I'm closing this


Qiskit.org Aqua example code fails

Informations

Qiskit version:
Python version:
Operating system:

What is the current behavior?
ModuleNotFoundError: No module named 'qiskit.aqua'

Steps to reproduce the problem
What is the expected behavior?
Suggested solutions

This was a source installation error on my part.


[WIP] Refactor to Operator-SDK v1.25.2

TODO: Verify this works in stage

Operator-SDK v1.25.2 + Go 1.19 with latest boilerplate

Codecov Report

Merging #87 (0829101) into main (dd59517) will increase coverage by 1.04%.
The diff coverage is 27.52%.

:exclamation: Current head 0829101 differs from pull request most recent head da7792a. Consider uploading reports for the commit da7792a to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
+ Coverage   43.08%   44.12%   +1.04%
==========================================
  Files          13       10       -3
  Lines         506      494      -12
==========================================
  Hits          218      218
+ Misses        278      266      -12
  Partials       10       10

Impacted Files
Coverage Δ

main.go
6.73% <6.73%> (ø)

controllers/clusterrole/clusterrole_controller.go
21.73% <21.73%> (ø)

controllers/group/group_controller.go
23.07% <23.07%> (ø)

...lers/limited_support/limited_support_controller.go
31.11% <31.11%> (ø)

controllers/configmap/configmap_controller.go
34.48% <34.48%> (ø)

controllers/oauth/oauth_controller.go
38.46% <38.46%> (ø)

controllers/proxy/proxy_controller.go
74.19% <74.19%> (ø)

controllers/utils/utils.go
100.00% <100.00%> (ø)

bp update is copacetic ✓

/lgtm


HAWQ-1343. - Install pip and minor formatting change.

The latest Travis CI OS X builds are failing (https://travis-ci.org/apache/incubator-hawq/builds/202425654) because "pip" command is not found.  This change will install it.
Error:
$ sudo pip install pycrypto
sudo: pip: command not found

brew install python


tests: lib: gui: lvgl: add LittleFS block device support

Add support for running LVGL test, that uses LittleFS, on a block device (MMC/SDMMC). Currently, only Flash is supported.

Rebased to resolve conflicts.

Hi @faxe1008, should we proceed with the PR in its current status?


[NEW CLOCK] Advanced Casio Clock

An over-engineered clock inspired by Casio watches. It has a 4 days weather, a timer using swipe and a scratchpad. Can be updated using a dedicated webapp.
You can check it here : https://dotgreg.github.io/BangleApps/?q=advanced casio
Hope all is good, Thanks :)

Looks like it's not uploading/creating a default advCasioData.json so it fails to load

indeed, just updated and tested the code to include that file during installation

Looks great, merging now!
For the web app, is there any reason you can't just use the interface.html file in the app loader? That way everything is included together, but also you can still run it from within Gadgetbridge

@gfwilliams  Great suggestion, I did not know about it. I'll add it on the next release then

@dotgreg It should be in the development app loader: https://espruino.github.io/BangleApps/
The release apploader is not updated that often.

great thanks!


NameError: name 'Selected_city_cdoe' is not defined.

I tried to run the code and it asks to select my country, login details, year for appointment (2024), and month for appointment (August).
The error I receive after filling these out is
NameError: name 'Selected_city_code' is not defined. Did you mean: 'Selected_country_code"?
[3088] Failed to execute script 'US_Visa_Appointment_Bot' due to unhandled exception!

Hmm, what country and city are you applying through?

I selected Turkey. It didn't give me a city option, but I want to do the Ankara Embassy

Send me an email edrakimahdiar@gmail,com and we can get it sorted out.


Arm64 debug support

Summary
Add arm64 debug API by @qinwei2004 .
Impact
New feature, should have no impact.
Testing
I'll try to find a way to test the APIs these days. Until then, marked as draft.

@XuNeo please update this patch.


[Feat]: Title bold and centered

General description
We recently rearrange JSON structure, each widget now have a title and subtitle
Requested change
Go over widgets titles and make it bold and centered
visualization

@danielsh28
kindly assign to relevant person.
can you give a permission to assign ?

fixed and merged


[BUG]Adoptme page Icon fix

-> Icon text is not properly aligned
Steps to reproduce the behavior:

Go to 'Adoptme'
Check top left corner

Expected behavior
A breakline should be there.

Fix

@akshitagupta15june I have solved this issue please add hacktoberfest tag and merge it


Can't run sniffnet on MacOS

Describe the bug
A clear and concise description of what the bug is.
(At first, I'm not proficient in OS and NW layers.  So if my question is not clear, I'm sorry and please teach what you can't understand.)
I installed sniffnet on MacOS. But I got a permission error. Please teach me how to fix this.
To Reproduce
Describe steps to reproduce the bug, e.g.:

Installed with the below commands

cargo install sniffnet
cargo run sniffnet

When GUI appears, choose an interface and click run.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
I got the below message.

Desktop (please complete the following information):

OS: [e.g. MacOS, Linux, Windows]

Browser [e.g. chrome, safari]

Version [e.g. 22]

Additional context
Add any other context about the problem here.

You will solve the problem just by launching with admin privileges:
sudo cargo run sniffnet

Closing the issue, feel free to reopen it if it doesn't work!

@GyulyVGC
I appreciate your help! I'll try the above command. Thanks.


Create 2283. Check if Number Has Equal Digit Count and Digit Value.cpp

You can follow me on github and give star to this repo.


Industry Pages - 2 Column Layout W/ Form

Main content section should have form placeholder – this applies to all Who We Serve Pages
o	Example: https://main--shredit--stericycle.aem.live/en-us/who-we-serve/accountants

solved

@MarquiseRosier the solution is causing a new issue. The two column layout should only apply to the top page section which contains the form. The entire is page is now split into a two column layout which is causing all of the rest of the content to be compressed. This needs to be fixed. All section below the first section with the form should span the full width of the page (within the standard margins)
EDS

Live Site

@colinvlasak / @rwcsrichardspencer, whenever you encounter this issue on any page, simply add 'sidebar left' to the section metadata style of that particular section.

@jindaliiita I have updated the Who We Serve pages that were missing the sidebar page section metadata
The auto page isn't rendering quite right. The form is inline with the video vs. the text. Can you look into this and let me know how to fix?
https://main--shredit--stericycle.aem.live/en-us/who-we-serve/auto

Will this be the same process for our service pages? if so how do we control what form is rendered in the sidebar? For the industry pages it's all the same form. For the service pages, the forms are different depending on the page?

@rwcsrichardspencer On this page earlier video and text were in two different sections. Now, i have modified content to resolve this.
And from services pages which all pages you are referring ? Because currently form type is controlled by the code only.
Tagging @MarquiseRosier if he has more info.

@colinvlasak thanks for pointing this out! @ravise5 @jalagari I believe this is an issue related to inserting specific forms on pages. We built the template purely to maintain the appropriate placement of elements. Please add this to your list of tickets; as this has to do with inserting the appropriate form

Changed the assignee to @ravise5

@jalagari @jindaliiita the form is now missing from the Industry pages. See below.

@colinvlasak I just published the page can you recheck?

@ravise5 once the pages are published it adds the form but the formatting issue is back
Examples:
https://main--shredit--stericycle.aem.live/en-us/who-we-serve/hotels-and-hospitality
https://main--shredit--stericycle.aem.live/en-us/who-we-serve/finance
https://main--shredit--stericycle.aem.live/en-us/who-we-serve/real-estate
https://main--shredit--stericycle.aem.live/en-us/who-we-serve/education

@colinvlasak noted will address this.

Closing this ticket as the issues discussed here are fixed


SimpleMDE Field

Bug report
What I did:

Added a SimpleMDE field
Attempted to edit
Editing doesn't work, and no console errors

What I expected to happen:

To be able to edit

What happened:
What I've already tried to fix it:
Backpack, Laravel, PHP, DB version:

Backpack/Base 3.4.0
Laravel 5.7
Mysql 5.7.23

Hi @jacobzlogar ,
That’s weird - it totally works in my tests: https://cl.ly/e0eb1095dc45
Any chance you can post a video of your experience - maybe I can figure out what’s wrong that way.
Cheers!

Just tried it again and it worked for me, so I can't replicate the bug. @jacobzlogar , if you're still having this issue please let me know and we'll reopen this.
Cheers!


Allow to hide "Show in chat" action from journal header

With so many modules installed there are already too many actions in the header to have another one, which if it can be disabled would do a great favor to those who do not see even the close button :(

Heh, I knew this day would happen but didn't think it'd be so quickly!
I don't want to pollute the module settings with this, especially not when currently this module has 0 settings.
How about I give you the ability to change the setting through the browser console?
With three states:  Full (showing d20 icon and "Roll"), Partial (showing d20 icon), None (don't show).

Heh, I knew this day would happen but didn't think it'd be so quickly!
I don't want to pollute the module settings with this, especially not when currently this module has 0 settings.
How about I give you the ability to change the setting through the browser console?
With three states:  Full (showing d20 icon and "Roll"), Partial (showing d20 icon), None (don't show).

Adding in v1.0.5:
Open the console and run the following command to completely hide the "Roll" / "Show in Chat" button from sheet headers -
game.settings.set('roll-from-compendium', 'window-header-button', 'Hide')

You can run it with several options.

Full (default): will look like "🎲Roll"
Only icon: "🎲"
Hide: Will not add any header button to your sheets.

Adding in v1.0.5:
Open the console and run the following command to completely hide the "Roll" / "Show in Chat" button from sheet headers -
game.settings.set('roll-from-compendium', 'window-header-button', 'Hide')

You can run it with several options.

Full (default): will look like "🎲Roll"
Only icon: "🎲"
Hide: Will not add any header button to your sheets.


[Task]: Regex Test UI - Change Green to #27ae60

What needs to happen?
Import:https://issues.apache.org/jira/browse/HOP-4581
The test UI in the Regex Transform uses a bright green.  We can use a darker green to allow the white text to have enough contrast.
Green could be hex color #27ae60
Red could be hex color #c0392b
Colors inspired by the flat pallet over here: https://flatuicolors.com/palette/defo

Issue Priority
Priority: 3
Issue Component
Component: Transforms

.add-labels 'Hop Gui'


Issue/add shading

Pull Request
Description
Add shading to prob forecast

Fixes #32
How Has This Been Tested?
Ran it locally

[x] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

this looks good. just one suggested change. do you know if it's possible to remove the plevel traces and just have the shading? I left a comment about this.

Good suggestion


Refresh Data

How can refresh/update data at store/update/delete in a crud example ?

Vue is reactive, so if you change whatever's in the data prop, it should refresh.
If this isn't working, please provide a code snippet or a broken test for us to debug with.

Sorry by my bad explanation.
I was refering to usage async method for load data:
https://github.com/spatie/vue-table-component#retrieving-data-asynchronously
In the component the ajax is call for the child, but i like call for the parent
axios.post('/api/core/users', this.create)  .then(({data}) => {        //modify data async })
Thanks !

You'll need to add a ref to your component instance, and call refresh on it.
<table-component :data="fetchData" ref="table">
    <table-column show="firstName" label="First name"></table-column>
</table-component>

axios.post('/api/core/users', this.create)
    .then(({ data }) => {
        this.$refs.table.refresh();
    });

Excellent !
Could you please add it to the documentation? it is something I did not know about vue.
Thanks !

Yeah was missing from the readme, added a little note about it :)


React-Native [bugsnag] Cannot set "maxBreadcrumbs" configuration option in JS. This must be set in the native layer.

I used Bugsnag with React Native,
I try to set maxBreadcrumbs to 100 for example and I get a warning:
React-Native [bugsnag] Cannot set "maxBreadcrumbs" configuration option in JS. This must be set in the native layer.
my code:
 Bugsnag.start({
    maxBreadcrumbs: 40
  })

Versions:

react-native: 0.61.5

@bugsnag/react-native: 7.9.5

Hey @idanlevi1 👋 , that's expected behaviour. The maximum breadcrumb value is set in the native layer, not on the JavaScript side: https://docs.bugsnag.com/platforms/react-native/react-native/configuration-options/#maxbreadcrumbs
Here's how it's done:

on Android: https://docs.bugsnag.com/platforms/android/configuration-options/#maxbreadcrumbs, and
for iOS: https://docs.bugsnag.com/platforms/ios/configuration-options/#maxbreadcrumbs


Fix data race

Due to multiple gofuncs setting and checking the same error variable,

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: kyessenov
If they are not already assigned, you can assign the PR to them by writing /assign @kyessenov in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/assign @rshriram

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/hold

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [rshriram]
mixer/OWNERS [rshriram]
pilot/OWNERS [rshriram]
samples/OWNERS [rshriram]
security/OWNERS [rshriram]
tests/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
7fd0b3298b5225e7ce22b55737d3684ce9d3186d
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
7fd0b3298b5225e7ce22b55737d3684ce9d3186d
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
7fd0b3298b5225e7ce22b55737d3684ce9d3186d
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
404f5fd4f2f6ce948f7598520acdabc861462df4
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
7fd0b3298b5225e7ce22b55737d3684ce9d3186d
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
7fd0b3298b5225e7ce22b55737d3684ce9d3186d
link
/test istio-integ-local-tests

prow/istio-presubmit.sh
7fd0b3298b5225e7ce22b55737d3684ce9d3186d
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Support install namespace on cert-policy-controller

Relates:
https://issues.redhat.com/browse/ACM-11331

/cherry-pick release-2.11


Merge to264 gcp

See detailed description in the commit message.

We still have a debate wether we should allow the SdxUpgradeDatabaseServerTests in our suites since it has problems on 2.64 where it was introduced and never run previously because of the wrong suite file.
http://ci-cloudbreak.eng.hortonworks.com/job/api-longrunning-e2e-gcp/1625/testngreports/com.sequenceiq.it.cloudbreak.testcase.e2e.sdx/SdxUpgradeDatabaseServerTests/testSDXDatabaseUpgrade/


Rewrite test_with_folder in test_nc2mmd_script

https://github.com/metno/py-mmd-tools/blob/ac52a1f146ef2abaa43dce8b739b2dd75917875b/tests/test_nc2mmd_script.py#L152
Tests whether reference_nc.xml has been created, because reference_nc_copy.xml is supposed to fail (Repeating IDs)
Different file systems will order these files differently, so this will fail on some filesystems.
The tests should either test for existence of only one of the files in folder or be rewritten in some other way.

Already solved in another issue


procs: 0.10.1 -> 0.10.3

Motivation for this change
https://github.com/dalance/procs/releases/tag/v0.10.3
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 87585 1

1 package built:
- procs


docs: reflect new state of CD in readme

What does this change?
updates readme to match latest CD process

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


setValue with value url will error

Problem
When you want to give the url value to the APP_URL key or another key with the url value the results in the env file will be different.
Example
For example, you want to fill in the value https://google.com but the result in env file will be https\://google.com.
Cause
Once I see in the code it is caused by return preg_quote($value); in line 143 of file Env.php.
My Temporary Solution
I change code from return preg_quote($value); to return $value;.
I'm sorry if my English is bad and this is the first issue I raise 🙏

i have the same problem

This is in progress. Thanks for reporting.


Adding alert notifications

Adding alerts to each of the create, scale, and delete operations.
Also moved the operations from a factory into the controller so
that $scope would be available.  Additional alerts should be added
for the possible negative cases at some point.

lgtm


Error in plot

When moving plots to another disk and it keeps reporting errors for moved plots.
This is possibly a caching problem and could lead to duplicate or bad proofs being solved.
Current workaround is to restart your harvester:
drchia start harvester -r

You can use a script that changes the .drplot extension when moving.


Added an option to log to the console with colors depending on the log level

closed since I messed things up badly. I'll just recreate it


[fix] sys site_impoty file replace_html_with_url

Coverage decreased (-2.7%) to 82.192% when pulling b4f9b7460106f6c0ebf219ef3ed58d7ed7eb3428 on fix-site-import-file-url into 706701cd79ab07daadd6570099ce5b07f63206a2 on master.


WMTSCapabilities class is not parsing valid XML

Describe the bug
I am integrating a WMTS layer into our existing web app using OpenLayers. When I use the specific URL that we are fetching the xml from, it does not parse the document, even though I've verified that the xml is valid. I've switched the URL with another and it parses the document with no issue. I've compared the two xml documents and there isn't a glaring difference.
To Reproduce
###xml and code that is not working:
https://gist.github.com/wwwhatley/9bb0f89392618c8c6a18a952cac5648b
const parser = new WMTSCapabilities();       fetch(         // url       )         .then((response) => {           console.log(response, "res");           return response.text();         })         .then((text) => {           const result = parser.read(text);           console.log(text, result, "HERE");         const options = optionsFromCapabilities(result, {             layer: "test_layer",           });
The console.log for text returns the valid xml document linked in the gist above. The console.log for result only returns {version: "1.0.0" and nothing else.
Meanwhile, replacing the URL with another resource does in fact return the correct result with additional keys.
Not sure what I'm missing here.
Expected behavior

I should be able to parse the valid xml document attached in the gist and pass to optionsFromCapabilities

The xmlns url in your xml file is with https protocol, but the WMTSCapabilities parser expects http.
https://github.com/openlayers/openlayers/blob/9f7630b1f3e0c9d3c6b5c6fc26ca5b508582caad/src/ol/format/WMTSCapabilities.js#L17-L27

The xmlns url in your xml file is with https protocol, but the WMTSCapabilities parser expects http.
https://github.com/openlayers/openlayers/blob/9f7630b1f3e0c9d3c6b5c6fc26ca5b508582caad/src/ol/format/WMTSCapabilities.js#L17-L27

@MoonE wow! Thank you so much, this worked. Struggled for quite some time here.


open interface of Validator.removeAllRules() and Validator.getValidationListener()

Hi @ragunathjawahar , in case where adding/removing views dynamically, multiple Validator objects may be created, one for static views, others for dynamic views, and multiple ValidationListener are created. For validators of dynamic views, the Validator.removeAllRules() or Validator.getValidationListener() is useful

Could you please show some code?

thanks, at last I have to use a hack way to  that, but it works


refactor: reduce complexity in parse.go

With inline environments, I introduced quite a bit of complexity to the code base. This is a first attempt at trying to
reduce the complexity.
I've observed this pattern in https://github.com/grafana/cortex-tools/blob/master/pkg/rules/parser.go#L27-L37

Named funcs,  much clearer.
Why though use a string and a switch? You could just pass in the function itself. The callers wouldn't notice the change from string to func, no?

@Duologic it is not documented at the moment, but I usually refer to pkg/tanka as api in conventional commits scope, so this PR would be refactor(api): redurce ..., and I'd even suggest refactor(api): Evaluators


8.5.0 requires a peer of<EMAIL_ADDRESS>

Getting this error using  "react-dom": "^16.0.0"
<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.)

Currently, there're some issues with React 16. See #640

This is half year later, any update?


Update text styles when style prop changes

closes #384
@mrtnzlml Please verify that this does not break any intended functionality of the Text component.

Integrated, thanks.


Depth-first Search (DFS) Python

Title: Depth-first Search(DFS) in Python
Directory: Graph
Name: Satyam Tripathi

Define You:

[X] Hacktoberfest2022 Participant
[X] Contributor

Problem: Write to Program in Python to implement Depth-first search in a graph.
Input:
graph = {
        0: [2],
        1: [2, 3],
        2: [0, 1, 4],
        3: [1, 4],
        4: [2, 3]
    }

Output:
Depth-first search: [0, 2, 1, 3, 4]

@prathimacode-hub Please assign me this issue, I'll be contributing as a Hacktoberfest 2022 participant.

Issue assigned to @Iamtripathisatyam


fix(inputs): add type button on material theme

Relative to #15

Hey, thanks for the PR, I'd fixed this before you put it up but had no Internet to upload it for the last week. It's in the new patch.

No problem, thanks for your feedback.
Great project, btw :)


Adapt PBD solver 2.0.1

I found there are alot API changes in PBD 2.0.1. In SPH code, PBDWrapper is releated to such modification.
#167  only fix the link with old pbd code. how can I fix it to adapt this new pbd solver?

That is a good point. I just recognized that the PBD version SPlisHSPlasH uses is not up-to-date. I will put this on my todo list.

I just updated to the new PBD version.


I use Docker install confluence ,then I want to config emailServer. But I don't find server.xml file??

I use
docker run -d --name confluence \
--link postgres:postgres \
-p 80:8090 -p 8091:8091 blacklabelops/confluence

install confluence. I very like it because it's very simple to install.
I want to config emailServer, find server.xml isn't in volume/*/_data/ dir . where server.xml ?? I wan't to modify it, thanks

Hello aircjm,
How do you configure the email server inside the server.xml? Can you give me an example?
The server.xml is inside the directory /opt/atlassian/confluence/conf.

very thanks for feedback.
https://confluence.atlassian.com/doc/setting-up-a-mail-session-for-the-confluence-distribution-6328.html
But I not fand the server.xml file in my VPS.

thanks

The data is written on a docker-volume with the path i mentioned. The data is not written in the named path on your host.
You can either inspect the container and check where docker writes the container volume on your host:
$ docker inspect confluence

or you can enter the container and change into the directory from inside the container:
$ docker exec -it confluence bash
$ cd /opt/atlassian/confluence/conf

very thanks. @blacklabelops


Added ability to trace CPU frequencies with perf

Perf already reports CPU frequency through CBR (core-to-bus ratio) events. In this PR, I process these events and create a Counter track in the trace file which will show up in Perfetto. It seems to work as expected and I am able to get the CPU to downclock by using AVX instructions and generally I can see the demo just oscillate close to it's max clock speed.
A few things to note:

There are two power events that get outputted by perf when I enable them through perf script. This gives psb and cbr events. I ignore the psb events (they are a heartbeat like event), but do recognize them along with cbr which we are interested in. I'm not sure if there are examples where CBR events do not give us full information on the CPUs frequency transitions and perf does allow more information to be collected, so it's possible there can be more information of use to us.
I changed the abstraction about events from Perf to allow different types of Events, i.e. Power.
Perfetto was also changed slightly to ensure this doesn't fail an assert because Perfetto seems to say lastValues[0] = 0 for the counter track, see here.
It displays above the thread it corresponds to in Perfetto (and will show one for every thread). The naming is set to 'CPU:freq (MHz)' which looks a little awkward, but was the default behavior from Perfetto. You can also toggle Perfetto to show different scales, for example min - max instead of from 0.
In order to enable this, you pass -trace-power right now. It might be reasonable to enable it by default, but this is how I currently set it.

@Xyene I removed the flag and the PR should be merge-able.


DP-1.4: Need to create forwarding groups prior to using them in a classifier

Forwarding groups need to be created before being referenced in a classifier. DP-1.4 currently configures the classifier and adds the forwarding groups (referenced in the classifier) later. This pull request is to switch the sequence and ensure that the forwarding group is created prior to the creation of the classifier that references the groups.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.219%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1181

Relevant Lines:
2064

💛  - Coveralls

@Hobbydos Do you see any big concerns for Nokia? Thanks.

This was a request from different TLs. With small changes in different PRs, expectations are that the review process is easy and faster. Also, smaller PRs help detach changes that are unrelated and non-impacting to other implementations and can be closed sooner.
for viz: @xw-g

This was a request from different TLs. With small changes in different PRs, expectations are that the review process is easy and faster. Also, smaller PRs help detach changes that are unrelated and non-impacting to other implementations and can be closed sooner.
for viz: @xw-g

I agree this change is appropriate per gnmi specification on modifying state.
It is ok to merge #1100 first.

/gcbrun

re: @xw-g

Do you see any big concerns for Nokia? Thanks.

this change seems reasonable to us

/gcbrun


[Q] How to use local controller?

Hi, since I cannot find documentations on local controller, how can i use local controller? is there any documentations?
Thanks a lot for developing great software!

And I have a question on sweep with random , without replacement.
the feature is requested in this issue
https://github.com/wandb/wandb/issues/4682
and I also really need this feature, is there any progress or method to deal with this problem?


OCM-10374 | fix: Add Limited Support Reason Override support

Right now we have new override parameters in the LSR so we can keep the LSR visible to the SRE but it can be overriden when there is support exception. The cluster status shows only active LSR, without the override.
Depends on: https://github.com/openshift/rosa/pull/2350

Moving to draft as it is depends on: https://github.com/openshift/rosa/pull/2350

If the reason is overridden should we expose to customer at all? Would he care if it shouldn't affect the cluster?

I have updated the MR to only show the active limited support reasons

LGTM

As this change does not require the SDK bump, removing the draft.

/ok-to-test

@gdbranco could you ptal once more/ merge it if possible?

/approve
/lgtm


Does it work with Xcode 9 Beta?

Yes. I'm using it on some stuff atm.
If you install via Cocoapods, make sure you do what's suggested here (if you run into build errors): https://github.com/garnele007/SwiftOCR/issues/83#issuecomment-310960509
Other than that, works just fine!


Give LoadObj's istream overload a default material reader implementation

LoadObj has an overload that takes a istream, however it also takes a MaterialReader* readMatFn parameter that has no default value. There is an implementation provided in tinyobjloader for this class, but it expects a filename, and opens the ifstream itself.
It is simple enough for me to build my own implementation (copy and paste the version that takes a filename, and modify a couple simple lines), but I think it would be convenient to provide a MaterialReader implementation that takes an existing istream. It would also be convenient to make the default value NULL, the way that LoadObjWithCallback already does, since LoadObj already handles the null case.
My use case is that I have built some slightly complex loading logic to find and open a file stream, and I pass that stream into my resource loaders so they can do their job. This lets me centralize search paths logic, and allows me to abstract my stream sources so that I can do automated testing without touching the filesystem.

LoadObj interface is a bit old and has a room for the improvement.

It would also be convenient to make the default value NULL

My use case is that I have built some slightly complex loading logic to find and open a file stream, and I pass that stream into my resource loaders so they can do their job. This lets me centralize search paths logic, and allows me to abstract my stream sources so that I can do automated testing without touching the filesystem.

Interesting. Do you have a pseudo code of this? PR is also appreciated.

That last paragraph is my own code, and wouldn't be generically useful in the context of this library. Just wanted to give a clear rationale for a fix to tinyobjloader.
Since you asked for pseudocode for that bit, I'll throw up some strawman executable pseudocode (python). My real thing is C++ and Lua, but this could theoretically exist too :)
# in unit tests...
import StringIO

def test_obj_file_loader_works_at_all(self):
    test_obj_data = '... some vertices and junk'
    fake_obj_file = StringIO.StringIO(test_obj_data)
    mesh = ObjFileResouce.load(fake_obj_file)
    self.assertEqual(len(mesh.vertices), 45)

# in generic resource loading code...
function load_resource(resource_type, filename):
    paths_to_try = [
        'base_game_path/' + filename,
        'installed_mod_path/' + filename,
        'user_home_dir_mod_path/' + filename]

    for path in paths_to_try:
        if file.exists(path):
            file_stream = file.open(path)
            return resource_type.load(file_stream)

    raise 'could not find resource: ' + filename

PR is also appreciated.

Check back in a few minutes.

That last paragraph is my own code, and wouldn't be generically useful in the context of this library

I see. Anyway thanks for pseudo code.
Also thanks for PR. I've merged it.


Application for Dapr community manager (Alex)

Hi, friends! 👋
It is my absolute pleasure to be able to proudly submit my self-nomination for the Dapr Community Manager role.
🏖 "Aren't you busy enough, Alex?"
Besides my appreciation for Dapr ever since I first learnt about it in 2019 (same year I delivered my first Dapr talk, at CloudBrew in Belgium) and my support for the technology, product and team, I am an avid developer and advocate constantly ensuring it is encompassed in most of the products my team and I are responsible for.
It should come as no surprise that one of my most viewed conference video-recordings is on Dapr (my talk at dotnetdays in February 2020, when in-person events were still a thing).
All of these, as well as my advocacy for Dapr and generally-speaking, well writen code, made me believe that the Community Manager role is not only a role I'd pursue, but also one that would fit me perfectly.
😎 What recommends me for the role?
By the time of this writing, there are already three fantastic submissions for the role, all submitted by strong personalities and well respected authorities in the community. They've done more than anyone could ever ask for in terms of raising, fostering, and supporting a community. They deserve nothing than everyone's respect and I'm humble to know some of them personally and even call friends. As a community member and avid Dapr user I couldn't be happier with either of them representing Dapr as Community Managers.
Nevertheless, I strongly believe that my background as a Dapr developer and a seasoned distributed systems and messaging architect aid in the process of understanding the typical developer's pain points in context to Dapr's strong points. This, as well as my Microsoft MVP experience, helped me remain constantly engaged and has in turn helped others by having their questions answered.
Additionally, my experience overseeing and managing hundreds of diverse software development projects stand as proof of my ability to manage and delegate, as does Global Azure, a community-driven effort I am responsible for globally, alongside with other 6 amazing community members). Moreover, Global Azure helped me stay connected with thousands of cloud enthusiasts worldwide, among which some are also Dapr users.
Last but not least, my public speaking engagements (over a couple dozen conference presentations delivered in the last half-decade) recommend me as a person highly capable of building good networking and relationships. Additionally, my partnership with Microsoft Developer on supporting the community-driven effort of Learn Live proves yet again my ability to moderate a live-stream, remain engaged even in the most stressful situations and take quick decisions to ensure a high-quality spotless live presentation.
💬 Let's chat!
In the remaining months of 2023 I will deliver two more Dapr talks, one in Amsterdam (NL) at ESPC 23, and the other one in Mechlen (BE) at CloudBrew 2023. Should you be in the neighborhood, please stop by and say 'Hi' 👋.

relates to #396

Thank you for applying @iamalexmang! The Dapr STC will select the community manager end of December. I'll see you at CloudBrew :).


Remove sched_* internal variables

After discussing with @vkarak we are postponing this Reframe 3.2 when we will remove sched_partition as well.


About QUICK_START.md.

There's nothing in QUICK_START.md.

the same question.

the same question.


Mapl3/tclune/#2720 set geom

Types of change(s)

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist

[ ] Tested this change with a run of GEOSgcm
[x] Ran the Unit Tests (make tests)

Description
MAPL_SetGeom() should now work from user gridcomps.
Related Issue

Good news, the test ran. Bad news, the test failed...with a floating overflow. Perhaps a weird units issue?


Support partial indexes (partialFilterExpression, sparse)

What should be done?

https://www.mongodb.com/docs/v6.0/core/index-partial/#std-label-index-type-partial
https://www.mongodb.com/docs/v6.0/core/index-sparse/#sparse-indexes
https://www.postgresql.org/docs/current/indexes-partial.html

Yes, there should be an updated in a few months.

Hey @AlekSi,
It's been a few months, any updates on this one? :P
We're investigating trying to migrate Librechat away from Mongo.


Cthulhu familiar

The usual stuff, no ritual, no config, no guidebook entry.
Don't hit them or they'll be sad!

<333 this is the best one yet!

This little dude should make mobs around you tremble in fear (apply weakness) : D


Implementation of use case

Hi all,
this is more of a question than an issue. I cannot seem to wrap my head around the concept of use case (or interactor). Isn't use case just a wrapper class around one Repository function with some add-on functionalities such as thread handling + data transformations. Does this mean that if my project requires 100 API requests, there will be 100 classes of use cases?
Finally, thanks a lot in advance and a big thumbs up for your blog.

If the only task of your use case is to retrieve some data, yes it would like seen as you say. But there will be other times where your use case will require some validations, transformations, it might as well initialize a service in other layer, trigger some events.
An interactor should contain your business logic. You should be able to know what does your app does by seeing only your interactors.
You might want to read this thread


Add integration test against a dummy rails app

Add an integration test to cacheable, to be merged after #22, since this test will fail without that change (this PR includes the change, but I want to keep the separate).
@kirs @Shopify/byroot

I don't see the dummy Rails app. Is this in the works?

Ugh, I fail at git. Fixed.

Added a restriction on rails > 4.2


Filter serivce by name

An easy way to have a filter for large teams, would be to add a query parameter, like
?q=foo
this should then only display all services with "foo" in the name.

This has been implemented.
You can have a partial match like this
...domain.example/?app=buy-art
...domain.example/?team=search
Or even combine them.


Add Issue templates

Add Issue templates. Microsoft's Playwright has good ones to modify and use.

Closed by #9


Shibboleth - user input for cluster roles gets cleared, not allowing to add users manually

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Install Rancher 2.4 master-head (02/19/2020) commit id: e11d47814
Enable Shibboleth with OpenLDAP
Add a user and a group as cluster owners
Disable Shibboleth
Re-enable Shibboleth without OpenLDAP (OpenLDAP search will be disabled)
Login as a user in step 3.
Try to add a user search to LDAP won't work but we should be able to add an arbitrary username.

Result:
The dropdown input field for User/Group gets cleared out when trying to select the Cluster Role.
This doesn't happen with others SAML providers like Keycloak which allows us to add usernames manually (not selected from dropdown).
Other details that may be helpful:
Errors/warnings in Rancher logs
2020/02/19 21:30:52 [ERROR] Unknown error: invalid server config. only exactly 1 server is currently supported
2020/02/19 21:31:54 [WARNING] ldap search principals failed to connect to ldap: invalid server config. only exactly 1 server is currently supported

Environment information

Rancher version: 2.4 master-head (02/19/2020) commit id: e11d47814
Installation option (single install/HA): single

After further testing this also happens if we setup Shibboleth without OpenLDAP. There's no need to disable and re-enable to reproduce.

https://github.com/rancher/rancher/pull/25489

https://github.com/rancher/rancher/pull/25489

This is no longer reproducible in Rancher version 2.4 master-head (02/21/2020) commit id: 264d9235b
I was able to add users and groups when the Shibboleth is not configured with OpenLDAP search now.