Error:could not collect tokens | 403 Client Error

HI , i was just trying to use this tool just as described in demo video and using<EMAIL_ADDRESS>to test for data breaches and i am getting following error

] Created by : thewhiteh4t
[>] Version    : 1.1.7

[+] Checking for updates...
[+] Script is up-to-date...
[+] Bypassing Cloudflare Restriction...
<EMAIL_ADDRESS>returned an error. Could not collect tokens.
Traceback (most recent call last):
File "pwnedornot.py", line 273, in
main()
File "pwnedornot.py", line 64, in main
cookies, user_agent =<EMAIL_ADDRESS>user_agent='pwnedornot')
File "/usr/local/lib/python3.7/dist-packages/cfscrape/init.py", line 182, in get_tokens
resp.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url<EMAIL_ADDRESS>root@kali:~/Downloads/breach/pwnedOrNot#
the platform i am using this on are as follows:
root@kali:~/Downloads/breach/pwnedOrNot# uname -r
4.19.0-kali3-amd64
root@kali:~/Downloads/breach/pwnedOrNot# uname -v
#1 SMP Debian 4.19.20-1kali1 (2019-02-14)

same issue here.

@mohsin2928 @jepunband i have contacted Troy Hunt ( Creator of HaveIbeenPwned ),
I am waiting for his reply, I will try to resolve this if the error is caused by my tool, because personally i am not getting this error, not even once, so i am not able to reproduce this error

@jepunband since when are you getting this error, i used this tool today and got this @thewhiteh4t thanks a lot for looking into this and for your support , when i try to access<EMAIL_ADDRESS>i am getting an error that is attached.

Steps to reproduce it;
root@kali:~/Downloads/breach/pwnedOrNot# python3 pwnedornot.py -e<EMAIL_ADDRESS>afte this i hit enter and get the error message that i have attached earlier

@mohsin2928 i downloaded and tried it today.

@mohsin2928 you will always get the error if you try it with a browser because if you read the api documentation, all normal browser User Agents are blocked by default, API specifically needs tool / script name as the User Agent, and i am using pwnedornot as the User Agent

@thewhiteh4t so how can i proceed now,what to do ?

@mohsin2928 unfortunately you will have to wait until Troy Hunt replies...
Also here is my result for<EMAIL_ADDRESS>

Same issue here.

@mohsin2928 @jepunband @Medorna i have updated the tool and removed CFScrape for now, please test and report if you are still getting errors...

@thewhiteh4t thanks alot, its working fine as if now,i will keep using it and update the thread if i encounter any more bugs, but again thanks for working on this

@mohsin2928 @jepunband i have contacted Troy Hunt ( Creator of HaveIbeenPwned ),
I am waiting for his reply, I will try to resolve this if the error is caused by my tool, because personally i am not getting this error, not even once, so i am not able to reproduce this error

getting a different error now ..

@mohsin2928 thankyou for using my tool and feedback!!

@jepunband how can i reproduce this error?

@jepunband how can i reproduce this error?

@mohsin2928 @jepunband i have updated again, fixed decode errors (found few more), and getting dumps is a bit faster now, please test and report, i have also removed install scripts and replaced with requirements file as CFScrape is not required anymore, overall tool is much lighter

@mohsin2928 @jepunband i have updated again, fixed decode errors (found few more), and getting dumps is a bit faster now, please test and report, i have also removed install scripts and replaced with requirements file as CFScrape is not required anymore, overall tool is much lighter

hi still same error:
Traceback (most recent call last):
File "pwnedornot.py", line 247, in
main()
File "pwnedornot.py", line 51, in main
check()
File "pwnedornot.py", line 88, in check
simple_out = json.loads(json_out)
File "/usr/lib/python3.7/json/init.py", line 338, in loads
s, 0)
json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)

@jepunband i tested with<EMAIL_ADDRESS>i am not getting any errors :O

@thewhiteh4t thanks for tool improvements, could you please mention the full command if we have to search for breach on a particular domain,its working fine on emails but for domains its showing an argument is missing !!!!

@mohsin2928 in the README i have mentioned the command under examples
python3 pwnedornot.py -e<EMAIL_ADDRESS>-d adobe.com

unfortunately it didnt work for me ... same errors as before :
Traceback (most recent call last):
File "pwnedornot.py", line 247, in
main()
File "pwnedornot.py", line 51, in main
check()
File "pwnedornot.py", line 88, in check
simple_out = json.loads(json_out)
File "/usr/lib/python3.7/json/init.py", line 338, in loads
s, 0)
json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)

@jepunband are you getting this error for every email address or a specific one? if you are getting this on every email, which operating system are you using and which shell are you using?

hi it happens on every email i tested.  i'm on parrot sec. Linux parrot 4.19.0-parrot2-28t-amd64

@jepunband i will test on parrot os, lets see what the problem is

@jepunband I am not getting any errors on latest parrot sec os, so problem is not with the tool or parrot os, it's a problem in your configuration and i can't help you with that
cat /etc/os-release
PRETTY_NAME="Parrot GNU/Linux 4.6"
NAME="Parrot GNU/Linux"
ID=parrot
ID_LIKE=debian
VERSION="4.6"

cat uname -r
4.19.0-parrot1-13t-amd64

hmmm, strange even with a fresh installation of parrot i still get the same errors.. : (

@jepunband found the problem, it's cloudflare ddos protection, it is blocking the request and giving error 503, so when the script proceeds data is basically empty and that's why you are getting a json decode error because there's nothing to decode

please if you know a solution pplease tell me .
this is a output "Request Blocked by Cloudflare"  my internet working good !

@ostes execute git pull and try again pushed a small update

thanks i Tried
[-] Error 403 : Request Blocked by Cloudflare
[+] Completed in 0.5606667995452881 seconds.
root@kali:~/pwnedOrNot# git pull
Already up to date.
root@kali:~/pwnedOrNot#

same error

@ostes version?

@ostes
Hi I come from Hong Kong and I has same problem of the "Error 403 : Request Blocked by Cloudflare" too.
For the application, I am using ubuntu 16.04 LTS and running by VM.
Please help. Thanks.

Hi, I get Error 403: Request Blocked by Cloudflare

Good morning, I have restricted access on cloudflare. I'm using Kali on Raspberry pi 3 b,
using only one email, I was able to use more when I used the -f command this fault occurred

@guilhergomes please share the exact command you used

@guilhergomes please share the exact command you used
root@kali:~/pwnedOrNot# python3 pwnedornot.py -f gui.txt

Should you use VPN?
-----Original Message-----
From: "twm1016"<EMAIL_ADDRESS>Sent: 5/8/2019 2:31 PM
To: "thewhiteh4t/pwnedOrNot"<EMAIL_ADDRESS>Cc: "Subscribed"<EMAIL_ADDRESS>Subject: Re: [thewhiteh4t/pwnedOrNot] Error:could not collect tokens | 403Client Error (#20)
@ostes
Hi I come from Hong Kong and I has same problem of the "Error 403 : Request Blocked by Cloudflare" too.
For the application, I am using ubuntu 16.04 LTS and running by VM.
Please help. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@BaRRaKudaRain I didn’t connected any VPN

@twm1016 @BaRRaKudaRain are you guys willing to send some emails?
i printed the response body for error 403 :
<!DOCTYPE html>

  <title>Request Blocked</title>
  <meta charset="UTF-8" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

You have been blocked from accessing this resource on Have I Been Pwned

This may be due to violating one or more of the acceptable use terms of the API or for not complying with the API specifications. It may also be due to your traffic patterns being similar to other users who may have violated the acceptable use terms.

Tips to avoid requests being blocked include:

Stick well within the published rate limit

Don't distribute requests over multiple IP addresses in an attempt to circumvent the rate limit

Only query the email addresses of people who have a reasonable expectation that you should do so

Avoid prolonged querying of the API over an extended period of time

Clearly identify your app in the user agent string per the API docs

If you reach out to ask for help after seeing this message and need to be directed to the previous point, you agree to make a donation

If you believe your request meets these requirements and was still blocked, please send this entire response body along with any communication you send regarding the error.

Access denied

This website is using a security service to protect itself from online attacks.

Ray ID: 4d54a3644d30633b

Timestamp: 2019-05-11 13:53:17 UTC

Your IP address: <IP_ADDRESS>

Requested URL<EMAIL_ADDRESS>

Error reference number: 1020

Server ID: FL_104F19

User-Agent: pwnedornot

If you believe your request meets these requirements and was still blocked, please send this entire response body along with any communication you send regarding the error
now I have followed the api docs properly and tool works for me and some other people but for many others its not working, if i use a https proxy with a useragent pwnedornot or pwned-or-not , i am also getting 403 for both, also take a look at this :

it's somewhat location based i guess, it works for some regions and in other places it does not, because you guys are not using any proxy or vpn and actually both are not required

@twm1016 @BaRRaKudaRain
i have made few changes, tell me if it works...
cd pwnedOrNot
git pull
New version is 1.2.2

I mean you need to try connect the VPN. I'm not sure, but it can be helpful. And sorry for my bad English.
-----Original Message-----
From: "twm1016"<EMAIL_ADDRESS>Sent: 5/12/2019 3:33 PM
To: "thewhiteh4t/pwnedOrNot"<EMAIL_ADDRESS>Cc: "Ilya Lapa"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Subject: Re: [thewhiteh4t/pwnedOrNot] Error:could not collect tokens | 403Client Error (#20)
@BaRRaKudaRain I didn’t connected any VPN
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Give it a go @BaRRaKudaRain, try different regions and try to run it without vpn also because useragent pwnedornot is blocked by the api and i have changed useragent in new update so it might work for you now

@twm1016 @BaRRaKudaRain
i have made few changes, tell me if it works...
cd pwnedOrNot
git pull
New version is 1.2.2
Edit : reverted to old useragent, new version is 1.2.3, you can now see response body for error 403, workaround used in 1.2.2 is not working after some time

@thewhiteh4t I am still not working for this, and I showed same error as you was posted in past, should I send you those response by email? If yes where can I find your email? Thanks.

@twm1016 no you don't have to send the response to me, i have included the email on which you have to send the response<EMAIL_ADDRESS>

@thewhiteh4t OK, Thanks for the helping.

@twm1016 no you don't have to send the response to me, i have included the email on which you have to send the response<EMAIL_ADDRESS>

Conducted multiple tests with multiple proxies :
Argentina --> 5 proxies tested [ https ] --> [5/5] Error 403 | Request Blocked
Hong Kong --> 5 proxies tested [https] --> [5/5] Error 403 | Request Blocked
USA --> 5 proxies tested [https] --> [5/5] Error 200 | OK
India --> 5 proxies tested [https] --> [5/5] Error 200 | OK
haveibeenpwned API is blocking requests by region, i can't do much about this :(


File model has to save service and unique Id

Currently the File model is unaware where the file was saved. We have to start storing this information so we can delete these files later on.
Modify the database:

Add column remote_id, string, nullable
Add upload_method to phpdoc of File

Change logic to:

Save upload_method to database
Store the remote id to the database, eg for Imgur

Fixed in https://github.com/flagrow/upload/commit/69227038f71a2f36f66c8d3b0dcc4b405fc574f4


DELIA-53757: SIGABRT in getvideodevices

Reason for change:  validating getvideodevices size
Test Procedure: reload multiple times
Risks: Medium
Signed-off-by: Kumar Santhanam<EMAIL_ADDRESS>

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


Add new training for scATAC-seq analysis using SnapATAC2

Please review :)

@timonschlegel please consider writing a small blog post to announce this tutorial :)

@bgruening I've now made a PR containing the announcement. I hope everything looks okay :)


Fixes exceptNullValues to not omit fields

Previously, when iterating over the keys of an object fetched by the generated API, keys where the value was null were omitted.
Explicitly set the field to undefined if the original field value was null. This is in line to array elements being set to undefined from null.
Additionally, typing does not break, since the original object was typed as {X:string|null}, the generated type is {X?:string} and so undefined is a valid value for that object.

Data as fetched by e.g. apollo is:
{
  "data": {
    "someObj": { "someKey": null }
  }
}

And we store it in a variable response. Previously Object.keys(response.data.someObj)would emit []. After this change ["someKey"] where response.daata.someObj.someKey = undefined

Hi Miladiir, thanks for your pull request, now the newest version is 3.0.10


Added notebook to compare flatmaps of the same volume

In the notebook we generate several plots that compare our proposed flatmap for mouse Isocortex to the existing solution by the AIBS.
It can in principle be equally used to compare other flatmaps, as long as they flatten the same (or strongly overlapping) voxel volume.

Thanks Michael!
A couple of minor points:

As this is related to the flatmapping algorithm, can you please rename the directory to flatmap/notebooks?
Is the file notebooks/structures.json verbatim from AIBS? If so, I'd rather we don't redistribute that, but instead download it as part of the notebook. Otherwise, if it is derived from an AIBS file, I'd rather have the code to generate this from sources in the notebook.

Furthermore, can you please remove cell outputs from the notebook?

Could it be that the JSON hierarchy file 1.json provided by AIBS can be used instead of having to convert the Excel file to CSV? (Also, I see that the notebook still mentions structures.json).
Regarding the notebook outputs, OK, I see your point. Only perhaps you'd like to remove the warning messages to avoid leaking your username and home directory?

I found that flatmap paths are available at 10 um here. I think it'd be best to compare the flatmaps at high/native resolution. Can you please give it a try?


Yi Dome - grey screen

Firmware Version | 0.1.9
Base Version | <IP_ADDRESS>_202009251856
Model Suffix | r30gb
I have a problem with rtsp. Often screen turns grey (at least once every 30s). I don't see any artifacts, it's just grey.
It doesn't seem to be problem with software I have to view rtsp. I have second (older) camera with
yi-hack-Allwinner and there is no such issue.
Can I somehow help with fixing this?

Try with another client and check if you have the same problem.
And check if the wifi signal is poor.

I moved cam and connected with VLC but that didn't helped. WIFI signal strength is 88%.

r30gb is the only model that sends the stream coded in h265.
Probably it's a performance issue but I can't test it because I don't own that model.

How it works? Your code is converting h265 to h264?
Is there anything I can do to help you with that cam?

No, my code doesn't decoder or encode the stream.
Simply it extracts the frames from the framebuffer and sends them to the rtsp server.

From performance perspective it doesn't seem that there is high load on CPU
Mem: 59864K used, 1044K free, 1804K shrd, 1920K buff, 11376K cached
CPU: 40.0% usr  9.9% sys  0.0% nic 49.2% idle  0.0% io  0.0% irq  0.7% sirq
Load average: 1.54 1.42 1.24 1/115 16185
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 1118     1 root     S    42180 69.0   0 42.5 ./rmm
 1388     1 root     S<    5484  8.9   0  2.1 rRTSPServer
 1211     1 root     S     3476  5.6   0  0.5 ./p2p_tnp
 1209     1 root     S     2724  4.4   0  0.2 ./mp4record
  598     1 root     S     1084  1.7   0  0.2 ./dispatch

Does VLC show any error?

I don't see any errors in VLC. Here is one of moments when screen turned grey:

I tried to debug rRTSPServer with
RRTSP_AUDIO=no RRTSP_MODEL=r30gb RRTSP_RES=high RRTSP_DEBUG=3 rRTSPServer 2> log.txt
I was also watching stream. It was working for a few seconds, then broke and after next few seconds I stopped rRTSPServer (that's why log is not long).
Here is log.txt
In log I found:
1638640094487: warning - unexpected NALU header
1638640094487: warning - incorrect frame counter - frame_counter: 6552 - frame_counter_last_valid: 6946

Is it possible that this is connected to issue?

This warning is not an error. Let's analyze the log:
1638640094487: frame detected - frame_len: 28 - frame_counter: 7529 - frame_counter_last_valid: 7529 - resolution: 1080
1638640094487: frame_len: 28 - cb_current->size: 262144
1638640094487: frame_len: 37 - frame_counter: 7529 - resolution: 1080
1638640094487: frame_write_index: 22/42

Everything OK above.
Below the grabber looses the sync. It waits for the frame number 6947 but detects frame number 6552.
Same problem for both: low res and high res.
1638640094487: warning - unexpected NALU header
1638640094487: warning - incorrect frame counter - frame_counter: 6552 - frame_counter_last_valid: 6946
1638640094487: frame detected - frame_len: 834 - frame_counter: 6552 - frame_counter_last_valid: 6946 - resolution: 360
1638640094487: warning - incorrect frame counter - frame_counter: 7132 - frame_counter_last_valid: 7529
1638640094487: frame detected - frame_len: 3496 - frame_counter: 7132 - frame_counter_last_valid: 7529 - resolution: 1080
1638640094487: warning - incorrect frame counter - frame_counter: 6553 - frame_counter_last_valid: 6946
1638640094488: frame detected - frame_len: 860 - frame_counter: 6553 - frame_counter_last_valid: 6946 - resolution: 360
1638640094488: warning - incorrect frame counter - frame_counter: 7133 - frame_counter_last_valid: 7529
1638640094488: frame detected - frame_len: 2925 - frame_counter: 7133 - frame_counter_last_valid: 7529 - resolution: 1080
1638640094488: warning - incorrect frame counter - frame_counter: 6554 - frame_counter_last_valid: 6946
1638640094488: frame detected - frame_len: 841 - frame_counter: 6554 - frame_counter_last_valid: 6946 - resolution: 360
1638640094488: warning - incorrect frame counter - frame_counter: 7134 - frame_counter_last_valid: 7529
1638640094488: frame detected - frame_len: 3190 - frame_counter: 7134 - frame_counter_last_valid: 7529 - resolution: 1080
1638640094488: frame detected - frame_len: 827 - frame_counter: 19090 - frame_counter_last_valid: 7529 - resolution: 0
1638640094488: warning - incorrect frame counter - frame_counter: 6555 - frame_counter_last_valid: 6946
1638640094488: frame detected - frame_len: 805 - frame_counter: 6555 - frame_counter_last_valid: 6946 - resolution: 360
1638640094488: warning - incorrect frame counter - frame_counter: 7135 - frame_counter_last_valid: 7529
1638640094488: frame detected - frame_len: 2806 - frame_counter: 7135 - frame_counter_last_valid: 7529 - resolution: 1080
1638640094488: warning - incorrect frame counter - frame_counter: 6556 - frame_counter_last_valid: 6946
1638640094488: frame detected - frame_len: 843 - frame_counter: 6556 - frame_counter_last_valid: 6946 - resolution: 360
1638640094488: warning - incorrect frame counter - frame_counter: 7136 - frame_counter_last_valid: 7529
1638640094488: frame detected - frame_len: 2728 - frame_counter: 7136 - frame_counter_last_valid: 7529 - resolution: 1080
1638640094488: warning - incorrect frame counter - frame_counter: 6557 - frame_counter_last_valid: 6946
1638640094488: frame detected - frame_len: 806 - frame_counter: 6557 - frame_counter_last_valid: 6946 - resolution: 360

Now the grabber finds frame number 6947 and ths restore the sync.
Same thing for high res. It waits for frame 7530, it detects frame 7531 but it's normal: not all frames in the framebuffer are h264 frames.
There can be a jump of a number in the counter.
1638640094513: frame detected - frame_len: 791 - frame_counter: 6947 - frame_counter_last_valid: 6947 - resolution: 360
1638640094514: frame_len: 791 - cb_current->size: 49152
1638640094514: frame_len: 791 - frame_counter: 6947 - resolution: 360
1638640094514: frame_write_index: 19/42
1638640094514: frame detected - frame_len: 814 - frame_counter: 19196 - frame_counter_last_valid: 7529 - resolution: 0
1638640094514: frame detected - frame_len: 3655 - frame_counter: 7531 - frame_counter_last_valid: 7531 - resolution: 1080

So, this behavior is not a problem: if the grabber is able to restore the sync. no frames are lost.


Update meta.yaml for new package version from CRAN

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge/r  could you review my PR please?

@conda-forge-admin, please ping conda-forge/r

Could you review my PR please?

Thank you for the review.
I hope I did the right modifications.


[Feature] cast and cast.lossy for literals.

This PR supports casting between different literals.
Users may use:

cast, which checks that information are preserved between casts.
cast.lossy which performs casting with lossy truncation

Example Usage
input r0 as field.private;
cast r0 into r1 as group;
cast r0 into r2 as u8; // r0 must be [0field, 255field] for this to pass
cast.lossy r0 into r3 as u8; // The bottom 8 bits of the r0 are extracted into a u8 and placed into r3

Closing in favor of #1968


Shadows/Depth not showing in build

Describe the bug
Currently, im having an issue, that the shadows won't render in a build version of the game, but in the editor it will show up nicely, it seems like depth effects also do not work properly in the buildt version of the game. I do have other shadows showing, also i have everything cranked to max as graphics settings.
Expected behavior
I would expect the same behaviour in editor as in the final build
Screenshots
https://www.dropbox.com/s/kr29sf22nph2umg/editor.png?dl=0
https://www.dropbox.com/s/7076a6nurzve3yp/build.png?dl=0
Unity details:

Flat Kit version: 2.1.1
Unity version: 2020.2.5f1
Graphics Pipeline: URP
URP version (if applicable): 10.3.1
Development OS: Windows

Build platform:

Platform: Windows
Test device: Windows

Hi,
Thank you for using Flat Kit and for all the included details.
I'm afraid, from the screenshots it is not crystal clear what exactly shadows do you mean. On both of the screenshots I can see the cast shadows from the trees. The cel shadows seem to be displayed as well. Could you please emphasize the problematic spots?
Some of the depth issues were fixed in the newer version of Flat Kit, 2.1.6. Could you please try updating to this version?
Prior to updating Flat Kit, please, consider updating Unity to at least 2020.3.1.f1 LTS (if you are planning to continue using 2020's range of Unity)
Also, could you please check your settings in the Edit - Project Settings -> Quality tab? Is it set as described in the manual here?
Let me know if the issue is still there after you try updating Flat Kit and Unity.

Hi,
Thank you for using Flat Kit and for all the included details.
I'm afraid, from the screenshots it is not crystal clear what exactly shadows do you mean. On both of the screenshots I can see the cast shadows from the trees. The cel shadows seem to be displayed as well. Could you please emphasize the problematic spots?
Some of the depth issues were fixed in the newer version of Flat Kit, 2.1.6. Could you please try updating to this version?
Prior to updating Flat Kit, please, consider updating Unity to at least 2020.3.1.f1 LTS (if you are planning to continue using 2020's range of Unity)
Also, could you please check your settings in the Edit - Project Settings -> Quality tab? Is it set as described in the manual here?
Let me know if the issue is still there after you try updating Flat Kit and Unity.

I will update later today, i was talking about the player not showing any depth effects, and also not casting any shadows as you can see on the editor screenshot where it does, (side of the pond)

@dustyroom-studio You can close this issue, updating to the latest version of flatkit has solved my issue's <3


Replace github.com/sourcegraph/lib/errors with stdlib

We currently depend on the Sourcegraph error library, which pulls in a lot of dependencies. We only use the multierror type from that library. The functionality of the multierror type will be included in the standard library in the go 1.20 release. Once 1.20 is released, we should remove the dependency and replace it with the standard library implementation.

👋 Hi. I had a go at this issue. Please let me know what you think or if it is too early. Thanks!

resovled by !76. Are there any other tasks that need to be dealt with in this issue?

Nope! I think we can close it. Thanks!


How can i use SensorRotationManager in openGl activity please?

Hello i want to rotate camera during streaming , i find a   class SensorRotationManager  but i dont know how to use it .
Can you help me please ? Thanks

I sucess to implement SensorRotationManager in OpenGlRtmpActivity but I have this result when I turn the phone in landscape (streamPreview very small)

It is because you started stream in portrait. You should start stream in landscape to get horizontal resolution (full screen) and then when you rotate to protrait it will be adapted correctly.

can i adapt horizontal resolution (full screen) when activity fixed to portrait , i want to fixed my app in portrait

Actually this feature is limited for landscape activity locked. I will create a feature to allow stream without lock activity in portrait or landscape as you said but it is not developed yet

I have another question, is there a method to unlock 60FPS on phones (with the native camera, I can film with 60fps but with your app or other apps I only have 30fps maximum even if with this line for test:
mPreviewRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range<>(60, 60));
)

Hello,
It is not possible it is locked by device's manufacturer.
In few models (like Google pixel) you can do it without modify a line of code. You only need specify it on prepareVideo method.
This is totally on manufacturer side.

I tested as you told me (I changed 30 to 60 framerate of the onPrepareVideo function) under Xiaomi redmi 8 pro where 60 and 50 fps are unlocked but it doesn't work, I have a black screen when I start the stream

Hello,
To know if you have 60 fps allowed in that resolution. Use camera2 with this code:
//get all fps range supported by your device. Print the returned ranges to show it.
rtmpCamera2.getSupportedFps();
//if you can find 60 fps in the above method. Use this method to know if your resolution support 60 fps (replace resolution and facing to the desired in your case).
rtmpCamera2.getSupportedFps(new Size(640, 480), CameraHelper.Facing.BACK);

Hello, I have the similar problem - when I starting preview in portrait it's became 90 degree rotated in horizontal ( video sample https://disk.yandex.ru/i/UWuMd-Hxuw1gzw). How can I fix this?


Firefox 55 warns extension is “Legacy”

Version 1.6.0 as published in the Firefox Extension Catalog will stop working in Firefox 57 (due 2017-11-14). The extension is identified by Firefox as using the legacy add-on API and not the new WebExtensions API.

Thank you for reporting this warning.
It is noted and we are doubling down on migration.
(Closing as a duplicate of #20, where we track Migration to WebExtensions API)


Add full set of smoke tests

This is related to https://github.com/brainglobe/cellfinder-napari/issues/31, but I'm opening this a subset of the tests we want to add. As a first round of tests we should add a set of smoke tests, that check that the code is running. Once this is done we can then use these as a base to create regression tests to check that the code is running correctly. The goal of this issue is to get code coverage as close to 100% as possible.

https://app.codecov.io/gh/brainglobe/cellfinder-napari shows the current coverage - to fix this issue we should get that number as close to 100% as possible (currently at 81%)


strange tick placement at edges [lcarr project]

Shows up for goal differential data only.
Y-axis:

X-axis:

kind of this: https://stackoverflow.com/questions/13669239/remove-end-ticks-from-d3-js-axis

But more than just showing the tick, I want the last tick to be the edge of the plot


Fold cosmetic sunglasses into regular sunglasses

About the PR

It is extremely weird to have two identical-looking items that have the same appearance, name, and description but different properties for "balance" reasons. I understand the intent is just to make revs less metagame-able by having sunglasses available to regular crew (perfectly fine!) but implementing sneaky fake sunglasses seems like a very poor way to do it.
This just replaces the previously cosmetic sunglasses with normal ones (along with reducing the amount in the clothesmate). I don't really think it's an issue that a few crewmembers can get their hands on sunglasses.
Why / Balance

Items shouldn't be intentionally deceptive or misleading about what their purpose is. Having items that secretly pretend to be one thing while having none of the properties of it is very lame. It also doesn't help with metagaming since you can still just use flashes to check if the sunglasses are real or not (which is now more effective since regular sources of sunglasses for other jobs were converted, making them a head/sec-only item).
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

no cl no fun

Agreed, as a secoff I get confused on what sunglasses are fake or not, and it's more-so annoying than anything. I would much rather know if my flash/flashbangs are going to waste or not.


Allow for default plot config using "*"

Allow for setting the default config based on an existing config-name.
If "*": "gudmap-config' is set in the plot-config document, then the gudmap-config plot configuration should be used when no config param is provided (/deriva-webapps/plot) or an invalid config param is provided (/deriva-webapps/plot?config=invalid).

Since the react migration of the plot app, we are using getConfigObject from chaise/src/utils/config.ts. This function handles invalid config parameters and when no config parameter is set and a key in plot-config.js is defined with "*": "config-name"


Fixed that no-return-wrap does not work if type is not "ExpressionStatement".

What is the purpose of this pull request?

Fixed that no-return-wrap does not work if type is not "ExpressionStatement".
(ex. "ReturnStatement" argument,"CallExpression" argument)
Fixed that no-return-wrap does not work if multiple "ExpressionStatement" exists in the ancestor of "ReturnStatement".

[ ] Documentation update
[X] Bug fix
[ ] New rule
[ ] Changes an existing rule
[ ] Add autofixing to a rule
[ ] Other, please explain:

What changes did you make? (Give an overview)
I changed to search for the ancestor of "FunctionExpression" closest to "ReturnStatement" and to check if the parent node of that "FunctionExpression" is Promise.

/cc @ota-meshi can you rebase
/cc @xjamundx

I'm so bad at maintaining this module. I'm sorry!

Hello!
I rebased my branch.

Please wait a minute.
#150 may be related. I will add test code.

I added testcase of #150, and added close comment to the PR comment.

Thanks
/cc @xjamundx

/cc @xjamundx Friendly ping again

k looking

/cc @xjamundx can we merge and release new version?

I'll be honest, I don't really understand when/why this would be useful, but the code looks fine and I will release.

+<EMAIL_ADDRESS>


Txn is too big to fit into one request: unable to bootstrap balances

Describe the bug
When trying to bootstrap a large bootstrap_balances.json file that contains more than 35k accounts, rosetta-cli breaks with following error: "Txn is too big to fit into one request: unable to bootstrap balances".
To Reproduce
Steps to reproduce the behavior:

create a large bootstrap_balances.json file that contains for example more than 35k accounts
link the bootstrap_balances.json file with the rosetta-cli configuration file
run the rosetta-cli data check

Expected behavior
I expect rosetta-cli to be able to handle large bootstrap_balances.json files that contain many accounts.

Thanks @rufsam for bringing this up. I will take a look at it and get back to you.

Hey @shrimalmadhur, I would like to give you a status update from my side:
The high RAM consumption due to "memory_limit_disabled" = true is now really a problem because rosetta-cli breaks down over time. It would be really great if this could be solved in a different way. Thanks alot for your time.


Updated missing requirement

Current coverage is 95.66% (diff: 100%)

Merging #231 into master will not change coverage

@@             master       #231   diff @@
==========================================
  Files            49         49
  Lines          1523       1523
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1457       1457
  Misses           66         66
  Partials          0          0

Powered by Codecov. Last update 8ba618e...5257b74

my virtualenv shows that (supposedly) konfera already installed requests==2.12.1


Update the links endpoint

The implementation should be based on and tested with v2.8 of the Facebook Graph API

Obsolete and deprecated code should be removed

etc.

Due to changes in the Graph API, it no longer makes sense to keep this endpoint as a link is really just a post (which is why the code for the links endpoint already has been removed).


Updated: atom 1.45.0-beta0

$notices:
- Updated `ReleaseChannel`

d48918aa-9ea9-4394-80ab-d94da56edc25

Newer version of atom (1.46.0) is now available in master. 2e1d72ccbc2ee88beb1ef26e8a1962b22c237647


fix:  bug

Describe the bug
Already more than 1 hour im waiting to Approve tx for pool BLL and HORSE
Taiko explorer shows me that issue - 'Sorry, we are unable to locate this transaction hash'
My Wallet - 0x1eD3aeAb0a0e6AC1222dcC45BaE23CdD09C14A55
My Discord - K1rilloiD#6969

Steps to reproduce
Add to pool 5 BLL + ETH - Approve
After u approve tx
Add to pool 5 HORSE + ETH - Approve
Additional context
No response

19 hours pass, pool tx still pending


Missing Punjabi Translation

Aklrn and before are missing. Lines following have it.

Translation is missing from database.

@Sarabveer please close if fixed in DB

Fixed in DB


⚠ Bofrost.be has degraded performance

In f220a29, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 941 ms

Resolved: Bofrost.be performance has improved in effb1a1.


Is it possible to change the base URL for /ngapimock/* calls?

Is it possible to change the base URL for /ngapimock/* calls without using any proxy?
In most of the examples, we use proxy to redirect all these calls to our actual API server.
"/ngapimock/*": {
    "target": "http://localhost:9090",
    "secure": false,
    "logLevel": "debug"
  }

But such approach forces us to push all other API calls through the same proxy because otherwise, as far as I understand, the cookie (or session id?) will differ so selectScenario won't have any effect.
So if for example, we have our UI hosted on the port 4200 and API server on 9090 we can't change any scenario because the cookie is set to 4200 and not to 9090. Does it mean that our UI is limited to http://localhost:4200/* for API calls? And what if UI is already using http://localhost:9090/* and requires no proxy?

I have a task on the backlog to make this configurable in the new version.
https://github.com/ng-apimock/base-client/issues/5


Case-insensitive key search

Format documentation doesn't specify rules around keys, however there doesn't appear to be any known case of the same key appearing in different cases in the same file, that represents data with a different use case.
To better support usage of the format, case-insensitive key searching makes sense to ease variations to keys

Fixed in https://github.com/Galaco/KeyValues/commit/834ca79bad8afdfeee3a50e01617012cb1eeb453


Browser runner fails loading tests

Describe the bug
When running a basic browser runner test, it fails as some requests stay pending or fail:

Reproduction
Create an empty dir and setup a Vitest projects using:
vitest.conf.js
export default defineConfig({
  test: {
    browser: {
      enabled: true,
      name: 'chrome',
    },
  }
})

a simple test at /tests/browser.test.js:
import { test } from 'vitest'

test('I live in the browser', () => {
    console.log('Hello World', window.navigator.userAgent)
})

System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 953.73 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.7.0/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 111.0.5563.64
    Firefox: 109.0
    Firefox Nightly: 111.0a1
    Safari: 15.2
  npmPackages:
    @vitest/browser: ^0.29.5 => 0.29.5
    vitest: ^0.29.5 => 0.29.5

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

For __vitest__, it seems UI did not get bundled for some reason 🤔
As for the second one, it seems Vite optimizer is trying to optimize Vitest and doesn't finish for some reason 🤔

Should be fixed in v0.29.7. Thanks for the report 🙏🏻

Thanks for the quick fix.


skhd: 0.2.2 -> 0.3.0

Motivation for this change
Update to the latest version.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/cc @LnL7

Thanks!

Many thanks @yurrriq


24hr format input problems

when format was default (hh:mma) arrows worked perfectly. But when I choose hh:mm input value stuck in 03:10 and arrows do not change anything.
http://plnkr.co/edit/MGKHi2WraAYI7yFm8dqk?p=preview

That's no good at all. I will look into it, or if you want to create a PR that would be fine as well.

:+1:
I can't dive in logical part but there is workaround for it:
else if (checkTimeFormat(element.val()) != 'invalid') { ... }

overwrite with:
else if (checkTimeFormat(element.val()) != 'invalid') {return true}

and
if (!verified) { element.val(formatter(ngModel.$modelValue)); }

overwrite with
ngModel.$setViewValue(createDateFromTime(element.val(), ngModel.$modelValue));

@thecyberd3m0n and you have wrong format. you should set HH:mm instead of hh:mm

Same problem here.


version for mmlab in Painter

what‘s your version about mmcv mmdet and mmpose in Painter project？when I install the latest version about this packages，many modules are not exist.    (such as  cannot import name 'Config' from 'mmcv' )

Have you solved this problem? @vvvvvjdy

@vvvvvjdy im also getting same issue .
can you please help me to resolve the issue?.

@ananda1995  Sorry for the late reply. Have you solve the issue? if not , here is the version and it works well on my machine.
mmcv-full=1.6.0 mmdet=2..26.0 mmpose=0.25.0 mmtrack=0.14.0.


[WIP] "Bilden Sie Sätze"

Discussion for @cognostics work on #56.

Ok, got it, I will probably return to it next week - I will change the component to get a sentence from props as an array, change the current structure to array of objects and will think more about initialisation on props change (and not during render).
Thanks for the feedback! :)

Sounds good :) Ping me if you need more input from me, I try to respond more quickly next week (was a busy week, sorry)

@inyono, hey, I've updated the branch with the things we were talking about previously:

Sentence is moved to props (in array format)
Structure is changed (now there are 2 arrays of objects - for zones and items)
Initialisation is changed, so there shouldn't be a situation when it will be called twice

Nice work. Looks pretty good to me! Is there some things left you want to do before merging?

@inyono, this branch (with drag and drop exercise example) was based on the other branch of mine (which implements redux-store and other things), so I guess I can change it, so that it will be based on your current master branch.
Plus I can move the component to exercise folder and at least make colours match your style :)

@inyono, I've made the changes mentioned above, I guess this pull request can be closed in favor of https://github.com/serlo-org/serlo-abc/pull/123


RelVal output data placement needs to have a configurable lifetime value

Impact of the new feature
ReqMgr2MS - MSOutput
Is your feature request related to a problem? Please describe.
As recently discovered/discussed, RelVal datasets require a non-standard disk rule lifetime, instead of the default 30 days set to any Disk rules created - by MSOutput - for the workflow output datasets.
Describe the solution you'd like
Needs further discussion. However, it looks like the new default for RelVal disk rules will be 12 months.
Describe alternatives you've considered
A long term development would be to make it configurable via campaigns. However, it would not work for RelVals because campaigns don't really exist for RelVals, they are created solely to control a batch of workflows (created once Unified finds the first workflow in ReqMgr2, and deleted once all workflows are announced).
Additional context
none

Just to complete this issue, I searched for wmcore_output rules for containers containing the RelVal string in their name and 486 containers/rules have been found.
With that list of rule ids, I updated their lifetime to 12 months. Here is a report of all the containers and rules affected:
http://amaltaro.web.cern.ch/amaltaro/forWMCore/Issue_10039/relval_rules.json
and the final result is an expiration date like:
 u'expires_at': datetime.datetime(2021, 10, 31, 11, 30, 49),

instead of the previous setting, e.g.:
 u'expires_at': datetime.datetime(2020, 11, 11, 9, 24, 23),

Given that MSOutput was switched to Rucio on Oct 12th. There should be no RelVal rules left with one month lifetime.


[Tech Question] Sync between client and server upon moving to other dimensions

This isn't an issue, but more a Technical Question.
I wanted to use your Portal API for a mod of mine, but unfortunately the API does not really match the type of portal I wanted to make. But then I wanted to ask you guys a question, since you've already tempered with dimension teleporting a lot and managed to make it work.
How does one sync client and server after teleportation?
When I teleport the player, weither it's using vanilla methods or yours, my destination world either doesn't load and I fall in the void, or parts of the previous world stay loaded (entities notably), or my player entity enters a loop of being re-created indefinitely while still partly in the previous world (which results in a soft-lock utlimately).
Because of that, I wanted to look at how this API does it to see, but I don't really know what part of it I should look at, so I thought asking directly would be better.
Hoping to see a response, and cheers for your great work!

The source code of Minecraft is really hard to read.

CPA does nothing special at all to sync the client, It just uses the minecraft method of teleporting while injecting a custom Teleport Target. Assuming you've taken a look here ? Line 42, entity:moveToWorld is the actual vanilla tp method.
Have you attempted to use a CPA portal to teleport there? It's possible it could be an issue with your dim. We had a similar issue in the aether, not quite sure what the exact solution was though.
What features of the portals are missing for the type of portal you'd like? It's possible it could still be done with the API.

CPA does nothing special at all to sync the client, It just uses the minecraft method of teleporting while injecting a custom Teleport Target. Assuming you've taken a look here? Line 42, entity:moveToWorld is the actual vanilla tp method. Adding to this, Line 43-47 helped with some issues of players falling into the void or though blocks after TPing. Though if your dim takes a long time to sync and load, this can only help so much
Have you attempted to use a CPA portal to teleport there? It's possible it could be an issue with your dim. We had a similar issue in the aether, not quite sure what the exact solution was though.
What features of the portals are missing for the type of portal you'd like? It's possible it could still be done with the API. You can use custom portal shapes, and custom forms of activating the portal

Thanks for the reply!
I did manage to get to my dimensions using CPA actually, quite fast actually, as so far my dim is just a test void, which is why I first thought I might have missed something and decided to ask here. But I never managed to get there without a full CPA portal, except through commands.
My first intuition was to copy the end portal code to derive from it, which uses the moveToWorld method you mentioned, which didn't work. Then I tried to use CPA's methods while modifying it slightly to fit my needs, but no luck with that either
One thing I did notice was that if my dim had been previously loaded manually it would tend to sometimes work (?)
As for the full portal, what I'm trying to do was originally a frame-less one, which later turned into one with a offset position from its frame, and a different trigger than the ones CPA allows. The actual portal blocks being one block below the frame's upper half, and the full frame being 2 blocks tall (one farmland ring + a fully grown crop ring on top of it which would trigger the portal upon fully growing).
The closest CPA can get to this is a flat portal made of farmlands afaik 🤔
I also don't know if it's possible to create a portal with CPA that doesn't spawn a return portal on the other end? Or ones that don't have a frame at all (either player crafted or a fully custom activation process) ?

Can you post an image showing the design of the portal? It may be doable, or potentially support could be added. One thing to note though, CPA stores the portal data in a hash map using a block as the key. Thus every portal is required to have a unique frame block. BUT there's nothing to say the frame block has to be used in the portal.
If you'd like, I could probably show you an example

Can you post an image showing the design of the portal? It may be doable, or potentially support could be added. One thing to note though, CPA stores the portal data in a hash map using a block as the key. Thus every portal is required to have a unique frame block. BUT there's nothing to say the frame block has to be used in the portal.

The portal would look like this, as I tried to describe, a fully grown crop ring, with its required supporting farmland, the portal blocks spawning inside of the farmland ring (which results in a 2x5x2 frame in the end + the lack of player-initiated ignition source):

CPA can use custom Frame-testers. Here and here.
CPA also has completely custom ignition sources that can be triggered however you'd like.

I hadn't noticed that, thanks for letting me know! :o
I will probably toy with these whenever I get free time

If you'd like, I could probably show you an example

If you're willing to, that would be welcome! Especially examples of more "unconventional" portals (frame-less portals, weird frame shapes, disconnected frames and portal scenarios...). Could also help anyone who hasn't noticed these features existed 🤔

I also don't know if it's possible to create a portal with CPA that doesn't spawn a return portal on the other end? Or ones that don't have a frame at all (either player crafted or a fully custom activation process) ?

I do want to know this!

I've got this just about working with only minor changes to CPA(Mostly just non privating some things).
https://user-images.githubusercontent.com/3196164/149461018-255de084-e3f0-42ec-a14d-d4a2156c45da.mp4

I also don't know if it's possible to create a portal with CPA that doesn't spawn a return portal on the other end? Or ones that don't have a frame at all (either player crafted or a fully custom activation process) ?

I do want to know this!

I'm not sure if this is possible without a frame. CPA "links" the connection between portals and stores it, rather than just searching for a valid frame upon tping like vanilla. This helps slightly with lag, but more importantly this helps with guaranteeing certain portals will always link together. Ever gone into the nether in one portal and came out another? These links are stored by their frames, and the link is only created upon the initial TP. So TPing and not placing a frame will essentially neuter the initial portal. Manually creating a portal on the other side will not link back to the original.
This could be implemented though, I just haven't gotten around to it

Thanks a lot!
And we know that moveToWorld only works for overworld, nether and the_end since 1.18. Passing custom world to it results in nothing. Then how can we teleport entities to another world except using /execute in xxx run tp x y z?
ServerPlayerEntity seems to have a method named teleportToWorld, but Entity doesn't have.

Thanks a lot! And we know that moveToWorld only works for overworld, nether and the_end since 1.18. Passing custom world to it results in nothing. Then how can we teleport entities to another world except using /execute in xxx run tp x y z? ServerPlayerEntity seems to have a method named teleportToWorld, but Entity doesn't have.

The issue here is actually getTeleportTarget in entity. This is where the coords for the destination are determined. It seems to just abort if we aren't going to the end or nether. CPA gets around this by just injecting and giving our own teleport target. See here lines 85 -110. This where we inject our custom target, and do some other things like prevent the end credits and the end platform from spawning.

Thanks a lot! And we know that moveToWorld only works for overworld, nether and the_end since 1.18. Passing custom world to it results in nothing. Then how can we teleport entities to another world except using /execute in xxx run tp x y z? ServerPlayerEntity seems to have a method named teleportToWorld, but Entity doesn't have.

The issue here is actually getTeleportTarget in entity. This is where the coords for the destination are determined. It seems to just abort if we aren't going to the end or nether. CPA gets around this by just injecting and giving our own teleport target. See here lines 85 -110. This where we inject our custom target, and do some other things like prevent the end credits and the end platform from spawning. The custom teleport target is created here here

So that might be why weird stuff happens when using moveToWorld alone?


⚠ Bofrost.lu has degraded performance

In 6d3891e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2192 ms

Resolved: Bofrost.lu performance has improved in 697a316 after 51 minutes.


Character '–' within subscription name creates 'path not found error' within Validate pipeline

Describe the bug
During the Validate Azure DevOps pipeline, if a template is being deployed into a subscription (at any scope level) that has the character – within the subscription name, the pipeline will fail at the Validate step with a WARNING: [New-AzOpsScope] Path not found:  [Invoke-AzOpsPush] Expecting deploymentList object, it was not found. Error exiting runtime. within the log
Steps to reproduce

(If no existing subscription contains the – character) Rename a subscription and place the – character anywhere in the subscription name.
Run the Pull pipeline to update code base
Add an ARM or Bicep template into the updated code base within the newly renamed subscription
Create PR and let Validate pipeline run through changes

Screenshots
Test ARM template used:
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {},
  "variables": {},
  "resources": [
    {
      "type": "Microsoft.Resources/resourceGroups",
      "name": "TestRg-RG",
      "apiVersion": "2019-05-01",
      "location": "australiaeast",
      "properties": {}
    }
  ],
  "outputs": {}
}

Validate pipeline output against above ARM template when subscription contains character:
2023-09-13T03:36:40.7194247Z ==============================================================================
2023-09-13T03:36:40.7194440Z Task         : PowerShell
2023-09-13T03:36:40.7194499Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-09-13T03:36:40.7194590Z Version      : 2.226.2
2023-09-13T03:36:40.7194678Z Author       : Microsoft Corporation
2023-09-13T03:36:40.7194744Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-09-13T03:36:40.7194842Z ==============================================================================
2023-09-13T03:36:40.9023698Z Generating script.
2023-09-13T03:36:40.9049238Z ========================== Starting Command Output ===========================
2023-09-13T03:36:40.9090460Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command . '/home/vsts/work/_temp/cf2bfdd2-dd9f-4259-a82f-e173b3838034.ps1'
2023-09-13T03:36:45.8013233Z [03:36:45][Initialize-AzOpsEnvironment] Processing AzOps environment
2023-09-13T03:36:45.8046541Z [03:36:45][Initialize-AzOpsEnvironment] Starting AzOps environment initialization
2023-09-13T03:36:45.8147724Z [03:36:45][Get-AzOpsSubscription] Excluded subscription states: Disabled,Deleted,Warned,Expired
2023-09-13T03:36:45.8166250Z [03:36:45][Get-AzOpsSubscription] Excluded subscription offers: AzurePass_2014-09-01,FreeTrial_2014-09-01,AAD_2015-09-01
2023-09-13T03:36:47.2983844Z [03:36:47][Get-AzOpsSubscription] Number of subscriptions found: 3
2023-09-13T03:36:47.3039141Z [03:36:47][Get-AzOpsSubscription] Number of subscriptions included: 3
2023-09-13T03:36:55.8985779Z [03:36:55][Initialize-AzOpsEnvironment] Resolving 1 management groups
2023-09-13T03:36:57.4324236Z [03:36:57][Initialize-AzOpsEnvironment] AzOps environment initialization concluded
2023-09-13T03:36:57.4935561Z [03:36:57][Invoke-AzOpsPush] Deployment required
2023-09-13T03:36:57.4955848Z [03:36:57][Invoke-AzOpsPush] Adding or modifying:
2023-09-13T03:36:57.4975545Z [03:36:57][Invoke-AzOpsPush]   "root/tenant root group (f4c4dbbe-3bf9-4fce-903c-46863061c4c1)/visual studio enterprise subscription \342\200\223 mpn (946a1062-ef67-4bd3-bafe-12f73d6cd360)/testrg-rg/microsoft.resources_resourcegroups-testrg-rg.json"
2023-09-13T03:37:00.1951833Z WARNING: [03:37:00][New-AzOpsScope] Path not found: "root/tenant root group (f4c4dbbe-3bf9-4fce-903c-46863061c4c1)/visual studio enterprise subscription \342\200\223 mpn (946a1062-ef67-4bd3-bafe-12f73d6cd360)/testrg-rg/microsoft.resources_resourcegroups-testrg-rg.json"
2023-09-13T03:37:00.2111899Z [03:37:00][Invoke-AzOpsPush] Expecting deploymentList object, it was not found. Error exiting runtime.
2023-09-13T03:37:00.2677716Z Exception: ScriptHalted
2023-09-13T03:37:00.2678125Z
2023-09-13T03:37:00.4257274Z ##[error]PowerShell exited with code '1'.
2023-09-13T03:37:00.4296798Z ##[section]Finishing: Validate```

Subscription renamed to remove character. Log from Pull pipeline showing removal of character (replaced with `-` character):

```rename "root/tenant root group (f4c4dbbe-3bf9-4fce-903c-46863061c4c1)/visual studio enterprise subscription \342\200\223 mpn (946a1062-ef67-4bd3-bafe-12f73d6cd360)/cloudshell-rg/microsoft.resources_resourcegroups-cloudshell-rg.json" => root/tenant root group (f4c4dbbe-3bf9-4fce-903c-46863061c4c1)/visual studio enterprise subscription - mpn (946a1062-ef67-4bd3-bafe-12f73d6cd360)/cloudshell-rg/microsoft.resources_resourcegroups-cloudshell-rg.json (100%)

Validate pipeline output against above ARM template when subscription no longer contains character:
2023-09-13T03:09:25.0887109Z ==============================================================================
2023-09-13T03:09:25.0887247Z Task         : PowerShell
2023-09-13T03:09:25.0887316Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-09-13T03:09:25.0887423Z Version      : 2.226.2
2023-09-13T03:09:25.0887511Z Author       : Microsoft Corporation
2023-09-13T03:09:25.0887591Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-09-13T03:09:25.0887711Z ==============================================================================
2023-09-13T03:09:25.2414618Z Generating script.
2023-09-13T03:09:25.2422806Z ========================== Starting Command Output ===========================
2023-09-13T03:09:25.2447833Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command . '/home/vsts/work/_temp/369fbe8f-c9e7-4331-bd43-3a952661234b.ps1'
2023-09-13T03:09:30.2080585Z [03:09:30][Initialize-AzOpsEnvironment] Processing AzOps environment
2023-09-13T03:09:30.2134845Z [03:09:30][Initialize-AzOpsEnvironment] Starting AzOps environment initialization
2023-09-13T03:09:30.2226444Z [03:09:30][Get-AzOpsSubscription] Excluded subscription states: Disabled,Deleted,Warned,Expired
2023-09-13T03:09:30.2242222Z [03:09:30][Get-AzOpsSubscription] Excluded subscription offers: AzurePass_2014-09-01,FreeTrial_2014-09-01,AAD_2015-09-01
2023-09-13T03:09:31.6732534Z [03:09:31][Get-AzOpsSubscription] Number of subscriptions found: 3
2023-09-13T03:09:31.6967081Z [03:09:31][Get-AzOpsSubscription] Number of subscriptions included: 3
2023-09-13T03:09:42.3050156Z [03:09:42][Initialize-AzOpsEnvironment] Resolving 1 management groups
2023-09-13T03:09:43.8291401Z [03:09:43][Initialize-AzOpsEnvironment] AzOps environment initialization concluded
2023-09-13T03:09:43.8776103Z [03:09:43][Invoke-AzOpsPush] Deployment required
2023-09-13T03:09:43.8861920Z [03:09:43][Invoke-AzOpsPush] Adding or modifying:
2023-09-13T03:09:43.9214480Z [03:09:43][Invoke-AzOpsPush]   root/tenant root group (f4c4dbbe-3bf9-4fce-903c-46863061c4c1)/visual studio enterprise subscription - mpn (946a1062-ef67-4bd3-bafe-12f73d6cd360)/testrg-rg/microsoft.resources_resourcegroups-testrg-rg.json
2023-09-13T03:09:46.0420837Z [03:09:46][New-AzOpsDeployment] Processing deployment AzOps-microsoft.resources_resourcegroups-testrg-rg-B9EE for template /home/vsts/work/1/s/root/tenant root group (f4c4dbbe-3bf9-4fce-903c-46863061c4c1)/visual studio enterprise subscription - mpn (946a1062-ef67-4bd3-bafe-12f73d6cd360)/testrg-rg/microsoft.resources_resourcegroups-testrg-rg.json with parameter "" in mode Incremental
2023-09-13T03:10:04.4269701Z Getting the latest status of all resources...
2023-09-13T03:10:04.4936986Z
2023-09-13T03:10:04.4942020Z     Directory: /tmp
2023-09-13T03:10:04.4942697Z
2023-09-13T03:10:04.4944071Z UnixMode   User             Group                 LastWriteTime           Size
2023-09-13T03:10:04.4944477Z --------   ----             -----                 -------------           ----
2023-09-13T03:10:04.4944882Z -rw-r--r-- vsts             docker             09/13/2023 03:10              0
2023-09-13T03:10:04.4952333Z -rw-r--r-- vsts             docker             09/13/2023 03:10              0
2023-09-13T03:10:04.5222292Z What if: Performing the operation "New-AzOpsDeployment" on target "Start resourcegroups Deployment with ".
2023-09-13T03:10:04.5402193Z
2023-09-13T03:10:04.6961431Z ##[section]Finishing: Validate```

Hi @DXPetti, thanks for sharing.
I can reproduce the result on both GitHub and Azure DevOps.
Lets break down what is going on:

We have a subscription with a name that contains one or more characters referred to as EN DASH. This character is not the same as HYPHEN-MINUS (they look similar but are different).
When performing a AzOps Pull or AzOps Push operation the module does process the EN DASH correctly.
However as you point out validate fails. Based on my triage and testing, the cause of the behavior is outside of the AzOps module.
When the pipeline validate-deploy.yml triggers AzOps the change input information is generated by git diff. When running git diff on a branch with some change at the following location root\subscription\v-i–s-ualstudioenter-prise (1ef96123-4g12-442f-rte3-b2e7810e6ab8) (where I have added one HYPHEN-MINUS and one EN DASH) the returned path is root/subscription/v-i\342\200\223s-ualstudioenter-prise (1ef96123-4g12-442f-rte3-b2e7810e6ab8)

Bottomline the behavior of interpreting the – as \342\200\223 happens when running git diff.
I would advise you to consider the following options in your case:

Remove EN DASH entirely or replace with HYPHEN-MINUS in Azure
Customize pipeline to alter git diff output prior to invoking Invoke-AzOpsPush

At this time we are not considering adding logic in AzOps to override/replace the git diff output.

Hey @Jefajers
Great break down of the issue and finding root cause - thankyou.
Given the issue lies with got rather than AzOps, I concur that AzOps should not add logic to work around this.
As Microsoft use this character in the default name for Visual Studio based Azure subscriptions, can I suggest a line or two added to the Troubleshooting Wiki page to cover this? Happy to write up a separate PR for this

Hey @DXPetti - great suggestion, feel free to write up a couple of lines in the FAQ for this. 👍🏻


Fix issue #238, use pagehide not unload listener

This seems to work fine in Firefox and (mostly) in Chrome, but it intermittently fails to fire in Chrome.
Per MDN, the visibilitychange event is preferred, but it does note the back/forward cache behavior. Using pagehide when that isn't available is suggested as well.
I think the root cause might be that the back/forward cache doesn't get canceled in Chrome the way it does in Firefox, but I'm having a lot of trouble reproducing it in a test environment. Using pagehide instead seems to work when I test sites in the wild, and it still passes the test suite.

Hm, on further testing I don't Chrome supports document.visibilityState === 'unloaded' and document.visibilityState === 'hidden' isn't quite what we want, but I'll see what I can determine.

confirmed test passes locally for me as well.
@rhelmer just want to check my understanding from reading the linked issue: the plan is to eventually use tabs.onChange, but we're doing it this way for now for MVP?

Yes, I think ultimately depending on the content script environment is going to mean depending on implementation details and we won't get predictable cross-browser behavior there anytime soon. The tabs.* APIs on the other hand are more amenable to standardizing.


file.path is undefined

I'm trying to use the local upload option but it doesn't work - I'm getting the error The "oldPath" argument must be of type string or an instance of Buffer or URL. Received undefined.
After searches, I found that the file I'm receiving in the upload method has no path property. Why it can happen and how can I fix it?
Provider:
class LocalProvider extends BaseProvider {
  constructor (options: LocalUploadOptions) {
    super(options.bucket)
    if (!fs.existsSync(options.bucket)) {
      throw new Error('No folder')
    }
  }

  public async upload (file: UploadedFile, key: string): Promise<any> {
    const filePath = this.path(key)

    await fs.promises.mkdir(path.dirname(filePath), { recursive: true })
    await fs.promises.rename(file.path, filePath)
  }

  public async delete (key: string, bucket: string): Promise<any> {
    await fs.promises.unlink(this.path(key, bucket))
  }

  // eslint-disable-next-line class-methods-use-this
  public path (key: string, bucket?: string): string {
    return `${path.join(this.bucket, key)}`
  }
}

Usage:
      resource: { model: dmmf.modelMap.HelpRequest, client: prisma },
      options: {
        properties: {
          image: { isVisible: false }
        }
      },
      features: [uploadFeature({
        provider: new LocalProvider({ bucket: 'public' }),
        properties: {
          key: 'image', // to this db field feature will safe S3 key,
          mimeType: 'mimeType' // this property is important because allows to have previews,
        },
        validation: {
          mimeTypes: ['image/png', 'image/jpg', 'image/jpeg']
        }

After a lot of research, I figured out that this is happening because the plugin doesn't even create the temporary file. And this happens because fastify has a different key in the attached files object, unlike express. I was at the beginning of development, so switching to express helped me, everything works fine on it with the same code.


DNM: testing swift-argument-parser#424

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Please test with following PRs:
apple/swift-argument-parser#424
apple/swift-installer-scripts#91
@swift-ci please build toolchain windows platform


Steam: "Include in VR Library" is resetted when importing non-steam games.

Describe the bug
if you import a non-steam game previously created with the steam app, BoilR correctly retrieves images BUT reset the "Include in VR Library" flag if it was previously set.
To Reproduce

import a non-steam game as normal using the steam app.
in steam, select the created game and go in options -> properties -> shortcut -> "Include in VR Library"
now scan games with BoilR to download the artwork
go back in steam, the "Include in VR Library" is reset.

Expected behavior
Options set when creating the non-steam game shortcut in steam should be preserved by BoilR
Screenshots
Desktop (please complete the following information):

OS:  Windows
BoilR Version 1.9.4 (Release)

I don't have VR on my pc right now, could someone share a simple shortcut file that has a shortcut with "Include in VR Library" so I can see how steam encodes it, so I can reproduce it.

This shows how it's encoded.


add SDK reference

Coverage increased (+0.01%) to 95.763% when pulling c9af9f5cd437f06f2b298a968eaf5ecdc2f9e42d on feature/FS-1556-add-SDK-reference into f0d81d1fa65afd6a4d342bd15f776087bfe6c188 on develop.

Coverage increased (+0.01%) to 95.763% when pulling d722d75b2a0d45557cbca80e956e47170569e3aa on feature/FS-1556-add-SDK-reference into f0d81d1fa65afd6a4d342bd15f776087bfe6c188 on develop.

Coverage increased (+0.01%) to 95.763% when pulling 58e7e449a9d09cae80fc4470134562c94371e7c2 on feature/FS-1556-add-SDK-reference into f0d81d1fa65afd6a4d342bd15f776087bfe6c188 on develop.


problem:RuntimeError: 1only batches of spatial targets supported (non-empty 3D tensors) but got targets of size: : [20]

(1)when i run the architecture squeezenet1_0 and squeezenet1_1 ,I met the problem above.
(2)then I print the shape of output and target as below:
output.shape torch.Size([20, 1000, 1, 1])
target.shape torch.Size([20])
obviously, it' s the reason that the shape is not matched.
(3)so i add the code:
output = model(input)
output =output.reshape(-1,1000)
and it worked
(4)but there maybe remains some better solution,such as modify the code of squeezenet1_0 and squeezenet1_1(ps: because other architetures don't have the problems above)

I had the same problem:Runtimeerror:lonely batches of spatial targets supported (non-empty 3D tensors)but got targets of size[2,513,513,3]，How did you modify it

same problem, but obviously the issue should be on PyTorch, not this repo.


Only retrieve repos with matching topic in org

fixes #6
Co-authored-by: Sebastian Spier<EMAIL_ADDRESS>

@spier Take a look at this when you get a chance. I found that the search was not returning the data in the original type named "ShortRepository" so I had to add repo.repository to get into the right type.
Let me know if that works for you locally.

@spier Take a look at this when you get a chance. I found that the search was not returning the data in the original type named "ShortRepository" so I had to add repo.repository to get into the right type.
Let me know if that works for you locally.


Set receipt error instead of generic error when failed uploading receipt

Details

When doing a scan request with a corrupted file, the generic error is shown in the transaction thread instead of the receipt error.
Fixed Issues

$ https://github.com/Expensify/App/issues/41240
PROPOSAL: https://github.com/Expensify/App/issues/41240#issuecomment-2085325492
Tests

Same as QA Steps

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

Offline tests

Same as QA Steps
QA Steps

Submit a new scan expense request with a corrupted PDF to any chat
Open the transaction thread chat
Verify the error message shown below the receipt preview is "The receipt didn't upload..."

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

PR Author Checklist

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

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

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/172a7fa0-d4d3-40a6-a2c7-e93bd3dd7b42

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/31c5b5c4-9204-45a4-94c0-616b90e138e3

iOS: Native

https://github.com/Expensify/App/assets/50919443/c7cbe114-f9ab-4472-b629-d9c78e563419

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/ea96657b-d88d-4fb0-9690-c95ab127950a

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/3a1c6ff5-91b1-4bb2-b7de-a737e4a2d2f9

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/266d3189-8a6c-4f73-99a5-91f080d787b3

Additional video for track expense:
https://github.com/Expensify/App/assets/50919443/642655ad-351c-4d4d-80ec-bb2df8cb5ab8

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

🚀 Deployed to staging by https://github.com/puneetlath in version: 1.4.73-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

Team is intermittently noticing that mWeb is not showing the error. Seem to be failing with KI https://github.com/Expensify/App/issues/41240

🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.73-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update tests to remove Node 8, and add Windows

Out of curiosity, why remove Node 8? Related: we should add an engines field to package.json.

You can’t create Lambda functions on Node 8 so we also dropped it from now dev.


[add-resource] New Plugin/Theme

I would like to add my new theme to the Grav Repository.
Here are the project details: SimonMueller/grav-theme-pluspunkt
A simple, responsive and modern Grav theme built with Kube.

nice, will get this added soon.

Added for next update


Update new version of the Liqo Logo

Description
This PR updates the new logos for the Liqo project.

Pull Request Test Coverage Report for Build 374799711

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 47.96%

Totals

Change from base Build 372932482:
0.06%

Covered Lines:
6760

Relevant Lines:
14095

💛  - Coveralls

/rebase


Update api.py with url

As is, this would turn url into a required attribute of Phylogeny, thus it would have to be present in phylogenies/index.csv (running dplace check now should fail). So either do this, or make it optional by adding a default value:
    url = attr.ib(default=None)

(sorry about the churn in glottolog.csv and summary.trees)

added the rest of the urls

no worries -- will create a new PR


Add annotation/labels on service

Can i add custom annotation or label on service ClusterIP?

I'm also interested in that so I can set up a servicemonitor to fetch the metrics. Maybe the master labels set in the LocustTest can be taken over to the service?


feat: support passing in session token

Adds support for passing in a session token associated with an AWS access id and secret key pair. For example, when assuming a role through GitHub's OIDC flow for AWS, the generated access id and secret are linked to the session token, and won't work unless the session token is also passed

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


in cname_as_ns $a or $aaaa are undef on nameserver timeouts.

Fixes: Can't call method "answer" on an undefined value at
lib/DNSCheck/Test/Delegation.pm line 446.

slightly different fix in commit ba45ee6defd8a674f395cd7b18a365cb4883ea73


Default SKIP filter does not work for multivalue tags

Steps to reproduce

Use a track with multiple genres like: Instrumental\Rock
Use default filter (with https://github.com/jacquesh/foo_openlyrics/issues/306 fixed)
$stricmp(%genre%,instrumental)$stricmp(%genre%,classical)

Expected behavior
Track should be skipped.
Versions

OpenLyrics version: 1.7

Additional information
Filter should not use $stricmp but $strstr
$if($or($strstr($lower(%genre%),instrumental),$strstr($lower(%genre%),classical)),skip,)

Good idea, thanks for suggesting it. I'll add this in the bugfix release for #306.
...Can you tell I don't use titleformat strings all that often? >_<

I opted to just concatenate single $if() statements, rather than use $or() because that gets clumsy really quickly when you add more options (since fb2k's $or() doesn't support more than two arguments, or at least so says the documentation). This way you can just keep tacking new $if()s to the end.
This is also why the scheme is "empty string to search" rather than "this particular string".


Disable Outline panel

Issue Type: Feature Request
Hi there!
When editor start on the left side we have sidebar with:

Code
Outline

I never use Outline panel, so I woule like to disable that panel throught settings.json.
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:56:38.504Z)
OS version: Darwin x64 18.7.0

@piecioshka Did you discover that the context menu on the Outline panel header allows you to hide the panel?

@gjsjohnmurray yes, I discovered. Is there any option to set into settings.json to disable after a fresh installation of VSC? During my workshops, I would like to send to student my config and they just will have configured whole editor.

No, it is a state and not a setting.

@sandy081 Can we propose it to be a setting?
As @piecioshka stated, many of us educators (instructors, workshop runners, etc.) share an initial settings.json with our students to get them all in the same place. Having to have them do extra steps to hide the Outline panel is an unnecessary step.


failed to format Python with yapf

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:49:23.350Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

python
donjayamanne
0.5.5

cpptools
ms-vscode
0.9.3

vscode-icons
robertohuertasm
4.3.0

In fact, I'm new to python and visual studio code. But I really cannot figure it out why I could use shift + alt + f to format my code in python when my vs code was still 1.6.0 and after upgrading my us code to 1.8.1 it fails to work.

@tianxingyang can you check this issue with the python extension you are using? Maybe it's an known issue there so let's start with https://github.com/DonJayamanne/pythonVSCode

This issue was moved to DonJayamanne/pythonVSCode#612


Barchart scaling not aligned

The bar chart seems not to scale correct with multiple data series.
Using Latest Chartjs master and Blazor on server-side app.
BarDataset<double> _barDataSet3 = new BarDataset<double>
    {
        Label = "A",
        BackgroundColor = ColorUtil.RandomColorString(),
        BorderWidth = 0,
        HoverBackgroundColor = ColorUtil.RandomColorString(),
        HoverBorderColor = ColorUtil.RandomColorString(),
        HoverBorderWidth = 1,
        BorderColor = "#ffffff"
    };

    _barChartConfig.Data.Labels.AddRange(new[] { "A"});
    _barDataSet3.Add(2.6);
    _barChartConfig.Data.Datasets.Add(_barDataSet3);

    BarDataset<double> _barDataSet4 = new BarDataset<double>
    {
        Label = "B",
        BackgroundColor = ColorUtil.RandomColorString(),
        BorderWidth = 0,
        HoverBackgroundColor = ColorUtil.RandomColorString(),
        HoverBorderColor = ColorUtil.RandomColorString(),
        HoverBorderWidth = 1,
        BorderColor = "#ffffff"
    };

    _barChartConfig.Data.Labels.AddRange(new[] { "B" });
    _barDataSet4.Add(4.5);
    _barChartConfig.Data.Datasets.Add(_barDataSet4);

Config code:
_barChartConfig = new BarConfig
    {
        Options = new BarOptions
        {
            Title = new OptionsTitle
            {
                Display = true,
                Text = "Simple Bar Chart"
            },
            Scales = new BarScales
            {
                XAxes = new List<CartesianAxis>
            {
                    new BarCategoryAxis
                    {
                        BarPercentage = 0.5,
                        BarThickness = BarThickness.Flex
                    }
                },
                YAxes = new List<CartesianAxis>
            {
                    new BarLinearCartesianAxis
                    {
                        Ticks = new LinearCartesianTicks
                        {
                            BeginAtZero = true
                        }
                    }
                }
            }
        }
    };

Link to illustrate the issue:
https://i.stack.imgur.com/7O8Cu.png
Hope it is enough information.
SO Link: https://stackoverflow.com/questions/62204374/chartsjs-blazor-barchart-not-alinged
/Thomas

Thanks for the report.
I'm not sure if you're using the datasets correctly. You have two labels so every dataset should contain two data points. If you want to have two bars, one at 2.6 and one at 4.5, you should use just one dataset and add both of those points there. If you want to have different colors for the different bars, you can assign an array to BackgroundColor instead of a single value.
Could you try that and report back if that's what you were after?

Thanks for the quick reply, i might be doing it wrong, however, what im after is to do something like this:
https://js.devexpress.com/Demos/WidgetsGallery/Demo/Charts/AutoCalculatedBarWidth/Mvc/Light/
/Thomas

As an aside, the way you format your links makes them always redirect to  url which of course doesn't work. Just paste the link instead of using markdown for it :)

I rebuilt the chart you showed in the link. You were on the right track. If the issue still persists, please reopen; I'd have to look into it a bit deeper.

@using ChartJs.Blazor.Charts
@using ChartJs.Blazor.ChartJS.BarChart
@using ChartJs.Blazor.ChartJS.BarChart.Axes
@using ChartJs.Blazor.ChartJS.Common.Properties
@using ChartJs.Blazor.ChartJS.Common.Axes
@using ChartJs.Blazor.ChartJS.Common.Axes.Ticks

<Chart Config="@_config"
       TConfig="BarConfig"
       Width="600"
       Height="300" />

@code {
    private BarConfig _config;

    protected override void OnInitialized()
    {
        _config = new BarConfig
        {
            Options = new BarOptions
            {
                Title = new OptionsTitle
                {
                    Display = true,
                    Text = "Percent of Total Energy Production"
                },
                Scales = new BarScales
                {
                    XAxes = new List<CartesianAxis>
                    {
                        new BarCategoryAxis
                        {
                            BarPercentage = 0.5,
                            BarThickness = BarThickness.Flex
                        }
                    },
                    YAxes = new List<CartesianAxis>
                    {
                        new BarLinearCartesianAxis
                        {
                            Ticks = new LinearCartesianTicks
                            {
                                BeginAtZero = true
                            }
                        }
                    }
                }
            }
        };

        BarDataset<double> oilDataset = new BarDataset<double>
        {
            Label = "Oil",
            BackgroundColor = "#cdcb81"
        };
        oilDataset.AddRange(4.95, 12.94, 8.51, 5.3, 4.08, 12.03, 3.8);

        BarDataset<double> gasDataset = new BarDataset<double>
        {
            Label = "Gas",
            BackgroundColor = "#acc295"
        };
        gasDataset.AddRange(2.85, 17.66, 19.87, 4.39, 5.4);

        BarDataset<double> coalDataset = new BarDataset<double>
        {
            Label = "Coal",
            BackgroundColor = "#e6595a"
        };
        coalDataset.AddRange(45.56, 4.13, 15.84);

        _config.Data.Labels.AddRange(new[] { "China", "Russia", "USA", "Iran", "Canada", "Saudi Arabia", "Mexico" });
        _config.Data.Datasets.Add(oilDataset);
        _config.Data.Datasets.Add(gasDataset);
        _config.Data.Datasets.Add(coalDataset);
    }
}

Thank you, that defiantly helps in the right direction. The main challenge is if you get lets say 25 data ranges , then the "thickness"  becomes very important for readability. Is it a "bug" or missing feature?

I just tried the code. The main challenge comes if i want the values to be spread over the chart. Please see below code as an example. I'm having many signals with a lot of data, and i would prefer not to add "zeros" in the datasets to be able to plot, without the "thickness" it is also difficult to read charts.
Code:
private BarConfig _config;

        protected override void OnInitialized()
        {
            _config = new BarConfig
            {
                Options = new BarOptions
                {
                    Title = new OptionsTitle
                    {
                        Display = true,
                        Text = "Percent of Total Energy Production"
                    },
                    Scales = new BarScales
                    {
                        XAxes = new List<CartesianAxis>
                    {
                        new BarCategoryAxis
                        {
                            BarPercentage = 0.5,
                            BarThickness = BarThickness.Flex
                        }
                    },
                        YAxes = new List<CartesianAxis>
                    {
                        new BarLinearCartesianAxis
                        {
                            Ticks = new LinearCartesianTicks
                            {
                                BeginAtZero = true
                            }
                        }
                    }
                    }
                }
            };

            BarDataset<double> oilDataset = new BarDataset<double>
            {
                Label = "Oil",
                BackgroundColor = "#cdcb81"
            };
            oilDataset.AddRange(4.95); //This should go under China

            BarDataset<double> gasDataset = new BarDataset<double>
            {
                Label = "Gas",
                BackgroundColor = "#acc295"
            };
            gasDataset.AddRange(2.85); //This should go under Russia

            BarDataset<double> coalDataset = new BarDataset<double>
            {
                Label = "Coal",
                BackgroundColor = "#e6595a"
            };
            coalDataset.AddRange(45.56); //this should go under USA

            _config.Data.Labels.AddRange(new[] { "China", "Russia", "USA"});
            _config.Data.Datasets.Add(oilDataset);
            _config.Data.Datasets.Add(gasDataset);
            _config.Data.Datasets.Add(coalDataset);
        }

Here is an example that would be good to be replicate:

Unfortunately, I don't know how to achieve that, I'm sorry. But it clear that this question is not answered yet so I'm reopening.
I think you'll have the best chances if you port the code you have (e.g. my code from here and your code from here) to JavaScript and ask on StackOverflow without even mentioning blazor, C# or this library - only mention Chart.js. Chart.js has a large and active community and they are much more educated on the subject. The SO question you posted probably can't be answered by most Chart.js users because they're unfamiliar with our library and or C#/blazor itself.
Porting the code shouldn't be too hard as the names are basically the same except for the casing and Chart.js has great docs. You should include a jsfiddle or codepen in your SO question, then I'm sure you'll get a good answer :) And who know, maybe this is going to be a new feature in Chart.js 3.

Thank you for the feedback, i will try on SO. I created this: https://codepen.io/tsgrau/pen/QWyNQwN

Did you manage to get an answer on SO?

Closing this due to inactivity. Please respond if this issue should be reopened.


fix(frontend): can switch table

🍰 Pullrequest
I am on a table and want to switch to another one. This works now.
Issues

fixes #1741

I could not manage to write a test which works. Changes to mockPageContext don't trigger our new watch listener on the table page.

I am on a table and want to switch to another one. This works now. Fixes #1741


Implementing Logistic Regression from Scratch

There is no code and documentation of Logistic Regression in its folder. I want to implement the same from Scratch.
Please assign this issue to me.
I am also member of GSSOC'21

🚀hello, I am a member if Gssoc'21. plz assign me this issue, I do it  from scratch as earliest as possible

Hello, I am Gssoc'21 participant. Please assign me this issue.

Similarly possible duplicate


Fixes for Swift 3 DP 1

@bdash @tgoyne @jpsim
Changes:

Fixed imported enum cases
Annotated some APIs with @discardableResult
Added "_ =" to tests that intentionally ignore return values to quiet warnings

NOTE: JP pointed out a few tests that are still commented out. A subsequent commit will restore them.

I sorta think create() should be discardable since calling it purely for the side effect is perfectly reasonable.
migrateRealm() shouldn't be (actually, it should be throwing an exception...).

Agreed. It makes sense to just want to persist an object to a Realm directly without further manipulating it.

I force pushed over the previous commit since there's not much point in comparing the differences. I made a few functional changes.

👍


No line break for apple security announce mail list

I subscribe to this mail list https://lists.apple.com/mailman/listinfo/security-announce/ and found the content received stip out line break which make it hard to read.
From the archive https://lists.apple.com/archives/security-announce/2019/May/msg00005.html , the content does have line break.
If you need the feed / email url, would you mind providing a private channel, so that I can send it to you privately.
Thanks.

Ooops, sorry about how long it took me to get to this.
Yes, I’d like to see the feed, please send it to<EMAIL_ADDRESS>I suspect that the email claims to be HTML, but it’s actually plain-text. We’ll see…

I have sent the feed url to the mailbox

Resolved in a private communication.