In the accessible buffer the whitespace is apparently being replaced by something other than whitespace.

Type: Bug
CC: @meganrogge  @isidorn
I noticed that I can't navigate the accessible buffer using ctrl left arrow or ctrl+right arrow. When using this combination orca treats the whole line as if it were a single word.
Except for misunderstandings, this happens because the blank spaces present in the accessible buffer are being replaced by the character 0xa0.
I ran the command echo "this is test" in the VSCode terminal and ran the same command in the gnome terminal. Browsing character by character with orca I noticed that in the gnome terminal space appears as 0x20 and in the accessible buffer it appears as 0xa0.
VS Code version: Code - Insiders 1.79.0-insider (2c73d2651cc525b27fc697b820743098a204ec01, 2023-05-04T22:12:16.054Z)
OS version: Linux x64 6.2.14-300.fc38.x86_64
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 4.14.146-93.123.amzn1.x86_64

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 2899)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 2, 2

Memory (System)
15.26GB (6.34GB free)

Process Argv
--crash-reporter-id bc02adbd-6c3a-44b8-af92-55103a608af7

Screen Reader
yes

VM
0%

DESKTOP_SESSION
gnome-xorg

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
gnome-xorg

XDG_SESSION_TYPE
x11

Item
Value

Remote
SSH: informal

OS
Linux x64 4.14.146-93.123.amzn1.x86_64

CPUs
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz (2 x 2500)

Memory (System)
3.80GB (1.63GB free)

VM
0%

Extensions (44)

Extension
Author (truncated)
Version

doxdocgen
csc
1.4.0

vscode-markdownlint
Dav
0.50.0

vscode-eslint
dba
2.4.0

EditorConfig
Edi
0.16.4

copilot
Git
1.86.82

rest-client
hum
0.25.1

better-cpp-syntax
jef
1.17.2

docomment
k--
1.0.0

azure-pipelines
ms-
1.208.0

vscode-docker
ms-
1.25.0

csharp
ms-
1.25.7

vscode-dotnet-runtime
ms-
1.6.0

vscode-kubernetes-tools
ms-
1.3.11

remote-containers
ms-
0.293.0

remote-ssh
ms-
0.101.2023050515

remote-ssh-edit
ms-
0.84.0

azure-account
ms-
0.11.4

azurecli
ms-
0.5.0

cmake-tools
ms-
1.14.31

cpptools
ms-
1.15.4

cpptools-extension-pack
ms-
1.3.0

makefile-tools
ms-
0.7.0

powershell
ms-
2023.5.0

remote-explorer
ms-
0.5.2023040509

vsliveshare
ms-
1.0.5864

oracledevtools
Ora
21.5.0

fabric8-analytics
red
0.3.6

java
red
1.19.2023050804

vscode-xml
red
0.25.2023050404

vscode-yaml
red
1.12.2

sonarlint-vscode
Son
3.17.0

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-boot-dev-pack
vmw
0.2.1

vscode-spring-boot
vmw
1.46.0

vscode-java-debug
vsc
0.50.2023042406

vscode-java-dependency
vsc
0.22.2023042900

vscode-java-pack
vsc
0.25.2023042006

vscode-java-test
vsc
0.38.2023042703

vscode-maven
vsc
0.41.2023042103

vscode-spring-boot-dashboard
vsc
0.13.0

vscode-spring-initializr
vsc
0.11.2

gitblame
wad
10.2.0

(1 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
vstes627cf:30244335
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyind779:30611226
pythonsymbol12:30651887
6233i204:30725950
azdwalk:30721579
pythonms35:30671666
cai9j608:30680470
24365598:30687740
pythonfmttext:30716741
pythoncmvfstr:30726892
fixshowwlkth:30724385
hidesbindicator:30724476
pythongtdpath:30726887

We replace these spaces intentionally, but I'm not sure why 🤔 . @Tyriar thoughts?
https://github.com/microsoft/vscode/blob/a54b497150197f773f485038f44af02772c5a016/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.ts#L125

As it is, I can't use orca to select words and I can't navigate by words either.

We replace it with a non-breaking space such that white space appears the same as it would in the terminal. I wasn't aware it has this impact on screen readers (maybe it's just orca?) but we could workaround it by replacing '  ' (2 spaces) with ' \xA0'. That should keep tables, ls, etc. aligned while fixing the problem at hand. It seems like an Orca issue though as I'm pretty sure a non-breaking space should be getting treated as a space.

This bug has been fixed in the latest release of VS Code Insiders!
@jvesouza, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version b9a77b3c7b43f229a430b28070250d55e5d14858 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

This doesn't appear to be fixed:

It is changing multiple lines to include a single space character as expected, but see the first line where single spaces are changed. I'm questioning the fix we came up with though, monaco replaces spaces anyway in the editor:

I think we should revert this and have orca fix it, instead of trying to workaround their problem which could end up causing other issues for us?

I ended up reporting this problem to the orca developers because the problem also exists when I'm editing a file that has words separated by the character 0xa0. I believe the problem will be dealt with on the orca side.

If I understand what @jvesouza reported correctly, I don't think this is an Orca issue.
When Orca is in focus mode, it does not control or consume input events. In other words, Ctrl+Right/Left arrow will do whatever they would do without Orca running. And from some testing, when the words are separated by 0xa0, VS Code (or Chromium) is treating the string as a single word.
If, in those same places, I switch Orca to browse mode, Orca IS controlling/consuming the input events, and it already does treat the string as individual words.
But if I'm missing something, please let me know what I should be fixing in Orca. Thanks!

@Tyriar:
Here are the steps I am using to reproduce the problem which I believe @jvesouza is reporting:

Be sure Orca is NOT running.
Create a new document.
Type "This"
Press Ctrl+Shift+U
Type "00A0" followed by return to insert a non-breaking space character
Type "is"
Repeat steps 4 and 5.
Type "a"
Repeat steps 4 and 5.
Type "test."
Press Home to move to the beginning of the line.
Press Ctrl+Right to move to the next word.

Expected results: The caret would move just past the "s" of "This".
Actual results: The caret immediately jumps to the "." at the end of the sentence.

@joanmarie thanks for the follow up, you're right.
@meganrogge we should not be replacing it with non-breaking spaces as monaco handles their presentation. When you paste in the characters like @joanmarie describes (I did it by running '\u00a0' in console and copying that) you can see they're treated specially, we also have a lint rule to prevent this in vscode:


https://github.com/firebase/firebaseui-web#developer-setup

One of the Firebase support Engineers told me that the code here https://github.com/firebase/firebaseui-web#developer-setup doesn't work with EmberJS because the EmberJS is not directly affiliated with Firebase. It seems to me strange as the code here should work independent of the framework. Is anyone tested the Authentication code of Firebase here https://github.com/firebase/firebaseui-web#developer-setup ? Thanks
PS: I got a reply to use https://github.com/rmmmp/emberfire-utils#firebaseui but is still not working, normally https://github.com/firebase/firebaseui-web#developer-setup should be independent of the framework

That should work. I've actually implemented a component addon for that. Check it out here.

OK Thanks I checked and solved nothing. This is the code here https://github.com/firebase/firebaseui-web#developer-setup and I sill need the code for the landing page and the code for the routing page. Thanks for your add-on but I have the same symptoms. The code here https://github.com/firebase/firebaseui-web#developer-setup should work disregard of the framework. Where is your code for the landing page and the code for the routing page ? I tried your add-on and I got nothing Thanks

I'm not sure what your use-case is. Can you elaborate on that? The link you're showing is just to setup the developer environment which isn't what you want to do when you want to use Firebase UI Web in Ember.
At any case, if this is a bug with my addon please file an issue there. Though I don't think it's a bug but just a misunderstanding of the usage.

Thanks for the reply.
yes I want to setup from scratch the developer environment and write the code for the landing page like here

Sample FirebaseUI App

I put the code here https://github.com/EmberJSParis/Firebasetest
Is just the landing page index.hbs and the route page kontact.hbs that are not working and is not EmberJS the problem
The problem is Firebase

Le 16 juin 2017 à 20:41, rmmmp<EMAIL_ADDRESS>a écrit :
I'm not sure what your use-case is. Can you elaborate on that? The link you're showing is just to setup the developer environment which isn't what you want to do when you want to use Firebase UI Web in Ember.
At any case, if this is a bug with my addon please file an issue there. Though I don't think it's a bug but just a misunderstanding of the usage.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/emberfire/issues/517#issuecomment-309103685, or mute the thread https://github.com/notifications/unsubscribe-auth/AaWfsrs86RHFcD-lxz36xXQmphpH7jNCks5sEsxNgaJpZM4N8eS1.

Sorry, I still don't get why you want to use the developer setup. If I'm correct, you only do that if you wish to do some dev work on that library and contribute it back. It's also unrelated to EmberFire.
Seeing your code, it's gonna be hard to debug since that's definitely not how you should use Firebase UI Web. You shouldn't be putting <script></script> tags in your .hbs files.
Just insert the {{firebase-ui-auth uiConfig=uiConfig}} in your sign-in/sign-up template. Make sure the uiConfig is defined in your controller where the firebase-ui-auth component can access it. After the user signs-in, you can redirect them to your home page again so the session can set-up which is being done in our application route.
One last thing, add a return in your session fetching in your application route like this:
beforeModel() {
    return this.get('session').fetch().catch(function() {});
},

This is also unrelated to EmberFire so I think it'd be best to ask this in Stackoverflow or the Firebase Google Groups.

OK Thanks for the answer.

You shouldn't be putting  tags in your .hbs files.

is just to test, it could be there is not an error.

Just insert the {{firebase-ui-auth uiConfig=uiConfig}} in your sign-in/sign-up template. Make sure the uiConfig is defined in your controller where the firebase-ui-auth component can access it. After the user signs-in, you can redirect them to your home page again so the session can set-up which is being done in our application route.
One last thing, add a return in your session fetching in your application route like this:
beforeModel() {
return this.get('session').fetch().catch(function() {});
},

I don’t kniow how to do what you say ?
If youa re EmberJS why not build an example in EmberJS from scratch with one landing page and a routing page ?
I don’t understand when you say

Just insert the {{firebase-ui-auth uiConfig=uiConfig}} in your sign-in/sign-up template. Make sure the uiConfig is defined in your controller where the firebase-ui-auth component can access it. After the user signs-in, you can redirect them to your home page again so the session can set-up which is being done in our application route.
One last thing, add a return in your session fetching in your application route like this:
beforeModel() {
return this.get('session').fetch().catch(function() {});
},

WHY YOU TALK WITH ME ?
WHERE IS YOUR CODE ?
I UNDERSTAND NOTHIN
……………………………………..
why should I use your add-on ?
Why EmberJS is all on me ? Who call you ? How can I use your advices ?
CAN YOU BUILD A DEMO AND PUT ON GITHUB ?

Who asked you to come in place of Firebase ?
Why not just let the Firebase team to show me how they write code on the landing page then on the route page ? AND FORGET EMBERJS THEY HAVE NO CODE TO SHOW ON GITHUB ON THAT.
Where is the config (in Firebase ?)
Why the EmberJS team come to me ?
Why not REACT ? Why not Angular ?
I WANT FIREBASE TO SHOW ME THE CODE ON THE LANDING PAGE and THE ROUTING PAGE plus where are the config.js files and the files that I get errors as hereafter ?
Please if you dont do code, please stop to write litterature please I need code

Le 16 juin 2017 à 21:35, rmmmp<EMAIL_ADDRESS>a écrit :
Sorry, I still don't get why you want to use the developer setup. If I'm correct, you only do that if you wish to do some dev work on that library and contribute it back. It's also unrelated to EmberFire.
Seeing your code, it's gonna be hard to debug since that's definitely not how you should use Firebase UI Web. You shouldn't be putting  tags in your .hbs files.
Just insert the {{firebase-ui-auth uiConfig=uiConfig}} in your sign-in/sign-up template. Make sure the uiConfig is defined in your controller where the firebase-ui-auth component can access it. After the user signs-in, you can redirect them to your home page again so the session can set-up which is being done in our application route.
One last thing, add a return in your session fetching in your application route like this:
beforeModel() {
return this.get('session').fetch().catch(function() {});
},
This is also unrelated to EmberFire so I think it'd be best to ask this in Stackoverflow or the Firebase Google Groups https://groups.google.com/forum/#!forum/firebase-talk.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/emberfire/issues/517#issuecomment-309115901, or mute the thread https://github.com/notifications/unsubscribe-auth/AaWfsp2f_SdGWgUixf1FYs2uNtDdsyL_ks5sEtkWgaJpZM4N8eS1.

Here's a sample code.
👌

Thanks I will test tomorrow. Thanks

Le 16 juin 2017 à 21:54, rmmmp<EMAIL_ADDRESS>a écrit :
Here's https://gist.github.com/steven-ferguson/8eddf63123fa74066e9d92f7e829d8e9 a sample code.
👌
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/emberfire/issues/517#issuecomment-309119579, or mute the thread https://github.com/notifications/unsubscribe-auth/AaWfsuzk2CU5ESgyl5V6kj9tIvpc2TTXks5sEt1dgaJpZM4N8eS1.

OK I am on it
So how you run this code ? Is not EmberJS so is not ember server
is not firebase server …what it is ?
Thanks
Here is what you propose - see on the right is firebase-ui-auth.js etc…..
This has nothing to do with the https://github.com/firebase/firebaseui-web#installation or with EmberJS it seems someone say is related with your participation here  https://github.com/rmmmp/emberfire-utils#firebaseui https://github.com/rmmmp/emberfire-utils#firebaseui, it also works pretty well.
I really need operational code not literature please
Thanks

Le 16 juin 2017 à 21:54, rmmmp<EMAIL_ADDRESS>a écrit :
Here's https://gist.github.com/steven-ferguson/8eddf63123fa74066e9d92f7e829d8e9 a sample code.
👌
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/emberfire/issues/517#issuecomment-309119579, or mute the thread https://github.com/notifications/unsubscribe-auth/AaWfsuzk2CU5ESgyl5V6kj9tIvpc2TTXks5sEt1dgaJpZM4N8eS1.

Hi Firebase,
May I enter in contact with Firebase developers who wrote the code here https://github.com/firebase/firebaseui-web#installation ?
Please Thanks
It doesn’t matter if they tested this code in AngularJS, REACT, View or other framework, all what I need is to get an operational code for 2 pages running together a landing page and an authenticated route page (could be in any framework it doesn’t matter, Firebase choice)
I just need to understand how they managed the files in installation and I wish to reproduce that in my framework (I can learn others if necessary)
Thanks

Le 16 juin 2017 à 21:54, rmmmp<EMAIL_ADDRESS>a écrit :
Here's https://gist.github.com/steven-ferguson/8eddf63123fa74066e9d92f7e829d8e9 a sample code.
👌
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/emberfire/issues/517#issuecomment-309119579, or mute the thread https://github.com/notifications/unsubscribe-auth/AaWfsuzk2CU5ESgyl5V6kj9tIvpc2TTXks5sEt1dgaJpZM4N8eS1.

Firebase,
Please don’t bring me again people like this one from stackoverflow. Have been there already and no solution.
Let’s focus on your code https://github.com/firebase/firebaseui-web#installation from here.
Can you reproduce again ?
Thanks
PS: this guy from EmberJS can not help his code is no longer operational he come here to give only ideas
A literature guy

Le 16 juin 2017 à 21:54, rmmmp<EMAIL_ADDRESS>a écrit :
Here's https://gist.github.com/steven-ferguson/8eddf63123fa74066e9d92f7e829d8e9 a sample code.
👌
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/emberfire/issues/517#issuecomment-309119579, or mute the thread https://github.com/notifications/unsubscribe-auth/AaWfsuzk2CU5ESgyl5V6kj9tIvpc2TTXks5sEt1dgaJpZM4N8eS1.

For Emberfire see our getting started guide https://github.com/firebase/emberfire/blob/master/docs/guide/README.md if you're interested in this library.
Otherwise this is not an emberfire issue so I am closing. Please feel free to continue discussing here.


Refactor to separate app platform code. support dynamic discovery.

Problem
Content apps were not being updated after first startup of the platform-app.
Change overview
Started supporting dynamic update of content apps on uninstall/install when the platform-app is already running.
Also refactored the code to separate out chip server startup code from contentappplatform initialization.
Testing
Testing was done manually using the chip tool.

Accepted into 1.0: /examples code change only


Remove broken test

This test needs more work before it can be enabled on develop.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closing in favour of #10608.


XML Syntax does not work anymore

Prerequisites

[ ] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[x] Did you check the debugging guide?
[x] Did you check the FAQs on Discuss?
[ ] Are you reporting to the correct repository?
[ ] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
Since I updated to 1.12.2, my XML files with DOCTYPE aren't colorized. I tried every single color syntax which are builded with Atom, and no one works.
Steps to Reproduce

Set your prefered syntax coloration
Open an XML file

Expected behavior: XML tags colorized
Actual behavior: XML is open without any colorization
Versions
mcharron@mcharron ➜ ~ atom --version
Atom    : 1.12.2
Electron: 1.3.6
Chrome  : 52.0.2743.82
Node    : 6.3.0
mcharron@mcharron ➜ ~ apm --version
apm  1.12.9
npm  3.10.5
node 4.4.5
python 2.7.12
git 2.7.4
mcharron@mcharron ➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial

Is there at the right bottom corner any syntax selected?

Yes, XML is selected.

Make a screenshot, please

I had to blur most of the XML because the data can be sensible on some points.
As you can see on first screenshot, no syntax colorization is done.
On the second, syntax colorization is done, and I don't know why on the first it won't colorize.
The first XML contains 33866 lines, the second 19798.

What is the output of apm list --installed?

Here is the output :
Community Packages (15) /home/mcharron/.atom/packages
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Syntax highlighting is disabled for files beyond a certain size for performance reasons.

Ok, thank you !


chore: fix the contribution guide and code of conduct's relative paths

Changes

Replace relative links with their full path equivalent

Relative links do not work in pull requests. Support was requested here, but the feature was never implemented. More information can be found here.
Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

Codecov Report

Merging #471 (70e05b9) into main (96555a0) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 70e05b9 differs from pull request most recent head 1294b60. Consider uploading reports for the commit 1294b60 to get more accurate results

@@           Coverage Diff           @@
##             main     #471   +/-   ##
=======================================
  Coverage   52.98%   52.98%
=======================================
  Files          66       66
  Lines        2059     2059
  Branches      355      355
=======================================
  Hits         1091     1091
  Misses        964      964
  Partials        4        4

Please see the discussion in this PR https://github.com/game-ci/cli/pull/31

Done by https://github.com/game-ci/unity-builder/pull/505


The radio button component is not clicking

I am using the feedback form on our Flutter App.
But, the radio button is not clickable recently.
This is only happening on Android devices.
I suspect the Usabilla Android SDK has been updated recently.
The version 7.+ is not taking the latest version of the Android SDK.
I changed and tested the latest Adnroid SDK (7.6.1) version directly inside of the Flutter library, and I confirmed it works well on the latest version of the Usabilla.
Android version
...
implementation "com.usabilla.sdk:ubform:7.+"  --> should change with 7.6.1

So, please update the specific library version on the build.gradle file.


WIP: Refs #27656 removing PEP warnings from code

Need some comments
There are multiple problems in current master code
If you open django project in PyCharm then you can see all the warnings visually
Most frequent warning are

python 2.7 compatablity issues eg (use of normal super() is not supported in python 2.7 )
using shoadow builtin variable names like (file, list , next etc)
Doc string should use triple double quotes
access to protected member __meta of a class

The master branch doesn't support Python 2 so those warnings are expected.
Some docstrings are being updated https://github.com/django/django/pull/7763. It looks like you haven't pulled the latest master -- there are a number of merge conflicts in lines that have already been fixed.
I don't see anything super useful here. We're using flake8 to enforce some basic coding style. All contributors are using pycharm so enforcing all its rules isn't sustainable.


Change speaking immediately

The voice won't stop speaking the current section if something else is told to start. I need to have the option to switch right away and force something else to speak. I tried writing a function this way:
$().articulate('stop');
$(obj).articulate('speak');
...but it only starts speaking if the browser wasn't already speaking. Is there another way to accomplish this?

I'm not actively supporting this anymore, but it does seem like you have the proper approach. In my demos, stopping an existing voice and playing a new one is not an issue, but that's based on a person clicking a button and pressing another one. There's a natural delay between the two voices.
So I wonder if the browser needs some sort of pause in there, so it can kind of reset itself, Maybe set a window.timeout of 500ms before starting the new voice?

I'm calling out seconds remaining in a timer, so it's critical that the
voice isn't noticeably delayed. I've tried writing a function so that
during the final seconds, the voice is cut short (by setting stop on a
timeout). While this works a little better it still isn't getting the job
done completely—for very short speech, stop() seems to not cut off
immediately, or it prevents speech from starting at all.
I haven't tried altering the speech rate to see if that makes a difference,
but knowing operating system voices are different I'd hate to rely on that
kind of tweaking.
On Thu, Dec 6, 2018 at 10:42 AM Adam Coti<EMAIL_ADDRESS>wrote:

I'm not actively supporting this anymore, but it does seem like you have
the proper approach. In my demos, stopping an existing voice and playing a
new one is not an issue, but that's based on a person clicking a button and
pressing another one. There's a natural delay between the two voices.
So I wonder if the browser needs some sort of pause in there, so it can
kind of reset itself, Maybe set a window.timeout of 500ms before starting
the new voice?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/acoti/articulate.js/issues/7#issuecomment-444916045,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG1l9-XypKvnBkbT-Ip67bD99ZoNFgMAks5u2TrhgaJpZM4ZGpQE
.

At this point, you may be bumping up against browser limitations on how they implement speech synthesis. If I think of some other approach you can try, I'll let you know. Please keep me posted on how your testing proceeds.

Thanks for your help. I think it is browser limitations as well, because different browsers on different devices gave slightly different results. I wasn't able to resolve this for very short duration speech as in my use case.
As a workaround, I switched to playing an audio file to mark the final seconds. The audio file will play in parallel with speech synthesis if needed.


HELP!!! Error while building from source riak binding...

While loading riak I get this error from building the riak-binding from source. Need clues to resolving this cheers.
./bin/ycsb load riak -s -P workloads/workloada > results/riak1.txt
[WARN]  Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds
[DEBUG]  Running 'mvn -pl com.yahoo.ycsb:riak-binding -am package -DskipTests dependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true'
java -cp /root/YCSB-master/riak/conf:/root/YCSB-master/riak/target/riak-binding-0.11.0-SNAPSHOT.jar:/root/.m2/repository/org/apache/htrace/htrace-core4/4.1.0-incubating/htrace-core4-4.1.0-incubating.jar:/root/.m2/repository/io/netty/netty-all/4.0.33.Final/netty-all-4.0.33.Final.jar:/root/.m2/repository/joda-time/joda-time/2.1/joda-time-2.1.jar:/root/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.4/HdrHistogram-2.1.4.jar:/root/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.2.2/jackson-datatype-joda-2.2.2.jar:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/root/.m2/repository/com/basho/riak/riak-client/2.0.5/riak-client-2.0.5.jar:/root/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.2.2/jackson-core-2.2.2.jar:/root/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar:/root/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.2.2/jackson-annotations-2.2.2.jar:/root/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/root/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.2.2/jackson-databind-2.2.2.jar:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/root/YCSB-master/core/target/core-0.11.0-SNAPSHOT.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads/workloada -load
YCSB Client 0.11.0-SNAPSHOT
Command line: -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads/workloada -load
Loading workload...
Starting test.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2016-07-21 16:11:43:373 0 sec: 0 operations; est completion in 0 seconds
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
2016-07-21 16:11:43:617 0 sec: 0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours [CLEANUP: Count=1, Max=719, Min=719, Avg=719, 90=719, 99=719, 99.9=719, 99.99=719] [INSERT: Count=0, Max=0, Min=9223372036854775807, Avg=�, 90=0, 99=0, 99.9=0, 99.99=0] [INSERT-FAILED: Count=1, Max=54943, Min=54912, Avg=54928, 90=54943, 99=54943, 99.9=54943, 99.99=54943]

Please download the convenience tarball of binaries for the 0.10.0 release and try using those.
Also please include your riak version.

hi @busbey , got similar error... with ycsb-0.10.0. my riak version is 2.1.3.......

can you paste what the output looks like?
have you verified that your riak installation is working correctly? does anything show up in its logs?

output from loading ycsb
./bin/ycsb load riak -s -P workloads/workloadf > resu                                                                                lts/riaktest.txt java -cp /root/ycsb-0.10.0/riak-binding/conf:/root/ycsb-0.10.0/conf:/root/ycsb-0                                                                                .10.0/lib/core-0.10.0.jar:/root/ycsb-0.10.0/lib/htrace-core4-4.1.0-incubating.ja                                                                                r:/root/ycsb-0.10.0/lib/jackson-mapper-asl-1.9.4.jar:/root/ycsb-0.10.0/lib/jacks                                                                                on-core-asl-1.9.4.jar:/root/ycsb-0.10.0/lib/HdrHistogram-2.1.4.jar:/root/ycsb-0.                                                                                10.0/riak-binding/lib/joda-time-2.1.jar:/root/ycsb-0.10.0/riak-binding/lib/googl                                                                                e-collections-1.0.jar:/root/ycsb-0.10.0/riak-binding/lib/jackson-core-2.2.2.jar:                                                                                /root/ycsb-0.10.0/riak-binding/lib/riak-client-2.0.5.jar:/root/ycsb-0.10.0/riak-                                                                                binding/lib/jackson-datatype-joda-2.2.2.jar:/root/ycsb-0.10.0/riak-binding/lib/j                                                                                ackson-annotations-2.2.2.jar:/root/ycsb-0.10.0/riak-binding/lib/jackson-databind                                                                                -2.2.2.jar:/root/ycsb-0.10.0/riak-binding/lib/riak-binding-0.10.0.jar:/root/ycsb                                                                                -0.10.0/riak-binding/lib/netty-all-4.0.33.Final.jar:/root/ycsb-0.10.0/riak-bindi                                                                                ng/lib/slf4j-api-1.6.4.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.riak.Riak                                                                                KVClient -s -P workloads/workloadf -load YCSB Client 0.10.0 Command line: -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads/workloadf                                                                                -load Loading workload... Starting test. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail                                                                                s. 2016-07-22 03:23:56:174 0 sec: 0 operations; est completion in 0 seconds DBWrapper: report latency for each error is false and specific error codes to tr                                                                                ack for latency are: [] Error inserting, not retrying any more. number of attempts: 1Insertion Retry Lim                                                                                it: 0 2016-07-22 03:23:56:567 0 sec: 0 operations; est completion in<PHONE_NUMBER>67300 d                                                                                ays 15 hours [CLEANUP: Count=1, Max=547, Min=547, Avg=547, 90=547, 99=547, 99.9=                                                                                547, 99.99=547] [INSERT: Count=0, Max=0, Min=9223372036854775807, Avg=�, 90=0, 9                                                                                9=0, 99.9=0, 99.99=0] [INSERT-FAILED: Count=1, Max=32527, Min=32512, Avg=32520,                                                                                90=32527, 99=32527, 99.9=32527, 99.99=32527]
my nodes are currently on a different ip from <IP_ADDRESS> though.......
could this be the challenge?

Right. You need to tell the Riak binding where to connect or it will default to localhost.

got past the earlier error but a new one has come up.....
./bin/ycsb load riak -s -P workloads/workloada -p "ri                                                                                ak.hosts=<IP_ADDRESS>" -p "riak.port=8087" > results/riaktest.txt java -cp /root/ycsb-0.10.0/riak-binding/conf:/root/ycsb-0.10.0/conf:/root/ycsb-0                                                                                .10.0/lib/core-0.10.0.jar:/root/ycsb-0.10.0/lib/htrace-core4-4.1.0-incubating.ja                                                                                r:/root/ycsb-0.10.0/lib/jackson-mapper-asl-1.9.4.jar:/root/ycsb-0.10.0/lib/jacks                                                                                on-core-asl-1.9.4.jar:/root/ycsb-0.10.0/lib/HdrHistogram-2.1.4.jar:/root/ycsb-0.                                                                                10.0/riak-binding/lib/joda-time-2.1.jar:/root/ycsb-0.10.0/riak-binding/lib/googl                                                                                e-collections-1.0.jar:/root/ycsb-0.10.0/riak-binding/lib/jackson-core-2.2.2.jar:                                                                                /root/ycsb-0.10.0/riak-binding/lib/riak-client-2.0.5.jar:/root/ycsb-0.10.0/riak-                                                                                binding/lib/slf4j-nop-1.7.21.jar:/root/ycsb-0.10.0/riak-binding/lib/jackson-data                                                                                type-joda-2.2.2.jar:/root/ycsb-0.10.0/riak-binding/lib/jackson-annotations-2.2.2                                                                                .jar:/root/ycsb-0.10.0/riak-binding/lib/jackson-databind-2.2.2.jar:/root/ycsb-0.                                                                                10.0/riak-binding/lib/riak-binding-0.10.0.jar:/root/ycsb-0.10.0/riak-binding/lib                                                                                /netty-all-4.0.33.Final.jar:/root/ycsb-0.10.0/riak-binding/lib/slf4j-api-1.6.4.j                                                                                ar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads                                                                                /workloada -p riak.hosts=<IP_ADDRESS> -p riak.port=8087 -load YCSB Client 0.10.0 Command line: -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads/workloada                                                                                -p riak.hosts=<IP_ADDRESS> -p riak.port=8087 -load Loading workload... Starting test. 2016-07-25 20:39:22:874 0 sec: 0 operations; est completion in 0 seconds DBWrapper: report latency for each error is false and specific error codes to tr                                                                                ack for latency are: [] Error inserting, not retrying any more. number of attempts: 1Insertion Retry Lim                                                                                it: 0 2016-07-25 20:39:23:123 0 sec: 0 operations; est completion in<PHONE_NUMBER>67300 d                                                                                ays 15 hours [CLEANUP: Count=1, Max=562, Min=562, Avg=562, 90=562, 99=562, 99.9=                                                                                562, 99.99=562] [INSERT: Count=0, Max=0, Min=9223372036854775807, Avg=�, 90=0, 9                                                                                9=0, 99.9=0, 99.99=0] [INSERT-FAILED: Count=1, Max=51231, Min=51200, Avg=51216,                                                                                90=51231, 99=51231, 99.9=51231, 99.99=51231]
I set up three riak and put them in a cluster.... what else?

it looks like you're still telling YCSB that the riak hosts are on localhost.

well I have changed my settings so that my riak nodes are on localhost.

Please can any one help me.......
`./bin/ycsb load riak -s -P workloads/workloada -p "riak.hostname=<IP_ADDRESS>" -p "riak.port=8087" > results/redistest.txt
[WARN]  Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds
[DEBUG]  Running 'mvn -pl com.yahoo.ycsb:riak-binding -am package -DskipTests dependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true'
java -cp /root/YCSB-master/riak/conf:/root/YCSB-master/riak/target/riak-binding-0.11.0-SNAPSHOT.jar:/root/.m2/repository/org/apache/htrace/htrace-core4/4.1.0-incubating/htrace-core4-4.1.0-incubating.jar:/root/.m2/repository/io/netty/netty-all/4.0.33.Final/netty-all-4.0.33.Final.jar:/root/.m2/repository/joda-time/joda-time/2.1/joda-time-2.1.jar:/root/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.4/HdrHistogram-2.1.4.jar:/root/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.2.2/jackson-datatype-joda-2.2.2.jar:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/root/.m2/repository/com/basho/riak/riak-client/2.0.5/riak-client-2.0.5.jar:/root/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.2.2/jackson-core-2.2.2.jar:/root/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar:/root/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.2.2/jackson-annotations-2.2.2.jar:/root/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/root/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.2.2/jackson-databind-2.2.2.jar:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/root/YCSB-master/core/target/core-0.11.0-SNAPSHOT.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads/workloada -p riak.hostname=<IP_ADDRESS> -p riak.port=8087 -load
YCSB Client 0.11.0-SNAPSHOT
Command line: -db com.yahoo.ycsb.db.riak.RiakKVClient -s -P workloads/workloada -p riak.hostname=<IP_ADDRESS> -p riak.port=8087 -load
Loading workload...
Starting test.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2016-07-27 16:46:11:047 0 sec: 0 operations; est completion in 0 seconds
DEBUG ENABLED. Configuration parameters:
Hosts: [<IP_ADDRESS>]
Port: 8087
Bucket Type: ycsb
R Val: 1
W Val: 1
Read Retry Count: 5
Wait Time Before Retry: 200 ms
Transaction Time Limit: 10 s
Consistency model: Strong
Strong Consistent Scan Transactions NOT allowed.
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
Unable to insert key user6284781860667377211. Reason: java.util.concurrent.ExecutionException: com.basho.riak.client.core.netty.RiakResponseException: no_type
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
2016-07-27 16:46:11:339 0 sec: 0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours [CLEANUP: Count=1, Max=594, Min=594, Avg=594, 90=594, 99=594, 99.9=594, 99.99=594] [INSERT: Count=0, Max=0, Min=9223372036854775807, Avg=�, 90=0, 99=0, 99.9=0, 99.99=0] [INSERT-FAILED: Count=1, Max=55967, Min=55936, Avg=55952, 90=55967, 99=55967, 99.9=55967, 99.99=55967]`
debug-enabled..... shows the following....

please stick with running from the 0.10.0 release binary tarball instead of source.
Did you follow the instructions from the riak binding README on creating an appropriate bucket-type?

Thanks, I missed out on following that instruction earlier....


Extensible Arrows \xleftharpoondown pointing the wrong way

It appears that the<EMAIL_ADDRESS>points to the right and not left as it's name/TeX alias/Up Equivalent would suggest that it should.  The Left facing half arrow (\xleftharpoonup) has the correct orientation (https://unpkg.com/katex@0.8.2/dist/images/leftharpoon.svg).

Here is an example of the unicode (U+21BD) http://www.unicode.org/charts/PDF/U2190.pdf which is officially called "LEFTWARDS HARPOON WITH BARB DOWNWARDS"

@jasonsperske this will be fixed by #819.

Fixed in v0.8.3.


Tokens left

Hi!
Is there any way to know/access to how many tokens are left until reach the time limit?
Thanks!

No, I didn't implement that. But if you convince me that this is a useful feature I would add that. What's your exact use case?

Hi, Markus. Thank you very much for your quick answer.
Well, I don't know if my case would be a widely extended one.
I'm implementing your great library to throttle an API. I'm using a monthly based rate and, as it is a relatively long time, I would like to give the client a way to "ask" us how many requests he has left to avoid "surprises", giving him the opportunity to ask us to extend his limit before he hits it.
What do you think? Makes sense for you?

It makes sense and adding that is not such a big thing. You'll get it.

Thank you! Don't hesitate to ping me if I can help you


Bump Version Number

Updating version to pick new changes of portable pdb support

@arunkm,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Removing media and saving scheduler options does not work

Hi all,
When I try to delete any photo or video from Files, it has no effect. I got the same issue when I want to change and save the scheduler settings.
Could be a permission issue?
Thanks,

Sounds like a permissions issue. The installer gives read/write permissions to the media folder for user www-data which is the Apache user user. If you have linked or mounted another drive or usb storage to that folder then you must ensure that www-data has read/write permissions on the mount as well.
Check permissions and ownership by doing a ls -l on your web install folder and also your mount point if you have done that.

Hi Robert,
Ownership of both folders was ok, but for safety I've just removed and installed it again from scratch and same issue. The strange thing is that it saves recordings and pictures correctly, but does not delete them.
I'm using Nginx instead of Apache, I don't know if that could be a problem.
Thanks for your help.

It's possible it is to do with nginx. It used to work OK under nginx but I haven't tried that recently and it's possible that some nginx defaults have changed. Most people are using Apache.
Check /etc/nginx/nginx.conf and in particular what the 'user' setting is.
I'll see if I can do a test nginx install over the next couple of days.

My mistake, I forgot that I had changed the Nginx and PHP user a while ago... now it works without any problem.
Thanks for the help and sorry for the inconvenience!


Clarify add-ons installation instructions

Summary
here, it says users can install add-ons, but it's unclear what should happen after the installation. do i need to configure anything for nebula to work with these add-ons?
Add more detailed documentation on how to configure Nebula to work with these add-ons, how these add-ons work with Nebula, what each of them is for?

Dear @p-null ,
Thank you! Sorry for confusing you on the add-ons doc, we for sure will polish it to avoid any confusion.

"do I need to configure anything for nebula to work with these add-ons":

Apart from the volume provider, which should be reflected in CRD: nebulaCluster::<graph_or_meta_or_storage>:: storageClaim:: storageClassName, the other ones now requires no configurations(and they are mandatory actually, we should have put this clear).

Add more detailed documentation on how to configure Nebula to work with these add-ons, how these add-ons work with Nebula, what each of them is for?

Thank you, Peterson, now maybe CRD sample is somewhat self-explanation but we will revisit and make things more clear for users to a quick start.
cc @MegaByte875 @veezhang @kqzh

Thanks for following up on this.
I understand examples are helpful but that just brings too much frictions by reading these examples to understand what I want.
I would suggest provide a api like readme for each of the parameters.
Regarding the specific examples you gave, I still don't have the following questions:
"What should I configure for Nebula to use a existing component, like cert-manager?"
"What is each of the component used for?"
I don't need the answer right here, I am just suggesting a better way to document things.
Love to see improvements on the documentation. Thanks!

Thanks for following up on this.
I understand examples are helpful but that just brings too much frictions by reading these examples to understand what I want.
I would suggest provide a api like readme for each of the parameters.
Regarding the specific examples you gave, I still don't have the following questions:
"What should I configure for Nebula to use a existing component, like cert-manager?"
"What is each of the component used for?"
I don't need the answer right here, I am just suggesting a better way to document things.
Love to see improvements on the documentation. Thanks!

@p-null Thanks for your suggestions. I will update docs recently.

https://github.com/vesoft-inc/nebula-operator/blob/v0.8.0/doc/user/add-ons.md @p-null


CsvReporter optimization

Currently, the CsvReporter is quite slow due to its creation and termination of PrintWriters for every request. Instead, I believe that we can cache these PrintWriters and reuse them and close them at the end when the stop() method is called.

A reason for closing described in #988.


certmanager seems to be broke somehow

Describe the bug
Error: UPGRADE FAILED: Internal error occurred: failed calling admission webhook "issuers.admission.certmanager.k8s.io": the server is currently unable to handle the request

To Reproduce
tk8 cluster install aws
tk8 addon install rancher

Expected behavior
Rancher should Just Work.
Additional Information
I don't even understand how cert-manager is in play here since it's not in the main.yaml.
A quick google implies to me that the cert-manager CRDs might have to be installed first which is absent from the main.yaml but I'm not sure if this is a rancher problem or a tk8 problem: https://github.com/jetstack/cert-manager/issues/1149

Strange, just tried on one bare-metal rancher kubernetes engine and another k8s cluster running on OpenStack, it works. I had to run tk8 addon install rancher twice.
As you mentioned we don't have cert-manager in the main.yaml.
Another way is to use helm to install cert-manager first and then Rancher on any K8s cluster:
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm install stable/cert-manager   --name cert-manager   --namespace kube-system
kubectl -n kube-system rollout status deploy/cert-manager

helm install rancher-stable/rancher \  --name rancher \  --namespace cattle-system \  --set hostname=rancher.kubernauts.io \  --set ingress.tls.source=letsEncrypt \  --set<EMAIL_ADDRESS>

If using the tk8 addon for rancher, tk8 shall take care about installing cert-manager in advance!

I still think it's a problem (somewhere?) in the AWS provider. I cut my script down to: tk8 cluster install aws and I can still produce the error.

Ok, we create a new issue to have cert-manager support out of the box, not only for rancher.


Please consider renumbering your rules

Taking a quick look at your rules I see that you are using the local sid space. Before considering these rules for the Suricata Rule Index (https://github.com/OISF/suricata-intel-index), they should use a unique range.
I could provide you a SID allocation starting at 3400000, with 100000 SIDs? Would that work? That would also get you listed over at https://sidallocation.org.
Thanks.

Hi @jasonish , sure thing, that would sound great.
So just to confirm, I could use sid numbers starting from 3400000 forwards, with a range of 100000, so for example a rule number 3400001 or 3401001 and so on? No problem in that case, I can edit the existing sid rules to match that, and then continue using the specified range for future rules too I might come up with.
Thanks,
Aleksi

Taking a quick look at your rules I see that you are using the local sid space. Before considering these rules for the Suricata Rule Index (https://github.com/OISF/suricata-intel-index), they should use a unique range.
I could provide you a SID allocation starting at 3400000, with 100000 SIDs? Would that work? That would also get you listed over at https://sidallocation.org.
Thanks.

3400000

That is correct, and this entry would be added to the SID allocation records if that is OK:
+| 3400000-3499999     | Aleksi Bovellan       | https://github.com/aleksibovellan/opnsense-suricata-nmaps                                            |

Alright, sounds good @jasonish . I've now edited these rules to match the new "sid quota", and will continue doing so with my future stuff also.
After this change, how can these rules, and possible new rules or edited old ones, get sent to the Suricata Rule Index? Or is the process automatic in some way.
Thanks a lot, and have a nice weekend.

Alright, sounds good @jasonish . I've now edited these rules to match the new "sid quota", and will continue doing so with my future stuff also.
After this change, how can these rules, and possible new rules or edited old ones, get sent to the Suricata Rule Index? Or is the process automatic in some way.
Thanks a lot, and have a nice weekend.

This process it automatic once I add your rules to the index.  Its a direct link to your rule files hosted here on github.

This process it automatic once I add your rules to the index. Its a direct link to your rule files hosted here on github.

OK, all clear, thanks.
If I create new repositories for other types of rules in the future, I'll post something again to the Suricata forums for consideration.


Unable to connect to HiveMQ Cloud

The connection to hiveMQ cloud is failing and i can;t see any detailed error message.
App Just says "Broker not connected".
I have confirmed that i am able to connect to this broker over over wss on port 8884 using a different client.
so the broker seems to work fine.

same problem

does not connect to brokers, I tried various brokers, it did not work

I am able to connect to hiveMq on an esp8266 with tasmota 11.1.0.
I have tested with several versions after that, and it does to connect on the esp8266.
It does however work perfectly on the esp32. I have some devices with the very recent versions of tasmota on the sonoff POW R320 and it works flawlessly.


Issue 15407 - Assert hit in toElem e2ir.c:1962

Add checkNonAssignmentArrayOp call more.

See also: #4873

This is OK.

Auto-merge toggled on

Thanks!


sql schema setup and update

What was changed
SQL support to schema-setup and schema-update jobs was added
Why?
Allow automatic schema creation and update also for SQL databases (so far only cassandra)
Checklist

Closes

How was this tested:

Tested on k8s with postgresql DB created by zalando postgres operator

Any docs updates needed?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Any chance we can get this merged?

Hi team, seems like duplicate of #281. Would love to see one of them merged

Closing as a duplicate of https://github.com/temporalio/helm-charts/pull/281


Nuxt 3 migration

Start Date
ETA
Project Lead
Actual Ship Date

2023-04-01
2023-04-30
TBD
TBD

Description

Vue 2 is reaching end-of-life at the end of 2023[^1]. We need to update to Nuxt 3 to use Vue 3.
Documents

[ ] Project Proposal
[ ] Implementation Plan

Issues

[ ] PR in Nuxt 2.16.xx: https://github.com/nuxt/nuxt/pull/19518

[x] #815

Prior Art

Several members of the team have attempted the migration previously but without success. This is one of such attempts: https://github.com/WordPress/openverse-frontend/pull/313
The Nuxt team has said that working on simplifying the migration is one of their priorities for 2023, so hopefully, it will be easier this time.
[^1]: Vue 2 LTS: https://v2.vuejs.org/lts/

@obulat Do you know when we'll prioritise this project? Node 16 reaches EOL in September 2023, 4 months from now. It would probably be nice to give ourselves a little breathing room for planning and any major changes that need to be implemented to accommodate the Nuxt 3 transition. As I understand it that is what is keeping us on Node 16, right?

Regarding the modules that can be deleted: that should only happen during the Nuxt 3 migration, not before, right?

Regarding the modules that can be deleted: that should only happen during the Nuxt 3 migration, not before, right?

For most modules the answer is yes, we should only delete them during the Nuxt 3 migration.
There are two exceptions. We've already removed nuxtjs/svg, and we can remove @nuxtjs/style-resources because we are not using it anyways.

Do you think it's worth us writing an implementation for this? Just doing the count on how much longer before Node 16 EOL, I think three weeks of planning for this (writing + review) would be on the potentially speedier side. That would give us about 2.5 months for implementation, which would hopefully allow us a small amount of wiggle room to account for unexpected difficulties.
Just thinking of this in light of how difficult and roundabout the changes have been in the past when we've tried and considering the distinct possible approaches (Bridge vs a "re-write" with Nuxt 3 vs something like Vite SSR)... getting ahead of this seems wise to me. If you agree then I'll add it to the community meeting agenda for this week.

Do you think it's worth us writing an implementation for this?

This makes sense to me, especially considering @obulat has already done a lot of the work in this comment. A formal plan should definitely help us set expectations in the context of the September 11th EOL for Node 16 (Which I've also updated the project description to mention)

:+1: Added to the agenda for this week.

I agree with writing the implementation plan for this soon.

Bridge vs a "re-write" with Nuxt 3 vs something like Vite SSR
I think Nuxt i18n does not support bridge, so we can only go with a "re-write" with Nuxt 3.

hi @obulat, check v-plausible nuxt 3 support https://github.com/productdevbookcom/v-plausible

This project will be placed On Hold while TypeScript updates are made to the codebase. Those changes will impact the contents of the implementation plan which has also been drafted.

2024-02-07 Update
The Migration to Nuxt 3 PR was deployed to staging. This coincided with an attempt of scraping, so we discovered that this version has a memory leak. This is why we decided to postpone this project until the delayed Nuxt EOL in the middle of 2024
We have contacted the maintainers of nuxt, @nuxtjs/i18n, unhead and vue-router over GitHub and in the Nuxt Discord server. Some of the memory improvements were added in the latest versions of the i18n module.

2024-04-24 Update
Some Openverse maintainers (@obulat, @zackkrida, @dhruvkb, and @sarayourfriend) met today to discuss next steps for this project.
The primary current blocker to this project is a performance degradation for sites with many pages in version 4 of vue-router. That problem is tracked in an issue in the vue-router project here. Nuxt 3 depends on this version of Vue-router.
Encouragingly, this issue was moved to the "In Progress" column of the Vue Router roadmap on April 17th of this year.
While we await progress on that issue, we identified some next steps for our migration. The plan is to get our Nuxt 3 branch up to date, deployed (separately from our production site), and run some load tests to reproduce our memory leak. After reproducing the leak we plan to test the efficacy of a few different strategies to mitigate it as a stop-gap measure until the upstream performance degradation is fixed:

Reduce overall number of pages by culling down the list of generated translated pages. This needs to happen to improve the user experience, anyway. I've created issue #4196 to address this.
If that fails to resolve the problem, conduct a load test against an English-only version of the site. If this appears to work we should do a further test by creating two frontend builds: One with English and the other with all remaining translations. We would need to manually include links to the non-english locales in the english version of the site's locale chooser.
Finally, if neither of these prove to resolve the issue, we can try a more complex load test against a split version of the site where we create two builds:

One with only the /search route, and all other routes deleted or otherwise removed
One with all of static routes and using Nuxt 2 static generation

I think we should create a "Nuxt 3 Performance Testing" milestone for this work and initial issues to track:

Getting the branch up to date
Adding a new frontend module to our infrastructure for nuxt 3
Writing a simple load testing script and reproducing the memory leak (I really like k6 for these types of things)
#4196

After completing that initial milestone, we can determine if we need to try and of the additional "build-splitting" strategies to reduce the number of pages in memory.
What do you think @WordPress/openverse-frontend? @obulat could you create the milestone and the issue to update the branch? @sarayourfriend would you mind creating issues and sketching out a strategy for the infrastructure side?
Finally, I think it is worth noting we should hold off on beginning #3592 until this milestone is rectified.

I'll get the infrastructure issues up tomorrow for the new staging nuxt 3.

conduct a load test against an English-only version of the site

To clarify, we'll do this using two separate services behind the same domain, and route to one or the other based on the path of the request, at the load balancer level. The goal here is to see whether when we cut the site down to the absolute minimum number of routes, the "best case scenario" for Nuxt 3, if there is still a performance issue. If not, then we have a strong indication that it is a problem with the number of routes, and we'll know we can move on to the more complex final step. If there is still a performance issue, however, we'll need to address that first, before spending the time on the complexity of divvying up the application between the static routes and non-static routes. In other words, if previous steps haven't worked, it is only at this point that we'll be able to confidently say it is only an issue with vue router, and not some additional problem with either Nuxt 3 generally or perhaps with the way we've architected the frontend.
I also wanted to bring up what Dhruv said about needing to change OS-level memory settings on his PC to run the development server. I'd like to know whether this is a common situation for Nuxt 3, and if it continues to be an issue for Nuxt 3. It makes no sense for that to be a requirement to run a web app's development server. Node is a relative memory hungry runtime but... that is really an absurd issue to have. Hopefully it's just the vue router thing, but that's what gives me the most concern that I want to tread carefully and know for sure that it's just the vue router issue, and not some additional problem beyond that.

Here's the infrastructure issue: https://github.com/WordPress/openverse-infrastructure/issues/869
I think it should be done in a single PR, the main thing will be making sure the deployment process for this temporary service is documented. Like I said in our chat, I think it isn't worth spending the time to make this fully automated like our real staging, given it's a temporary service.

@sarayourfriend thanks for the reminder about Dhruv's local issue, we definitely want to watch out for that.

To clarify, we'll do this using two separate services behind the same domain, and route to one or the other based on the path of the request, at the load balancer level. The goal here is to see whether when we cut the site down to the absolute minimum number of routes, the "best case scenario" for Nuxt 3, if there is still a performance issue.

Yes, I should have been more specific. After the chat I was thinking as a very first step we could simply see how Nuxt 3 behaves with only English first. It would be quite simple to deploy a single service, load test it, and then if the problem is present we'll know we're really in trouble before running any tests of multiple services split at the load-balancer. I'm fine with skipping that though if it doesn't seem worthwhile.

Oh true, and actually we could do that and direct a small percentage of production traffic to it as well, if we wanted, with a small bit of configuration on the load balancer side.

Thank you for the writeup, @zackkrida!
I've updated the Nuxt 3 migration branch: rebased it onto main, removed unnecessary changes such as converting components to script setup syntax or using ofetch instead of axios, and will push it to the repository shortly.
There are several code changes that work in Nuxt 2 that I think we can do before starting the testing:

Use an init-stores plugin to setup the server state using cookie values and fetching the provider stats. This will allow us to remove  a deprecated ssrRef from the provider store.
Remove the additional search views flag (to simplify the code)
Initialize the flag store state on server start. This way, we won't have to check the DEPLOYMENT_ENV variable value (or the config value) using useRuntimeConfig in nested function calls where nuxt instance is not available.
Ironically, convert the Storybook stories from mdx back to js (or to ts). Storybook 8 no longer supports stories.mdx format that we currently use. Fortunately, there's a script that can be use to do this automatically. It's not possible to add the text documentation from the mdx files that we currently have to the Nuxt 2 setup, but we can re-add it once the Nuxt 3 conversion is done.

The nuxt preview service is ready to go in this PR in the infrastructure repository: https://github.com/WordPress/openverse-infrastructure/pull/874
https://github.com/WordPress/openverse/pull/4227 complements that PR by adding a script to build and push to the nuxt-preview tag. We don't need to merge that branch to main, instead, @obulat please cherry-pick the commit onto the Nuxt 3 migration branch.

140 locales have been removed from page generation and the locale chooser as a general improvement to Openverse, but relevant to this project, in this PR: https://github.com/WordPress/openverse/pull/4224.

2024-05-13
Most of the preparation work for Nuxt 3 is done (except for #4295, which needs one more review).
Some of the problems in the Nuxt 3 PR (#4357) (fetching of the single result items, error handling) were fixed, and the tests are passing on it. The deployment steps for nuxt-preview are listed in the PR description. I tried deploying today but deployment failed, probably to the nginx problem that @zackkrida mentioned previously.
Once we fix the deployment, we can start testing memory consumption.

I have successfully deployed to https://nuxt-preview.openverse.org/ ✨

Now that the preparation work is done, we can start memory testing.
Memory consumption testing
Steps

[ ] Remove caching from https://nuxt-preview.openverse.org (I created the draft rule in the Cloudflare UI)
[ ] Write a k6 script similar to the API load testing script. It should be possible to request static content pages only, and search pages only, as well as requesting both. This will allow us to test whether static pages have a different memory load than the search pages. The script should be able to request locales other than English.
[ ] Run the load testing script testing memory consumptions for the following scenarios.
English-only site: static pages -> search pages -> static and search pages
Site with the 4 testing locales, with the same sequence.

We will write the script next week, and start load-testing after it is merged.

(I created the draft rule in the Cloudflare UI)

@obulat please open a PR in the infrastructure repository for Cloudflare rule changes.

2024-06-05 Update
We ran the load testing against staging (Nuxt 2) and nuxt-preview (Nuxt 3) today.
On all scenario options (static pages with only English, search pages with only English, static pages with the 4 testing locales, static and search pages with 4 testing locales), Nuxt 2 consumes almost twice as much memory as Nuxt 3.
Nuxt 2

Nuxt 3

However, during the all scenarios test, the app had to restart because the CPU usage went over 100%. This is because the CPU in staging is not enough for Openverse, the production uses CPU that is 8 times larger than the staging one, and production can use 10-66% of CPU.
With the caveat that the Nuxt 3 app does not have Sentry enabled, it seems that the memory usage is not a problem.
Next steps

[ ] Add Sentry to make the Nuxt 3 branch have exactly the same functionality as the current production app.
[ ] Build Nuxt 3 app with all available locales
[ ] Increase the CPU of nuxt-preview and run the load testing with all locales. We don't necessarily need to request pages from all locales, I think having the i18n routes should be enough for testing.
[ ] Route some portion of the production traffic to the Nuxt 3 app to test production loads.

We don't necessarily need to request pages from all locales, I think having the i18n routes should be enough for testing.

Definitely @obulat. The vue-router problem seems to arise simply by having these pages in memory.

Really exciting, Olga!

@obulat @zackkrida can either of y'all clarify what is left for the branch? I wanted to try help getting it mergeable, but I'm afraid of the large force pushes still going on would just squash any attempt I made to help.
What can I do to help get it across the line? I see that storybook seems not to be working. Is that something I could help with? Is there another bettey way to help? I'll do some code review today as well, but it's hard to know what exactly to review :slightly_smiling_face:

My own knowledge of the latest work on the branch is limited too @sarayourfriend. Last I heard was that @obulat was integrating Sentry and fixing a bug.
We'll have to wait until Olga is back from AFK next week for an update.

@obulat can you share an update here on how we can help get this across the finish line?

I've been keeping the branch updated by rebasing onto the main.
Currently, the missing parts that I think can be fixed in separate follow-up PRs are:

storybook setup. The module update was recently released, but some bugs are preventing the module from running: https://github.com/nuxt-modules/storybook/issues/657, https://github.com/nuxt-modules/storybook/issues/658
homepage animations (several levels of nested components prevented me from adding animation)

Items that were removed from nuxt.config. I'm not sure if we need to add them (in a separate follow-up PR, urgent in this PR) or keep them removed:

nuxt-template-overrides.
HTML header "http-equiv": "Content-Security-Policy",	content: "upgrade-insecure-requests"
built file names mapping in nuxt.config.js
config.devtool = ctx.isClient ? "source-map" : "inline-source-map"
transpile: [({ isLegacy }) => (isLegacy ? "axios" : undefined)],
prometheus

I can run the Playwright tests on my Mac. I think most of the tests have been converted to run correctly (except for Storybook tests).

I've opened https://github.com/WordPress/openverse-infrastructure/pull/965 to address the only outstanding Cloudflare/proxy/cache configuration issue I was able to identify in my review of the Nuxt 3 branch today. Otherwise, I think our existing Nginx and other proxy configurations are correct for Nuxt 3 to roll out.

The Nuxt 3 PR was merged and deployed to production 🚀

@obulat The issues you added the blocked labels to for the code freeze, can they be unblocked now?

@obulat The issues you added the blocked labels to for the code freeze, can they be unblocked now?

Done 👍


When node properties are changed outside of Motor's render loop but inside some other rAF loop, update synchronously.

Currently, updating a Node outside of Motor's render loop (by not using Motor.addRenderTask) causes a no-op render task to be automatically added to update the modified Node in the upcoming browser's animation frame. When updating a Node inside a render task (i.e. inside Motor's render loop) then an the Node is updated within the same frame.
However, when updating a Node in a foreign rAF frame that isn't part of Motor's render loop, then a render task will be added which will fire in the nex animation frame. We should detect this case and render the node within the same frame automagically.
We would first need to detect when an update happens inside of an animation frame, but outside of a Motor render task. We can do this by hijacking (i.e. monkey patching) window.requestAnimationFrame) like so.
When we detect an update in a foreign animation frame, then we need a way to trigger updates. In this case, we can't batch updates like we can when we use Motor.addRenderTask because we have no way to know when Node properties are no longer being manipulated, so in this case we can just trigger a synchronous update right after the property change. The downside of this is that modifying multiple properties (or the same property multiple times) on a single Node will cause one update per property modification, which can be wasteful (CPU).
Alternatively, we can tell people who want to use a foreign render loop to simply call a method like Motor.update() manually after they are done making modifications.
We'll have to experiment with it.
For example, the recommended way:
const node = new Node

// ...

Motor.addRenderTask(time => {
  node.rotation.x = ...
})

But, if someone wants to have their own rAF loop, then it might look like the following and it would just work (with the mentioned possibly-wasteful caveat):
const node = new Node

// ...

requestAnimationFrame(function loop(time) {
  node.rotation.x = ...
  requestAnimationFrame(loop)
})

If we propose for the foreign-loop user to call something like Motor.update(), then usage is a tiny bit more less easy, but possible better performing. For example:
const node = new Node

// ...

requestAnimationFrame(function loop(time) {
  node.rotation.x = ...
  Motor.update()
  requestAnimationFrame(loop)
})

Here's another way we can monkey patch rAF:
const realRAF = window.requestAnimationFrame
let realFrame = null
const callbacks = []

window.requestAnimationFrame = function(callback) {
    if (typeof cb != 'function')
        throw new TypeError("Failed to execute 'requestAnimationFrame' on 'Window': The callback provided as parameter 1 is not a function.")

    callbacks.push(callback)

    if (!realFrame) realFrame = realRAF(function(now) {
        let callbackLength = callbacks.length
        realFrame = null

       // ... run logic before all callbacks ...

        while (callbackLength--)
            callbacks.shift()(now)

        // ... run logic after all callbacks ...
    })
}

// Also make sure window.cancelAnimationFrame works...


edits to tutorial1 and main repo readme

feel free to ignore what you don't like.

also - if you merge pull request you will need to update the binder link in the readme.md file to the correct repo otherwise it will point back to here.


Add references to CHANGELOG.md

This looks good to me.  Could you send a companion patch that de-ref-ifies the existing links and makes everything go through these?

@swift-ci please smoke test and merge.

@CodaFi The reference-style links were in #4704

This looks good to me. Could you send a companion patch that de-ref-ifies the existing hard links to SEs and makes everything go through these?


Update bubu command in brew plugin

brew upgrade functionality will be changing soon. This PR adds the --all flag to the bubu alias provided in the brew plugin to handle this change.

same as #3816 #3834 and all the others.
I suggest closing this, because the same fix is part of #3809 as well.

Hi! The homebrew team backtracked on the --all parameter decision: Homebrew/homebrew@a45a34d.
Please close this


/sys/bus/w1/devices/ 1-Wire SysBus shows no devices

From the CLI, I can easily see both of my thermometers in /sys/bus/w1/devices/ and view the temperature they are reporting; so it's not a device issue.  But the integration in HA shows nothing; per image attached:

My devices are not discovered automatically (as they were in the past),  there are no options to add entities/devices, and the documentation for the integration does not mention how to add them to HA.
Anyone know what to do at this point?

Please add more information, your HA core version, CLI output & sensor type/model

HA 2022.9.7
2 x DS18B20 Thermometers connected to the same Raspberry Pi that is running HA.
CLI output:
user@host:/sys/bus/w1/devices $ ll
total 0
drwxr-xr-x 2 root root 0 Oct  4 12:27 .
drwxr-xr-x 4 root root 0 Oct  4 12:27 ..
lrwxrwxrwx 1 root root 0 Oct  4 16:06 28-00000588c73f -> ../../../devices/w1_bus_master1/28-00000588c73f
lrwxrwxrwx 1 root root 0 Oct  4 16:06 28-00000589da65 -> ../../../devices/w1_bus_master1/28-00000589da65
lrwxrwxrwx 1 root root 0 Oct  4 13:17 w1_bus_master1 -> ../../../devices/w1_bus_master1
user@host:/sys/bus/w1/devices $ cat 28-00000588c73f/w1_slave
59 01 4b 46 7f ff 07 10 a2 : crc=a2 YES
59 01 4b 46 7f ff 07 10 a2 t=21562
user@host:/sys/bus/w1/devices $

HA 2022.9.7 running in a Docker Container on Raspbian Desktop. 2 x DS18B20 Thermometers connected to the same Raspberry Pi that is running HA. CLI output:
user@host:/sys/bus/w1/devices $ ll
total 0
drwxr-xr-x 2 root root 0 Oct  4 12:27 .
drwxr-xr-x 4 root root 0 Oct  4 12:27 ..
lrwxrwxrwx 1 root root 0 Oct  4 16:06 28-00000588c73f -> ../../../devices/w1_bus_master1/28-00000588c73f
lrwxrwxrwx 1 root root 0 Oct  4 16:06 28-00000589da65 -> ../../../devices/w1_bus_master1/28-00000589da65
lrwxrwxrwx 1 root root 0 Oct  4 13:17 w1_bus_master1 -> ../../../devices/w1_bus_master1
user@host:/sys/bus/w1/devices $ cat 28-00000588c73f/w1_slave
59 01 4b 46 7f ff 07 10 a2 : crc=a2 YES
59 01 4b 46 7f ff 07 10 a2 t=21562
user@host:/sys/bus/w1/devices $

Can you add the same output from a shell inside the container?
docker exec homeassistant ls /sys/bus/w1/devices

Thanks your attention.
Here's the output you asked for:
user@host:/sys/bus/w1/devices $ docker exec HomeAssistant ls /sys/bus/w1/devices
28-00000588c73f
28-00000589da65
w1_bus_master1
user@host:/sys/bus/w1/devices $

And here is a listing using ls -lha instead of ls.  It has a different output:
user@host:/sys/bus/w1/devices $ docker exec HomeAssistant ls -lha /sys/bus/w1/devices
total 0
drwxr-xr-x    2 root     root           0 Oct  4 12:27 .
drwxr-xr-x    4 root     root           0 Oct  4 12:27 ..
lrwxrwxrwx    1 root     root           0 Oct  4 16:40 00-400000000000 -> ../../../devices/w1_bus_master1/00-400000000000
lrwxrwxrwx    1 root     root           0 Oct  4 16:40 00-800000000000 -> ../../../devices/w1_bus_master1/00-800000000000
lrwxrwxrwx    1 root     root           0 Oct  4 13:17 w1_bus_master1 -> ../../../devices/w1_bus_master1
user@host:/sys/bus/w1/devices $

Lets see if we something will come up in the diagnostics:

In this page download the diagnostics and attach in a comment

config_entry-onewire_sysbus-782d0515635d299c43fc43cf18d21d6c.json.txt

And here is a listing using ls -lha instead of ls. It has a different output:
user@host:/sys/bus/w1/devices $ docker exec HomeAssistant ls -lha /sys/bus/w1/devices
total 0
drwxr-xr-x    2 root     root           0 Oct  4 12:27 .
drwxr-xr-x    4 root     root           0 Oct  4 12:27 ..
lrwxrwxrwx    1 root     root           0 Oct  4 16:40 00-400000000000 -> ../../../devices/w1_bus_master1/00-400000000000
lrwxrwxrwx    1 root     root           0 Oct  4 16:40 00-800000000000 -> ../../../devices/w1_bus_master1/00-800000000000
lrwxrwxrwx    1 root     root           0 Oct  4 13:17 w1_bus_master1 -> ../../../devices/w1_bus_master1
user@host:/sys/bus/w1/devices $

Not sure why the ID's are different when using ls -lha?

I configured my configuration.yaml file to log debug messages for this integration, and suddenly I have my two thermometers, plus two others that don't exist.
logger:
  default: info
  logs:
    custom_components.onewire_sysbus: debug

I do not have the last 2 mentioned in the card and have no idea how they were detected.

I have the same problem - i don't see ds20 , but in logs i see
2022-10-04 12:44:05.354 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration onewire_sysbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-04 12:44:18.105 INFO (SyncWorker_5) [homeassistant.loader] Loaded onewire from homeassistant.components.onewire

I had a look at the diagnostics JSON file, I notice that the devices array has 2 entries for each of my thermometers; one for the onewire_sysbus, the other for the manufacturer.  It might be that the python code is not dealing with this properly?
{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2022.9.7",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "armv7l",
    "timezone": "Australia/Brisbane",
    "os_name": "Linux",
    "os_version": "5.10.103-v7l+",
    "run_as_root": true
  },
  "custom_components": {
    "simpleicons": {
      "version": "v2.0.0",
      "requirements": [
        "simpleicons==6.16.0"
      ]
    },
    "nodered": {
      "version": "1.1.2",
      "requirements": []
    },
    "onewire_sysbus": {
      "version": "2022.10.0",
      "requirements": [
        "pi1wire==0.2.0"
      ]
    },
    "bureau_of_meteorology": {
      "version": "1.1.16",
      "requirements": [
        "iso8601"
      ]
    },
    "hacs": {
      "version": "1.27.2",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    }
  },
  "integration_manifest": {
    "domain": "onewire_sysbus",
    "name": "1-Wire SysBus",
    "documentation": "https://github.com/thecode/ha-onewire-sysbus",
    "issue_tracker": "https://github.com/thecode/ha-onewire-sysbus/issues",
    "config_flow": true,
    "requirements": [
      "pi1wire==0.2.0"
    ],
    "codeowners": [
      "@thecode"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "pi1wire"
    ],
    "version": "2022.10.0",
    "is_built_in": false
  },
  "data": {
    "entry": {
      "title": "/sys/bus/w1/devices/",
      "data": {
        "mount_dir": "/sys/bus/w1/devices/"
      }
    },
    "devices": [
      {
        "identifiers": [
          [
            "onewire_sysbus",
            "28-00000588c73f"
          ]
        ],
        "manufacturer": "Maxim Integrated",
        "model": "28",
        "name": "28-00000588c73f"
      },
      {
        "identifiers": [
          [
            "onewire_sysbus",
            "28-00000589da65"
          ]
        ],
        "manufacturer": "Maxim Integrated",
        "model": "28",
        "name": "28-00000589da65"
      }
    ]
  }
}

I'm looking through my logger output (I've enabled notset level logging for now), and there are some interesting results;
2022-10-05 21:19:46.314 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [2945674376] Sending {"id":16,"type":"result","success":true,"result":[

... other services ...
... your component ...

{"area_id":null,"configuration_url":"homeassistant://hacs","config_entries":["66de48fed249a461e68fc9d0df8ba270"],"connections":[],"disabled_by":null,"entry_type":"service","id":"7407152fadf6dcaab47ac357e452ad9e","identifiers":[["hacs","496755553"]],"manufacturer":"thecode","model":"integration","name_by_user":null,"name":"Raspberry Pi 1-Wire via sysbus","sw_version":null,"hw_version":null,"via_device_id":null},

... onewire_sysbus devices ...

{"area_id":null,"configuration_url":null,"config_entries":["782d0515635d299c43fc43cf18d21d6c"],"connections":[],"disabled_by":null,"entry_type":null,"id":"c1b5d2e953ffcbcb9a2587233d502c69","identifiers":[["onewire_sysbus","28-00000589da65"]],"manufacturer":"Maxim Integrated","model":"28","name_by_user":null,"name":"28-00000589da65","sw_version":null,"hw_version":null,"via_device_id":null},

{"area_id":null,"configuration_url":null,"config_entries":["782d0515635d299c43fc43cf18d21d6c"],"connections":[],"disabled_by":null,"entry_type":null,"id":"a29764a4414b02c65c08f5bd6ad521c8","identifiers":[["onewire_sysbus","28-c00000001a65"]],"manufacturer":"Maxim Integrated","model":"28","name_by_user":null,"name":"28-c00000001a65","sw_version":null,"hw_version":null,"via_device_id":null},

{"area_id":null,"configuration_url":null,"config_entries":["782d0515635d299c43fc43cf18d21d6c"],"connections":[],"disabled_by":null,"entry_type":null,"id":"8951812a7d73ae7dbf9112930aff60d5","identifiers":[["onewire_sysbus","28-200000001a65"]],"manufacturer":"Maxim Integrated","model":"28","name_by_user":null,"name":"28-200000001a65","sw_version":null,"hw_version":null,"via_device_id":null},

{"area_id":null,"configuration_url":null,"config_entries":["782d0515635d299c43fc43cf18d21d6c"],"connections":[],"disabled_by":null,"entry_type":null,"id":"9650e3b326eca6f0dc5c498b7bbfded1","identifiers":[["onewire_sysbus","28-00000588c73f"]],"manufacturer":"Maxim Integrated","model":"28","name_by_user":null,"name":"28-00000588c73f","sw_version":null,"hw_version":null,"via_device_id":null}
]}

(I added the spacing & comments to make it easier to read.)
Note that homeassistant.components.websocket_api.http.connection is reporting that there are 4 devices.
Not sure how that happens, but only the 1st and 4th (last) are correct.

I placed a bunch of _LOGGER.warning messages in the OneWireHub class to see what devices were being discovered, and the outputs were correct up to when the onewirehub object initialisation had finished.
So, I decided to try deleting and re-installing the integration.
Once I reinstalled, I got a window that allowed me to add both devices (I didn't get this window at all previously).  I added a new location for the first device.  For the second device, my location wasn't in the drop-down list, so I typed it in (and the filter showed me the location as I was typing it).
So, both thermometers are now accessible in HA and display the correct data except for two things.

The Integration widget told me I had 2 devices and 1 entity, and
On the Devices & Services page under Entities, I could see both devices, however one of them, for some reason, had the wrong Integration mentioned:

Even more interestingly, the Integration field updated itself while I was typing this message and is now showing correctly, and the widget is not showing the number of entities correctly as well.
So, it appears that the integration is now working.
I wonder why it failed the first time, and why there was a delay before the integration field/widget updated to the correct value, given that it was available from the start and the other device showed the correct value from the start.

I'm happy to close the issue, but I'm going to leave it to you in case you want to iron out the problem completely.


add Fanconi Anemia terms

https://www.ncbi.nlm.nih.gov/books/NBK1401/

Diagnosis/testing.

[ ] cytogenetic testing of lymphocytes with diepoxybutane (DEB) and mitomycin C (MMC).

Management.

[ ] Administration of oral androgens (e.g., oxymetholone)

[ ] blood counts (red cell and platelets, neutrophil)

[ ] hematopoietic stem cell transplantation (HSCT) i

[ ] surgical removal remains the mainstay of therapy for solid tumors.

[ ] Human papilloma virus (HPV) vaccination

[ ] T-cell depletion of the donor graft to minimize the risk of graft vs host disease;

[ ]conditioning regimen without radiation prior to HSCT to reduce the risk of subsequent solid tumors.

Surveillance: Annual evaluation with a multidisciplinary team including an endocrinologist;

[ ]monitoring for evidence of bone marrow failure
[ ] at least annual bone marrow aspirate/ biopsy to evaluate morphology, cellularity, and cytogenetics);
[ ] monitoring liver function tests and
[ ] regular ultrasound examination of the liver;
[ ] monitoring for solid tumors (oropharyngeal and gynecologic examinations).

Agents/circumstances to avoid:

[ ] Avoid Transfusions of red cells or platelets for persons who are candidates for HSCT;

[ ] Avoid blood products that are not filtered (leukodepleted) or irradiated;

[ ] avoid toxic agents that have been implicated in tumorigenesis;

[ ] avoid unsafe sex practices, which increase the risk of HPV-associated malignancy;

[ ] avoid radiographic studies solely for the purpose of surveillance (i.e., in the absence of clinical indications).

[ ] DEB/MMC testing or

[ ]molecular genetic testing (if the family-specific pathogenic variants are known) of all sibs of a proband for early diagnosis, treatment, and monitoring for physical abnormalities, bone marrow failure, and related cancers.

[ ] Genetic counseling.


Mazumder - Update Extension domains and IO domains for all BCOs (out of date and broken)

This will be done in conjunction with ticket #138

This work will continue into Jan 2023

some completed in Dec 2022. Will be reassigned in Jan 2023

All BCOs updates were not complete. Moving the completion of this task into Feb 2023.

update Core BCOs and reviewed all - will do this again in March


Move the TestEncodeAuth test to the correct package

Also make EncodeAuth and DecodeAuth private because they're only used by cliconfig.
cc @calavera

nice! LGTM if janky's happy

LGTM


How can I get text/images/tables between two bookmarks

Hello,
I have the problem, that I can't get the full content between two headlines from a docX-document to copy it to another docX-document. The content between these headlines could be everything thats possible in a docX-document (text, tables, images, etc.). I hope somebody can help.
The idea is, to set two bookmarks (start and end) under a headline of the source-document (template), to copy all content in between into another docX- document (result-document).
For example the following structure of the source-document is givin:
Headline1
Headline2
 content
Headline1
Headline1
Headline2
 content

Now it should be possible to set Bookmarks between the content which I need to copy into the result-docX-Document
Headline1
Headline2
[BOOKMARK START]
 content
[BOOKMARK END]
Headline1
Headline1
Headline2
[BOOKMARK START]
 content
[BOOKMARK END]

What I need now is the whole content between the created bookmarks, to copy it in the next step into the result-docx-document. But how can i get all the content?
I haven't got much experiences with docX, but I started with something like this:
from docx import Document
from xml.dom.minidom import parseString

source_document = Document('/path-to-source_document.docx')
xml_string = source_document._body._element.xml
xml = parseString(xml_string)
contents = xml.getElementsByTagName('w:bookmarkStart')

I have no idea how I could iterate through the elements in between both bookmarks..

python-docx is based on the lxml package, which is uses to do all the XML manipulation. That means that every element can be manipulated with lxml methods, in particular the ones here: http://lxml.de/api/lxml.etree._Element-class.html
It also means that xml.dom.minidom has no place here. It does not mix with lxml and lxml can do whatever you need with the XML.
It sounds like maybe the .getnext() method would do what you're looking for. You could just .getnext() your way though from the bookmark start until you hit the bookmark end.

Thanks for the fast respond. I did it with a different approach, without Bookmarks. Now I get all paragraphs of the Document using  docx.Document.paragraphs built-in-functiion. Afterwards I iterate through the paragraphs und search for combinations of paragraph.style.name and paragraph.text.
Now Im using the heading-name (docx.paragraph.text) and his heading-level as trigger and get all paragraphs in between.


Question - open to support swift on linux with this?

I was looking around at promise style libraries to help solve a problem in another project, and wanted to utilize this library. It's pretty close, but doesn't currently easily (and consistently) support swift on linux out of the box. I'm willing to make some tweaks and updates to enable that, but wanted to inquire first if that would be acceptable.
I've offered a partial (small) update to Package.swift in #10 - but I'd like to take it a bit further based on my initial exploration:

[ ] update the tests to push them slightly lower (into a subdirectory) to more easily exclude the Host IOS app
[ ] add swift test to macOS command line to validate that continues to work as expected (not just through xcodebuild)
[ ] add linux focused CI running the tests (in either .travis or .github actions, if you have a preference)
[ ] replace the arc4random usage in the test extensions with a more platform neutral https://developer.apple.com/documentation/swift/randomnumbergenerator

Please, go ahead, I would appreciate if you could add Linux support.

I couldn't vet the linux CI without some tweaking, so I saved that for last, will temp enable it on branches, but I vetted the code with:
swift test # checkin' mac local
brew install iainsmith/formulae/swift-docker # handy tool
swift docker test --args --enable-test-discovery # checkin' linux w/ swift 5.2


Add Build Script

Ready for publishing to Marketplace
Will be similar to what is done for VSTS and VsCode extensions

I actually tried this a little while ago and fails as there's a custom build action on one of the files that Cake doesn't seem to understand. I'll look into this again and see if I can get it to work.

@gep13 I have a script that builds and packages the VSIX to dist/, but am not 100% sure on how the publishing process works and the VS Code script is pretty complex.. Ideas on next steps?

Nice one!
Push what you have, and we can work on it together.

018c9a5 added the basic build script that creates the package, now just need to work out the publishing etc parts

Last night I pushed a new version of Cake.Tfx that includes a publish step. You just need to provide the path to the vsix, and the personal access token, which will come from an environment variable, similar to the score extension.

NOTE: The Cake.Tfx extension publish command is relatively untested, so this will.be it's trial by fire. 🙂

Ah, I was wondering why it wasn't in the docs, but being less than 24 hours old might be why :laughing: . Okay, I'll put a new "Publish" task in there, push and get you to have a look at it before we take the plunge!
I'll just set it to some random environment variable name and we can adjust once we get to actually putting it through CI

Damnit! Knew there was something I had to do! Haven't updated the usage docs, but there should be an example in the xml comments for each alias. The one thing I am not sure of is how do you distinguish a visual studio extension from a vscode or vsts extension? Vscode extensions are pushed with the vsce cli, so that makes sense, but I think vsts and vs extensions are pushed with the same tfx cli.

@gep13 good point. Because judging by this documentation for TFX itself, it looks like it only does VSTS and TFS extensions.
And if you follow the links from the main Marketplace for working with Visual Studio extensions they send you back to the "old" Gallery site to upload. I think we may have been a bit optimistic about using tfx for this :confounded:

@gep13 As discussed, I've updated the build script to just upload an AppVeyor artifact, rather than attempting to publish. Does that look/sound correct?

Resolved by #10


Allow touch screen rotation

By default, my touch screen is rotated to the side. monitor=DSI-1,transform,3 fixed the display, but the inputs are registered with a 90 degree rotation.
It looks like libinput can fix this using libinput_device_config_calibration_set_matrix() (https://wayland.freedesktop.org/libinput/doc/latest/absolute-axes.html#calibration-of-absolute-devices), but I did not find a way to configure it in hyprland.
It would be nice to have a way to set a calibration matrix, or a least to use the common ones presented in the documentation of libinput.

what's wrong with you

done in cee0645fd1e8f84438635483fd17007c077812fe


hiding users - quota exceeded

You cannot hide more than 209 users. 210 is no longer added to the Ban list. Checked in the Vivaldi browser.

Reproduced in Chrome 98 as well
Seems to be related to QUOTA_BYTES_PER_ITEM quota exceeded error
Possible solution might be

use chrome.storage.local.set
use "permissions": ["unlimitedStorage"]

Found here
Documentation can be found here


findDOMNode is deprecated in StrictMode

The Evergreen-UI popover menu reports the following error in all browser consoles:
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
in div (created by Box)
in Box (created by Pane)
in Pane (created by Context.Consumer)
in withTheme(Pane) (created by Card)
in Card (created by PopoverStateless)
in PopoverStateless (created by Transition)
in Portal (created by Transition)
in Transition (created by Context.Consumer)
in Stack (created by Positioner)
in Positioner (created by Popover)
in Popover (at UserMenu/index.jsx:29)
Issue Description
The Evergreen package seems to use findDOMNode (when opening the Evergreen UI Menu Popover), which is depricated in a React App built using StrictMode.
To Reproduce
This is my UserMenu function component. It works, but throws the deprication warning:
import React from "react";
import { Popover, Menu, Button, Position } from "evergreen-ui";

const UserMenu = () => {
   return (

                <Popover
                    position={Position.BOTTOM_RIGHT}
                    animationDuration={300}
                    content={
                        <Menu>
                            <Menu.Group>
                                <Menu.Item icon="person" onSelect={() => { }}>
                                    Option 1
                                </Menu.Item>
                                <Menu.Item icon="circle-arrow-right" onSelect={() => { }}>
                                    Option 2
                                </Menu.Item>
                                <Menu.Item icon="edit" onSelect={() => { }}>
                                    Option 3
                                </Menu.Item>
                            </Menu.Group>
                            <Menu.Divider />
                            <Menu.Group>
                                Log out
                            </Menu.Group>
                        </Menu>
                    }
                >
                    <Button marginRight={16}>User Menu</Button>
                </Popover>

    )
};

export default UserMenu;

Steps to reproduce

Load the component above in a React App in StrictMode
The 'User Menu' button should appear.
After clicking on the 'User Menu' button, the error gets raised in the console.

Package.json Versions
"evergreen-ui": "^4.27.4",
"react": "^16.13.1",
"react-app-polyfill": "^1.0.6",
"react-dom": "^16.13.1",
"react-helmet-async": "^1.0.6",
"react-redux": "^7.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"react-spring": "^9.0.0-beta.34",
Environment:

OS: Mac OS X
Browser Chrome, Safari, Firefox (latest versions)

Thank you.

FYI this also holds true for tooltips. (Thanks for the great UI framework btw!)

For others, temporary resolution is to ignore console warning, which will only appear in dev builds. Removing StrictMode elem is not necessary (nor advised), since it will remove other helpful warnings :)

Same for SelectMenu also.

Closing as this is stale and I don't think this is a problem anymore. Feel free to reopen if it is!

 This is due to our use of react-transition-group without passing nodeRef (it falls back internally to findDOMNode). I'll see if we can migrate to nodeRef on Transition components.

Can you test this out in v6.2.0? I think we got all the instances of react-transition-group that weren't using nodeRef yet.

I can confirm that this issue is fixed in v6.2.0, @mshwery. Thank you!