Load the qwen2_5_insturcut_7b model, because the deployment request response using sglang is slower than that of vllm deployment. When troubleshooting, print("mutates_args",mutates_args,"schema_str",schema_str) is this result reasonable?

Sorry I don't quite understand the question.

because the deployment request response using sglang is slower than that of vllm deployment.

Do you mean warmup time, or evaluations metrics such as ITL or TTFT?

When troubleshooting, print("mutates_args",mutates_args,"schema_str",schema_str) is this result reasonable?

what's the purpose of printing these arguments?


lbl 0.63.006 in Apero: errors missing FP_neg,  GJ411 and GJ905 instead of GL411 and GL905 previously ?

I have done a apero_reset.py  no issues.
When I relaunch lbl_run.ini, I have errors  I didn't have before.
2024-03-23 21:38:50.581|E| File /data/spirou3/apero-data/temptest/lbl/masks/FP_neg.fits cannot be found
07:38:50.585-@$|LBLCOMPUTE_FP[00021]| No DTEMP files found. Skipping.

and also
2024-03-23 21:44:11.692|E| File /data/spirou3/apero-data/temptest/lbl/templates/Template_s1dv_GJ411_sc1d_v_file_AB.fits cannot be found
07:44:11.700-!!|LBLMASK_SCI[00025]| LBL Mask Exception [GJ411_GJ411] <class 'lbl.core.base_classes.LblException'>:
07:44:11.700-!!|LBLMASK_SCI[00025]|     File
07:44:11.700-!!|LBLMASK_SCI[00025]|     /data/spirou3/apero-data/temptest/lbl/templates/Template_s1dv_GJ411_sc1d_v_file_AB.fits
07:44:11.700-!!|LBLMASK_SCI[00025]|     cannot be found
2024-03-23 21:44:11.707|G|LBLMASK_SCI[00024]| Skipped Mdwarf Temperature Gradient Table file. Missing from server.
2024-03-23 21:44:11.715|E| File /data/spirou3/apero-data/temptest/lbl/templates/Template_s1dv_GJ905_sc1d_v_file_AB.fits cannot be found
07:44:11.723-!!|LBLMASK_SCI[00024]| LBL Mask Exception [GJ905_GJ905] <class 'lbl.core.base_classes.LblException'>:
07:44:11.723-!!|LBLMASK_SCI[00024]|     File
07:44:11.723-!!|LBLMASK_SCI[00024]|     /data/spirou3/apero-data/temptest/lbl/templates/Template_s1dv_GJ905_sc1d_v_file_AB.fits
07:44:11.723-!!|LBLMASK_SCI[00024]|     cannot be found

I checked what I had in January: I have templates for GL411 and GL905. But it seems now Apero doesn't want to built templates for GJ411 and GJ905. My ini file still mentions the science targets GL411 and GL905.  That should work.  I don't understand what's going on. Something has changed in the apero_objdb ?

I did have to do a big merge of the pending list and main list.
There were quite a few duplicates
I see GL411 under GJ411 with the comment: "Merged from multiple entries [GJ411|GL411] on 2024-02-29 16:31:11.391"
and same with GL905 under GJ411 "Merged from multiple entries [GJ905|GL905] on 2024-02-29 16:32:34.571"
But you are correct that GL411 or GJ411 should work in the run.ini file. But if you updated the object database before/after this date (which is not recommended for a consistent run) you may have some DRSOBJN with GL411 and some with GJ411 (and similarly for GL905)
Could you check on disk what the DRSOBJN is for all the tcorr files associated with GL411/GJ411  you'll soon see if there is a problem is the DRSOBJN is different.
The solution is pretty straightforward if you have differing DRSOBJN for the same object do a science_run.ini (pp_seq_opt + science_seq) making sure SKIP_XXXX = False for SCIENCE_TARGETS=GL411.
FYI: From the astrometric database these objects were also merged:
DX_CNC      Merged from multiple entries [DX_CNC|GJ1111] on 2024-02-29 16:30:58.816
EE_LEO      Merged from multiple entries [EE_LEO|GJ402] on 2024-02-29 16:31:02.480
GJ411      Merged from multiple entries [GJ411|GL411] on 2024-02-29 16:31:11.391
GJ4247      Merged from multiple entries [GJ4247|V374PEG] on 2024-02-29 16:31:21.760
GJ555      Merged from multiple entries [GJ555|HN_LIB] on 2024-02-29 16:31:27.839
GJ617B      Merged from multiple entries [GJ617B|GL617B] on 2024-02-29 16:31:39.231
GJ628      Merged from multiple entries [GJ628|V2306_OPH] on 2024-02-29 16:31:47.503
GJ752A      Merged from multiple entries [GJ752A|GL752A] on 2024-02-29 16:32:00.005
GJ87      Merged from multiple entries [GJ87|GL87] on 2024-02-29 16:32:04.446
GJ876A      Merged from multiple entries [GJ876A|GL876] on 2024-02-29 16:32:18.940
GJ905      Merged from multiple entries [GJ905|GL905] on 2024-02-29 16:32:34.571
GJ9520      Merged from multiple entries [GJ9520|OTSER] on 2024-02-29 16:32:44.675
GL15A      Merged from multiple entries [GL15A|GX_AND] on 2024-02-29 16:32:55.154
GL15B      Merged from multiple entries [GL15B|GQ_AND] on 2024-02-29 16:33:39.192
GL176      Merged from multiple entries [GL176|HD_285968] on 2024-02-29 16:33:49.096
TZ_ARI      Merged from multiple entries [GL83_1|TZ_ARI] on 2024-02-29 16:34:07.200
HD18978      Merged from multiple entries [HD18978|TAU3_ERI] on 2024-02-29 16:34:27.006

Thanks Neil.   I have GL411 as DRSONJN in my tmp/ files (from Mar 4) and in my red/ files from Mar 23.
I had checked yesterday before opening this ticket that GL411 and GL905 were already existing with apero_astrometrics.py

I didn't update GL411 and GL905 in the objdb, but I may have add a fee new targets from last Feb run (24AQ03)

Any idea for the missing FP_neg.fits mask ?

(no worries if you answer monday - I'm posting things as they arrived)

I didn't update GL411 and GL905 in the objdb, but I have added a fee new targets from last Feb run (24AQ03)

Unfortunately, if you update a single object you update the whole database. It shouldn't be common that I merge the pending into the main and fix duplicates but it does need to be done from time to time (I had over 500 objects to merge this time) and the duplicates were causing problems so I had to deal with it.

I have GL411 as DRSOBJN in my tmp/ files (from Mar 4) and in my red/ files from Mar 23.

If you have any DRSOBJN = GL411 or GL905 I suggest re-running using the science_run.ini  (pp_seq_opt + science_seq with all the SKIP_XXXX = False) to redo them, you should only have DRSOBJN = GJ411 and DRSOBJN=GJ905. Again this is due to the merging I mentioned above and is not your fault but now you have an up-to-date database you have to do this.

I had checked yesterday before opening this ticket that GL411 and GL905 were already existing with apero_astrometrics.py

So this wont tell you that you have objects with the wrong DRSOBJN, currently it will just tell you if you have an object that is in the alias list - maybe I should add a way for you to check if the "DRSOBJN" is correct.

Any idea for the missing FP_neg.fits mask ?

I'm not sure, FP_neg should be created by running the LBLMASK_FP step in lbl_run.ini
Can you make sure you had the following set:
RUN_LBLREF = True
RUN_LBLMASK_FP = True
RUN_LBLCOMPUTE_FP = True
RUN_LBLCOMPILE_FP = True

Or just run the command for the LBLMASK_FP separately (you can get the command by using apero processing in test mode and just have RUN_LBLMASK_FP = True and all other False).

Right I've added a check in apero_astrometrics (for v0.7.289-stable-test)
Basically now if you enter GL411 (or GJ411) you should get a warning that DRSOBJN are inconsistent.
I can't test this as all my GL411 are GL411 and I have no GJ411 but I've also added a warning that works for me that will warn me that future observations will be under the new name and to avoid this you should re-reduce this object.
@CharlesCadieux this may be useful for you when adding new targets / running an update after the astrometric database has been updated (this will be the case with GL411 for example, as @larnoldgithub has found)
Currently there is no way to do this in bulk (for all objects) but if you both think this would be useful I could figure out a way to do it.

@njcuk9999 @CharlesCadieux @andrescarmona @clairem789
Would'nt be simpler to stay with GL411 and GL905 instead of GJ411 and GJ905 for DRSOBJN, by modifying the objdb ?

Same comment for GJ1111 that we used to have and is now DX_CNC, or GL617A becoming GJ617A ...  I have to rerun
the full offline from the preprocessing for the stars of your list above ?

I had to go through 1500 targets and search for duplicates, I took the row with the proper motion from the most recent source.
If there were two rows it mean someone from NIRPS or SPIRou has that name. So someone is going to have to reprocess. In fact its not just the name its the other details of that row as well (i.e. proper motion).
I could change these names as you suggest but I wouldn't know what to do about the proper motion (I've now removed the old information) also anyone else who has processed since February would also have to reprocess to I'm inclined not to unless there is an extremely good reason. It is a very short list of stars you have in possible conflict, so it wouldn't take long to reprocess to have a uniform set of data.

I have reprocessed the stars that needed the right DRSOBJN (I have now GJ411 instead of GL411 etc),  reset the lbl using the apero_reset tool but this morning the lbl_run.ini again failed due to a missing FP_neg  mask.    I had no errors for the previous extractions, but will look at the _C.fits.

I'll do it asap

I'm doing the same with all FP steps on now.

the first error in LBLMASK_FP  is a missing blaze file
2024-03-27 10:57:23.511|G|LBLMASK_FP[00000]| Processing E2DS->S1D for file 13 of 596
2024-03-27 10:57:23.898|G|LBLMASK_FP[00000]| Processing E2DS->S1D for file 14 of 596
2024-03-27 10:57:24.393|G|LBLMASK_FP[00000]| Processing E2DS->S1D for file 15 of 596
2024-03-27 10:57:24.777|G|LBLMASK_FP[00000]| Processing E2DS->S1D for file 16 of 596
2024-03-27 10:57:24.819|E| File /data/spirou3/apero-data/temptest/lbl/calib/F1F2AD08BD_pp_blaze_C.fits cannot be found
20:57:24.825-!!|LBLMASK_FP[00000]| LBL Template Exception [FP_FP] <class 'lbl.core.base_classes.LblException'>:
20:57:24.825-!!|LBLMASK_FP[00000]|      File /data/spirou3/apero-data/temptest/lbl/calib/F1F2AD08BD_pp_blaze_C.fits
20:57:24.825-!!|LBLMASK_FP[00000]|      cannot be found
20:57:25.070-**|LBLMASK_FP[00000]| ***************************************************************************
20:57:25.078-@!|LBLMASK_FP[00000]| W[40-003-00005]: Recipe apero_lbl_mask_spirou has NOT been successfully
20:57:25.078-@!|LBLMASK_FP[00000]|      completed
20:57:25.085-**|LBLMASK_FP[00000]| ***************************************************************************

I don't understand  why it's missing, I had no error when I ran the calibrations processing.    Apparently this missing blaze is preventing lbl to build the FP mask, right ?

I don't know how to get the night corresponfing to this missing file.

I've copied over all *_pp_blaze_C.fits from the calibDB to the lbl/calib/ folder.  This added about 20% more files.  And now the processing E2DS->S1D of the 596 files seems to work.
I don't know why lbl missed them at the beginning of the mask procedure.  Is this a bug ?

So now I'm going to restart the lbl:  do a apero_reset for the lbl, then manually copy the blaze_C to lbl/calib, and only then run   apero_processing.py  lbl_run.ini

Hmm okay so that is weird, the apero_lbl_ref_spirou.py should have made links to all the blaze files. So something must have gone wrong in making the links... we will have to look at the log file for apero_lbl_ref_spirou.py to see what happened (and why that file or set of files was not linked). Note you should also run apero_lbl_ref_spirou.py when you have any new observations for lbl as it will add the new files (including blaze) but maybe something went wrong in that process. It might be worth running the apero_lbl_ref_spirou.py to see if any errors are generated (and check before/after how many files are in the lbl directory to see if it added anything else you were missing!)
But this does explain why you have no FP masks!

The lbl_run.ini still ended with errors this morning (all RUN_ to true and all SKIP to False).   All errors are about more missing blazes ! really unexpected, as I did a cp of *_pp_blaze_AB.fits from the regular calib/ to the specific lbl/calb/ directory.
Maybe something is wrong with the calib db ??   I have reset the calib db, and apero is rebuilding the db.  It should be done by  the afternoon and I will run lbl_run.ini again, after resetting lbl too.
I'll look to the msg/ errors and post anything I find here.

I've run lbl_run.ini with only the  apero_lbl_ref.py  (RUN_LBLREF = True, all others to False)
Ends with no error.   Is there a way to verify everything is here in lbl/calib/ or lbl/science ?
I'm going to continue with RUN_LBLMASK_FP=True, all others to false.  if it makes sense.

RUN_LBLMASK_FP=True  fails rapidly:

Note that I have reset the and rebuilt the calib db this morning (it took about 2h to rebuild)

Sorry you are still having problems.
Could you send me the log for apero_lbl_ref.py
Could you verify that

the blaze file that cannot be found is in the path (it should be a symlink so it may be there but the link may be dead you can use ls -ltr /path/to/blaze/file to see if the link is there at all or whether this file is missing completely.

the blaze file it mentions is in the calib directory

the blaze file is in one of the night directories (if you open the header of the file -- assuming you find it in the calibration database, you should be able to look at the DATE-OBS and work out which red directory it should be in

That the AB version of this blaze file exists on disk if the AB exists and the C doesn't it could mean that the blaze code crashed  in between the AB and C (I recall one of the calibration is looking for AB and C files)

If there is no AB or C file with this blaze name then I'm not sure why it is asking for it -- at this point I'll look in the code to see why it is asking for that file and then saying its not on disk.

I'm going to redo a PP + EXTRACT for the 17 objects that have a new DRSOBJN (actully only 15, as GL15A and GL15B are ok - I didn't check for the other) for all nights from 18B.
Once EXTRACT will be done, I will continue with the Fittellu etc.

This finally worked: no missing blaze anymore, and FP mask has been built.
apero_processing.py lbl_run_LBLREF_only.ini

cd /data/spirou3/apero-data/temptest/lbl/calib
cp -sv ../../calib/*_blaze_AB.fits .
cp -sv ../../calib/*_blaze_C.fits .
cp -sv ../../calib/*_C_wave_night_C.fits .
cp -sv ../../calib/*_AB_wave_night_AB.fits .

apero_processing.py lbl_run_LBLMASK_FP_etc.ini


[🐛] Hacking instructor can't be disabled on the score board

:bug: Bug report
Description
I'm trying to customise Juice Shop for some security training however my custom config isn't working as expected.
I'm trying to turn off the hacking instructor and I can see there's the hackingInstructor.isEnabled config option as described in the docs here. However, when setting this value to false, the hacking instructor is still available on the scoreboard.
In terms of recreating this I note that Juice Shop's default CTF mode looks like it's trying to disable the hacking instructor too as seen here. However, when I start the master branch of Juice Shop up with NODE_ENV=ctf npm start, although CTF flags are displayed as expected, the hacking instructor is still there too.
When asking on OWASP slack it was suggested that this might be related to the new score board.
:microscope: Minimal Reproduction
Start the master branch of Juice Shop up using the default CTF mode, e.g. start it up with NODE_ENV=ctf npm start. Even though the CTF config here sets the hacking instructor to false, the hacking instructor is still present on the score board.

Seems like a similar issue with the coding challenges. I'm trying to disable these by setting challenges.codingChallengesEnabled to never but I'm still seeing them on the score board.

Should be fixed for both hacking instructor and coding challenges now on develop branch. If you still experience issues, just let me know.


End-to-end test Docker image

Spin up container and run e2e-tests manually
Automate 1. to happen after image being built on DockerHub (e.g. via WebHook triggering a Travis-CI job)

Firt manual result agianst 7.2.3 on snapshot image with matching e2e tests from develop: 4 unsolved challenges

Security Policy
XXE Tier 1
XXE Tier 2
CSRF

Failures:
1) /#/change-password challenge "csrf" should be able to change password via XSS-powered CSRF-attack on password change without passing current password
  Message:
    Expected 'http://<IP_ADDRESS>:32768/#/login' to match /\/search/.

  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\changePasswordSpec.js:37:39)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>

2) /#/change-password challenge "csrf" (shared) challenge 'CSRF' should be solved on score board
  Message:
    Expected 'label label-success ng-hide' not to match 'ng-hide'.
  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\_sharedSpec.js:9:89)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)
  Message:

    Expected 'label label-danger label-button' to match 'ng-hide'.
  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\_sharedSpec.js:10:88)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)

3) /#/complain challenge "xxeFileDisclosure" (shared) challenge 'XXE Tier 1' should be solved on score board
  Message:
    Expected 'label label-success ng-hide' not to match 'ng-hide'.
  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\_sharedSpec.js:9:89)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)
  Message:
    Expected 'label label-danger label-button' to match 'ng-hide'.
  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\_sharedSpec.js:10:88)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)

4) /#/complain challenge "xxeDos" (shared) challenge 'XXE Tier 2' should be solved on score board
  Message:
    Expected 'label label-success ng-hide' not to match 'ng-hide'.
  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\_sharedSpec.js:9:89)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)
  Message:
    Expected 'label label-danger label-button' to match 'ng-hide'.

  Stack:
    Error: Failed expectation
        at UserContext.it (C:\Data\GitHub\juice-shop\test\e2e\_sharedSpec.js:10:88)
        at C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:112:25
        at new ManagedPromise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:1077:7)
        at ControlFlow.promise (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2505:12)
        at schedulerExecute (C:\Data\GitHub\juice-shop\node_modules\jasminewd2\index.js:95:18)
        at TaskQueue.execute_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3084:14)
        at TaskQueue.executeNext_ (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:3067:27)
        at asyncRun (C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:2974:25)
        at C:\Data\GitHub\juice-shop\node_modules\selenium-webdriver\lib\promise.js:668:7
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)

141 specs, 4 failures
Finished in 246.273 seconds

Unsolved XXE Tier 1+2 challenge are caused by a conditional check in complainSpec.js where different attacks & results are expected for Windows and Linux machines. This condition assumes that the tests are executed on the same machine as the server under test. When testing a Docker instance (Alpine Linux) by running the e2e suite on Windows, the wrong attacks and checks are done with cannot solve those challenges.

CSRF challenge cannot be solved by test suite because it has localhost:3000 hardcoded which is not the correct URL for a running Docker container under test:
browser.get('/#/search?q=%3Cscript%3Exmlhttp%20%3D%20new%20XMLHttpRequest;%20xmlhttp.open(\'GET\',%20\'http:%2F%2Flocalhost:3000%2Frest%2Fuser%2Fchange-password%3Fnew%3DslurmCl4ssic%26repeat%3DslurmCl4ssic\');%20xmlhttp.send()%3C%2Fscript%3E')

With 13ed0a6 Docker containers are now testable with the e2e suite. Automation still pending.

XXE Tier 2 test hangs Docker container just as it does Travis-CI job! ❌
    if (!process.env.TRAVIS_BUILD_NUMBER) {
      it('should be possible to trigger request timeout on Linux server via .xml upload with /dev/random XXE attack', () => {
        browser.waitForAngularEnabled(false)
        browser.executeScript(() => {
          const data = new FormData()
          const blob = new Blob(['<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE foo [<!ELEMENT foo ANY ><!ENTITY xxe SYSTEM "file:///dev/random" >]><foo>&xxe;</foo>'], {type: 'application/xml'})
          data.append('file', blob, 'xxeDosForLinux.xml')

          const request = new XMLHttpRequest()
          request.open('POST', '/file-upload')
          request.send(data)
        })
        browser.driver.sleep(3000)
        browser.waitForAngularEnabled(true)
      })
    }


Returning values from Transactions

Shan't this line https://github.com/wovalle/fireorm/blob/2e45f10a7973f6113463ee65602fc9b3e67832a3/src/BaseFirestoreRepository.ts#L95
be Promise<any> ? so that the following use case applies: https://firebase.google.com/docs/firestore/manage-data/transactions#passing_information_out_of_transactions
?

Hey, this was closed in #115. See https://fireorm.js.org/#/Transactions?id=returning-values-from-transactions


Issues with downloading audio playlists

I have an issue downloading YouTube audio playlists. If I want to download an audio playlist I get: "There was a problem communicating with the app." for the line "Execute runScript" under "If isMini".

Which iOS version are you on? Do you have the link that causes the issue?

Hi, I'm using 16.2 and the link is: https://youtube.com/playlist?list=PLDUrDzhZpPad4GxETQYZmRZ2d2AyV8SfS.

Had to close this as you're on iOS 16. I can't reproduce it with my current iOS 15 devices.


Implemented master mode without the web interface

This will resolve #189.
Timeout is not implemented yet since I don't know how to do it.
There's also a problem with exiting the master/slave after they reach the maximum requests desired by the user.
In local mode the StopLocust exception is raised and the program exits correctly.
In master and slave mode the the stats_printer and the stats_reporter greenlets respectively prevent the shutdown of locust.
I don't have a hook that will allow me to kill them.
Please advise on how to proceed.
CC @astrix37 @heyman

@thedrow Is this a work in progress? Should I close it for now?

Unfortunately I don't have more time to work on this.


Looses value to 0

Hello. Looks like the plugin have been messing with my mind.
I thought that I had an error with my battery but its the plugin i think.
Weird that bomtage show 8v when this happening.

I have something very similar, but values goes up in the sky..

Its not important. Firt i thought it was something wrong with my setup

The same here - its messing with my automation scripts

based on analysis by @steve-cox from here https://github.com/StephanJoubert/home_assistant_solarman/issues/120#issuecomment-1299003819 this issue is different to CRC checks and #125 pull request
I will start some analysis (when I have more time) and I will contribute whenever possible.

based on analysis by @steve-cox from here #120 (comment) this issue is different to CRC checks and #125 pull request
I will start some analysis (when I have more time) and I will contribute whenever possible.

Thanks, i also have issues with what seems to be the same issue (although in battery storage levels) let me know if you need logs or debugs to help you.


Rewrite stake tab in vue

Abstract
Rewrite stake tab in vue
Testing
Test that the stake functionality works
TODO

[x] Write unit tests
[x] Remove old stake global variables

Wen merge?^-^

Those errors were mostly due to the two useWallet instances not being in sync. I've fixed it using the pinia library, which uses a very similar structure to what we were using previously, the only change code-wise is that we have to drop the .value when using properties from useWallet

Upon un-delegating (straight after delegation, via internal mempool) I'm getting this getAddress is not a function error, presumably a change address generation issue.
Uncaught (in promise) TypeError: getAddress is not a function
    unstake Stake.vue:72
    callWithErrorHandling runtime-core.esm-bundler.js:195
    callWithAsyncErrorHandling runtime-core.esm-bundler.js:202
    emit runtime-core.esm-bundler.js:715
    node_modules mpw.js:10759
    submit StakeInput.vue:35
    1].rules[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./scripts/stake/StakeInput.vue?vue&type=template&id=1bed7ffa/render/<.default</_cache[4 StakeInput.vue:158
    callWithErrorHandling runtime-core.esm-bundler.js:195
    callWithAsyncErrorHandling runtime-core.esm-bundler.js:202
    invoker runtime-dom.esm-bundler.js:693

Staking/Unstaking is working well now it seems, balances accurate, activity displaying well, prompts look good.
Last two minor regressions I see regarding the "Set Cold Address" dialog is:

Auto-focus was lost.
The user no longer can give an "empty input", which used to make MPW use the Cold Pool defined in chainparams; it's slightly more difficult to return to the default address now.

After this I think we're ready for Quality Control.

Found a niche bug, with "Advanced Mode" enabled, trying to set a custom Owner Address from a Contact (mouse on button) results in this:
Uncaught (in promise) TypeError: domInput is undefined
    guiSelectContact contacts-book.js:286
    onclick

Found a niche bug, with "Advanced Mode" enabled, trying to set a custom Owner Address from a Contact (mouse on button) results in this:
Uncaught (in promise) TypeError: domInput is undefined
    guiSelectContact contacts-book.js:286
    onclick

Relevant to this niche issue: I noticed the Stake dialog (advanced Owner Address) after clicking or typing a Contact's name, cannot send the transaction as the Name is not being converted to the Address it's associated to, for this, you can use the same name->address lookup that the normal Send flow uses.


unable to run simulator container due to conflicting uids

am hitting an issue after cloning the repo and then running "make run" . Full details below, but the error a get is right near the end starting the container:
Successfully tagged controlplane/simulator:latest

main

trap show_exit_warning EXIT

trap show_exit_warning SIGTERM

ensure_environment

export AWS_REGION=us-west-2

AWS_REGION=us-west-2

ensure_kubesim_directory

mkdir -p /home/launch/.kubesim

touch /home/launch/.kubesim/simulator.yaml
touch: cannot touch '/home/launch/.kubesim/simulator.yaml': Permission denied

show_exit_warning
++ tput setaf 2
++ tput sgr0

I am running in an Ubuntu VM running on Virtualbox on a PC. When building the VM the first user account which gets created (in my case called "chris") has a uid of 1000. I then created a second user called "training1" which has a uid of 1001 and used this latter account for the simulator install. I logged in as "training1" and then clone the repo, ran make run and hit the above error.
It essentially looks like the container itself is launching with a uid of "1000" - not sure how this is picked, but it seems to select the first permitted uid in a range which happens to be that of the "chris" account rather than that of "training1" which in turn then does not have permission to write to the .kubesim directory. Some further detail:
training1@ubuntu2:~$ id
uid=1001(training1) gid=1001(training1) groups=1001(training1),113(docker)
training1@ubuntu2:~$ ls -la ~/.kubesim
total 12
drwxrwxr-x 3 training1 training1 4096 Feb 25 17:29 .
drwxr-xr-x 8 training1 training1 4096 Feb 25 18:00 ..
drwxrwxr-x 2 training1 training1 4096 Feb 25 17:29 settings
-rw-rw-r-- 1 training1 training1    0 Feb 25 18:32 simulator.yaml
Also if I remove the following line in "simulator/kubesim" I can get the container to start:
-v "${KUBE_SIM_TMP}":/home/launch/.kubesim                        \
and the run kubesim I can access and see the following:
launch@launch:/app[0]$ id
uid=1000(launch) gid=1000(launch) groups=1000(launch)
launch@launch:/app[0]$ ls -la /home/launch
total 52
drwxr-xr-x 1 launch launch 4096 Feb 25 18:43 .
drwxr-xr-x 1 root   root   4096 Feb 25 18:00 ..
drwxr-xr-x 2 root   root   4096 Feb 25 18:00 .aws
-rw-rw-r-- 1 launch launch   90 Feb 25 17:26 .bash_aliases
-rw-r--r-- 1 launch launch  220 Apr 18  2019 .bash_logout
-rw-rw-r-- 1 launch launch 1210 Feb 25 17:26 .bashrc
-rw-rw-r-- 1 launch launch 1995 Feb 25 17:26 .inputrc
drwxr-xr-x 1 launch launch 4096 Feb 25 18:00 .kubesim
-rw-r--r-- 1 launch launch  807 Apr 18  2019 .profile
drwxrwxr-x 3   1001   1001 4096 Feb 25 17:29 .ssh
Note that if I repeat the installation, but use the "chris" account instead when the uid of both the account (chris) and the container (launch) are 1000, then everything works.
Thanks
Chris

Interesting!  Thanks for reporting the issue @cphowarth This is a tricky one to solve completely, we could specify a userid in a known range that isn't used by other applications when we create the user but there is still the potential problem of conflicting with systemd: http://0pointer.net/blog/dynamic-users-with-systemd.html - we have this bug to fix in our next milestone though

@raoulmillais Depending on how robust that check for in-use user accounts is by systemd, would it be worth picking a UID from that range to reserve early on in the Docker build process? If we get there first then systemd should prevent collisions with units installed afterwards.

If you are using training1 as the account, why is the home directory for this launch?  Was that intentional?
I wonder if this is why you are getting the following error:
touch /home/launch/.kubesim/simulator.yaml touch: cannot touch '/home/launch/.kubesim/simulator.yaml': Permission denied
Can you verify you expect to have the home directory in  /home/launch for account training1


Add a status check for the size of database tables.

Use Case
Have a check to alert if a table is above a certain threshold. For example, the certnames table. It would like this value to have a sane value but also be configurable.
Describe the Solution You Would Like
Alert me if key tables are larger than a set threshold and allow me to configure the threshold where necessary.

The way we have the module is that the facts can not be altered, it's a good.idea but we wouldn't configure the threshold.
What list of tables and sizes do we think we want

might be related? If not let me know and I create a new issue:
I spent a few hours debugging unresponsive nodes

they worked fine, but reports weren't stored in PuppetDB
pe-puppetdb on the compiles was fine, but couldn't write into postgresql
postgresql was overloaded because autovacuum was too conservative and didn't clean up enough
dead tuple count was rising -> db size grow -> inserting takes more and more IO
we were at a point where inserts where aborting because storage wasn't delivering enough IO for the (too) huge database

tl;dr a fact for dead tuples per table would be helpful I think? (and PE should have better defaults for autovacuum)


[Bug] Piecewise visualMap pieces are reset when setOption()

Version
5.3.3
Link to Minimal Reproduction
https://codepen.io/tigemi/pen/rNramOL
Steps to Reproduce

Toggle some pieces of the visual map into inactive

Click on the Set option button to invoke chart.setOption({})
Notice the visual map pieces

Current Behavior
The state of visual map pieces is reset, and the previous state is not preserved
Expected Behavior
The state of pieces that have been toggled into inactive should be kept (inactive)
Environment
- OS: Windows 10
- Browser: Chrome 108.0.5359.125

Any additional comments?
Maybe this issue relates to https://github.com/apache/echarts/issues/8655

Yes, visualMap is reset. But there is a workaround:
If you want to keep the visualMap selection on setOption, you could keep track of it and dispatch it back after setOption.
Demo Code - double-click on bars to do setOption

Thanks @helgasoft for the workaround, but there is actually an issue that needs to be fixed.


TorchScript: Too many dimensions for input?

Netron app and version: 7.1.4 Desktop app
OS and browser version: Windows 10

Steps to Reproduce:

Download https://github.com/snakers4/silero-vad/blob/master/files/silero_vad.jit
Rename from silero_vad.jit to silero_vad.pt
Open silero_vad.pt with Netron

silero_vad.zip

Duplicate of #1061


Adding nucleic sequence imputation

The work on this branch has diverged considerably from the original intent, which has been fulfilled.


Not able to get anything to play through youtube music

What version of Music Assistant has the issue?
2022.8
The problem
I've installed Music Assistant and appear to have linked it to my premium youtube account just fine. When I go to the music assistant tab, it appears that many of the artist just continue to spin without ever properly loading. Additionally, when I try to play something, seems like it connects to my cast device (i hear the ping), but nothing plays and it doesn't appear to play in music assistant (the play button doesn't turn to pause or give any other appearance of playing.
How to reproduce
Just trying to play something
Relevant log output
2-08-04 08:51:50.221 INFO (MainThread) [music_assistant.db] Database connected.
2022-08-04 08:51:50.650 DEBUG (MainThread) [music_assistant.event] background_job_updated
2022-08-04 08:51:51.585 DEBUG (MainThread) [music_assistant.event] background_job_updated
2022-08-04 08:51:51.657 INFO (MainThread) [music_assistant.stream] Started stream server on port 8095
2022-08-04 08:51:51.657 DEBUG (MainThread) [music_assistant.event] background_job_updated Cleanup cache
2022-08-04 08:51:51.657 DEBUG (MainThread) [music_assistant.event] background_job_updated Cleanup removed items from database
2022-08-04 08:51:51.997 INFO (MainThread) [music_assistant] Finished job [Cleanup cache] in 0.34 seconds.
2022-08-04 08:51:51.997 DEBUG (MainThread) [music_assistant.event] background_job_finished Cleanup cache
2022-08-04 08:51:52.007 INFO (MainThread) [music_assistant] Finished job [Cleanup removed items from database] in 0.35 seconds.
2022-08-04 08:51:52.007 DEBUG (MainThread) [music_assistant.event] background_job_finished Cleanup removed items from database
2022-08-04 08:52:19.653 DEBUG (MainThread) [music_assistant.event] background_job_updated
2022-08-04 08:52:19.653 DEBUG (MainThread) [music_assistant.event] background_job_updated
2022-08-04 08:52:19.662 DEBUG (MainThread) [music_assistant.event] background_job_updated Library sync for provider Youtube Music
2022-08-04 08:52:19.662 DEBUG (MainThread) [music_assistant.event] background_job_updated Library sync for provider URL
2022-08-04 08:52:19.665 DEBUG (MainThread) [music_assistant.music.ytmusic] Start sync of artist items.
2022-08-04 08:52:19.678 INFO (MainThread) [music_assistant] Finished job [Library sync for provider URL] in 0.02 seconds.
2022-08-04 08:52:19.678 DEBUG (MainThread) [music_assistant.event] background_job_finished Library sync for provider URL
2022-08-04 08:52:21.588 DEBUG (MainThread) [music_assistant.event] queue_added media_player.ethans_speaker
2022-08-04 08:52:21.589 INFO (MainThread) [music_assistant.players] Player registered: media_player.ethans_speaker/Ethans Speaker
2022-08-04 08:52:21.589 DEBUG (MainThread) [music_assistant.event] player_added media_player.ethans_speaker
2022-08-04 08:52:21.608 DEBUG (MainThread) [music_assistant.event] queue_added media_player.living_room_speaker
2022-08-04 08:52:21.610 INFO (MainThread) [music_assistant.players] Player registered: media_player.living_room_speaker/Living Room speaker
2022-08-04 08:52:21.610 DEBUG (MainThread) [music_assistant.event] player_added media_player.living_room_speaker
2022-08-04 08:52:21.611 DEBUG (MainThread) [music_assistant.event] queue_added media_player.bedroom_clock
2022-08-04 08:52:21.611 INFO (MainThread) [music_assistant.players] Player registered: media_player.bedroom_clock/Bedroom clock
2022-08-04 08:52:21.611 DEBUG (MainThread) [music_assistant.event] player_added media_player.bedroom_clock
2022-08-04 08:52:21.714 DEBUG (MainThread) [music_assistant.music.ytmusic] Start sync of album items.
2022-08-04 08:52:21.752 DEBUG (MainThread) [music_assistant.event] queue_added media_player.bathroom_speaker
2022-08-04 08:52:21.752 INFO (MainThread) [music_assistant.players] Player registered: media_player.bathroom_speaker/Bathroom speaker
2022-08-04 08:52:21.753 DEBUG (MainThread) [music_assistant.event] player_added media_player.bathroom_speaker
2022-08-04 08:52:21.773 DEBUG (MainThread) [music_assistant.event] queue_added media_player.home_group
2022-08-04 08:52:21.773 INFO (MainThread) [music_assistant.players] Player registered: media_player.home_group/Home group
2022-08-04 08:52:21.774 DEBUG (MainThread) [music_assistant.event] player_added media_player.home_group
2022-08-04 08:52:21.777 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.ethans_speaker
2022-08-04 08:52:21.780 DEBUG (MainThread) [music_assistant.event] player_updated media_player.ethans_speaker
2022-08-04 08:52:21.782 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.living_room_speaker
2022-08-04 08:52:21.785 DEBUG (MainThread) [music_assistant.event] player_updated media_player.living_room_speaker
2022-08-04 08:52:21.786 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.bathroom_speaker
2022-08-04 08:52:21.789 DEBUG (MainThread) [music_assistant.event] player_updated media_player.bathroom_speaker
2022-08-04 08:52:21.792 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.bedroom_clock
2022-08-04 08:52:21.797 DEBUG (MainThread) [music_assistant.event] player_updated media_player.bedroom_clock
2022-08-04 08:52:21.801 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:21.806 DEBUG (MainThread) [music_assistant.event] player_updated media_player.office_speaker
2022-08-04 08:52:21.816 DEBUG (MainThread) [music_assistant.event] player_updated media_player.home_group
2022-08-04 08:52:21.818 DEBUG (MainThread) [music_assistant.event] queue_added media_player.office_speaker
2022-08-04 08:52:21.818 INFO (MainThread) [music_assistant.players] Player registered: media_player.office_speaker/Office Speaker
2022-08-04 08:52:21.818 DEBUG (MainThread) [music_assistant.event] player_added media_player.office_speaker
2022-08-04 08:52:23.365 DEBUG (MainThread) [music_assistant.event] queue_items_updated media_player.ethans_speaker
2022-08-04 08:52:23.365 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.ethans_speaker
2022-08-04 08:52:23.697 DEBUG (MainThread) [music_assistant.music.ytmusic] Start sync of track items.
2022-08-04 08:52:25.185 INFO (SyncWorker_6) [pychromecast.controllers] Receiver:Launching app CC1AD845
2022-08-04 08:52:25.188 DEBUG (MainThread) [music_assistant.players.stream] Starting Queue audio stream for Queue Ethans Speaker (PCM format: s16le - sample rate: 44100)
2022-08-04 08:52:25.188 INFO (MainThread) [music_assistant.players.stream] Start Streaming queue track: database://track/688 (Arcade Fire - The Suburbs) for queue Ethans Speaker - crossfade: False
2022-08-04 08:52:25.188 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.ethans_speaker
2022-08-04 08:52:25.204 DEBUG (MainThread) [music_assistant.helpers.audio] start media stream for: ytmusic://track/BWuYbxdrJoA
2022-08-04 08:52:26.726 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.ethans_speaker
2022-08-04 08:52:26.727 DEBUG (MainThread) [music_assistant.event] player_updated media_player.ethans_speaker
2022-08-04 08:52:32.674 DEBUG (MainThread) [music_assistant.music.ytmusic] Start sync of playlist items.
2022-08-04 08:52:33.908 DEBUG (MainThread) [music_assistant.music.playlist] updated Your Likes in database: 1
2022-08-04 08:52:33.926 DEBUG (MainThread) [music_assistant.music.playlist] updated Classic Rock Instrumentals in database: 2
2022-08-04 08:52:33.937 DEBUG (MainThread) [music_assistant.music.playlist] updated Classic Children's Songs in database: 3
2022-08-04 08:52:33.948 DEBUG (MainThread) [music_assistant.music.playlist] updated Handclapping & Footstomping in database: 4
2022-08-04 08:52:33.959 DEBUG (MainThread) [music_assistant.music.playlist] updated Alt-8 06/09/2018 in database: 5
2022-08-04 08:52:33.971 DEBUG (MainThread) [music_assistant.music.playlist] updated Alt-8 Week Ending 06-16-18 in database: 6
2022-08-04 08:52:33.980 DEBUG (MainThread) [music_assistant.music.playlist] updated Ethan in database: 7
2022-08-04 08:52:33.989 DEBUG (MainThread) [music_assistant.music.playlist] updated Classic Rock Lullabies in database: 8
2022-08-04 08:52:33.998 DEBUG (MainThread) [music_assistant.music.playlist] updated Flanagan Home Videos in database: 9
2022-08-04 08:52:34.007 DEBUG (MainThread) [music_assistant.music.playlist] updated Classical in database: 10
2022-08-04 08:52:34.015 DEBUG (MainThread) [music_assistant.music.playlist] updated 90s Workout in database: 11
2022-08-04 08:52:34.032 DEBUG (MainThread) [music_assistant.music.playlist] updated Rock & Run! in database: 12
2022-08-04 08:52:34.041 DEBUG (MainThread) [music_assistant.music.playlist] updated SiriusXM Alt Nation Alt-18 - Updated in database: 13
2022-08-04 08:52:34.051 DEBUG (MainThread) [music_assistant.music.playlist] updated Unofficial Alt-Nation Alt-18 Countdown in database: 14
2022-08-04 08:52:34.060 DEBUG (MainThread) [music_assistant.music.playlist] updated Wedding potential in database: 15
2022-08-04 08:52:34.069 DEBUG (MainThread) [music_assistant.music.playlist] updated Paste's 50 Best Grunge Songs in database: 16
2022-08-04 08:52:34.588 DEBUG (MainThread) [music_assistant.music.playlist] updated New Release Mix in database: 17
2022-08-04 08:52:34.598 DEBUG (MainThread) [music_assistant.music.playlist] updated Baby Driver Soundtrack in database: 18
2022-08-04 08:52:34.612 DEBUG (MainThread) [music_assistant.music.playlist] updated Dream a Little Dream Soundtrack in database: 19
2022-08-04 08:52:34.624 DEBUG (MainThread) [music_assistant.music.playlist] updated Guardians of the Galaxy Awesome Mix Vol. 2 in database: 20
2022-08-04 08:52:34.635 DEBUG (MainThread) [music_assistant.music.playlist] updated Boombox Radio in database: 21
2022-08-04 08:52:34.648 DEBUG (MainThread) [music_assistant.music.playlist] updated A Happy Alternative in database: 22
2022-08-04 08:52:34.662 DEBUG (MainThread) [music_assistant.music.playlist] updated Conditions Underground in database: 23
2022-08-04 08:52:34.679 DEBUG (MainThread) [music_assistant.music.playlist] updated Electric swing in database: 24
2022-08-04 08:52:34.700 DEBUG (MainThread) [music_assistant.music.playlist] updated Today's Coffee Shop Blend in database: 25
2022-08-04 08:52:34.713 DEBUG (MainThread) [music_assistant.music.playlist] updated INDIE MIXTAPE Best Indie New Rock in database: 26
2022-08-04 08:52:34.727 DEBUG (MainThread) [music_assistant.music.playlist] updated '00s Indie Scene in database: 27
2022-08-04 08:52:34.740 DEBUG (MainThread) [music_assistant.music.playlist] updated Best New Alt/Indie in database: 28
2022-08-04 08:52:34.753 DEBUG (MainThread) [music_assistant.music.playlist] updated Best New Alt/Indie - 18 November 2013 in database: 29
2022-08-04 08:52:34.761 INFO (MainThread) [music_assistant] Finished job [Library sync for provider Youtube Music] in 15.1 seconds.
2022-08-04 08:52:34.761 DEBUG (MainThread) [music_assistant.event] background_job_finished Library sync for provider Youtube Music
2022-08-04 08:52:35.188 WARNING (MainThread) [music_assistant.players.stream] Abort: client(s) did not connect within 10 seconds.
2022-08-04 08:52:35.190 DEBUG (MainThread) [music_assistant.helpers.audio] media stream aborted for: ytmusic://track/BWuYbxdrJoA
2022-08-04 08:52:41.595 DEBUG (MainThread) [music_assistant.event] queue_items_updated media_player.office_speaker
2022-08-04 08:52:41.606 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:41.843 INFO (SyncWorker_0) [pychromecast.controllers] Not launching app CC1AD845 - already running
2022-08-04 08:52:41.843 DEBUG (MainThread) [music_assistant.players.stream] Starting Queue audio stream for Queue Office Speaker (PCM format: s16le - sample rate: 44100)
2022-08-04 08:52:41.843 INFO (MainThread) [music_assistant.players.stream] Start Streaming queue track: ytmusic://track/BWuYbxdrJoA (Arcade Fire - The Suburbs) for queue Office Speaker - crossfade: False
2022-08-04 08:52:41.843 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:41.857 DEBUG (MainThread) [music_assistant.helpers.audio] start media stream for: ytmusic://track/BWuYbxdrJoA
2022-08-04 08:52:42.918 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:42.919 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:42.921 DEBUG (MainThread) [music_assistant.event] player_updated media_player.office_speaker
2022-08-04 08:52:42.957 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:45.338 INFO (SyncWorker_1) [pychromecast.controllers] Not launching app CC1AD845 - already running
2022-08-04 08:52:45.339 DEBUG (MainThread) [music_assistant.players.stream] Starting Queue audio stream for Queue Office Speaker (PCM format: s16le - sample rate: 44100)
2022-08-04 08:52:45.339 INFO (MainThread) [music_assistant.players.stream] Start Streaming queue track: database://track/688 (Arcade Fire - The Suburbs) for queue Office Speaker - crossfade: False
2022-08-04 08:52:45.339 DEBUG (MainThread) [music_assistant.event] queue_updated media_player.office_speaker
2022-08-04 08:52:45.354 DEBUG (MainThread) [music_assistant.helpers.audio] start media stream for: ytmusic://track/BWuYbxdrJoA
2022-08-04 08:52:51.845 WARNING (MainThread) [music_assistant.players.stream] Abort: client(s) did not connect within 10 seconds.
2022-08-04 08:52:51.846 DEBUG (MainThread) [music_assistant.helpers.audio] media stream aborted for: ytmusic://track/BWuYbxdrJoA

Additional information
No response
What version of Home Assistant Core are your running
2022.8
What type of installation are you running?
Home Assistant Core
On what type of hardware are you running?
Linux

I see you're running HA core yourself. In that case note the following:

Make sure that TCP port 8095 can be accessed from your speakers on the local network to the HA server.
Make sure that in HA settings the "internal URL" field has a valid value
Try if the TTS feature of HA works on the cast speaker

Looking at your log the streaming part (Music Assistant) works correctly and the client simply failed to connect, meaning that your cast speaker can't reach the HA server on port 8095

@muddro1 we need more information to assist you. If you have fixed this yourself please close this issue. We will close this issue in a few days if we don’t hear back. Thanks.

Sorry havent gotten back. Been very busy.
Make sure that TCP port 8095 can be accessed from your speakers on the local network to the HA server. - opened up this port on my container instance, did not fix it.
Make sure that in HA settings the "internal URL" field has a valid value - This has a valid local IP
Try if the TTS feature of HA works on the cast speaker - works

Music assistant still does not work

Can you do any more testing to confirm that the speakers can actually connect to your HA server via port 8095. Anything in the logs?

Have a look at this https://github.com/music-assistant/hass-music-assistant/issues/865 You may have the same problem. Try and play something from Tune-In radio and TTS. If that all fails then it is likely an issue in your installation. Marcel will add some additional debugging in a few weeks that might help solve it. If you work out the problem yourself please let us know.

Ok so I had some issues with TTS that I have resolved, as I had a firewall issue. I thought maybe that would be the root cause of the issue here, but it isn't. It seems from the logs that its trying to reach my docker network ip:8095, when it should be trying to reach my local network ip:8095.

Thanks for continuing to work through this. Please wait for @marcelveldt to comment on this docker situation.

.164

I have the same problem MA send a wrong ip of the HA server #https://github.com/music-assistant/hass-music-assistant/issues/835#issuecomment-1233329520, so i can t play anythings with MA

@muddro1 in your Home Assistant settings, please configure the "internal URL" with your internal IP, so something like http://<IP_ADDRESS>:8123 in your case. It may also be an internal resolvable DNS-name.
Music Assistant will derive the stream URL from that field (DNS name will be auto resolved).
If you correct that field and restart HA it should automagically work.

when was this function introduced which recognizes the ip? because previously it worked perfectly for me I think until realizes 2022.8.1 then there was no way I could reproduce anything

It has always been like that, since the very beginning so it must be something in your network or config that is wrong, sorry.

Just checking if this is still a problem. We will close this soon if we don’t hear back.

Yeah I gave up. Tried those other fixes mentioned. Turned off all firewalls
between lans. Just wasn't working.
On Sat, Oct 1, 2022, 6:00 PM OzGav @.***> wrote:

Just checking if this is still a problem. We will close this soon if we
don’t hear back.
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/801#issuecomment-1264490201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZFCH33FWQIBZU4ICN4APTWBCYATANCNFSM55SPF2YA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sorry then. It will be a network issue but we don’t seem to be able to help you further at this time. Perhaps the discussion in the middle of this thread may help? https://github.com/music-assistant/hass-music-assistant/issues/898

That seems to be a similar issue. My issue was that it would not try to connect to my internal IP as I have it set in Home Assistant, but the adapter IP. Seems to be a bug to me if its not utilizing that IP.

Also I note you mention turning off firewalls BETWEEN LANs. MA must be able to access your speakers LOCALLY on port 8095.

Also I note you mention turning off firewalls BETWEEN LANs. MA must be able to access your speakers LOCALLY on port 8095.

Yes, I ensured 8095 was open. What appeared to be happening was that Music Assistant tried to send it directly to my docker network ip:8095, instead of my set up internalip:8095, which I had mapped to docker network IP. Basically should be Cast-->ServerIP:8095-->DockerInternalNetworkHomeAssistantIP:8095. Instead logs showed it as Cast --> DockerInternalNetworkHomeAssistantIP:8095.

Can you post a picture from HA SETTINGS>>SYSTEM>>NETWORK and show the bottom two boxes

Higher up you showed a log where MA was trying to cast to <IP_ADDRESS>:8095 . Above your adapter is <IP_ADDRESS> so it appears you are running multiple subnets which is not supported.

Ah that is recent as I've been working on migrating to another server. At the time there was only 172.19...

So what errors are you getting now then?

If you have solved this issue then please close this. If not then if you can please advise what errors you are getting now.

Hi!
Your issue is based on the IP address, that you're runnig Haas in a docker container. Default docker creates an inner network, which is independent from your home network. So, what happens is the 172.20.X.X is a docker basd IP. It cannot be resolved from any of your devices in your network, just from the server OS. The solution is to migrate your container into host network mode, where you will get a proper network IP from your DHCP server. Or forget docker, and use Home Assistant OS instead in a VM for example.


Bug: Expired files don't get deleted

What happened?
Expired files don't get deleted
Reproduction

Go to Zipline Upload Page
Upload a file and set expiration date to 5 Minutes (works with any amount)
Wait the set expiry time
You will see something like

Logs also don't show anything after the upload, except for the GETs to the server sent by the browser
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Firefox, Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc), Firefox Mobile
Zipline Logs
2023-07-21 05:12:20,731 PM debug [upload] recieved upload (len=1) [{"fieldname":"file","originalname":"redacted.jpg","mimetype":"image/jpeg","size":55578,"encoding":"7bit"}]
2023-07-21 05:12:20,753 PM info  [upload] User admin (1) uploaded myJe4s.jpg (1053)
2023-07-21 05:12:20,755 PM info  [server::response] POST /api/upload -> 200
2023-07-21 05:12:20,756 PM debug [server::response] {"method":"POST","url":"/api/upload","headers":{"host":"pi.local:3000","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","authorization":"redacted","expires-at":"date=2023-07-21T17:17:20.246Z","content-type":"multipart/form-data; boundary=---------------------------31411564993775558959987335600","content-length":"55815","origin":"http://pi.local:3000","connection":"keep-alive","referer":"http://pi.local:3000/dashboard/upload/file","cookie":"user=redacted; PHPSESSID=redacted; sid=redacted; PGADMIN_LANGUAGE=en","sec-gpc":"1"}}

Browser Logs
No response
Additional Info
Env

CORE_DATABASE_URL
postgres://postgres:postgres@postgres/postgres

CORE_HOST
<IP_ADDRESS>

CORE_LOGGER
true

CORE_PORT
3000

CORE_RETURN_HTTPS
false

CORE_SECRET
redacted

DEBUG
true

NEXT_TELEMETRY_DISABLED
1

NODE_VERSION
18.16.0

PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PRISMA_CLI_QUERY_ENGINE_TYPE
binary

PRISMA_CLIENT_ENGINE_TYPE
binary

PRISMA_FMT_BINARY
/prisma-engines/prisma-fmt

PRISMA_INTROSPECTION_ENGINE_BINARY
/prisma-engines/introspection-engine

PRISMA_MIGRATION_ENGINE_BINARY
/prisma-engines/migration-engine

PRISMA_QUERY_ENGINE_BINARY
/prisma-engines/query-engine

YARN_VERSION
1.22.19

There is no interval for when files are checked if they expire. Instead, they are checked the next time someone access the file through the upload route. Then, they are deleted. However if someone can still access the file after expiring, then it's an issue with your caching rules.

Shouldn't the docs reflect this? When an image expires, it will be deleted from the server kinda sounds like it would be deleted automatically after having expired
regardless, thanks for the help! I'll write a script to suite my needs then

i guess thats a bit misleading, but its mostly from the users point of view- in their eyes it will just return a 404 if it expired on their request. Closing, if you want to make an issue on the docs repo feel free to do so.

First off, thanks for this amazing project! I will aim to add this to your suggestions for v4 but it looks like this is a bit overwhelmed. Could an API endpoint be added that allows an external CRON job or similar to process the deletion of all expired files or is there an easier way of achieving this. This is one of the primary reasons for wanting to use the system, so file management and storage can easily be kept in check.

Any chance of having the file auto-delete feature to be implemented in near future?


security/acme-client: Support Cloudflares new token concept for DNS-01 challenge

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues and I'm convinced that mine is new.
[X] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.
In August 2019 Cloudflare finally introduced the granular API tokens:

https://community.cloudflare.com/t/new-api-tokens/110526
https://blog.cloudflare.com/api-tokens-general-availability/

Neilpang/acme.sh already implemented it (https://github.com/Neilpang/acme.sh/pull/2404/commits/c25947d5447ac03ac0fae56b338e8821d49d61ac).
Describe the solution you'd like
I would to use this new concept to increase security of my setup.
Describe alternatives you've considered
Unless implemented I have to use the "Global API Key" for the DNS-01 challenge.
Additional context
Current Update level I use:
OPNsense 19.7.7-amd64
FreeBSD 11.2-RELEASE-p16-HBSD
OpenSSL 1.0.2t 10 Sep 2019

Plugins:
os-acme-client (installed) | 1.28

Packages:
acme.sh | 2.8.3

well-written duplicate of #1477

closed the other one.

Thanks to @Alphakilo this will be available in the next release.


bugfix/issue-stan-2433: change step to match int_step

Submission Checklist

[ ] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
Change stan::math::step to match stan::math::int_step as requested in stan-dev/stan issue 2433.
Intended Effect:
Consistency between step functions.
How to Verify:
./runTests.py -j3 test/unit/math/prim/scal/
and
./runTests.py -j3 test/unit/math/rev/scal/
I ran the above commands without error.
Side Effects:
Change is step function behavior.
Documentation:
Made a note about this change just above step function definition.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): California State University, Chico
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

@roualdes and @syclik:
I think I led @roualdes astray with the poorly formulated issue 2433 in stan-dev/math.  We are very sloppy in using issues and sometimes just use them to track things that need to be fixed in some way without properly deciding how they should be fixed.
The current situation is bad---we have a step() function and int_step() function which are inconsistent.  But if we change the behavior of step(), we break backward compatibility.
Here's the BUGS manual.  You'll see that they define step(e) as 1 if e >= 0; 0 otherwise.  BUGS followed the tradition of defining the Heaviside step function which has that pesky >= condition.
In retrospect, I think we should just deprecate int_step and keep step() matching BUGS and tradition.

@bob-carpenter, thanks for looking into it.

@bob-carpenter, can you update the issue with what you're thinking about? stan-dev/stan#2433
And then we can close this PR.

Sorry, @roualdes but I'm going to close this and rewrite issue #805.

:-)  I did it before reading this request to do it.


Fixes typo in description for PowerShell Gallery

there was a typo in the word "Covers" in the PSD1 file

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


"no theme" message breaks the HMR capabilities.

Every single time a story gets updated there is this "no theme" message displayed for an instant before reflecting the change, this breaks the HMR feeling and the whole idea behind that, so I propose to address that issue with this change. Also updated the storybook version from 5.3.18 to 5.3.19, for al related repos.

this was happening because the isFirstDataReceived flag was being set to false on every update, forcing to swap between <ThemeProvider theme={theme}>{getStory(context)}</ThemeProvider>  and the message p>no theme</p>, breaking the seamless HMR update.

Thanks!

Thanks @mzamoras

There was a reason for having isFirstDataReceived flag previously. But at this moment removing it doesn't brake anything except it start to flash each time if the initial theme was changed in the addon panel. But anyway this behavior looks more comfortable so I'll add this path.


[Hotfix][Connector-V2][Rocketmq] Fix rocketmq spark e2e test cases

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

it is because of netty?


Update fibref.ml

The previous implementation returned the (n+1)th fibonacci number.  It returned the value of !curr, and  at the beginning prev references the 0th fibonnaci number and curr references the 1st fibonacci number. Each application of fib n progresses the pair by 1. Therefore, fib 0 would return the 1st fibonacci number, fib 1 the 2nd, etc. Another solution would be to return !prev, but that is less pretty.

Nice, thank you!


fix: typo in error messages of kernel interface

[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[ ] If this PR is a work in progress, are you filing the PR as a draft?

The PR contains a typo fixes in error messages of the kernel interface. Instead of Unknwon it should be Unknown.

Can one of the admins verify this patch?


Message when using group switch

Dear Support after the upgrade to the newest version of HASS 0.86.4 and the lovelace default front view,
when I click to a group switch to turn on or off switches that exist in that group it says turned on and then the entities id the lights in that group instead of the group name.
When I change to states frontend the group switch works as it is expected displaying the group name

This is the bug/issue tracker for Home Assistant. Please use the forum for questions about installation, setup, configuration and usage.
If it's a bug, please re-open the issue with the issue template filled.


Need to create custom objects with return data

Right now everything is returned as a SOAP API XML object.  It's fine to start with but we'll need custom types and a formatting file in order to properly handle and display what we get from the API.

Added Powershell classes and they're making a big difference.  Closing this for now will add individual issues for each class.


Player/MMR page broken for players who don't expose it

Should either hide the tab, or more easily just show a message

broken how?  Javascript crash or just no graph?

Just unhandled. No graph, 404 error in console.
https://www.opendota.com/players/91371513/mmr


fix: back button + reset tests changing session language

Change description
Fixes for:

Back button hiding on the your details page via Nunjucks
Functional test that change the session language, but don't change it back again
Tests with duplicated names warnings
Fix step sequence for help with fees steps

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

The logic still works in the same way, where the Back link is hidden on the first question and on the save and sign out pages.
But instead of passing around hideBackButton (e.g. pages that don't use it) it's now directly used on the pages that do need to customise/remove the Back link via a Nunjucks block: {% block backLink %}Change/remove bank link{% endblock %}


Redundant condition check in Push method of ArrayStack

In the current implementation of the Push method in the ArrayStack struct, there is a condition check nextIndex < len(x.slice). However, this condition will never be true due to the way the ArrayStack is initialized and elements are added to it.
The NewArrayStack function initializes the slice with a length of 0, and the Push method only ever increases the length of the slice by appending elements to it. So, the nextIndex will always be equal to the current length of the slice when a new element is being pushed, and the append function will always be used to add the new element to the slice.
Therefore, the condition nextIndex < len(x.slice) is not necessary in the current implementation. The Push method could be simplified as follows:
func (x *ArrayStack[T]) Push(values ...T) {
	for _, value := range values {
		x.slice = append(x.slice, value)
		x.topIndex++
	}
}

This version of the Push method correctly increases the size of the slice as new elements are pushed onto the stack, and updates the top index accordingly.
However, if the goal is to make the Push method more efficient by minimizing memory reallocations, an alternative approach could be used. Here is an example of such an implementation:
func (x *ArrayStack[T]) Push(values ...T) {
	if values == nil || len(values) == 0 {
		return
	}

	// Calculate total space needed for all elements being pushed
	requiredCap := len(x.slice) + len(values)

	// Grow the stack once if necessary
	if requiredCap > cap(x.slice) {
	        // It is assumed that there is a resize method created on the ArrayStack type to increase the capacity here.
		x.resize(requiredCap)
	}

	// Append all the elements
	x.slice = append(x.slice, values...)
}

In this version, the Push method grows the capacity of the slice in a more controlled manner, which can lead to fewer memory reallocations and improved performance.

Can you help me with a pr to optimize it?


Migrate navigation to new deployment guidelines

So, the idea here is to give us the flexibility to work on deployment guidelines in their own repo, but still have it look as though it's part of the main site.
We do this via a Stupid Hack™: we just make both repos build a jekyll site with an identical navbar.
This requires that any changes in the navbar be replicated in both repos; this choice was made so that we could easily work on the draft version, but have it easily deployed for viewing and comments. Now that the deployment guidelines are more stable we could consider moving the content over to this repo and getting rid of the Stupid Hack™, but that's an unimportant discussion for another day.

It looks great. I realized as I just went through it that I've worked on these pages off and on for a full year. So, I'm thrilled to see them up.
One thing though...we eliminated the ASN.1 examples as a separate section. Instead, we mention the decision not to specify wireline format at the end of the "Preparing Servers" section under the heading "Specifying wireline formats." That write-up points to the POUF guidelines at https://uptane.github.io/pouf.html where such examples are found.
Thanks, Justin, Jon, and Patrick for taking this through the last steps.

Excellent, thanks for fixing this the right way!


Hot Reload doesn't seem to work in VS Code on Mac per the instructions

I am following the VS Code instructions.
I am not able to get the hot reload working per the instructions in this doc.   If I run "dotnet watch" from command line it works.
Just thought you may want to update the docs (Or maybe I have an issue and would appreciate knowing)
Thanks

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

ID: faf18d20-d28f-1efa-d329-181fff3630fa
Version Independent ID: 46a7c2e0-4871-491f-02c2-54f7df2237b1
Content: Get started with ASP.NET Core MVC
Content Source: aspnetcore/tutorials/first-mvc-app/start-mvc.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What VSC instructions in this doc?

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.


Issues with SJIS tunneling (Kaguya Game)

Hello, I can't get SJIS tunneling to work on this game from Kaguya Mamagoto
Is there any solution?
sjis_ext.zip

Where could I "acquire" the game for testing?
Could you send a translated scenario and let me know which VNTextProxy DLL you used?

Where could I "acquire" the game for testing? Could you send a translated scenario and let me know which VNTextProxy DLL you used?

You can try on Mama x Holic or trial version of any games from Bare&Bunny, they are all same. The engine should preference d3d9.dll but it doesn't. This hook's d3d9 works with CreateFontIndirectA of the engine

Fixed. (Image below: font set to Arial, text uses non-SJIS "é")

The game's .exe doesn't (directly) import d3d9.dll, so that one won't work. version.dll works, however.

Ok I take my words back, looks like not all game are same. I tested on Mamagoto and it crashed, I guess it's an older version

Reopening to investigate Mamagoto.

The Mamagoto trial also works for me with the current (v0.0.18) version.dll:

The Mamagoto trial also works for me with the current (v0.0.18) version.dll:

Mine crashed when I clicked the start button, but it worked normal if I load
https://user-images.githubusercontent.com/81801486/197669710-4150088e-e31b-4b8f-85df-f4f8e44819de.mp4


Add Charles B. Cameron to Contributors' list.

A first attempt.  I don't know whether I did this right or not.

@cameroncb1, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

I had to study the history to figure out how you merged my two PRs into your Master.  Actually, I see you did it the other way around:  you merged Master into my branches separately and then, presumably when you were sure I hadn't broken something, you merged each branch into Master separately.  I didn't know that was how it would work.  I guess you then deleted the branches I had created.
At first I didn't know where to answer your question, but I figured that out, as you can see.  But does this response of mine show up somewhere in the files, or is it altogether separate?

@cameroncb1: There were some merge conflicts between master and your branch to resolve that, I had to merge changes from master to your branch. That's why it says that  I merged master on to  your branch.
This conversation we're having is independent of the repository. This is something provided by GitHub

@cameroncb1, Yes, you've definitely improved the tutorial.
We also have a slack team to help/mentor people trying to contribute to open source.
You can join us by going to https://firstcontributions.herokuapp.com


Bump pre-commit mypy hook

Codecov Report

Merging #185 (f10b178) into main (105a503) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #185   +/-   ##
=======================================
  Coverage   91.82%   91.82%
=======================================
  Files          10       10
  Lines         832      832
=======================================
  Hits          764      764
  Misses         68       68

Continue to review full report at Codecov.

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


PHP 7 support

Was attempted in #38 and then reverted back to php 5 due to lack of official Debian packages.
This issue is to track future work to bring php 7 into the Cachet Docker image.

We have 7.0 now as of #200. Going to leave this open until we get up to 7.1 (change the title to reflect this)

will leave this as is until alpine makes it easy.


MODULE ERROR: Electric.Replication.PostgresConnector

12:22:51.165 pid=<0.2848.0> [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}
12:22:51.275 pid=<0.3059.0> [info] Starting ElectricSQL 0.11.1 in direct_writes mode.
12:22:51.283 pid=<0.3060.0> [info] Running Electric.Plug.Router with Bandit 1.1.3 at :::5133 (http)
12:22:51.294 pid=<0.3374.0> origin=postgres_1 [info] Postgres.Client.with_conn(%{database: ~c"postgres", host: ~c"db.x.supabase.co", ip_addr: ~c"x:x:x:x:x:x:x", ipv6: true, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, ssl: true, ssl_opts: [server_name_indication: ~c"db.yymeltmaflntkkdlspah.supabase.co"], tcp_opts: [:inet6], timeout: 5000, username: ~c"postgres"})
12:22:51.319 pid=<0.3377.0> [warning] Description: ~c"Server authenticity is not verified since certificate path validation is not enabled"
     Reason: ~c"The option {verify, verify_peer} and one of the options 'cacertfile' or 'cacerts' are required to enable this."

12:22:52.117 pid=<0.3374.0> origin=postgres_1 [info] Successfully initialized origin postgres_1 at extension version
12:22:52.119 pid=<0.3383.0> [info] Starting Proxy server listening on port 65432
12:22:52.123 pid=<0.3393.0> [error] Postgrex.Protocol (#PID<0.3393.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3392.0> [error] Postgrex.Protocol (#PID<0.3392.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3391.0> [error] Postgrex.Protocol (#PID<0.3391.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3390.0> [error] Postgrex.Protocol (#PID<0.3390.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3389.0> [error] Postgrex.Protocol (#PID<0.3389.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3388.0> [error] Postgrex.Protocol (#PID<0.3388.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3387.0> [error] Postgrex.Protocol (#PID<0.3387.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3396.0> [error] Postgrex.Protocol (#PID<0.3396.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3394.0> [error] Postgrex.Protocol (#PID<0.3394.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:52.123 pid=<0.3395.0> [error] Postgrex.Protocol (#PID<0.3395.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:53.359 pid=<0.3396.0> [error] Postgrex.Protocol (#PID<0.3396.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:53.686 pid=<0.3387.0> [error] Postgrex.Protocol (#PID<0.3387.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:53.747 pid=<0.3390.0> [error] Postgrex.Protocol (#PID<0.3390.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:54.030 pid=<0.3394.0> [error] Postgrex.Protocol (#PID<0.3394.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:54.109 pid=<0.3391.0> [error] Postgrex.Protocol (#PID<0.3391.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:54.113 pid=<0.3388.0> [error] Postgrex.Protocol (#PID<0.3388.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.x.supabase.co:5432): non-existing domain - :nxdomain
12:22:54.121 pid=<0.3374.0> origin=postgres_1 [error] PostgresConnectorSup failed to start child Electric.Satellite.ClientReconnectionInfo with reason: {%DBConnection.ConnectionError{message: "connection not available and request was dropped from queue after 2000ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:\n\n  1. Ensuring your database is available and that you can connect to it\n  2. Tracking down slow queries and making sure they are running fast enough\n  3. Increasing the pool_size (although this increases resource consumption)\n  4. Allowing requests to wait longer by increasing :queue_target and :queue_interval\n\nSee DBConnection.start_link/2 for more information\n", severity: :error, reason: :queue_timeout}, [{DBConnection, :run, 3, [file: ~c"lib/db_connection.ex", line: 960, error_info: %{module: Exception}]}, {Electric.Satellite.ClientReconnectionInfo, :init, 1, [file: ~c"lib/electric/satellite/client_reconnection_info.ex", line: 855]}, {:gen_server, :init_it, 2, [file: ~c"gen_server.erl", line: 851]}, {:gen_server, :init_it, 6, [file: ~c"gen_server.erl", line: 814]}, {:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 240]}]}.
▓ ┌────────────────────────────────────────────────────────┐
▓ │  MODULE ERROR: Electric.Replication.PostgresConnector  │
▓ ┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┙
▓
▓ Failed to start child Electric.Satellite.ClientReconnectionInfo:
▓   {%DBConnection.ConnectionError{message: "connection not available and request was dropped from queue after 2000ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:\n\n  1. Ensuring your database is available and that you can connect to it\n  2. Tracking down slow queries and making sure they are running fast enough\n  3. Increasing the pool_size (although this increases resource consumption)\n  4. Allowing requests to wait longer by increasing :queue_target and :queue_interval\n\nSee DBConnection.start_link/2 for more information\n", severity: :error, reason: :queue_timeout}, [{DBConnection, :run, 3, [file: ~c"lib/db_connection.ex", line: 960, error_info: %{module: Exception}]}, {Electric.Satellite.ClientReconnectionInfo, :init, 1, [file: ~c"lib/electric/satellite/client_reconnection_info.ex", line: 855]}, {:gen_server, :init_it, 2, [file: ~c"gen_server.erl", line: 851]}, {:gen_server, :init_it, 6, [file: ~c"gen_server.erl", line: 814]}, {:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 240]}]}
▓
▓ Please file a new issue on GitHub[1], including the contents of this error.
▓
▓ [1]: https://github.com/electric-sql/electric/issues

I have removed identifying info. Trying to use 0.11 with docker, works when I run with electric-sql/electric:0.10

@gudgeirbui Thanks for reporting! This is a bug in the latest release.

Not sure if it's helpful, but just wanted to let you know I'm running into the same issue. Identifying info also removed:
07:35:26.128 pid=<0.3393.0> [error] Postgrex.Protocol (#PID<0.3393.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.128 pid=<0.3392.0> [error] Postgrex.Protocol (#PID<0.3392.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.128 pid=<0.3390.0> [error] Postgrex.Protocol (#PID<0.3390.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.129 pid=<0.3389.0> [error] Postgrex.Protocol (#PID<0.3389.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.129 pid=<0.3396.0> [error] Postgrex.Protocol (#PID<0.3396.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.129 pid=<0.3388.0> [error] Postgrex.Protocol (#PID<0.3388.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.128 pid=<0.3391.0> [error] Postgrex.Protocol (#PID<0.3391.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.129 pid=<0.3387.0> [error] Postgrex.Protocol (#PID<0.3387.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.129 pid=<0.3394.0> [error] Postgrex.Protocol (#PID<0.3394.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:26.129 pid=<0.3395.0> [error] Postgrex.Protocol (#PID<0.3395.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
 WARN Reaped child process with pid: 374 and signal: SIGUSR1, core dumped? false
07:35:27.348 pid=<0.3389.0> [error] Postgrex.Protocol (#PID<0.3389.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:27.481 pid=<0.3387.0> [error] Postgrex.Protocol (#PID<0.3387.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:27.851 pid=<0.3392.0> [error] Postgrex.Protocol (#PID<0.3392.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:28.053 pid=<0.3396.0> [error] Postgrex.Protocol (#PID<0.3396.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:28.053 pid=<0.3393.0> [error] Postgrex.Protocol (#PID<0.3393.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db.$SUPABASE_ID.supabase.co:5432): non-existing domain - :nxdomain
07:35:28.082 pid=<0.3374.0> origin=postgres_1 [error] PostgresConnectorSup failed to start child Electric.Satellite.ClientReconnectionInfo with reason: {%DBConnection.ConnectionError{message: "connection not available and request was dropped from queue after 2000ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:\n\n  1. Ensuring your database is available and that you can connect to it\n  2. Tracking down slow queries and making sure they are running fast enough\n  3. Increasing the pool_size (although this increases resource consumption)\n  4. Allowing requests to wait longer by increasing :queue_target and :queue_interval\n\nSee DBConnection.start_link/2 for more information\n", severity: :error, reason: :queue_timeout}, [{DBConnection, :run, 3, [file: ~c"lib/db_connection.ex", line: 960, error_info: %{module: Exception}]}, {Electric.Satellite.ClientReconnectionInfo, :init, 1, [file: ~c"lib/electric/satellite/client_reconnection_info.ex", line: 855]}, {:gen_server, :init_it, 2, [file: ~c"gen_server.erl", line: 851]}, {:gen_server, :init_it, 6, [file: ~c"gen_server.erl", line: 814]}, {:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 240]}]}.
▓ ┌────────────────────────────────────────────────────────┐
▓ │  MODULE ERROR: Electric.Replication.PostgresConnector  │
▓ ┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┙
▓
▓ Failed to start child Electric.Satellite.ClientReconnectionInfo:
▓   {%DBConnection.ConnectionError{message: "connection not available and request was dropped from queue after 2000ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:\n\n  1. Ensuring your database is available and that you can connect to it\n  2. Tracking down slow queries and making sure they are running fast enough\n  3. Increasing the pool_size (although this increases resource consumption)\n  4. Allowing requests to wait longer by increasing :queue_target and :queue_interval\n\nSee DBConnection.start_link/2 for more information\n", severity: :error, reason: :queue_timeout}, [{DBConnection, :run, 3, [file: ~c"lib/db_connection.ex", line: 960, error_info: %{module: Exception}]}, {Electric.Satellite.ClientReconnectionInfo, :init, 1, [file: ~c"lib/electric/satellite/client_reconnection_info.ex", line: 855]}, {:gen_server, :init_it, 2, [file: ~c"gen_server.erl", line: 851]}, {:gen_server, :init_it, 6, [file: ~c"gen_server.erl", line: 814]}, {:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 240]}]}
▓
▓ Please file a new issue on GitHub[1], including the contents of this error.
▓
▓ [1]: https://github.com/electric-sql/electric/issues
••• Shutting down •••
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
 INFO Main child exited normally with code: 1
 WARN Reaped child process with pid: 380 and signal: SIGUSR1, core dumped? false
 INFO Starting clean up.
[    5.442186] reboot: Restarting system
machine has reached its max restart count (10)

Will watch the other thread for updates!

@barrelltech Thanks for chiming in! And sorry this has taken a while to fix. We're aiming to publish a patch release with this fixed this week.

it works now in canary! Thanks for the quick fix


Wrong node selected when adding a new action.

Describe the bug
The wrong node is selected when adding a new action. I added a SetProperty action in the flow below but it then selected the node beneath the new one.

Version
https://github.com/microsoft/BotFramework-Composer-Nightlies/releases/tag/v1.1.1-nightly.178300.83c0804

Closing as a dupe of https://github.com/microsoft/BotFramework-Composer/issues/4616


Fix docstring: kappa is only used for LCB acquisition function

Description of gaussian_lcb() parameter kappa is the opposite of what is true.
See, e.g., https://scikit-optimize.github.io/stable/auto_examples/exploration-vs-exploitation.html?highlight=kappa

kappa is only used if acq_func is set to “LCB”. xi is used when acq_func is “EI” or “PI”. By default the acqusition function is set to “gp_hedge” which chooses the best of these three. Therefore I recommend not using gp_hedge when tweaking exploration/exploitation, but instead choosing “LCB”, “EI” or “PI.

You are right, thanks!


Possible bug in new version 3.15?

Hello!
I wish to apologize for my english. Thanks for reading me!
I update my own server from 3.14.
First, I download the new zip, I unzip this, and install (withouth remove the 3.14 version).
When I try to access to the "Saved commands" menu, this appear:

I also tried remove all the files of traccar, and make a new installation, I get the same result..
Someone know if there is a problem with this menu?
Thank you very much! Greetings.

I don't have any problems with accessing it. Tried Chrome, Firefox and Safari. No issues.

Have you solved the problem? What was the issue?

Hello,
Yes! It was a problem with browser cookies.
Thanks greetings.


Add Codecov test coverage

This adds Codecov for test coverage.
It's quite useful to see the test coverage of a PR by looking at the PR status.
This disables PR comments because they can be noisy.

This is a known bug in Codecov.
Apparently, the Codecov report are still looking good, so I am assuming the data is still uploaded. See report here. From that angle, would it still be useful to merge?

would it still be useful to merge?

Sure, go for it


"Protect keystorePassword in case https is used #164" and "Add missing SSL config options to Spring's jolokia-config.xsd #218"

@nevenr thanks a ton ! Looks very good.
I'm already in progress to make a release 1.3.2, though, for which I already did quite some tests, so I would like to apply your PR for the next 1.3.3 release which I plan short after (for sure earlier than the last release).
Sorry, hope that's ok for you but this release is a bit mission critical for me, so I want to keep the delta small (or do some more testing for which I currently haven't enough time  ...)

No worries @rhuss, I'm not in hurry.
Take your time.
Cheers,
N.


fix-1  chore: update test file 2

Stacked PR Chain: fix-1

PR
Title
Status
Merges Into

#6
(Draft) fix-1 dev: commit test file

-

#7
(Draft) fix-1  dev: commit test file 2

#6

#8
(Draft) fix-1  dev: change text in test file 1

#7

#9
👉 (Draft) fix-1  chore: update test file 2

#8

/amend

/ammend

/ammend

/ammend

/annotate


[documentation][bug] Java JDBCToBQ Example Submission

Java JDBC to BQ in the General Execution section.
Similar to issue #330, but in this issue we need only the bucket name instead of the bucket path here to successfully run the JDBCToBQ template.
For the temp gcs bcuket, it is mentioned that we need to mention the gcs path, but gcs bucket path does not match the regular expression which has been set for validations and instead only the GCS bucket name passes the validation
Example includes the following:
--templateProperty jdbctobq.temp.gcs.bucket=<gcs path>
The above line indicates that we have to mention the bucket path (Eg: gs://<bucket-name>), but when I do that, it gives me the following error:
ERROR: Invalid GCS bucket name 'gs:': bucket name must contain only 'a-z0-9_.-' characters.
But if I submit it with only the bucket name, then the script runs successfully without any error.

Closing this issue since the pull request has been merged.


Fargate support?

Is this plugin support for ecs fargate?

Yep, it sure is!

I tried to spin a service on ECS fargate and got this error.

An error occurred (InvalidParameterException) when calling the UpdateService operation: Task definition does not support launch_type FARGATE.

There have been a lot of changes in the plugin since this was reported, specially towards Fargate support. Do you have any specific information about what is missing to support Fargate?


Messaging: Log AlgorithmIdentifier and PKCS information

These are temporarily log statements to let us verify the AlgorithmIdentifier we use in addition to PKCS information.

Temp code so I think it is OK for something ad-hoc


Solved issues #127 and #128

Hey @nikhil25803
made PR for issues #127 and #128.
Kindly check.

Great work :)