ionic serve gives ERRor

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I updated the node and got the latest ionic version; when I use "ionic serve" I got an error
Here is the error that I see from the terminal
> Funbors@ ionic:serve /Users/burc/Funbors
> ionic-app-scripts serve "--v2" "--lab" "--address" "<IP_ADDRESS>" "--port" "8100" "--livereload-port" "35729"

module.js:472
    throw err;
    ^

Error: Cannot find module 'reflect-metadata'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/burc/Funbors/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:1)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ionic:serve" "--" "--v2" "--lab" "--address" "<IP_ADDRESS>" "--port" "8100" "--livereload-port" "35729"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! Funbors@ ionic:serve: `ionic-app-scripts serve "--v2" "--lab" "--address" "<IP_ADDRESS>" "--port" "8100" "--livereload-port" "35729"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Funbors@ ionic:serve script 'ionic-app-scripts serve "--v2" "--lab" "--address" "<IP_ADDRESS>" "--port" "8100" "--livereload-port" "35729"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Funbors package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts serve "--v2" "--lab" "--address" "<IP_ADDRESS>" "--port" "8100" "--livereload-port" "35729"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs Funbors
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls Funbors
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!

This issue was moved to driftyco/ionic-cli#1913


FindPointsGSLIB behavior when point_pos is empty on a rank.

Summary :
I think find points should account for the possibility of a rank requesting no points. Currently, an assertion in DistributePointInfoToOwningMPIRanks fails if a rank didn't request any points.
Description:
I've been using the new FindPointsGSLIB features DistributePointInfoToOwningMPIRanks and DistributeInterpolatedValues to transfer boundary values between two meshes that only overlap on a shared boundary, such as a unit square [0,1]^2 and another one translated to the right, [1,2] x [0,1].
My workflow is as follows:

Generate list of points (either quadrature or nodal) on boundary of Mesh A.
Create a FindPointsGSLIB object using mesh B, run Setup, FindPoints, and  DistributePointInfoToOwningMPIRanks.
Do custom interpolation
Run DistributeInterpolatedValues and use values as needed on mesh A

The problem is that in step 1, a rank might not overlap with the boundary of interest and therefore not find any points to request, so the input point_pos is empty on that rank. Then DistributePointInfoToOwningMPIRanks fails because of an assertion on points_cnt.
Current workaround:
On a rank that would fail this assertion, request a dummy point that I know is on the mesh, and discard the interpolated result.
The above procedure and workaround is for when mesh A and mesh B use the same MPI_Comm, but I think this issue also applies to the more complicated case of mesh A and mesh B using different communicators.

Thanks for bringing this to our attention @victor-decaria-nnl. I will put in a fix this week.

Hi @victor-decaria-nnl, please have a look at #4461.
Regarding using meshes with different communicators.. You could use OversetFindPointsGSLIB class which supports functionality for overlapping meshes, but even in that case, the MPI communicator in the constructor must be the union of communicators for both mesh A and B.

OversetFindPointsGSLIB looks like it will work. I have some questions about its usage.
In my case, the communicators for mesh A and B are formed from a comm_split with only two colors. So I will construct with the larger communicator. Would I call setup once from each rank since the meshes are in disjoint groups? something like,
if(color == color_A)
   Setup(mesh_A, color_A, ....)
else
   Setup(mesh_B, color_B, ....)

And for use with the custom interpolation workflow, if mesh A needs values from mesh B, but mesh B doesn't need values for A, would I do
if(color == color_A)
   FindPoints(coords, <point_ids_all_set_to_mesh_B>, ...)
else
   // Does something need to be run from mesh B to avoid hanging?
   FindPoints(<empty_vector>, ....)

Thanks

@victor-decaria-nnl ,
Please have a look at this example that usage of OversetFindPointsGSLIB for overlapping grids.
The setup and FindPoints call should not be in separate if-else blocks. You can create an empty vector for ranks corresponding to mesh B.
Ketan

@victor-decaria-nnl, did the above ☝ help?


Cannot open AID channel with 0x87430002

Hi,
I am trying this out on Quectel RM520N and after adding the channel-group=1 to AID channel open it seemed that everything was working but now trying to use the same command to open the AID channel is failing with 0x87430002 which is UICC_SELECT_FAILED and not 0x87430003 which was UICC_INVALID_LOGICAL_CHANNEL.
Previously it would list the chip info, profiles and I even got halfway through enrolling a new profile but I seem to have hit a curl+mbedtls bug so I rebuilt with OpenSSL instead and that is when it just plain refuses to open the channel.
Honestly, the modem FW seems buggy as trying to access that AID channel over AT commands or over QMI will always fail, the only thing that worked was MBIM and using the Quectel LPAd previously to enroll profiles (Which I want to avoid and use lpac).
I am leaning towards the buggy FW as sometimes it replies to MBIM query instantly while sometimes they timeout and then next one just works.
I have ran out of ideas basically as everything looks like it should work, but its not.
root@OpenWrt:/tmp# ./lpac-mbim --device=/dev/wwan0mbim0 chip info
INFO: Connect
INFO: Open channel with AID a0000005591010ffffffff8900000100
Traceback (most recent call last):
  File "/tmp/./lpac-mbim", line 164, in <module>
    main()
  File "/tmp/./lpac-mbim", line 149, in main
    payload = handle_type_apdu(req["payload"]["func"], req["payload"]["param"])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/./lpac-mbim", line 75, in handle_type_apdu
    channel_id = open_channel(param)
                 ^^^^^^^^^^^^^^^^^^^
  File "/tmp/./lpac-mbim", line 51, in open_channel
    output_cmd = run_mbimcli(f'--ms-set-uicc-open-channel="application-id={aid},channel-group=1"').split('\n')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/./lpac-mbim", line 30, in run_mbimcli
    output_bytes = subprocess.check_output(["mbimcli", "-p", "-d", DEV] + command.split(),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
  File "/usr/lib/python3.11/subprocess.py", line 550, in run
  File "/usr/lib/python3.11/subprocess.py", line 1209, in communicate
  File "/usr/lib/python3.11/subprocess.py", line 2109, in _communicate
  File "/usr/lib/python3.11/subprocess.py", line 1253, in _check_timeout
subprocess.TimeoutExpired: Command '['mbimcli', '-p', '-d', '/dev/wwan0mbim0', '--ms-set-uicc-open-channel=application-id=a0000005591010ffffffff8900000100,channel-group=1']' timed out after 10 seconds
root@OpenWrt:/tmp# ./lpac-mbim --device=/dev/wwan0mbim0 chip info
INFO: Connect
INFO: Open channel with AID a0000005591010ffffffff8900000100
Error executing command: error: operation failed: Unknown status 0x87430002

Traceback (most recent call last):
  File "/tmp/./lpac-mbim", line 164, in <module>
    main()
  File "/tmp/./lpac-mbim", line 149, in main
    payload = handle_type_apdu(req["payload"]["func"], req["payload"]["param"])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/./lpac-mbim", line 75, in handle_type_apdu
    channel_id = open_channel(param)
                 ^^^^^^^^^^^^^^^^^^^
  File "/tmp/./lpac-mbim", line 51, in open_channel
    output_cmd = run_mbimcli(f'--ms-set-uicc-open-channel="application-id={aid},channel-group=1"').split('\n')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'

Hi @robimarko does it work under Windows?
Just to understand if the firmware is good or not.
I've seen on my last test on ARM machine that MBIM gives some error, while the same procedures works well on x86 environment

I dont have a way to test in Windows, unfortunately.
FW is not happy about something as its returning UICC_SELECT_FAILED instead of UICC_INVALID_LOGICAL_CHANNEL

Is embedded eSIM or physical?

Modem is part of a complete router so I think they soldered the eUICC chip to the PCB and wired it directly to the second RM520N slot.
eUICC seems to be live as getting the slot info via QMI utils identifies that its eUICC, present and active as well as prints the EID.

But if it's RM520, you can remove it from the board and put into an adapter using an external eSIM right?

after adding the channel-group=1 to AID channel open it seemed that everything was working but now trying to use the same command to open the AID channel is failing with 0x87430002 which is UICC_SELECT_FAILED

This is perfectly fine - you should close the channel before opening it again.
Or just reboot the modem with mbimcli --intel-modem-reboot or by any other means.

subprocess.TimeoutExpired: Command '['mbimcli', '-p', '-d', '/dev/wwan0mbim0', '--ms-set-uicc-open-channel=application-id=a0000005591010ffffffff8900000100,channel-group=1']' timed out after 10 seconds

If you don't run ModemManager (better you don't for the bring up) - exclude -p option from the script:
https://github.com/stich86/lpac-libmbim-wrapper/issues/4

But if it's RM520, you can remove it from the board and put into an adapter using an external eSIM right?

Yes, I even have some spare modems but I dont have any external eUICC cards(If somebody has recommendations for which to get that would be great)

after adding the channel-group=1 to AID channel open it seemed that everything was working but now trying to use the same command to open the AID channel is failing with 0x87430002 which is UICC_SELECT_FAILED

This is perfectly fine - you should manually close the channel before opening it again, as there was a script error and it wasn't closed normally (@stich86 we should think about exception handling for that). Or just reboot the modem with mbimcli --intel-modem-reboot or by any other means.

But that is the thing, I physically rebooted the whole device multiple times and its now refusing to open that AID with a UICC_SELECT_FAILED error instead.
I have tried to close the channel but it fails with the same error code.

subprocess.TimeoutExpired: Command '['mbimcli', '-p', '-d', '/dev/wwan0mbim0', '--ms-set-uicc-open-channel=application-id=a0000005591010ffffffff8900000100,channel-group=1']' timed out after 10 seconds

If you don't run ModemManager (better you don't and stop it if you do, for the bring up) - exclude -p option from the script: #4

Yes, I dont have MM running intentionally and will drop the proxy for now.

I physically rebooted the whole device multiple times

FYI - rebooting the router doesn't necessary mean modem reboot, try the command I mentioned, just for the case.

I physically rebooted the whole device multiple times

FYI - rebooting the router doesn't necessary mean modem reboot, try the command I mentioned, just for the case.

Yes, that is why I physically pulled the power multiple times, unfortunately mbimcli --intel-modem-reboot does not seem to be supported.

I think that modem FW or the eUICC FW itself is messed up since now Quectel LPAd also fails.

@robimarko the other thing you could try is to update your modem fw to the latest version - my modem (Fibocom) didn't even support all these stuff before I did.

I dont have any external eUICC cards(If somebody has recommendations for which to get that would be great)

https://esim.5ber.com/ (Invitation Code 0PGA4Z)
https://shop.sysmocom.de/sysmoEUICC1-eUICC-for-consumer-eSIM-RSP/sysmoEUICC1

But if it's RM520, you can remove it from the board and put into an adapter using an external eSIM right?

Yes, I even have some spare modems but I dont have any external eUICC cards(If somebody has recommendations for which to get that would be great)

You can get Lenovo eSIM for 8€

I think that modem FW or the eUICC FW itself is messed up since now Quectel LPAd also fails on QMI init.

I don't know if it helps:
$ mbimcli --help-all |grep -i reset
  --ms-device-reset                                                                             Reset device
  --ms-set-uicc-reset=[(Pass Through Action)]                                                   Set UICC reset
  --ms-query-uicc-reset                                                                         Query UICC reset

@bam80 I am already running the latest FW (I opened a support case with Quectel to see if there is maybe a newer beta one that fixes this)
@stich86 I will try and see if that card is obtainable for me in Croatia as its seems quite rare

Well, today I seem to have managed to reset the modem somehow and now LPAC over AT works for everything expect for profile downloads.
It constantly fails on es10b_authenticate_server and I have tried 2 different profiles that use completely different SM-DP servers.

Are you using OpenSSL? Because LPAC uses curl, if it's with embedded TLS gives an error during profile download

Yes, I tried with both OpenSSL and mbedtls, but fail in the same way.
Here is an attempt with the betteroaming, I was able to enroll one BNE SIM today with Quectel LPAd and I could enable/disable/remove it just fine.
Trying to process notifications also fails on the same step.
LPAC_APDU=at LPAC_HTTP=curl AT_DEVICE=/dev/ttyUSB2 LIBEUICC_DEBUG_HTTP=1 LIBEUICC_DEBUG_APDU=1 lpac profile download -a 'LPA:1$rsp.truphone.com$QRF-BETTERROAMING-PMRDGIR2EARDEIT5'
{"type":"progress","payload":{"code":0,"message":"es10b_get_euicc_challenge_and_info","data":"rsp.truphone.com"}}
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 91, P2: 00, Lc: 03, Data: BF 2E 00
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data: BF 2E 12 80 10 31 07 99 F4 83 63 28 AE 0C 46 4F 9E 84 27 A3 7D
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 91, P2: 00, Lc: 03, Data: BF 20 00
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data: BF 20 61 82 03 02 02 02 A9 2C 04 14 81 37 0F 51 25 D0 B1 D4 08 D4 C3 B2 32 E6 D2 5E 79 5B EB FB 04 14 77 F0 BD 69 D6 0B DC 9E 31 DA 70 2B 22 1C 32 80 8B B8 E4 2A AA 2C 04 14 81 37 0F 51 25 D0 B1 D4 08 D4 C3 B2 32 E6 D2 5E 79 5B EB FB 04 14 77 F0 BD 69 D6 0B DC 9E 31 DA 70 2B 22 1C 32 80 8B B8 E4 2A
{"type":"progress","payload":{"code":0,"message":"es9p_initiate_authentication","data":"rsp.truphone.com"}}
[DEBUG] [HTTP] [TX] url: https://rsp.truphone.com/gsma/rsp2/es9plus/initiateAuthentication, data: {"smdpAddress":"rsp.truphone.com","euiccChallenge":"MQeZ9INjKK4MRk+ehCejfQ==","euiccInfo1":"vyBhggMCAgKpLAQUgTcPUSXQsdQI1MOyMubSXnlb6/sEFHfwvWnWC9yeMdpwKyIcMoCLuOQqqiwEFIE3D1El0LHUCNTDsjLm0l55W+v7BBR38L1p1gvcnjHacCsiHDKAi7jkKg=="}
[DEBUG] [HTTP] [RX] rcode: 200, data: {"header":{"functionExecutionStatus":{"status":"Executed-Success"}},"transactionId":"0000000016A5C150","serverSigned1":"MECACAAAAAAWpcFQgRAxB5n0g2MorgxGT56EJ6N9gxByc3AudHJ1cGhvbmUuY29thBDWbjZVo5mI6Jiimbof7wWl","serverSignature1":"XzdAp3XfYIxeqD10QgZre0eno+FvwHKHtmaG9W3LN6xVGfr4jkyTlNTe7CKAE3rlIJZhOIgHjiwXLZGSEw0b+lxBpQ==","euiccCiPKIdToBeUsed":"BBSBNw9RJdCx1AjUw7Iy5tJeeVvr+w==","serverCertificate":"MIICgzCCAiigAwIBAgIQZAVRhSGL0nffpH10bZlDJDAKBggqhkjOPQQDAjBEMRgwFgYDVQQKEw9HU00gQXNzb2NpYXRpb24xKDAmBgNVBAMTH0dTTSBBc3NvY2lhdGlvbiAtIFJTUDIgUm9vdCBDSTEwHhcNMjQwMjI3MDAwMDAwWhcNMjcwMjI2MjM1OTU5WjBsMQswCQYDVQQGEwJHQjEPMA0GA1UEBxMGTG9uZG9uMSUwIwYDVQQKExxUUCBHbG9iYWwgT3BlcmF0aW9ucyBMaW1pdGVkMQwwCgYDVQQLEwNSU1AxFzAVBgNVBAMTDjFHTE9CQUwgU00tRFArMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEb79IWSFYSQw31lOA9s8cFewC+w4Ey5eIo3FzG9KvpifqkGwSvQK3SgXAgWPOHv/cNXMy3NnDE5cpkiIh1qelHKOB0zCB0DAXBgNVHSABAf8EDTALMAkGB2eBEgECAQQwTQYDVR0fBEYwRDBCoECgPoY8aHR0cDovL2dzbWEtY3JsLnN5bWF1dGguY29tL29mZmxpbmVjYS9nc21hLXJzcDItcm9vdC1jaTEuY3JsMA4GA1UdDwEB/wQEAwIHgDAWBgNVHREEDzANiAsrBgEEAYHsRQEBATAdBgNVHQ4EFgQUGPBMVNemFzU7BmLhvQVUdNGc0z8wHwYDVR0jBBgwFoAUgTcPUSXQsdQI1MOyMubSXnlb6/swCgYIKoZIzj0EAwIDSQAwRgIhAL+/2SeUldiglTHlXJcoyZt7dTNin7PVZKwMXK0JQFlyAiEA9Lr0dY6U1AOm9m63RqPG0vvyThkGcSgYLneU+tH6H7o="}
{"type":"progress","payload":{"code":0,"message":"es10b_authenticate_server","data":"rsp.truphone.com"}}
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 00, Lc: 78, Data: BF 38 82 03 52 30 40 80 08 00 00 00 00 16 A5 C1 50 81 10 31 07 99 F4 83 63 28 AE 0C 46 4F 9E 84 27 A3 7D 83 10 72 73 70 2E 74 72 75 70 68 6F 6E 65 2E 63 6F 6D 84 10 D6 6E 36 55 A3 99 88 E8 98 A2 99 BA 1F EF 05 A5 5F 37 40 A7 75 DF 60 8C 5E A8 3D 74 42 06 6B 7B 47 A7 A3 E1 6F C0 72 87 B6 66 86 F5 6D CB 37 AC 55 19 FA F8 8E 4C 93 94 D4 DE EC 22 80 13 7A E5 20
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 01, Lc: 78, Data: 96 61 38 88 07 8E 2C 17 2D 91 92 13 0D 1B FA 5C 41 A5 04 14 81 37 0F 51 25 D0 B1 D4 08 D4 C3 B2 32 E6 D2 5E 79 5B EB FB 30 82 02 83 30 82 02 28 A0 03 02 01 02 02 10 64 05 51 85 21 8B D2 77 DF A4 7D 74 6D 99 43 24 30 0A 06 08 2A 86 48 CE 3D 04 03 02 30 44 31 18 30 16 06 03 55 04 0A 13 0F 47 53 4D 20 41 73 73 6F 63 69 61 74 69 6F 6E 31 28 30 26 06 03 55 04 03
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 02, Lc: 78, Data: 13 1F 47 53 4D 20 41 73 73 6F 63 69 61 74 69 6F 6E 20 2D 20 52 53 50 32 20 52 6F 6F 74 20 43 49 31 30 1E 17 0D 32 34 30 32 32 37 30 30 30 30 30 30 5A 17 0D 32 37 30 32 32 36 32 33 35 39 35 39 5A 30 6C 31 0B 30 09 06 03 55 04 06 13 02 47 42 31 0F 30 0D 06 03 55 04 07 13 06 4C 6F 6E 64 6F 6E 31 25 30 23 06 03 55 04 0A 13 1C 54 50 20 47 6C 6F 62 61 6C 20 4F 70
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 03, Lc: 78, Data: 65 72 61 74 69 6F 6E 73 20 4C 69 6D 69 74 65 64 31 0C 30 0A 06 03 55 04 0B 13 03 52 53 50 31 17 30 15 06 03 55 04 03 13 0E 31 47 4C 4F 42 41 4C 20 53 4D 2D 44 50 2B 30 59 30 13 06 07 2A 86 48 CE 3D 02 01 06 08 2A 86 48 CE 3D 03 01 07 03 42 00 04 6F BF 48 59 21 58 49 0C 37 D6 53 80 F6 CF 1C 15 EC 02 FB 0E 04 CB 97 88 A3 71 73 1B D2 AF A6 27 EA 90 6C 12 BD 02
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 04, Lc: 78, Data: B7 4A 05 C0 81 63 CE 1E FF DC 35 73 32 DC D9 C3 13 97 29 92 22 21 D6 A7 A5 1C A3 81 D3 30 81 D0 30 17 06 03 55 1D 20 01 01 FF 04 0D 30 0B 30 09 06 07 67 81 12 01 02 01 04 30 4D 06 03 55 1D 1F 04 46 30 44 30 42 A0 40 A0 3E 86 3C 68 74 74 70 3A 2F 2F 67 73 6D 61 2D 63 72 6C 2E 73 79 6D 61 75 74 68 2E 63 6F 6D 2F 6F 66 66 6C 69 6E 65 63 61 2F 67 73 6D 61 2D 72
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 05, Lc: 78, Data: 73 70 32 2D 72 6F 6F 74 2D 63 69 31 2E 63 72 6C 30 0E 06 03 55 1D 0F 01 01 FF 04 04 03 02 07 80 30 16 06 03 55 1D 11 04 0F 30 0D 88 0B 2B 06 01 04 01 81 EC 45 01 01 01 30 1D 06 03 55 1D 0E 04 16 04 14 18 F0 4C 54 D7 A6 17 35 3B 06 62 E1 BD 05 54 74 D1 9C D3 3F 30 1F 06 03 55 1D 23 04 18 30 16 80 14 81 37 0F 51 25 D0 B1 D4 08 D4 C3 B2 32 E6 D2 5E 79 5B EB FB
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 11, P2: 06, Lc: 78, Data: 30 0A 06 08 2A 86 48 CE 3D 04 03 02 03 49 00 30 46 02 21 00 BF BF D9 27 94 95 D8 A0 95 31 E5 5C 97 28 C9 9B 7B 75 33 62 9F B3 D5 64 AC 0C 5C AD 09 40 59 72 02 21 00 F4 BA F4 75 8E 94 D4 03 A6 F6 6E B7 46 A3 C6 D2 FB F2 4E 19 06 71 28 18 2E 77 94 FA D1 FA 1F BA A0 2E 80 22 51 52 46 2D 42 45 54 54 45 52 52 4F 41 4D 49 4E 47 2D 50 4D 52 44 47 49 52 32 45 41 52
[DEBUG] [APDU] [RX] SW1: 90, SW2: 00, Data:
[DEBUG] [APDU] [TX] CLA: 81, INS: E2, P1: 91, P2: 07, Lc: 0F, Data: 44 45 49 54 35 A1 08 80 04 35 29 06 11 A1 00
[DEBUG] [APDU] [RX] SW1: 32, SW2: 33, Data: BF 38 82 06 37 A0 82 06 33 30 82 01 11 80 08 00 00 00 00 16 A5 C1 50 83 10 72 73 70 2E 74 72 75 70 68 6F 6E 65 2E 63 6F 6D 84 10 D6 6E 36 55 A3 99 88 E8 98 A2 99 BA 1F EF 05 A5 BF 22 81 AF 81 03 02 03 01 82 03 02 02 02 83 03 42 62 00 84 0F 81 01 00 82 04 00 0C E7 A8 83 04 00 00 53 15 85 05 06 7F 36 F7 C0 86 03 0D 01 00 87 03 02 03 00 88 02 03 D8 A9 2C 04 14 81 37 0F 51 25 D0 B1 D4 08 D4 C3 B2 32 E6 D2 5E 79 5B EB FB 04 14 77 F0 BD 69 D6 0B DC 9E 31 DA 70 2B 22 1C 32 80 8B B8 E4 2A AA 2C 04 14 81 37 0F 51 25 D0 B1 D4 08 D4 C3 B2 32 E6 D2 5E 79 5B EB FB 04 14 77 F0 BD 69 D6 0B DC 9E 31 DA 70 2B 22 1C 32 80 8B B8 E4 2A 8B 01 02 04 03 01 00 00 0C 14 54 53 2D 43 41 2D 55 50 2D 30 38 32 33 20 20 20 20 20 20 20 A0 2E 80 22 51 52 46 2D 42 45 54 54 45 52 52 4F 41 4D 49 4E 47 2D 50 4D 52 44 47 49 52 32 45 41 52 44 45 49 54 35 A1 08 80 04 35 29 06 11 A1 00 5F 37 40 88 8A 18 F2 02 28 50 B0 F5 74 D3 1E 73 E3 AF A7 27 B0 CF 22 C4 0F 55 2A D3 B4 EF B8 44 89 6E 96 77 DE B3 95 9F 6E 03 4F FF 6F 66 C3 8E 1E 01 F2 0B DB 6A 5E 82 4B E9 73 CD 07 5A 0A E5 75 E4 BF 30 82 02 0A 30 82 01 B0 A0 03 02 01 02 02 11 00 B4 17 EB D8 D3 FA 33 57 B8 B0 29 78 2D 71 6E D9 30 0A 06 08 2A 86 48 CE 3D 04 03 02 30 4D 31 0B 30 09 06 03 55 04 06 13 02 4D 58 31 24 30 22 06 03 55 04 0A 0C 1B 47 45 4D 41 4C 54 4F 20 4D 45 58 49 43 4F 20 53 2E 41 2E 20 44 45 20 43 2E 56 2E 31 18 30 16 06 03 55 04 03 0C 0F 47 65 6D 61 6C 74 6F 20 45 55 4D 20 43 56 41 30 20 17 0D 32 32 30 35 31 35 30 30 30 30 30 30 5A 18 0F 39 39 39 39 31 32 33 31
{"type":"lpa","payload":{"code":-1,"message":"es10b_authenticate_server","data":""}}

Well, this modem is getting weirder and weirder.
If AT+QESIM="lpa_enable" is set to 1 then you cannot externally open the ISD-R applet, but if you set it to 0 and reset the modem then you can but profile download fails with the es10b_authenticate_server error.

Ok, I will close this as I found out that AT+QESIM="lpa_enable" in the modem will conflict with the ISD-R applet so you cannot open it externally.
So, disabling it and moving to QMI (I will upstream the generic QMI backend to LPAC) works just fine.


Suggestion: Add separator as cell component

Rather than having a textual description of separators, it could be treated on the same level as an electrode. This is similar to the suggestion of allowing specification of a reference electrode for 3-electrode measurements.

Counter-suggestion is to make it clearer that separators, additivies etc. can be added as additional components of an electrolyte or electrode.


Invitation e-mail not sent but logged

OK, when I click the invite button, the e-mail is never sent but it's logged into development.log.  Is there something that needs to be overridden that I'm missing?

Probably your system is not setup to sent an email. You can try to set this in config/environments/development.rb
 config.action_mailer.delivery_method = :sendmail

Hi, the following script worked from the command line so I'm not sure what's the issue in regards to the Rails setup.  I'll experiment with  this a little more and thanks for the information
require 'rubygems'
require 'action_mailer'
require 'configuration'

ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = Configuration.settings['mailer'].symbolize_keys

ActionMailer::Base.view_paths= File.dirname(__FILE__)

class Mailer < ActionMailer::Base

  default :from =><EMAIL_ADDRESS>
  def status_email( status )

    @status = status

    mail(   :to      => "TO-TEST<EMAIL_ADDRESS>            :subject => "Video Upload Status") do |format|
                format.text
                format.html
    end
  end
end

if __FILE__ == $0
  email = Mailer.status_email( 'Failed' )
  # puts email
  email.deliver
end

I understood you in #179 it was fixed too

Have you changed config.mailer_sender in config/initializers/devise.rb?

Yes, I have set the config.mailer_sender in config/initializers/devise.rb.


Replace view model instances with modules (singletons)

There's no need to have multiple instances of view models so a single module (singleton) should suffice.
Dependency Injection is done through import which can be replaced with mocks with Jest.
Object.defineProperties() can be done in window instead of this (or just use this because its bound to window by default).

Not doing this because unit testing will be harder because the state will be part of the window object which cannot be recreated or reset.


Review  and test plugin with Gazebo 8

I didn't get what this task is about. The plugin is working fine with Gazebo 8

It was a note taken last week. So perhaps it's done already ;)

I think this is about checking those deprecated API warnings we get.


[MRG] Fix exception when a categorical param is Iterable

If the possible categorical params are Iterables (lists, tuples, etc. - for example, hidden_layer_sizes in MLPClassifier), BayesSearchCV will fail with an exception. This solves this issue.
I imagine that it is not really necessary to convert the list to a numpy array in Categorical inverse_transform, but I kept it for consistency and in case there is some behavior that needs arrays specifically that I don't know of. Still, if possible, I'd just return the normal Python list.
Solves https://github.com/scikit-optimize/scikit-optimize/issues/950

Hello @Yard1! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file skopt/searchcv.py:

Line 574:13: E722 do not use bare 'except'

In the file skopt/space/space.py:

Line 691:80: E501 line too long (82 > 79 characters)

@kiudee FYI you may want to implement this for your own fork too :)

@Yard1 thanks for the notification. Since bayes-skopt imports from skopt, it should automatically be fixed as soon as a new version of scikit-optimize is released.

@kiudee I think your current implementation overwrites the changes here, that's why I pinged you.

@Yard1 true, I did not see that BayesSearchCV was also changed.
I started a pull request on my side as well:
https://github.com/kiudee/bayes-skopt/pull/87


chore(deps): update typescript-eslint

I don't think this is a correct workaround, but merging for now.
Please someone give us advices.


Present UIImagePickerController as SPStorkController

Is it possible to present UIImagePickerController as SPStorkController? When I try to do this it presents in full screen.

You set custom presentation style?

Sure, here is a sample project, check it please.
https://github.com/fawzirifai/TestingUIImagePickerController/

I tried it, it really is. I do not know yet why this is not working.

I encounter the same problem today.Is there any workaround?

@Kamihimmel I have not found a solution for now


[UI] Dont Display File-Conflicts on merged pulls

gitea version: 1.12.0+dev-251-g d4096ab6a
test url: https://gitea.com/gitea/go-sdk/pulls?q=&type=all&sort=&state=closed&labels=&milestone=0&assignee=0

I disagree.
Should be still on status quo because this informs PR openers to solve the conflicts sooner, given the file count.

@bagasme of ALREADY merged pulls ?!?

@6543 AHA! I don't see the context.
Anyway, conflicted files count should only on open PRs, not closed one...

conflicted files count should only on open PRs, not closed one...

thats exactly what I suggest

This is not only a UI problem. My question is: why are these values even calculated for merged PRs? PRs can't be re-opened AFAIK.

If I could get #10132 to work after the latest more enforce locking this should stop happening.


kwm running fine, doesn't seem to function

I've tried building kwm from the master source, and tried the 2.2.0 release binaries. I've also tried the homebrew release. kwm always builds and executes with no problem but there's no indication that it's actually working.
I don't get any window tiling after executing. It's as if it's not even there.
I have, however, noticed a slew of messages coming from the Console every time I run kwm
16/05/2016 6:23:33.533 PM com.apple.xpc.launchd[1]: (homebrew.mxcl.kwm) The UserName key is not supported for non-System services.
16/05/2016 6:23:33.533 PM com.apple.xpc.launchd[1]: (homebrew.mxcl.kwm) This service is defined to be constantly running and is inherently inefficient.
16/05/2016 6:23:33.578 PM launchservicesd[80]: SecTaskLoadEntitlements failed error=22
16/05/2016 6:23:33.581 PM launchservicesd[80]: SecTaskLoadEntitlements failed error=22
16/05/2016 6:23:33.583 PM launchservicesd[80]: SecTaskLoadEntitlements failed error=22
16/05/2016 6:23:33.602 PM appleeventsd[50]: SecTaskLoadEntitlements failed error=22
I also tried to check the ports with
lsof -i :3020
which returns:
COMMAND    PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
kwm       4080 dayuna    4u  IPv4 0x13cc29ce3b1eb03d      0t0  TCP localhost:cifs (LISTEN)
kwm-overl 4082 dayuna    4u  IPv4 0x13cc29ce3b1eb03d      0t0  TCP localhost:cifs (LISTEN)
I have command line tools installed with the latest version of Xcode. Running OS X 11.1.3
Any help would be much appreciated.

Hello, if possible follow these steps:

In System Preferences -> Security & Privacy -> Accessibility remove from the list kwm and Terminal if present
Restart computer
Clone the repository and run make command, this builds a version with debug logging enabled
Launch kwm directly not with launchctl : ./bin/kwm (should ask to grant kwm and or terminal accessibility privileges)
Make sure the kwmrc in the ~/.kwm directory has the right syntax for the version your building (example kwmrc in the repository works correctly only for latest master

Report back with logs and we should be see what's wrong.

Hey thanks for your help.
So I uninstalled the brew version (which I was running) and removed both kwm and iTerm from Accessibility.
I restarted, cloned the repository and ran make and can tell I'm running a debug build as when I run ./bin/kwm it's output in the iTerm window is verbose.
However I can't find the logfiles. I have added StandardOutPath and StandardErrorPath to the plist file but no files are being generated for me.

Although now that I think about it editing the plist file shouldn't change anything since I'm running natively and not through launchctl. Can you point me in the right direction?

Oh sorry with logs I meant the output kwm in the iTerm window.

Hmmm...
this is what I get:
Skytower:kwm dayuna$ ./bin/kwm
Local Daemon is now running..
ChangeSplitRatio() New Split-Ratio is 0.5
Creating screen info for display ID: 69503784 Resolution: 2560x1440 Origin: (0,0)
DisplayID 69503784 has index 0 and Identifier 787A3BBE-A85A-50D7-0B2B-CE37F71C1183
Doesn't seem like something out of the ordinary.

and opening new windows, moving from a space to another etc.. doesn't print out anything?

nope it hangs right at the DisplayID message and won't print any of my actions.

Can you post your kwmrc ?

I'm using the default kwmrc from the master build.
/*
This is a sample config for Kwm

Commands prefixed with 'kwmc' will call
local functions corresponding to the
kwmc syntax.

To run an external program or command,
use the prefix 'exec' followed by command.
e.g 'exec mvim' would open macvim

Read file and execute commands as
if they were written inside kwmrc.

include filename

e.g: bindsym-commands in a separate file called 'binds'
include binds

Create variables that can be used in the below commands.
Variables are in file-scope and must be defined before
they can be used. Re-definition is also possible.
Variable names can not contain whitespace, where as
the value can.

define variable value

e.g: create a variable for the hyper-key
define hyper cmd+ctrl+alt+shift
kwmc bindsym hyper-h window -f west
*/

// Set default values for screen padding
kwmc config padding 40 20 20 20

// Set default values for container gaps
kwmc config gap 15 15

// Default tiling mode for Kwm (bsp | monocle | float | off)
kwmc config tiling bsp

// Let Kwm listen for hotkeys
kwmc config hotkeys on

// Automatically float windows that fail to resize
kwmc config float-non-resizable on

// Automatically resize the window to its container
kwmc config lock-to-container on

// Set focus-follows-mouse-mode to autoraise
kwmc config focus-follows-mouse autoraise

/* Focus-follows-mouse is temporarily disabled when
   a floating window has focus */
kwmc config standby-on-float on

/* The mouse will automatically move to the center
   of the focused window */
kwmc config mouse-follows-focus on

// Allow window focus to wrap-around
kwmc config cycle-focus screen

/* Override default settings for space 1 on screen 0
   kwmc config space 0 1 mode monocle
   kwmc config space 0 1 padding 100 100 100 100
   kwmc config space 0 1 gap 40 40 */

/* Override default settings for screen 1
   kwmc config display 1 mode bsp
   kwmc config display 1 padding 100 100 100 100
   kwmc config display 1 gap 40 40 */

// Set default container split-ratio
kwmc config split-ratio 0.5

// New splits become the left leaf-node
kwmc config spawn left

/* Add custom tiling rules for applications that
   does not get tiled by Kwm by default.
   This is because some applications do not have the
   AXWindowRole and AXStandardWindowSubRole */
kwmc rule owner="iTerm2" properties={role="AXDialog"}

/* The following commands create rules that
   blacklists an application from Kwms tiling

   kwmc rule owner="Steam" properties={float="true"}
   kwmc rule owner="Photoshop" properties={float="true"} */

/* The following command creates a rule that
   captures an application to the given screen,
   if the screen exists.

   kwmc rule owner="iTunes" properties={display="1"} */

// Enable border for focused window
kwmc config border focused on
kwmc config border focused size 2
kwmc config border focused color 0xFFBDD322
kwmc config border focused radius 6

// Enable border for marked window
kwmc config border marked on
kwmc config border marked size 2
kwmc config border marked color 0xFFCC5577
kwmc config border marked radius 6

// Enable the prefix mode
kwmc mode prefix prefix on
kwmc mode prefix timeout 0.75
kwmc mode prefix restore default
kwmc mode prefix color 0xFF458588

/*  Default Keybinds */
// Activate prefix mode
kwmc bindsym ctrl-s mode activate prefix

// Quit Kwm
kwmc bindsym cmd+alt+ctrl-q quit

// Launch iTerm2
kwmc bindsym cmd-return exec open -na /Applications/iTerm2.app

// Set Space Tiling Mode To BSP
kwmc bindsym cmd+ctrl-a space -t bsp

// Set Space Tiling Mode To Monocle
kwmc bindsym cmd+ctrl-s space -t monocle

// Set Space Tiling Mode To Floating
kwmc bindsym cmd+ctrl-d space -t float

// Rotate Window-Tree By 90degrees (Clockwise)
kwmc bindsym cmd+ctrl-r tree rotate 90

// Modify Container
kwmc bindsym prefix-s window -c split-mode toggle
kwmc bindsym prefix-h window -c reduce 0.05
kwmc bindsym prefix-l window -c expand 0.05
kwmc bindsym prefix-< window -c type toggle

// Set Temporary Window Container
kwmc bindsym prefix-f window -z fullscreen
kwmc bindsym prefix-d window -z parent
kwmc bindsym prefix-w window -t focused

// Mark Window
kwmc bindsym cmd+alt+ctrl-m window -mk focused
kwmc bindsym cmd+alt+ctrl-h window -mk west wrap
kwmc bindsym cmd+alt+ctrl-l window -mk east wrap
kwmc bindsym cmd+alt+ctrl-j window -mk south wrap
kwmc bindsym cmd+alt+ctrl-k window -mk north wrap

// Give Focus To Window
kwmc bindsym cmd+alt-h window -f west
kwmc bindsym cmd+alt-l window -f east
kwmc bindsym cmd+alt-j window -f south
kwmc bindsym cmd+alt-k window -f north

kwmc bindsym cmd+alt-n window -fm prev
kwmc bindsym cmd+alt-m window -fm next

// Give Focus To Screen
kwmc bindsym cmd+alt-1 display -f 0
kwmc bindsym cmd+alt-2 display -f 1
kwmc bindsym cmd+alt-3 display -f 2

// Swap Focused Window
kwmc bindsym ctrl+alt-h window -s west
kwmc bindsym ctrl+alt-j window -s south
kwmc bindsym ctrl+alt-k window -s north
kwmc bindsym ctrl+alt-l window -s east
kwmc bindsym ctrl+alt-m window -s mark

// Pseudo containers
kwmc bindsym cmd+ctrl+alt-p tree -pseudo create
kwmc bindsym cmd+ctrl+alt-o tree -pseudo destroy
kwmc bindsym ctrl+alt-p window -s prev
kwmc bindsym ctrl+alt-n window -s next

// Detach Focused Window And Reinsert In Direction
kwmc bindsym ctrl+shift-k window -m north
kwmc bindsym ctrl+shift-l window -m east
kwmc bindsym ctrl+shift-j window -m south
kwmc bindsym ctrl+shift-h window -m west

// Detach Marked Window And Reinsert At Focused Window
kwmc bindsym ctrl+shift-x window -m mark

// Move Focused Window To Space
kwmc bindsym ctrl+alt-left window -m space left
kwmc bindsym ctrl+alt-right window -m space right

// Move Focused Window To Screen
kwmc bindsym ctrl+alt-1 window -m display 0
kwmc bindsym ctrl+alt-2 window -m display 1
kwmc bindsym ctrl+alt-3 window -m display 2

// Increase Container Gaps
kwmc bindsym prefix-x space -g increase horizontal
kwmc bindsym prefix-y space -g increase vertical

// Decrease Container Gaps
kwmc bindsym prefix+shift-x space -g decrease horizontal
kwmc bindsym prefix+shift-y space -g decrease vertical

// Increase Screen Padding
kwmc bindsym prefix-left space -p increase left
kwmc bindsym prefix-right space -p increase right
kwmc bindsym prefix-up space -p increase top
kwmc bindsym prefix-down space -p increase bottom
kwmc bindsym prefix-p space -p increase all

// Decrease Screen Padding
kwmc bindsym prefix+shift-left space -p decrease left
kwmc bindsym prefix+shift-right space -p decrease right
kwmc bindsym prefix+shift-up space -p decrease top
kwmc bindsym prefix+shift-down space -p decrease bottom
kwmc bindsym prefix+shift-p space -p decrease all

// Autowrite
kwmc bindsym cmd-7 write \
kwmc bindsym cmd-8 write {
kwmc bindsym cmd-9 write }

Everything seems in order to me, the strange thing is that nothing is getting printed after the display id message... We could probably start debugging this better by adding additional logging to figure where it is blocking, but first can you check https://github.com/koekeishiya/kwm/issues/242#issuecomment-199408816 ? The "Display have separate spaces" should be active for kwm to work.

That was it! It's all running very smoothly now. Thank you for all your help. Now all I have to do is add to launchctl to have it run on startup?

Yep, just edit line 9 of com.koekeishiya.kwm.plist in the example directory to point it to kwm binary and copy it in the LaunchAgents directory. After that launchctl load ~/Library/LaunchAgents/com.koekeishiya.kwm.plist and you should be good to go.
You can also just compile a release version with make install instead of the debug build. You should also probably remove iTerm from the accessibility list since you probably don't want it there for security reasons.


error code 127 with yt-dlp

version 2.28 (snap), ubuntu 18.04
I have this 127 error code appearing but under different circumstances to those described previously (#1295 ). I'm trying to download video using yt-dlp, as follows
Config file:
# general settings
auto-reload yes
max-items 50
reload-time 30 # update all feeds every x minutes
reload-threads 100
prepopulate-query-feeds yes
cleanup-on-quit yes
confirm-mark-feed-read no
wrap-scroll no

# externel browser
browser "xdg-open %u"

#map ,d to download video
#comma used as prefix by default: https://newsboat.org/releases/2.10.1/docs/newsboat.html
macro d set browser "yt-dlp %u"; open-in-browser; set browser "xdg-open %u"

unbind-key ENTER
unbind-key j
unbind-key k
unbind-key J
unbind-key K

bind-key j down
bind-key k up
bind-key l open
bind-key h quit
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key ENTER open-in-browser
bind-key a toggle-article-read

# colours
color info default default reverse
color listnormal_unread cyan default
color listfocus blue default reverse bold
color listfocus_unread blue default reverse bold
color article cyan default
color listnormal yellow default

text-width 80

articlelist-format "%4i %f %D  %?T?|%-17T| ?%t"

Steps to reproduce the issue:

add this line to config: macro d set browser "yt-dlp %u"; open-in-browser; set browser "xdg-open %u"

in newsboat go to any item with a url to a video

type: ,d

the macro is suggested by a guy here: https://persrex.xyz/tech/rss.html. Using 'o' to open in my browser worked no problem before adding the macro, but with the macro in the config both o and ,d produce the comment "browser returned error code 127" (if i quit newsboat and run yt-dlp for the same weblink in the terminal it runs no problem at all)

i ran newsboat with the same config and url files in an xfce terminal on mx linux 21.1 and the macro above works as it should. it's an older version of newsboat on the mx computer tho

I still get this error with Newsboat 2.31 even though the FAQ says to upgrade to > 2.18

@insane-dreamer, the error could be legitimate. The FAQ says to upgrade because with 2.18 it's impossible to tell if the browser is really failing or it's just Newsboat making stuff up.
Please create a separate issue with all the details (like your config and steps to reproduce) so we can take a closer look at your situation (if you observe it still — I'm a tad slow to respond lately, sorry about that!)


Set cookie path hardcoded to /

Hardwire the cookie path to / to make sure it also is valid for nested urls like click track.
This solves #2524

Thanks! Scheduling

Thanks so much @christoph-buente - scheduling!

Did this PR ever make it into upstream? I cannot see it in the current master.

Bringing forwards (R82 is in test already)

Thanks @christoph-buente - this did get somewhat forgotten. Have given it a concrete release now.


Added a repo Link For First Timers and repo link for Coding for Beginners

Issue : #454
Contributing
If you want to add a project to this list, please make sure that:

[x] You read the contributing guide
[x] The repository has hacktoberfest as topic and counts for hacktoberfest event
[x] The project can't be just an "add your name" or simply + 1 contribution to hacktoberfest
[x] Place them in alphabetical order
[x] One repository per PR/contribution - avoid conflicts and simplify review
[x] Your pull request is not spammy just adding an empty line, otherwise it will be marked as invalid and not count to hacktoberfest.

If they meet the requirements above, feel free to create a PR. Happy Hacking! :sparkles:

@OtacilioN please review and merge my PR for Hactoberfest 2022

Added a New Valid Repo and Removed the invalid repo
@OtacilioN please review and merge my PR for Hactoberfesr-2022


[SPARK-39985][SQL] Enable implicit DEFAULT column values in inserts from DataFrames

What changes were proposed in this pull request?
Enable implicit DEFAULT column values in inserts from DataFrames.
This mostly already worked since the DataFrame inserts already converted to LogicalPlans. I added testing and a small analysis change since the operators are resolved one-by-one instead of all at once.
Note that explicit column "default" references are not supported in write operations from DataFrames: since the operators are resolved one-by-one, any .select referring to "default" generates a "column not found" error before any following .insertInto.
Why are the changes needed?
This makes inserts from DataFrames produce the same results as those from SQL commands, for consistency and correctness.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Extended the InsertSuite in this PR.

Hi @gengliangwang this fixes a small bug in column DEFAULT values with DataFrames, and adds some testing.

Can one of the admins verify this patch?

LGTM except one comment

Hi @gengliangwang, this is ready for another round when you have a moment :)

Thanks, merging to master


Adds integration guide to public documentation

Context
We lack a 'How to' guide on integrating with GOV.UK Pay
Changes proposed in this pull request
Adds @heathd's doc on integration (minor edits)
Guidance to review
This is a draft (for publication in the public docs). Some of the images have watermarks for Websequencediagrams.com and I couldn't export them to "high quality PNG" or SVG but Conor has reviewed and is happy that they be published in this PR.
I've put up a test version of this:
https://govuk-pay-integration.cloudapps.digital/integrate_with_govuk_pay/

Sent off for writer (2i) review; ETA early next week


Translate from Recents Switcher not working

On original Google Pixel ROM, it was working, on Pixelify it dosen't, Pixel 3, LlineageOS 19.1
Pixel 3 - Pixelify - LineageOS 19.1

Pixel 3 XL - Google Stock ROM Android 12.0

Well, you have translate app, if you want i can force enable translate button

@Kingsman44 let's try!

This is fixed in v2.1


Operation not permitted in MacOS Sonoma

I was able to run the application just fine with Windows, but when I switched to a MacBook Pro, the project stopped working with following error:
Unhandled Exception: ProcessException: Operation not permitted
  Command: /Users/<user>/Developer/<project>/node_modules/prisma/query-engine-darwin-arm64 --enable-raw-queries --enable-metrics --enable-open-telemetry --port 63316 --host <IP_ADDRESS> --engine-protocol graphql
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:402:33)
#1      Process.start (dart:io-patch/process_patch.dart:38:20)
#2      BinaryEngine._createProcess (package:orm/binary_engine.dart:187:35)
#3      BinaryEngine.start (package:orm/binary_engine.dart:155:23)
#4      UniversalEngine.request (package:orm/universal_engine.dart:59:11)
#5      ModelDelegate._execute (package:orm/src/client/model_delegate.dart:40:34)
#6      ModelDelegate.$query (package:orm/src/client/model_delegate.dart:29:7)
#7      UserModelDelegateExtension.findFirst.<anonymous closure> (package:wishlez/prisma/prisma_client.dart:14285:26)
#8      PrismaFluent.queryBuilder.<anonymous closure> (package:orm/src/client/prisma_fluent.dart:37:33)
#9      UserModelDelegateExtension.findFirst (package:wishlez/prisma/prisma_client.dart:14294:25)
#10     UserController.signInUser (package:wishlez/controllers/user_controller.dart:75:36)
#11     WUserForm._signIn.<anonymous closure> (package:wishlez/components/user_form.dart:55:32)
#12     WUserForm._finalize (package:wishlez/components/user_form.dart:40:18)
#13     WUserForm._signIn (package:wishlez/components/user_form.dart:55:5)
#14     _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1183:21)
#15     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275:24)
#16     TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:652:11)
#17     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309:5)
#18     BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:242:7)
#19     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:630:9)
#20     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#21     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#22     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#23     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#24     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#25     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:488:19)
#26     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:468:22)
#27     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:439:11)
#28     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:413:7)
#29     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:376:5)
#30     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:323:7)
#31     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:292:9)
#32     _invoke1 (dart:ui/hooks.dart:328:13)
#33     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:410:7)
#34     _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)

Mac hardware: Apple M3 Pro
MacOS version: Sonoma 14.1 (23B2073)
Node: 20.11.0
NPM: 10.2.4
ORM: 3.4.6
Please help.

I am able to run the binary in question directly though, withou any problem. I also check the permissions...
❯ ls -al node_modules/prisma
-rwxr-xr-x   1 gopi  staff  17516080 Jan 24 10:28 query-engine-darwin-arm64

❯ ./node_modules/prisma/query-engine-darwin-arm64
{"is_panic":false,"message":"Datamodel should be provided either as path or base64-encoded string.","backtrace":"   0: __mh_execute_header\n   1: __mh_execute_header\n   2: __mh_execute_header\n   3: __mh_execute_header\n   4: __mh_execute_header\n   5: __mh_execute_header\n   6: __mh_execute_header\n"}

If you launch from /Users/<user>/Developer/<project>, there are two possible motivations for this:

Due to macOS, the current user needs to be authorized to access the /Users/<user>/Developer/ directory. There is no problem if you access this path from the console, because this directory was created by the user. But the dart process doesn't seem to be able to access that path.
You may try the chmox +x /Users/<user>/Developer/<project>/node_modules/prisma/query-engine-darwin-arm64 command to see if it can fix the problem.

I speculate that the reason is 2. You can try to use the 2 command to increase the execution permissions of all users, because the binary engine can detect that the file may have access permissions through the /Users/<user>/Developer/<project> directory. , but does not have execution permissions.
Of course, your issue feedback is meaningful. It reported two questions:

How to solve common problems.
Potential problems that may result from using absolute paths for engine paths instead of paths relative to pwd.

I will release a new version that will resolve the path to a path relative to pwd to execute the binary.
Thank you very much @Gopikrishna19 for your detailed feedback.

@Gopikrishna19
If you upgrade to 3.4.8 or 4.0.0.beta-2 version, this problem should not occur.
If the problem persists, you can try chmod +x to increase permissions. If the problem still cannot be fixed. You may need to try more or debug.
My devices: Apple M1/Windows 11/Linux any have been tested and there is no such problem.

Thanks for the suggestions, and I apologize for the delayed reply. Just now got to catch up on my project.
I already tried the chmod +x. That is where I got the ls response from. You may notice it has x permission by default (from prisma generate) and I didn't have to do anything.
I am back on my Windows machine for now, I shall try the newer version this everning and let you know,


failed to resolve: could not find Config in dioxus_hot_reload could not find Config in dioxus_hot_reload

Problem
I am just getting started with Rust and Dioxus. I am trying to follow the "Hot reloading" steps in https://dioxuslabs.com/learn/0.4/getting_started/fullstack.
This is my file:
#![allow(non_snake_case, unused)]
use dioxus::prelude::*;
use dioxus_fullstack::prelude::*;

fn main() {
    hot_reload_init!();
    LaunchBuilder::new(app).launch();
}

fn app(cx: Scope) -> Element {
    let mut count = use_state(cx, || 0);

    cx.render(rsx! {
        h1 { "High-Five counter: {count}" }
        button { onclick: move |_| count += 1, "Up high!" }
        button { onclick: move |_| count -= 1, "Down low!" }
    })
}

Steps To Reproduce
Steps to reproduce the behavior:

Follow this guide: https://dioxuslabs.com/learn/0.4/getting_started/fullstack
Add hot_reload_init!() to the main fn

Expected behavior
Server should listen on port 8080 and serve the app, with hot reloading
Screenshots

Environment:

Dioxus version: ["0.4.0"]
Rust version: [1.73.0]
OS info: [Fedora]
App platform: [web]

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

You don't need that line anymore. Hot reloading will be enabled when you add the flag to the cli automatically. However hot reloading will only update the server code on the published version of Dioxus. To hot reload the client code as well you can use the git version of the CLI:
cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli
dx serve --hot-reload --platform fullstack

@ealmloff I switched to the GitHub version of the CLI. This is what happens:
08:00:57 rajas@redrix demo ±|master ✗|→ dx serve --hot-reload --platform fullstack
error: invalid value 'fullstack' for '--platform <PLATFORM>'
  [possible values: web, desktop]

For more information, try '--help'.

When I run dx serve --hot-reload --platform web, the page loads but it is empty (no difference for a page that should be 404 like localhost:8080/a)

I tried that just now and I get this error now:
04:38:42 rajas@redrix demo ±|master ✗|→ dx serve --hot-reload --platform fullstack
[WARN] You appear to be creating a Dioxus project from scratch; we will use the default config
[INFO] 🚅 Running build command...
Error: 🚫 Serving project failed: error: Only features sync,macros,io-util,rt,time are supported on wasm.
   --> /home/rajas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.33.0/src/lib.rs:471:1
    |
471 | compile_error!("Only features sync,macros,io-util,rt,time are supported on wasm.");
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

04:39:05 rajas@redrix demo ±|master ✗|→ error: Broken pipe (os error 32)

04:39:07 rajas@redrix demo ±|master ✗|→ error: could not compile `tokio` (lib) due to 2 previous errors

It looks like you have the tokio dependency enabled on the web version of your build. Tokio doesn't support WASM, so when you use fullstack you need to make the tokio dependency optional and enable it only when the ssr feature is enabled like this:
[dependencies]
dioxus = { version = "*" }
dioxus-fullstack = { version = "*" }
tokio = { version = "1", optional = true }

[features]
default = []
ssr = ["dioxus-fullstack/axum", "tokio"]
web = ["dioxus-fullstack/web"]

What does your Cargo.toml look like?

This is what my Cargo.toml looked like:
[package]
name = "demo"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus = "0.4.0"
dioxus-desktop = "0.4.0"
dioxus-fullstack = "0.4.1"
dioxus-web = "0.4.0"

[features]
default = []
ssr = ["dioxus-fullstack/axum"]
web = ["dioxus-fullstack/web"]

I tried using the Cargo.toml that u commented in https://github.com/DioxusLabs/dioxus/issues/1545#issuecomment-1765443776:
[package]
name = "demo"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus = { version = "*" }
dioxus-fullstack = { version = "*" }
tokio = { version = "1", optional = true }

[features]
default = []
ssr = ["dioxus-fullstack/axum", "tokio"]
web = ["dioxus-fullstack/web"]

and this is the error I get now:
09:45:33 rajas@redrix demo ±|master ✗|→ dx serve --hot-reload --platform fullstack
[WARN] You appear to be creating a Dioxus project from scratch; we will use the default config
[INFO] 🚅 Running build command...
| ⚙ Compiling itoa 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)                                                                    [INFO] 👑 Build done.
[WARN] failed to parse `name` custom section Invalid name type (at offset 3843808)
thread 'main' panicked at /home/rajas/.cargo/git/checkouts/collect-assets-782b2f78faca8d5e/772aa45/cli-support/src/manifest.rs:47:51:
called `Result::unwrap()` on an `Err` value: Io(NotFound)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is what my Cargo.toml looked like:
[package]
name = "demo"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus = "0.4.0"
dioxus-desktop = "0.4.0"
dioxus-fullstack = "0.4.1"
dioxus-web = "0.4.0"

[features]
default = []
ssr = ["dioxus-fullstack/axum"]
web = ["dioxus-fullstack/web"]

Dioxus desktop will pull in tokio. You need three different features: one for desktop, one for web, and one for the server. Each feature will pull in a different render:
[dependencies]
dioxus = "0.4.0"
# dioxus fullstack needs to be optional so that it isn't active on the web or server version
dioxus-desktop = { version = "0.4.0", optinal = true }
# dioxus fullstack needs to be optional so that it isn't active on the desktop version
dioxus-fullstack = { version = "0.4.1", optional = true }
# dioxus web needs to be optional so that it isn't active on the server or desktop version
dioxus-web = { version = "0.4.0", optional = true }

[features]
default = []
ssr = ["dioxus-fullstack", "dioxus-fullstack/axum"]
web = ["dioxus-fullstack", "dioxus-fullstack/web"]
desktop = ["dioxus-desktop"]

thread 'main' panicked at /home/rajas/.cargo/git/checkouts/collect-assets-782b2f78faca8d5e/772aa45/cli-support/src/manifest.rs:47:51:
called Result::unwrap() on an Err value: Io(NotFound)

It looks like the new asset support in the CLI is failing to load the lockfile in your workspace.
It currently tries to find the lockfile by running cargo metadata looking at the workspace_root and adding Cargo.lock to that path. What does your workspace and cargo metadata output look like?

For now I'm just trying to get fullstack to work, so do I need the web and desktop options for that? Here is the output of cargo metadata:
cargo_metadata.json

For now I'm just trying to get fullstack to work, so do I need the web and desktop options for that? Here is the output of cargo metadata: cargo_metadata.json

If you just want fullstack you only need dioxus and dioxus-fullstack dependancies:
[dependencies]
dioxus = { version = "*" }
dioxus-fullstack = { version = "*" }

[features]
default = []
ssr = ["dioxus-fullstack/axum"]
web = ["dioxus-fullstack/web"]

Do you have a Cargo.lock file at /home/**yourusername**/Documents/rust-playground/demo/Cargo.lock?

Yes

Yes

I'm not sure where the error is coming from then. I failed to reproduce it with the quickstart project with those dependancies on my mac computer. If you have a public project you can reproduce the error with I would be happy to take a look

@ealmloff I made a reproducable example: https://github.com/ChocolateLoverRaj/dioxus-app

@ealmloff I made a reproducable example: https://github.com/ChocolateLoverRaj/dioxus-app

That example runs fine with these commands on mac:
cargo install --git https://github.com/ealmloff/dioxus --branch intigrate-collect-assets dioxus-cli
dx serve --hot-reload --platform fullstack

It could be something specific to Linux. I can test on a linux device later this week

I tried it in Crostini (Debian 11 Linux container in ChromeOS) and I get the same error.

Sorry it took me so long to get back to you. This should be fixed if you reinstall the CLI. The capitalization of cargo.lock was incorrect in the CLI. Linux has a capitalization sensitive file system which is why the bug was only showing up on Linux and not Mac/Windows.

I don't get this error after reinstalling the CLI now.


Removed style hardcoding view encapsulation effect

Fixes #368

[test]

Current coverage is 69.61% (diff: 100%)

Merging #435 into master will decrease coverage by 0.20%

@@             master       #435   diff @@
==========================================
  Files            27         27
  Lines          1100       1142    +42
  Methods         236        245     +9
  Messages          0          0
  Branches        231        237     +6
==========================================
+ Hits            768        795    +27
- Misses          332        347    +15
  Partials          0          0

Powered by Codecov. Last update e9d9cf6...e2caf5d


Alex skin

sometimes it show alex skin for some reason, even the players not using alex skins

https://github.com/crafatar/crafatar/search?q=alex&type=issues


Latest build index page is not updated

Details

Project URL: https://github.com/ralph-group/pymeasure
Build URL (if applicable): http://pymeasure.readthedocs.io/en/latest/
Read the Docs username (if applicable): cjermain

Excepted Result
I'm looking to update the latest version of the docs. I merged into the master and a new build commenced for commit 7a1dd2ad. I expected this new version to be available on RTD after it successfully reports "Build Complete", as it has been in all previous commits.
Actual Result
The index page served on RTD is for a previous commit (39c9c833). Links are broken to pages in this old version. Manually entering an appropriate URL for a new page yields that page with the correct revision number (7a1dd2ad) -- for example http://pymeasure.readthedocs.io/en/latest/tutorial/graphical.html. Wiping the latest version and rebuilding does not appear to fix it.
RTD appears to be serving the wrong index page, but the correct sub-pages.

Also having this issue.
http://wt-fdd.readthedocs.io/en/latest/ (d9541dde) is the current and correct build of the docs.
However, when I click on one of the links here, and then click on the homepage, it brings me to
http://wt-fdd.readthedocs.io/en/latest/index.html (18f60694).

The docs look fine at this point -- it still seems to be a cache issue. While the problem is temporarily not an issue for me, it would be nice to solve this since it affects other users.

Yep, mine are now fixed. Must be a cache issue. It'd be nice to only show the older rev of the docs until the new ones are fully up so there's no confusion.

Agreed, good idea.

Wow thought I was losing my mind...
I have the same problem.
correct version: http://switchy.readthedocs.io/en/latest/index.html
old version: http://switchy.readthedocs.io/en/latest/
@cjermain you might want to update the issue name to Latest build index page is not updated.

This issue seems stale and like a temporary error in 2016. So, I'm going to close it but feel free to reopen it if you consider or open a new one.


[Discussion] Azure Functions Runtime 2.0.12555 release

Discussion issue for the Azure Functions runtime release 2.0.12555

Thanks for the runtime update. I have two questions:

Would it be possible to reference issues or PR's for the changes in future release notes?
Regarding change in 2.0.12555 called "Reduce debounce time when app_offline.htm is created": Does that mean faster shutdown when app_offline.htm is created by the deployment process? We've had to make Azure DevOps stop the app service before deploying, because there were still files in use even if we had Azure DevOps take it offline.

Hi @alrod is there any way to know when the new runtime is pushed out to a certain region?

@bigdatamoore, there is no way to know exactly the day when a function runtime will be deployed to specific region. You can check current version of specific region:

Create a function app in the region.
Check version of the function runtime on the portal.

Thanks for the runtime update. I have two questions:

Would it be possible to reference issues or PR's for the changes in future release notes?
Regarding change in 2.0.12555 called "Reduce debounce time when app_offline.htm is created": Does that mean faster shutdown when app_offline.htm is created by the deployment process? We've had to make Azure DevOps stop the app service before deploying, because there were still files in use even if we had Azure DevOps take it offline.

@rwatjen

That's something we need to improve. For now you can see list of the commit between releases using:
https://github.com/Azure/azure-functions-host/compare/v2.0.12507...v2.0.12562
@ankitkumarr, can you please comment


Add Mixcloud app to the Showcase page

Mixcloud is an online music streaming service for long form audio (radio shows, podcasts, interviews etc.)
We recently did an almost full rewrite of our Android and iOS apps in React Native and we are really loving it!

Thanks for sending this pull request. According to the guidelines in that file, "infoLink" must be one of:
1/ An English-language news article discussing the app, built either by a funded startup or for a public company
2/ An English-language technical post on a funded startup or public company blog discussing React Native
I am going to close this, but if you have one of those two things, feel free to reopen with a new link.

It's kinda disappointing that there is a restriction of a funded start up or public company, given we're bootstrapped it kinda makes both impossible (for the time being ;) ). We're shipping react native apps to 8+ Million mobile users now, so it kinda seems against the spirit of it.
Would the following link work, given it mentions the app/react native? https://developers.facebook.com/case-studies/mixcloud/

I can see how this is not great for some people.  We want to make sure entries in the showcase provide value to people, and asking for at least a technical blog post that talks about the dev's experience using React Native to develop the app is a fair ask.
You can also submit an entry to the Deco showcase if you prefer: https://www.decosoftware.com/showcase

No worries, the objective of the policy makes a lot of sense.
We've been meaning to write up a technical articles on some of the tricks we've done to get the performance up, would that suffice even though we're not funded startup which is stated as required in the guidelines?


Define RRSS

This link on the mindmap structure lists an acronym, RRSS, but no clue what it actually means.
https://github.com/todogroup/governance/blob/main/TODO Structure/structure-mindmap.md#rrss

@justinabrahms Apologies! it should be SM (Social Media). Thanks for pointing this out!


Dockerfile should build rules-engine

Right now the web app deployment only deploys an obsolete no-dependency python rules-engine file.
With the newest version of the Rules Engine in the repository, it is using a python package wheel (whl) file which needs to be built on every deployment.
The whl file is already getting built for use in the unit tests. The test is committed and passing.
But we can't use the Rules Engine whl file yet in the browser, and we'd like to. You can help.
We don't want to check in the whl file, but to build it "just-in-time" at the key places. There is a reference example to help you start. It runs whenever we do npm run test app/utils/pyodide.test.ts
Dockerfile build of the Python whl

[ ] Practice with local deployment of Docker first but after you get comfortable, instead of mv Dockerfile ./heat-stack as it instructs, try moving it to the root of the project.
[ ] Modify the heat-stack Dockerfile in a way so the ../rules-engine folder can do a build.

You need to figure out how to get the rules-engine folder into the built docker image.

[ ] In the Dockerfile, add a line to run the equivalent of these build commands that are running before vitest in the other package.json example: https://github.com/codeforboston/home-energy-analysis-tool/blob/0b6f2d11b264a1db9d84ba5c1c52da5c07e93c0e/heat-stack/package.json#L23
[ ] Copy the generated file from rules-engine/dist/rules_engine-*-py3-none-any.whl

to heat-stack/public/pyodide-env

Optional: Package.json enable npm run dev to build & copy the whl

[ ] As a bonus task, modify the package.json dev line to build the whl just in time and place it in the same folder.
[ ] add the built file to .gitignore

Fix Github Actions to match

[ ] Fork the repository into your GitHub account so you can do tests of Github Actions silently.

One challenge is understanding all the places where working-directory are being modified in the early and deployment parts of the heat-stack Github Action file .

[ ] Ask for the flyio staging deploy key for your GHA tests. Put the key in secrets as the documentation describes in step 5.
[ ] Instead of moving the Dockerfile and .dockerignore to  . which is currently ./heat-stack move it to the project root at https://github.com/codeforboston/home-energy-analysis-tool/blob/7fc77abacbe83f06da2d167e10d4caf7c2a1e9aa/.github/workflows/heat-stack.yml#L182-L183

I'm looking to onboard on this project and I have experience in python and in automation. I could take this one.

Hi @zganger, thanks for that note and welcome! Let me know what parts sound interesting.
I think Greg (@thatoldplatitude ) from the Rules Engine python team started on the Dockerfile part of this in #146 . @thatoldplatitude if you could compare and contrast your PR to what is described above that would be helpful.
I would like to pursue this issue as a subgroup and would be happy to set up non-tuesday night meeting(s) this next week or answer any questions on moving forward for the tasks above.

Just getting to these tags.
We could for sure setup a non-tuesday meet -- sry wasn't available much this week.
But there are for sure a few ways to go about this. I assumed a few things:

We'd be keeping the heat-stack & rules-engine workflow files separate (not needed, just did cause they are currently)
Not moving the Dockerfile from the root  heat-stack
Using the pyodide-lock.json for pyodide imports(no changes I did impacted this)

But if we want to have  separate meet, it may be easier for us to review options.


Can I use a normal image (not panorama or photosphere) in pannellum?

I have both photosphere images and "plain images" that I want to use to show hotspots.
Is there a simple way to use "plain images" in pannellum?
Any hint about what I need to change in pannellum if I want to use "plain images"?

The short answer is no, or at least I wouldn't recommend it. Pannellum is only designed to work with panoramas.
You could take a regular image and reproject it as an equirectangular image with a narrow field of view and use it as a partial panorama, but, again, I wouldn't recommend it.

Ok, thanks. then I know where to start.


Tracking downloads for links opened by

What versions are you running?
$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.8.1
$ go version
go version go1.18.1 darwin/arm64
What did you do? Include clear steps.
I'm following the example from https://github.com/chromedp/examples/blob/master/download_file/main.go to download a file and track the download progress and get the exact filename. However, it doesn't seem to work on an element with the target set to "_blank" where the download opens a new tab and then the tab closes immediately and the download progresses. I'm guessing I need to listen to the new tab but I can't find any way to do this. Is there any support for tracking downloads with a blank target?

	// set up a channel so we can block later while we monitor the download
	// progress
	done := make(chan string, 1)
	// set up a listener to watch the download events and close the channel
	// when complete this could be expanded to handle multiple downloads
	// through creating a guid map, monitor download urls via
	// EventDownloadWillBegin, etc
	chromedp.ListenTarget(ctx, func(v interface{}) {
		if ev, ok := v.(*browser.EventDownloadProgress); ok {
			completed := "(unknown)"
			if ev.TotalBytes != 0 {
				completed = fmt.Sprintf("%0.2f%%", ev.ReceivedBytes/ev.TotalBytes*100.0)
			}
			log.Printf("state: %s, completed: %s\n", ev.State.String(), completed)
			if ev.State == browser.DownloadProgressStateCompleted {
				done <- ev.GUID
				close(done)
			}
		}
	})

What did you expect to see?
I expected browser.EventDownloadProgress events to be emitted so that I can track download progress.
What did you see instead?
The listener never catches anything so I can't track download progress or get the GUID

Can you post the link to the page so that I can study the download behavior?

The one I'm trying is through the Amazon Affiliates website so you need a sign in but this should repro with any  tag download link with target="_blank". If I find one I'll update this but should be able to recreate locally at least

Thanks!
I have managed to reproduce the issue with this local html:
<html>
  <body>
    <a
      target="_blank"
      href="https://download.sysinternals.com/files/AccessEnum.zip"
      >Download AccessEnum</a
    >
  </body>
</html>

I have tried to log the CDP messages with the chromedp.WithDebugf option, and no download event is emitted.
I think this is a chromium bug. I will report this issue to the chromium team.

Is there another way to get the GUID used to set the filename in the meantime?

The GUID is never sent in the CDP messages. So there is not way to get it with chromedp. A workaround is to use a file watcher to get notified when the file is saved.

Sorry for the wrong answers above! The behavior of the Browser.setDownloadBehavior command is a little weird, but it works in this case.
Here are the changes to the example to make it work:

replace chromedp.ListenTarget with chromedp.ListenBrowser (otherwise, it cannot receive download events sent from a new target).
send the Browser.setDownloadBehavior command to the browser target instead of the page target: if err := chromedp.Run(ctx,
-       browser.SetDownloadBehavior(browser.SetDownloadBehaviorBehaviorAllowAndName).
-           WithDownloadPath(os.TempDir()).
-           WithEventsEnabled(true),
+       chromedp.ActionFunc(func(ctx context.Context) error {
+           c := chromedp.FromContext(ctx)
+           return browser.SetDownloadBehavior(browser.SetDownloadBehaviorBehaviorAllowAndName).
+               WithDownloadPath(os.TempDir()).
+               WithEventsEnabled(true).Do(cdp.WithExecutor(ctx, c.Browser))
+       }),

The behavior of the Browser.SetDownloadBehavior command is a little weird because when it's sent to a page target, it will affect the download behavior of a new target but download events won't be emitted.

This seems to work thanks so much!


0.15.0: issue on building numpy

I'm trying to build numpy 1.26.4 in build env in which is installed meson-python and meson 1.4.0,
On building numpy using pep517 based build looks like meson-python has issue with meson detection
* Getting build dependencies for wheel...
* Building wheel...

('\x1b[31m',)meson-python: error: Could not find meson version 0.63.3 or newer, found .

ERROR Backend subprocess exited when trying to invoke build_wheel

In mesonpy/init.py I see fragment responsible for printing that essage:
    required_version = _parse_version_string(version)
    meson_version = subprocess.run(cmd + ['--version'], check=False, text=True, capture_output=True).stdout
    if _parse_version_string(meson_version) < required_version:
        raise ConfigError(f'Could not find meson version {version} or newer, found {meson_version}.')

    return cmd

So looks like it tries to use meson --version command. In my case it returns:
[tkloczko@pers-jacek SPECS]$ meson --version
1.4.0

What could be wrong in this case? 🤔

Well, you haven't actually provided enough information to debug the issue.
What source tarball of numpy are you using, for example?

Please provide the exact install command used and a full build log with complete traceback.

My reading of the coffee grounds is that this is due to two pip issues interacting:

meson is installed in the virtualenv where numpy is being installed and pip is building with build isolation enabled: this causes the meson executable installed in the virtualenv not to be visible to meson-python,
therefore, meson-python asks for meson to be installed in the isolated build environment, however, this it an old pip release with a known bug resulting in executables installed in the build environment to not be visible from the build process.

Solutions: either build with build isolation disabled (pip's --no-build-isolation command line option) or upgrade pip. Upgrading pip is probably a good idea anyway. And if you keep build isolation enabled (the recommended default) you don't need to install meson or meson-python in the destination Python environment.
If my suppositions are confirmed, this is the second time in a not too long time that someone is bitten by this pip bug. We could add a warning if we detect that the build is initiated by a known-to-be-broken pip version. I'll see if there is a reliable way to do this.

Please provide the exact install command used and a full build log with complete traceback.

Here it is (one line more only which I've been thinking is obvious 😋):
+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
* Building wheel...

('\x1b[31m',)meson-python: error: Could not find meson version 0.63.3 or newer, found .

ERROR Backend subprocess exited when trying to invoke build_wheel

So I'm using pep517 based build.

meson-python version too old? You need 0.15.0

meson-python version too old? You need 0.15.0

Please have look one more time on ticket title.
This ticket is about 0.15.0 😋

Nevertheless .. what can I do about diagnose this issue? 🤔

My reading of the coffee grounds was not that accurate, apparently.
From the error message, it seems that running meson --version fails. Which version of NumPy are you trying to build? Which version of build are you using? If this is a recent Numpy release, the meson version installed in the system is irrelevant, as Numpy uses a vendored copy of meson. Which version of Python? How is the Python environment created? Which OS?

By any change, do you have a $MESON environment variable set?

Or an uninitialized git submodule? python vendored-meson/meson/meson.py --version in the root of the numpy repo (if you're building from a repo tag) should succeed.
This is almost certainly user error, but without all the details it's hard to diagnose.

By any change, do you have a $MESON environment variable set?

Nope .. meson in on the path
[tkloczko@pers-jacek SPECS]$ command -v meson
/usr/bin/meson

Or an uninitialized git submodule? python vendored-meson/meson/meson.py --version in the root of the numpy repo (if you're building from a repo tag) should succeed.

One sec .. so you want to say that meson-python needs to use OWN COPY of the whole meson and cannot use meson installed in system resources (which is even visible as python module? 🤔
[tkloczko@pers-jacek SPECS]$ pip show meson
Name: meson
Version: 1.4.0
Summary: A high performance build system
Home-page: https://mesonbuild.com
Author: Jussi Pakkanen
Author-email<EMAIL_ADDRESS>License: Apache License, Version 2.0
Location: /usr/lib/python3.9/site-packages
Requires:
Required-by:

Really? 🤔

It is really not possible to find what you are doing wrong unless you provide all the required information and stop answering only selected questions and reading only parts of our answers.

Really?

No. No one said that. It is NumPy that uses a vendored copy of meson which includes some features not yet present in any meson release.

Really?

No. No one said that. It is NumPy that uses a vendored copy of meson which includes some features not yet present in any meson release.

Hmm ,. but where do you see that vendored meson in numpy tree https://github.com/numpy/numpy/? 🤔
Message which I've quoted is printed by meson-python.
Did you try to reproduce reported issue? 🤔

In the very first reply to this ticket, I said:

Well, you haven't actually provided enough information to debug the issue.
What source tarball of numpy are you using, for example?

I'm still waiting for an answer. I know exactly what the problem is, and I knew it all along, I just want @kloczek to provide the basics of a bug report for once to prove it.

Hmm ,. but where do you see that vendored meson in numpy tree https://github.com/numpy/numpy/? 🤔

https://github.com/numpy/numpy/tree/main/vendored-meson

Did you try to reproduce reported issue? 🤔

Absolutely. And there are CI jobs that build NumPy and they do not reproduce the issue. Therefore, it must be something specific to your setup. However, you refuse to provide any kind of useful detail about it. Therefore, it is impossible to help you.

I know exactly what the problem is, and I knew it all along

You could have said. I would not have thrown away all this time trying to get more details 😄

Hmm ,. but where do you see that vendored meson in numpy tree https://github.com/numpy/numpy/? 🤔

https://github.com/numpy/numpy/tree/main/vendored-meson

Holly <censored> .. nobody expects the Spanish inquisition 😵💫
I'm using tar ball autogenerated from git tag.
OK closing.

In retrospect it might have been a mistake. I was originally trying to force the issue by demanding a properly detailed bug report before continuing further, but I didn't consider that others would also try to figure out the cause based on missing details.
(@rgommers' latest comment got it as well. It's very clearly the wrong source code being used.)

BTW maybe it is possible to print a bit better mesaże that it was not possible to find meson cli passed over pyproject.toml? 🤔
Really last thing which I've been anticipating was that numpy uses vendored meson😕
Sorry ..

In retrospect it might have been a mistake. I was originally trying to force the issue by demanding a properly detailed bug report before continuing further, but I didn't consider that others would also try to figure out the cause based on missing details.

OK that was my pure fault.
Meson as the projekt is really well maintained and only time to time has some minor issues.
In that situation cheking which one meson is using build was not on my check-possible-cauises lis.
Vendoring meson is really odd idea/approach ..

As I'm working on whole distribution it wold be in my case way better to test regular meson installed in system image (as yet another opportunity tu test it.
Using below patch
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -181,15 +181,9 @@
 config-settings = "setup-args=--vsenv setup-args=-Dallow-noblas=true"
 repair-wheel-command = ""

-[tool.meson-python]
-meson = 'vendored-meson/meson/meson.py'
-
 [tool.spin]
 package = 'numpy'

-[tool.spin.meson]
-cli = 'vendored-meson/meson/meson.py'
-
 [tool.spin.commands]
 "Build" = [
   ".spin/cmds.py:build",

I was able to pass meson detection but looks like meson fails
+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
* Building wheel...
+ meson setup /home/tkloczko/rpmbuild/BUILD/numpy-1.26.4 /home/tkloczko/rpmbuild/BUILD/numpy-1.26.4/.mesonpy-vca7x9cm -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/home/tkloczko/rpmbuild/BUILD/numpy-1.26.4/.mesonpy-vca7x9cm/meson-python-native-file.ini
The Meson build system
Version: 1.4.0
Source dir: /home/tkloczko/rpmbuild/BUILD/numpy-1.26.4
Build dir: /home/tkloczko/rpmbuild/BUILD/numpy-1.26.4/.mesonpy-vca7x9cm
Build type: native build
Project name: NumPy
Project version: 1.26.5
C compiler for the host machine: /usr/bin/gcc (gcc 14.0.1 "gcc (GCC) 14.0.1 20240316 (Red Hat 14.0.1-0)")
C linker for the host machine: /usr/bin/gcc ld.bfd <IP_ADDRESS>40304
C++ compiler for the host machine: /usr/bin/g++ (gcc 14.0.1 "g++ (GCC) 14.0.1 20240316 (Red Hat 14.0.1-0)")
C++ linker for the host machine: /usr/bin/g++ ld.bfd <IP_ADDRESS>40304
Cython compiler for the host machine: cython (cython 3.0.9)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/usr/bin/python3)
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0
Run-time dependency python found: YES 3.9
Has header "Python.h" with dependency python-3.9: YES
Compiler for C supports arguments -fno-strict-aliasing: YES

../meson_cpu/x86/meson.build:2:15: ERROR: Module "features" does not exist

A full log can be found at /home/tkloczko/rpmbuild/BUILD/numpy-1.26.4/.mesonpy-vca7x9cm/meson-logs/meson-log.txt

ERROR Backend subprocess exited when trying to invoke build_wheel

NumPy uses a vendored Meson because it relies on functionality that has not been yet integrated upstream.

NumPy uses a vendored Meson because it relies on functionality that has not been yet integrated upstream.

Do you know is it any plan/is working to integrate those functionalities into regular meson? 🤔

https://github.com/mesonbuild/meson/pull/10921
https://github.com/mesonbuild/meson/pull/11307


fix: tx search pagination option

Cause of deprecated parameters in LCD's transaction search API.
pagination.offset & pagination.limit shoud be used rather than page and limit parameters.
limit will be keep used and relayed into pagination.limit,
but page should be deprecated and it will be breaking change.

Apparently, GraphQL(protocol) has not defined deprecated feature for input field which I wanted to use first.
Do you think it is fine to deprecate page parameter for tx search?
Or should we keep it as an inactive parameter for a while.

@jeffwoooo i think pagination.key is much more useful for users if we are going to add pagination params because TxSeachResult returns next_key.

I have no idea why I am always getting null for next_key from tx search.
ie) https://phoenix-lcd.terra.dev/cosmos/tx/v1beta1/txs?events=message.action%3D'/cosmos.authz.v1beta1.MsgGrant'&pagination.limit=3
{
  "txs": [...],
  "tx_responses": [...],
  "pagination": {
    "next_key": null,
    "total": "163"
  }
}

For now, I left page field alive for those who uses this field and would face error.
And added description to make them use offset instead.


Create a simple About page and keep the top bar

Create a simple about page at loklak.net/about in the three bar layout. Add some sample content for the beginning. Keep the top bar for both anonymous and logged in users.

Related to https://github.com/loklak/loklak_webclient/issues/424

Done with the PR above.


feat(PageSidebar): make sidebar sticky

FX-3290
Description
Sidebar sticks to TopBar on scroll. Also the Sidebar has set a max height and is scrollable, if needed.
This functionality can be disabled with sticky property.
UPDATE: with Matt we decided to hide scrollbar on collapsed sidebar. But adding shadows on top&bottom like its in ModalContent proved problematic, since the scrollable content has set width and height, and the shadows should stretch to the edge of sidebar. We decided to leave it as it is. If you have an idea how to tackle it better, please share in comments or DM me 🙇
How to test

Check out the sticky example in temploy

Video
https://user-images.githubusercontent.com/22159416/206434319-61bb6a38-835c-495e-9a22-4250abad241e.mov
Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
Covered with tests

Breaking change

codemod is created and showcased in the changeset
test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

https://user-images.githubusercontent.com/7733167/206655833-291e1510-c3b1-44e3-80ea-c73107fa199a.mov
The hamburger menu is not working on small and large mobile now.

Will check the code later. This does not look ideal. Should be fixed.

It was fixed by removing scrollbar on collapsed, content remains scrollable. Although not ideal, its the best I can do right now. We can discuss if you have better ideas 🙇

The hamburger menu is not working on small and large mobile now.

@ozgurkececioglu I added custom hamburgerId, thanks for the catch 🙇

Great job 👍, tested it in the temploy and it works pretty smoothly 💪. Do we want to cover this new functionality with visual tests? 🤔

@TomasSlama I added simple visual tests in cypress for scroll states, please check it out 🙇

@toptal-bot run package:alpha-release

@toptal-bot run package:alpha-release


Wrong title encoding

Sorry for my english. Help please with the header of the box. need a Russian text, and I get what's on the screenshot.

https://github.com/FreeRDP/FreeRDP/pull/4197

@sergeyadppd Should be fixed with #4206 , could you please confirm?

Seems to be fixed, reopen if still an issue.


Add constant_current_range selector for LED driving

The AW9523 supports 256-step linear constant-current dimming when LED driving. As noted in the datasheet introduction, the maximum current can be configured:
https://cdn-shop.adafruit.com/product-files/4886/AW9523+English+Datasheet.pdf

The default maximum current (IMAX) is 37mA, and IMAX can be changed in GCR register.

In Table 10 ("GCR, Global control register (11H)"), the datasheet explains that 4 possible current ranges can be selected - maintaining the 256-step granularity over a shorter current range:

D[1:0] is used to configure the max drive current of LED. AW9523B set max current IMAX to 37mA(typical) default, and through register ISEL[1:0] can set to IMAX×1/4,IMAX×2/4, IMAX×3/4,IMAX, so the 256 step dimming range changes.

This change updates the adafruit_aw9523.AW9523 class to have a constant_current_range selector field that can be used to set the register value. The 4 options are provided as constants (AW9523_4_4_RANGE, AW9523_3_4_RANGE, etc).
An example of using this code would be:
aw = adafruit_aw9523.AW9523(i2c)
aw.constant_current_range = adafruit_aw9523.AW9523_3_4_RANGE

cc @FoamyGuy

Thanks @ladyada! Here's a short demo (4x speed-up) of the new constant_current_range setting in action (code):
https://user-images.githubusercontent.com/52038/176404297-a01c86d4-bf7b-498a-b6cd-27ed7f2f3c2c.mp4


Add k8s template files

Add the template files necessary to move this repository to kubernetes-sigs. These were copied from https://github.com/kubernetes/kubernetes-template-project and tweaked a bit to show how to build and test minibroker.

Just realized that I need to fix the script that does the deploy to only trigger for master or tags, not just a branch that was pushed to the repo (like I accidentally did for this PR). That's why I canceled the travis push build. I'll do that today before we migrate.


Math not properly evaluated

Describe the bug
With the JSON sample below, the evaluation should deliver:
TKM.scale.seqArithNd.1200 = 96  (aka 64 * 1.5)
but delivers:
TKM.scale.seqArithNd.1200 = 92

TKM.scale.seqGeo.400 = 8   // correct
feeds ↓ :
TKM.scale.seqArithSt.1100 = 64    // correct
feeds ↓:
TKM.scale.seqArithNd.1200 = 92  // incorrect, should be 96

To Reproduce
Paste the JSON inside Figma Tokens, and do the math yourself to compare:
{
  "TKSC": {
    "scale": {
      "base": {
        "value": "2",
        "type": "sizing"
      },
      "ratio": {
        "value": "2",
        "type": "sizing"
      },
      "baseIndex": {
        "value": "400",
        "type": "sizing"
      }
    }
  },
  "TKM": {
    "scale": {
      "seqGeo": {
        "400": {
          "value": "$TKSC.scale.base * $TKSC.scale.ratio ^ round((200 + 400 - $TKSC.scale.baseIndex) / 100)",
          "type": "sizing"
        }
      },
      "seqArithSt": {
        "1100": {
          "value": "$TKM.scale.seqGeo.400 + $TKM.scale.seqGeo.400 * ((1100 - 400) / 100)",
          "type": "sizing"
        }
      },
      "seqArithNd": {
        "1200": {
          "value": "$TKM.scale.seqArithSt.1100 * 1.5",
          "type": "sizing"
        }
      }
    }
  }
}

Screenshots:

64
64 * 1.5 ≠ 92

Thanks for reporting this, there seems to be an issue with math multiple levels deep.
We're not encapsulating each calculation on its own, as we should. Instead your calculation boils down to 8 + 8 * ((1100 - 400) / 100) * 1.5 which is, in fact, 92.
We should probably encapsulate each calculation on its own instead of resolving each alias and THEN doing the calculations.
For the short term your problem can be solved by defining TKM.scale.seqArithSt.1100 as ($TKM.scale.seqGeo.400 + $TKM.scale.seqGeo.400 * ((1100 - 400) / 100))


Infra: automate deployments

We need turnkey deployment of app to the public instances.
It could be the current Github Pages flow, once we verify that the test infrastructure works.

Related: https://github.com/webaverse/app/issues/2042


add share button and remove facebook twitter login

fix #1187

Looks great - can you show the user experience after you select each of facebook and twitter?

sure @timlinux
here's twitter share:

facebook share:

Coverage remained the same at 39.835% when pulling 4134d355a615d288c41f6be4c1aacceb01b9c3f7 on ann26:share-button into 7333a71ad4baeeef1449b96a0aad3e5730a20de0 on healthsites:develop.

hi @timlinux what do you think?

LGTM for now
needed for other ticket


CIRI2 Missing FIle Error

I am running CIRIquant without CIRI2 results files, so it is doing the analysis within the pipeline. The first couple of steps seem to work fine, but CIRI2 analysis fails with an error about a missing file.
[Mon 2020-04-13 17:28:53] [INFO ] Input reads: CSCC_0002-M1_R1.fastq.gz,CSCC_0002-M1_R2.fastq.gz
[Mon 2020-04-13 17:28:53] [INFO ] Output directory: /dskh/nobackup/biostat/datasets/HeadNeckCancer/RNAseq/CSCC/circular, Output prefix: CSCC_0002-M1
[Mon 2020-04-13 17:28:53] [INFO ] Config: hg38 Loaded
[Mon 2020-04-13 17:28:53] [INFO ] 32 CPU cores availble, using 12
[Mon 2020-04-13 17:28:53] [INFO ] Align RNA-seq reads to reference genome ..
[Mon 2020-04-13 18:04:24] [INFO ] Estimate gene abundance ..
[Mon 2020-04-13 18:16:52] [INFO ] No circRNA information provided, run CIRI2 for junction site prediction ..
[Mon 2020-04-13 18:16:52] [INFO ] Running BWA-mem mapping candidate reads ..
[Mon 2020-04-13 19:48:59] [INFO ] Running CIRI2 for circRNA detection ..
Traceback (most recent call last):
  File "/dskh/nobackup/biostat/software/PythonLegacy/bin/CIRIquant", line 11, in <module>
    load_entry_point('CIRIquant==1.0.2', 'console_scripts', 'CIRIquant')()
  File "/dskh/nobackup/biostat/software/PythonLegacy/local/lib/python2.7/site-packages/CIRIquant-1.0.2-py2.7.egg/CIRIquant/main.py", line 156, in main
    circ_parser.convert(bed_file)
  File "/dskh/nobackup/biostat/software/PythonLegacy/local/lib/python2.7/site-packages/CIRIquant-1.0.2-py2.7.egg/CIRIquant/utils.py", line 155, in convert
    circ_data = getattr(self, '_' + self.tool.lower())()
  File "/dskh/nobackup/biostat/software/PythonLegacy/local/lib/python2.7/site-packages/CIRIquant-1.0.2-py2.7.egg/CIRIquant/utils.py", line 146, in _ciri2
    with open(self.circ, 'r') as f:
IOError: [Errno 2] No such file or directory: '/dskh/nobackup/biostat/datasets/HeadNeckCancer/RNAseq/CSCC/circular/circ/CSCC_0002-M1.ciri'[Mon 2020-04-13 17:28:53] [INFO ]

What is wrong and can the error be caught (try-catch) and an informative message printed in future?

What's the content of /dskh/nobackup/biostat/datasets/HeadNeckCancer/RNAseq/CSCC/circular/CSCC_0002-M1.log ?

Interesting. The last two lines in the logging file are:

The GFF file provided cannot be understood by CIRI! Please refer to manual for details of required GFF formats
Fatal error. Aborted.

My YAML file has:
gtf: /savona/nobackup/biostat/databases/GRCh38/gencode.v31.annotation.sorted.gff3

It has been sorted by igvtools because IGV insists the file be sorted before it is loaded for viewing. Does CIRI support files downloaded from GENCODE Genes?

Yes, CIRI should support annotation in both gtf and gff3 format. The unsorted main annotation file from GENCODE in either GTF/GFF3 format should do the job.

I tested using original GENCODE GFF3 and GTF files. It fails with GFF3 but works well with GTF. Can you reproduce the problem on your computer using GENCODE Genes and improve CIRI2's GFF3 support?

Fixed in beta branch.


is Simple useless to Z-moves?

my opponent use Gardevior and trace my Bibarel's simple, it uses Z-hypnosis and its speed raised by 1, which i think should be 2. It is a bug?or just a rule?

This is the correct mechanic. Abilities like Simple or Contrary do not have an effect on boosts given by Z status moves.

Please do not use the Issues repository for unresearched mechanics questions. We have a Help chatroom and a forum for things like that.
If you do this again, we will need to block you from the repository.


Fix illegal space in URL that broke link

@vainolo : Thanks for your contribution! The author, @ronitr, has been notified to review your proposed change.

#sign-off


Name argument if data conversion fails in std.getopt

Fixes #9662
revival of https://github.com/dlang/phobos/pull/3491 as the suggested "better" solution never happened

Enforce whitespace before opening parenthesis
grep -nrE "\<(for|foreach|foreach_reverse|if|while|switch|catch|version)\(" $(find etc std -name '*.d') ; test $? -eq 1
std/getopt.d:622:    catch(ConvException e)
std/getopt.d:2006:    catch(GetOptException e)
std/getopt.d:2028:    catch(GetOptException e)

@thewilsonator thank you

Looks like this breaks tsv-utils with the change of exception type. cc @jondegenhardt

https://github.com/eBay/tsv-utils/pull/360


Handle special line when stream using ask-llm.go

Hi mas @ariya , hereby I'd like to make a little fixing on handling special line when stream using ask-llm.go. Please check whenever you have a moment, thanks!

Before

After

Thank you @kenjihikmatullah :+1: