Patch

Adding in patch option for service calls

SonarQube analysis reported 15 issues

 15 info

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 com.coveros:selenified: Filename: selenium-opera-driver-3.141.59.jar | Highest CVSS Score: 10.0 | Amount of CVSS: 14 | References: CVE-2008-3079 (10.0) CVE-2008-4293 (10.0) CVE-2008-1761 (9.3) CVE-2008-1764 (9.3) CVE-2008-4695 (9.3) CVE-2008-4794 (9.3) CVE-2008-5679 (9.3) CVE-2015-8960 (8.1) CVE-2010-5227 (6.9) CVE-2008-3172 (6.8) CVE-2009-0915 (6.8) CVE-2003-1561 (4.3) CVE-2008-4696 (4.3) CVE-2008-4795 (4.3)
 com.coveros:selenified: Filename: okhttp-3.11.0.jar | Highest CVSS Score: 5.9 | Amount of CVSS: 1 | References: CVE-2018-20200 (5.9)
 com.coveros:selenified: Filename: websocket-client-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: jetty-client-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: jetty-xml-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: commons-compress-1.18.jar | Highest CVSS Score: 7.5 | Amount of CVSS: 1 | References: CVE-2019-12402 (7.5)
 com.coveros:selenified: Filename: jackson-databind-2.9.2.jar | Highest CVSS Score: 10.0 | Amount of CVSS: 21 | References: CVE-2018-14721 (10.0) CVE-2017-17485 (9.8) CVE-2018-11307 (9.8) CVE-2018-14718 (9.8) CVE-2018-14719 (9.8) CVE-2018-14720 (9.8) CVE-2018-19360 (9.8) CVE-2018-19361 (9.8) CVE-2018-19362 (9.8) CVE-2018-7489 (9.8) CVE-2019-14379 (9.8) CVE-2018-5968 (8.1) CVE-2018-12022 (7.5) CVE-2018-12023 (7.5) CVE-2019-12086 (7.5) CVE-2019-14439 (7.5) CVE-2019-14540 (7.5) CVE-2019-16335 (7.5) CVE-2018-1000873 (6.5) CVE-2019-12384 (5.9) CVE-2019-12814 (5.9)
 com.coveros:selenified: Filename: netty-transport-4.1.17.Final.jar | Highest CVSS Score: 5.0 | Amount of CVSS: 1 | References: CVE-2019-16869 (5.0)
 com.coveros:selenified: Filename: bcprov-jdk15on-1.58.jar | Highest CVSS Score: 9.8 | Amount of CVSS: 3 | References: CVE-2018-1000613 (9.8) CVE-2018-1000180 (7.5) CVE-2017-13098 (5.9)
 com.coveros:selenified: Filename: logback-core-1.1.3.jar | Highest CVSS Score: 9.8 | Amount of CVSS: 1 | References: CVE-2017-5929 (9.8)

SonarQube analysis reported 19 issues

 4 minor
 15 info

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 com.coveros:selenified: URI: http://localhost:1080/posts/ | Method: GET | Attack: GET | URI: http://localhost:1080/null/ | Method: POST | Attack: POST | URI: http://localhost:1080/post/4?id=4 | Method: POST | Attack: POST | URI: http://localhost:1080/null/ | Method: GET | Attack: GET | URI: http://localhost:1080/sample/ | Method: GET | Attack: GET | URI: http://localhost:1080/posts/?id=4 | Method: GET | Attack: GET | URI: http://localhost:1080/null/ | Method: PUT | Attack: PUT | URI: http://localhost:1080/post/4 | Method: POST | Attack: POST | URI: http://localhost:1080/null/ | Method: DELETE | Attack: DELETE | URI: http://localhost:1080/post/4 | Method: DELETE | Attack: DELETE | URI: http://localhost:1080/post/4?id=4 | Method: DELETE | Attack: DELETE | Confidence: 2 | Description: The Content-Type header was either missing or empty. |
 com.coveros:selenified: URI: http://localhost:1080/sample/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1080/post/4 | Method: DELETE | Param: X-Content-Type-Options | Attack: DELETE | URI: http://localhost:1080/post/4?id=4 | Method: DELETE | Param: X-Content-Type-Options | Attack: DELETE | URI: http://localhost:1080/posts/?id=4 | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1080/posts/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1080/post/4?id=4 | Method: POST | Param: X-Content-Type-Options | Attack: POST | URI: http://localhost:1080/post/4 | Method: POST | Param: X-Content-Type-Options | Attack: POST | Confidence: 2 | Description: The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing. |
 com.coveros:selenified: URI: http://localhost:1070/next_page.html?submit_button=Submit | Method: GET | Attack: GET | URI: http://localhost:1070/next_page.html | Method: GET | Attack: GET | URI: http://localhost:1070/ | Method: GET | Attack: GET | Confidence: 2 | Description: The Content-Type header was either missing or empty. |
 com.coveros:selenified: URI: http://localhost:1070/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1070/next_page.html | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1070/next_page.html?submit_button=Submit | Method: GET | Param: X-Content-Type-Options | Attack: GET | Confidence: 2 | Description: The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing. |
 com.coveros:selenified: Filename: selenium-opera-driver-3.141.59.jar | Highest CVSS Score: 10.0 | Amount of CVSS: 14 | References: CVE-2008-3079 (10.0) CVE-2008-4293 (10.0) CVE-2008-1761 (9.3) CVE-2008-1764 (9.3) CVE-2008-4695 (9.3) CVE-2008-4794 (9.3) CVE-2008-5679 (9.3) CVE-2015-8960 (8.1) CVE-2010-5227 (6.9) CVE-2008-3172 (6.8) CVE-2009-0915 (6.8) CVE-2003-1561 (4.3) CVE-2008-4696 (4.3) CVE-2008-4795 (4.3)
 com.coveros:selenified: Filename: okhttp-3.11.0.jar | Highest CVSS Score: 5.9 | Amount of CVSS: 1 | References: CVE-2018-20200 (5.9)
 com.coveros:selenified: Filename: websocket-client-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: jetty-client-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: jetty-xml-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: commons-compress-1.18.jar | Highest CVSS Score: 7.5 | Amount of CVSS: 1 | References: CVE-2019-12402 (7.5)

SonarQube analysis reported 18 issues

 4 minor
 14 info

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 com.coveros:selenified: URI: http://localhost:1080/posts/ | Method: GET | Attack: GET | URI: http://localhost:1080/null/ | Method: POST | Attack: POST | URI: http://localhost:1080/post/4?id=4 | Method: POST | Attack: POST | URI: http://localhost:1080/null/ | Method: GET | Attack: GET | URI: http://localhost:1080/sample/ | Method: GET | Attack: GET | URI: http://localhost:1080/posts/?id=4 | Method: GET | Attack: GET | URI: http://localhost:1080/null/ | Method: PUT | Attack: PUT | URI: http://localhost:1080/post/4 | Method: POST | Attack: POST | URI: http://localhost:1080/null/ | Method: DELETE | Attack: DELETE | URI: http://localhost:1080/post/4 | Method: DELETE | Attack: DELETE | URI: http://localhost:1080/post/4?id=4 | Method: DELETE | Attack: DELETE | Confidence: 2 | Description: The Content-Type header was either missing or empty. |
 com.coveros:selenified: URI: http://localhost:1080/sample/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1080/post/4 | Method: DELETE | Param: X-Content-Type-Options | Attack: DELETE | URI: http://localhost:1080/post/4?id=4 | Method: DELETE | Param: X-Content-Type-Options | Attack: DELETE | URI: http://localhost:1080/posts/?id=4 | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1080/posts/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1080/post/4?id=4 | Method: POST | Param: X-Content-Type-Options | Attack: POST | URI: http://localhost:1080/post/4 | Method: POST | Param: X-Content-Type-Options | Attack: POST | Confidence: 2 | Description: The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing. |
 com.coveros:selenified: URI: http://localhost:1070/next_page.html?submit_button=Submit | Method: GET | Attack: GET | URI: http://localhost:1070/next_page.html | Method: GET | Attack: GET | URI: http://localhost:1070/ | Method: GET | Attack: GET | Confidence: 2 | Description: The Content-Type header was either missing or empty. |
 com.coveros:selenified: URI: http://localhost:1070/ | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1070/next_page.html | Method: GET | Param: X-Content-Type-Options | Attack: GET | URI: http://localhost:1070/next_page.html?submit_button=Submit | Method: GET | Param: X-Content-Type-Options | Attack: GET | Confidence: 2 | Description: The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing. |
 com.coveros:selenified: Filename: selenium-opera-driver-3.141.59.jar | Highest CVSS Score: 10.0 | Amount of CVSS: 14 | References: CVE-2008-3079 (10.0) CVE-2008-4293 (10.0) CVE-2008-1761 (9.3) CVE-2008-1764 (9.3) CVE-2008-4695 (9.3) CVE-2008-4794 (9.3) CVE-2008-5679 (9.3) CVE-2015-8960 (8.1) CVE-2010-5227 (6.9) CVE-2008-3172 (6.8) CVE-2009-0915 (6.8) CVE-2003-1561 (4.3) CVE-2008-4696 (4.3) CVE-2008-4795 (4.3)
 com.coveros:selenified: Filename: okhttp-3.11.0.jar | Highest CVSS Score: 5.9 | Amount of CVSS: 1 | References: CVE-2018-20200 (5.9)
 com.coveros:selenified: Filename: websocket-client-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: jetty-xml-9.4.15.v20190215.jar | Highest CVSS Score: 6.1 | Amount of CVSS: 2 | References: CVE-2019-10241 (6.1) CVE-2019-10247 (5.3)
 com.coveros:selenified: Filename: commons-compress-1.18.jar | Highest CVSS Score: 7.5 | Amount of CVSS: 1 | References: CVE-2019-12402 (7.5)
 com.coveros:selenified: Filename: jackson-databind-2.9.2.jar | Highest CVSS Score: 10.0 | Amount of CVSS: 21 | References: CVE-2018-14721 (10.0) CVE-2017-17485 (9.8) CVE-2018-11307 (9.8) CVE-2018-14718 (9.8) CVE-2018-14719 (9.8) CVE-2018-14720 (9.8) CVE-2018-19360 (9.8) CVE-2018-19361 (9.8) CVE-2018-19362 (9.8) CVE-2018-7489 (9.8) CVE-2019-14379 (9.8) CVE-2018-5968 (8.1) CVE-2018-12022 (7.5) CVE-2018-12023 (7.5) CVE-2019-12086 (7.5) CVE-2019-14439 (7.5) CVE-2019-14540 (7.5) CVE-2019-16335 (7.5) CVE-2018-1000873 (6.5) CVE-2019-12384 (5.9) CVE-2019-12814 (5.9)


Update developer-tooling.md

Fix typo.

Checklist:

[ ] If this PR is a new feature, please reference an issue where a consensus about the design was reached (not necessary for small changes)
[ ] Make sure all of the significant new logic is covered by tests
[ ] Try to include the Pull Request inside of CHANGELOG.md

Thanks


⚠ Bofrost.at has degraded performance

In 9fa7b3f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1797 ms

Resolved: Bofrost.at performance has improved in a4ce0f5.


Remove usage of deprecated Zenbox popups

From (or before??) November 1st, 2016 Zenbox is deprecating support
portal features the AAF previously made use of including JS popup
to add issues directly to the support tool.
To address this we now direct users requesting support to the AAF
support pages which they can use to get more information or log a job
for further assistance.
Closes #227.

Happy for this PR to be eyeballed.
I have run up locally and checked links function and that there are no errors reported in developer console on browser.


Bug Report: Lua state is not compiling

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows('x86_64')
What version of the game are you using? Look in the bottom left corner of the main menu.
KE 1.7
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
lime test windows
Please describe your issue. Provide extensive detail and images if possible.

do you have linc_luajit

yes i have all the libs in the kade engine dep it would say missing lib if i didnt have it this is problem with code

I have this exact issue. Has anyone found a fix?


(sgemm) Apply some of the SKYLAKEX optimizations also to HASWELL

For small matrices there's some interesting-enough wins to be had:

M
N
K
cycles
improvement

1
1
1
269.6
-4.5%

2
2
2
287.7
-0.5%

3
3
3
397.6
1.0%

4
4
4
306.4
1.2x

6
6
6
577.0
1.1x

8
8
8
414.0
1.3x

16
16
16
1030.3
1.4x

32
32
32
4573.9
1.8x

48
48
48
12216.6
1.4x

64
64
64
26284.3
1.5x

96
96
96
76087.1
1.4x

128
128
128
170823.4
1.3x

192
192
192
541464.6
1.2x

256
256
256
1238842.0
1.2x

512
512
512
9501534.7
8.3%

1024
1024
1024
78758387.0
2.3%

4
16
9
379.7
1.3x

64
128
192
132797.8
1.2x

37
81
193
63104.2
1.2x

512
412
800
12500033.8
7.2%

256
1
256
110118.4
2.1x

256
2
256
133074.0
1.9x

256
4
256
111973.9
2.0x

256
8
256
113988.2
2.0x

256
16
256
139785.1
1.9x

256
32
256
213030.3
1.6x

256
64
256
359315.7
1.4x

1
256
256
64398.3
3.4%

2
256
256
68050.3
2.2%

4
256
256
68803.7
4.7%

8
256
256
88886.5
5.6%

16
256
256
123633.7
6.8%

32
256
256
199070.4
9.8%

64
256
256
345128.9
1.1x

256
256
1
45093.0
2.3x

256
256
2
50227.3
2.2x

256
256
4
60993.9
1.9x

256
256
8
82554.1
1.7x

256
256
16
123221.1
1.5x

256
256
32
200263.4
1.4x

256
256
64
341454.0
1.3x

35
8457
1760
61871520.9
-0.4%

See skylakex additions in Makefile.x86_64 (non-dynamic) and kernel/Makefile (dynamic_arch case). Also cmake/system.cmake for the cmake builds (have not gotten around to checking if this "pollutes" the dynamic_arch builds with host-specific arch optimizations like gmake builds did before #1910)

Seems neither -mavx2 nor -march=core-avx2 is supported on gcc before 4.7.0 (some of the travis setups use 4.6.3)

we can do a not so nice hack and include the generic one if AVX2 is not
defined...... if you're on an old gcc you won't get the performance but at
least it'll compile
On Sat, Dec 15, 2018 at 3:15 PM Martin Kroeker<EMAIL_ADDRESS>wrote:

Seems neither -mavx2 nor -march=core-avx2 is supported on gcc before 4.7.0
(some of the travis setups use 4.6.3)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/pull/1919#issuecomment-447604798, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABPeFV5vmB6h5WvmSP2RlIirG4LbEkrdks5u5YKZgaJpZM4ZUvo9
.

the new patch should make the code compile with and without avx2.


Cannot read property 'properties' of undefined

Help me?
Error module  plugins-video, plugins-spacer, plugins-html5-video
An error occurred!
Cause:
Cannot read property 'properties' of undefined
Cell:
6afkyr
"@react-page/editor": "^2.1.0-beta.4",
"@react-page/plugins-background": "^2.2.9",
"@react-page/plugins-html5-video": "^2.2.9",
"@react-page/plugins-image": "^2.2.9",
"@react-page/plugins-slate": "^2.2.9",
"@react-page/plugins-spacer": "^2.2.9",
"@react-page/plugins-video": "^2.2.9",

duplicate https://github.com/react-page/react-page/issues/996


Color information/settings only loaded on the second attempt

Describe the bug
I have some devices/lights in ioBroker/iqontrol, that allow setting their color. They are organized in a room.
Navigation is

Home
Rooms

Bedroom
Living Room
...

bottom nav bar

rooms tab

Reproduce

Open icontrol with start-page url https://raspi:8082/iqontrol/index.html?namespace=iqontrol.0
Click on "Rooms" in bottom nav bar
Select a room. Bedroom in my case.

Observed behavior (1)
Color-Information / settings for some lights are not displayed:

Lights in this case are custom made ESP286 light strips controlled via ioBroker objects linked to MQTT topics.

Click "rooms" in bottom nav bar again
choose "bedroom" again

Observed behavior (2)
Color information/settings now are displayed:

Expected behavior
Color Information and settings should be displayed on the first attempt. See screenshot "observed behavior (2)"
Versions:

Adapter version: 1.5.5
JS-Controller version: 3.1.6
Node version: 10.23.1
Operating system: Raspbian GNU/Linux 10 (buster)

Hey, the issue is already opened in case #153.

Hey, the issue is already opened in case #153.

Damn! Yes. Really sounds like my issue.
Sorry for not reading the existing list.
I guess, we can close this one here, or?
Sorry that it seems to be a never ending story for you.
But thank you anyway for this great ioBroker adapter. I really enjoy it.

Damn! Yes. Really sounds like my issue.
Sorry for not reading the existing list.
I guess, we can close this one here, or?
Sorry that it seems to be a never ending story for you.
But thank you anyway for this great ioBroker adapter. I really enjoy it.

Hi,
bitte mal mit der aktuellen Github-Version testen. Ich hoffe, es geht jetzt!
Bitte um Rückmeldung.
VG!

Hi,
bitte mal mit der aktuellen Github-Version testen. Ich hoffe, es geht jetzt!
Bitte um Rückmeldung.
VG!

Hi!
Finally found the time to update test ... thank you so much. Works now!
Have a fantastic weekend!


add at-least-once test

@manuzhang please review the at-least-once test

Current coverage is 61.02%

Branch #1585 has no coverage reports uploaded yet.

No diff could be generated. No reports for integrationtest found.

Uncovered Suggestions

+0.21% via .../master/Master.scala#116...127
+0.20% via ...cutor/Executor.scala#187...197
+0.20% via ...cutor/Executor.scala#98...108
See 7 more...

Powered by Codecov. Updated on successful CI builds.

updated

+1


Combine two CSS blocks (micro optimization)

Just combine two CSS blocks.
Also I would decrease z-index, because I want to display some popups and bootstrap tooltips, but developers can customize this themselves in their projects. (BTW personally I use z-index: 99 in my app).

This was justified see https://github.com/brunob/leaflet.fullscreen/blame/4c08f8e9de8accddd739f2b0fd8e9218876aa787/Control.FullScreen.css#L5C46-L5C93
The reference is quite old see "For some bizarre reason, you must repeat the styles in their own blocks or they won’t be applied" on https://www.sitepoint.com/html5-full-screen-api/ and it still seems valid https://stackoverflow.com/questions/44913155/using-multiple-vendor-specific-css-selectors-at-once
Have you tested your modification on safari ios or any apple mobile device ?

Have you tested your modification on safari ios or any apple mobile device ?

Hello! Yes, just tested on iPad OS 17.6.1 (Safari), MacOS Sequoia 15.1 (both Safari and Chrome), iPhone (really don't know which version, just asked to test it and it worked perfectly).
And of course it works on non-apple devices too, mobile and desktop.

Oh, actually going to re-test it again, because I tested it in "pseudo-fullscreen"...


Yura drops Nagakiba only

Hi.
I've found that you can get Nagakiba only when kill Yura.

@EnterYoName this is a bug I'm aware of and a fix will be out soon.

Glad to hear it. Thanks)


Fix crash with HTCP

Fixes https://github.com/sctplab/usrsctp/issues/395

Ran into the same issue and applied the patch successfully.

Same here.

@tuexen Yo! Just in case, I thought I'd directly ping you; there seems to be four people (I'm working with @ghazel, and so don't count as another person myself, but there are three in this thread and one in the referenced issue) who have experienced the same bug and are saying this patch works... what is the best way to help get this change committed?

The reason I was hesitating to commit this, is that the CC is not tested very well and the corresponding CC for TCP implemented in cc_htcp.c seems to be different. It is based on an individual submission (draft-leith-tcp-htcp-06.txt) and I'm not sure why it wasn't adopted in a WG and further developed to an RFC.
However, this pull requested avoids a division by zero bug, so it is better what was there before.


feat: add release for kakarot-rpc

Feature Request
Describe the Feature Request

We should be doing pre-release for the following:

kakarot-rpc
dump-katana

This will enable being able to consumes them on the CI jobs.
Describe Preferred Solution

Add a github action which runs on every PR and does builds and publishes pre-release pushes a pre-release of these binaries.

Adding the low-priority label to this issue right now, as we've agreed to start by clone and building from source in the Kakarot CI first.


Add "Search" function on the menu

Since there is space, we may add the search function (with a search icon) instead of having to click on the last button and then click "Search". I know there is the keyboard shortcuts, but since we have free space why not adding it anyway?
Spoiler: @pakerwreah yes for today I finished my work as feedbacker 😅

Spaces are nice for separation of concerns. I don't want the ui to become cluttered with components in every single pixel.
I personally don't even use the search function that much. It would be annoying to have it always visible.
It also interferes with the keyboard in general.
So that's a "no" from me 😉


ci_build updates

cleanup some warnings and errors when runnign the container in interactive mode
add python3 support

merged.


Error building libRocket on Ubuntu 15.10

Not sure if you have encountered this problem before?
/usr/bin/ld: /home/qh812/project/dawnengine/dependencies/linux-build/ogredeps/ogredeps/lib/libfreetype.a(ftbase.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/home/qh812/project/dawnengine/dependencies/linux-build/ogredeps/ogredeps/lib/libfreetype.a: error adding symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/RocketCore.dir/build.make:3336: recipe for target 'libRocketCore.so.<IP_ADDRESS>' failed
make[2]: *** [libRocketCore.so.<IP_ADDRESS>] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/RocketCore.dir/all' failed
make[1]: *** [CMakeFiles/RocketCore.dir/all] Error 2

Oh woops! That requires a patch in the ogredeps CMakeLists.txt to support the Clang compiler correct (which I've done but forgot to reupload the dependencies archive). A workaround for the time being would be to remove the export CC and export CXX lines in the build-unix.sh script so it builds using GCC rather than Clang.
Bare in mind the engine is currently in a very unusable state - working on building a working sandbox mode after exams.

Closing this, as I've now integrated libRocket directly into the build.


Small model not working

python tracking/video_demo.py
mixformer2_vit_online
288_depth8_score
/home/pc_5030/MixFormerV2/output_video_resized.mp4
--optional_box 159.0 312.0 44.0 17.0
--params__model /home/pc_5030/MixFormerV2/mixformerv2_small.pth.tar --debug 1
--params__search_area_scale 4.5 --params__update_interval 25 --params__online_size 1
This command works well with base model but when i change the model to small one as above it gives backbone error. How to fix it?

Yes, you should choose the corresponding config yaml file.


createDefaultNotificationChannelIfNeeded Nullpointer exception

Hi,
From the Google Play Console i notice some reports about a Nullpointer exception on the createDefaultNotificationChannelIfNeeded. I dont know what the reason behind this is, thats why im posting it here. Could i be something with the permissions the users gives the application? There are multiple devices reporting this issue.
Expected Behaviour
No null pointer exception or reported crash in the google console.
Actual Behaviour
Google reports a crash on
java.lang.NullPointerException:
com.adobe.phonegap.push.PushPlugin.createDefaultNotificationChannelIfNeeded
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Multiple versions, from the console i see 8.0/8.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Samsung
Cordova CLI version and cordova platform version
Cordova 8.0.0.
Android 7.1.1
Plugin version
phonegap-plugin-push 2.2.3 "PushPlugin"
Logs taken while reproducing problem
at android.os.Parcel.readException (Parcel.java:2035)
at android.os.Parcel.readException (Parcel.java:1975)
at android.app.INotificationManager$Stub$Proxy.getNotificationChannels (INotificationManager.java:1839)
at android.app.NotificationManager.getNotificationChannels (NotificationManager.java:524)
at com.adobe.phonegap.push.PushPlugin.createDefaultNotificationChannelIfNeeded (PushPlugin.java:150)
at com.adobe.phonegap.push.PushPlugin.access$200 (PushPlugin.java:40)
at com.adobe.phonegap.push.PushPlugin$1.run (PushPlugin.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at java.lang.Thread.run (Thread.java:764)

Any updates about this issue? still seeing these exceptions in the console.


Animation properties in CSSProperties prototype

Fixes #3006 effectively preventing the following CSSProperties from being obfuscated when ADVANCED_OPTIMIZATIONS flag is present
animationName
animationDuration
animationTimingFunction
animationIterationCount
animationDirection
animationPlayState
animationDelay
animationFillMode
animation

Great, thanks! Testing to make sure this doesn't break internal Google projects now.


Minor Code Cleanup /website

Hi Emil,
I was just studying the website's code - about its structure, libraries etc. used in it. It is good.
Then I also thought to contribute to it.
I noticed a few components had inline props types, so I moved them out separately to make them look good. It will not affect UI or other functionality.
Have a look at the changes.

Prefer inline props, but thanks for the PR!


onContentSizeChange not firing when children TextInput (multiline) is grow

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
  React Native Environment Info:
    System:
      OS: macOS 10.14.1
      CPU: (4) x64 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
      Memory: 49.77 MB / 8.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 8.12.0 - /usr/local/bin/node
      Yarn: 1.9.4 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 24, 26, 27, 28
        Build Tools: 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.1, 28.0.3
        System Images: android-28 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.1 => 16.6.1
      react-native: 0.57.5 => 0.57.5
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7
      react-native-macos-cli: 2.0.1

Description
onContentSizeChange not firing when children TextInput (multiline) is grow
Reproducible Demo
 <ScrollView
            onContentSizeChange={({
              nativeEvent: {
                layout: { x, y, width, height },
              },
            }) => {
              console.warn(height);
            }}
          >
            <TextInput multiline />
          </ScrollView>

You are right, this seems like this is a real issue but unfortunately it's unlikely anyone will be able to spend time on this anytime soon. I'm going to close this issue but we are more than happy to receive a pull request with a fix for this!


ROX-15812: Propagate $POD_SECURITY_POLICIES to roxctl when installing sensor.

Description
Looks like this was missed in https://github.com/stackrox/stackrox/pull/3230
Checklist

[ ] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~
[x] ~Evaluated and added CHANGELOG entry if required~
[x] ~Determined and documented upgrade steps~
[x] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
CI should be sufficient. Let me figure out how to run this on recent k8s...
/test help

/test ocp-next-qa-e2e-tests
But I vaguely remember that ocp jobs use the operator to install? :thinking:
How can I verify this @gavin-stackrox ?


Allow users to install borgbackup package instead of downloading binary

This replaces PR https://github.com/fiaasco/borgbackup/pull/18. Original PR description:

I think it would be helpful to have support for installing borg backup from the package manager.

I've tested this installing from both package and web in a local vagrant environment on CentOS 7, and was able to take a backup successfully both ways.

This offers all of the changes from our fork at https://github.com/tag1consulting/ansible-role-borgbackup that aren't Tag1-specific.
The primary addition here is the ability to install borgbackup from a package (via EPEL), but this also includes a couple ansible-lint fixes.
I tested #18 back when I made those changes, but I don't have the cycles to test this again, so hopefully someone else can take that on.
Happy to see that this repo is active again. :)

Thanks. I'll try to run some tests so that we can get this ready to merge.

Hi @TravisWhitehead, thanks for working on this!
I'm running into issues with your changes though, as the geerlingguy.repo-epel dependency in meta/main.yml seems to be forced, which obviously fails on my Debian server.
The dependency should only apply for RedHat systems, but not sure if that can be defined in the meta directly.
Any ideas?

This is how my play fails:
TASK [Gathering Facts] *****************************************************************************************************************************************
ok: [my-server]

TASK [geerlingguy.repo-epel : Check if EPEL repo is already configured.] ***************************************************************************************
ok: [my-server]

TASK [geerlingguy.repo-epel : Install EPEL repo.] **************************************************************************************************************
FAILED - RETRYING: Install EPEL repo. (5 retries left).
FAILED - RETRYING: Install EPEL repo. (4 retries left).
FAILED - RETRYING: Install EPEL repo. (3 retries left).
FAILED - RETRYING: Install EPEL repo. (2 retries left).
FAILED - RETRYING: Install EPEL repo. (1 retries left).
fatal: [my-server]: FAILED! => {"ansible_facts": {"pkg_mgr": "apt"}, "attempts": 5, "changed": false, "msg": "No package matching 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm' is available"}

I just ran some tests and CentOS works fine but for Ubuntu I had the same issue as @noplanman just reported. I believe it should be fixed like this:
dependencies:
  - role: geerlingguy.repo-epel
    when: ansible_os_family == 'Redhat'

Good catch y'all. @stroobl I've added that conditional to the requirement (but haven't tested it myself).

I tested it already, so I'll merge so that we can move on with the other changes. I'll wait to add a new release tag till we merged @dverhelst testing changes and ran more tests.

@TravisWhitehead @stroobl
Conditional needs to be set in meta/main.yml, not requirements.yml.
This PR still fails as it is.
Should be:
dependencies:
  - name: geerlingguy.repo-epel
    when:
      - ansible_os_family == 'Redhat'
      - borgbackup_install_epel

@noplanman Thanks, I opened a PR.


rkv service crashes due to temporarily connection issue to backend redis

during perf run, observed that rkv may exit in the middle of load test; below is /tmp/rkv.log file
this does not always happen; 2 times in about 20 runs.
$ cat /tmp/rkv.log
The url is <IP_ADDRESS>:6666 and the pool is &{0x6c7ba0 <nil> <nil> 80 12000 0s false 0s {0 0} false 0 {0 {0 0}} <nil> {0 <nil> <nil>} 0 0}
The url is <IP_ADDRESS>:6666 and the pool is &{0x6c7ba0 <nil> <nil> 80 12000 0s false 0s {0 0} false 0 {0 {0 0}} <nil> {0 <nil> <nil>} 0 0}
The url is <IP_ADDRESS>:6666 and the pool is &{0x6c7ba0 <nil> <nil> 80 12000 0s false 0s {0 0} false 0 {0 {0 0}} <nil> {0 <nil> <nil>} 0 0}
The url is <IP_ADDRESS>:6666 and the pool is &{0x6c7ba0 <nil> <nil> 80 12000 0s false 0s {0 0} false 0 {0 {0 0}} <nil> {0 <nil> <nil>} 0 0}
The url is <IP_ADDRESS>:6666 and the pool is &{0x6c7ba0 <nil> <nil> 80 12000 0s false 0s {0 0} false 0 {0 {0 0}} <nil> {0 <nil> <nil>} 0 0}
2022/07/29 02:14:45 ERROR: fail init redis: dial tcp <IP_ADDRESS>:6666: connect: connection refused

ycsb log indicated that exit happened after 4750 seconds
INSERT - Takes(s): 4710.0, Count: 357472, OPS: 75.9, Avg(us): 25817, Min(us): 7364, Max(us): 19316735, 99th(us): 33439, 99.9th(us): 5459967, 99.99th(us): 12992511
INSERT - Takes(s): 4720.0, Count: 357475, OPS: 75.7, Avg(us): 25891, Min(us): 7364, Max(us): 19316735, 99th(us): 33439, 99.9th(us): 5484543, 99.99th(us): 12992511
INSERT - Takes(s): 4730.0, Count: 357475, OPS: 75.6, Avg(us): 25891, Min(us): 7364, Max(us): 19316735, 99th(us): 33439, 99.9th(us): 5484543, 99.99th(us): 12992511
INSERT - Takes(s): 4740.0, Count: 357476, OPS: 75.4, Avg(us): 25941, Min(us): 7364, Max(us): 19316735, 99th(us): 33439, 99.9th(us): 5496831, 99.99th(us): 13049855
INSERT - Takes(s): 4750.0, Count: 357477, OPS: 75.3, Avg(us): 25997, Min(us): 7364, Max(us): 20168703, 99th(us): 33439, 99.9th(us): 5541887, 99.99th(us): 13213695
INSERT_ERROR - Takes(s): 9.5, Count: 8294, OPS: 876.4, Avg(us): 2085, Min(us): 1776, Max(us): 9503, 99th(us): 4483, 99.9th(us): 5543, 99.99th(us): 6971
INSERT - Takes(s): 4760.0, Count: 357477, OPS: 75.1, Avg(us): 25997, Min(us): 7364, Max(us): 20168703, 99th(us): 33439, 99.9th(us): 5541887, 99.99th(us): 13213695
INSERT_ERROR - Takes(s): 19.5, Count: 16847, OPS: 865.6, Avg(us): 2113, Min(us): 1776, Max(us): 14327, 99th(us): 4527, 99.9th(us): 5759, 99.99th(us): 11015
INSERT - Takes(s): 4770.0, Count: 357477, OPS: 74.9, Avg(us): 25997, Min(us): 7364, Max(us): 20168703, 99th(us): 33439, 99.9th(us): 5541887, 99.99th(us): 13213695
INSERT_ERROR - Takes(s): 29.5, Count: 25455, OPS: 863.9, Avg(us): 2117, Min(us): 1776, Max(us): 14327, 99th(us): 4519, 99.9th(us): 5675, 99.99th(us): 9503
INSERT - Takes(s): 4780.0, Count: 357477, OPS: 74.8, Avg(us): 25997, Min(us): 7364, Max(us): 20168703, 99th(us): 33439, 99.9th(us): 5541887, 99.99th(us): 13213695

#38 provided fix to redis crash


Highlighted user research links in header fail a11y contrast settings

Hello!
Should be easy to fix: when you focus on a link in the user research banner, the white text on yellow background fails an a11y contrast check.

Easy possible fix: black link text when focused.

@pcraig3 Thanks Paul! We're looking at accessibility issues in the upcoming quarter so will add this to our list.


additional metric for thin pools

Adds a metric to track the available overprovisioned bytes
for a thin pool.
Signed-off-by: N Balachandran<EMAIL_ADDRESS>

Would you please rebase to avoid CI failure?
ref: https://github.com/topolvm/topolvm/pull/542

Could you please add documents about metrics in topolvm-node.md?

Done.

Would you please rebase to avoid CI failure? ref: #542

Done.


[Feature]

Problem description
my config:
"defaults": {
"exclude": true
},
"devices": [
{
"id": "xxxxxxxxxxxx",
"exclude": false
}
Suggested solution
can you create a box in visual config where add every include device instead of insert them into json?
thanks
Alternative solutions
No response
Additional context / information
No response

I thought this was already possible by adding the device to the list and not checking the exclude checkbox. Unfortunately I just checked and it seems that it only adds the id to the JSON, but but the exclude property.
I'll see if I can change the schema to resolve this.

Fammi sapere se risolvi. Grazie
Let me know thanks


Widen deps and add release notes

The pytest and sybil dependencies can be purely widen, supporting the same oldest versions as before, as we are not affected by the breaking changes.
This allows us to keep backwards compatibility for downstream project.

Updated to improve release notes.


{{next_post}} and {{prev_post}} helpers

This requires #4262 (there is an open PR #4772)

With the addition of the ability to fetch the next and previous post via the API, we need to make it possible for theme developers to access this functionality.
The {{#get}} helper provides one avenue for doing this, something like:
{{#get "posts" id="current-post-id" include="next,prev"}}
    {{#prev}}{{title}}{{/prev}}
    {{#next}}{{title}}{{/next}}
{{/get}}

However, that's a little unintuitive for a feature like this (which is highly requested and likely to be used by a large number of people). So it makes sense to provide a slightly nicer set of helpers.
{{next_post}} and {{prev_post}}
As each of these will fetch all of the properties of a post, they'll need to work as a block helper:
i.e. {{#next_post}}}{{title}}{{/next_post}} and {{#prev_post}}}{{title}}{{/prev_post}}.
Each helper will need to determine the current post ID, make a query to the API to fetch the data, and then ensure the data is provided such that helpers like {{title}} and {{url}} will work correctly inside the block.

See https://github.com/TryGhost/Ghost/issues/4439#issuecomment-74743522 for a note on why this issue is currently blocked.

Would like to hear your thoughts on making include =  'next,previous' the default behavior.
ref: https://github.com/TryGhost/Ghost/blob/master/core/server/controllers/frontend.js#L352
-   postLookup.include = 'author,tags,fields';
+   postLookup.include = 'author,tags,fields,next,previous';

Would allow theme creators to address next and previous posts like so:
{{#post}}
...
    {{#next}}
        Next: {{title}}
    {{/next}}
    {{#previous}}
        Previous: {{title}}
    {{/previous}}
...
{{/post}}

Hi @mankkittens,
Thanks for asking the question, this goes back to open discussion from ages ago, if I can pick out the issue I will post it up here for you to take a look. The general feeling was that is would not be right to force this into default behaviour.
We have been waiting for a change with express handlebars to enable us to handle this the way we want. Now that has happened I have a PR waiting in the wings, just adding tests at the moment but it's nearly there and you will then be able to use {{#prev_post}}{{title}}....etc{{/prev_post}} inside the post template much as you show there :)

Makes sense. Thanks for the explanation!


Removing Compute, DNS, and Resource Manager sections of main README

This finishes the API section cleanup.

LGTM


app

You are applying for OSS program

[X] Yes my project is OSS licensed and open to public.

Repository URL to your project
webapp
URL to your website
No response
Expected Quota of usage
alda.ai
Details
- Category:
- License:
- Date of release:

Anything else?
No response

Please provide your repository url


fix lock file check: existing means no error

Thanks again! This is a hobby project for me that I wrote to get started in go, so I apologize for any coding horrors I may have created.


Update setup.md

SharePointPnPPowerShellOnline is now legacy.
See following for more details.
https://pnp.github.io/powershell/articles/upgrading.html

Duplicate Request


[bugfix] unify duration.valueOf and asMilliseconds

Changes

This valueOf and asMilliseconds should have the same function.
Fix for issue #5603 .

Coverage decreased (-0.03%) to 88.502% when pulling<PHONE_NUMBER>6b12b89995fd6daedf5c055d2f1c8c on Alanscut:issue_5603 into 3e1a95b5ef0a505fec567c5b2290fd80e1da18f9 on moment:develop.

I am not sure whether to merge this, in case of breaking change.
cc @ichernev

Merged in 8dd12f64e0fdbb181a5663d09f87a3a21616777d


Add .first() aggregation to GroupedDataFrame

Closing - adding an implicit stable ordering in groupby may be too strict for future development.


How to create a PowerShell function in Azure using Visual Studio?

Hi,
How to create a PowerShell function in Azure using Visual Studio?
Thank you.

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

ID: 6e88ea08-81ef-2b5a-b9d6-539e85592672
Version Independent ID: f2d8b7b4-906a-d1f5-5201-fc22a7890955
Content: Quickstart: Create your first function in Azure using Visual Studio
Content Source: articles/azure-functions/functions-create-your-first-function-visual-studio.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@jaganpt Thank you for the question. We will review and get back to you.

@jaganpt  Here is you can try: Go to the portal--> Navigate to Function App --> Click on the three dots --> Click on "Download App Content"

Then select "Content and Visual Studio Project" and Download. You can "Include the app settings" if you need to.

This will download a zip file. You can open it in Visual Studio. That is how you can continue development.
You can refer to : https://www.deliveron.com/blog/visual-studio-azure-functions-app-project-powershell/
We are closing this issue as this is not related to documentation enhancement. If you have any related question please post that in Microsoft QnA forum.

Hi @JayaChatterjee-MSFT ,
Thanks for your reply. This is creating PowerShell function app within portal and then  download app content from there.
But I am looking for create PowerShell function app  using Visual Studio.


Update default ClearColor to better match Bevy's branding

Objective

Changes the default clear color to match the code block color on Bevy's website.

Solution

Changed the clear color, updated text in examples to ensure adequate contrast. Inconsistent usage of white text color set to use the default color instead, which is already white.
Additionally, updated the 3d_scene example to make it look a bit better, and use bevy's branding colors.

Discussed (and signed off on) on Discord.
Much prettier honestly.

Not really sure what to do about the Bevy Logo situation. Maybe we should remove the circle background? (probably with a new branding/bevy_bird_light.png)

pixel_perfect is also pretty nasty. We can use bevy_pixel_dark.png instead, but it will still need a slightly lighter background to pop.


Proper man pages

Proper man pages

Add good documentation

Closed for now.

Documentation in readme.md is growing every single day, I think we should switch to scdoc man page rendering.

Since the people assigned to this issue haven't made any progress in a month, I am opening this issue for anyone to comment on and possible send a PR.

This sounds like something that seems like it would certainly be within my capabilities.
Question about scdoc: Is that something that's run during the build process or something? For instance, I see within the sway source, there are .scd files but no .roff files that scdoc would output.

Yes scdoc binary that's called at compile time.

https://git.sr.ht/~sircmpwn/scdoc

I'll take a shot at this either tonight or tomorrow :+1:

This needs some attention


Checking if the DNS response is valid

Currently, we can query the CoreDNS pods and services to resolve service names. I am using the kubernetes.default service as a question to test the DNS service.
How should we determine if the pods are healthy based on the response recieved?
A few cases I can think of when the pods can be considered unhealthy:

If there's an i/o timeout in the response.
If the status is something other than NOERROR. (This is because the pods should be able to resolve the kubernetes service in any case.)

Are there any other situations or indicators we can use to test the output against?

Here is a screenshot with a sample response:

@yongtang @greenpau

@wjayesh yes i/o timeout is a very good indicator for almost all failure cases in udp space. This could be caused by network outage, server failed to response, etc.
NOERROR is another indicator.
One more case, which helps to figure out what went wrong, is to try from different network path:

send query from inside coredns pods to <IP_ADDRESS> (check to see if coredns process is ok).
send query from inside coredns pods to public facing IP (check to see if public facing ip is accessible by itself.).
send query from outside coredns pods to public facing IP. (check to see if public facing ip is accessible by others)

I will be adding the checks you suggested with the new version where the binary is now going to be deployed on the host. This will give it access to all network namespaces and then we could carry out those operations.


Add the StackMainContent component

depends on https://github.com/vivid-planet/comet/pull/2701

Description
This version of MainContent only adds content spacing and height when it's the last visible StackSwitch.
Using StackMainContent instead of MainContent prevents unintended or duplicate spacings in cases where multiple MainContent components are used inside nested StackSwitch components.

Example of handmade "Add Product Variant" form in demo
In this case, the form, using MainContent for content spacing (inside a StackSwitch and StackPage) is nested inside Tabs which are also wrapped with MainContent for spacing around the Tabs.

Before
After

Changeset

[x] I have verified if my change requires a changeset

Related tasks and documents
https://vivid-planet.atlassian.net/browse/COM-1245
Open TODOs/questions

[x] Merge parent PR https://github.com/vivid-planet/comet/pull/2701

But wouldn't this be a breaking change? 🤔

IMO we could consider this a bug fix 😁

Why not added the behavior to MainContent?

@johnnyomair after some consideration, I think there actually are valid use-cases for MainContent without the stack-hiding behavior.
E.g., if you nest stack-pages in which there is no content that should be outside of the content-spacing (like a Toolbar) the outer content-spacing might still be required and would now be unintentionally removed. This would require additional nested instances of MainContent.
So I think it's best to keep them as separate MainContent and StackMainContent components, similar to how we have separate Toolbar and StackToolbar components for example.


DateField: Allow Formatting

Is your feature request related to a problem? Please describe.
The current DateTime Format is hardcoded.
Describe the solution you'd like
The DateTime format should be configurable.
2023-08-30  # "iso"
08/30/23    # "us"
30.08.2023  # "europian"

The above are equivalent.
Currently, only the american display format ("us") seems to be available when using DateField.
Request:
Having a default dotnet parameter available for config would be nice.

@BDisp and/or @MaciekWin3: is this Issue addressed by

#3188 ?


-0 displayed in single stat for -0.001 with truncated decimals

We should special case 0 so that we don't have -0 displayed for -0.000....

cc @alsargent

To add additional context, JavaScript has two different zeroes: +0 and -0


remove live tests

Tickets:
Replace API calls with VCR - Deals
Replace API calls with VCR - DealProperties
Replace API calls with VCR - Companies
Replace API calls with VCR - CompanyProperties
Replace API calls with VCR - ContactsProperties
Summary:
The tests under the 'live' directory issue real network calls. We would
like to prevent the test suite from hitting the HubSpot API to ensure
tests are fast, reliable, and don't require internet access.
This PR:

removes the remaining tests under the live directory in favor of
existing tests that use VCR.
updates the README and Rakefile to remove references to live or
quick tests
removes the configuration for live tests from spec_helper

LGTM


Data Prepper - Logs - HTTP Source

Hi,
I was trying to create a log ingestion flow from OpenTelemetry to OpenSearch via DataPrepper.
So far, I've only seen otel_metrics_source and otel_trace_source in the DataPrepper documentation, is there a source that supports otlpexporter of OpenTelemetry Collector?
I went with using http source in DataPrepper in the end hoping it would work with otlphttp exporter, but so far I'm getting this error:
2023-01-13 14:14:10 2023-01-13T19:14:10.672Z    info    LogsExporter    {"kind": "exporter", "data_type": "logs", "name": "logging", "#logs": 1}
2023-01-13 14:14:10 2023-01-13T19:14:10.672Z    info    exporterhelper/queued_retry.go:426      Exporting failed. Will retry the request after interval.        {"kind": "exporter", "data_type": "logs", "name": "otlphttp", "error": "failed to make an HTTP request: Post \"data-prepper:2021/v1/logs\": unsupported protocol scheme \"data-prepper\"", "interval": "3.465315768s"}
2023-01-13 14:14:25 2023-01-13T19:14:25.537Z    info    exporterhelper/queued_retry.go:426      Exporting failed. Will retry the request after interval.        {"kind": "exporter", "data_type": "logs", "name": "otlphttp", "error": "failed to make an HTTP request: Post \"data-prepper:2021/v1/logs\": unsupported protocol scheme \"data-prepper\"", "interval": "14.167450749s"}
2023-01-13 14:14:39 2023-01-13T19:14:39.707Z    info    exporterhelper/queued_retry.go:426      Exporting failed. Will retry the request after interval.        {"kind": "exporter", "data_type": "logs", "name": "otlphttp", "error": "failed to make an HTTP request: Post \"data-prepper:2021/v1/logs\": unsupported protocol scheme \"data-prepper\"", "interval": "29.737572211s"}

Below are my otel collector config and data prepper pipeline:
Otel Collector Config:
receivers:
  filelog:
    include: [ /etc/output/logs.log]

exporters:
  logging:
  otlphttp:
    endpoint: data-prepper:2021
    tls:
      insecure: true
      insecure_skip_verify: true

service:
  pipelines:
    logs:
      receivers: [filelog]
      exporters: [logging, otlphttp]

Data Prepper Pipeline:
logs-pipeline:
  source:
    http:
      ssl: false
      authentication:
        unauthenticated:
  processor:
    - grok:
        match:
          log: [ "%{COMMONAPACHELOG}" ]
  sink:
    - opensearch:
        hosts: [ "https://opensearch:9200" ]
        insecure: true
        username: admin
        password: admin
        index: apache_logs

I've tried changing log.log to log.json but I'm still getting the error.
I'm putting everything in docker compose and use docker to run all my containers.
Can someone please give me some information and point me to the right direction? Thank you very much for the help!

@yujie-zhou ,
It sounds like you are looking for an OTel Logs ingestion pipeline. We will have that feature in Data Prepper 2.1 thanks to #1372. We are currently planning to release on Feb 7. But, feel free to try running from the latest source to see how this works out for you.

Good evening everyone!
I'm also waiting for this feature and I'm wondering when it is going to be available, I saw that the last tag on its docker hub is from 4 months ago.
Is there a new prevision on this?
Thank you so much!

Hello @milkfrog , we are planning to release 2.1 on Mar 2.


Added tox modernizer to update tox configurations -- BOM-1508

relevant JIAR issue here.

@jmbowman could you go through these changes and let me know if I'm on the right track so far?, and does Travis VM isolate these tests so the sample Tox file I added isn't available?


[Formatter] Improvements when formatting on fail clause

Description:
titile
When following are formatted, no changes are being made:

Following is the expected formatting:

Steps to reproduce:
import ballerina/io;

function foo() returns string {
    return "foo not an error";
}

function bar() returns string {
    return "bar is an error";
}

function isOK() returns boolean {
    if (1 + 1 > 0) {
        return true;
    }
    else {
        return false;
    }
}

// 133 in james's slides

function demo() returns error? {
    do {
        //check foo();
        //check bar();
        if isOK() {
            fail error("not OK");
        }
    }
    on fail var e {
        io:println(e.toString());
        return e;
    }
}

This is the expected behavior since the formatter preserves user-defined new lines while aligning them to the closest tab. The correct formatting in the above scenario is as follows.
function demo() returns error? {
    do {
        //check foo();
        //check bar();
        if isOK() {
            fail error("not OK");
        }
    } on fail var e {
        io:println(e.toString());
        return e;
    }
}

Note that the on clause is on the same line as the previous closing brace. Taking this to the next line would mean that the user has explicitly defined a new line and therefore it is being preserved as expected.


No connection to remote Jupyterhub via API token with remote file system

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I have access to a remote jupyter server where interactive sessions are created in the browser. A standard conda kernel is offered or the user can select their own kernels based on their own conda environments. Jupyter notebooks and data are on this server.
I tried to generate a token and connect with VSC code via https://remote-server.domain/user/username/?token=token_id.
I tried multiple times. Only once or twice, the remote jupyter server was recognised, but still no kernel could be selected. In the majority of tries nothing happened, not even a connection to the remote server.
Idea is to get access to the remote Jupyterhub via VSC code and be able to use all nice extensions while coding in Jupyter in VSC code.
VS Code Version
Version: 1.66.2 (Universal)
Jupyter Extension Version
v2022.3.1000901801
Jupyter logs
I don't understand this unfortunately.

Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote

After multiple tries today, I managed to connect to the remote Jupyter hub via VSC at least once. Maybe one should not touch the tokens beforehand, generate a new one and use the new one. The Jupyter hub kept crashing out of the blue, but I don't know if this is related.
My last question would be: I cannot see the notebooks on the remote Jupyter hub when connecting to the remote Jupyter hub. I can get only the remote kernel.
Is there a chance to change this, please? Or am I still missing something?
Many thanks.
I will observe how stable the connection is and if future connections will work.

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/1366


added my name

Related issue

What changes does this PR do?
It simply added my name to the repo
Screenshots (If any)
Questions

Closing due to inactivity feel free to reopen.


Portfolio: validate contact form

add lower-case email input validation

Hello @mgmediaweb can you explain, please?

Hello @mgmediaweb can you explain, please?

the email field should be of type "email" to validate a valid email in-build, also its code implemented in JS for validation is not working correctly (a form can be sent with any text in email field)

Hello @mgmediaweb can you explain, please?

the email field should be of type "email" to validate a valid email in-build, also its code implemented in JS for validation is not working correctly (a form can be sent with any text in email field)

Thanks, I got you, just forgot change the type of input to email :)


Documentation for settings.py

Would you care to document how to configure settings.py to use arangopy with django ? Also the readme asks to install arangopy instead of installing arangodjango. Was that intentional ?

Hi neel
I am happy for your interest in ArangoDjango. The readme Pip Installation seems to be wrong, thx I will update it.
Sure I can document it. I will hopefully be able to do this within this week

Hey
I am sorry to inform you that this probably won't happen in the next 2 weeks. When I started to try to create a sample project I saw that it didn't really work with a new Django version. So I started a native Django DB driver because than you get the full benefits of Django. You could either wait or use it separately to the normal DB with ArangoPy. How you could do that you can see for example here: https://github.com/saeschdivara/ArangoDjango/blob/master/djara/django/contrib/models.py This code will start the collection creation of the models which you can define with ArangoPy.  See https://github.com/saeschdivara/ArangoDjango/blob/master/djara/django/auth/models_init.py and https://github.com/saeschdivara/ArangoDjango/blob/master/djara/django/auth/models.py how this could be used.
The rest has been pretty much copy and paste of existing old Django code and replace things with my own which of course is not really maintainable :(


typo in jetson_csi_cam/README.md

Hello,
thanks for the package.
just a small typo that might lead to confusion. The second time you reference the catkin workspace you use catkin_workspace instead of catkin_ws which you have used before.

Thanks! Fixed.


Some searches do not find API results

Love this new feature!
I tried searching for some API docs and they weren't found. It looks like these API pages are in the index but the tokenizer doesn't work very well with camel case and/or text which isn't surrounded by whitespace?

Thanks for reporting!

To add to this, it seems like search results are duplicated and the first result doesn't have the proper hash anchor. For example, searching 'copy' gives you these top 2 results:

contents.copy() at https://electronjs.org/docs/api/web-contents#web-contentscopy
contents.copy() at https://electronjs.org/docs/api/web-contents#contentscopy

The second one is the correct link. The first one brings you to the top of the page.

Also, if you click on the result title the link is followed. Clicking on other parts of the search results causes the results to disappear.

We deployed new indices of search, which contains very many new data. Please @ mention me if you still see this error.


Line protocol reference contains errors and misleading explanations

Correct and clarify the items below (based on review with Roger, models/proto_validate.go, and the new Line Protocol specification paper):

new line is allowed, supports \n in field value
additional naming restrictions:

can't name a field or tag "time"
See code as reference (proto_validate.go:ValidateProtoValue())

Non-allowable characters
Reserved tag keys, "time", "field", "_measurement"
Unix timestamp
Float is NOT IEEE-754.
Length limit is larger, but 64K is still a reasonable practical limit

Default is 184320 (~2MB), but such large values are discouraged.

Quotes are just special characters. Quotes section (handling of ', ") is technically correct, but may be misleading
Backslash whitespace characters (escaping) \t, etc.
Escaping backslashes: Any sequence of backslashes, the last is interpreted as escape character. The table would look different for inside of field values versus other values.

Relevant URLs
https://docs.influxdata.com/influxdb/cloud/reference/syntax/line-protocol/
models/proto_validate.go
line-protocol-specification
rejected-points blog draft

@rogpeppe
re: https://docs.google.com/document/d/1uS_vba0K5CVFIz-nE2j9YFlhXknGzqf0b98fFBxlQRA/edit?disco=AAAAVGk9rXo
What's the difference between
\\ is replaced with \ [string field values only]

and the resulting measurement from this line protocol:
air\\\\\Sensor,sensor_id=TLM\=0201 temp=70.0,humidity=0.5,desc="\\\\==My data\==\\\"

InfluxDB result:

_measurement
_sensor_id
_field
_value

air\\\Sensor
TLM=0201
desc
\==My data\==\

@rogpeppe

What's the difference between

Nvm, I see now; it was escaped in bash.


Export to srt file

Hi, really great implementation, congratulations. The only thing I missed was saving to a format such as srt or vtt, I decided to add such a function for myself. I'm not a programmer, that's why I threw everything in as code that runs your implementation. Maybe someday someone will ask about it then you will have a link to the finished solution, or you can always add it to the README. You can close the issue right away, there is no reason for it to be open, your repository lacks a "Discussion" section. Thanks a lot, regards.
from faster_whisper import WhisperModel
import math

def convert_seconds_to_hms(seconds):
    hours, remainder = divmod(seconds, 3600)
    minutes, seconds = divmod(remainder, 60)
    milliseconds = math.floor((seconds % 1) * 1000)
    output = f"{int(hours):02}:{int(minutes):02}:{int(seconds):02},{milliseconds:03}"
    return output

model_path = "whisper-large-v2-ct2/"
# Run on GPU with FP16
model = WhisperModel(model_path, device="cuda", compute_type="float16")
# or run on GPU with INT8
# model = WhisperModel(model_size, device="cuda", compute_type="int8_float16")
# or run on CPU with INT8
#model = WhisperModel(model_size, device="cpu", compute_type="int8")
segments, info = model.transcribe("file.mp4", beam_size=5)
print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
count = 0
with open('file.srt', 'w') as f:  # Open file for writing
    for segment in segments:
        count +=1
        duration = f"{convert_seconds_to_hms(segment.start)} --> {convert_seconds_to_hms(segment.end)}\n"
        text = f"{segment.text.lstrip()}\n\n"

        f.write(f"{count}\n{duration}{text}")  # Write formatted string to the file
        print(f"{duration}{text}",end='')

Thank you, this is useful. People will be able to find this issue by searching for "srt".


[1316] Break up and parallelise build/test step

Context
https://trello.com/c/fNIyGyT5/5688-set-up-parallelisation-of-ci-tests
Changes proposed in this pull request
Took a couple of punches from the CI but have managed to get the build down to around 8-10 mins-ish (from 30ish).

Add parallel testing gem and configure the Github workflows to use it
Split out lint into its own step to also be parallelised
Add database cleaner gem to properly clean out tests (we seem to have issues with stale data not being cleared out)

Guidance to review
It has been thoroughly reviewed by the CI believe me.
Important business (does not apply)

 Set up parallelisation of CI tests

FYI this is currently hanging because of the updated test names:

It's setup as a required step in the branch protection rules:

But the Test step has a unique name based on the matrix so Rick mentioned this may need to be removed once this is ready to be merged in (or we include every matrix name in the list)

FYI this is currently hanging because of the updated test names:

It's setup as a required step in the branch protection rules:

But the Test step has a unique name based on the matrix so Rick mentioned this may need to be removed once this is ready to be merged in (or we include every matrix name in the list)

https://docs.github.com/en/actions/using-jobs/using-jobs-in-a-workflow#defining-prerequisite-jobs
Will something like this work?
jobs:
  lint:
  test:
  must_pass
    needs: [lint, test]

FYI this is currently hanging because of the updated test names:

It's setup as a required step in the branch protection rules:

But the Test step has a unique name based on the matrix so Rick mentioned this may need to be removed once this is ready to be merged in (or we include every matrix name in the list)

https://docs.github.com/en/actions/using-jobs/using-jobs-in-a-workflow#defining-prerequisite-jobs
Will something like this work?
jobs:
  lint:
  test:
  must_pass
    needs: [lint, test]

No I don't think that's relevant because see my comment about the test name changes.


[fix][admin] Keep new inputSpecs when updating sink configs

Keep new inputSpecs when updating sink configs - run tests in local fork

upstream PR is merged


when pasting a larger text block into an outline I can not add new lines inside the block

I can place the cursor inside the block but on [Return] the cursor jumps to the bottom and creates a new Topic level.

This is a standard outline behavior. If you want to insert a new line, use option-return when you are in a Topic. The same goes for Tab. Use option-tab to insert a tab when you are in a Topic.


Autorest Regen Preview to 3.0.0-alpha.20230329.1

Triggered from https://github.com/Azure/autorest.csharp/pull/3237

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.Chaos


Close #72, tell filer to call the court

Closes #72. Does this language work?

Got a verbal approval.


Add support for Kibana 4.x; break backward compatibility

Install and configure Kibana 4.x from the Elastic APT repositories.
Depends on:

https://github.com/azavea/ansible-logstash/pull/2
https://github.com/azavea/ansible-elasticsearch/pull/7

Testing
$ cd examples
$ vagrant up
$ open http://localhost:5601/

You may also need to do something to generate syslog log entries. Running vagrant provision again is an easy way of doing that.

:+1:

:+1:

:+1:

:+1:

:+1:


adding S3 "Delete Multiple Objects" REST API implementation

implementation of http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html
used in http://www.jongla.com/

thank you

Sorry, merged this too soon. Multiple issues:

This doesn't pass dialyzer - make check-eunit and make sure there isn't a new warning from s3
Why does Compose_xml need to be a fun? It is only used in one place. Please either just implement inline or as a private function.
erlcloud_aws:sign_v4 is called, but result is not used
please remove io:format call

Thanks.

Hi Ransom,
Please see review my new pull request where all your comments are fixed (https://github.com/gleber/erlcloud/pull/149)
Regards,
Igor

On 23 Feb 2015, at 22:01, Ransom Richardson<EMAIL_ADDRESS>wrote:
Sorry, merged this too soon. Multiple issues:

This doesn't pass dialyzer - make check-eunit and make sure there isn't a new warning from s3
Why does Compose_xml need to be a fun? It is only used in one place. Please either just implement inline or as a private function.
erlcloud_aws:sign_v4 is called, but result is not used
please remove io:format call

Thanks.
—
Reply to this email directly or view it on GitHub https://github.com/gleber/erlcloud/pull/146#issuecomment-75619884.


Questions about the tutorial

I tried below tutorial.
https://docs.microsoft.com/en-us/azure/app-service/tutorial-custom-container?pivots=container-linux#code-try-16
when I tried working sample on locally, I encountered below error when executed command "docker run -it -p 8000:8000 appsvc-tutorial-custom-image"

However, tutorial is working without this command "python manage.py migrate".
I think that we don't need executing this command for this tutorial, so this execution not in the tutorial steps, right?
I understand "python manage.py migrate" is for preparing database tables for app.
If application use a database and need to execute the command, Should we define the execution of the command in the docker file?

bump


Improve problem build failure association

Context
Follow-up pull request addressing the post-merge review items on https://github.com/gradle/gradle/pull/31374.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger) (Check)

Build Scan

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have passed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle merge


Fix: remove generated files

Two fixes.

The embedded typescript in index.html transpiles the TypeScipt source in ts/ files to the folder js.  There is no need to keep the generated JavaScript sources around.
Well the JavaScript files only get generated if lite-server or live-server is launched in appendixb/.

A couple of dependencies in chapter2/auction/package.json.

Thank you!

You're most welcome.


SARIF: Add support for sarif output

Adds the ability to output and save to a SARIF format file.
Requires: https://github.com/aquasecurity/trivy/pull/571 to be merged.
Signed-off-by: Simarpreet Singh<EMAIL_ADDRESS>

Just made a tweak to the documentation to add the template mode instead of the new SARIF mode. As it's possible to what we need to with just simple docker options as suggested by @knqyf263  here https://github.com/aquasecurity/trivy/pull/571#issuecomment-664156441
Less code == Less problems


Identify the database to use in this app - MongoDB or anyother DB

Sir, today I read about rdbms in rdbms - I have read Key Components: Tables, Rows, Columns, Keys.
in it I read types of rdbms - 1) MySQL ,2) Oracle Database, 3) Microsoft SQL Server, 4) PostgreSQL, 5) SQLite.
How rdbms work - Data Modeling, Data Entry, Data Retrieval, Data Maintenance, Integrity and Security,
Explanation:-
An RDBMS is like a digital filing cabinet where information is organized into tables. Each table contains rows (like individual files) and columns (like different types of information in each file). Keys are used to connect these tables, ensuring data is linked accurately. It allows you to efficiently store, retrieve, and manage data in a structured manner. Popular examples include MySQL, Oracle, and SQL Server.

Understanding MySQL:
MySQL, a powerful relational database management system, stands out for its efficiency and versatility in handling data. Its robust architecture and seamless integration make it a preferred choice for various applications.
Why MySQL is a Preferred Choice:
MySQL is widely embraced for several compelling reasons:

Performance:

MySQL excels in delivering high performance, ensuring swift data retrieval and processing.

Scalability:

The scalability of MySQL allows it to grow seamlessly with the expanding needs of your data-driven applications.

Open Source:

As an open-source database, MySQL offers the advantage of accessibility, allowing users to modify and customize according to their requirements.

Community Support:

The MySQL community is vibrant and active, providing a valuable resource for assistance, troubleshooting, and continuous improvement.

MySQL vs. Other Databases:
Let's compare MySQL with other databases to better understand its unique attributes:

Reliability:

MySQL is renowned for its reliability, ensuring data integrity and consistent performance

Ease of Use:

The user-friendly interface of MySQL simplifies database management, making it accessible to both novices and experienced users.

Cost-Effective:

MySQL's open-source nature makes it a cost-effective solution, eliminating the need for hefty licensing fees.

Advantages and Disadvantages:
Advantages:
-Scalability: MySQL grows seamlessly with your data requirements.
-Performance: Ensures swift data retrieval and processing.
-Community Support: Active community for assistance and improvement.
Disadvantages:

Complexity:Handling large datasets might pose challenges for inexperienced users.
Limited Advanced Features: Some advanced features present in other databases may be limited in MySQL.

In conclusion, MySQL stands as a reliable, scalable, and cost-effective database solution, catering to a wide range of applications. While it has its advantages, understanding its limitations is crucial for making informed decisions in database management.

PostgreSQL: Overview
PostgreSQL is an open-source relational database management system (RDBMS) known for its advanced features, extensibility, and standards compliance. Here are some key points about PostgreSQL:
Advantages:

Advanced Features: PostgreSQL supports advanced data types, indexing methods, and features such as full-text search, GIS, and JSONB (binary JSON).

Extensibility: It allows users to define their own data types, operators, and functions, making it highly extensible for specific application needs.

Standards Compliance: PostgreSQL adheres to SQL standards and supports ACID (Atomicity, Consistency, Isolation, Durability) properties, ensuring data integrity and reliability.

Scalability: It is designed to handle large amounts of data and concurrent transactions, making it suitable for both small and large-scale applications.

Concurrency Control: PostgreSQL employs Multi-Version Concurrency Control (MVCC), allowing multiple transactions to occur concurrently without interfering with each other.

Community and Support: PostgreSQL has a strong and active open-source community, providing support, documentation, and a wide range of extensions.

Disadvantages:

Learning Curve: Compared to some NoSQL databases, PostgreSQL may have a steeper learning curve, especially for those new to relational databases.

Performance: While PostgreSQL performs well in many scenarios, the optimal choice depends on your specific use case. Some NoSQL databases might outperform PostgreSQL in certain read or write-heavy scenarios.

Resource Consumption: In some cases, PostgreSQL may consume more system resources compared to lighter-weight databases. Proper tuning is essential for optimal performance.

How PostgreSQL Works:

Architecture: PostgreSQL follows a client-server architecture. Multiple clients can connect to a PostgreSQL server concurrently. The server processes queries and manages the data.

Data Storage: PostgreSQL stores data in tables, and each table can have relationships with other tables. It supports complex data types, indexing, and advanced querying.

Concurrency Control: MVCC allows multiple transactions to occur simultaneously without conflicting with each other. Each transaction sees a snapshot of the data at the start of the transaction.

Indexes: PostgreSQL supports various index types, including B-tree, Hash, and GiST (Generalized Search Tree), which enhances query performance.

Use in Expensify App:
PostgreSQL is a solid choice for applications like Expensify, where you have structured data and transactions that require ACID compliance. Here are considerations:

If our app requires complex queries, transactions, and a relational data model, PostgreSQL is a strong candidate.

If you need support for advanced data types (such as JSONB for storing JSON documents), full-text search, or GIS features, PostgreSQL's extensibility can be beneficial.

The choice also depends on your team's familiarity with PostgreSQL and the specific requirements of your Expensify app.

In conclusion, PostgreSQL is a robust and feature-rich RDBMS that can be a suitable choice for many applications, including those dealing with financial data like an expense management app.

PostgreSQL: Overview
SQLite is a self-contained, serverless, and zero-configuration relational database engine. Here are some key characteristics, advantages, and disadvantages of SQLite, and considerations for using it in your Expensify app:
Characteristics of SQLite:

Serverless:

SQLite is serverless, meaning it doesn't require a separate server process to operate. The entire database is a single ordinary file on disk.

Self-contained:

The SQLite library is self-contained and doesn't have external dependencies, making it easy to deploy and manage.

Zero-Configuration:

There is minimal setup required. You don't need to configure a separate server or manage user accounts and permissions.

Single User Access:

SQLite is suitable for applications with relatively low concurrency or single-user access scenarios.

Advantages of SQLite:

Portability:

The database is a single file, making it highly portable. You can easily transfer the entire database by copying the file.

Ease of Use:

SQLite is easy to set up and use, especially for smaller projects or applications where simplicity is a priority.

Low Resource Usage:

It has a small memory footprint, making it suitable for embedded systems and mobile devices with limited resources.

Transactional Support:

SQLite supports ACID properties (Atomicity, Consistency, Isolation, Durability) and transactions, ensuring data integrity.

Embeddable:

As it's a self-contained library, you can embed SQLite directly into your application without the need for a separate database server.

Disadvantages of SQLite:

Concurrency Limitations:

SQLite might not be the best choice for high-concurrency scenarios or applications with many write operations simultaneously.

Scaling Challenges:

While SQLite is suitable for small to medium-sized applications, it may face scaling challenges in larger applications or systems with high traffic.

Limited Server-Side Functionality:

As it's serverless, SQLite lacks some features commonly found in client-server relational database management systems.

Use Cases for SQLite in Expensify App:

Mobile Apps:

SQLite is commonly used in mobile app development, especially for Android and iOS applications, due to its lightweight nature.

Prototyping and Small Projects:

It's well-suited for prototyping or small projects where simplicity and ease of use are essential.

Single-User Applications:

If your Expensify app is primarily used by individual users or small teams, and you don't anticipate heavy concurrent access, SQLite could be a suitable choice.

Situations Requiring Portability:

If you need a portable solution that can be easily transferred or shared, SQLite's single-file approach is advantageous.

Offline Data Storage:

SQLite is useful for applications that need to store data locally and support offline functionality.

In summary, SQLite is a good choice for scenarios where simplicity, portability, and ease of use are critical. If our Expensify app is relatively small, doesn't require high concurrency, and you value the benefits of a serverless, embedded database, SQLite could be a suitable option. However, if you anticipate significant scalability needs or concurrent access, you may want to consider other databases with client-server architecture.

MongoDB is a popular, open-source NoSQL database that is designed to handle large amounts of data and provide high performance and scalability. Here's an overview of how MongoDB works and its advantages and disadvantages:
How MongoDB Works:
1.Document-Oriented: MongoDB stores data in a flexible, JSON-like format called BSON (Binary JSON). BSON documents can contain nested arrays and subdocuments, making it easy to represent complex data structures.

Collections and Documents: Data is organized into collections, which are analogous to tables in relational databases. Each collection contains documents, which are individual records.

Schema-less: MongoDB is schema-less, meaning that documents in a collection can have different fields and data types. This flexibility is useful for handling evolving data structures.

Indexes: MongoDB supports indexing, which can improve the performance of queries by allowing the database to quickly locate and retrieve specific documents.

Query Language:MongoDB uses a rich query language that supports a wide range of queries, including geospatial queries.

Advantages of MongoDB:

Schema Flexibility: As mentioned, MongoDB's flexible schema allows you to easily evolve your data model as your application requirements change.

Scalability: MongoDB is designed to scale horizontally, meaning you can add more servers to distribute the load and handle increasing amounts of data.

Performance: MongoDB can handle large amounts of data and provide fast read and write operations.

JSON-Like Documents: The use of BSON documents makes it easy to work with data in a format similar to JSON, which is widely used in web development.

Rich Query Language: MongoDB supports a powerful and expressive query language, making it easy to retrieve and manipulate data.

Disadvantages of MongoDB:

No ACID Transactions Across Documents: MongoDB supports ACID transactions within a single document, but transactions that involve multiple documents are not fully ACID-compliant.

Memory Usage: MongoDB may use more memory compared to some other databases.

Learning Curve: For those accustomed to relational databases, the transition to MongoDB's document-oriented model may have a learning curve.

Not a One-Size-Fits-All Solution: While MongoDB is suitable for many use cases, it may not be the best choice for every application. Consider your specific requirements before choosing a database.

Using MongoDB for Expensify App:
Yes, you can use MongoDB for your Expensify app. MongoDB's flexibility and scalability make it well-suited for applications with varying data structures and growing datasets. Here are some benefits for your Expensify app:

Flexible Data Model: Expenses may have different attributes, and MongoDB's schema flexibility allows you to adapt to changes in your expense data structure over time.

Scalability: As your user base and the volume of expense data grow, MongoDB's horizontal scaling capabilities can help ensure that your app maintains performance.

Rich Query Support: MongoDB's query language enables you to efficiently retrieve and analyze expense data based on various criteria.

JSON-Like Documents: Storing expenses as BSON documents allows you to work with data in a format that aligns well with the JSON data often used in web development.

So I feel that Mongo will remain dominant compared to others and we should use mongo db in our project.


enable rsync and git use shallow copy

Fantastic! Really appreciate the multiple improvements here.  Auto-plot is a great idea and auto-import of SSH key with rsync will be a great transfer option.  Also, thanks for the Github best practices, as I'm only recently back to Github for dev.   All future contributions are welcomed!


Compilation error when setting up Unity project

Overview
I'm trying to install the MR Toolkit on a new Unity project, with no success so far.
Expected behavior
An empty Unity project with the MR Toolkit properly installed. I would like to try an example scene.
Actual behavior
Compilation errors:
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@02ad4b906f00-1619991284858\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(472,13): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@02ad4b906f00-1619991284858\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(475,36): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@02ad4b906f00-1619991284858\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(478,35): error CS7069: Reference to type 'Matrix4x4' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@02ad4b906f00-1619991284858\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(863,57): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@02ad4b906f00-1619991284858\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(863,57): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found

And several other similar errors.
I tried adding "using System.Numerics" on that script, but I get an other error about an unimplemented interface member:
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@02ad4b906f00-1619991284858\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(48,9): error CS0535: 'WindowsSceneUnderstandingObserver' does not implement interface member 'IMixedRealitySceneUnderstandingObserver.TryFindCentermostPlacement(int, Vector2, out Vector3)'
Steps to reproduce
Follow the getting started tutorial on an empty Unity 2020.3 LTS project: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/welcome-to-mr-feature-tool#system-requirements
Features I selected (with the default versions): all of Mixed Reality Toolkit, Mixed Reality Scene Understanding (in Platform Support), all of Other Features.
Then try to load the Unity project (in my case I'm invited to enter safe mode to check compilation errors).
Unity editor version
2020.3.6f1
Mixed Reality Toolkit release version
1.0.2104.0-Beta
Thanks for your help! Let me know if you need more information.

Hi @MaxWang-MS , I am still getting these compilation errors when trying to import the Scene Understanding package into my existing project. In the Samples project importing it goes smoothly though.
Unity version: 2020.3.24
MRTK versions: 2.7.3
Scene Understanding version: 0.6.0
I tried switching to .Net 4.x, but this made no difference. There is probably a reason why it doesn't work with my project, but I don't know where to look. Any suggestions?

Hi @RobinopdeBeek, could you please post the exact error messages you receive after the import? Also are you using any DLLs in your project? It may be helpful if you compare the player settings between the sample project and your existing project to see if there is any difference.

Thanks for responding @MaxWang-MS, below are the exact error messages:
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(496,13): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(499,36): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(502,35): error CS7069: Reference to type 'Matrix4x4' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(924,57): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(924,78): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(960,62): error CS7069: Reference to type 'Matrix4x4' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(1495,51): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(1495,72): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(1510,51): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(1511,52): error CS7069: Reference to type 'Vector2' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(1517,65): error CS7069: Reference to type 'Matrix4x4' claims it is defined in 'System.Numerics', but it could not be found
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@14981ccb13a7-1640190649996\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(1559,13): error CS7069: Reference to type 'Vector3' claims it is defined in 'System.Numerics', but it could not be found

It's a company project that has accumulated lots of DLLs over the years. Do you need a list of all of them? Here are some that might provide some insight:

pdfrenderer.dll
avatar_sdk_core.dll
TriLibCore.dll
glTFLoader2.dll
Newtonsoft.Json.dll
opus.dll
Photon3unity3D.dll
DOTween.dll
RainbowFolders.dll
OVRPlugin.dll
AudioPluginOculusSpatializer.dll
NugetForunity.dll
DotNetZip.dll

I have looked at the Project Settings and the most notable differences are:

Existing project uses Windows Mixed Reality i.o. OpenXR.
Existing Project has a bunch of Scripting Define Symbols.
Existing Project has 'Use incremental GC' turned off.
Existing Project has 'Allow unsafe code' turned on.

Hi @RobinopdeBeek, given the issue you are facing only repros in your company's project, I am afraid that I am limited in the ways I could help. But I do want to share my understanding of "type not found in System.Numerics" issues generally: there are different flavors of .NET and some flavors only implement a subset of features (e.g. System.Numeric.Vectors is not part of .NET Standard). So to resolve the issue you need to make sure the right flavor of .NET is used in your project. Also please ensure that there has been no changes made to the Unity installation folder by hand, as there are such changes may cause the issue you are experiencing. I would also consider asking the question on Unity's forum.

Thanks @MaxWang-MS for the explanation. I was already afraid it would be something project specific that you couldn't help with. For now I will just work around it, untill I have time to investigate further. If I find a solution I will let you know :)

I am having this issues with a completely clean install of Unity 2020.3.39f1 LTS and a completely clean install of MRTK 2.8.2 using the Mixed Reality Feature Tool v1.0.2209.0 Preview. In projects with .NET 2.0 Standard I often include System.Numerics.Vectors (4.5.0) when working with 3D applications. That is likely the problem here. I don't know how to add a missing .NET dll dependency.

Hi @laultman, have you tried the following?

Hi @belugum, the reason you are seeing this is probably the new Unity project is targeting standalone build target and the Api compatibility level is set to .NET Standard 2.0. To solve this issue in Unity (no matter safe mode or not) go to Edit -> Project Settings -> Player -> Other Settings -> Api compatibility level and change it to .NET 4.x. Also after successfully importing everything remember to switch the build target to UWP as Scene Understanding only works for HoloLens 2.

We are a small company doing government contracting. We have tried multiple times over the past 3 years to use Unity and MRTK in projects. Again, the time-effort-cost is forcing us to abandon our Unity/MRTK effort. Unity, is too unpredictable to be used in a government setting except as a stand-alone solution delivery. MRTK's documentation apparently can't keep up with the pace of Unity change nor can MRTK be counted on to work regardless of the documentation suggestions. MRTK does not keep pace with .NET and the breaking changes in .NET ensuring that MRTK will surely have issues. The only reason we resorted to Unity now were two, one we hoped that MRTK had matured and become more stable, and two we needed very specific functionallity to test. After wasting multiple days we still cannot test the functionality because we can't get a running Unity/MRTK project to successfully load and run.
We are using Unity 2020.3.39f1 as directed in the documentation and using the current download of Mixed Reality Feature Tools. We have cleared all cache of prior versions, uninstalled Unity and removed all references to it from the test computer. Installed the current version of Unity Hub and installed the 2020.3.39f1 version editor. Visual Studio is 2020 17.3.4 fully patched on a Windows 11 Enterprise version fully patched.
My expectation is that systems should work on currently supported platforms. That is not too much to ask I would think. I do not have the time to troubleshoot your products.

@MaxWang-MS, No you are wrong, I followed the setup instructions specifically and know very well that HoloLens 2 requires UWP. I create a new project and the first thing I do is to switch to UWP before anything else. I did not switch to .NET 4.x because the instructions state in the Microsoft WLT that .NET 2.0 Standard is required. This bears out my point, MRTK is not stable or maybe at least it is trying to support too much of Unity's quirks. Either your instruction are wrong or the code does not work - either way I have no project.

I restored an older version of a working project and it at least builds and runs although it is now "head-locked" in HoloLens 2. This app was deployed about a year ago and works fine on another HL2 device.

The head lock is interesting. My best guess is that WLT may have switched you over to an XR SDK plugin and your local MRTK is only configured for legacy XR, but you'd know your local project best as far as how you configured it.
There is info at https://learn.microsoft.com/windows/mixed-reality/mrtk-unity/mrtk2/configuration/getting-started-with-mrtk-and-xrsdk?view=mrtkunity-2022-05#configuring-mrtk-for-the-xr-sdk-pipeline around making sure your profiles are properly configured. The camera profile would be most important for potentially fixing head lock.

@keveleigh I admit that frustration causes a little acid to creep out occasionally, In the vein of helping, documentation should not make assumptions. If assumptions are made, then those should be clearly stated with linkage to the novice playground, like the Tutorial. Also there is so much documentation (page count) that a person attempting to solve a problem simply does not have the time to read every page and likely the capacity to mentally retain its content.
That said, and in defense of myself and any others who must use a tool, it is very costly in time and effort to use a company's product that is less than adequately documented. I have the same issue in my own company - write code or write docs. My solution is, put money in the project to hire documentation people. Customers want the software to work and they want to get their money's worth. The latter comes from being able to read, watch video, look at diagrams, or pictures to get value from the software.
If the goal is commercial (making money) then documentation is essential or people will simply discard the product. If the goal is personal enjoyment, then frustrations due to documentation eliminates that immediately.
About the head-locking, I never was able to figure out the actual problem, but got it to work. Instead I tossed 3 days of effort, deleted all the projects and Unity from my computer and started again from scratch. Those 3 days were on my clock not my company time. several days of getting up at 4am and an entire weekend. It was not for enjoyment I can assure you.
I am taking the time here to relay my sense of frustrations about software. This is not new to Microsoft or many other companies including mine. Documentation is a source of real issues for real people. My only reason for responding is to raise the issue of the necessity to document and to link. Want to make things better? Then spend some time getting AI to document, if it is too much trouble for people.
Kind regards

Weird the changing to .NET 4.x fix worked for me!