Blue menu color too bright

I updated to Authentic theme 19.75 and the blue menu color is way too bright. How to i get the old blue color back?
Now the text (clickable links) and the menu have two different blue colors that make it look totally wrong :(

Hi,
You can use filters in theme configuration to control saturation.
What do you mean by different blue colors?

Sopor, could you provide a screenshot of what looks wrong to you?

Old color:

New color:

Now the text (clickable links) and the menu have two different blue colors that make it look totally wrong :(

I am sorry, but by looking at the screenshots I see nothing wrong? Where exactly the menu has two different blue colors?

So you see no difference between the two pictures?

I do see the great difference. Which is expected. But you said the menu have two different blue colors - what does that mean - what different colors - different colors on the same screenshot or different colors on previous and current versions?
The navigation default menu color was a bit adjusted, it's expected. Is there anything wrong with it? I suggest you checking it on your phone/tablet with a good screen and see if it still looks wrong?

.. I could agree making it slightly less bluish, to raise contrast of the text even more ..

Now the text (clickable links) and the menu have two different blue colors that make it look totally wrong

I wrote that the clickable links now has two different colors. I don't mean the menu.
Clickable links was more like the old blue menu color.

I wrote that the clickable links now has two different colors. I don't mean the menu.

I am sorry but I don't understand what your words are referring to exactly ..

So is there a way for me to change it back? It is way too bright for me.

Yes, sure. You can pull the latest dev version and have a look if it fits you better.
Otherwise you can apply filters and tweak it to any tint/color you like.
Using this feature:

.. and you can easily change its look from -> to:

No way to type in the color value: 2D5D9D? I suck at color and I will never accomplish to get that old blue color back by moving those sliders :(

You could use Theme Extensions for CSS and add the following code:
#sidebar,
.switch-mins a,
.favorites-border {
    background-color: #2d5d9d;
}

html[data-bgs='gainsboro'] .right-side-tabs[data-bgs='nav'],
html[data-bgs='gainsboro'] .right-side-tabs[data-bgs='nav'] .list-group-item,
html[data-bgs='gainsboro'] .right-side-tabs[data-bgs='nav'] .right-side-tabs-dismiss,
html[data-bgs='gainsboro'] .right-side-tabs[data-bgs='nav'] .nav-tabs,
html[data-bgs='gainsboro'] .right-side-tabs[data-bgs='nav'] .nav-tabs .active a,
html[data-bgs='gainsboro'] .right-side-tabs-toggler[data-bgs='nav'] > button,
html[data-bgs='gainsboro'] .right-side-tabs-toggler[data-bgs='nav'].opened > button,
html[data-bgs='gainsboro'] .right-side-tabs-toggler[data-bgs='nav'],
.mobile-menu-toggler > .btn-menu-toggler {
    background-color: #2d5d9d !important;
}

Now it looks like it should do, thanks @iliarostovtsev

Now it looks like it should do, thanks

It depends a lot on your PC screen. The best test case would be some Apple retina or an iPad Pro or a smartphone with AMOLED screen to realize how the colors really expected to look like. For instance, I have a 27' Acer monitor and it produces way more saturated picture than my MacBook Pro. I suggest you giving it a try on some other device and seeing how it looks?
By the way, what is your monitor manufacture and a model?

That doesn't matter what monitor i use. The color looks like it did before you changed it and that was what i wanted.


SAML login redirect url on /saml2/acs (POST)

Describe the bug
Logging in to bookstack via SAML2 delivers the wrong redirection url. As can be seen on the enclosed image, I receive the applications logo location as redirect url, instead of the  bookstack base application url.
Nowhere within the SAML authenication system this logo url is set up. (We use keycloak)
Steps To Reproduce
n/a
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): 0.29.0
PHP Version: 7.2
Hosting Method (Nginx/Apache/Docker): docker

Additional context

Hi @col-panic,
Does your logo load fine when on the login page of you BookStack instance? Does the request to load the logo redirect at all?
Also, Could you confirm if you have set a STORAGE_TYPE variable in your .env or as an environment variable and, if so, confirm what STORAGE_TYPE you are currently using?

hy @ssddanbrown yes - it will show the logo - but No it will not automatically redirect to the main page. That is I have to manually enter /bookstack (when I see the logo after SAML auth) to get a valid login.
Confirmed,  STORAGE_TYPE=local_secure

@col-panic Thanks for confirming. I think that since the images on local_secure are routed through the app, BookStack will therefore store the logo request and a last app call, and then redirect you to that last app call after login. Will do some testing on my end to validate this and explore a patch.

@ssddanbrown thats great - thank you!

Hi @col-panic,
Apologies for my late reply.
I've done some deeper investigation, I don't think this is caused by what I thought it was. System images (app logo) are uploaded directly into the public space so the requests should not be routed through the application.
I have tested a keycloak SAML + secure_images setup and all works without issue.
On the ACS request shown in the screenshot, or the original login page get request, is there a Referer request header set at all?
On the http response for the logo image, are cookies included in the response?

Hy @ssddanbrown thanks for your response, currently I am unable to re-enact the problem, as we had a change of setup, I will further try as I can remember that the current version still had the problem!

I've got a similar error redirecting users to the logo file after they have successfully logged in with their LDAP username and password (Samba4 as backend).
We are on 0.30.7 now, but the problem exists since we switched to local_secure storage in v 0.30.3.
I see that the problem only exists on the first login. If I log out and log in again I don't get redirected to the logo file.

@IntelligentesTierMaulApollo13 Could you try re-uploading the image in the settings area? The app logo gets uploaded into public space when local_secure is active. If you've migrated then you may have moved this out of public.

I see that the problem only exists on the first login. If I log out and log in again I don't get redirected to the logo file.

I imagine the image is cached by that point so it does not have the same affect as the browser does not need to re-quest the image from BookStack.

@ssddanbrown Thanks a lot! That was a very quick reply. And the right one :) Re-uploading the logo file fixed it.

@IntelligentesTierMaulApollo13 Awesome! Glad that worked!
@col-panic I'll therefore close this since you were not able to re-enact and since it's been a couple months. If you get the issue again this can always be re-opened or feel free to create a new issue referencing this one.


** python SeticorePy package

Makes the python code installable 🤷♂ I learnt something doing this.

Interesting. I don't actually know how this stuff works myself but it seems like a reasonable idea. Would this be like, pip install SeticorePy? I feel like the ideal name would just be pip install seticore.

Could definitely change the name.
Yeah, I did a local install as it's not published on the python registry, so pip install ./python.
It adds the viewer and crosscheck executables to the environment...

https://setuptools.pypa.io/en/latest/userguide/entry_point.html if you're curious..

Heyo Kevin! I've neatened most of the points of yours up... I'm aiming to have this be as lightweight a package as possible because I'd like for other packages to be able to depend on it to provide only the stamp_capnp and hit_capnp objects..
The viewer.py I rate should be split into some helper functions like read stamps and a separate collection of entrypoints... then again it could just be rebranded as soley an entrypoint seeing as the helper functions are light enough to be duplicated in any dependants.
I've found that one can install this python subdirectory with pip install "git+https://github.com/MydonSolutions/seticore@python/#egg=seticore&subdirectory=python".
Ideally I'd see a separate repo for the python package, with a submodule that is only the .capnp files. That submodule would also obviously be used by the C++ repo too, to ensure consistency... that's quite a refactor, so I'll bring it up in another Issue once this is closed.

oh... could always look at having this pushed to the PyPI so people can just pip install seticore


Adding Wireless Switch (wxkg) support

create new accessory for Wireless Switch.
update base_accessory & datautil to support wxkg's subdevice and ensure its perpor order showing in homekit.

***** Tested for 1 month+ with heavily used at home.

Getting this error quite often:
(node:912) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getCharacteristic' of undefined
at WirelessSwitchAccessory.refreshAccessoryServiceIfNeed (/homebridge/node_modules/homebridge-tuya-platform/lib/wirelessswitch_accessory.js:52:12)
at WirelessSwitchAccessory.updateState (/homebridge/node_modules/homebridge-tuya-platform/lib/wirelessswitch_accessory.js:72:10)
at TuyaPlatform.refreshDeviceStates (/homebridge/node_modules/homebridge-tuya-platform/index.js:193:30)
at TuyaPlatform.onMQTTMessage (/homebridge/node_modules/homebridge-tuya-platform/index.js:185:18)
at /homebridge/node_modules/homebridge-tuya-platform/lib/tuyamqttapi.js:99:17
at Set.forEach ()
at TuyaOpenMQ._onMessage (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyamqttapi.js:97:32)
at MqttClient. (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyamqttapi.js:54:67)
at MqttClient.emit (events.js:400:28)
at MqttClient._handlePublish (/homebridge/node_modules/homebridge-tuya-platform/node_modules/mqtt/lib/client.js:1277:12)
(Use node --trace-warnings ... to show where the warning was created)
(node:912) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:912) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It's still the same error:
TypeError: Cannot read properties of undefined (reading 'getCharacteristic')
at WirelessSwitchAccessory.refreshAccessoryServiceIfNeed (/homebridge/node_modules/homebridge-tuya-platform/lib/wirelessswitch_accessory.js:52:12)
at WirelessSwitchAccessory.updateState (/homebridge/node_modules/homebridge-tuya-platform/lib/wirelessswitch_accessory.js:72:10)
at TuyaPlatform.refreshDeviceStates (/homebridge/node_modules/homebridge-tuya-platform/index.js:193:30)
at TuyaPlatform.onMQTTMessage (/homebridge/node_modules/homebridge-tuya-platform/index.js:185:18)
at /homebridge/node_modules/homebridge-tuya-platform/lib/tuyamqttapi.js:99:17
at Set.forEach ()
at TuyaOpenMQ._onMessage (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyamqttapi.js:97:32)
at MqttClient. (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyamqttapi.js:54:67)
at MqttClient.emit (node:events:526:28)
at MqttClient._handlePublish (/homebridge/node_modules/homebridge-tuya-platform/node_modules/mqtt/lib/client.js:1277:12)


Keyboard Manager stops working once I close the application

Microsoft PowerToys version
0.40.0
Running as admin

[X] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
Whenever I exit the application, then my changes that I made while in the application to my keyboard stop working. In the app I swapped my windows and alt keys but they reset once I close it.
✔ Expected Behavior
I expected the key changes to remain no matter whether I just turn on the computer or have it on for hours.
❌ Actual Behavior
Whenever I don't have the app open the function resets.
Other Software
No response

It seems like you are using an outdated version of PowerToys. Please update to the latest version of PowerToys and see if the issue persists. 😄

Hello, I just attempted to fix the issue by updating but the issue
persisted. Is there any other things that I could do to fix this?
On Sun, Dec 19, 2021 at 8:51 PM Franky Chen @.***>
wrote:

It seems like you are using an outdated version of PowerToys. Please
update to the latest version
https://github.com/microsoft/PowerToys/releases/ of PowerToys and see
if the issue persists. 😄
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/15079#issuecomment-997524624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW7MWLM7ILBBM44ASNEY7STUR2DYNANCNFSM5KME7EAQ
.
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.
You are receiving this because you authored the thread.Message ID:
@.***>

/bugreport

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!

BTW, it seems you are using email to reply to this thread. Please login to github.com and drop your report in the comment. Attachment won't be sent through email.

Sorry where exactly do I go to post this comment
On Sun, Dec 19, 2021 at 10:53 PM Franky Chen @.***>
wrote:

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the
generated file into the GitHub comment to upload it. Thanks!
[image: image]
https://user-images.githubusercontent.com/11349917/133042052-4975be21-4699-4363-83c9-a8e1869d079d.png
BTW, it seems you are using email to reply to this thread. Please login to
github.com and drop your report in the comment. Attachment won't be sent
through email.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/15079#issuecomment-997570624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW7MWLMDNWZWUCIOIUK7E3LUR2SD3ANCNFSM5KME7EAQ
.
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.
You are receiving this because you authored the thread.Message ID:
@.***>

@iggydog26
https://github.com/microsoft/PowerToys/issues/15079#issuecomment-998185185

@iggydog26 do you fully quit Powertoys and expect the remaps to work?
can you maybe walk me through step by step exactly what you are doing?

No, the only time my remapped keys function properly is when I have the window to change the keys open. Once I close that window out while even still having the Powertoys app open, then the keys stop working how I set them to.
Sent from my iPhone

On Dec 21, 2021, at 1:00 AM, Clint Rutkas @.***> wrote:

@iggydog26 do you fully quit Powertoys and expect the remaps to work?
can you maybe walk me through step by step exactly what you are doing?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

@iggydog26 I need crisper steps to be sure we can repro this.  As of now, this is still vague and makes it hard to nail down what is happening.  Can you do something more in lines of below.

Have powertoys running (icon in system tray)
Go to settings and then Keyboard manager
remapped A to B
Clicked ok
KBM Settings page shows A to B
Close settings, note PT icon is still in system tray and running
Start up notepad
I type A and B types

A Report bug zip file would also be super helpful

Have powertoys running
Go to settings and then Keyboard manager
Remap the Left windows key to the left Alt key
Remap the Left alt key to the Left windows key (this is to essentially
swap the two)
Clicked ok
KBM settings page shows Left windows key to Left alt key and Left alt
key to left windows key
Close settings
I press the windows key which should not open windows
Windows menu bar opens indicating that the swap did not occur

The changes only save when I have the Keyboard manager open and have the
tab open.
On Tue, Dec 21, 2021 at 4:17 PM Clint Rutkas @.***>
wrote:

@iggydog26 https://github.com/iggydog26 I need crisper steps to be sure
we can repro this. As of now, this is still vague and makes it hard to nail
down what is happening. Can you do something more in lines of below.

Have powertoys running (icon in system tray)
Go to settings and then Keyboard manager
remapped A to B
Clicked ok
KBM Settings page shows A to B
Close settings, note PT icon is still in system tray and running
Start up notepad
I type A and B types

A Report bug zip file would also be super helpful
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/15079#issuecomment-999099708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW7MWLKWSNLHX3BUX2UG5W3USDVE7ANCNFSM5KME7EAQ
.
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.
You are receiving this because you were mentioned.Message ID:
@.***>

I was wondering if you got this alright
Sent from my iPhone

On Dec 21, 2021, at 10:17 PM, iggydog26 @.***> wrote:

Have powertoys running
Go to settings and then Keyboard manager
Remap the Left windows key to the left Alt key
Remap the Left alt key to the Left windows key (this is to essentially swap the two)
Clicked ok
KBM settings page shows Left windows key to Left alt key and Left alt key to left windows key
Close settings
I press the windows key which should not open windows
Windows menu bar opens indicating that the swap did not occur

The changes only save when I have the Keyboard manager open and have the tab open.

On Tue, Dec 21, 2021 at 4:17 PM Clint Rutkas @.***> wrote:
@iggydog26 I need crisper steps to be sure we can repro this. As of now, this is still vague and makes it hard to nail down what is happening. Can you do something more in lines of below.
Have powertoys running (icon in system tray)
Go to settings and then Keyboard manager
remapped A to B
Clicked ok
KBM Settings page shows A to B
Close settings, note PT icon is still in system tray and running
Start up notepad
I type A and B types
A Report bug zip file would also be super helpful
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

@iggydog26 Report bug zip file is still not attached. Also could you post a screenshot of Keyboard manager page in settings?

@iggydog26 You'll have to log in to github.com first and then click this link #15079 to post your attachment and the screenshot in the comment area.
Attachments and files won't send to us if you're replying to the email. 😄


Cannon run example code: Traceback (most recent call last):

I'm using Mac and I'm trying out gym from openai, then I downloaded a project for which I needed stable-baselines so I followed the documentation and it didn't work so I thought maybe it's gym but gym works fine. I made a new project copy and pasted the example code on stable-baselines documentation, but it just keeps giving me the same error. I tried every way of downloading stable-baseline: pip, pip3, with and without mpi, I even tried downloading it via github and the bleeding-edge version. I already have CMake and openmpi
Code:
import gym

from stable_baselines.common.policies import MlpPolicy
from stable_baselines.common.vec_env import DummyVecEnv
from stable_baselines import PPO2

env = gym.make('CartPole-v1')
env = DummyVecEnv([lambda: env])  # The algorithms require a vectorized environment to run

model = PPO2(MlpPolicy, env, verbose=1)
model.learn(total_timesteps=10000)

obs = env.reset()
for i in range(1000):
    action, _states = model.predict(obs)
    obs, rewards, dones, info = env.step(action)
    env.render()

Error:
Traceback (most recent call last):
  File "/Users/(my name)/Documents/testing gym.py", line 3, in <module>
    from stable_baselines.common.policies import MlpPolicy
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines/__init__.py", line 4, in <module>
    from stable_baselines.deepq import DQN
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines/deepq/__init__.py", line 1, in <module>
    from stable_baselines.deepq.policies import MlpPolicy, CnnPolicy, LnMlpPolicy, LnCnnPolicy
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines/deepq/policies.py", line 2, in <module>
    import tensorflow.contrib.layers as tf_layers
ModuleNotFoundError: No module named 'tensorflow.contrib'

System Info
Describe the characteristic of your environment:

I installed via pip(3), GitHub clone
I'm using a Mac with intel core i7 quad-core 2.6GHz and Radeo Pro 560X 4gb
My python version is python 2.7.11, python3 3.7.4
Tensorflow version: 2.0.0
gym version: 0.14.0

Please help

Tensorflow version: 2.0.0

That there is the problem: Stable-baselines is built for Tensorflow major version 1 (up till 1.14.0), and does not work for Tensorflow 2. You can change to working tensorflow version with pip3 install --upgrade tensorflow==1.14.0.
I think this is a problem in stable-baselines as setup.py attempts to install any tensorflow version up from 1.8.0, including 2.0.0.

Thank you, I do now et a lot of warnings before any program decides to start, but it does work

hi
it seems there is tensorflow older than 2.1 is not available any more (at least on python 3.9) what should I do?
tanks

@amm266 We recommend using stable-baselines3 instead which is more actively mantained and supports current versions of pytorch and python.


Taskbar scrolling should work on secondary taskbar as well

The secondary taskbar has a different ahk_class: Shell_SecondaryTrayWnd instead of Shell_TrayWnd.

Agreed, fixing it.

Done: https://github.com/sdias/win-10-virtual-desktop-enhancer/releases/tag/0.10.5.

Thanks a lot.


Allows using autolayout to constraint the height of the header

It's better to leverage the power of Autolayout to calculate the height of the header view instead of using a fixed number.
With Autolayout you can change the height of the header view base on your need without reloading the entire view.

@Jiar
Could you share your thoughts?

Thanks for contribution!
It's a good idea, but I think there is something not good enough:

I think it's better way to use the property headerHeight when it is not nil, otherwise, use the headerView.frame.height.
Have not handle the property headerHeight in SegementSlideViewController.
Add the function reloadNavigationBarStyle to viewDidLayoutSubviews will cause other problem.
If all of the above can be solved, you can merge to the v2 branch.

I'm sorry I didn't notice your pull request in time.

@Jiar
Thanks for pointing it out.
I'll review it again.

@Jiar

Add the function reloadNavigationBarStyle to viewDidLayoutSubviews will cause other problem.

Could you tell me what problem may occur?

I think it's better way to use the property headerHeight when it is not nil, otherwise, use the headerView.frame.height

Why do you need headerHeight anymore?
It's better to respect Autolayout. Otherwise, you may encounter unexpected layout constraint conflicts.

I looked carefully, viewDidLayoutSubviews call timing is after the viewWillAppear call, should not be a problem. But I wonder why you call the reloadNavigationBarStyle method in the viewDidLayoutSubviews method.
The property headerHeight may indeed no longer be required.
Replace let headerHeight = segementSlideHeaderView.frame.height with let headerHeight = segementSlideHeaderView.frame.height.rounded(.up), otherwise, it will cause the visual problems shown in the figure below(This is due to the fact that the decimals of headerHeight may be too long.).
merge to the v2 branch please.

@Jiar
Thanks for reviewing.
I have just fixed those problems. Please check again.

I looked carefully, viewDidLayoutSubviews call timing is after the viewWillAppear call, should not be a problem. But I wonder why you call the reloadNavigationBarStyle method in the viewDidLayoutSubviews method.

=> Removed!

The property headerHeight may indeed no longer be required.

=> Thanks.

Replace let headerHeight = segementSlideHeaderView.frame.height with let headerHeight = segementSlideHeaderView.frame.height.rounded(.up), otherwise, it will cause the visual problems shown in the figure below(This is due to the fact that the decimals of headerHeight may be too long.).

=> Fixed.

merge to the v2 branch please.

=> Done.

Thanks again for your contribution.


Build a POC to test url rewriting for static resources

DP is available here https://bundle-optimization.appsmith.com/app/customer-support-dashboard/dashboard-64663a96fd503905864cf03c

@SatishGandham can this task be closed?


Configure Resources for zookeeper operator

In our kubernetes environment , we require that "resources/requests" are configured.
That is not an option right now in the helm chart for the zookeeper operator for the following containers:
post-install-upgrade-hooks.yaml
pre-delete-hooks.yaml
post-install-upgrade-hooks.yaml:
spec:
backoffLimit: {{ .Values.hooks.backoffLimit }}
template:
metadata:
name: {{ template "zookeeper-operator.fullname" . }}-post-install-upgrade
spec:
serviceAccountName: {{ template "zookeeper-operator.fullname" . }}-post-install-upgrade
restartPolicy: Never
containers:
- name: post-install-upgrade-job
image: "{{ .Values.hooks.image.repository }}:{{ .Values.hooks.image.tag }}"
resources:
limits:
# cpu: < optional value , like 1>
memory: < optional value , like 512Mi>
requests:
cpu: < required value , like "500m" >
memory: < required value , like 256Mi >**
pre-delete-hooks.yaml:
spec:
backoffLimit: 6
template:
metadata:
name: {{ template "zookeeper-operator.fullname" . }}-pre-delete
spec:
serviceAccountName: {{ template "zookeeper-operator.fullname" . }}-pre-delete
restartPolicy: Never
containers:
- name: pre-delete-job
image: "{{ .Values.hooks.image.repository }}:{{ .Values.hooks.image.tag }}"
resources:
limits:
# cpu: < optional value , like 1>
memory: < optional value , like 512Mi>
requests:
cpu: < required value , like "500m" >
memory: < required value , like 256Mi >**
I would like these values to be configurable from the values file.

If you are installing the zk-operator through the solr operator chart, then all Zookeeper Operator options will be available under zookeeper-operator.*.
If these are options that the Zookeeper Operator does not currently provide, please open an issue there: https://github.com/pravega/zookeeper-operator


Where did JsonSerializerSettings.CheckAdditionalContent go?

There is mappings for the other JsonSerializerSettings that there seems to be one not documented that didn't get migrated as to its status and that is JsonSerializerSettings.CheckAdditionalContent.
Where did this go, is there a workaround, or does System.Text.Json do this by default now and if you where setting it to true we have nothing to be concerned about?

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

ID: 6b74d77c-33e1-d44c-18c6-bd0b612f74de
Version Independent ID: 9c6a7135-eb75-21a9-1d27-0880459523ca
Content: Migrate from Newtonsoft.Json to System.Text.Json - .NET
Content Source: docs/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to.md
Product: dotnet
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

cc @layomia @Jozkee

@layomia @Jozkee Would you recommend a custom converter to do what Newtonsoft CheckAdditionalContent does?

Taking a look at the scenario now. @CreepyGnome, can you provide an example of when this is useful?

We use CheckAdditionalContent to help validate POST body content. If user sends up additional unknown attributes we want it to be clear that value has no meaning.


Overcast Not Appearing in Sonos "Add Music Services"

Thanks for releasing this @josh. I'm getting the "success" message after inputting my IP, but Overcast is not appearing as an available service in the Sonos app. I've closed/re-opened the app a few times and still no luck.

Yeah, same here. I noticed that your screenshot was using Sonon 7.0.1. I also noticed that my "Add music service" menu looks a bit different than the one shown on http://overcast-sonos.herokuapp.com/setup.php. So, I took a look at the app store version history and noticed that between version 7.0.1 -> 7.1 (which is current) they note "easier music service installs". So, I wonder if this newer/easier service install somehow broke display of "side loaded" services such as this.

They removed "Sonos Labs" from the iOS app.  So after following the instructions I was able to add Overcast from Sonos' desktop app instead.

They removed "Sonos Labs" from the iOS app. So after following the instructions I was able to add Overcast from Sonos' desktop app instead.

I totally forgot about "sonos labs" (had been a while since I added one). This totally worked..thanks!

Confirm – adding via the Sonos desktop app works.
I'll update this issue to reflect that this is only an issue with the Sonos iOS app and will defer to @josh as to whether he'd like to keep the Issue open.

Oh!!! This makes sense. I think if we change the registration type it might show up if you don't enable Sonos Labs. One sec, I'll make a PR.

Also having this same issue. Thanks for reporting!

Okay, you'll have to go through the setup page again and enter the Sonos IP again. That will register the service without the SoundLabs beta.

I can confirm that this works on my system.  🎉


capture1shot flicker

HI
tested latest changes, with deflicker=true, picture now flickers with capture1shot
it's quite annoying while before it was nearly perfect with any signal
But, with deflicker=false, it is now almost perfect, using much simpler code :)
there's something new, capture_dv = 1 , what this parameter
exactly do to the display and can I use it somehow for better
deflickering?

I found a bug between the trigger system and the downsampler and fixed. I was supposed that nothing should happen.
capture_dv tells the video system that the data capture is valid. if it is ' 0' then no sample is plot for that capture_addr. It is planned to be used to display the data captured while the captured buffer isn't still completed or users scroll to invalid time-axis values.

I can test this fix!
1shot trigger deflickering logic tries to always keep content of the
buffer in valid state so capture_dv = '1' is good value
Yes it's good idea to disable trace plot few pixels around the
point in time when buffer wraparound jumps from negative to
positive time, also the proper numbering of -min +max on
hzscale too
In capture1shot, the wraparound is always near capture_addr = 0
and T=0 in the middle of the buffer, at storage_length/2
On 7/13/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I found a bug between the trigger system and the downsampler and fixed. I
was supposed that nothing should happen.
capture_dv tells the video system that the data capture is valid. if it is '
0' then no sample is plot for that capture_addr. It is planned to be used to
display the data captured while the captured buffer isn't still completed or
users scroll to invalid time-axis values.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/hdl4fpga/hdl4fpga/issues/143#issuecomment-511081078

I still need to keep 1shot deflicker=false (disabled) because if enabled it will licker
(it didn't flicker before some display changes).
A simplified logic is currently in use which will also deflicker
and It's normally useable but it can't honor "strobe" parameter
during triggering.

Try the last fix. Even though I don't think it'll fix your problem ... I came to a conclusion the last week that it is impossible to fulfill all the user requests: on trigger systems, downsampler systems (that should be called interpolation/decimation) and capture system. So if the last fix doesn't solve the problem, it is better to duplicate the trigger and downsampler and set to the older version inside the generate ... and try to figure out and interface that let users choose among: to create theirs or to use the ones that fit better for them.

I will try the fix.
I agree that it is not possible to have all the features and keep the
code small and simple as we option "deflicker=false"
and signal is looking good with such setting.
So, this is not a serious issue - please keep the code small and
simple and don't duplicate anything.
On 7/15/19, Miguel Angel<EMAIL_ADDRESS>wrote:

Try the last fix. Even though I don't think it'll fix your problem ... I
came to a conclusion the last week that it is impossible to fulfill all the
user requests: on trigger systems, downsampler systems (that should be
called interpolation/decimation) and capture system. So if the last fix
doesn't solve the problem, it is better to duplicate the trigger and
downsampler and set to the older version inside the generate ... and try to
figure out and interface that let users choose among: to create theirs or to
use the ones that fit better for them.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/hdl4fpga/hdl4fpga/issues/143#issuecomment-511422153

Yes ... that is my main goal

I found the thing which broke my deflicker algorithm.
I need regular timing from downsample signal as a regular
clock enable for deflickering because I must apply real time
calculation to external input signal.
What is currently done in downsample module seems to me
that downsample signal is mixed somehow in if/then loop with
trigger level shot signal, and after such mixing it's impossible to have
realtime deflickering calculation correct to stabilize signal in the buffer
For example, if input downsampler is doing 1:10 reduction,
then signal I need is 1-clock of '1' and 9-clocks of '0' regularly
all the time like this
100000000010000000001000000000....
On 7/15/19, Miguel Angel<EMAIL_ADDRESS>wrote:

Yes ... that is my main goal
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/hdl4fpga/hdl4fpga/issues/143#issuecomment-511583533

Can you check if it is fixed ?

checking...

no current patch makes everything work for some time
and then stop
In downsampler, the "downsample_dv" must not
depend on triggering - can you check is this code
in downsampler really correct:
if input_shot='1' and shot_dis='0' then
If instead of downsample_dv  I replace ampsample_dv
the 1shot capture module is able to stabilize the signal
but downsampling doesn't work then

No .. it doesn't but output_sample is delayed
can you try using resizedsample_data instead of  downsample_data ?

it didn't help.
for 1-shot trigger deflickering, it doesn't matter how much is the actual data
delayed because in storage module, I have option to compensate any latency
with "align_to_grid" parameter
but, In downsampler scaler_p I deleted everything else except this:
if scaler(0)='1' then
scaler := unsigned(factor);
else
scaler := scaler - 1;
end if;
output_dv <= scaler(0);
then everything about deflickering started to work again
signal is stable in the buffer!

ok ... save it ... I'll move downsampler into the generate block and will see later.

Add the one that works for you into your generate block and do a pull request

I added linear deflickering mode which works and can
replace currently broken differential mode. I can later see
can I fix differential.


The looping occurs and the browser hovers

Hello!
I  encountered the problem with popper not the first time when a tooltip isn't fit in a certain container. The looping occurs and the browser hovers. The "boundariesElement" attribute doesn't help each time.

Thank you for your issue.
Unfortunately I can't answer to all the reported issues without a little help from you.
Please, make sure to follow the issues template when you submit a new issue, in this way I will already have all the informations needed to understand the problem and help you with it.
I'm closing this issue for now, but feel free to open a new one making sure to follow all the instructions!
Thank you for your understanding.


Would like to specify xaxt='n'

We (me and @lindsaycarr) are running into an issue with overplotting axis. It seems like in plot we can tell something to not put out an axis by default with xaxt='n', but we cannot achieve that with gsplot.
Here is an example for how gsplot handles it:
xdata <- seq.Date(as.Date("2010-10-01"), as.Date("2010-10-31"), by="days")
ydata <- runif(length(xdata), 0, 50)

gs <- gsplot() %>%
 points(x=xdata, y=ydata, type='l') %>%
 axis(side=c(1,2), at=xdata, labels=as.character(1:length(xdata)))
gs

Here is how plot handles it with xaxt:
plot(xdata, ydata)
axis(side=1, at=xdata, labels=as.character(1:length(xdata)))

plot(xdata, ydata, xaxt='n')
axis(side=1, at=xdata, labels=as.character(1:length(xdata)))

We would like to be able to:
gs <- gsplot() %>%
 points(x=xdata, y=ydata, type='l' xaxt='n') %>%
 axis(side=c(1,2), at=xdata, labels=as.character(1:length(xdata)))
gs

I would think that xaxt should always be 'n' on the underlying points call.  If the user explicitly calls xaxt, then we should withhold the underlying axis call so as to avoid drawing the axis altogether.  I think some of our implicit dealings (axis and legend) force us to deal with some par arguments differently.

Exactly what I was saying here:
#171

With the PR I did the other day, you can turn off axes, then rebuild:
xdata <- seq.Date(as.Date("2010-10-01"), as.Date("2010-10-31"), by="days")
ydata <- runif(length(xdata), 0, 50)

gs <- gsplot() %>%
 points(x=xdata, y=ydata, type='l', axes=FALSE) %>%
 axis(side=1, at=xdata, labels=as.character(1:length(xdata)))%>%
 axis(side=2)
gs

Ok @ldecicco-USGS, is this redundant then? Should I close it?

I'll pull your example in there.


server.bat in orientDb 2.2.0

Expected behavior and actual behavior
server.bat when run on windows fails with below error
Invalid maximum direct memory size: -XX:MaxDirectMemorySize=512g
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Steps to reproduce the problem
run server.bat
Important Questions
MaxDirectMemorySize=512g    is to be changed as MaxDirectMemorySize=512m
Runninng Mode

[ ] Embedded, using PLOCAL access mode
[ ] Embedded, using MEMORY access mode
[ ] Remote

Misc

[ ] I have a distributed setup with multiple servers. How many?
[ ] I'm using the Enterprise Edition

OrientDB Version

[ ] v2.0.x - Please specify last number:
[ ] v2.1.x - Please specify last number:
[ X] v2.2.x - Please specify last number:

Operating System

[ ] Linux
[ ] MacOSX
[X ] Windows
[ ] Other Unix
[ ] Other, name?

Java Version

[ ] 6
[ ] 7
[ X] 8

@kumarkshiva 500mb is too low. You need few GB at least.

in the server.bat, which is the installer script provided by orientDB, it is a mentioed as MaxDirectMemorySize=512g .
This option better to be be changed as MaxDirectMemorySize=512m or more .
It can be user defined variable also instead of 512gb.
If put as 512 gb, installation fails.

Encounter this issue on Windows 10 laptop with 4GB ram running JDK <IP_ADDRESS>.  I could not start server for the first time.  I resolved the issue by remove MaxDirectMemorySize from the java_opts_script environment variable.

I guess you have a 32bit system and/or JVM. On a 32bit system the maximun value is 2g.
Can you confirm that your system or your JVM are 32bit?

I'm also facing this problem.
(v2.2 running embedded on my machine => Win7 64bit on a quadCore CPU, with 8gb of RAM.)
I can use the DB via Studio. But my applications cannot properly open a connection. To be more specific:

16:41:25,667 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lattes].[Faces Servlet]] (http-localhost/<IP_ADDRESS>:8080-1) JBWEB000236: Servlet.service() for servlet Faces Servlet threw exception: java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method) [rt.jar:1.7.0_51]
at java.nio.DirectByteBuffer.(DirectByteBuffer.java:127) [rt.jar:1.7.0_51]
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306) [rt.jar:1.7.0_51]
at com.orientechnologies.common.directmemory.OByteBufferPool.allocateBuffer(OByteBufferPool.java:309) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.common.directmemory.OByteBufferPool.acquireDirect(OByteBufferPool.java:228) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSegment.readRecord(OLogSegment.java:415) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.read(ODiskWriteAheadLog.java:656) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.restoreFromWAL(OAbstractPaginatedStorage.java:3618) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.recoverIfNeeded(OAbstractPaginatedStorage.java:2945) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:206) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:231) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.internalOpen(OPartitionedDatabasePool.java:140) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.openDatabase(OPartitionedDatabasePool.java:391) [orientdb-core-2.2.0.jar:2.2.0]
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.acquire(OPartitionedDatabasePool.java:350) [orientdb-core-2.2.0.jar:2.2.0]
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.(OrientBaseGraph.java:140) [orientdb-graphdb-2.2.0.jar:2.2.0]
at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.(OrientTransactionalGraph.java:78) [orientdb-graphdb-2.2.0.jar:2.2.0]
at com.tinkerpop.blueprints.impls.orient.OrientGraph.(OrientGraph.java:135) [orientdb-graphdb-2.2.0.jar:2.2.0]
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getTx(OrientGraphFactory.java:130) [orientdb-graphdb-2.2.0.jar:2.2.0]

I get the message above right after going through the following code:
  OrientGraphFactory factory = new OrientGraphFactory(path).setupPool(1, 10);             return factory.getTx();
v2.1 worked fine though...

 java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Native Method) [rt.jar:1.7.0_51] at java.nio.DirectByteBuffer

Please, try with a MaxDirectMemorySize higher than 500m, as Luca stated.

Rob, Yes I am using 32bit 1.8 JDK on 64bit Windows 10.  I also tried on Win7 64bit/32bit 1.7JDK with same result.  To clarify, I received the error posted by original submtter when I tried to run server.bat the first time.  Setting MaxDirectMemorySize=2g resolves the original issue but the server throws an exception during startup and fails to start.  If I run Server.bat again the server starts up and I am prompted to enter the root password.
2016-05-23 18:49:57:420 INFO  {db=OSystem} Creating the system database 'OSystem' for current server [OSystemDatabase]Exception in thread "main" java.lang.OutOfMemoryError
        at sun.misc.Unsafe.allocateMemory(Native Method)
        at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:127)
        at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
        at com.orientechnologies.common.directmemory.OByteBufferPool.allocateBuffer(OByteBufferPool.java:309)
        at com.orientechnologies.common.directmemory.OByteBufferPool.acquireDirect(OByteBufferPool.java:228)
        at com.orientechnologies.orient.core.storage.cache.local.OWOWCache.cacheFileContent(OWOWCache.java:1255)
        at com.orientechnologies.orient.core.storage.cache.local.OWOWCache.load(OWOWCache.java:617)
        at com.orientechnologies.orient.core.storage.cache.local.twoq.O2QCache.updateCache(O2QCache.java:1200)
        at com.orientechnologies.orient.core.storage.cache.local.twoq.O2QCache.doLoad(O2QCache.java:439)
        at com.orientechnologies.orient.core.storage.cache.local.twoq.O2QCache.allocateNewPage(O2QCache.java:489)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperation.commitChanges(OAtomicOperation.java:426)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.endAtomicOperation(OAtomicOperationsManager.java:420)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent.endAtomicOperation(ODurableComponent.java:118)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.create(OPaginatedCluster.java:197)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.addClusterInternal(OAbstractPaginatedStorage.java:3349)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doAddCluster(OAbstractPaginatedStorage.java:3330)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.create(OAbstractPaginatedStorage.java:381)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(OLocalPaginatedStorage.java:120)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:378)
        at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:106)
        at com.orientechnologies.orient.server.OSystemDatabase.<init>(OSystemDatabase.java:42)
        at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1217)
        at com.orientechnologies.orient.server.OServer.activate(OServer.java:343)
        at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

Just installed v2.2.0, getting the same issue. Will report further when I try the above steps.
java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode, sharing)
8GB RAM
64bit Windows v10 Pro
i7-4510U CPU

I completely uninstalled Java and then re-installed u92 64 bit. This resolved the memory issue. However, I now have a number of other issues; not the least of which is errors creating a database. Will log new issues for those.


(PUP-4194) Move logdir default to /var/log/puppetlabs/puppet

Previously, puppet would set its logdir permissions to root:root:750
if run on a host without the puppet service user and group. If the
puppetserver package was installed later, it would create the puppet
user and group accounts, try to start, but fail to write to its log
directory /var/log/puppetlabs/puppetserver, because of the parent
directory permissions.
This commit moves puppet's logdir to /var/log/puppetlabs/puppet,
isolated from both puppetserver and puppetmaster packages, the latter
being the passenger-based compatibility packages.
This commit affects both the puppetdlog setting, which is pretty much
dead, and the puppet master webrick masterhttplog setting, which is
soon to be deprecated.

Btw, I didn't change the following packaging related files:
0 ~/work/puppet (ticket/master/PUP-4194-relocate-puppet-logdir)  $ git grep '/var/log/puppet[^l]'
ext/debian/changelog.erb:    /var/log/puppet on purge (closes: #571130)
ext/debian/changelog.erb:  * Add puppetmaster.postrm to remove /var/log/puppet on purge
ext/debian/puppet-common.postrm:                rm -rf /var/log/puppet/
ext/ips/transforms:# make sure /var/log/puppet and /var/lib/puppet are owned by puppet
ext/redhat/client.sysconfig:#PUPPET_LOG=/var/log/puppet/puppet.log
ext/redhat/puppet.spec.erb:- Fix permissions on /var/log/puppet (#495096)
spec/unit/provider/service/src_spec.rb:myservice::--no-daemonize:/usr/sbin/puppetd:0:0:/dev/null:/var/log/puppet.log:/var/log/puppet.log:-O:-Q:-S:0:0:20:15:9:-d:20::"

Supercedes PR #3710

Updated ext/redhat/client.sysconfig:#PUPPET_LOG=/var/log/puppetlabs/puppet/puppet.log as that is added to puppet-agent packages.

The acceptance test will fail until the corresponding packaging changes are made.

CLA signed by all contributors.


Sound never plays again once I release it, even on component re-load

:beetle: Description

I want to play some music when user loads into the app and stays on a specific screen. I can get the track to play at the start however, once they leave the screen and come back to it later, the sound doesn't play anymore.
Any help would be appreciated, thanks.
:beetle: What have you tried?
Changing tracks, different methods of playing audio etc.
//audio setup outside of component function
var Sound = require('react-native-sound');

var background = new Sound('onboarding.mp3', Sound.MAIN_BUNDLE, (error) => {
  if (error) {
      console.log('failed to load the sound', error);
      return;
    } else {
      background.play((success)=> console.log(success)); // have to put the call to play() in the onload callback
  }
  });

//then playing tracks with following in useEffect
background.setVolume(1);

background.play(success => {
  if (success) {
    console.log('successfully finished playing');
  } else {
    console.log('playback failed due to audio decoding errors');
  }
});

//then I run this after component unmounts
background.stop(() => {});
background.release();

Is your issue with...

[ x] iOS
[x ] Android
[ ] Windows

Are you using...

[x ] React Native CLI (e.g. react-native run-android)
[ ] Expo
[ ] Other: (please specify)

Which versions are you using?

React Native Sound: "^0.11.1",
React Native: "0.63.4",
iOS: 15
Android: Oreo

Does the problem occur on...

[x ] Simulator
[x ] Device

If your problem is happening on a device, which device?

Device: iphone 12, pixel 3

@cgruca Where you are able to solve this problem?

I figured out the same thing, never releasing works. Thanks for confirming!

Initializing them outside the component and releasing them on component un-mount will not work. you have to initialize them during component mount.
import { useEffect } from 'react';
import { Button } from 'react-native';

export const Sound = require('react-native-sound');
Sound.setCategory('Playback');

let mySound;

export const MyComp = () => {
  useEffect(() => {
    mySound = new Sound('mysound.mp3', Sound.MAIN_BUNDLE);

    return () => {
      mySound.stop();
      mySound.release();
    };
  }, []);

  return (
    <Button
      title={'Play'}
      onPress={() => {
        mySound.play();
      }}
    />
  );
};


[Feature] Allow duplication and moving of Sections and Items (to other sections)

Is there an existing issue for this feature?

[X] Yes, I have searched the existing issues and it doesn't exist.

Feature Description
Current Functionality:
Sections Support: The UI currently supports the creation of custom Sections and within each Section, Items can be rearranged as needed.
Feature Request:
Objective: Enable duplication of Standard Sections within the UI
Details: This would allow a second "Experience" section for example that could contain experience Items.
Use case: I create another Experience Section and want it below the current Experience section so that I can split my Experience Items across two pages.
Objective: Enable rearranging the order of Sections within the UI
Details: This should allow changing the sequence of Sections as easily as we can currently re-arrange Items within a Section.
Use case: I know the order for the resume is defined in the layout but it would be great if in the UI my two Experience sections could be right below each other and I can rearrange them to reflect the order I also define in the Layout.
Objective: Allow the move or duplicate of Items from one Section to another
Move functionality: Make it possible to seamlessly move Items from one section to another. or
Duplicate functionality: Make it possible to duplicate an Item from one Section and place it in another, without removing it from the original Section. Not sure how easy this might be as items seem to be formatted differently depending on the Section they belong to. So it might only work to move items from the same Section type to another?
Use case: I want to move Items from my original Experience Section into a new Experience Section so that I can split them across two pages.

Plus one to this, It is very likely that one of my section will span from first page to second and I will create the same section again on second page, As and when I add more details in first page I need to move items from bottom of first page to second page.


how to connect to a open database

hi,
how to connect to a open database without providing a parameter "FIREBASE_AUTH". Like as Firebase.begin(FIREBASE_HOST);
{
"rules": {
".read": "auth == null",
".write": "auth == null"
}
}
Best regards

No you can't.
Database secret used in FIREBASE_AUTH is the special privilege's access method to Realtime Database which not affected by security rule (no matter what your database rules were configured all are by-pass with database secret).
Then you can full control the database with legacy Database secret without restriction by database rules.
There are several ways to access database i.e. through legacy and insecure database secret (used in this library and Google's AppScript), custom access token (for app or device that able to create, encrypt and sign the custom access token) and OAuth2.0 authorization (for web or app that has can show user's consent screen).

Thank you for the quick reply.
Is the recall date known legacy Database secret?
What is easier to implement custom access token or OAuth2.0 authorization?

Database secret still in use as long as it the only way for Google's AppScript to access Realtime Database. Then I think it set as obsolete for secure custom token and OAuth2.0 promotion but still support for some none UI platforms including embedded device.
For custom token, it's possible for ESP32 only (due to memory restriction) because of library to encrypt and sign token.


Is there anyway to port this into colab?

I'd like this to work with colab, is this in general really hard to achieve?
I've done some research and google colab does support ipywidgets 7.5.0, as you can see on this example colab the problem with ipytree is that the trees appear blank as if there is no html to be shown, does anyone know why is this? Internally it seems to be working fine.
I'd fix it myself but I wouldn't know how to start debugging this problem.

As you can see trees appear blank

representation of the tree seems to work fine, but dom_classes is empty, should it be empty?

Google colab does not support custom interactive widgets libraries, this is something that should be fixed in colab, we cannot do anything about it in ipytree unfortunately. You can follow the status of this here: https://github.com/googlecolab/colabtools/issues/60

Fyi, I filed a specific Colab issue for ipytree support: googlecolab/colabtools#2522

ipytree==0.2.0 appears to work in Colab when custom widgets are enabled (see example in https://github.com/googlecolab/colabtools/issues/2522).
With ipytree==0.2.1 it's failing to find /dist/index.js. This is included in the published files to npm for 0.2.0 but not 0.2.1.
I believe this was a result of https://github.com/QuantStack/ipytree/commit/81e125e61c259aed3a09d396f83fd0d1cee833cf#diff-e51a40ac250c9696142466f114f754161e7e5102c0cdb5354548b757deb272f6?


docs: useIsForeground

:tada: This issue has been resolved in version 7.26.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


toggle '&' symbol replace

This is what I ment. ;)

Thanks for your contribution to the project.

You're Welcome ;)


GrafanaDashboard should support substitution from GrafanaDatasource name

Hi!
 Then I want to apply GrafanaDashboard using this datasources, but I don't want to play around the name of Datasources, rather just pointing to a Datasource namespace and name. All other work should be done by operator. I will try to explain on the example.
The current behaviour:
I am applying the datasources:
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
  name: influxdb-v2
  namespace: tenant-root
spec:
  datasource:
    access: proxy
    editable: true
    isDefault: false
    jsonData:
      defaultBucket: ""
      httpMode: POST
      organization: myorg
      version: Flux
    name: InfluxDB-V2
    type: influxdb
    url: http://influxdb.tenant-test.svc:8086
  instanceSelector:
    matchLabels:
      dashboards: grafana
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
  name: mysql-tst-icarus
  namespace: tenant-root
spec:
  datasource:
    access: proxy
    editable: true
    isDefault: false
    jsonData: {}
    name: tst_icarus
    type: mysql
    url: mysql.tenant-test.svc:3306
    user: root
    secureJsonData:
      password: root
    database: tst_icarus
  instanceSelector:
    matchLabels:
      dashboards: grafana

and setting their name in spec.datasource.name (it would be nice if it could be autogenerated).
Then I am applying dashboard:
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
  name: openstef-new
  namespace: tenant-root
spec:
  folder: openstef
  instanceSelector:
    matchLabels:
      dashboards: grafana
  url: https://raw.githubusercontent.com/OpenSTEF/openstef-reference/master/grafana-configurator/volumes/config/dashboards/station_forecasts.json
  datasources:
  - inputName: "000000005"
    datasourceName: "tst-icarus"
  - inputName: "vowSQsa4z"
    datasourceName: "InfluxDB-V2"
  resyncPeriod: 30

What is important here - the inputName is the name inside of dashboard and datasourceName what is known to current grafana instance. I want to emphasize that IT IS ERROR PRONE to paste the datasource name manually. So the desired spec should look like:
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
  name: openstef-new
  namespace: tenant-root
spec:
  folder: openstef
  instanceSelector:
    matchLabels:
      dashboards: grafana
  url: https://raw.githubusercontent.com/OpenSTEF/openstef-reference/master/grafana-configurator/volumes/config/dashboards/station_forecasts.json
  datasources:
  - inputName: "000000005"
    datasourceRefName: "mysql-tst-icarus"
    datasourceRefNamespace: "tenant-root"
  - inputName: "vowSQsa4z"
    datasourceRefNameName: "influxdb-v2"
# datasourceRefNamespace: "tenant-root" ### Could be omited - then use current one.
  resyncPeriod: 30

We discussed this issue in our weekly sync meeting and in our opinion, this does not fix the issue of it being error-prone to paste the data source name. Instead of pasting the name, you are now pasting the resource name & namespace (which is more opportunity to introduce errors).
We do not maintain an admission webhook that could prevent invalid manifests from being created, so the best you'd get is an error in the GrafanaDashboard resource.
Does this prevent you from using the Grafana Operator or is it mostly a usability issue?

@theSuess Hi! Thanks for interest in the issue. As I see there is two workflow:

we already have some grafana with preconfigured datasources and user wants to upload some dashboards to it from k8s cluster with gitops approach. Then it is logical to leave the option to set the name of datasource.
we have a ephemeral grafana instance (like in kube prometheus stack) and this instance would be populated with all datasources and dashboards from scratch. In this case I don't care about datasources and dashboards internal name but dashboards should be somehow organised into catalogues and have a meaningful human readable name (like "Ingress Nginx Metrics Dashboard"). For that case it would be nice to have refs. Also I want to mention that many operators support referencing already precreated entities - like https://github.com/aws-controllers-k8s or FluxCD with it's HelmRelease when we can refer to already uploaded HelmChart to the cluster or reference it by name and HelmRepository. So I don't see here any logical mistake.

Thanks for the elaboration, I now see where you're coming from.
We'll soon implement configurable UIDs for all resources, including data sources. In my opinion, the cleaner solution would then be to use the UID for the data source mapping field. As an example:
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
  name: example-grafanadatasource
spec:
  datasource:
    # ...
  # EXAMPLE: NOT YET IMPLEMNTED
  uid: tenant-root
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
  name: openstef-new
  namespace: tenant-root
spec:
  url: https://raw.githubusercontent.com/OpenSTEF/openstef-reference/master/grafana-configurator/volumes/config/dashboards/station_forecasts.json
  datasources:
  - inputName: "000000005"
    # EXAMPLE: NOT YET IMPLEMNTED
    datasourceUID: 'mysql-tst-icarus'

Do you think this would offer the same affordances in your use case?
Once the ability to set UIDs has finalized, implementing references also becomes much easier but if relying on UIDs alone is also a valid choice for you, keeping the complexity low would be our main goal


Observer warning test

Somehow CI fails on this without clear error. Locally tests run without issue..

I don't get it. CI doesn't fail on one of my commits. Only on the merge commit. The syntax change is not the problem. That part I copied from an other test.

That's not @delaetthomas fault, I've restarted build from #136 and it fails too now. https://travis-ci.org/mobxjs/mobx-react/builds/169473113

@andykog I made a special travis script. Now it doesn't fail anymore.


Docs.MS Release Updates for azure-abort-controller

Update docs metadata and targeting for release of azure-abort-controller

Docs Build status updates of commit e21619e:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error-download-failed] Download failed for file 'https://ops/buildconfig/?name=node-api&locale=en-us&repository_url=https://github.com/MicrosoftDocs/azure-docs-sdk-node&branch=master&xref_endpoint=&xref_query_tags='. Try closing and reopening the PR. If you get this Error again, file an issue.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Attach Flexbox Manager on RecyclerView

[ ] I have searched existing issues and confirmed this is not a duplicate

This a duplicate issue but the existing issue is closed while the problem still exist
Issues and steps to reproduce
Try to set on Flexbox Manager on a RecyclerView
Android Studio say it's impossible
FlexboxLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager and not androidx.recyclerview.widget.RecyclerView.LayoutManager.
Expected behavior
Recycler accept this manger and can use it
Version of the flexbox library
1.1.0

A written in the README, since 1.1.0, flexbox-layout library expects androidx package. Please migrate to androidx. https://developer.android.com/jetpack/androidx/migrate


P2P DA Message Inclusion Proofs

Context: proofs that rollmint block was included in celestia block

[ ] Create ADR for message inclusion gossiping network
[ ] Integration tests

this can be optimistic. Once the aggregator knows that their block is added to Celestia, they may simply sign an attestation asserting that it's available in a specific Celestia block-height. An exclusion proof may be used as a kind of fraud proof for these attestations to alert light clients to a withholding attack


Locked<EMAIL_ADDRESS>to avoid unecessary import linting…

… changes.

Without this change, regenerating the package-lock would bump this package to 2.20.1 which introduces new linting requirements for import order which results in us needing touch over 400 files to satisfy the linter.

Coverage remained the same at 68.031% when pulling 1f6f4e426f762c067dc9de1b289fc7dccc5540a8 on toanzian/linting into 50009debea68158ae8418abff0c14f2eac3461c9 on master.


Feature request: blocklist for pages/sites that don't benefit from autonomous highlighting

Pages/sites that are mostly source code, or which have little text, don't benefit from autonomous highlighting. It'd be great to have a way to disable it for such pages/sites. Maybe a blocklist, or a minimum text length threshold, or maybe the importance estimation algorithm has enough information to decide when it makes no sense to highlight?

@hmijail Thanks for the idea!
Cc:  @VidFerris
Blocklist support is implemented for autonomous highlighting. The list can be modified on the options page, or by adding pages and hostnames using the new context menu (screenshot below; icons are supported only on Firefox, as Chrome and Edge do not currently support context-menu icons below the top level).
In addition to URLs and hostnames, URL match patterns can also be added to the blocklist.
Rather than blocking autonomous highlighting on certain pages, the blocklist can alternatively be used for allowing autonomous highlighting on certain pages. This is documented on the options page under Blocklist Information > Allowing Certain Pages.
I've submitted the updated extension to Chrome, Firefox, and Edge. It has been approved for Firefox, and the review is still pending for the others (it can take up to a few days, based on prior experience).
Context Menu Screenshot


TLs display the link of an emoji rather than the emoji

I've noticed this for a few days now. It takes up space and can be quite the problem when the user sends TLs with a text box emoji.

The fix already landed on the dev branch and will be available soon
https://github.com/HolodexNet/Holodex/pull/381

Landed


http://learnboost.github.io/kue/ doesn't work

It seems like it's kue main page. I see Automattic as an owner but not learboost though. Will close as created by mistake.


Parallelism do not seems to be working

Hi,
I've used the following code:

if __name__ == '__main__':
    config = {'algorithm': 'Regression', 'enableParallelism' : True, 'enableGBM': True, 'epochs': 10, 'learning_rate': 0.01}
    model = chef.fit(df_tree_train, config)

and when I check my CPU usage I see that only one core is being used. Why aren't all my cores being used?

Hello, I checked multiprocessing for GBM. CPU usage has never exceeded 100% but performance tab of task manager shows that 4 virtual cores are running when I call fit command.
BTW, Training.py has a line mentioning the number of cores. Could you increase this value with editing on your local environment. ı will set this value with dynamically in the next feature.
num_cores = 1

I published a new release focusing on parallelism mechanisim. Now, parallelism is enabled by default. Please re-try your case.


Install failed: package directory 'lexicons' does not exist

Directory "lexicons" is defined as setup.py packages entry, but it's missing.
$ pip install git+https://github.com/cjhutto/bsd.git
Collecting git+https://github.com/cjhutto/bsd.git
  Cloning https://github.com/cjhutto/bsd.git to /tmp/pip-SMmDlV-build
    Complete output from command python setup.py egg_info:
    []
    running egg_info
    creating pip-egg-info/bsdetector.egg-info
    writing requirements to pip-egg-info/bsdetector.egg-info/requires.txt
    writing pip-egg-info/bsdetector.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/bsdetector.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/bsdetector.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/bsdetector.egg-info/SOURCES.txt'
    error: package directory 'lexicons' does not exist

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-SMmDlV-build/

Thanks for the catch, @mscam


Build of rocFFT fails

Hi All,
I am trying to build this library (and the whole ROCm) from source. I hit what it seems to be a programming error, I show the output below.
The exact version of rocFFT is
ubuntu@cdp-rocmbuild:~/rocm-from-source/build/rocFFT$ git log
commit 15ac7c4a2ac7e045f27c8939b9ad2ff31ab88b62 (HEAD, tag: rocm-5.1.1, tag: rocm-5.1.0, rocm-swplat/release/rocm-rel-5.1, m/roc-5.1.x)
Author: Steve Leung<EMAIL_ADDRESS>Date:   Mon Mar 14 22:12:15 2022 -0600

    tree_node_3D: use diagonal sbrc for gfx1030

and here is the error
Running command make -j 8 install
[  1%] Building C object library/src/CMakeFiles/sqlite3.dir/__/__/_deps/sqlite_local-src/sqlite3.c.o
[  2%] Building CXX object library/src/CMakeFiles/rocfft_rtc_helper.dir/rocfft_rtc_helper.cpp.o
[  2%] Building CXX object library/src/CMakeFiles/rocfft_rtc_helper.dir/rtccompile.cpp.o
[  3%] Building CXX object library/src/device/generator/CMakeFiles/stockham_gen.dir/stockham_gen.cpp.o
In file included from /home/ubuntu/rocm-from-source/build/rocFFT/library/src/device/generator/stockham_gen.cpp:30:
In file included from /home/ubuntu/rocm-from-source/build/rocFFT/library/src/device/generator/stockham_gen_cc.h:22:
/home/ubuntu/rocm-from-source/build/rocFFT/library/src/device/generator/stockham_gen_base.h:92:30: error: use of undeclared identifier 'ceil'
            unsigned int n = ceil(double(length) / width / threads_per_transform) * width;
                             ^
/home/ubuntu/rocm-from-source/build/rocFFT/library/src/device/generator/stockham_gen_base.h:683:33: error: use of undeclared identifier 'floor'
        unsigned int  iheight = floor(height);
                                ^

Hi @dipietrantonio , thanks for reporting this issue.
This has already been fixed in the develop branch with 31589ce749a7dc27158e98dcbfbb33ab0a288fa5, and will be present in the upcoming 5.2 ROCm release.
Are you able to cherry-pick that commit into your build, or build any of the release/rocm-rel-5.2 or develop branches instead?

Hi @evetsso, thank you for your prompt reply. I am trying to build the whole ROCm stack from source for the Pawsey Supercomputing Centre in Australia. Currently I am only developing the installation script, if this issue has been fixed in the next release, then by the time I am finished this won't be a problem anymore :) but in case I need it, I will cherrypick the commit. Thank you again, keep up with the good work!

Closing this issue then.  Please feel free to reopen it (or open a new one) if you need anything else.


Build sqlite3 with sqlcipher for electron

This would be a HUGE thing. I'm having serious problems to achieve this. Any thoughts?


Make it callable from the source code

I'm not a Python expert by far. I know the basic syntax and can find my way around and make a few changes. And I can't get this script to run on the command line on Windows.
My Python version is 3.11.4. I have already installed the dependencies (by extracting the info I understood from setup.cfg to a requirements.txt file). But how am I supposed to run this? When I do a little guessing and run python pymcuprog.py from the "pymcuprog" directory, I get this:
Traceback (most recent call last):
  File "C:\Source\Elektronik\pymcuprog\pymcuprog\pymcuprog.py", line 25, in <module>
    from . import pymcuprog_main
ImportError: attempted relative import with no known parent package

I don't know what's going on here. pyupdi has worked just fine like that. Is there some additional start or entry script missing in the code?

This is required to call the pymcuprog script from any directory:
set PYTHONPATH=C:\path\to\pymcuprog
python -m pymcuprog.pymcuprog ping -d attiny1614 ...

Hi @ygoe
When you install Python you have the option to "add scripts folder to path" which is the trick you missed.
Many tools (like pymcuprog) install with a small executable in the scripts folder which will make it usable as a CLI.
Where the scripts folder is located depends on your Python version and your system - I would suggest finding it and adding it to your path.

you can just install it in "editable mode" by changing to your git source folder and using:
pip install -e .


ColorPicker slider tweaks

Made the ColorPicker slider work more like the normal one, including having an animated thumb.

Thank you for submitting this PR, the current focus of the team is to assist our users in moving from WinUI 2 to WinUI 3. We are closing this PR as it does not address resolving a critical issue for WinUI 2 or WinUI 3.


When using Intelephense and PHP DocBlocker extensions they conflict

When both plugins are active typing /** results in a comment block with 2 sets of */ at the end.  IE:
/**

Undocumented function

@param string $url
@param array $params
*/ */

or
/**
*
*/ */
Can something be done to make these extensions play nicely together?

Thanks for reporting, resolved in v0.7.0


aws-sigv4 fails to normalize duplicate / in URLs

Reproducer:

pick operation with a greedy path label
pass //

the quick-hack fix:
        let path = Cow::Owned(path.replace("//", "/"));

From: https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
Add the canonical URI parameter, followed by a newline character. The canonical URI is the URI-encoded version of the absolute path component of the URI, which is everything in the URI from the HTTP host to the question mark character ("?") that begins the query string parameters (if any).

Normalize URI paths according to [RFC 3986](https://tools.ietf.org/html/rfc3986). Remove redundant and relative path components. Each path segment must be URI-encoded twice ([except for Amazon S3 which only gets URI-encoded once](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html)).

Example Canonical URI with encoding

/documents%2520and%2520settings/
Note
In exception to this, you do not normalize URI paths for requests to Amazon S3. For example, if you have a bucket with an object named my-object//example//photo.user, use that path. Normalizing the path to my-object/example/photo.user will cause the request to fail. For more information, see [Task 1: Create a Canonical Request](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html#canonical-request) in the Amazon Simple Storage Service API Reference.

If the absolute path is empty, use a forward slash (/). In the example IAM request, nothing follows the host in the URI, so the absolute path is empty.

Example Canonical URI

/

linked: https://github.com/awslabs/smithy-rs/issues/1308

We should clarify that normalizing duplicated forward slashes is not part of URI path normalization for creating canonical requests as two or more slashes should be valid, in which case we have an empty path segment.
Regarding a failing reproduction steps in aws-sdk-rust#661, it is caused by the fact that slashes are not allowed in the name of an S3 bucket. One way to address it is to return an error by saying such a bucket name is not supported and not let an HTTP request make its way to the S3 service. A reference implementation can be found in isValidDnsBucketName in Java SDK V2.
When implemented in Rust SDK, this would need to an S3 customization where we add a validation function in inlineable and then pull that in via the make_operation customization.

Looks like this was fixed a while ago.


Scaffold kitchensink when testing included

closes #387
[x] tests the Docker image cypress/included using Kitchensink project
[ ] restore the check against present image in circle.yml

Ughh, just so so bad
Installing NVM fails because ... drum roll eslint
#!/bin/bash -eo pipefail
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
NVM_DIR="$HOME/.nvm"
echo "export NVM_DIR=\"$HOME/.nvm\"" >> $BASH_ENV
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && \. \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV
source $BASH_ENV
nvm install \
  --lts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13527  100 13527    0     0   172k      0 --:--:-- --:--:-- --:--:--  173k
=> nvm is already installed in /opt/circleci/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /home/circleci/.bashrc
=> Appending bash_completion source string to /home/circleci/.bashrc
npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>=> You currently have modules installed globally with `npm`. These will no
=> longer be linked to the active version of Node when you install a new node
=> with `nvm`; and they may (depending on how you construct your `$PATH`)
=> override the binaries of modules installed with `nvm`:

/opt/circleci/.nvm/versions/node/v6.1.0/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>=> If you wish to uninstall them at a later point (or re-install them under your
=> `nvm` Nodes), you can remove them from the system Node as follows:

     $ nvm use system
     $ npm uninstall -g a_module

=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="/opt/circleci/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

Exited with code exit status 1
CircleCI received exit code 1

opened https://github.com/CircleCI-Public/node-orb/issues/62

closing in favor of https://github.com/cypress-io/cypress-docker-images/pull/413


fixing typo

This change is

@diwu1989 Please sign the CLA using the same email address as used by your GitHub account. If you have any trouble w/ the process, please let me know. Thx


Make JupyterHub More Configurable

What are the common points of JupyterHub that users will want to configure?

Default images ?
Auth mode?
SSL?

This is probably blocked on Kubernetes adding good support for KMS (#54)

In addition or alternatively, we could show people how they could easily provide their own KubeSpawner py file to use in their component.
We might want to look at the existing helm package for JupyterHub and think about whether that can be reused in some fashion.
/cc @foxish @yuvipanda

Yes, the things we've found that people ask for (and have added to the chart):

Different authenticators
Automatic HTTPS with Let's encrypt
Custom ways to specify how user homedirs are mounted (PVC provisioning)
Whitelisting users / setting users as admin users
Automatic culling (stop user notebooks after X minutes of inactivity)

Would love to explore how we can use our helm chart here as a dependency.

Yep, I was thinking we would ideally load the "blessed" list of NB images from whenever they are released to gcr.io. @jlewi @ankushagarwal , at some point will we be tagging these to Kubeflow releases instead of the date-sha moving target?

We are now tagging Jupyter images with the release.

Elaborating on the idea of using a ConfigMap. I think we'd like the full ConfigMap/YAML spec to be a ksonnet prototype. The YAML could be specified via jsonnet.
This way the full spec would be a component inside the user's ksonnet application. So they could easily make changes to it without us needing to expose parameters for every feature.
Furthermore, can we implement this such that we don't have to add explicit support to kube_spawner.py to support a given option.
http://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html#module-kubespawner.spawner
Ideally, we should just be able to list options in the config map corresponding to kube-spawner options and they should be automatically applied.

@pdmack Any interest in picking this up?

See this thread:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/kubeflow-discuss/CKx5wVqzfAs/NoRMdWm9DQAJ
It looks like JupyterHub has an option to cull idle notebooks which would be very useful. The instructions
https://zero-to-jupyterhub.readthedocs.io/en/latest/user-management.html
Indicate it is options specified in the helm chart's config.yaml; so we probably need to look at the helm chart to figure out where the culling option gets set.
@yuvipanda Do you have a link to the source for the JupyterHub helm chart? I was having trouble finding it.

The cull service is actually somewhat problematic as it kills browser-inactive users, even though they might have running kernels.
newer jupyter notebook has built in idle culling based on kernel activity, but this needs to be enabled in notebook.  mybinder uses singleuser extraEnv to configure notebook's MappingKernelManager.

@clkao Thanks; so just to double clarify all we need to do is set the environment variables as specified here: extra_notebook_config.py? I assume we set this in the pod running Jupyter and not JupyterHub?

Let me clarify a bit further since there are multiple things involved:

Notebook pod: needs to tweak MappingKernelManager to enable shutdown_no_activity_timeout and kernel culling.
Notebook pod: Uses extra_notebook_config to set (1) from env var
Hub pod: use singleuser extraEnv to config to configure (2)

(2) is tricky, as you need to bake it into the notebook image which is hard to guarantee if you allow custom images. for images based off docker-stack (jupyter/*), you can actually mount configmap under /usr/local/start-notebook.d/ to provide the env processing

I think it would be useful to focus this issue. As I understand it, the idea would be to load known kubespawner config simply via some kind of YAML/JSON file that could be loaded and read by our spawner Python file.
The PVC issue for surfacing those objects in the UI is separately tracked at #34
The culling issue is already at #1394
So, this issue is solely for the purpose of the E-Z config map approach I described.
Agreed?

@pdmack Agree on the scoping of this issue.

@pdmack feel free to open a new issue to clarify the scope and then close this as a dupe of that.

/priority p1

/remove-priority p1
/priority p2
No engineering resource assigned

Closing this out since as of 0.5 JupyterHub is no longer used.


CVE-2022-0847 "Dirty Pipe" Linux Kernel bug

Version
Microsoft Windows [Version 10.0.19044.1566]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
CVE-2022-0847 was first reported to the Linux kernel maintainers by Max Kellermann<EMAIL_ADDRESS>and was public disclosed earlier today (2022-03-07).  The TL;DR is that this bug allows extremely low privileged accounts (including Nobody) to escalate privileges up to root, modify read-only files, and otherwise do serious damage if exploited.
I noticed that the WSL2 Kernel appears to be in one of the affected kernel releases, so I was wondering when a new release would roll out to address the bug. For reference, "The vulnerability was fixed in Linux [kernel versions] 5.16.11, 5.15.25 and 5.10.102."
Technical details from Mr. Kellermann's blog: https://dirtypipe.cm4all.com/
I didn't use the security vulnerability reporting form since I'm not a security researcher in any way, shape or form. Just a sysadmin who reads ArsTechnica a lot. Apologies in advance if y'all are already well aware of this issue.
Expected Behavior
N/A
Actual Behavior
N/A
Diagnostic Logs
No response

Does gaining root access in WSL2 need a vulnerability? One can run wsl.exe -d <distro> -u root.

Does gaining root access in WSL2 need a vulnerability? One can run wsl.exe -d <distro> -u root.

Huh, didn't know that was a thing tbh. I'm only a casual user of WSL2 so I'm not too well versed in the ins and outs. IIRC, WSL2 uses Hyper-V to run the kernel in a sandboxed VM (or something to that effect).
My initial concern was that this vulnerability would put the host system at risk. Though, given what you pointed out, that's probably not an issue. If the maintainers think this is a non-issue, I'll close it out.

My initial concern was that this vulnerability would put the host system at risk.

Here the host system with Windows 10/11 may not be in risk from this Linux vulnerability. To gain privileged access, the wsl.exe or the distribution launcher has to be run as administrator. But I am not a security expert and maybe wrong about this 😊

Does gaining root access in WSL2 need a vulnerability? One can run wsl.exe -d <distro> -u root.

Good note!
I consider that having this allowed by default to be another vulnerability. You can probably mitigate this by remounting /mnt/c without executable rights or changing the rights just for /mnt/c/WINDOWS/system32/wsl.exe.
To be better protected against possible malware inside WSL you should take those vulnerabilities very seriously. I am wondering why there is no response from Microsoft.

I am wondering why there is no response from Microsoft for CVE-2022-0847.

Why they would make any response?

Why they would make any response?

I do not understand you... WSL is created and maintained by Microsoft including kernel updates. Microsoft is supposed to fix vulnerabilities in WSL.
BTW I noticed that there was <IP_ADDRESS> for WSL released few days ago already:
https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-<IP_ADDRESS>
But there is still no release of a binary update package:
https://www.catalog.update.microsoft.com/Search.aspx?q=wsl

https://github.com/microsoft/WSL/releases/tag/0.56.2
WSL just released a new version with updated kernel (and Dirty Pipe patched)

Does anyone know how to install it ?

The release above is not for X86 apparently. What worked for me is the procedure described by @Nineus (compiling and replacing the kernel manually). I guess it's good enough until the patch lands officially in the update catalog.
Only thing I notice is that kernel is significantly smaller, I'm not sure why, but it does not prevent my WSL2 to start:
19/03/2022  10:43        12 846 976 kernel
23/09/2021  04:59        72 651 888 kernel.copy

I noticed that a binary update package was released for x64 and arm64 on 2022-03-25:
https://www.catalog.update.microsoft.com/Search.aspx?q=wsl

As others have noticed, we pushed 5.10.102 which has a fix for this CVE.


Adding fix for oddjob-mkhomedir error on instance create

Installing ipa_client_install includes the dbus module oddjob-mkhomedir. This module is used when IPA users first log into a new instance.
On RHEL 7.4, the module fails to start after installation until dbus is restarted. NetworkManager cannot gracefully recover from a dbus restart, so we restart that module as well.

Codecov Report

Merging #30 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   24.68%   24.68%
=======================================
  Files          32       32
  Lines        1333     1333
  Branches      151      151
=======================================
  Hits          329      329
  Misses        989      989
  Partials       15       15

Impacted Files
Coverage Δ

lib/python/treadmill_aws/hostmanager.py
33.33% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b552080...203b426. Read the comment docs.


feat(design): create DaffSelectable host directive

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] 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?

Part of: #763
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@damienwebdev I think to-do for this was to possibly change up implementation of media renderer?


Draft: Rotation compensation

See #27

[x] Compensate when displaying highlights (scaledToViewport)
[ ] Compensate when creating highlights (viewportToScaled)

I added something similar in  viewportToScaled but that was not sufficient to make adding highlights work...
I think because in MouseSelection the  viewportPosition is not actually in viewport coordinates when we're dealing with rotated pages.
But I'm not sure, I'll leave this issue for the moment as I'm not even sure this is the right approach, maybe there's a way to ignore all the rotation stuff in the first place?


Update Readme.md: ONT-442 Fix broken link

Fix broken link to website examples gallery in README CASE CP-37, ONT-442.
Change README link from this:

https://caseontology.org/ontology/gallery.html

to this:

https://caseontology.org/examples/

Closing without merging for two reasons:

Following git-flow, this needs to be branched off of, and filed against, develop, not master.
The proposal's implementation was previously drafted here.  However, the proposal got lost before the Jira workflow was revised.  It'll come through in another PR.


Added link to the csrf template tag in the csrf documentation page

Trac ticket number

N/A
Branch description
The CSRF docs, in the 2nd point of how it works mention the csrf template tag but do not link to is.
Checklist

[X] This PR targets the main branch.
[X] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[ ] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[X] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

I have no idea why those 2 db tests failed on a docs only change. I'm also surprised they are ran in doc only changes.


[diff_drive] Remove unused parameter and add simple validation #abi-breaking (backport #958)

This is the 1:1 backport of #958. @bmagyar why do you think we have to do something different as you have changed with #1008?

If the CI is happy we could merge this. The CI was clearly unhappy on the humble backport

If the CI is happy we could merge this. The CI was clearly unhappy on the humble backport

we didn't backport this to humble anyways. You tried fixing the original backport to iron.

Too many parallel universes to handle :D


Archive trainings

Archive trainings for 2022 and earlier
Update the home page to mention the archive
Port the theme upgrade and modifications

This PR is just a backport of stuff from the 2022 branch. Merging.


Fixes empty filter bug from ibis breaking changes

Fixes #77
All test pass after this fix in python 3.10 and 3.11

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.12%. Comparing base (3b6899c) to head (245cd1c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   92.94%   93.12%   +0.18%
==========================================
  Files           6        6
  Lines         340      349       +9
==========================================
+ Hits          316      325       +9
  Misses         24       24

Files with missing lines
Coverage Δ

src/genomic_features/ensembl/ensembldb.py
93.20% <100.00%> (+0.31%)
:arrow_up:


[TODO] Prepare v9

Tracking list of changes for v9:

[x] Drop support for yarn
[x] Drop support for node v7.9.0
[x] Drop support from vscode using node v7.9.0
[x] Update dependencies
[x] Use true IoC via Inversify
[x] Do not show Restart messages for vscode versions that support icon theme reloading.
[x] Improve language resource manager to include a language as soon as it lands in our repo.
[x] Bundle the nls resources to a single file, wherever applicable.
[x] Mute console messages when running in debug mode.
[x] Show Error message if vscode version is not supported.
[x] Make all I/O operations asynchronous.
[x] Bundle application via Webpack.
[x] Add test case to prevent duplicate icon declarations without different disabled attribute.
[ ] Implement application integrity check via nsri.

The above list is subjected to changes as we get along.

@vscode-icons/development  If you want anything added to v9 please let me know.

Fits to me. :)
Thanks for your work!

Do not show Restart messages for vscode versions that support icon theme reloading.

That will be awesome. Thanks for your work @JimiC!

Implement application integrity check via nsri.

I did not find any issues with integrity checking (wanted to see if there was any progress 😉). Will this feature hash files and check for changes when the extension starts?

I did not find any issues with integrity checking (wanted to see if there was any progress 😉). Will this feature hash files and check for changes when the extension starts?

Yes, it's going to check against the hashed bundled file but nsri isn't ready yet. Still, have work to do on it and I'm kinda over my head at work.

Still, have work to do on it and I'm kinda over my head at work.

Totally get that, no worries, I was just curious. I've dabbled a bit in open source, so I know how much time it can take.


Refresh gallery in the same page when takeing new photos

It is better to refresh the gallery in the same page when adding new photos, rather than close the gallery page and re-enter again.

https://github.com/zhihu/Matisse/issues/43


Documentation around filtered streams

Yoshihiro-san, thank you for your hard work and this great library. I am wondering if it would be possible for you to add documentation to maybe include some examples or explanations around listening for incoming tweet streams.
thanks

@mfreeman612
Thanks for your input!
I will add a sample of "filtered streams" in the example implementation.

Any idea on how to keep a filteredStream from closing? I can read tweets for a while and then it closes

awesome, thank you!

For others who might be reading this, this seems to be working:
&gotwi.NewClientInput{
		AuthenticationMethod: gotwi.AuthenMethodOAuth2BearerToken,
		HTTPClient:           &http.Client{Timeout: 0},
	}

Thank you for your patience.
I have added an example implementation using the filteredstream package, so please check it out.


[Bug Report]: PHP Error

What operating system are you using?
Windows
What version of PHP do you use?
Other
Where did you get the CMS code?
Website
Where are you trying to install the CMS?
Web Hosting
Which emulator are you using and which version?
AzerothCore
Describe the bug
Hello. An error occurs when using voting in your personal account.
PHP version 7.3.33 , all extensions are active.
How can I reproduce the problem?
Vote in your personal account.
Screenshots

helpers/url_helper.php

I will try to reproduce this error, with a version of PHP7, as soon as I know something I will update this thread.

After testing, I have not been able to replicate the error in my local works well. Try downloading this repository and checking that you don't have something old.


Slow Data Streaming

I was building a compass for my map to combinedly rotate together on changing orientation. But, it's too slow that it feels lagging.
So, I printed the incoming data from the FlutterCompass stream subscription and it looked like the interval of device orientation/rotation data was streaming every ~1 second which is slow for me at least. The UI updates every 1 second and its noticeable and feels lagging.

https://pub.dev/packages/smooth_compass
use this package its relatively new but has almost no bugs and its super smooth no frame drop .