All the mentor profile photos point to the same url.

Describe the bug
A clear and concise description of what the bug is.
All the mentor profile photos point to the same URL in the readme.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://github.com/vinitshahdeo/Water-Monitoring-System/blob/master/README.md'
Scroll down to 'Mentors' and hover on the mentor profile photos.
See error

Expected behavior
A clear and concise description of what you expected to happen.
Every mentor's photo should point to the contributor's own profile.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Any other suggestions for the readme are most welcome. Please make a PR to feature/documentation section for the readme related changes.

May I contribute to this please?

I want to contribute to this issue. I just need all mentor's profile URLs.

Can you please assign me this?

I have done that as mentioned in the issue and here is the PR #253

@PragatiVerma18 can you assign me to this issue?

The mentor profiles in the readme can be found here: https://github.com/vinitshahdeo/Water-Monitoring-System/graphs/contributors

I want to work on this...please assign me

@pcelis2 please make a PR and if you have made a PR, please provide me with the link. Your changes are correct, I will merge them.
Make a PR to feature/documentation branch.

I want to work on this...please assign me

Sorry @deepdarshan21 this issue is already assigned to @pcelis2. You can try some other issue.

@PragatiVerma18 Sorry, I thought I did a push request. I don't know how to locate the file. I am going to just do the problem over again and try to push again.

@PragatiVerma18 here is the new pull request

@nandikajain can I work on this issue?

@AbhipsaGuru1012  Assigned.

@nandikajain I have made a pull request to 'feature/documentation' section. Please review and suggest if some changes are needed

@nandikajain I have made a pull request to 'feature/documentation' section. Please review and suggest if some changes are needed

Can you refer to this PR here?

@nandikajain I have made a pull request to 'feature/documentation' section. Please review and suggest if some changes are needed

Can you refer to this PR here?

@nandikajain https://github.com/vinitshahdeo/Water-Monitoring-System/pull/349 this is the PR that I have created, please let me know if this is okay


Change Intrinsic parameters to fit with own camera

Hey!
Is it possible to change intrinsic parameters to fit with your own camera? Or is the model not affected by it?

Yes, if you want to train the network on a new dataset, you can just reimplement the function to read the camera intrinsic.
https://github.com/EryiXie/PlaneRecNet/blob/cea1e8b1edf054f59e15891fa799cdcc5feda72d/data/datasets.py#L174
But for inferencing with any data samples, the camera intrinsic is not asked to be given. However, rumors said neural networks learn the camera parameters implicitly if trained for monocular depth estimation in the most vanilla ways, and therefore they can not generalize well for other camera models.


Localization & Output Caching

From @hishamco on Wednesday, June 24, 2015 11:31:06 AM
I'm wondering if the Output Caching will block the localization APIs from retrieving the right values for the current culture, or shall we need sort of VaryByCustom to update the correct values based on the current culture
/cc @DamianEdwards
Copied from original issue: aspnet/Localization#40

Thanks for contacting us. We're closing this issue as there was no community involvement here for quite a while now.

This issue from the first days of DNX :) no problem if it's closed, while there's a caching mechanism built in the localization APIs


Fix for WFCORE-5447, Upgrade galleon-plugins to 5.2.0.Final

Issue: https://issues.redhat.com/browse/WFCORE-5447

@jfdenise thanks


Documentation: Obsoleting classes

we need a page just for obsoleting a class, one for merging (or maybe combine both) and a very separate section for using git (ie merging in git)

we have documenation on this


Merge pull request #110 from MicrosoftDocs/master

Merge pull request #109 from MicrosoftDocs/live

OPS Build status updates of commit 204a3ff:
:white_check_mark: Validation status: passed
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.


CO, CT, FL, GA, IL, IN, LA, MN, MO, NC, OH vacancies

State: CO, CT, FL, GA, IL, IN, LA, MN, MO, NC, OH
The following divisions (districts) appear in old posts of legislators, but do not show in the chamber's currentMemberships.  This usually means that they are or were recently vacant.  In my sampling, about half were already filled as of 12 Feb 2019.  A few are missing without any obvious explanation.
CO

ocd-division/country:us/state:co/sldl:52

CT

ocd-division/country:us/state:ct/sldu:3
ocd-division/country:us/state:ct/sldu:5
ocd-division/country:us/state:ct/sldu:6
ocd-division/country:us/state:ct/sldl:39
ocd-division/country:us/state:ct/sldl:99

FL

ocd-division/country:us/state:fl/sldl:7
ocd-division/country:us/state:fl/sldl:97

GA

ocd-division/country:us/state:ga/sldl:176
ocd-division/country:us/state:ga/sldl:5

IL

ocd-division/country:us/state:il/sldl:26
ocd-division/country:us/state:il/sldl:16

IN

ocd-division/country:us/state:in/sldl:7

LA

ocd-division/country:us/state:la/sldl:47
ocd-division/country:us/state:la/sldl:17
ocd-division/country:us/state:la/sldl:62
ocd-division/country:us/state:la/sldl:27
ocd-division/country:us/state:la/sldl:26

MN

ocd-division/country:us/state:mn/sldu:11

MO

ocd-division/country:us/state:mo/sldl:158

NC

ocd-division/country:us/state:nc/sldu:7

OH

ocd-division/country:us/state:oh/sldl:97

most of these appear vacant.. but worth looking over

@jamesturk Could you take a look at the two I added for IL, see if I'm missing anything?  https://github.com/openstates/people/pull/132

CA Senate district 1 and 33 are also vacant but currently showing incorrect representatives.

latest vacancies fixed in @schneidy's PR, closing this in favor of specific issues as they arise 👍


Ask about detail of token training in paper?

I want to ask about number token using for training in Annealing Phase? I carefully check number token in this phase, but in the paper, not mention, so I want ask about number token raw text high quality you used, and number instruction sample you use in phase Annealing?
tks you for good paper, It's help me so much.

Thanks for your attention. In total we train 1.1T token, where in the decay it takes 0.1T token, and in the sft, it takes around 6B tokens (we do not count the number of instruction samples).


mask post-processing

Hi Xuebin, I implement a mask post-processing by c++ to retain the segmentation detail, but perhaps it only has good performance on sky-segmentation。thanks for your kind help in my model training.
https://github.com/xiongzhu666/Sky-Segmentation-and-Post-processing

Looks really impressive. Since I am currently busy with our newer version model and dataset, I will add your awesome results in the readme in the next few weeks. I think your works will be inspiring to many people in different fields. Best regards, On Fri, Oct 29, 2021 at 6:53 AM xiongzhu666 @.> wrote:
…
Hi, xiong, Thanks for your interests and awesome works. Your dataset and results look really impressive. BTW, do you mind that I include some of your figures and your github link in the readme of our U^2-Net repo ? I think it probably good for advertising your product and repo. In addition, our next version U^2-Net and a new great dataset are almost there. We will release them in the near future. If you are interested, please be aware of our updates. All the best, Xuebin … <#m_-347751780870611050_> On Wed, Oct 27, 2021 at 7:04 AM xiongzhu666 @.> wrote: Hi Xuebin, I implement a mask post-processing by c++ to retain the segmentation detail, but perhaps it only has good performance on sky-segmentation。thanks for your kind help in my model training. https://github.com/xiongzhu666/Sky-Segmentation-and-Post-processing — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#262 <#262>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORK3C7547NZJWU6LOBTUI5T47ANCNFSM5GZH4P7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . -- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/ some funny application, : ) [image: fun1] https://user-images.githubusercontent.com/52955431/139365803-faf02744-bd55-4f30-bbd3-9203f2bfd301.png — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#262 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORIC3F4NTBWKZUIRULTUJIEB5ANCNFSM5GZH4P7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/

Hi Xuebin, wait for your new version. in addition, I have some question to ask you:

the u2netp is much smaller than u2net, but the interence speed doesn't increase obviously. the reason is that the struct of network is nested？？？
Can you recommend any other high-speed networks ( for example Mobilenetv2+Unet??)，I want it can interence in real-time in mobile device.

Best regards

Hi, Xiongzhu,
Sorry for the late reply. We were very busy with the cvpr22 submission in
the past weeks.
We just got time for updating our Readme file. Your repo for sky
segmentation has been listed there.
https://github.com/xuebinqin/U-2-Net/blob/master/README.md

the u2netp is much smaller than u2net, but the interence speed doesn't
increase obviously. the reason is that the struct of network is nested？？？
Can you recommend any other high-speed networks ( for example
Mobilenetv2+Unet??)，I want it can interence in real-time in mobile device.
RE:  You can give it a try. The bottleneck of U^2-Net and U^2-Net is not
from the model size, but the depth.
Both our models have very deep architectures, which impedes the real-time
performance on some of the hardwares. But some other researchers and
developes converted them into ONNX or tensorlithe and then they are able to
run on CPU and cellphones. I am not quite sure about the conversion. You
can google it. Shouldn't be that complicated.
As for the real-time segmentation models, this repo
https://github.com/YuvalNirkin/hyperseg could be a possible
alternative(CVPR2021). You can also find some counterparts from their
paper.

Best of luck,
On Sat, Oct 30, 2021 at 8:54 AM xiongzhu666 @.***>
wrote:

Looks really impressive. Since I am currently busy with our newer version
model and dataset, I will add your awesome results in the readme in the
next few weeks. I think your works will be inspiring to many people in
different fields. Best regards, On Fri, Oct 29, 2021 at 6:53 AM xiongzhu666
@.
> wrote: … <#m_4808286652383061102_> Hi, xiong, Thanks for your interests
and awesome works. Your dataset and results look really impressive. BTW, do
you mind that I include some of your figures and your github link in the
readme of our U^2-Net repo ? I think it probably good for advertising your
product and repo. In addition, our next version U^2-Net and a new great
dataset are almost there. We will release them in the near future. If you
are interested, please be aware of our updates. All the best, Xuebin …
<#m_-347751780870611050_> On Wed, Oct 27, 2021 at 7:04 AM xiongzhu666 @.>
wrote: Hi Xuebin, I implement a mask post-processing by c++ to retain the
segmentation detail, but perhaps it only has good performance on
sky-segmentation。thanks for your kind help in my model training.
https://github.com/xiongzhu666/Sky-Segmentation-and-Post-processing — You
are receiving this because you are subscribed to this thread. Reply to this
email directly, view it on GitHub <#262
https://github.com/xuebinqin/U-2-Net/issues/262 <#262
https://github.com/xuebinqin/U-2-Net/issues/262>>, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORK3C7547NZJWU6LOBTUI5T47ANCNFSM5GZH4P7Q
. Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
. -- Xuebin Qin PhD Department of Computing Science University of Alberta,
Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/
some funny application, : ) [image: fun1]
https://user-images.githubusercontent.com/52955431/139365803-faf02744-bd55-4f30-bbd3-9203f2bfd301.png
— You are receiving this because you were mentioned. Reply to this email
directly, view it on GitHub <#262 (comment)
https://github.com/xuebinqin/U-2-Net/issues/262#issuecomment-954367012>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORIC3F4NTBWKZUIRULTUJIEB5ANCNFSM5GZH4P7Q
. Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
-- Xuebin Qin PhD Department of Computing Science University of Alberta,
Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/
Hi Xuebin, wait for your new version. in addition, I have some question to
ask you:

the u2netp is much smaller than u2net, but the interence speed
doesn't increase obviously. the reason is that the struct of network is
nested？？？
Can you recommend any other high-speed networks ( for example
Mobilenetv2+Unet??)，I want it can interence in real-time in mobile device.

Best regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xuebinqin/U-2-Net/issues/262#issuecomment-955148155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORLOAK5SP3EHGANCFZDUJN3ARANCNFSM5GZH4P7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage:https://webdocs.cs.ualberta.ca/~xuebin/

Hi, Xiongzhu, Sorry for the late reply. We were very busy with the cvpr22 submission in the past weeks. We just got time for updating our Readme file. Your repo for sky segmentation has been listed there. https://github.com/xuebinqin/U-2-Net/blob/master/README.md 1. the u2netp is much smaller than u2net, but the interence speed doesn't increase obviously. the reason is that the struct of network is nested？？？ 2. Can you recommend any other high-speed networks ( for example Mobilenetv2+Unet??)，I want it can interence in real-time in mobile device. RE: You can give it a try. The bottleneck of U^2-Net and U^2-Net is not from the model size, but the depth. Both our models have very deep architectures, which impedes the real-time performance on some of the hardwares. But some other researchers and developes converted them into ONNX or tensorlithe and then they are able to run on CPU and cellphones. I am not quite sure about the conversion. You can google it. Shouldn't be that complicated. As for the real-time segmentation models, this repo https://github.com/YuvalNirkin/hyperseg could be a possible alternative(CVPR2021). You can also find some counterparts from their paper. Best of luck, On Sat, Oct 30, 2021 at 8:54 AM xiongzhu666 @.***> wrote:
…
Looks really impressive. Since I am currently busy with our newer version model and dataset, I will add your awesome results in the readme in the next few weeks. I think your works will be inspiring to many people in different fields. Best regards, On Fri, Oct 29, 2021 at 6:53 AM xiongzhu666 @. > wrote: … <#m_4808286652383061102_> Hi, xiong, Thanks for your interests and awesome works. Your dataset and results look really impressive. BTW, do you mind that I include some of your figures and your github link in the readme of our U^2-Net repo ? I think it probably good for advertising your product and repo. In addition, our next version U^2-Net and a new great dataset are almost there. We will release them in the near future. If you are interested, please be aware of our updates. All the best, Xuebin … <#m_-347751780870611050_> On Wed, Oct 27, 2021 at 7:04 AM xiongzhu666 @.> wrote: Hi Xuebin, I implement a mask post-processing by c++ to retain the segmentation detail, but perhaps it only has good performance on sky-segmentation。thanks for your kind help in my model training. https://github.com/xiongzhu666/Sky-Segmentation-and-Post-processing — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#262 <#262> <#262 <#262>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORK3C7547NZJWU6LOBTUI5T47ANCNFSM5GZH4P7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . -- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/ some funny application, : ) [image: fun1] https://user-images.githubusercontent.com/52955431/139365803-faf02744-bd55-4f30-bbd3-9203f2bfd301.png — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#262 (comment) <#262 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORIC3F4NTBWKZUIRULTUJIEB5ANCNFSM5GZH4P7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . -- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/ Hi Xuebin, wait for your new version. in addition, I have some question to ask you: 1. the u2netp is much smaller than u2net, but the interence speed doesn't increase obviously. the reason is that the struct of network is nested？？？ 2. Can you recommend any other high-speed networks ( for example Mobilenetv2+Unet??)，I want it can interence in real-time in mobile device. Best regards — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#262 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORLOAK5SP3EHGANCFZDUJN3ARANCNFSM5GZH4P7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/

Xuebin, really thanks for your kind suggestion and I am very concerned and look forward to your future work :)
best regards


General code cleanup

Filenames should be standardized.
Consider removing SPI files and just leaving stubs that could be used later if desired.
Consider consolidating the user-edited files into one.
Read up on what's required to make an Arduino library.
Decide whether to convert to C++ or leave as (mostly) C.
Define an interface to outside world - one that will be compatible with SensESP.

Regarding the above tasks:

[x] Filenames should be standardized.
[x] Consider removing SPI files and just leaving stubs that could be used later if desired.
[no] Consider consolidating the user-edited files into one. Decided to keep functions grouped by purpose.
[no] Read up on what's required to make an Arduino library.  Will open separate issue later.
[no] Decide whether to convert to C++ or leave as (mostly) C. Decided to leave as C.
[x] Define an interface to outside world - one that will be compatible with SensESP. Will modify the interfaces in control_output.*

Will close this issue now. Code functions. Will plan to do future refactoring as needed. The current file structure will be documented on the Wiki.


allow whitelisting of types

In CockroachDB, we have a special type NoCopy https://github.com/cockroachdb/cockroach/blob/master/pkg/util/nocopy.go which is never used, but exists to allow go vet to catch us in the act of making copies of structures which are not intended to be copied. It would be good to ignore this type without ignoring every file in which it is used.

We might special case the "no copy" kind of type for now. That will require no UI changes and matches a vet check. Any empty struct with an empty Lock method and no other methods will be unlikely to cause false positives.

Seems subtle, but I'm OK with it if you are. Also, I assume you mean false negatives.

Well, in the overall context yes, false negatives. Accidentally matching a type as a "no copy" type, at any rate.

Issue has been migrated to https://github.com/dominikh/go-tools/issues/214


Validation fixes

Fix to #1570

Thanks for offering these changes @TBK.
I like the standardising on a single image rules validation message, I can only think it's a mistake that I've left it in two places. We should probable remove the method from the ImageRepo completely to stop future duplication.
In regards to the other changes, Have you figured out exactly what these fix? I'd rather not touch the rules unless I can understand what they fix, even if only to be able to write tests for to prevent happening again.

The "$request->filled()" checks if the http request contains the value and that is not null/empty.
nullable allows the field to be empty on validation.
With my setup without the changes I can not change the app logo, profile picture or create a shelf/book without an image.

I have changed $request->filled()  to  $request->hasFile() to check if the http request contains a file.
nullable allows the field to be empty on validation.
With my setup without the changes I can not change the app logo, profile picture or create a shelf/book without an image.
I have also removed the getImageValidationRules from ImageRepo.

Thanks again @TBK for these updates.
Have given them a test on my environment and all seems good. I do try to cover any back-end issues with automated tests but, since these issues only occurred in a specific environment, I have been unable to do that here so BookStack on your environment may be a little less stable than others as changes are made but I'm happy to support such updates as this where needed.

Forgot to say, These have been merged into master to be in the next patch release.


VSCode integration with Initializr

Investigate how we can integrate our API with VSCode.

VSCode and Spring Initializr:  https://github.com/microsoft/vscode-spring-initializr


"The Process cannot access the file because it is being used by another process", file being a temporary file created by the process

SublimeLinter: error in SublimeLinter daemon:
SublimeLinter: --------------------
SublimeLinter: Traceback (most recent call last):
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 57, in loop
    item = self.q.get(block=True, timeout=self.MIN_DELAY)
  File "./python3.3/queue.py", line 175, in get
queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 65, in loop
    self.lint(view_id, timestamp)
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 111, in lint
    self.callback(view_id, timestamp)
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublimelinter.py", line 119, in lint
    Linter.lint_view(view, filename, code, hit_time, callback)
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 929, in lint_view
    linter.lint(hit_time)
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1397, in lint
    output = self.run(cmd, self.code)
  File "linter in C:\Users\theif519\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter-contrib-gometalinter.sublime-package", line 44, in run
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1853, in tmpdir
    env=self.env)
  File "C:\Users\theif519\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\util.py", line 1245, in tmpdir
    line for line in out.split('\n') if filename in line.split(':', 1)[0]
  File "./python3.3/tempfile.py", line 716, in __exit__
  File "./python3.3/tempfile.py", line 699, in cleanup
  File "./python3.3/shutil.py", line 478, in rmtree
  File "./python3.3/shutil.py", line 377, in _rmtree_unsafe
  File "./python3.3/shutil.py", line 375, in _rmtree_unsafe
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'c:\\users\\theif519\\appdata\\local\\temp\\SublimeLinter3-theif519\\tmpducyxg'

Honestly, being trying to debug this problem for hours. I've researched the issue, and it seems no other user has these issues. I tried disabling the other linters, uninstalling and reinstalling potential problematic packages, upgrading python, etc. Nothing seems to work unfortunately.
The directory in question has full access to me (and this issue persists even when run as an administrator), so I do not know how this could occur. Funny thing is that it worked fine before, but I forgot what changed to cause this. Now, the other linter for other languages, C, are fine, but the language I am attempting to use it for, Go, causes issues.
I really need this to continue working, as linters are a god-send, and I don't want to install and use a separate IDE (as I use Sublime for everything).

Funny enough, if I spam requests to lint the view enough, it will eventually work.

I'm experiencing this same issue using SublimeLinter-contrib-gometalinter with Go files.

A workaround for me was changing lint mode from background to save/load.

Anyone have this issue recently?

Yes, I have that chain of exceptions in exceptions:

C:\Users\NAME\AppData\Roaming\Sublime Text 3
LOADING BOOKMARKS
reloading settings Packages/User/Preferences.sublime-settings
Exception in thread Thread-30:
Traceback (most recent call last):
File "./python3.3/shutil.py", line 523, in move
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\NAME\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package\package_control/package_manager.py", line 1506, in install_package
shutil.move(tmp_package_path, package_path)
File "./python3.3/shutil.py", line 536, in move
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'c:\users\NAME\appdata\local\temp\tmpsas2wp\SublimeLinter.sublime-package'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./python3.3/shutil.py", line 523, in move
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\NAME\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package-new'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./python3.3/threading.py", line 901, in _bootstrap_inner
File "C:\Users\NAME\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package\package_control/automatic_upgrader.py", line 117, in run
self.upgrade_packages()
File "C:\Users\NAME\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package\package_control/automatic_upgrader.py", line 305, in upgrade_packages
if self.installer.manager.install_package(package_name):
File "C:\Users\NAME\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package\package_control/package_manager.py", line 1509, in install_package
shutil.move(tmp_package_path, new_package_path)
File "./python3.3/shutil.py", line 536, in move
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'c:\users\NAME\appdata\local\temp\tmpsas2wp\SublimeLinter.sublime-package'

@hsandt is this during or after an update of SublimeLinter? It mentions SublimeLinter.sublime-package-new so it seems there are two instances of SL trying to do the same thing. Does the problem return after you restart Sublime Text?


unify classes and defaults in params definition

This PR harmonizes the definition of parameters to be in conformity with the miaverse standards.

Good to go

Can we merge this one? @antagomir

Changes after 15 October are not included in the new release. So it is good to go.

Great!


Application view. View working preferences answers

Now that it is possible for SETs to configure working preferences questions and for candidates to answer working preferences questions we need to enable SETs to view the candidate answers.
Working preferences are presented on the Application view.
Note: other tickets in this epic cover updating the reports and downloads with the new working preferences

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub

I have re-opened this ticket as recent tidying of the working preferences code has broken this functionality.
The main components to View answers to working preferences questions can be found in the following locations within apply/src (starter for 10 rather than exhaustive list):
Current solution

components/SelectionInput/View.vue

New solution

components/QuestionInput/QuestionInputView.vue

We need to:

[ ] Check which components we would like to use in Admin and move them to the JAC kit
[ ] Update admin to make use of said components
[ ] Simplify admin code (if possible) and remove any unused code from Admin
[ ] Remove any unused code from JAC Kit


DB setup error:  Ask unit is not included in the list, Bid unit is not included in the list

Hi.
Now I am trying to install Rubykube peatio project on Ubuntu.
While I run the command to setup database ("bundle exec rake db:setup"), then it causes an error like the followings.
rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Ask unit is not included in the list, Bid unit is not included in the list
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/validations.rb:79:in raise_record_invalid' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/validations.rb:43:in save!'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_methods/dirty.rb:29:in save!' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:291:in block in save!'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:351:in block in with_transaction_returning_status' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in transaction'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:220:in transaction' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:348:in with_transaction_returning_status'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:291:in save!' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/persistence.rb:51:in create!'
/home/Vinod/code/peatio/lib/tasks/markets.rake:10:in block (4 levels) in <top (required)>' /home/Vinod/code/peatio/lib/tasks/markets.rake:8:in each'
/home/Vinod/code/peatio/lib/tasks/markets.rake:8:in block (3 levels) in <top (required)>' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:220:in transaction' /home/Vinod/code/peatio/lib/tasks/markets.rake:7:in block (2 levels) in <top (required)>'
/home/Vinod/code/peatio/db/seeds.rb:5:in <top (required)>' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in block in load' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/railties-4.2.10/lib/rails/engine.rb:547:in load_seed'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:253:in load_seed' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:173:in block (2 levels) in <top (required)>'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/rake-12.3.1/exe/rake:27:in <top (required)>' /home/Vinod/.rvm/gems/ruby-2.5.0/bin/ruby_executable_hooks:15:in eval'
/home/Vinod/.rvm/gems/ruby-2.5.0/bin/ruby_executable_hooks:15:in `'
Tasks: TOP => markets:seed
I am not sure how I can fix this error.
Please let me know if you know the fix way.
Thanks.

You can try bundle exec rake db:migrate db:seed

Don't use db:setup, use bin/init_config && bundle exec db:drop db:create db:migrate db:seed.

When I did one by one:

bin/init_config
bundle exec db:drop
bundle exec db:migrate
Worked successfully so far.
But when I ran "bundle exec db:seed", another error was occurred, just like...

ActiveRecord::UnknownAttributeError: unknown attribute 'visible' for Market.
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:59:in rescue in _assign_attribute' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:53:in _assign_attribute'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:41:in block in assign_attributes' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:35:in each'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:35:in assign_attributes' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/core.rb:566:in init_attributes'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/core.rb:281:in initialize' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/inheritance.rb:61:in new'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/inheritance.rb:61:in new' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/persistence.rb:50:in create!'
/home/Vinod/code/peatio/lib/tasks/markets.rake:10:in block (4 levels) in <top (required)>' /home/Vinod/code/peatio/lib/tasks/markets.rake:8:in each'
/home/Vinod/code/peatio/lib/tasks/markets.rake:8:in block (3 levels) in <top (required)>' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transa                                                                                ction'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/transactions.rb:220:in transaction' /home/Vinod/code/peatio/lib/tasks/markets.rake:7:in block (2 levels) in <top (required)>'
/home/Vinod/code/peatio/db/seeds.rb:5:in <top (required)>' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in block in load' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/railties-4.2.10/lib/rails/engine.rb:547:in load_seed'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:253:in load_seed' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:173:in block (2 levels) in <top (required)>'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/rake-12.3.1/exe/rake:27:in <top (required)>' /home/Vinod/.rvm/gems/ruby-2.5.0/bin/ruby_executable_hooks:15:in eval'
/home/Vinod/.rvm/gems/ruby-2.5.0/bin/ruby_executable_hooks:15:in `'
Caused by:
NoMethodError: undefined method visible=' for #<Market:0x000055f0f439d880> /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activemodel-4.2.10/lib/active_model/attribute_methods.rb:433:in method_missing'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:54:in public_send' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:54:in _assign_attribute'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:41:in block in assign_attributes' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:35:in each'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/attribute_assignment.rb:35:in assign_attributes' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/core.rb:566:in init_attributes'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/core.rb:281:in initialize' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/inheritance.rb:61:in new'
/home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/inheritance.rb:61:in new' /home/Vinod/.rvm/gems/ruby-2.5.0/gems/activerecord-4.2.10/lib/active_record/persistence.rb:50:in create!'
So it tells me that there isn't any field named "visible" in markets table.
But in markets seed file (config/templates/seed/markets.yml.erb), there are "visible" items for every data.

You can check the migration file<PHONE_NUMBER>1828_create_markets.rb

What is the version?

I have just checked the migration file and current DB schema on MySQL.
I think that the migration file is in normality, but unfortunately there isn't any filed named "visible" in MySQL table.

Please use 1-8-stable. Everything is fine there.

Thanks for letting me know, Yivo.
One more question...  this Peatio works on Ubuntu 18.04 or 16.04 as well?

Use correct version of Peatio and DB. Closed.


Formalize processes for regularly upgrading website tools

This is a Feature Request
Currently there isn't a process or automation that covers upgrading the tools we use for the kubernetes.io website. Specifically Hugo and our theme Docsy.
What would you like to be added
We should determine a list of tools we need to keep updated, and then create a way to trigger updating the tools at an interval that makes sense for the project and maintainer bandwidth. Either by some automation or manually upgrading the tools
We should also make sure we have tool upgrade processes documented, especially any differences with the tools upgrade docs. (these could already exist, but i'm not sure where they are located so i included it here :) )
Why is this needed
Previously these kinds of updates were triggered by bugs in the tools. Ideally, we'd also have a way to upgrade when we want to to access new features or improvements.
Comments
Some related links:

Slack thread about this topic: https://kubernetes.slack.com/archives/C1J0BPD2M/p1663961513084469
Write up on upgrading hugo from the last time we upgraded: https://github.com/kubernetes/website/pull/23434

/priority important-longterm
/triage accepted

Thanks for filing this.

Heres a list of tools i found that should be things we should track to update regularly.

Hugo

Kubernetes/website version 0.101.0
Hugo latest versions:

Docsy

Kubernetes website version 0.2.0
Docsy latest version 0.6.0

Also included in the netlify.toml file:

NODE_VERSION = "10.20.0"
RUBY_VERSION = "3.0.1"

Based on looking at the history of the netlify.toml file, we update the Hugo version  about 2 times a year.
Based on the Docsy theme folder history, we have updated Docsy about 3 times a year, but this year have only updated it once in April.
For both Hugo and Docsy, this feels like a good cadence, to try and update them about 2 times a year and in the event of a security update.
We added the Ruby version to avoid netilfy builds slow-downs, https://github.com/kubernetes/website/issues/22229, but its not clear to me how we use Ruby. Similarly the node version was added to avoid build errors, https://github.com/kubernetes/website/pull/20963, but it's not clear to me why we need it. Based on looking at the file history, we have update the ruby version once since it was added in 2020, and we have never updated the node version since it was added in 2020. @sftim or @tengqm can you shed some like as to why we need Ruby or Node, and how frequently we should be updating them?

TBH, I have no idea why we need NodeJS or Ruby.

We could allow Netlify to use whatever version of Ruby and NodeJS it wants to provide.
https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/#installupgrade-nodejs explains that Node.js is required by Hugo (as a prerequisite for Docsy to work properly).
I don't think Ruby gets used anywhere.

We could allow Netlify to use whatever version of Ruby and NodeJS it wants to provide.

@sftim or @tengqm can you share some tips or ideas on how to test if we need to explicitly have NodeJS or Ruby in the build anymore?

Maybe we can start by comment out the RUBY_VERSION="3.0.1" line in netlify.toml and see if that works?

I created a PR with the Ruby version commented out, #39114 . The build appeared to be fine, and used the default ruby version 2.7.0.
I found a list of the default things installed in our build image, https://docs.netlify.com/configure-builds/available-software-at-build-time/#app The defaults are an older version of Ruby, 2.7.0, and newer version of node.js, 16.

What needs to happen next on this?

/lifecycle frozen

/triage accepted


Events blocking discriminator

Hello !
I wanted to make an event aggregator that would post an OnEverythingReady event when a collection of minor events such as OnViewsReady, OnConnectionReady, and say OnThatOtherAsyncTaskIsDone were all posted.
The OnEverythingReady event should only be posted once, when the last of the subscribed minor events is posted. The order of the minor events does not matter.
I made a test case, and then started hacking around, but I'm confused : is there no other way than the @Subscribe annotation to listen to an event ?
The test-case is as follows :

package org.give2peer.karma.test;

import org.give2peer.karma.EventAggregator;

import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.junit.Test;

import android.support.test.runner.AndroidJUnit4;
import org.junit.runner.RunWith;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

//
// /!\
// Configure this test to use, as instrumentation runner, the following class :
// android.support.test.runner.AndroidJUnitRunner
//

// These three events are posted in any order, and we want to react only when they are all posted.
class SubEventA {}
class SubEventB {}
class SubEventC {}

// We want that event to be posted when all three events above were posted, and not before.
class RealEvent {}

// A mock class to listen to events posted by the aggregator -- in practice this would be an Activity
class ListenerOfRealEvents {
    public int thaum = 0;

    public boolean wasTriggered() { return thaum > 0; }

    @Subscribe
    public void makeMagic(RealEvent re) { thaum += 1; }
}

@RunWith(AndroidJUnit4.class)
public class EventAggregatorTest
{
    public EventAggregatorTest() {}

    @Test
    public void eventAggregation() {

        List<Class<?>> subEvents = new ArrayList<Class<?>>();
        subEvents.add(SubEventA.class);
        subEvents.add(SubEventB.class);
        subEvents.add(SubEventC.class);

        EventBus bus = EventBus.getDefault();

        EventAggregator ea = new EventAggregator(bus, subEvents, new RealEvent());
        bus.register(ea);

        ListenerOfRealEvents lore = new ListenerOfRealEvents();
        bus.register(lore);

        assertFalse("Sanity check : the listener of real events should not have already " +
                    "triggered upon instantiation.", lore.wasTriggered());

        // Let's post the first event !
        bus.post(new SubEventA());

        assertFalse("The aggregated event should not have been posted after only one " +
                    "event.", lore.wasTriggered());

        // Let's post the second event, but let's try event C and not B, as order should not matter.
        bus.post(new SubEventC());

        assertFalse("The aggregated event should not have been posted after only two " +
                    "events.", lore.wasTriggered());

        // Okay, let's post the third and last event, and now Realevent should have been fired too.
        bus.post(new SubEventB());

        assertTrue("The aggregated event should have been posted after the third event.",
                   lore.wasTriggered());

        // Cleanup
        bus.unregister(lore);
        bus.unregister(ea);
    }

}

There probably is a way to do that with sticky events and as many subscriptions as I have minor events, but this is something I expect to use quite often (in most of my activities, actually), and I've been spoiled by the awesome handling of such events in Dart.
I got stuck at the very beginning of the implementation (my mistake for assuming there would be a simple way of subscribing dynamically) :
package org.give2peer.karma;

import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

import java.util.List;

/**
 * Posts (but only once !) an event to the event bus when all subscribed events have been posted.
 *
 * Well... this was a failure... It seems it can't be done... :(
 *
 * Other possible names :
 * - MetaEvent ; but this is not an event per se, as it needs to be registered like a subscriber.
 * - this.posted => this.aggregate ?
 */
public class EventAggregator
{
    EventBus       bus;
    List<Class<?>> subscribed;
    Object         posted;

    public EventAggregator(EventBus bus, List<Class<?>> subscribed, Object posted)
    {
        this.bus = bus;
        this.subscribed = subscribed;
        this.posted = posted;

    }

    // AAAAAH
    // Maybe if we use some reflection to procedurally create the methods of this class with
    // an @Subscribe annotation... Can it be even done ?
    // And I don't like Reflection for things that are used in production...

}

What do you think ? Is it a bad idea to try and do things like this ?

Another way
I'm looking at the code behind @Subscribe but I'm a java noob and I don't understand most of it.
I've never seen an annotation definition before and I'm very much confused.
I also thought of making a custom annotation like @SubscribeAll (and maybe also @SubscribeAny for good measure) which would take multiple event classes as parameters, but... Noob, remember ? I haven't the faintest yet on how to do that, nor how much work it might take... Especially without touching the EventBus codebase.
There probably is an obvious and easy way of doing this, but the web has been pretty scarce on that subject, or I'm not looking for the right keywords.

The use case you have described matches a discriminator s described the Workflow Pattern papers.
 Consider messageA, messageB, messageA, messageC. Is the 2nd messageA discarded or is it used to start a separate listener.
You can subscribe dynamically, in fact you have to, by using EventBus#register.
But I suspect what you meant to ask was can a listener explicitly unregister for a certain message. I imagine you were planning on having your listener unregister for messages as they were received until it received the last message. There is no way that I am aware of to do this in EventBus.
But you can do this yourself in your listener. Maintain a Set of expected messages, remove them as they arrive. Fire when last is received and reset you set of expected messages for next iteration (or unsubscribe or whatever works for your use case)..

I just tried using a plain Object as the subscriber method parameter and it receives any posted events.
@Subscribe
public void handleEvent(Object event) {
    Log.d("Test", "handleEvent: called for " + event.getClass().getSimpleName());
}

You could then do instanceOf checks against your list of subscribed events and once all are received post your OnEverythingReady.

Ha !
That's great, @greenrobot-team ! I can work with this.
Thanks for the tip ! I can close this now ;)

Also, thanks @william-ferguson-au for the blocking discriminator keyword, that's exactly right !
:tada:


remove useless "raw html"

Description
I think it's useless,
.. raw:: html

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[x] User guide updated
[ ] Conforms to style guide

I don't think these have any purpose. @paulbalandan do you know?

I don't think these have any purpose. @paulbalandan do you know?

The raw:: html actually embeds the following HTML into the generated HTML file instead of displaying it. I'm not sure if the div classes are actually used or defined in the user guide's CSS.

The raw:: html actually embeds the following HTML into the generated HTML file instead of displaying it. I'm not sure if the div classes are actually used or defined in the user guide's CSS.

@totoprayogo1916 can you show a before and after render of the user guide from this PR?

@totoprayogo1916 can you show a before and after render of the user guide from this PR?

@paulbalandan : its found at contributing/documentation
but when render is not effect ,
after render,  it just create empty div tag like:

@paulbalandan : its found at contributing/documentation
but when render is not effect ,
after render,  it just create empty div tag like:

@totoprayogo1916 yes it will just be put there. Can you show me what the page looks like with this div and after removing it. I am thinking maybe this div is controlling the clear: both css property. But if there's no noticeable change, I am fine removing those blocks.

@totoprayogo1916 yes it will just be put there. Can you show me what the page looks like with this div and after removing it. I am thinking maybe this div is controlling the clear: both css property. But if there's no noticeable change, I am fine removing those blocks.

Sample from https://github.com/codeigniter4/CodeIgniter4/pull/4131/files#diff-438c1b41228e87925336e3c0af80780be95bf8bea65ee11efa4ec91fbc89c930
before:

after:

Sample from https://github.com/codeigniter4/CodeIgniter4/pull/4131/files#diff-438c1b41228e87925336e3c0af80780be95bf8bea65ee11efa4ec91fbc89c930
before:

after:

and no specific CSS here

and no specific CSS here

Then, it is really useless. 😂

Then, it is really useless. 😂


Issue Number for which I'm assigned & worked: #73

maximum coin problem's solution in java

🚀 merged!!


Feat: New Darkmode Toggle Button

Describe the feature
The current dark mode toggle button is simple and lacks animations. Introducing a new dark mode toggle button with more animations and smooth transitions between dark and light mode would enhance the website's attractiveness and overall user experience.
Add ScreenShots
Current Design -

Proposed Design -
https://github.com/mdazfar2/HelpOps-Hub/assets/72603662/b55ceceb-b937-44f6-bc99-10022c47e1ea
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I'm a VSoC'24 contributor
[X] I want to work on this issue

Go ahead


Watch Telemetry CR to configure serverless optional dependencies

Description
Serverless Manager should observe Telemetry CR's status to configure trace/metric collector endpoints for function runtime pods

https://github.com/kyma-project/telemetry-manager

Implemented as part of https://github.com/kyma-project/serverless-manager/issues/168


Can't import callbacks

When I try to import the callbacks I get the error ModuleNotFoundError: No module named 'stable_baselines.common.callbacks'.
I'm using the most recent release of stable-baselines:
> pip freeze | grep stable-baselines
stable-baselines==2.9.0

Closing as a duplicate of #719
tl;dr: Version with callbacks is not on PyPi. Install from github.

@Miffyli I think we either need to default the doc on the latest release or write a warning
anyway, I plan to finish #200 this week end so we can do a pip release afterward.


Undesired escaping of characters

I am passing an & character in my openGraph.basic.title field. I verified that the char is correctly passed as a prop into the SEO component, but in my final output it is changed to:
<meta property="og:title" content="[...] & [...]">
Any ideas?

Hey @trueter, thank you for your feedback! I'll need a bit more context for this, though. Does the escaping have any unintended consequences where it doesn't get rendered correctly?

Hey @jonasmerlin - thanks for taking the time to look at this.
I've had another look at it. Some platforms correctly show the ampersand in the preview, others, like https://opengraph.dev/ don't. I would sleep better at night knowing the output is consistent across platforms. In my research I found this thread on the react repo highlighting some use cases of why fine grained control of escaping in open graph strings may be beneficial (like image urls).


Set up iOS push notifications

This branch IS NOT ready for merging. We need the production certificate before deploying this updated version.
This PR has been opened for showing my changes and ask for reviews only.

I would like to publish the iOS application soon.
Except the missing production certificate, can anyone endorse my pull request?

Please give me your feedbacks about this updated version.

+1, ship it! :dancer:


when log mode config file or volume ,the program print to console

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

The code is
package main
import (
 "bookstore/api/internal/config"
 "bookstore/api/internal/handler"
 "bookstore/api/internal/svc"
 "flag"
 "fmt"
 "github.com/zeromicro/go-zero/core/logx"

 "github.com/zeromicro/go-zero/core/conf"
 "github.com/zeromicro/go-zero/rest"
  )

  var configFile = flag.String("f", "etc/bookstore-api.yaml", "the config file")

  func main() {
 flag.Parse()

 var c config.Config
 conf.MustLoad(*configFile, &c)
 logx.Info("before logx =======")
 ctx := svc.NewServiceContext(c)
 server := rest.MustNewServer(c.RestConf)
 defer server.Stop()

 handler.RegisterHandlers(server, ctx)
 logx.Info("after logx =======")
 fmt.Printf("Starting server at %s:%d...\n", c.Host, c.Port)
 server.Start()
  }

Name: bookstore-api
Host: <IP_ADDRESS>
Port: 8888
MaxConns: 10000
Timeout: 10000 #ms
MaxBytes: 104857600
Log:
  Mode: file
  Path: ../testdata/logs
  Level: info
  Compress: false
  KeepDays: 7

The error is
 when config logs mode is file or volume ,"after logx =======" not print  into file

Expected behavior
logs print into file not to console
Screenshots
If applicable, add screenshots to help explain your problem.
Environments (please complete the following information):
gozero 1.3.5
More description
Add any other context about the problem here.

Please try it in v1.4.0

v1.4.0 is ok


How to create a workitem from scratch?

The documentation does not give an example for creating a new workitem in Polarion from scratch.
from polarion import workitem
client1 = polarion.Polarion(url, user, password)
project= client1.getProject('project')
workitem.Workitem(client1, project)
will raise an exception:
Exception: No id, uri, polarion workitem or new workitem type specified!
Defining a new workitem type, e.g.
workitem.Workitem(client1, project, new_workitem_type='changerequest')
also raises an exception:
Fault: javax.transaction.RollbackException: Workflow initialization failed for Work Item 'prefix-73487': The required field 'title' of Work Item 'prefix-73487' is empty.
So, this goes to the server, polarion tries to create a work item, but fails due to the missing title. But looking at the source, I see now way how to hand over a title (or any other field value) for creating a work item.
I then tried to play around with
workitem.Workitem(client1, project, polarion_workitem = work_item_properties)
But this lead nowhere, because the work_item_properties seemingly need to be of type zeep.objects.WorkItem. So, maybe this could be used for copying one workitem to a new one?
Thanx a lot in advance,
Axel

I cannot believe that was not in the docs....
You're looking for a method in the project class, which has no docstring. I've quickly added it, but you're looking for this example:
    new_task = project.createWorkitem('changerequest')

thanx for the fast response. However, this results in the same exception as creating the Workitem object:
Fault: javax.transaction.RollbackException: Workflow initialization failed for Work Item '-73488': The required field 'title' of Work Item '-73488' is empty.
It seems I need a way to hand over the mandatory fields for the creation of a work item...

I looked around a bit more. Your suggestion to use
project.createWorkitem('changerequest')
is a call to
Workitem(self.polarion, self, new_workitem_type=workitem_type)
which explains the same exception :-)
Fault: javax.transaction.RollbackException: Workflow initialization failed for Work Item 'prefix-73488': The required field 'title' of Work Item 'prefix-73488' is empty.
Digging into the Workitem. init, I have played around with handing over the title when creating the new WorkItemType (workitem.py, line 57):
elif new_workitem_type is not None:
self._polarion_item = self._polarion.WorkItemType(
type=self._polarion.EnumOptionIdType(id=new_workitem_type),
title='TEST')
And this worked. Somehow. Because the server side exception changed to:
Fault: javax.transaction.RollbackException: Workflow initialization failed for Work Item 'prefix-73492': The required field 'description' of Work Item 'prefix-73492' is empty.
And this is where I'm stuck now. No matter how I try to define the description, e.g.
description = 'test'
or
description = {'type': 'text/plain', 'content': 'Test', 'contentLossy': False}
I keep getting rejected by the server, the last line triggering:
Fault: javax.transaction.RollbackException: Workflow initialization failed for Work Item 'prefix-73492': The required field 'description' of Work Item 'prefix-73492' is empty.
Any ideas?

I now changed my Polarion project config to require title and description and I was able to reproduce that exception.
I'll update when I have something working.

Please have a look at the commit I just made. Copy those changes and try again with the following snippet:
client = Polarion('http://localhost/polarion', '', '')
project = client.getProject('')
new_task = project.createWorkitem('task', new_workitem_fields={'title': 'hallo!', 'description': client.TextType(
            content='A description', type='text/html', contentLossy=False)})

This allows you to pass a dictionary with fields that can be filled in at creation. I opted for a dict since in polarion you can require any field to be filled in.
Let me know if this works for you.

Thanx for the fast response, again.
I applied your changes, but still:
wi = project.createWorkitem('changerequest', new_workitem_fields={'title': 'This is the title', 'description': client1.TextType(content='a desription for this ChangeRequest', type='text/html', contentLossy=False)})
I get:
Fault: javax.transaction.RollbackException: Workflow initialization failed for Work Item 'prefix-73507': The required field 'description' of Work Item 'prefix-73507' is empty.

interesting observation:

you were creating a task,
while I'm trying to create a change request.
Therefore, I now also tried to create a task:
wi = project.createWorkitem('task', new_workitem_fields={'title': 'Short title', 'description': client1.TextType(type='text/html',content='description', contentLossy=False)})
and this works! A task is created, the id is returned. However, neither title nor field are set, they are both empty.

That last bit makes sense if your task does not require the title or description.
https://github.com/jesper-raemaekers/python-polarion/commit/26348598cb4a70ea847f6fcd6db0392866e0c1af#diff-a771326458e8cf9c5b71132767719ea6ed39634967af3bcbac9f0a659d94b40eR64 this line will prevent that. But to me, it should always be possible to add more fields if the user wants that. So that will be changing.
I will retry later with creating a change request. Usually i default to task as that is shorter :)

I was also able to create a changerequest. Can you access your polarion project configuration? If you can, can you look at 'work item > workflow' to see if there is anything special for your change request?
This is how it looks for me:

This is the default config with added required fields of title and description.

I got the server configuration for the required fields, looks slightly different than yours:

Is it also ticket as initial?
I will copy those settings, but it feels like it may not be a difference.

Is it also ticket as initial?

I'm not sure I understand your question. I had requested a screenshot of the change request configuration, if that's what you are asking...

I tried to copy those settings in your screenshot. I was still able to create it.
It doesn't look like something to do with version, but for completeness. What is your python version and can you post your installed packages (pip list)?
Debugging wise it would be interesting to see what the state of the _polarion_item is at this point https://github.com/jesper-raemaekers/python-polarion/commit/b0ab45cbac58cf9674ec87c8c337fd37c812942e#diff-a771326458e8cf9c5b71132767719ea6ed39634967af3bcbac9f0a659d94b40eL74
while creating that change request.
Other than that, I'm not sure how to proceed. Perhaps a Teams (or equivalent) session may help. If that is interesting to your we can discuss that. (I'm happy to sign an NDA if needed, but it should be manageable without showing sensitive data)

Finally, I have been able to setup a breakpoint in workitem.py. I Have to admit that the _polarion_item looks good:
self._polarion_item
{
'approvals': None,
'assignee': None,
'attachments': None,
'author': None,
'categories': None,
'comments': None,
'created': None,
'description': {
'type': 'text/html',
'content': 'a desription for this ChangeRequest',
'contentLossy': False
},
'dueDate': None,
'externallyLinkedWorkItems': None,
'hyperlinks': None,
'id': None,
'initialEstimate': None,
'linkedOslcResources': None,
'linkedRevisions': None,
'linkedRevisionsDerived': None,
'linkedWorkItems': None,
'linkedWorkItemsDerived': None,
'location': None,
'moduleURI': None,
'outlineNumber': None,
'plannedEnd': None,
'plannedInURIs': None,
'plannedStart': None,
'planningConstraints': None,
'previousStatus': None,
'priority': None,
'project': {
[.... details about project removed but they also look ok....]
},
'remainingEstimate': None,
'resolution': None,
'resolvedOn': None,
'severity': None,
'status': None,
'timePoint': None,
'timeSpent': None,
'title': 'This is the title',
'type': {
'id': 'changerequest'
},
'updated': None,
'workRecords': None,
'customFields': None,
'uri': None,
'unresolvable': None
}
This is the required_features:
{
'actionId': -1,
'actionName': 'Initialization',
'cleanedFeatures': {
'item': [
'signaturesWorkflow'
]
},
'nativeActionId': 'init',
'requiredFeatures': {
'item': [
'title',
'description'
]
},
'suggestedFeatures': None,
'targetStatus': {
'id': 'draft'
},
'unavailabilityMessage': None
}

Now that we are confident that our side is working, I will raise a ticket in our help desk...

Thanks for the feedback. I'm curious to know if will be fixed in the end and please also provide the feedback if the issues ends up being in this package.
For now I am satisfied that the code should work, so after making some tests I will integrate this new feature.

this is interesting. when I create a task, like:
task = project.createWorkitem('task', new_workitem_fields={'title': 'This is the title', 'description': client1.TextType(content='a desription for this task', type='text/html', contentLossy=False)})
the task is created with the correct title, however, the field description remains empty. But
a) I have made sure to apply your latest patch and
b) I can see the description transferred in the xml debug output:
<ns1:description xmlns:ns1="http://ws.polarion.com/TrackerWebService-types" xmlns:ns5="http://ws.polarion.com/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns5:Text">
<ns2:type xmlns:ns2="http://ws.polarion.com/types">text/html</ns2:type>
<ns3:content xmlns:ns3="http://ws.polarion.com/types">a desription for this task</ns3:content>
<ns4:contentLossy xmlns:ns4="http://ws.polarion.com/types">false</ns4:contentLossy>
Now, when I try this for a changerequest, the server complains about the missing description. Which could make sense,
a) as the description is also a required field in the case of a change request
b) assuming that we send it over but the server does not really receive the information.
Funny enough, when I do an update on the field description, it works in both cases (task as well as change request), e.g.:
task.description = client1.TextType(content='a desription for this task', type='text/html', contentLossy=False)
task.save()
so to summarize:

I can create a task, but not a change request.
the server does not properly receive/recognize/decode the field description on create, but on update

Can you make any sense out of this?
Axel

You have sparked a thought. Try changing the self.TextType in _getTypes in polarion.py to
self.TextType = self.getTypeFromService('Tracker', 'ns1:Text')

Technically it uses the wrong type now, although i presumed the type 'text' was the same over all different services.

I tried it out -- the result remains the same:

task is created, but description remains empty (updating the field in a second step still works)
changerequest is not created, error about missing description is raised

But we could be on the right track. When you create a task on your server with the description, does the description field get populated?
What other options do we have to set this field? E.g. if I tried a simple, plain text string as a hard coded value for starters?

When I retrieve a workitem from the server, I would assume the types and namespaces to be set correctly. This is the result for a getWorkitem for a change request:
ns3:description
ns1:typetext/html</ns1:type>
ns1:contentTEST_DESCRIPTION</ns1:content>
ns1:contentLossyfalse</ns1:contentLossy>
</ns3:description>
with the following type namespace declarations:

Does this help?
Axel

both attemps create a task, but the description remains empty. Really strange.
The version used is:
Polarion® ALM™ 21 R1
Build: <IP_ADDRESS>10615-1059-21_R1_P1-3aa597ca

Just an update that I have not found anything new to try. I also looked in the polarion log files, but it seems the only output is the exception returned via the API.

I Just received an update from our internal service desk: they changed the way they create change requests. And now it works.
Thanx for your support.


Cannot add group to Space

Describe the bug
The Help (i) pop-up says "Enter a name to add people or groups as members to this Space.".  But when we entered the Group name in the Add members search box, it didn't appear and so we could not add the group to the Space.  Could only add members and not groups.
Steps to reproduce
Steps to reproduce the behavior:

Create a Group and add members to it.
Create a Space
Click on Show Members of the Space and enter the Group name in the Add members search box.

Expected behavior
We expected to be able to add groups to a Space as stated in the Information/Help button pop-up.
Actual behavior
The Add members search box could not find the group.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

systemctl edit --force --full ocis.service
[Unit]
Description=OCIS server

[Service]
Type=simple
User=ocis
Group=ocis
EnvironmentFile=/etc/ocis/ocis.env
ExecStart=/usr/local/bin/ocis server
Restart=always

[Install]
WantedBy=multi-user.target

ADMIN_PASSWORD=mypassword ocis init --config-path /etc/ocis

cat /etc/ocis/ocis.env
OCIS_INSECURE=true
OCIS_URL=https://ocis.mydomain.com:9200
PROXY_HTTP_ADDR=<IP_ADDRESS>:9200
IDM_CREATE_DEMO_USERS=true
OCIS_LOG_LEVEL=error
OCIS_CONFIG_DIR=/etc/ocis
OCIS_BASE_DATA_PATH=/var/ocis

cat /etc/ocis/ocis.yaml
token_manager:
  jwt_secret: xxxx
machine_auth_api_key: xxxx
system_user_api_key: xxxx
transfer_secret: =xxxx
system_user_id: xxxx
admin_user_id: xxxx
graph:
  events:
    tls_insecure: true
  spaces:
    insecure: true
  identity:
    ldap:
      bind_password: xxxx
idp:
  ldap:
    bind_password: xxxx
idm:
  service_user_passwords:
    admin_password: mypassword
    idm_password: xxxx
    reva_password: xxxx
    idp_password: xxxx
proxy:
  oidc:
    insecure: true
  insecure_backends: true
frontend:
  archiver:
    insecure: true
auth_basic:
  auth_providers:
    ldap:
      bind_password: xxxx
auth_bearer:
  auth_providers:
    oidc:
      insecure: true
users:
  drivers:
    ldap:
      bind_password: xxxx
groups:
  drivers:
    ldap:
      bind_password: xxxx
ocdav:
  insecure: true
thumbnails:
  thumbnail:
    transfer_secret: xxxx
    webdav_allow_insecure: true
    cs3_allow_insecure: true
search:
  events:
    tls_insecure: true
audit:
  events:
    tls_insecure: true
sharing:
  events:
    tls_insecure: true
storage_users:
  events:
    tls_insecure: true
  mount_id: xxxx
notifications:
  notifications:
    SMTP:
      smtp_host: smtp-relay.gmail.com
      smtp_port: 587
      smtp_sender: admin<EMAIL_ADDRESS>      smtp_username<EMAIL_ADDRESS>      smtp_password: my_google_ws_app_password
      insecure: false
      smtp_authentication: login
      smtp_encryption: starttls
    events:
      endpoint: <IP_ADDRESS>:9233
      cluster: ocis-cluster
      group: notifications
      tls_insecure: false
      enable_tls: false
    reva_gateway: <IP_ADDRESS>:9142
    grpc_client_tls: null
nats:
  nats:
    tls_skip_verify_client_cert: true
gateway:
  storage_registry:
    storage_users_mount_id: xxxx

Additional context
Note we added the smtp server settings to the ocis.yaml file.  But the add group to Space problem was already there before we added the smtp server settings to the ocis.yaml file.
Thank you very much in anticipation

@functioneer With ocis 2.0.0 this is expected behavior. There was no support for groups as space members then.
The feature was added after the 2.0.0 release.
You can see it working on ocis latest and 3.0.0-alpha.1

Thank you micbar.  ocis is an excellent software.  Go Lang is the correct direction.


Plot Expressio Tree

I think its good, if we can plot the expression tree of the model, i don't know about how to plot the expression tree,
thank

You can do symbol.render() for a unicode plot in terminal, or symbol.visualise(filename) to make a nicer looking figure

I'm so sorry, i try to run Symbol.render() and i get this error

render() missing 1 required positional argument: 'self'

Do your_expression_tree.render() where your_expression_tree is the actual pybamm object you want to render. e.g.
import pybamm
v = pybamm.Variable("v")
tree = 2 * v
tree.render()

prints to terminal
*
├── 2.0
└── v


API: Issue with sector being used in matching

Overview
Note that, for API users, there is a nasty side effect regarding "sector":
For those who want to check OS_IDs with create=False, as we recommend, if these users do not explicitly state "sector_product_type":"Apparel", they will not, repeat NOT, see a match.
It appears as if matches are now also based on sectors, and, if the sector is not explicitly given as "Apparel", it will default to "Unspecified", and thus not match an existing facility.
Note that this may result in thousands of facilities to be re-created
Expected Behavior
Matching algorithm does not use sector values in finding potential matches.

We will need to look more deeply into the specifics of the situation but the behave we are seeing has a root cause that list likely not directly related to matching because sector is not incorporated in the matching process.
When responding to an API request there are two match processes. We first run a plain string "exact match" and that only takes country, name, and address as parameters
https://github.com/open-apparel-registry/open-apparel-registry/blob/43388833731154c503b9ffd600d390717a9870f5/src/django/api/matching.py#L163-L172
When there is not an exact match we proceed to using the dedupe model. The dedupe model is only trained with country, name, and address fields
https://github.com/open-apparel-registry/open-apparel-registry/blob/43388833731154c503b9ffd600d390717a9870f5/src/django/api/matching.py#L243-L247
The match_item function that engages to dedupe model only takes country, name, and address as parameters.
https://github.com/open-apparel-registry/open-apparel-registry/blob/43388833731154c503b9ffd600d390717a9870f5/src/django/api/matching.py#L421-L458

The issue happened today at around 13:00 CEDT/11:00 UTC. While testing POST access to /facilities/ with create=False on OSH staging, a non-match (NEW_FACILITY) was returned when calling the swagger example record
{
    "country": "China",
    "name": "Nantong Jackbeanie Headwear & Garment Co. Ltd.",
    "address": "No.808,the third industry park,Guoyuan Town,Nantong 226500."

}

Following this, various variations of sector_product_type were tried, such as
{
    "sector_product_type": "Apparel"
    "country": "China",
    "name": "Nantong Jackbeanie Headwear & Garment Co. Ltd.",
    "address": "No.808,the third industry park,Guoyuan Town,Nantong 226500."

}

with variations of MATCHED and NEW_FACILITY returned. After a few iterations, the issue disappeared and failed to reproduce, and continues to fail to reproduce.
The functional would be, that automated scripts, which check for IDs would first check for existance, then chose to create new records (create=True) at scale.

@KlausGPaul - can you point us to specific test data? That will help us arrive at an explanation more quickly.

Thanks, Justin. @mariel-oar @KlausGPaul / Justin are meeting tomorrow (as part of the time boxed #2236) to continue the refactoring work.


FusumaDelegate

It appears that when I try to implement this in my project, FusumaDelegate is an undeclared type; Yet this works in the example project on the github; i have properly installed the cocoapods but don't know why i am getting this issue; code is below, but all it is, is an exact copy of the VC for the example, just in a different class
http://paste.ee/p/hbp9w

Hey not sure if this is what your asking, but I found that importing Fusuma, then calling the delegate, and manually entering the functions worked.  Swift 3 xcode functions varied from the documentation.

I thought you must import it?

@JPwharton Yes, as @TheNotoriousCoder mentioned above, you must import the framework first.


Added solution for Euler number 40

Current coverage is 97.09% (diff: 100%)

Merging #1491 into master will not change coverage

@@             master      #1491   diff @@
==========================================
  Files            86         86
  Lines         10412      10412
  Methods           0          0
  Messages          0          0
  Branches       1823       1823
==========================================
  Hits          10110      10110
  Misses          176        176
  Partials        126        126

Powered by Codecov. Last update e3cb33b...9a8a812

Nice, thank you :)


'missing' feature in ShaderGraph: boolean uniform.

Operating system or device:
All supported?
Issue description:
Shader Language supports booleans but no boolean uniforms can be added in shaderGraph.
IMO, it would be nice if shaderGraph could do anything the shaderLang can & vice versa.
The main reason I request for this however is simply because it would allow me to create better shader/material UI's for the shaders I intend to share with the community:

NB: I have moved the Flip Bump V in the image for shaderGraph, but it was actually placed entirely randomly in between 'Metallicness' and 'Specular Exponent'.
While I can clamp the scalar uniform's values in shader to 0...1 range(min/max) - in the UI the user will still be able to input greater or negative values and that could lead to confusion. Using a boolean Uniform in place of the scalar uniforms would however make everything much clearer.
As a node the boolean uniform should take a name variable similar to other uniforms, and output either a 0 or a 1 depending on it's state. 0 for false, 1 for true. Or alternatively the values for false and true could be over-writable, i.e. be usable for any switches.

The 2.1 branch is no longer actively worked by engine developers, unless critical fixes are needed for current games in production. As such we are now closing non-critical bug reports affecting only the 2.1 branch.
Please comment if this was incorrectly triaged and is still relevant in 3.x versions.

Looking at the Alpha release it seems to still be an issue though now it's worse(afaict) since I can't even see where the uniforms should be showing up?

If this issue is still relevant in master, can you please provide updated screenshots of the issue?

Err, sure. Other than the way godot interface is drawn theres really nothing else new to see.
Mind you the godot 3.1 build I just downloaded from hugo.pro seems to have an issue with mix() in shaderlang.
Images incoming in an edit.

Apparently I can't edit message on github anymore, oh well. Preview didn't work either, maybe the stylus dark theme override for github I use is breaking something...
Here are the images:
shader_type spatial;
uniform bool BoolForBool = false;
void fragment() {
vec3 color1 = vec3(1.0, 1.0, 1.0);
vec3 color2 = vec3(0.0, 0.0, 0.0);
ALBEDO = mix(color1, color2, BoolForBool);
}
results in:
https://img.picload.org/image/dcoilccd/4362_boolresult.png
While there is no uniform node for boolean operation/input in visual shaders resulting in me having to do the following:
https://img.picload.org/image/dcoilcca/4362_visualnoodlesoup.png
for the following result:
https://img.picload.org/image/dcoilcco/4362_visualnoodleresult.png
Which is just a number that doesn't immediately tell the end user of the material what to exactly do with it. Plus having a boolean uniform node would cut out a good few nodes from that chain above.


"make clean" removes include directory

Recently calling make clean in a build directory of an example (here a subdirectory of the example code) removes the whole include directory:
# git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    ../../../../include/adc.h
	deleted:    ../../../../include/aio_comparator.h
	deleted:    ../../../../include/arch/arc/arch.h
	deleted:    ../../../../include/arch/arc/v2/addr_types.h
	deleted:    ../../../../include/arch/arc/v2/arcv2_irq_unit.h
	deleted:    ../../../../include/arch/arc/v2/asm_inline.h
...

Closing as duplicate of #8380


Add ROM::SQL::Attribute#not (refs #190)

@AMHOL thank you! Have you tested it with nil? I wonder if foo.not(nil) transforms to "foo" IS NOT NULL
@solnic I see having not to be more clear than !, wdyt?

@flash-gordon we should have both because people will intuitively try negation operator and it'd be awesome if that worked too

call me biased but I'd not call it ever in a DSL :)

@flash-gordon that's why in ruby we have alias_method so that we can all be happy :)

haha, that's true

@solnic @flash-gordon should be good to go now

@AMHOL @flash-gordon I made this stuff work with Sequel's =~ and added #!. How does it look?

Nice one @solnic :smile:


Add  the logic for Energy Star

can you try fixing the energy tracker ? it seems to be broken (or pin a codecarbon version)

@IlyasMoutawwakil LGTM, thanks for finishing it! Is it ready to merge?

@regisss normally yes, I'll launch inference tests as well to see if anything got broken


fix(draggable): move target instead of handle

since the handle element is a child of the target element, it still gets moved as expected. this was probably more of a typo than an actual bug.
fixes #84
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) n/a

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

tl;dr: dragging a dialog handle only moves the handle and leaves the dialog in place.
Issue Number: #84
What is the new behavior?
dragging the dialog handle moves the whole dialog (including the handle), as expected
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

I have no idea how to automatically test this. Since the draggable directive didn't have tests before and this bug was more of a typo than a logic issue, imo it's fine without tests (for now)

But what caused the issue? It worked in the past.

see this line in https://github.com/ngneat/dialog/commit/f5575f59da2fb61b9c0aa229e8890eaf32a2a56c (also linked in the issue)
in some other places in that file, the (correct) change
- this.renderer.setStyle(this.handle, 'cursor', '');
+ this.handle.style.setProperty('cursor', '');

was made. but for the transform line, this happened:
-           this.renderer.setStyle(this.target, 'transform', transform);
+           this.handle.style.setProperty('transform', transform);

-> accidentally applying the transform to the handle instead of the target.

Thanks


Commas are inconsistently added to JSON completion

VSCode Version: 1.1.0-alpha
OS Version: Mac

Steps to Reproduce:
Regarding test plan #5753
Just found this very small bug (not an urgent one—ok to delay if necessary).

Type just a package name in bower.json with no leading quotation mark (so it autocompletes the quotes for you)
Now try adding a package with a leading quotation mark.

Note that in the first case a comma is not added, but in the second case a comma is added.  Not a huge deal, but consistency would be nice.
Preferably, if it knows that it's on the last line of properties (i.e. the next line is a closing brace), then it would not insert a comma.  But if it's in the middle of the list (i.e. the next line is another property in the JSON), then it would add a comma.

I always get a comma:
{
    "dependencies": {
       d
       "hui": "latest",
       "angular-latest": "latest"
    }
}

Code assist after d: Completes to  "d-style": "latest",
Code assist after "d: Completes to  "d-style": "latest",
Code assist inside "d":Completes to  "d-style": "latest",
{
    "dependencies": {
       "hui": "latest",
       "angular-latest": "latest",
       d
    }
}

Code assist after d: Completes to  "d-style": "latest"
Code assist after "d: Completes to  "d-style": "latest"
Code assist inside "d":Completes to  "d-style": "latest", -> Bug
Let me know if you saw another issue.

@aeschli yes, that's what I was seeing.  Thanks for checking!


:construction_worker: :sparkles: Integration Test that can run on (forked) PR

Codecov Report
Patch and project coverage have no change.

Comparison is base (1e6d787) 98.02% compared to head (b1c3e64) 98.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   98.02%   98.02%
=======================================
  Files           3        3
  Lines         253      253
=======================================
  Hits          248      248
  Misses          4        4
  Partials        1        1

Flag
Coverage Δ

unit-tests
98.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Docker, Kubernetes, Watir, Chrome, AWS, & file download

I've been unable to determine the easiest way to download a file, using a remote chrome node, in selenium grid, with watir. I suppose I could rely on EFS (NFS in AWS), but the requires some cleanup, which is less than ideal.
Is there a simple way to direct a remote chrome node to download a file, which local rspec/watir can access? The tests I'm running are e2e and are attempting to validate data in reports. Another thought is faking the request, using curl or something similar, but if that can be avoided, it'd make things much simpler.

This is not a bug report.
Please, use watir-general mailing list or StackOverflow for getting help.


Mutation Conventions

[ ] Ensure that conventions play nice with the relay query field rule.
[x] Code-First Tests
[x] Annotation-Based Tests
[x] Schema-First

[ ] Schema-First Directive @mutation

[x] Ensure #4517 is resolved

I have reworked how we handle arguments so that all schema-building approaches are aligned. With the new approach, we rewrite the arguments in field middleware. This allows us to have the resolver code act if there was no input type at all.
This will cause allocation for two dictionaries for each mutation field. Since in general, we will not have more than a couple of mutation fields per request this should be OK. We can always rent these if the need would arise.


WSL2 support

Just got a new Lunar Lake system and discovered that the NPU is not available in WSL2 :(

same

There is a plan to add a support for WSL2 but I am unable to provide any deadline for it. Sorry for inconvenience


What does this error mean? ColumnUniqueValuesExceeded

ColumnUniqueValuesExceeded: Number of unique values in column: "design" is greater than allowed.
I have in Azure ML (Preview) at a scoring block constantly this error.
"design" is a column with data that is categorical feature (string). When I remove that column from the selection, I get the same error but for another column.
The only non standaard part in it is that the system uses 70% to train the model.
And with the other 30%, i first split is based on 1 column to only get one specific type of records ( 45000+ records are reduced to 8000+ records). These 8000+ records are fed to the scoring block with the trained model.
Can that be an issue? How to solve?
Thank you,
Jeroen

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

ID: 385afa70-cb4f-d9e6-3837-8af8561594d4
Version Independent ID: 3892130b-efc7-370f-57c0-f3c5fd579e94
Content: Troubleshoot designer (preview) module errors - Azure Machine Learning
Content Source: articles/machine-learning/algorithm-module-reference/designer-error-codes.md
Service: machine-learning
Sub-service: core
GitHub Login: @likebupt
Microsoft Alias: keli19

@JeroenMeul we'll review your feedback and get back to you shortly. Thanks.

@JeroenMeul This error occurs when a column contains too many unique values. You may see this error if you specify that a column be handled as categorical data, but there are too many unique values in the column to allow processing to complete. You may also see this error if there is a mismatch between the number of unique values in two inputs. Here are the suggested troubleshooting steps:

Open the module that generated the error, and identify the columns used as inputs.

For some modules, you can right-click the dataset input and select Visualize to get statistics on individual columns, including the number of unique values and their distribution.

For columns that you intend to use for grouping or categorization, take steps to reduce the number of unique values in columns. You can reduce in different ways, depending on the data type of the column.

If the above suggested resolution doesn't help, let us know so we can investigate further. Thanks.


Server error when creating new volunteer acct without all required inputs

P2 error
https://crisischeckin-d.azurewebsites.net/Account/Register
Server error when creating new volunteer acct without all required inputs and clicking create new acct.
Produced in FF and Chrome
Server Error in '/' Application.
Value cannot be null.
Parameter name: items
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: items
Source Error:
Line 27:
Line 28:         @Html.LabelFor(model => model.SelectedOrganizationId)
Line 29:         @Html.DropDownListFor(model => model.SelectedOrganizationId, new SelectList(Model.Organizations, "OrganizationId", "OrganizationName"), "-- no organization --", new { @class = "form-control" })
Line 30:         @Html.ValidationMessageFor(model => model.SelectedOrganizationId, "", new { @class = "text-danger" })
Line 31:
Source File: d:\home\site\wwwroot\Views\Account\Register.cshtml    Line: 29
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: items]
System.Web.Mvc.MultiSelectList..ctor(IEnumerable items, String dataValueField, String dataTextField, String dataGroupField, IEnumerable selectedValues, IEnumerable disabledValues, IEnumerable disabledGroups) +168
System.Web.Mvc.SelectList..ctor(IEnumerable items, String dataValueField, String dataTextField) +26
ASP._Page_Views_Account_Register_cshtml.Execute() in d:\home\site\wwwroot\Views\Account\Register.cshtml:29
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105
System.Web.WebPages.StartPage.RunPage() +17
System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext,

I also got this error.
To obtain the screen, I entered "L" in the first name field.  I entered "C" in the last name field.  Finally, I clicked the button to submit.
The fields left blank included: organization, phone number, email, username, password, and confirm password.
My stack trace contained the same  in the HTML and error of Value cannot be null.

When I went to search for a bug on this, I didn't realize at first that this bug was what I was looking for.  Could we rename to make it more identifiable to testers?  Perhaps something like, "Stack Trace from registration page", or " Null values error from blank fields on registration"?

Milesone = Features backlog

A quick fix could be to add an asterix to the Organization dropdown field (to show that selecting an organization is required)?

Login to criss checkin web application as a volunteer
Go to Change contact info
Remove the data in Phone number field (No value)
Click on submit.
From the previous bugs logged under #512issue it is evident that with an empty input field when the user clicks on submit, then the user is landed on the server error page rather than a user informational error message.
Server Error in '/' Application.
Value cannot be null.
Parameter name: items
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: items

This also happens when organization is the only field not filled in.  Making the field required would not necessarily fix the issue, unless "No Organization" is not supposed to be a valid selection.
I also tested this with selecting a different dropdown option and then moving it back to "no organization" - it is definitely not treating that as a valid selection at all.

I will be offering a pull request shortly which fixes this...

Thank you!

Implementing the above pull request resolves this issue.


Coroutine was never awaited

Hey, thanks for that great package, unfortunately I am not able to use it right and would appreciate some help.
Basically, I followed the example but want to call the function directly without a .connect() event.
This is my implementation:
class SystemTrayApp:

    def __init__(self, runner: QtAsyncRunner) -> None:
        self.app = QApplication(sys.argv)
        self.runner = runner  # Store the QtAsyncRunner instance

        self.start_ble_scan()

        # Create the tray icon
        self.tray_icon = QSystemTrayIcon(QIcon("./images/icon.png"), self.app)
        self.tray_icon.activated.connect(self.on_tray_icon_clicked)

    async def ble_scan_task(self):
        print("BLE scanning...")
        devices = await self.runner.run(ble.ble_scan())
        self.ble_devices = None
        self.ble_devices = devices
        for d, a in devices.values():
            print()
            print("str",d)
            print("-" * len(str(d)))
            print("tuple:", a)

    def start_ble_scan(self):
        print("start_ble_scan...")
        self.runner.to_sync(self.ble_scan_task())

    def run(self):
        # Show the tray icon and start the application event loop
        self.tray_icon.show()
        with self.runner:  # Start the QtAsyncRunner context
            self.app.exec()

if __name__ == "__main__":
    with QtAsyncRunner() as runner:  # Create and use the QtAsyncRunner instance
        app = SystemTrayApp(runner)
        app.run()

But I get the following trace:
RuntimeWarning: coroutine 'SystemTrayApp.ble_scan_task' was never awaited
  self.runner.to_sync(self.ble_scan_task())
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

If I use self.runner.to_sync(self.ble_scan_task) (without braces) the ble_scan_task is of course not called.

Hi @ddomnik,
to_sync wraps an async function into a normal python function, that when called, will start the coroutine in a non-blocking fashion.
In your code:
    def start_ble_scan(self):
        self.runner.to_sync(self.ble_scan_task())

You are attempting to create a normal Python function from the return value of self.ble_scan_task, which is definitely not what you want (I'm surprise this is not an error too).
You want to call to_sync, and then call the returned function:
    def start_ble_scan(self):
        func = self.runner.to_sync(self.ble_scan_task)
        func()

The to_sync function was meant to use as wrappers to be used with signals, so it is better to use https://github.com/nicoddemus/qt-async-threads/blob/b26470631b329395751ea2fc58ed0e48334f29b5/src/qt_async_threads/_async_runner_abc.py#L123-L126
which is supports your use case directly:
    def start_ble_scan(self):
        self.runner.start_coroutine(self.ble_scan_task())

(But note that in this case we do call self.ble_scan_task).


Bug in fiatsent command

When executing the /fiatsent command by the buyer, the bot did not respond to the buyer or the seller during Order ID 675f207894ad209e2fbe13ef
When the buyer tried to repeat the /fiatsent command, nothing appeared to select and if he copied the order ID, the bot responded that the ID was not correct.
Finally, the open orders were listed, the status was checked and the seller released the sats.
From there, everything was correct, the messages were received and both were evaluated.
greetings
[dic 15, 2024, 2:01:46 p.m.]:
/listorders
Id      : 675f207894ad209e2fbe13ef
Status  : FIAT_SENT
Sats amt: 23453
Fiat amt: 30
Fiat    : MLC
Channel : @Ofertas_Cuba_lnp2p

Hi @jacalfonso, thanks for reporting, I'm going to close this issue so that duplicate issues don't accumulate, since it was already reported in #595