Seems like amazon turned off something !

i can't discover new lights anymore. i had 21...and had to redo my setup. Tried repairing but no luck.
the situation seems to be the same on ha-bridge

Have you tried to remove Echo from Alexa account, reset Echo with buttons, import it again in Alexa account and discover again devices?

Hi and thanks for your effort.
I have the same problem.
Tested iobroker after clean new install on Windows and Ubuntu 19.10 and 18.04 installations.
Reset of Dot v2 brought no solution.
http://localhost/api/description.xml is showing all infos.
Have set DEBUG="node-ssdp:*" as global env at startup. Still no message on Journalctl.
Is it still working? What am i doing wrong?
No new registration possible.
Already registered devices worked fine befor the reset.
Thanks, Jebril.

Use wireshark to sniff the traffic, filter by up address of Echo, try to understand the handshaking between node and echo

This is quite strange. I'm still able to discover and use newly added devices on my Dot v2 and v3.

Same thing here... no device discovery here. My raspi listens to port 80 (forwarding via iptables). I can connect to it successfully via telnet... But my dot v3 does not find anything.

I was able to find my device again. Don’t know what happened..
I changed my alexa account from canada to usa . Maybe that did help?

I changed my alexa account from canada to usa . Maybe that did help?

Where did you do that? In the alexa app?

No , in amazon site itself. Changed my adress to a us one, and switched my devices  to us. There are surely some tutorial about this on the web

Good to hear that it's working for Matt again. So it's working in general and I must be doing something wrong.
Here is what I did:

I did a fresh install using Ubuntu 18.04.04 LTS doing a minimal netinstall including Openssh.
I installed Iobroker according to the manual on Iobroker.net using node 10.x and user root.
I installed the Alexa2 and Node-red adapters, as well as the Node-red-contrib-amazon-echo palette 0.1.10 and connected the Alexa2 adapter to a new Amazon account in the US.
I reset the Dot v2 and connected it to the new account.
I setup a minimal test flow. The flow connects the Echo hub on port 80 to an Echo device called "bob" which is connected to a debug node. /api/description.xml is working.
No devices found.
I installed tshark to sniff the traffic.
As long as the Node-Red adapter in Iobroker is running i can see it advertise:
<IP_of_iobroker> --> <IP_ADDRESS> SSDP 326 NOTIFY * HTTP/1.1
<IP_of_iobroker> --> <IP_ADDRESS> SSDP 336 NOTIFY * HTTP/1.1
<IP_of_iobroker> --> <IP_ADDRESS> SSDP 366 NOTIFY * HTTP/1.1
every 10 seconds.
Still, whatever I do, there is no sign of my Echo's Ip on the sniffed traffic.
All that I can find, are some packets that are exchanged with an Amazon Server.
I swapped out my network hardware to make sure there are no filters.
Still no luck and out of ideas what to do next.

Great post, I hope it helps author to find the issue

Yes great post ! Thanks

Thanks @jebril76
Can you try the following - https://github.com/datech/node-red-contrib-amazon-echo/issues/66#issuecomment-538324296

@datech Thanks for your effort.
I already tried that. See above.
I had my problems starting node from the shell. Thats why i set the debug mode in global env and checked Journalctl, Syslog as well as the Iobroker logs.
If it's helpful i can recreate and post logfiles.
Please let me know if you got any other idea/advice.
Thanks!

It has to work with WiFi and LAN if the SSDP traffic is allowed.
Where did you sniff for the SSDP traffic? On which device? Can you try to sniff on a device which is different from the single-board PC, but still on the same broadcast domain?
So, the node-red-contrib-amazon-echo was working and just stopped to response or what was the event which caused this situation?

@datech
I managed to reinstall node-red to run it localy from this manual: https://nodered.org/docs/getting-started/local
The logs i still can't find my echos ip.
The only thing that looks similar is this:
node-ssdp:server Setting LOCATION header "<iobroker_ip>:80/description.xml" on message ID b54279203766079e +1ms
node-ssdp:server Sending a message to <IP_ADDRESS>:1900 +0ms
If needed i can post the full log.
Thanks for your help.

Lot of fun there : https://github.com/bwssytems/ha-bridge/issues/1192

@jebril76 , @MattL0 can you try the following https://github.com/datech/node-red-contrib-amazon-echo/issues/104#issuecomment-608079850

Thanks for your help.
I have installed sniffer on a other device. -> Same results.
Reinstalled a raspberry with a ready made image from https://www.iobroker.net/#de/download (Version from 19-11-27)
Installed Alexa2.0, node-red and<EMAIL_ADDRESS>After all this last thing to try befor giving up is.
Test the whole setup at a friends home.
Thanks a lot for your effort.

Ok, finally a partial success!
Got it working the raspberry installation described in my last post.
But only when using WLAN.
Working state: Lan-Cable not connected ifconfig wlan0 up
Not working state: Lan-Cable connected ifconfig wlan0 down
In not working state i still see /apt/description.xml and /description.xml
Hope that helps to find the issue.

@jebril76 Can you also confirm that multicast and UDP traffic on port 1900 are not blocked/filtered by any firewall on non-working interfaces?
It is ok to access /description.xml, which means that the HTTP API is ok. It looks like the issue is only related to the device discovery and SSDP.

@datech I'm not quiet sure on how to do that.
ifconfig states <up, Broadcast, Running, Multicast> for eth0 and wlan0
iptables -L --> all 3 chains are empty
nmap -sU -p1900 localhost --> 1900/udp open|filtered upnp
nmap -sS -p1900 localhost --> 1900/tcp closed upnp
Anything else i can test for you?

@jebril76
Alexa might not work if you have multiple interfaces assigned to your Pi. It is because by default SSDP and HTTP API are running on <IP_ADDRESS>, which is all available interfaces, and it might confuse Alexa, which is the correct IP.
It looks like an issue on your network setup rather than in the module functionality. So, I believe you have to try to find what is the difference in the configuration of WiFi and Lan interfaces.

Also I?m not suggesting to use WiFi on Raspberry cause it logs all the available networks constantly, means usage of your SD card and shorter life. I've disabled it at all, I don't see any reason if I connect it with cable.
For more infos about how to minimize to zero the writes in SD ask

@datech I think you're right. I run IoBroker on an Udoo x86 II. That device used to run without any problems and it has no wifi onboard, so it's not an ip-conflict. I only installed it on a Raspberry to check, if i get the same results as on the Udoo. That was the case, until i configured and enabled Wifi on the raspberry. So i guess it must be some limitation with my network.
What confuses me is, every package that is transmitted into my wlan has to be delivered to my accesspoint via lan. So what ever limitation/filter there is on my lan, it should also apply to the packets delivered via Wifi.
@Barabba11 Thanks for your advice. I just set the raspberry up for testing (using a SSD).
Thanks a lot for your help.

@datech, @Barabba11: My problem was indeed within my lan-network. There was a Teg1008 8-Port Switch plugged between my WLan-Accesspoint and the device running Node-Red. This device wasn't able to handle multicasts. So the multicast pakages from the Alexadevices never reached the SmartHome-Device. Mayby this can help others. Thanks again!


undefined reference to `__device_dts_ord_20' When building with board hifive_unmatched on flash_shell samples

Describe the bug
I was trying to build the flash_shell samples using the board hifive_unmatched and the compilation failed with
/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/drivers/flash/spi_nor.c:1230:
undefined reference to `__device_dts_ord_20'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Board
hifive_unmatched
What have you tried to diagnose or workaround this issue?

I verified the DT_DRV_COMPAT has named correctly
I verified that the dt/bindings is in placed

To Reproduce
Steps to reproduce the behavior:

west init zephyrproject
cd zephyrproject
west update
cd zephyr
west build -b hifive_unmatched samples/drivers/flash_shell --pristine
see error

Expected behavior
Build success without error
Impact
(Showstoppers) This is blocking the PR https://github.com/zephyrproject-rtos/zephyr/pull/46443
Logs and console output
[09/07/2022 - 07:19.01] [boonkhai.boonkhai-container-55d96b56d8-fgzrj]
/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr
$ west build -b hifive_unmatched samples/drivers/flash_shell --pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr repository).
-- Application: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/samples/drivers/flash_shell
-- Found Python3: /build/zephyrproject/.venv/bin/python3.6 (found suitable exact version "3.6.15") found components: Interpreter
-- Cache files will be written to: /nfs/site/home/boonkhai/.cache/zephyr
-- Zephyr version: 3.1.99 (/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr)
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: hifive_unmatched
-- Found host-tools: zephyr 0.13.2 (/build/zephyr-sdk-0.13.2)
-- Found dtc: /build/zephyr-sdk-0.13.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.13.2 (/build/zephyr-sdk-0.13.2)
-- Found BOARD.dts: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/boards/riscv/hifive_unmatched/hifive_unmatched.dts
-- Generated zephyr.dts: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/dts.cmake
Parsing /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/samples/drivers/flash_shell/Kconfig
Loaded configuration '/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/boards/riscv/hifive_unmatched/hifive_unmatched_defconfig'
Merged configuration '/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/samples/drivers/flash_shell/prj.conf'
Configuration saved to '/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to '/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /build/zephyr-sdk-0.13.2/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build
-- west build: building application
[1/163] Preparing syscall dependency handling

[3/163] Generating include/generated/version.h
-- Zephyr version: 3.1.99 (/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr), build: zephyr-v3.1.0-1882-gb161554ee862
[49/163] Building C object CMakeFiles/app.dir/src/main.c.obj
/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/samples/drivers/flash_shell/src/main.c: In function 'do_write_unaligned':
/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/samples/drivers/flash_shell/src/main.c:304:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  304 |   off_t data_offset = (off_t)buf;
      |                       ^
/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/samples/drivers/flash_shell/src/main.c:317:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  317 |       (const void *)data_offset,
      |       ^
[153/163] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map
: && ccache /build/zephyr-sdk-0.13.2/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc   zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  -fuse-ld=bfd  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/riscv/core/libarch__riscv__core.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/spi/libdrivers__spi.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  zephyr/CMakeFiles/offsets.dir/./arch/riscv/core/offsets/offsets.c.obj  -L"/build/zephyr-sdk-0.13.2/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/10.3.0/rv64imac/lp64/medany"  -L/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -no-pie  -mcmodel=medany  -mabi=lp64  -march=rv64imac  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn && cd /p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build/zephyr && /usr/local/bin/cmake -E echo
/build/zephyr-sdk-0.13.2/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/10.3.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: zephyr/drivers/flash/libdrivers__flash.a(spi_nor.c.obj):/p/psg/swip/w/boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/drivers/flash/spi_nor.c:1230: undefined reference to `__device_dts_ord_20'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /nfs/png/disks/swuser_work_boonkhai/git/boonkhai_github/zephyr-from-mainline/zephyrproject/zephyr/build

Environment (please complete the following information):

Linux
Zephyr SDK
zephyr-sdk-0.13.2

@katsuster @cfriedt Please take a look at this

@galak
92ad49e17384cee75f73646800470a4d4bee92e7 is the first bad commit
commit 92ad49e17384cee75f73646800470a4d4bee92e7
Author: Kumar Gala<EMAIL_ADDRESS>Date:   Tue Jul 5 22:20:10 2022 -0500

    drivers: flash: spi-nor: Set driver Kconfig default based on dts

    Change Kconfig default to be based on if the devicetree has the
    jedec,spi-nor driver enabled.

    Signed-off-by: Kumar Gala<EMAIL_ADDRESS>
 drivers/flash/Kconfig.nor | 3 +++
 1 file changed, 3 insertions(+)

FYI https://github.com/zephyrproject-rtos/zephyr/pull/47602

I ran into this bug recently, and as the error messages are very opaque and it took a while to track down I figured I'd post the root cause here.
The trigger seems to be having multiple SPI Flash devices active (possibly related to bug #32100)  The patches referenced above effectively disable all but one SPI Flash device, which is far from ideal but as there seems to be no desire to implement multi-device SPI Flash support this seems to be the best that Zephyr can do right now.


Electricity demand and supply do not match

Observed in this scenario

is related to #2314

Closing because duplicate


Added kCTFChallenge for APACHE LATEST

Apache latest working, added gcp secret.

Updated apache latest- gcp loggining and flags are working.


Allow some short flag names.

Some of the flags should get the option to use short names. The two I use most often that could benefit from this are --output-directory getting -o, and --user-paths getting -u.

I expect most of the work to happen in the gather_args method.
https://github.com/sscpac/statick/blob/main/statick_tool/statick.py#L146

After this issue is resolved with a PR we will need to make a new release so that the flags are available to users who get Statick from pip install statick.

Work done in #499.


Casting Fix: Removes simple types check when casting

This specific issue has been a big problem for us when attempting to use this package with PHP 8.1 enums. Essentially the current check for simple types avoids taking an enum value (e.g., "foo") and casting it into an enum instance because the enum value is a string and returning true on isSimpleType().
I believe the best approach to fixing this is removing the check for a simple type entirely. I imagine people may run into further issues with that down the road when writing custom casters.
See also: #68.

You bet!


dear author, data preprocessing, thanks

I wanna to know that the images are from  "Nuscenes" or "NuImage"
What's more, How to generate the labels? Could I get an script?
Thanks!

Hi!
Since this part of the guideline focus only on applying our model to your own images, you should first collect the images yourself. Your labels should include the paths of your images, the coordinates of the objects and also their motion status (as listed in demo_label.csv). We obtained these information directly from the nuScenes dataset. Yet you have to generate the labels manually if you use your own data.
Instead, if you are interested in constructing the dataset based on the nuScenes dataset, the "Implement the complete pipeline" part in the guideline would help you go through the whole process and all the codes necessary are provided in this repository.


Store list does not show up

Hi,
I followed the codelab https://codelabs.developers.google.com/codelabs/google-maps-simple-store-locator
In step 7, the store list does not show up, even if I just copy the code directly from the git repo and only change the "YOUR_API_KEY "
Thanks

Thanks for doing the codelab, @youdar.
Would you take a look at your JavaScript console and share any error messages you see?

Is this what you mean?
[image: Annotation 2019-12-08 215154.jpg]
On Thu, Dec 5, 2019 at 4:55 PM Angela Yu<EMAIL_ADDRESS>wrote:

Thanks for doing the codelab, @youdar https://github.com/youdar.
Would you take a look at your JavaScript console and share any error
messages you see?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlecodelabs/google-maps-simple-store-locator/issues/9?email_source=notifications&email_token=ABAWQPK4LA3IAYSDM4YXF23QXGPJRA5CNFSM4JTPBEYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCVB5A#issuecomment-562385140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAWQPJ7IKQ3U76XCXSAZJ3QXGPJRANCNFSM4JTPBEYA
.

This is the Error:
content.min.js:2 [Deprecation] Element.createShadowRoot is deprecated and will be removed in M80, around February 2020. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.

Content.min.js:2
function(a){var b=function(b){this.K=b.instanceId;this.J=a;b=document.createElement("div");var c=document.createElement("a");c.target="_blank";this.F=b.cloneNode(!1);this.B=document.createElement("audio");this.B.R=!0;this.b=b.cloneNode(!1);this.b.id="gdx-bubble-host";this.D=this.b.createShadowRoot?this.b.createShadowRoot():this.b.webkitCreateShadowRoot();var f=document.createElement("style");f.innerHTML=this.J;this.D.appendChild(f);this.a=b.cloneNode(!1);this.a.id="gdx-bubble-main";this.D.appendChild(this.a);

I have also just cloned the repo, replaced the YOUR_API_KEY in index.html and app.js, and I'm unable to reproduce your error (I'm hosting on a python server via gcloud as instructed in the codelab). It might be one of your browser extensions that is causing this error. See this SO answer that explains how to figure out which file is actually triggering that error.

Starting from the beginning:

Laptop: MacBook with OS High Sierra 10.13.6

Browser:  Version 78.0.3904.108 (Official Build) (64-bit)

Simple Store Locator with Google Maps

following instruction step by step

going to https://console.cloud.google.com/cloud-resource-manager?organizationId=0 deleted the previous project and created a new project, copying from the git

created a new API key and enable it and replace it in app.js and index.html

tried on Chrome and FireFox and in both I do not get the side list

Redo everything, tried on both chrome and firefox and I get the same issue,
not list of stores on the side of the webpage
[image: Screen Shot 2020-01-05 at 10.26.43 PM.png]
On Thu, Dec 12, 2019 at 7:51 PM Angela Yu<EMAIL_ADDRESS>wrote:

I have also just cloned the repo, replaced the YOUR_API_KEY in index.html
and app.js, and I'm unable to reproduce your error (I'm hosting on a python
server via gcloud as instructed in the codelab). It might be one of your
browser extensions that is causing this error. See this SO answer
https://stackoverflow.com/a/53953310/8805781 that explains how to
figure out which file is actually triggering that error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlecodelabs/google-maps-simple-store-locator/issues/9?email_source=notifications&email_token=ABAWQPPFONCS2EMBNSLKV33QYMBFNA5CNFSM4JTPBEYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGY2FIY#issuecomment-565289635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAWQPO5RQGNGPDGBK3MR3TQYMBFNANCNFSM4JTPBEYA
.

message in firefox was a little different
[image: Screen Shot 2020-01-05 at 10.29.39 PM.png]
On Sun, Jan 5, 2020 at 10:29 PM Youval Dar<EMAIL_ADDRESS>wrote:

Redo everything, tried on both chrome and firefox and I get the same
issue, not list of stores on the side of the webpage
[image: Screen Shot 2020-01-05 at 10.26.43 PM.png]
On Thu, Dec 12, 2019 at 7:51 PM Angela Yu<EMAIL_ADDRESS>wrote:

I have also just cloned the repo, replaced the YOUR_API_KEY in index.html
and app.js, and I'm unable to reproduce your error (I'm hosting on a python
server via gcloud as instructed in the codelab). It might be one of your
browser extensions that is causing this error. See this SO answer
https://stackoverflow.com/a/53953310/8805781 that explains how to
figure out which file is actually triggering that error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlecodelabs/google-maps-simple-store-locator/issues/9?email_source=notifications&email_token=ABAWQPPFONCS2EMBNSLKV33QYMBFNA5CNFSM4JTPBEYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGY2FIY#issuecomment-565289635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAWQPO5RQGNGPDGBK3MR3TQYMBFNANCNFSM4JTPBEYA
.

I had this same issue and enabling the Distance Matrix API in the market place fixed the problem and the list is now showing up.


ipamServer PowerShell reference update

1880317
Change to external help file and OUTPUT. No SME review needed.

Docs Build status updates of commit 3428219:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/ipamserver/Invoke-IpamGpoProvisioning.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@tiburd - This one requires no SME input. It is ready for review.

@tiburd This one is ready to merge.

Docs Build status updates of commit f3b1a93:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/ipamserver/Invoke-IpamGpoProvisioning.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update connect-slack-to-microsoft-cloud-app-security.md by removing Grid and Select SKU due to Slack request.

Grid and Select are private SKUs. Slack exposes only the term Enterprise.

@idbasre : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Identify projects which could use this library

Goals

Create a list of projects that currently use pip's internal API
Identify which use cases are not covered by pip-api
Open issues for each use case
Implement API for each use case
Open PR to migrate target project to pip-api

Projects successfully migrated to pip-api:

https://github.com/peterbe/hashin/
https://github.com/di/pytest-reqs/

Projects currently using pip's internal API
(Some likely candidates here: https://www.wheelodex.org/projects/pip/rdepends/)

https://github.com/jazzband/pip-tools/

This is a big one: https://github.com/jazzband/pip-tools/blob/master/piptools/_compat/pip_compat.py

I would love to have a stable Python API for my dotfiles management project. (See https://github.com/phodge/homely/blob/master/homely/pipinstall.py)
My wishlist of features:

get_installed_version(package_name, user=False): returns the version number of the currently installed version of a specific package, or None if it isn't installed. If user=True then it only checks the user-specific package list in the current user's home directly (i.e., packages installed by pip install --user). If user=False then it only checks the packages installed at system level.
get_latest_version(package_name): returns the version number of the latest version of the package as available on pypi.org. The package doesn't have to be installed for this to work.
get_dependencies(package_name): Returns the list of [package_name, version_specifier] for packages that are direct prerequisites for the named package.
install_package(package_name, user=False, install_dependencies=True): Install a package, i.e. pip install <package_name>, or pip install --user <package_name> when user=True. If install_dependencies=False and some of the dependencies are missing, then the installation should fail and raise an exception.

Glad to hear you're considering using this project! Happy to help.

get_installed_version(package_name, user=False)

This could be done with the pip_api.installed_distributions() function. This doesn't currently support scoping to user packages, but that would be a great addition.

get_latest_version(package_name)

I don't see why pip would need to get involved here. This can be done with a simple request to PyPI's JSON API.

get_dependencies(package_name)

Are you doing this now with pip? It's nearly impossible to get 100% correct, see "Why PyPI Doesn't Know Your Projects Dependencies".

install_package(package_name, user=False, install_dependencies=True)

I think this makes sense and can be added, probably as pip_api.install(...)!

Re. https://github.com/timothycrosley/isort/issues/924, I'd like to see the isort package use pip-api.

@belm0 It doesn't seem like this project would require any new APIs, unless I'm mistaken. I've left a comment here: https://github.com/timothycrosley/isort/issues/924#issuecomment-484280840

@di I've been experimenting with using isort's pip-api-based requirements-file parsing, and I've been running into a snag.  If parse_requirements() fails to parse any line in a file, it fails the entire file, whereas for the isort use-case, it would be much more useful to parse as many lines as possible and discard the rest, in the vein of #9 .  Would you be amenable to either reviving that pull request, or to me sending pr's for individual corner cases that I would like handled more gracefully?

Hi @jre21, thanks for the comment. I think you're probably right that pip-api should allow for the original behavior here. The changes in #9 are probably acceptable, but I haven't had a chance to review. Could you take a look and see if it solves your issue?

I think I've found a cleaner way to parse the particular cases I was having trouble with.  Pull request incoming.

#9 is rebased again.

Worth also considering, when should this library not be used?  and what should be used instead?
Given the conflicting parsers and structs in setuptools, pip, and packaging, (especially older releases), anyone wanting a stable requirements parser which aims to parse the oddities of all of those, and new formats like pipfile/pyproject.toml, they should really be trying to use https://github.com/sarugaku/requirementslib which is part of the new pipenv collection of libraries.  It is more permissive, and possibly has some very slight differences to pip internals, but is surely a safer tool than hoping that the installed version of setuptools, pip and packaging are all aligned perfectly.
That then puts pip-api into the more niche area of users who need to access pip's functionality other than requirements parsing, with all of its bells and any of its faults.
Personally I think pip-api should strongly recommend requirementslib for the requirements parsing and structs, even integrating this, and then have a conversion layer from requirementslib structs to the structs of the installed pip version, so that the client can be happily working with requirementslib and then use its requirements classes with pip-api to invoke pip functionality that were expecting classes from packaging or from deep inside pip.  That may eventually lead to pipenv being able to use pip-api as a cleaner looser coupling to the pip it currently vendors called 'notpip', maybe even leading to the possibility that pip could be de-vendored from pipenv and support versions of pip where pip-api has a satisfactory bridge.

get_latest_version(package_name)

I don't see why pip would need to get involved here. This can be done with a simple request to PyPI's JSON API.

It certainly could be done, but I would expect that anything pip can do, an abstraction layer that sits on top of it can also do.  I am of course referring to running pip list --outdated which makes (presumably) that same query to the JSON API, and I assume then filters the output to actually just print the ones where installed version and current version don't match.  As the pip_api library clearly doesn't want or need to deal with actually printing anything, I certainly wouldn't expect it to do that filtering for me.  I definitely wouldn't want it actually making HTTP requests every time I call pip_api.installed_distributions, just as pip list doesn't make that request if you don't pass in the --outdate flag.  But having a function that will do it for you seems well in line with the nature of this project to me.  Just my $0.02.  :)

I think a function which more or less wraps pip list would definitely be valuable, but I want to be careful to scope the purpose of this package to providing a drop-in replacement for existing uses of pip's internal API. To my knowledge, there is no equivalent to get_latest_version, the closest would probably be iter_packages_latest_infos, which I haven't seen much usage of.
I think get_latest_version would probably belong in the pypi-api project instead which is a WIP. 🙂

Hey Dustin, with a few more features this pip-api project could really be useful for johnnydep . I currently use pip in a subprocess.
The stuff I need:

List versions available for a given distribution
Download urls for the releases, preferably with checksums (PyPI seems to offer this in the url fragment).
Ability to use custom index, if set in pip.conf or env var

cheers

Hey @wimglenn, thanks for commenting. Would be great to use this project in johnnydep, and in case it's not clear, under the hood pip-api is just using subprocess as described there.
I think similar to the request for get_latest_version above, listing the versions available and getting the download URLs are probably best served by just hitting the PyPI API directly, although I'd be curious to see how you're currently using pip for this.
The configuration stuff is totally valid, I created https://github.com/di/pip-api/issues/44 to capture this.

The reason I don't use PyPI API directly there is because I want johnnydep to also see user's pip configuration (e.g. at $EMPLOYER, where your gloablly configured index_url might be a devpi-server with some internal packages)

Got it, that totally makes sense. What pip commands are you currently using for those two things?

For listing versions avail I get a bogus version an handle the error output.  For download urls, I scrape debug log events.  :(    Lame I know, but pip doesn't really offer you much else here..

Hey @di,
I love the idea of this project, but the current list of features is too limited for me to use right now.
My main use case is to manage virtualenvs (perhaps see https://github.com/irvinlim/dotfiles/tree/master/installer), which uses sjkingo/virtualenv-api to programmatically manage virtualenvs, which executes pip in a subprocess using the relevant virtualenv's Python interpreter under the hood, and manually parsing the standard output, basically like what pip_api does.
Currently, I use sjkingo/virtualenv-api to install distributions (pip install), list packages (pip list), and check if a package is already installed. It currently doesn't support pip show.
I was hoping that pip_api could support the above mentioned commands (specifically install and show). Are you planning to work on those commands? If not, what should I look out for when implementing them in order to maximize compatibility with all pip versions?
Additionally, in order to extend the same functionality that sjkingo/virtualenv-api provides, could there be a way to perhaps initialize pip_api with a custom Python path and/or pip path?

Hi @irvinlim, thanks for the comment! I think the functionality provided by install and show are probably fair game for this library. I think list is probably covered by pip_api.installed_distributions.
One thing to note is that this library is focused on providing a close to drop-in replacement for the internal functions that people might be currently be importing from pip._internal, not necessarily to wrap the CLI 1:1. So it would be ideal to identify said functions rather than the CLI sub-commands.
For show, the goal is to get the metadata about the installed packages. It looks like users might be using search_packages_info() for this. It also seems like using importlib.metadata probably makes more sense here, so we may not want to wrap this at all.
For install, it's a bit of a behemoth and might be a challenge to get right. E.g., what would you expect pip_api.install to return?

For install, it's a bit of a behemoth and might be a challenge to get right. E.g., what would you expect pip_api.install to return?

It could return {"installed_package": "version_code", "package_2": "vc_2"}

It could return {"installed_package": "version_code", "package_2": "vc_2"}

It doesn't seem like that's what InstallCommand.run() would return, it looks like it returns an integer
I tried to use this the "bad" way, and it's quite complex. I'm not convinced that anyone is actually doing this:
from pip._internal.commands.install import InstallCommand
from pip._internal.models.format_control import FormatControl
from pip._internal.utils.temp_dir import global_tempdir_manager, tempdir_registry

from optparse import Values

options = Values(
    {
        "help": None,
        "isolated_mode": False,
        "require_venv": False,
        "verbose": 0,
        "version": None,
        "quiet": 0,
        "log": None,
        "no_input": False,
        "proxy": "",
        "retries": 5,
        "timeout": 15,
        "exists_action": [],
        "trusted_hosts": [],
        "cert": None,
        "client_cert": None,
        "cache_dir": "/Users/dustiningram/Library/Caches/pip",
        "disable_pip_version_check": False,
        "no_color": False,
        "no_python_version_warning": False,
        "unstable_features": [],
        "features_enabled": [],
        "deprecated_features_enabled": [],
        "requirements": [],
        "constraints": [],
        "ignore_dependencies": False,
        "pre": False,
        "editables": [],
        "target_dir": None,
        "platform": None,
        "python_version": None,
        "implementation": None,
        "abi": None,
        "use_user_site": None,
        "root_path": None,
        "prefix_path": None,
        "build_dir": None,
        "src_dir": "/private/tmp/env/src",
        "upgrade": None,
        "upgrade_strategy": "only-if-needed",
        "force_reinstall": None,
        "ignore_installed": None,
        "ignore_requires_python": None,
        "build_isolation": True,
        "use_pep517": None,
        "install_options": None,
        "global_options": None,
        "compile": True,
        "warn_script_location": True,
        "warn_about_conflicts": True,
        "format_control": FormatControl(set(), set()),
        "prefer_binary": False,
        "require_hashes": False,
        "progress_bar": "on",
        "index_url": "https://pypi.org/simple",
        "extra_index_urls": [],
        "no_index": False,
        "find_links": [],
        "no_clean": False,
    }
)

with global_tempdir_manager():
    c = InstallCommand('name', 'summary')
    c._in_main_context = True
    reg = c.enter_context(tempdir_registry())
    c.tempdir_registry = reg
    c.run(options, ["sampleproject"])

For folks asking about install in this thread, you may like to know that I've added experimental PEP 650 support in #65, which would eventually allow you to do the following if/when the PEP is finalized:

pip_api.invoke_install
pip_api.invoke_uninstall


generate empty project

create cmake file that import the following libraries

boost
gtest
openmp
Hint: look at the link https://cliutils.gitlab.io/modern-cmake/ for learning modern cmake writing.

use catch2 instead of gtest


Error in Unity 5.2.1 when try to export to android/ios

This error is different from last thread. It also occur on normal Unity 5.2.1f1 with no patch release. In Unity 5.2.1, it can play the example directly in Unity Editor but error when tried to export to mobile.
Assets/Slua/LuaObject/Unity/Lua_UnityEditor_Advertisements_AdvertisementSettings.cs(12,33): error CS0103: The name `UnityEditor' does not exist in the current context
Assets/Slua/LuaObject/Unity/Lua_UnityEditor_Advertisements_AdvertisementSettings.cs(146,52): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?
Assets/Slua/LuaObject/Unity/Lua_UnityEditor_Advertisements_AdvertisementSettings.cs(146,17): error CS1502: The best overloaded method match for `SLua.LuaObject.createTypeMetatable(System.IntPtr, LuaInterface.LuaCSFunction, System.Type)' has some invalid arguments
Assets/Slua/LuaObject/Unity/Lua_UnityEditor_Advertisements_AdvertisementSettings.cs(146,17): error CS1503: Argument #3' cannot convert object' expression to type `System.Type'
Error building Player because scripts had compiler errors

You can add
"Advertisements",
"UnityEditor",
to list of OnGetNoUseList function to skip them to export. Meanwhile I had fix it.


Request @legalese.io email addresses

I wish to create a Legalese company page on LinkedIn, Crunchbase, etc.  To do so I need a<EMAIL_ADDRESS>email address.
Somewhat related, I've noticed the legalese.com, although it's registered, is currently not in use.

/cc @wabisabiyo

i don't know if @wabisabiyo has owner access to Google Apps so i'm going to go ahead and pick this up.

there are two ways to do this – as a mailing list with only one member, or as an alias.
mailing lists are archived and can be read by other project members.
aliases are not archived; messages cannot be seen by anyone other than the recipient.
which approach would be more valuable to the project?

Perhaps surprisingly, I like the idea of single-member mailing lists.
Employees just accept that anything sent through legalese.io is fair-game
to be indexed by the collective knowledge base.

that would help with our CRM also because if somebody gets hit by a bus the other people can pick up where they left off.

and if somebody goes on vacation, other people can be added to the mailing list.

i would do<EMAIL_ADDRESS>that way but for legacy reasons that email address is already a firehose of confidential Adobe Echosign PDFs. Maybe I can fix that in the future.

we would have to think hard about "forgot password" security considerations, because email is used as identity nowadays. so there is a privilege escalation path from somebody being on the project, to having access to the mailing list archives, to being able to identity-theft you, and then deregister the legalese.com domain.

Hmm. How would a single-member mailing list send email as that identity? Maybe in practice this doesn't matter because the world only sends to the address, and doesn't care about messages coming from it. Let's try it and if this doesn't work we can switch back to an alias.
Even with an alias there would be some amount of overhead in setting up the ability to send mail from that address.

Spoof it on outgoing emails, or does the domain have DKIM and such?
On Thu, 7 Apr 2016 at 4:21 PM, Meng Weng Wong<EMAIL_ADDRESS>wrote:

Hmm. How would a single-member mailing list send email as that identity?
Maybe in practice this doesn't matter because the world only sends to the
address, and doesn't care about messages coming from it. Let's try it and
if this doesn't work we can switch back to an alias.
Even with an alias there would be some amount of overhead in setting up
the ability to send mail from that address.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/legalese-io/legalese-io.github.io/issues/107#issuecomment-206755980

well, virgil has received my email, so our little mailing list hack seems to work for the purpose originally specified in the issue description, so i'm going to close the issue, unless @virgil needs anything more?


Reuse upstream ocropy?

The ocropus folder is a copy of the ocrolib folder of tmbdev/ocropy ca. 2016.
Is there a reason for not using upstream ocropy?

Fixed in 0779f6a

But it's not yet merged in master!

It will be merged in the master soon, we were waiting for the confirmation from your side.

No, sorry I meant the merger branch, not master. But the change is there, I was just confused because much of what's in merger was in the 30 commits in #13.


[FeatureReq]  Change or disbale login message

I configured the mod to only need auth to use commands, thats the only reason i need it because i have whitelist and i only add people i trust, but i can't disable the "please login" message and this keep spamming on my screen, it is very usable but the perfect scenario for me is a option to only ask for login when trying to use commands, or only when loggin in. Maybe a option to only ask for login to op players.
If someone have a different idea of config than mine for this scenario that already exist, i would be grateful too
(Sorry if there is too many typo, english isn't my first language)

If you're using last Snapshot version you can disable specific message in config:
enter-password: {
	"text": "§6You need to enter your password!"
	"enabled": true
	"serverSide": true
}
enter-new-password: {
	"text": "§4You need to enter new password!"
	"enabled": true
	"serverSide": true
}

On older versions you can set these messages to " ".
I think better approach to restrict usage of commands would be LuckPerms or Player Roles

Through you can't restrict commands to only non-authenticated players with these mods


Mem perf: large launch schema ends up being retained as string

Doing a snapshot of heap right after startup with a package.json opened shows the launch schema to be a top retainer in strings:

That schema is really huge (more than 1.5 MB in size as string).
Can we try to only load this after startup or lazily when needed?

Actually the real reason why we end up retaining a huge string is because this schema gets loaded as text document:

We must have a built-in extension that loads these schemas as text documents which will retain them as string in memory. It feels like the wrong way to have the schemas, why not just load them via file services?

That schema should only load when you open a launch.json file in an editor.

@aeschli This is opening a package.json.

That's how the launch.json schema gets loaded:

package.json has a contributes section where configurationDefaults is a possible section. That brings in the configurationSchema that contains a setting 'launch where one can define a launch configuration.
The launch configuration schema is huge with a lot of repetition

I know there's een alreayd a lot of work done in launch to shar common sections, but it looks like there still much more to do.
I can't really pinpoint the problem.
What I can do is look into automatically using refs when serializing twice the same object.

Potentially improved with https://github.com/microsoft/vscode/issues/53557 too

Fixed by https://github.com/microsoft/vscode/pull/219883 and https://github.com/microsoft/vscode/pull/221136


Typescript: Not compatible with config "moduleResolution": "nodenext"

Describe the bug

types field is missing from package.json exports main (.) export and typescript does not fallback to the top-level types.
Typescript does not understand default exports from {export defautl as ...} https://github.com/microsoft/TypeScript/issues/50690

To Reproduce
Configure typescript with "moduleResolution": "nodenext"
Actual Behavior
Typescript can't resolve the package exports and types
Expected Behavior
Typescript can resolve the package exports and types
Versions

react-loading-skeleton version: 3.2.0
Typescript version:  >4.8

Hey @rubencosta, thanks for the issue and the PR! I am just going to respond to both of them here.
I tried reproducing the error you are getting but I couldn't. Here is my test project. It's in the node folder, you can ignore all the other top-level folders.
I ran yarn tsc and there were no compilation errors. Can you point out what I missing?

Thanks for that. I did some more testing on this with "type": "module" and discovered a few things.
"moduleResolution": "bundler"
This is a new module resolution option introduced with TypeScript 5.0 that I think will become the recommended practice for frontend projects. More info in TS 5.0 announcement post
With "moduleResolution": "bundler" in my tsconfig.json, there were no TypeScript errors when compiling the test project against react-loading-skeleton 3.2.1 (what's currently published on npm).
"moduleResolution": "nodenext"
I did manage to get this to work by making a number of tweaks to node_modules/react-loading-skeleton:

Set "type": "module" in package.json.
Add "exports" to package.json, copy-pasted from your PR.
Edited index.d.ts to include the .js extension in each import statement.

Conclusions
Regardless of which of the two moduleResolution options you choose, it seems we can fix the issue without making a breaking change to react-loading-skeleton, like changing the default Skeleton export to a named export.
After some research, I think the correct move is to make the necessary changes to react-loading-skeleton to get it to work with nodenext. I think this is the right choice because it gives us:

Compatibility with "type": "module" in Node.js when a bundler is not used
Compatibility with TypeScript's "moduleResolution": "nodenext"
(???) Compatibility with native browser ES modules

Next Steps
Someone should make a PR to react-loading-skeleton that does the following...

Sets "type": "module" in package.json.
Adds "exports" to package.json, copy-pasted from PR #182.
Sets "moduleResolution": "nodenext" in our TSConfig.
Tweaks rollup.config.mjs so that our CommonJS bundle has a .cjs file extension.

We will need to test this in a variety of contexts to make sure it does not break anyone.
I don't think any of these changes would be considered breaking, but I am considering a major version bump, just to be cautious.
@rubencosta Are you interested in making these changes? If not, I can do it.

We will need to test this in a variety of contexts to make sure it does not break anyone.

We can use my react-loading-skeleton-test-projects repository as a starting point for this.
One thing in particular we should test is that these changes don't break compatibility with older TypeScript versions. As of this writing, the oldest version still supported by DefinitelyTyped is 4.3. (link)
@RoseMagura Are you interested in working on this?

@srmagura Thanks for the time and very useful info. Here are my 2 cents after a bit more evaluation. I did try your proposed solution and tweaks using both the test repo and my repo.
"moduleResolution": "bundler"
This definitely solves all issues caused by having a package type module and typescript. However, it's not recommended for libraries and my use case is an UI elements library. This would mean that I would have to set "moduleResolution": "bundler" in my lib tsconfig.json and upgrade to TS >5.0 to make this work.
"moduleResolution": "nodenext"
To be honest I could not reproduce the solution you described. The only way I could get ES module to work is by having everything as named exports (what I did in #182) but this is probably due to my lack of knowledge.
Argument for named exports
Since your proposed solution still requires a major bump (which sounds reasonable to me, because even if we don't make breaking changes on the exports the package type is changed) I would still push for making everything named exports as this would make the package exports consistent, avoid rollup warnings and effectively fix the compatibility issues for all ts versions because everything supports named imports or default imports, it's the mix that's causing the issue from what I can see.


[Feature Request] - Centered logos

Is your feature request related to a problem? Please describe.
Too much white space on rows with minimum logos
Describe the solution you'd like
Centered logos
Describe alternatives you've considered
n/a
Additional context
Map to current presentation view

Closing as not as much of an issue any longer with a more populated Landscape


Enabling the  Full Screen Fog Render Feature on the Universal Renderer Data Asset leads to an error and no fog being displayed

Hi,
i wanted to use the height based fog for a project i am working on, because unity just supports normal fog in URP.
But when enabling the Full Screen Fog render feature on the asset, the following error occures and there is no visual output:

Error

Unity Version: 2022.3.12f
Thanks in advance!

Thank you for using it!
Have you set up volume in the scene?

Thanks for you quick response,
the component is set up as global, i do have normal fog enabled, but turning it off does not seem to change the matter.
Also the full screen render pass render feature does work.

OK, I didn't reproduce the issue on Unity 2022.3.13f, so sorry for needing more information.

Is it possible to render in a new scene (only set up volume)?
Clone this project and open SampleScene.unity to see if any errors still occur?
Can you provide me with error log including stack information?

Or you can also send me your minimal example project, thanks.

Fixed the issue by seperating the assets on different renderers.
Thanks for this great asset!


consistent greeting format

The greeting format should be consistent among all quickstarts.
This also makes automated testing much easier.

Thanks

OK, I hoped a quick edit over GitHub will be enough, but I forgot an exclamation mark :-D I'll do the next PR properly...


run golangci-lint on all modules

I don't love that this now expands out to four linter runs for every PR, but it's the cleanest approach I think and they run super fast.


[bug] MySQL using utf8_ general_ Ci encoding, splitting will end prematurely

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Support mysql primary keys using encoding types different from ASCII , in MySQL, the primary key uses utf8_ general_ Ci encoding type, ignoring case when sorting. The ObjectUtils.compare(chunkEnd, max) code comparison is based on ASCII, which will cause the split  to end prematurely.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Closing this issue as it has been migrated to Apache Jira.


Possible to use msal.js?

Since msal is promoted as the replacement for adal, would this work msal? and if so, how?

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

ID: 294772ce-58a0-bb83-8927-3e69beca39df
Version Independent ID: d9c4a4b3-3abf-d738-369e-fff8532e9dd9
Content: Guidance for authentication
Content Source: docs/integrate/get-started/authentication/authentication-guidance.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @ranarn, I'm looking into this and will get back to you as soon as possible. Thank you for reaching out!

Hi @ranarn, I've been in touch with a PM who says that for accessing Azure DevOps REST APIs, simply presenting the Azure AD token wouldn't work.
Do let us know if you have any further questions, please!
Thanks!


Confusing Char.KeyCode

I believe ASCII (char code) and key code are different things. It took me a while to find I can use fromCode to convert 120 to 'x' (120 is F9 in key code). Could the documentation cover more general usages (e.g. reading binaries)? Also, it lacks information for error cases.
Maybe there are other solutions:

Just call it "Int"
Move these features to elm-lang/keyboard

https://github.com/elm-lang/core/commit/3a6dc880a475aa153d4ac47156dca5f9a9e892c7 also improves the docs a bunch so a lot of functions are clearer.


Request for Additional Usage Examples in Documentation

Dear Maintainers,
Greetings!
I am a developer from the community who has been working with your project. While the existing documentation provides a solid foundation for understanding and applying the project, I believe that including more usage examples would greatly assist both newcomers and experienced developers in mastering the various features and best practices of the project.
Specifically, I think the following areas could benefit from additional examples:
Beginner-Level Examples: Detailed, step-by-step examples for beginners would help them quickly get started with the project.
Advanced Feature Demonstrations: Examples that showcase advanced features or complex use cases can help developers understand how to tackle complex problems in real-world scenarios.
Common Issue Solutions: Providing examples of common issue solutions can allow developers to quickly find answers when they encounter problems.
Best Practice Guidelines: Examples illustrating best practices can help developers avoid common pitfalls and improve the quality and maintainability of their code.
Integration with Third-Party Services: If the project is often used for integration with third-party services, examples in this area would be invaluable.
I understand that creating and maintaining documentation requires a significant amount of time and effort, but I believe that adding more examples will enhance the usability of the documentation and the popularity of the project. If needed, I am willing to contribute my part by providing some examples or helping to improve the existing documentation.
Thank you for your contributions to the project and the community!
Best regards,

Thank you for the feedback. Do you have examples or cases where you think users may struggle?

I'd find "Nested components" example in the "How to" section helpful.
Something along the lines of
import { List as MistList } from '.components/List.mist';
import { ListItem } from '.components/ListItem.mist';

export function List({ items }: { items: string[] }) {
  return (
    <MistList>
      {items.map((item) => <ListItem>{item}</ListItem>)}
    </MistList>
  );
}

Docs have been reworked and I hope cover all the different topics. Thanks for the feedback! :)


Missing password for user<EMAIL_ADDRESS>and running in non-interactive shell

I used to use fastlane cd to testflight ussing<EMAIL_ADDRESS>running smoothly.
after switch to<EMAIL_ADDRESS>then promt up this error
Missing password for user<EMAIL_ADDRESS>and running in non-interactive shell.

Please fill up all the requested info asked by the issue template so we can help you.

Please fill up all the requested info asked by the issue template so we can help you.


Duplicates detection not deterministic between browsers

Using Firefox (41b)(private mode) the duplicates are correctly detected.
However, using Chrome 44 (private mode), several of them are missing (whereas they should : same label/date/amount when I check the reports).
Firefox console log:
Similarity Component - Running findRedundantPairs algorithm... main.js:38:14
Similarity Component - Input: 1216 operations main.js:38:14
Similarity Component - Threshold: 86400000 main.js:38:14
Similarity Component - 33 pairs of similar operations found

Chrome console log:
Similarity Component - Running findRedundantPairs algorithm...
main.js:38 Similarity Component - Input: 1216 operations
main.js:38 Similarity Component - Threshold: 86400000
main.js:38 Similarity Component - 3 pairs of similar operations found

Thanks for the report. Quite a simple fix, but that makes me think the algorithm wouldn't find all duplicates before my patch :/


Watch NTP server change in timesyncd

Any change in the dynamic NTP servers when system is in manual mode as the timesyncd is disabled. However the change is not updated even when the system is switched to NTP mode. This commit also consists of the changes to the reload the NTP servers whenever it switches from manual to NTP mode.
Tested by:
Switched to manual mode, updated the NTP servers in DHCP. Verified the updated NTP server is reflected in networkd when switched back to manual.
Fixes : https://jazz07.rchland.ibm.com:13443/jazz/web/projects/CSSD#action=com.ibm.team.workitem.viewWorkItem&id=649008
Change-Id: I6a58e44795e60490d8bee106548de043be40bfe8

Upstream commit??
@cmjishnu do we still need this PR for 1110?


Incorrect error

Why doesn't visual studio properly handle C programs anymore.
#include <stdio.h>
#include <stdlib.h>
int main()
{
sayHi();
return 0;
}
void sayHi(){
printf("Hello User");
}
the preceding code is properly formatted, but because it is a .c and not a .cpp Visual studio cant' handle it.
I would like to be able to use your tool, as I do other development work, but is doesn't handle anything but Microsoft Centric languages easily. I will be going back to linux.

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

ID: 2d76d2fd-fd60-4fa2-59e4-73474d0a743e
Version Independent ID: 33085254-0592-a16e-1b1d-40abaeeeb8aa
Content: Compiler Error C2371
Content Source: docs/error-messages/compiler-errors-1/compiler-error-c2371.md
Product: visual-cpp
GitHub Login: @corob-msft
Microsoft Alias: corob

@DrrMorris Your code doesn't compile because it's not legal C code. You need a forward declaration of your sayHi function before you call it, unless it returns an int.
C:\Users\corob\Documents\Projects\curiosity\sayhi>type sayhi.c
#include <stdio.h>
#include <stdlib.h>

int main()
{
    sayHi();
    return 0;
}

void sayHi(){
    printf("Hello User");
}

C:\Users\corob\Documents\Projects\curiosity\sayhi>cl /W4 sayhi.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26730 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

sayhi.c
sayhi.c(6): warning C4013: 'sayHi' undefined; assuming extern returning int
sayhi.c(10): error C2371: 'sayHi': redefinition; different basic types

The C compiler is invoked by default on source files that have a .c extension. For strict ANSI C89 compatibility, use the /Za compiler option.


background executed for each row even for dynamic scenario outline

here's a single feature to replicate. thanks to @naganjaneyuluyazali who reported this in #1792
Feature:

Background:
* print 'in background'
* def data = [{ foo: 'one' }, { foo: 'two' }]

Scenario Outline:
* print __row

Examples:
| data |

and the print is seen 3 times:
Running com.intuit.karate.junit4.dev.DevRunner
16:02:01.310 [main] DEBUG com.intuit.karate.Suite - [config] classpath:karate-base.js
16:02:01.313 [main] DEBUG com.intuit.karate.Suite - [config] classpath:com/intuit/karate/junit4/dev/karate-config.js
16:02:02.009 [main] INFO  com.intuit.karate - [print] in background
16:02:02.054 [main] INFO  com.intuit.karate - [print] in background
16:02:02.055 [main] DEBUG c.intuit.karate.core.ScenarioEngine - over-writing existing variable 'data' with new value: [{ foo: 'one' }, { foo: 'two' }]
16:02:02.056 [main] INFO  com.intuit.karate - [print] {
  "foo": "one"
}

16:02:02.066 [main] INFO  com.intuit.karate - [print] in background
16:02:02.066 [main] DEBUG c.intuit.karate.core.ScenarioEngine - over-writing existing variable 'data' with new value: [{ foo: 'one' }, { foo: 'two' }]
16:02:02.067 [main] INFO  com.intuit.karate - [print] {
  "foo": "two"
}

@joelpramos this is a surprise to me, I thought we were not re-doing Background in this case

@naganjaneyuluyazali can you validate with the latest in develop?

It's working now ..thank you nd developers for the fix.

1.2.0 released


Fix memory leak in tcp proxy

This patch wraps the ServeTCP to clean up old connections from the s.conns map

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

I really missed this? Wow. Thx. I'll have a closer look a bit later.


More keywords added. Add keywords depending on the language

I decided to refactor it a bit, if you don't mind. First, I added a number of new keywords. Second, they now do not conflict between languages:

@jonsequitur please, see.
🦆

@jonsequitur please, see.

Hey? 😅

Looks nice. But would look nicer in the Windows Terminal. 😉

XD. That's how you had those symbols rendered correctly

It looks like this needs to be rebased.

I already merged it though. Okay, let me see if I can rebase

Hey, @jonsequitur , as far as I can see the branch contains only new commits - there's nothing to rebase. Could you double-check?

GitHub says it's so.

My last rebasing commit did nothing, quite expected.
@jonsequitur my branch is already synchronized with main and can be merged with no conflicts,

not sure what I should do. If you know what exactly is needed, you can push to my fork

😅

This is fun o_0

I realized that while "Rebase and merge" was disabled, the drop down arrow wasn't and I was able to "Squash and merge."


Update assignment-operators.md

Clarify built-in behaviour for compound assignment.
Add mention of overloaded compound assignment operators.
Correct default behaviour of implicitly-defined assignment operator.
Fixes #4745

@TylerMSFT

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Create faszination-lehre.txt for faszination-lehre.de

@crayssnlabs First stage of verification passed, official domain for Netzwerk Studienqualität Brandenburg (sqb) is faszination-lehre.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


#3346 supports SA FVT against graph repo (merge after #3453 merged)

Signed-off-by: Nigel Jones<EMAIL_ADDRESS>Fixes #3446 - see details there
FVT tests now run against inmem AND graph.
Note - see issues reported in #3386 for graph repo failures - this PR cannot be merged until the underlaying issues are fixed (and the PR needs checking)

WOrth noting - this would benefit from refactoring of the config script, as well as tests themselves, but they work, add value, expose more issues so would suggest refactoring can be a future PR (in part other priorities balancing)

@planetf1 #3453 merged

@planetf1 #3453 merged

Thanks. I'll refresh this PR now. Hopefully it will pass - will fix up if any issues surface.


Encountered two children with the same key, [object Object]. Keys should be unique so that components maintain their identity across updates.

Warning: Encountered two children with the same key, `key-[object Object]`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in div (created by Scrollbars)
    in div (created by Scrollbars)
    in Scrollbars (at ProgressBar.tsx:98)

My Code:
<div className="col-12 form-progress pt-3 mb-1">
   <Scrollbars className='form-progress__scrollableContent' key={`${props.id}-scrollableContent`}>
      {progressItems.map((itemProps: ProgressBarItemProps, idx: number) => (
          <ProgressBarItem
                 key={`key-${itemProps.name}`}
                 index={idx}
                 clickHandler={handleProgressSidebarClick}
                 name={itemProps.name}
                 status={itemProps.status}
                 arialabelScreenReader={itemProps.arialabelScreenReader}
         />
      ))}
  </Scrollbars>
</div>

Any fix for this

Check the data in progressItems. Are you sure all values of itemProps.name are unique?

Thanks,
I figure out the issue pass props index value is not been used in the item list.


Misleading documentation about the size of the library

The documentation says that Cash is a small library 8kB in size but in fact, it's 15.7kB in size.
https://github.com/fabiospampinato/cash/blob/master/dist/cash.min.js
And you don't show the size of Gziped data unless you specify that the size is gzipped otherwise is misleading.
I've spent a while debugging my code where I'm trying to take a few things from jQuery and cash and I was testing multiple things because I thought that my code import whole jQuery. The output size that I've got was 23kB.

I'm confused, everything you said about Cash, except that 15.7kb figure, is wrong.
This in front and center in the readme:

There's no mention of "8kb" anywhere in the readme.
It clearly says that Cash is about 6kb minified and gzipped.
it clearly says that Cash is about 16kb just minified.
All figures are very clearly labeled in what they are measuring (unminified, minified, minified + gzipped).

There is on the website, maybe it's not your weebsite. But if you google Cash JavaScript library it show up as first result. Rigth now it's second (at list when I tested).
https://www.google.com/search?hl=pl&q=cash javascript library
I just assumed it's an official website if it's in Google, I usually go to the website, not to GitHub. If it's not your website maybe you should ask that person to take it down.

I just assumed it's an official website if it's in Google

No offense intended but that's something I'd expect my mom to say.

usually go to the website, not to GitHub.

That's only safe if you got the link of the website from github, and Cash's repo doesn't link to that.

If it's not your website maybe you should ask that person to take it down.

I already did long ago, but then again it's not my website, I don't have any control over it, I can't do anything if my emails get lost in the inbox.
The website should redirect to the repository or get deleted, but I can't do it.

I just assumed it's an official website if it's in Google

No offense intended but that's something I'd expect my mom to say.

I simply didn't notice that it's not an official website, I had to write something to explain, why this was the only thing that came into my mind.
I've noticed a weird thing, this page:
https://github.com/kenwheeler/cash/
redirect to your repo, I would contact GitHub support since the Gh-Page looks like abanodend. Or some kind of error on part of GitHub.

The website at https://kenwheeler.github.io/cash/ basically talks about v1 of Cash, which is completely different from the current version.

Let me asked them for this, maybe it's more likely they'll do it if I ask them.

I contacted Ken 2 weeks ago, no reply. I've just contacted github too. I'll report back when I'll hear some updates.

@fabiospampinato thanks for the update. Just a tip you can get cash.js.org subdomain for free and add it to GitHub pages.

@jcubic github said they can't change things of other users or contact them on my behalf. Ken said it would set up the redirect but nothing has changed as of yet.


Request: removeHttpPrefix to remove https (also to work with srcset attribute)

What is this feature about (expected vs actual behaviour)?

Allow removing of https: as well as http: prefixes.
I believe this should be done by the existing function. A single function that removes both schemes is optimal IMO.

Also remove prefix from srcset attribute as well as src attribute.
This is technically a separate issue but it's all to do with the same hunk of code.

Does it take minutes, hours or days to fix?
It takes a few seconds to fix.

"single function that removes both schemes"

But then you will have problems with links, if you're currently using "http", so all links also will use "http", please test what you are doing :)
PS: I added "doRemoveHttpsPrefixFromAttributes()"

srcset is also implemented for "http" and "https": https://github.com/voku/HtmlMin/commit/61ae49b5010bc46d056ae0786e338c699158b35e

changes are available in version 4.1.0

Thank you.
I'll look into it now.
Slightly related question:
Removing the shema prefix (be it http or https ) from links is technically destructive to the information in href/rel=external anyway. As opposed, in a sense, to removing the schema prefix from resources used by the actual html page being processed (scripts, img tags etc.)
So perhaps an option should be made available - so as to be able to clear (either) schema from page resources without altering href/external links. Just a thought. Not relevant to my use-case. I can manage with the above change.
Also, would you consider an option similar to removePrefix, something like makeRelative. An option to minify all same-server links by making them relative, ie. those prefixed $_SERVER['SERVER_NAME'] (and the same schema?) could be filtered to be relative. This would be considered a non-destructive minification option.

@abuyoyo I like your idea, maybe you can create a pull request for this change?


Why are there two definition files of Queue and PodGroup in the apis/scheduling directory?

There are two definition files of Queue and PodGroup in the apis/scheduling directory, such as apis/scheduling/types.go and apis/scheduling/v1beta1/types.go. Both files are used in the code.  Are there any design considerations？

I think they can be merged as one.

apis/scheduling/types.go does not include version, apis/scheduling/v1beta1/types.go has version info.

Thanks for your answer.

/close


ISSUE: Not picking up UPS packages.

Describe the bug
I have an email after setting up the integration from UPS with the tracking number and all details, but the integration doesn't pull any information, while it is working for USPS
Environment (please complete the following information):

OS: Docker
Type of device: Docker
Home Assistant version: 2023.1.0.dev20221205
Docker/HACS
Component version: 0.3.5-b20

Logs
This error originated from a custom integration.
Logger: custom_components.mail_and_packages.helpers
Source: custom_components/mail_and_packages/helpers.py:187
Integration: Mail and Packages (documentation, issues)
First occurred: 10:18:09 AM (49 occurrences)
Last logged: 10:33:12 AM
Error searching emails: SEARCH command error: BAD [b'Could not parse command']
Unexpected html format found.
This is the only error related to the integration
Screenshots

Additional context
It seems though USPS is working fine and being picked up, the UPS informed delivery emails are not being parsed correctly.

I'd just like to add I've had numerous extra emails from ups come through with different numbers and statuses. Still same issue. Based on the error seems error parsing their HTML?

Error searching emails: SEARCH command error: BAD [b'Could not parse command']

This is usually due to the Amazon Forwards email being set to something other than (none).

Unexpected html format found.

This message is for USPS emails, safe to ignore.
There is no bug here, you'll get emails on Friday when/if your package is actually out for delivery, then it'll populate in the sensors.

So this issue is still occuring, even after almost 30+ UPS emails. None of them are populating and even though my Amazon forward address is set to nothing, I'm still getting the same errors. Not sure what is happening or what other logs to provide.

Enable debug logging to see what's going on.

same for me Fedex, USPS, and Amazon seem to be working but UPS is not

Check these lines and see if they match any of your UPS emails:
https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/blob/6abdb93cc06ab5ade630ce5ca797e0283ebb7fe0/custom_components/mail_and_packages/const.py#L153-L174

UPS Email address<EMAIL_ADDRESS>my sublect line is
first notice UPS Update: Package Scheduled for Delivery Tomorrow
Second notice UPS Pre-Arrival: Your Driver is Arriving Soon! Follow on a Live Map.
Third notice UPS Update: Package Scheduled for Delivery Today
Forth Notice Your UPS Package was delivered

So your counter should have shown ups_delivering: 1 on notice 3 and notice 4 would be ups_delivered: 1.

After enabling the debug logging, the only error that keeps showing up is the "Unexpected HTML format found" There are no other entries for the integration, only that one.
None of the UPS sensors are showing anything other than 0, or whatever their default is. The USPS/FedEx continues to work fine.

None of the UPS sensors are showing anything other than 0

This would mean the UPS emails are not coming from<EMAIL_ADDRESS>and/or the subjects don't match.

Would need to see the debug logs.

So your counter should have shown ups_delivering: 1 on notice 3 and notice 4 would be ups_delivered: 1.

Nope it never happened

None of the UPS sensors are showing anything other than 0

This would mean the UPS emails are not coming from<EMAIL_ADDRESS>and/or the subjects don't match.

I just checked the email and they are all coming from<EMAIL_ADDRESS>And an example subject is:
UPS Shipping Notification, Tracking Number 1Zxxxxxxxxxxxxx
Me and @trentjw seem to have the same exact issue as my 4 notices are all the same and match up with what he is experiencing.
@trentjw Did you just set up the integration or did you have it working previously before and is now broken? Maybe UPS changed something that broke the parser?

It worked with ups when I first installed it but only the notice that something was delivered

Would need to see the debug logs.

As I've stated before, the only thing in the debug logs is this single line that keeps happening over and over, nothing else is written in the log
2022-12-19 18:47:09.454 WARNING (SyncWorker_4) [custom_components.mail_and_packages.helpers] Unexpected html format found.

Those are not debug logs, please see this link to enable debug logging.

Those are not debug logs, please see this link to enable debug logging.

Okay gotcha. I enabled debug logging from the integrations section of HA and the integration didn't produce any debug logs, this way did however there doesn't seem to be anything throwing errors, just everything coming back as 0 for UPS
``

If I'm not mistaken, the issue seems to be that the subject line is looking specifically for "package" but UPS emails send "parcel"
Could that the discrepancy?

Yes, that's why I asked for you guys to verify the subject lines :wink:
Is this the full subject line?
"Your UPS Parcel was delivered"
if so what did your "out for delivery" subject line look like?

Yes, that's why I asked for you guys to verify the subject lines 😉
Is this the full subject line? "Your UPS Parcel was delivered"
if so what did your "out for delivery" subject line look like?

Ah, a blunder on my part. I read parcel/packages the same way and thus didn't notice the syntax difference. 😂
UPS Update: Parcel Scheduled for Delivery Today
Your UPS Parcel was delivered
UPS Update: New Scheduled Delivery Date and Estimated Delivery Time
UPS Shipping Notification, Tracking Number 1Zxxxxxxxxxxx
Are all subject line examples of what I receive

Yes, that's why I asked for you guys to verify the subject lines 😉
Is this the full subject line? "Your UPS Parcel was delivered"
if so what did your "out for delivery" subject line look like?

I copied and pasted my subject lines in a previous post

Should be solved in 0.3.5-b21.

Should be solved in 0.3.5-b21.

Fixed. Thanks!


Fix Tooltip content only have comma in content when hovering group chat with non-register users

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/22593
PROPOSAL: https://github.com/Expensify/App/issues/22593#issuecomment-1631636779
Tests

On Web/Desktop

Create a new group chat with non-register users (For example a group with 4 non-register users userA, userB, userC, userD)
Go to Search page, search the group and hover the subscript avatar of the group chat.
Verify that Tooltip content should have the user email
Verify that in the Search page, it's not show options for 4 non-register users above.

On mweb/Native apps

Create a new group chat with non-register users (For example a group with 4 non-register users userA, userB, userC, userD)
Go to Search page, search the group and hover the subscript avatar of the group chat.
Verify that in the Search page, it's not show options for 4 non-register users above.

[x] Verify that no errors appear in the JS console

Offline tests

Same as Tests
QA Steps

Same as Tests

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/9639873/e25b2e61-c337-48d4-a63f-4176a4458fd3

Mobile Web - Chrome

https://github.com/Expensify/App/assets/9639873/c52fcb8a-56a3-4543-91f9-d1da354b21fa

Mobile Web - Safari

https://github.com/Expensify/App/assets/9639873/2f89b242-2f74-48ea-b2f7-1769435a459e

Desktop

https://github.com/Expensify/App/assets/9639873/6df5b38c-fec8-4a8b-b119-92d95a562369

iOS

https://github.com/Expensify/App/assets/9639873/ca63d444-8d1a-499d-b35d-169508e072f0

Android

https://github.com/Expensify/App/assets/9639873/e6821040-314e-437c-a132-cb1a0cb1145f

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Sorry I'd like to know what the HOLD was for in the issue before moving forward with this, also before we officially move forward we should definitely pull main here & re-test, but let's hold off till we know if we need these changes now still

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.3.58-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.3.59-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Add missing indexes

Add following missing indexes, to have better performance and avoid performance issues. Add these to the migration clients as well.
CREATE INDEX IDX_AUTHORIZATION_CODE ON IDN_OAUTH2_AUTHORIZATION_CODE (AUTHORIZATION_CODE,CONSUMER_KEY_ID);

CREATE INDEX IDX_UM_HYBRID_REMEMBER_ME ON UM_HYBRID_REMEMBER_ME (UM_USER_NAME, UM_TENANT_ID);

CREATE INDEX IDX_UM_USER_ATTRIBUTE ON UM_USER_ATTRIBUTE (UM_USER_ID);

Found below missing indexes in 5.7.0 as well, which were identified in 5.4.0 performance tests.
CREATE INDEX IDX_GET_USR_ATTR_NAME_VALUE ON UM_USER_ATTRIBUTE(UM_ATTR_NAME, UM_ATTR_VALUE);
CREATE UNIQUE INDEX IDX_HYBRID_ROLE_NAME ON UM_HYBRID_ROLE (UM_ROLE_NAME, UM_TENANT_ID);


middle mouse button alternative

Operating system or device - Godot version:
Win 7 32bit Pro
Godot 2.1
desktop computer with mouse
Issue description (what happened, and what was expected):
Middle mouse button is too hard to use because it is also the scroll wheel.
This has come up in other issues
https://github.com/godotengine/godot/issues/53
If anybody can make it so that e.g. maybe I can use the spacebar to replace middle-mouse-button, that would be cool. I looked in Settings but it doesn't look like I can do that?
(thanks for a cool app)

In the editor settings, under "3d Editor", activate "Emulate 3 Button Mouse".
Use the "Orbit"/"Pan"/"Zoom Modifier" settings to configure the keys to use

Already implemented, so closing


Player Galaxy And Position Not Saving

nmssavetool -g 1 -p* --galaxy *

Does not move player -

Not writing to .json decryption save and/or not writing to encrypted game save in:
C:\Users\username\AppData\Roaming\HelloGames\NMS\
nmssavetool does give successful confirmation of written event
Does change "date modified" of the save.hm in above listed directory
NMS 1.38

I can't repro this. Here is the console output from my attempt to repro:
>nmssavetool.exe info -g 1
Save file for game slot: 1
  Save file version: 4616 (Normal)
  Platform: Win|Final
  Health: 8
  Player Health: 8
  Exosuit Shield: 100
  Ship Health: 6
  Ship Shield: 200
  Units: 2,008,587,121
  Current Ship Seed: 0xF52167A61A6710BB
  Multitool Seed: 0xC4508B5BBF1BEE46
  Freighter Seed: 0xEA34CF7FCB06B46F
  Coordinates (x,y,z,ssi): (-1133,6,24,46)
  Coordinates (galactic): 0392:0085:0817:002E
  Coordinates (portal): 002E06018B93

>nmssavetool.exe relocate -g 1 -p 003444011C11 --galaxy 1
Player relocated. Current position: Galactic coordinates: 0410:00C3:0810:0034 ; Portal coordinates: 003444011C11 ; Voxel coordinates: (-1007,68,17,52). Planet Index = 0
Wrote latest game save for game slot 1

>nmssavetool.exe info -g 1
Save file for game slot: 1
  Save file version: 4616 (Normal)
  Platform: Win|Final
  Health: 8
  Player Health: 8
  Exosuit Shield: 100
  Ship Health: 6
  Ship Shield: 200
  Units: 2,008,587,121
  Current Ship Seed: 0xF52167A61A6710BB
  Multitool Seed: 0xC4508B5BBF1BEE46
  Freighter Seed: 0xEA34CF7FCB06B46F
  Coordinates (x,y,z,ssi): (-1007,68,17,52)
  Coordinates (galactic): 0410:00C3:0810:0034
  Coordinates (portal): 003444011C11