[ArchLinux] Error when Login

OS: ArchLinux
Application Version: installed: <IP_ADDRESS>.gbbe5111-1
Hi, so I have a blank screen when I try to login to the program.
Maybe it's 'cause I'm using 2-Step Verification?
A summary of the issue:

Start Program
Click login button
Use my email
Use my password
Then i have white screen, but google send me sms code.

Try with --disable-gpu
On Apr 5, 2016 3:52 PM, "Stanislav Filin"<EMAIL_ADDRESS>wrote:

OS: ArchLinux
Application Version: installed: <IP_ADDRESS>.gbbe5111-1
Hi, so I have a blank screen when I try to login to the program.
Maybe it's 'cause I'm using 2-Step Verification?
A summary of the issue:

Start Program
Click login button
Use my email
Use my password
Then i have white screen, but google send me sms code.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/900

@jostrander thanks, It's working for me


PyAutoGUI not installing due to error while installing Pillow

I'm tring to install the latest version of pyautogui using pip, in the proccess of installing Pillow I keep on getting the error: "Could not build wheels for Pillow, which is required to install pyproject.toml-based projects". I tried various ways I found to fix it including installing an older version of Pillow that does install well, none of them help.
I'm using Windows 10, Python 3.8. I've added screenshots of the installation and of the packages I have installed.
Would appreciate help, thanks

Try out these steps

Install the necessary dependencies for Pillow by running the following commands:
apt-get install libjpeg-dev zlib1g-dev

Next, install Pillow using pip3:
pip3 install Pillow

To ensure you have the latest version of setuptools and wheel, update it:
sudo pip install -U setuptools wheel

Incorrect instructions. OP is using Windows, not Linux.

Use the command cd in Command Prompt to change the directory to the directory of your source code. Then create a virtual environment if you haven't:

py -m pip install virtualenv
py -m venv .venv

Then activate it:

.\.venv\Scripts\activate.bat

Now that you've activated a virtual environment, you don't have to worry about other packages conflicting with the global packages because the global environment doesn't use the globally-installed packages but packages installed in the .venv folder instead. Install pyautogui as normal:

pip install pyautogui

Note that if you're using PyCharm to run Python files, you'll have to change the default Python interpreter for your Python project into the one inside the virtual environment for it to work.


Cargo-related error when installing md-ulb-pwrap in

Adding md-ulb-pwrap to my requirements.txt results in a build error for the docker container (Python 3.9 / Alpine):
11.80       💥 maturin failed
11.80         Caused by: Failed to parse Cargo.toml into python metadata
11.80         Caused by: Failed to read Readme specified in Cargo.toml, which should be at /tmp/pip-install-ucxi5k_3/md-ulb-pwrap_42f266a64a2f4fd885e2bcd6c58af045/../README.md
11.80         Caused by: failed to open file `/tmp/pip-install-ucxi5k_3/md-ulb-pwrap_42f266a64a2f4fd885e2bcd6c58af045/../README.md`
11.80         Caused by: No such file or directory (os error 2)
11.80       Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-x2se7juk', '--interpreter', '/usr/local/bin/python']' returned non-zero exit status 1

Apologies if I'm doing something wrong!

Thanks for the report. It's fixed in v0.1.1.


Enhancement: Display error from datacenter connection failure

Currently the error message in the UI is rather generic when Uchiwa fails to connect to a datacenter. It'd be great if a more specific error was shown.
Expected Behavior
If Uchiwa fails to connect to a Sensu API endpoint, in the UI display the reason. For example, if the error is:
{"timestamp":"2017-03-26T17:33:15.939590722Z","level":"warn","message":"GET http://sensu-api:4567/stashes returned: 401 Unauthorized"}

The UI error could be along the lines of:
Connection failed to datacenter $name_here with reason: 401 Unauthorized

Current Behavior
Only a generic error message is displayed requiring log diving to determine simple misconfigurations.
Context
Looking to reduce the amount of log diving required when I've made a dumb config error.
Your Environment

Uchiwa version used: 0.23.0
Sensu version used: 0.28.4
Operating System and version (e.g. Ubuntu 14.04): Debian Jessie

Thanks!


Refactor BouncyCastleProvider to BouncyCastleFipsProvider

Solves issue https://github.com/cloudfoundry/uaa/issues/2230
Replaced BC libraries towards https://www.bouncycastle.org/fips-java/, e.g.
https://www.bouncycastle.org/fips_faq.html
Some refactoring's were needed, used the BC cookbook, e.g.
https://downloads.bouncycastle.org/fips-java/BC-FJA-UserGuide-1.0.2.pdf

Thanks & makes sense! Just to confirm, this change wouldn't introduce any breaking changes right (e.g. like changes in any publicly exposed keys like the token keys that would impact UAA clients)?

correct, no breaking change.


[BUG] [ESP32-C3][lock-app] kernel panic

Reproduction steps
cd ${MATTER}/examples/lock-app/esp32
idf.py set-target esp32c3
idf.py build
idf.py erase_flash flash

esp32-c3 shows kernel panic and reboot.
Bug prevalence
always
GitHub hash of the SDK that was being used
commit 2e0737c66ec95342abc06762a85aa53b148ef83e (HEAD -> master, origin/master, origin/HEAD)
Platform
esp32
Platform Version(s)
No response
Anything else?
Log
20230208-esp32.txt
Environment
Host OS : Ubuntu 20.04
ESP-IDF : ESP-IDF Release v4.4.4
ZAP :  v2023.02.03-nightly
update info
below environment is no problem, ESP32-C3 is working.
Matter SDK : commit bba4182d61d56510f628307aff9844b75fb27b0d (HEAD)
ESP-IDF : ESP-IDF Release v4.4.4
ZAP :  v2023.01.19-nightly

From the log:
E (1448) chip[DL]: Chip stack locking error at './third_party/connectedhomeip/src/app/util/attribute-storage.cpp:510'. Code is unsafe/racy

That assert is at the top of emAfReadOrWriteAttribute.
@mmt-10 since you have a working and broken changeset, would you be willing to bisect to find out what changeset introduced the problem?
@shubhamdp @dhrishi

Alternately, @mmt-10 if there is a way to get a stack to the assert, that would pretty much immediately pinpoint the problem, since the problem is some code that is trying to access attributes on the wrong thread.

I assume there is a problem with the change after commit id bba4182d61d56510f628307aff9844b75fb27b0d at Jan/20.
I'm sorry, I do not know how do I debug it.

@mmt-10 I can reproduce this issue, will look into it.

Fixed with #25895


convert_objects is deprecated

category_encoders\utils.py:30: FutureWarning: convert_objects is deprecated.  Use the data-type specific converters pd.to_datetime, pd.to_timedelta and pd.to_numeric.
 X = X.convert_objects(convert_numeric=True)`

I'm using the following:
pandas: 0.18.0
scikit: 0.18.1

Ah yeah, noted, thanks for the ticket. Any interest in working on a PR for this?

When will this fix be released?

I was hoping to fix #21 first, but that looks to have fallen off radar, I'll try to hack something together and get a release out this week.

That's perfect, thank you!

@milanogc v1.2.5 is out on pypi and has this fix.

Awesome! Thanks!


How to force http to https upgrade

I'm running SSL websocketd with static dir.
So, https://localhost:8888 works fine, but http://localhost:8888 returns nothing. How can I force client to automatically switch to SSL in such case? I don't want to use additional proxies, because this is the only piece of functionality I miss right now.
Thanks

Good point. That's missing.  I need to look into go http lib internals about listening non-TLS requests.

Okay, I thought I just can't find this) The library is great, but this minor piece is a bit annoying, especially when http URLs are already cached in browsers.

Yeah. So far only way to deal with it is to proxy things with external proxy... Will try to get to it soon.

Will hold on merge for couple days until I have time to make peace with it or someone complains about my code there and I'll force myself to rewrite this addition and surrounding lines.

@artemkin :
it would not be possible to return redirect on same port as one listened as https://.
It must be two different ports for http and https due to nature of HTTP over TLS. The new feature I added in PR is "--redirectport"   It requires you to enter something else, say "8000" to redirect http://host:8000/ to https://host:8443/
(rational choice for --ssl would be --port 443 --redirport 80)

@asergeyev Thanks! Yes, I see.
It seems the only way is to detect TLS handshake, and redirect to http or https endpoint.
http://stackoverflow.com/questions/22453782/nodejs-http-and-https-over-same-port/23975955

I don't think there is need to implement that kind of same port to same port redirect. I don't quite see google/facebook/amazon/yahoo doing it on their servers and it's not quite in protocol standard. I'd leave it with two port numbers for now.  Maybe it's just because I don't feel like shimming listener code.
Supporters for adding support for same port HTTP/HTTPS are welcome to add their comments.

Closing. No real benefit to use same port IMO.. feel free to disagree.


Feature Request: onDingDetected

So I've been working on adding camera support to ring-mqtt and perhaps it's just my inexperience, but I'm finding it confusing to work with cameras because it seems like there are so many different ways to get state for various things.
I've worked out that I can subscribe to onData and get state for lights and siren, which is great and simple.  I can subscribe to onMotionDetected, and get simple true/false notifications when motion events start and end, OK, simple enough.
However, dings, i.e. doorbell presses.  Here it seems that there's no single event to subscribe.  Yes, I can subcribe to get a "ding" event, but then how to I monitor for when a "ding" even is over?  Of course I can just start an event and time it in my own code, but it just seems strange compared to the rest of the API.  I think it would be really nice of there was an "onDingDetected" observable that behaved with simple true/false similar to motion.
Now perhaps you're just exposing the way ding vs motion events work from the Ring API perspective, in which case I understand if you wouldn't want to implement this at the API level, I'll do it in my app, no problem, but I thought I'd put it out there.  Besides, maybe you'll just tell me I'm doing it totally wrong and teach me something, and that's fine too!

@tsightler I think you have a really good understanding of how everything is currently exposed, nice work!  There is definitely a subtle difference between the doorbell presses and the motion events.  For motion, I'm leaving the dings around for 65 seconds, and allowing for overlap between events.  This is to prevent multiple motion events triggering in my homebridge plugin if there is constant motion for 2+ minutes.  Whether that is right or not..that's up for debate.  No one has gotten this deep into the code to have a discussion with.
Doorbell presses on the other hand, I handle as a singular event.  Every time the doorbell is pressed (aka a ding with kind: 'ding' happens), I want to know about it and tell my homebridge plugin to create an event.  This event is exposed via camera.onDoorbellPressed.  From the homebridge perspective there is no duration to these events.  They occur, and a notification pops via HomeKit.  Unlike motion, there is no long lived status that say the doorbell is currently pressed or not pressed.  That's my rational behind my implementation, but I have no idea if MQTT works the same way.  If you need long-lived doorbell events, you can copy the implementation from onMotionDetected.  Something like this:
import {  distinctUntilChanged,  map,  publishReplay, refCount } from 'rxjs/operators'

const camera = cameras[0]
const onActiveDoorbellPress = camera.onActiveDings.pipe(
    map(dings => dings.some(ding => ding.motion || ding.kind === 'motion')),
    distinctUntilChanged(),
    publishReplay(1),
    refCount()
  )

The downside for you here is you will need to add rxjs as a dependency in your repo to get those operators.  Let me know what you decide on the single event vs long-lived doorbell press boolean.  I can add onActiveDoorbellPress (or whatever you think it should be called) if you decide you want to go that route.

So i guess my opinion is probably colored by the way the Ring component for Home Assistant behaves and how the Ring app behaves.
Based on what it seems, dings have a duration as they even have a duration property.  The Home Assistant component seems to use this as the duration of the ding, whether motion or doorbell press.  It seems the ding duration is 180 seconds and thats the behavior I feel like i see in both Home Assistant component and the Ring app, both a ding and motion are dismissed after 3 minutes.
However, i haven't really looked at the code for Home Assistant, I'm mostly inferring based on observed behavior and the fact that it seems to match the duration field on the ding.  I'll look at the actual code when i get back to my computer.
I have no real issue coding this behavior into my script, but i was somewhat thinking the API might make it easier to consume in a standard way.  I'll investigate it a little more though because i could be completely wrong.

@tsightler thanks for the additional background info.  I looked at the dings a little bit and it looks like you are correct, the expires_in field is ~180 for both motion and doorbell presses.  The only hesitation I have about this is that my gut tells me the 180s is an expiration for the SIP connection details (although I have seen other threads that say those expire in ~15s).  It might be worth doing some testing to see what the smallest time gap is you can get between two motion events on a single camera.  I agree that it is worth adding it to the API if we decide that 180s is the actual duration of the events from Ring's perspective, and it's an easy change on my end.  Unfortunately I'm going to be fairly tied up until the middle of next week.  Let me know if you get a chance to test out the Ring events and see how long there is between them.

I've tried to test this and, at least on my devices, (I have a Doorbell Pro, a Floodlight cam, and two Stickup Cams) it seems like I can only get a "ding" every 60 seconds at most.  If I ring the doorbell over and over I don't get a new event until ~60 seconds and the same with motion.
After playing with this a little it turns out I was able to write a pretty simple function that gives me the behavior I want just by subscribing to onNewDing, so perhaps this is not big deal.
  It was mostly this behavior that I was attempting to emulate, but now that I've worked out how to do it simply and flexibly, I'm less sure if that's how the API should behave, it's just how the Home Assistant Ring component behaves.  I'll certainly leave this to your judgement.

Thanks for the in-depth testing! Since the real ring api seems to follow a 60 second lifetime, I think I’ll stick with that. Good to know how home assistant handles it too.


Wrong model name on internvl2_8b fine-tuning code

Checklist

[ ] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[ ] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug
It looks like that the model name is not the correct one in the fine-tuning script for model=internvl2_8b, where it should be [internlm2_5-7b-chat](https://huggingface.co/internlm/internlm2_5-7b-chat) while it is --model_name_or_path "./pretrained/InternVL2-2B":
https://github.com/OpenGVLab/InternVL/blob/main/internvl_chat/shell/internvl2.0/2nd_finetune/internvl2_8b_internlm2_7b_dynamic_res_2nd_finetune_lora.sh
Reproduction
N/A
Environment
N/A

Error traceback
No response

Hi, thanks for your feedback. This typo has been fixed.


arvm7 images are not working

User reports that armv7 images are not working. I think the problem is the Dockerfile is not using the right images for doing the go build.

$ docker run ghcr.io/allenporter/armv7-rtsp-to-web:latest
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[02:18:25] INFO: Starting discovery service
[02:18:25] INFO: Starting RSTPtoWebRTC
./run: line 12: /app/rtsp-to-web: cannot execute binary file: Exec format error
./run: line 12: /app/rtsp-to-web: No error information
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
curl: (6) Could not resolve host: supervisor
[02:18:25] ERROR: Something went wrong contacting the API
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Confirmed rtsp-to-web works with the updated docker image that uses the home assistant image for all steps.
$ docker pull ghcr.io/allenporter/armv7-rtsp-to-web:latest
$ docker run ghcr.io/allenporter/armv7-rtsp-to-web:latest

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[02:47:42] INFO: Starting discovery service
[02:47:42] INFO: Starting RSTPtoWebRTC
time="2022-01-28T02:47:42Z" level=info msg="Server CORE start" func=main module=main
time="2022-01-28T02:47:42Z" level=info msg="Server HTTP start" call=Start func=RTSPServer module=http_server
time="2022-01-28T02:47:42Z" level=info msg="Server RTSP start" call=Start func=RTSPServer module=rtsp_server
time="2022-01-28T02:47:42Z" level=info msg="Server start success a wait signals" func=main module=main
curl: (6) Could not resolve host: supervisor
[02:47:42] ERROR: Something went wrong contacting the API
curl: (6) Could not resolve host: supervisor
[02:47:42] ERROR: Something went wrong contacting the API
[02:47:42] INFO: Successfully send discovery information to Home Assistant.
^Ctime="2022-01-28T02:48:03Z" level=info msg="Server receive signalterminated" func=main module=main
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
time="2022-01-28T02:48:05Z" level=info msg="Server stop working by signal" func=main module=main
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Verified RTSPtoWebRTC image is also working:
$ docker pull ghcr.io/allenporter/armv7-rtsp-to-webrtc:latest
$ docker run ghcr.io/allenporter/armv7-rtsp-to-webrtc:latest
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[06:55:37] INFO: Starting discovery service
[06:55:37] INFO: Starting RSTPtoWebRTC
2022/02/04 06:55:38 Server Start Awaiting Signal
curl: (6) Could not resolve host: supervisor
[06:55:38] ERROR: Something went wrong contacting the API
curl: (6) Could not resolve host: supervisor
[06:55:38] ERROR: Something went wrong contacting the API
[06:55:38] INFO: Successfully send discovery information to Home Assistant.


Unable to install on Windows 10

ERROR: The term 'Set-TaskbarOptions' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The install of tmpabb4.tmp was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\tmpABB4.tmp\tools\ChocolateyInstall.ps1'.
See log for details.
boxstarter.log

Forgot to add, Windows 10, v21H1, 64bit

I've having issue windows 10 home version, seems not supported.

It replaced with 'Set-BoxstarterTaskbarOptions' ( see https://boxstarter.org/WinConfig )

Thank you for your feedback! We've been working on major updates to FLARE VM over the last year.
The now revamped FLARE VM has just been released and will make the project more open and maintainable.
Please check out our blog post at https://www.mandiant.com/resources/blog/flarevm-open-to-public and give the new installation a try.
If this problem still persists with the new installation, please report:

new tools or tool-related issues at https://github.com/mandiant/VM-Packages/issues
ideas and issues related to the installer script and configuration at https://github.com/mandiant/flare-vm/issues

Please note that we use this message to close all legacy issues in this repository. We look forward to your feedback and support for the next generation of FLARE VM.


Ask for add PocovidScreen

Hi,
Thanks for this great library of projects.
We did a website during previous hackathons that can detect COVID-19 from POCUS images.
I think it would be great if you can add it to the "Web applications" section.
Here is the link :
https://pocovidscreen.org/
Here is the name :
PocovidScreen
Here is the description :
An AI tool for early screening of COVID-19 & pneumonia from ultrasound recordings (POCUS)

@stat1x Hi, Thanks for the suggestion.
The item just added.


Outdated

Hi,
The section is outdated.

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

ID: 9962c711-a464-85d7-07dc-29140ff9a715
Version Independent ID: bc9eaa33-6bb4-6c91-724e-589f022c2159
Content: Tutorial: Run a playbook in Azure Sentinel
Content Source: articles/sentinel/tutorial-respond-threats-playbook.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@josephka3 Thank you for your feedback . We will engage the content authors on this and update the thread.

@yelevin Could you please review this thread? The section Create a security playbook needs a change as the playbook section has been moved to Configuration now. Also the logic app screenshot may need an update ?

Thank you .

Thanks for your feedback! I will investigate this issue and make necessary corrections.


add exception handling to the zipping of archived files

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls


docs: Update readme for Q2 2020

Hi Angular Material team,
Is it possible to update the readme with what's planned for Q2 2020?
Thank you!

I'll try to get to it this week


QoS over Nftables : Realtime Rate

Hello,
I have experienced the Realtime Rate of QoS over Nftables not actually showing the Rate and instead accumulating change over time.

nft-qos config:
config default 'default'
        option limit_mac_enable '0'
        option priority_enable '0'
        option limit_enable '0'

Is anyone able to suggest a fix or perhaps point me to where I might be able to fix it my self?
Output of nft-qos-monitor table after I cleared it and re-populated it:
table inet nft-qos-monitor {
        chain upload {
                type filter hook postrouting priority filter; policy accept;
                ip saddr <IP_ADDRESS> counter packets 5770 bytes 1662725
                ip saddr <IP_ADDRESS> counter packets 3077 bytes 423946
                ip saddr <IP_ADDRESS> counter packets 41 bytes 5097
                ip saddr <IP_ADDRESS> counter packets 9755 bytes 820329
                ip saddr <IP_ADDRESS> counter packets 2526 bytes 325679
                ip saddr <IP_ADDRESS> counter packets 2265 bytes 586656
        }
        chain download {
                type filter hook prerouting priority filter; policy accept;
                ip daddr <IP_ADDRESS> counter packets 6887 bytes 3718503
                ip daddr <IP_ADDRESS> counter packets 10082 bytes 13001735
                ip daddr <IP_ADDRESS> counter packets 41 bytes 13285
                ip daddr <IP_ADDRESS> counter packets 16924 bytes 23939737
                ip daddr <IP_ADDRESS> counter packets 8995 bytes 11823975
                ip daddr <IP_ADDRESS> counter packets 11880 bytes 14101632
        }
}

https://github.com/openwrt/luci/blob/d5385fa93b5d802f780e1e2393cc20dd633cdcd9/applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm#L32

That seems like an unlikely culprit. From the table I can see multiple values for the same IP which to is telling me that something is not populating the table correctly.
The code you posted seems to be the interface part and not the data processing part.

yeah... there are duplicate values... that's related to the core package not luci
easy fix pr's for the packages repo are another story... there's a thread on the forum if you'd like a fix for that to check if it helps with your values...

Building now. I'll close the ticket in case this works.
Thank you!

So far so good. Thank you.

Thanks @wulfy23
Your fix is good, but do you know which repo should we report the issue and get it into official release?
Now we need to apply the patch after every sysupgrade :(


Add more read filters

Use case 1: I want to operate on a subset of my bam by blacklisting or whitelisting reads that have a particular read group property. GATK3 analogs: SingleReadGroupFilter, SampleFilter, ReadNameFilter, ReadGroupBlackListFilter, PlatformUnitFilter, PlatformFilter, LibraryReadFilter.
Use case 2: I want to operate on a subset of my bam by blacklisting or whitelisting reads that have a particular "physical" property. GATK3 analogs: MaxInsertSizeFilter, ReadLengthFilter, ReadStrandFilter.
Use case 3: I want to operate on a subset of my bam by blacklisting or whitelisting reads that have a particular mapping property. GATK3 analogs: MappingQualityFilter, MappingQualityUnavailableFilter, MappingQualityZeroFilter, UnmappedReadFilter. Feature request: add ability to recognize a cigar pattern (to e.g. select reads with insertions> 10 bases, or reads with soft-clips, etc).
Use case 4: I want to operate on a subset of my bam by blacklisting or whitelisting read pairs that have particular pairing properties. GATK3 analogs: BadMateFilter, MateSameStrandFilter.

in pull #454 i added all those filters.
What remains to be done is hooking them up to the argument parsing system and the engine and your feature request "add ability to recognize a cigar pattern (to e.g. select reads with insertions> 10 bases, or reads with soft-clips, etc)."
Once #454 is merged, will close this ticket and open separate one for those two outstanding issues.
Assigning to me to remember.

Yay, thanks @akiezun

added https://github.com/broadinstitute/hellbender/issues/589
closing this issue as discussed


Not Logging for Android

It's not working for Android in flutter project.
And you please update build.gradle settings with     ext.kotlin_version = '1.7.10'
I got logs for iOS but android is not working there.

It's not working for Android in flutter project. And you please update build.gradle settings with ext.kotlin_version = '1.7.10'
I got logs for iOS but android is not working there.
@gujjar1988 have you tried to run the example app?


Update rbase64 encode usage

Based on the documentation proper usage of rbase64 for encoding seems to be:
rbase64.encode("Hello world");
rbase64.result();

I realized this was the case after the gcloud api was returning 4xx.

I signed it!


fix(dependencies): fix package lock dependencies

Recreate package-lock due to issue https://github.com/patternfly/patternfly-ng/issues/475
IMPORTANT: Use node v 11 & python v 2.7

Tested with node 11.x (above), but encountered aot build failures while the UI generates d3 / minimatch typescript errors.
I don't believe the build errors have much to with the lock file. I encounter the same errors after rebuilding the lock file myself. However, it would require significant effort to revive this project in order to test properly.
Thank you for the contribution, but this project is no longer supported. Without being able to test the changes against the UI, I will have to close this PR.


Add getActiveFilterFields method to PagingCollection

@andy-armstrong mind giving this a review? I added a method to the paging collection to return an array of the currently active filters, which will be useful for Learner Analytics.

:+1: Looks good @dan-f.
You can now be the guinea pig for the release process: https://openedx.atlassian.net/wiki/display/FEDX/UI+Toolkit+release+process


Update dependency to allow grape v1

hey i updated the gemspec to allow grape v1.0.0 and all the tests still pass.
while I was at it, I also updated the code-climate-reporter since it was out of date.

Thanks for your contribution! Im reviewing your changes so expect it to be merged tomorrow. 👍


Go through all IPython notebooks and make sure up to date

Generally speaking, IPython notebooks have just been migrated without updating. We need to update all of them.

I'm working on the ones in the examples for chemical environments. I can work on the others as well.

Yay. :) Otherwise I will get to this eventually, but if you have time that's awesome.

I did the environment example notebooks in PR #7
I will plan to go through others next week.

I did this in PR #35 I ran them with python3 so they should all be good to go now.


Update fmt with recent go fmt

This PR just does go fmt so that this change is easier to review https://github.com/kubeshark/gopacket/pull/1

We might want to pull code from upstream in the future and this change would cause a lot of merge conflicts that are hard to resolve.


pull request for e2e test at 01/12/2017 04:45:08

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


improve UI of login form- ebike website- frontend project

The login form does not look interactive. To improve the appearance of the form.

@MohitGupta121 @TusharKesarwani @pranjay-poddar kindly assign this issue under GSSOC23


Runes are not converted to numbers

Given the following simple example shouldn't rune be converted to a number?
Input
packages:
  - path: "types/src/test"
    output_path: "src/types.ts"
    type_mappings:
      time.Time: "string /* fancy comment */"

package types

import "time"

type TestType string

type TestRune rune

type TestRunes []rune

type TestStruct struct {
	SomeRune *rune
	SomeTime *time.Time
}

Output
// Code generated by tygo. DO NOT EDIT.

//////////
// source: types.go

export type TestType = string;
export type TestRune = rune;
export type TestRunes = rune[];
export interface TestStruct {
  SomeRune?: rune;
  SomeTime?: string /* fancy comment */;
}

Hmm, I'm not sure what the desired behavior is here, the TS type number is much less restricted than rune.
You could use frontmatter to inject something like export type rune = number and you could get this behavior 🤔, would that solve it for you?

rune isn't a valid TypeScript type. Ideally runes would get converter to number. Unless I'm completely mistaken.


docs: Fixed compilation error in README.md example

Fixed errors in the example code that shows how to use the vulkan_headers dependency to generate the bindings.
The errors were:
generate_cmd.addArg(registry);: generate_cmd variable does not exist, it should be vk_generate_cmd
vk_generate_cmd.addArg(registry);: addArg() takes a []const u8 and was given a LazyPath, used addFileArg() instead

Well spotted! Thanks


Remove PIDFile workaround and deprecated code

The service is now a native systemd service so there is no pidfile to be tracked. This means we can test on EL8 again.

Test failure looks related:
       	Error: /Stage[main]/Main/Jenkins::Job[test-build-job]/Jenkins::Job::Present[test-build-job]/Exec[jenkins update-job test-build-job]: Could not evaluate: Could not find command '/usr/bin/diff'

I wonder if this module should ensure diffutils is installed or we assume the user manages it.


Fix ped bugs

Codecov Report

Merging #179 (bedbcf1) into master (8e4232e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #179   +/-   ##
=========================================
  Coverage     79.42%   79.42%
  Complexity      962      962
=========================================
  Files           146      146
  Lines          2814     2814
  Branches        330      330
=========================================
  Hits           2235     2235
  Misses          492      492
  Partials         87       87

Impacted Files
Coverage Δ

...n/java/seedu/plannermd/model/person/BirthDate.java
89.47% <ø> (ø)

Continue to review full report at Codecov.

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


Use colors from current theme

At the moment the library does not use colors for current app theme.
If I have the following theme assigned to the app
<resources>
    <style name="AppTheme.Dark.Cyan" parent="AppTheme.Dark">
        <item name="colorAccent">@color/material_cyan_300</item>
    </style>
</resources>

then filepicker still needs colorAccent in colors.xml to override button text.
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="colorAccent">#ff9800</color>
<resources>

Check how this is done in android.support.v7.app.AlertDialog.

To help users of you Dialog dealing with the theme, you could as well simply implement a constructor of FilePickerDialog that gets the parameters of Dialog : public Dialog(@NonNull Context context, @StyleRes int themeResId) si that they can modifiy the theme.
Very simple to put in place : add this constructor :
public FilePickerDialog(Context context, DialogProperties properties, @StyleRes int themeResId) {
super(context, themeResId);
this.context = context;
this.properties = properties;
filter = new ExtensionFilter(properties);
internalList = new ArrayList<>();
}
and it's done !

@SylvainPoree I really appreciate your effort for helping out with this issue, Since very beginning customization and theming are the things I have been thinking to improve.

The issue still not fixed.
I can change text size via custom theme, however colorAccent is not used by theme provided via FilePickerDialog(Context, DialogProperties, @styleres int) constructor.

@alexeyvasilyev
Just add below colors in your color.xml file
your_color
your_color
your_color
It will override the file_picker colors_


ci: reduce the frequency of automated version updates

It is now checked monthly, and path versions are ignored. Hopefully this could help reduce the toil for importing dependent crates in the internal google monorepo.
Note that security updates are handled differently from version updates by the dependabot, so we can still get security updates in time despite the lower checking frequency.

The cranky failure seems like it might just be a flake in the CI environment


Error in snapshotSerializer test doesn't have useful stack trace

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If a snapshot serializer's test method throws an exception, the stack trace doesn't point to it at all. This can make it difficult to determine where the exception is coming from.
Example:
Serializer:
const DummySerializer = {
  test: val => { throw new Error('Where is this error?') },
  print: val => '',
};

Config:
{
  "snapshotSerializers": [
    "<rootDir>/dummySerializer.js"
  ],
  "testRegex": ".*-test\\.js$"
}

Test:
test('hello world', () => {
  expect('foo').toMatchSnapshot();
})

Output:
 FAIL  ./add-test.js
  ● hello world

    Where is this error?

      at Object.<anonymous>.test (add-test.js:2:17)

add-test.js:2 is simply the expect('foo').toMatchSnapshot() call.
repl.it demo: https://repl.it/HKH4
What is the expected behavior?
Stack trace should point to the test method in the snapshot serializer.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
I encountered this internally at Facebook, but can also repro on Jest v19.0.2 using repl.it.

I'd be happy to take a look at it and see if I can come up with a solution. :+1:

Alright I'm going to try to report back on my current state on the matter. I'm not very much a Jest user at this point so bear with me if I misunderstood some of the OP information. Nevertheless I'm eager to learn so feel free to expose my mistakes. :+1:
I added the provided test in this file: packages/jest-snapshot/src/__tests__/matcher.test.js alongside with an expect.addSnapshotSerializer() call to use the DummySerializer provided. You can see it here: https://github.com/Nargonath/jest/commit/a7658036b040d5094d3531b8ffabc59bd1d3e708#diff-0daa7895e0d6a3b4644dd17dcd510eccR30. I'm not sure whether that's the best spot for it or not. You tell me, perhaps you preferred it in its own file.
I dug around in the project. I haven't been working on stack traces a lot but my first shot at the problem would be that the source

Alright I'm going to try to report back on my current state on the matter. I'm not very much a Jest user at this point so bear with me if I misunderstood some of the OP information. Nevertheless I'm eager to learn so feel free to expose my mistakes, thanks. :+1:
I added the provided test in this file: packages/jest-snapshot/src/__tests__/matcher.test.js alongside with an expect.addSnapshotSerializer() call to use the DummySerializer provided. You can see it here: https://github.com/Nargonath/jest/commit/a7658036b040d5094d3531b8ffabc59bd1d3e708#diff-0daa7895e0d6a3b4644dd17dcd510eccR30. I'm not sure whether that's the best spot for it or not. You tell me, perhaps you preferred it in its own file.
I dug around in the project. I haven't been working on stack traces a lot but my first shot at the problem would be that the problem source is an Error.captureStackTrace() call that could be removing the interesting part from the stack trace. I may be wrong on that.
Plus I haven't been able to find where the test method of the serializer is actually called. I looked into toMatchSnapshot function and in the State match function. I found this: https://github.com/Nargonath/jest/blob/master/packages/jest-snapshot/src/State.js#L117 but it doesn't seem to be using the serializer test method, only serializing the argument given. Would you mind pointing me in the right direction please?
Thank you for your time.

test is called by prettyFormat here https://github.com/facebook/jest/blob/e04e45102b3ebe486462d45db656f9b47f0e70e1/packages/pretty-format/src/index.js#L272 from this function in jest-snapshot: https://github.com/facebook/jest/blob/e04e45102b3ebe486462d45db656f9b47f0e70e1/packages/jest-snapshot/src/utils.js#L134-L144. You can stick a breakpoint there to trace upwards in the code

Thank you @SimenB ! I did look a bit in pretty-format source code but didn't notice anything. It seems I didn't look close enough. I'll continue digging. :+1:

I was working on this issue a couple of weeks ago, but today I finally had enough time to finish it. Let me know what you think about the approach I used to fix the lack of details in the error messages.

I was working on the PR as well but I wasn't handling the problem the same way. I think your solution is elegant, probably better than mine. I'll add a review. :+1:

I was going to add a property to the error object like doNoCapture or something alike so I could add a test here: https://github.com/facebook/jest/blob/0748e6f76394b58ce24aee42e08c96fb509e8744/packages/expect/src/index.js#L203 testing for the presence of that parameter. But like I said, your solution seems to be cleaner. Good job.


Vanillagorillaa highlanderh port

Highlanderh

is this a duplicate of https://github.com/commaai/openpilot/pull/214?

@bpanicker13 @rbiasini Let's go ahead and close this then....


Problem with Captcha

After installing the new update v.3.4.5, it asks me to re-authenticate. In the captcha entry screen, I re-enter the password and continue to show me the captcha image saying that it is incorrect with the following error message "There is a problem! Enter the characters as they are shown in the image." I verified that the characters in the captcha image were correct and I tried to repeat the procedure several times but always with the same result.

Please fill out the template.

Please fill out the template.

I followed the installation procedure via Hacs.
I restarted Hassio as indicated.
I then searched for the new component from the Integrations menu >> add integration >> Alexa Media Player.
The first popup appeared and I entered all the data (mail, pass, domain (amazon.it not amazon.com).
Finally, I enter the Built-in 2FA App Key retrieved from the Amazon site and press enter.
Then the popup opens with the captcha challenge as shown in the image

I enter the characters represented in the image of the correct captcha, but I get the error:
"There is a problem! Enter the characters as they are shown in the image."
I try several times to insert the characters present in the captcha image, but the same error always returns.
System details

Home-assistant (version):2020.12.7

I followed the installation procedure via Hacs.
I restarted Hassio as indicated.
I then searched for the new component from the Integrations menu >> add integration >> Alexa Media Player.
The first popup appeared and I entered all the data (mail, pass, domain (amazon.it not amazon.com).
Finally, I enter the Built-in 2FA App Key retrieved from the Amazon site and press enter.
Then the popup opens with the captcha challenge as shown in the image

I enter the characters represented in the image of the correct captcha, but I get the error:
"There is a problem! Enter the characters as they are shown in the image."
I try several times to insert the characters present in the captcha image, but the same error always returns.
System details

Home-assistant (version):2020.12.7

That is not the template. Please fill out the template so I have enough information to help you.

That is not the template. Please fill out the template so I have enough information to help you.

Describe the bug
Captcha image broken on Reconfigure screen
NOTE: This has since been resolved, but submitting in case it's helpful.
To Reproduce
Steps to reproduce the behavior:

Go to Configuration > Integrations > Alexa Media Player
Click Reconfigure
Notice broken Captcha image in pop-up window

Expected behavior
The Captcha image appears so you can enter its value in form
Screenshots

System details

Home-assistant (version): 2020.12.1
Hassio (Yes/No): No
alexa_media  (version from const.py or HA startup): 3.4.5
alexapy (version from pip show alexapy or HA startup): 1.20.3
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: y

Logs
Please provide logs. We'll be most likely asking for them anyway.
2021-01-05 18:39:53 DEBUG (MainThread) [custom_components.alexa_media] Nothing to import from configuration.yaml, loading from Integrations
2021-01-05 18:39:53 INFO (MainThread) [custom_components.alexa_media]
-------------------------------------------------------------------
alexa_media
Version: 3.4.5
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/alexa_media_player/issues
-------------------------------------------------------------------
2021-01-05 18:39:53 INFO (MainThread) [custom_components.alexa_media] Loaded alexapy==1.20.3
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for 6************************************************KCQ
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 466964
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Trying to load cookie from file<EMAIL_ADDRESS>2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Trying to load aiohttpCookieJar to session
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Loaded 4 cookies
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Using cookies to log in
2021-01-05 18:39:55 DEBUG (MainThread) [alexapy.alexalogin] GET: redirected from
https://alexa.amazon.com/api/bootstrap
2021-01-05 18:39:55 DEBUG (MainThread) [alexapy.alexalogin] GET:
https://www.amazon.com/ap/signin?showRmrMe=1&openid.return_to=https://alexa.amazon.com/api/bootstrap&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&openid.assoc_handle=amzn_dp_project_dee&openid.mode=checkid_setup&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.ns=http://specs.openid.net/auth/2.0& returned 200:OK with response <CIMultiDictProxy('Content-Type': 'text/html;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Tue, 05 Jan 2021 23:39:55 GMT', 'x-amz-rid': '3C9S048KA6P73GQENWHV', 'Set-Cookie': 'ap-fid=""; Domain=.amazon.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ap/; Secure', 'Set-Cookie': 'session-id=143-0378115-4964304; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'Set-Cookie': 'session-id-time=2240609995l; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'Set-Cookie': 'ubid-main=132-8729118-5289203; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'Set-Cookie': 'session-token=VNxVFjQO7C33YUi9nOyF9RVXLxX4SveKipS9zqC1vm790p5SLV7/AzZnIHFaJDWY9zxH3DkFyLZj95ClXLTB3VH8EwM56Ey1nalCtj7js/Yl/RqUmZ1NCkziMZdpr0umVS9NkwQ5nWNwFEAJYFo4tYdIZEMFD0qg4lWQh9BQDin9orQntLzZt7PjuoMJPjKrkWkHg8tN2g/MvkPaesKILStAPOaicFIb; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'X-XSS-Protection': '1', 'X-Content-Type-Options': 'nosniff', 'x-ua-compatible': 'IE=edge', 'Pragma': 'No-cache', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'p3p': 'policyref="http://www.amazon.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAo IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA HEA PRE LOC GOV OTC "', 'X-Frame-Options': 'SAMEORIGIN', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 6ba47df044361b708e00c6d6274556cc.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'IAD79-C1', 'X-Amz-Cf-Id': 'B3Ew-nEj9emyTqEnV0e09TmrkyP-DNs7KSksnnedc7C29nrOaOjkQw==')>
2021-01-05 18:39:55 DEBUG (MainThread) [alexapy.alexalogin] Not logged in: An exception of type ContentTypeError occurred.
To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.
2021-01-05 18:39:56 DEBUG (MainThread) [alexapy.alexalogin] Captcha requested
2021-01-05 18:39:56 DEBUG (MainThread) [alexapy.alexalogin] Found post url to https://www.amazon.com/ap/signin
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Testing login status: {'error_message': 'Important Message!\n To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.\n ', 'captcha_required': True, 'captcha_image_url': 'https://opfcaptcha-prod.s3.amazonaws.com/e73c8db7f5f4479b950aef082eb100b4.jpg?AWSAccessKeyId=AKIA5WBBRBBBSCNX2IYZ&Expires=1609890296&Signature=wQUzUfWxcXveiKTsA2NtX4tSMvk%3D'}
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Logging in: {'otp_secret': '6************************************************KCQ', 'email': 'p******n@g*******m', 'password': 'REDACTED 12 CHARS', 'url': 'amazon.com', 'debug': False, 'scan_interval': 60, 'include_devices': '', 'exclude_devices': ''} set()
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Login stats: {'login_timestamp': datetime.datetime(1, 1, 1, 0, 0), 'api_calls': 0}
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Creating new config flow to login
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating reauth form with OrderedDict([('otp_secret', '6************************************************KCQ'), ('email', 'p******n@g*******m'), ('password', 'REDACTED 12 CHARS'), ('url', 'amazon.com'), ('debug', False), ('scan_interval', 60), ('include_devices', ''), ('exclude_devices', ''), ('reauth', True)])
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Attempting automatic relogin
2021-01-05 18:40:14 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Using existing login
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Using credentials to log in
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Loaded last request to https://www.amazon.com/ap/signin/140-5166045-1481934
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Processing https://www.amazon.com/ap/signin/140-5166045-1481934
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Error message: Important Message!
To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Captcha requested
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Found post url to https://www.amazon.com/ap/signin
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Preparing form submission to https://www.amazon.com/ap/signin with input data: OrderedDict([('otp_secret', '6************************************************KCQ'), ('email', 'p******n@g*******m'), ('password', 'REDACTED 12 CHARS'), ('url', 'amazon.com'), ('debug', False), ('scan_interval', 60), ('include_devices', ''), ('exclude_devices', ''), ('reauth', True)])
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for 6************************************************KCQ
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 790319
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] No 2FA code supplied but will generate.
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 790319
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] POST:
https://www.amazon.com/ap/signin returned 200:OK with response <CIMultiDictProxy('Content-Type': 'text/html;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Tue, 05 Jan 2021 23:40:15 GMT', 'x-amz-rid': '8JEYJ2A7XD4KVEN5EW7A', 'Set-Cookie': 'ap-fid=""; Domain=.amazon.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ap/; Secure', 'Set-Cookie': 'session-id=140-5166045-1481934; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'Set-Cookie': 'session-id-time=2240610015l; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'Set-Cookie': 'ubid-main=130-6779389-9734820; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'Set-Cookie': 'session-token=zLJ56fZbbelprzbXHf0HFA9WshakldDTiNkWUs0Du4uFq2bwsYd777iKB3jzyQcG9y0Uw25Sw5XgPvP3FIcODn9b6J7Tg/lZvTrdlpEvOHAu+5UsRO9+ittjwFPOXDthwSrtkQGIshzKSFPIRzsm8yZ88swA/7XpeYTYM8ErxyfBwrLJPhKKa+wa8AV1ZlLP/8QuzNlxOf47GZI0etmaWmjHgLXgnHzC; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'X-XSS-Protection': '1', 'X-Content-Type-Options': 'nosniff', 'x-ua-compatible': 'IE=edge', 'Pragma': 'No-cache', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'p3p': 'policyref="http://www.amazon.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAo IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA HEA PRE LOC GOV OTC "', 'X-Frame-Options': 'SAMEORIGIN', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 de6760156d781e28f72545a2e9243b26.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'IAD79-C1', 'X-Amz-Cf-Id': '_9-K-QYHeBMbctmyW22Twj1ouMvA95TfQ03FjmF5C5gpDq1yvhXbbw==')>
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Processing https://www.amazon.com/ap/signin
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Error message: There was a problem
Enter the characters as they are given in the challenge.
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Captcha requested
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Found post url to https://www.amazon.com/ap/signin
2021-01-05 18:40:15 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Testing login status: {'error_message': 'There was a problem\n Enter the characters as they are given in the challenge.\n ', 'captcha_required': True, 'captcha_image_url': 'https://opfcaptcha-prod.s3.amazonaws.com/a27f13c1fbf243beacb4dd481e5b180f.jpg?AWSAccessKeyId=AKIA5WBBRBBBSCNX2IYZ&Expires=1609890315&Signature=qhoF%2F%2Fz%2BaFds6Pcc1zdttWOR15g%3D'}
2021-01-05 18:40:15 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating config_flow to request captcha

Additional context
When you click on the broken Captcha image, you see the following:

Thanks @prnewman . If the captcha is broken it's because it's timed out. Enter anything to get a new captcha. However I'm not sure if it's the same issue being faced by the @Robyn68

Thanks @prnewman . If the captcha is broken it's because it's timed out. Enter anything to get a new captcha. However I'm not sure if it's the same issue being faced by the @Robyn68

Ok so I guess its broken, I too am trying to set up AMP on a new install Home Assistant 2021.1.0 thought I was doing something wrong must have tried 10-15 times going mad now. As mentioned I get the Captcha
after adding details and key from amazon do the Captcha twice then get wrong password message. (amazon.co.uk entered). After trying a few times it  said words to the effect of too many wrong entries amazon may email you. My password has not been reset as I can login to my amazon account. So frustrating I feel more for the developers after all the work they have done. Is there any hope it could be fixed.

Ok so I guess its broken, I too am trying to set up AMP on a new install Home Assistant 2021.1.0 thought I was doing something wrong must have tried 10-15 times going mad now. As mentioned I get the Captcha
after adding details and key from amazon do the Captcha twice then get wrong password message. (amazon.co.uk entered). After trying a few times it  said words to the effect of too many wrong entries amazon may email you. My password has not been reset as I can login to my amazon account. So frustrating I feel more for the developers after all the work they have done. Is there any hope it could be fixed.

same problem here. It's not timed out because I fill the captcha right away an keep getting the same error message.
Do I nee to enter something in the field config::step::captcha::data::securitycode ?

same problem here. It's not timed out because I fill the captcha right away an keep getting the same error message.
Do I nee to enter something in the field config::step::captcha::data::securitycode ?

Enable 2FA. Please also stay on topic.

Enable 2FA. Please also stay on topic.

Hey guys good news for me anyway hope will work for others with same problem. So after many tries I gave up thought I would try one more time after watching one of DrZzs later videos setting up his new HA Blue the Alexa Media player bit starts at 10:47. He had a different issue in that he entered his email details but it said that he had already registered the URL anyway it was working for him already, so I thought I would just put in my details email and password and set region to UK as thats where I am, I have 2FA set up with Amazon but did not enter any more info like I had previously. I had a couple of goes at the returned Captcha it had previously gone to password incorrect after that but it said a code had been sent to my phone I entered it and it found all my Alex devices. So below are the details of my set up hopefully it will help.
Operating System Home Assistant OS 5.10
Version 2020.12.7 I have set up alexa with Haaska and also trialing HA cloud.
In my config.yaml I have:
# alexa cloud:   alexa:     filter:       include_domains:         - switch         - light         - media_player         - input_boolean

Hey guys good news for me anyway hope will work for others with same problem. So after many tries I gave up thought I would try one more time after watching one of DrZzs later videos setting up his new HA Blue the Alexa Media player bit starts at 10:47. He had a different issue in that he entered his email details but it said that he had already registered the URL anyway it was working for him already, so I thought I would just put in my details email and password and set region to UK as thats where I am, I have 2FA set up with Amazon but did not enter any more info like I had previously. I had a couple of goes at the returned Captcha it had previously gone to password incorrect after that but it said a code had been sent to my phone I entered it and it found all my Alex devices. So below are the details of my set up hopefully it will help.
Operating System Home Assistant OS 5.10
Version 2020.12.7 I have set up alexa with Haaska and also trialing HA cloud.
In my config.yaml I have:
# alexa cloud:   alexa:     filter:       include_domains:         - switch         - light         - media_player         - input_boolean

Please use 3.5.0.

Please use 3.5.0.

Describe the bug Captcha image broken on Reconfigure screen
NOTE: This has since been resolved, but submitting in case it's helpful.
To Reproduce Steps to reproduce the behavior:

Go to Configuration > Integrations > Alexa Media Player
Click Reconfigure
Notice broken Captcha image in pop-up window

Expected behavior The Captcha image appears so you can enter its value in form
Screenshots
System details

Home-assistant (version): 2020.12.1
Hassio (Yes/No): No
alexa_media  (version from const.py or HA startup): 3.4.5
alexapy (version from pip show alexapy or HA startup): 1.20.3
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: y

Logs Please provide logs. We'll be most likely asking for them anyway.
2021-01-05 18:39:53 DEBUG (MainThread) [custom_components.alexa_media] Nothing to import from configuration.yaml, loading from Integrations
2021-01-05 18:39:53 INFO (MainThread) [custom_components.alexa_media]
-------------------------------------------------------------------
alexa_media
Version: 3.4.5
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/alexa_media_player/issues
-------------------------------------------------------------------
2021-01-05 18:39:53 INFO (MainThread) [custom_components.alexa_media] Loaded alexapy==1.20.3
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for 6************************************************KCQ
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 466964
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Trying to load cookie from file<EMAIL_ADDRESS>2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Trying to load aiohttpCookieJar to session
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Loaded 4 cookies
2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:39:53 DEBUG (MainThread) [alexapy.alexalogin] Using cookies to log in
2021-01-05 18:39:55 DEBUG (MainThread) [alexapy.alexalogin] GET: redirected from
https://alexa.amazon.com/api/bootstrap
2021-01-05 18:39:55 DEBUG (MainThread) [alexapy.alexalogin] GET:
https://www.amazon.com/ap/signin?showRmrMe=1&openid.return_to=https://alexa.amazon.com/api/bootstrap&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&openid.assoc_handle=amzn_dp_project_dee&openid.mode=checkid_setup&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.ns=http://specs.openid.net/auth/2.0& returned 200:OK with response <CIMultiDictProxy('Content-Type': 'text/html;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Tue, 05 Jan 2021 23:39:55 GMT', 'x-amz-rid': '3C9S048KA6P73GQENWHV', 'Set-Cookie': 'ap-fid=""; Domain=.amazon.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ap/; Secure', 'Set-Cookie': 'session-id=143-0378115-4964304; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'Set-Cookie': 'session-id-time=2240609995l; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'Set-Cookie': 'ubid-main=132-8729118-5289203; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'Set-Cookie': 'session-token=VNxVFjQO7C33YUi9nOyF9RVXLxX4SveKipS9zqC1vm790p5SLV7/AzZnIHFaJDWY9zxH3DkFyLZj95ClXLTB3VH8EwM56Ey1nalCtj7js/Yl/RqUmZ1NCkziMZdpr0umVS9NkwQ5nWNwFEAJYFo4tYdIZEMFD0qg4lWQh9BQDin9orQntLzZt7PjuoMJPjKrkWkHg8tN2g/MvkPaesKILStAPOaicFIb; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:39:55 GMT; Path=/; Secure', 'X-XSS-Protection': '1', 'X-Content-Type-Options': 'nosniff', 'x-ua-compatible': 'IE=edge', 'Pragma': 'No-cache', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'p3p': 'policyref="http://www.amazon.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAo IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA HEA PRE LOC GOV OTC "', 'X-Frame-Options': 'SAMEORIGIN', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 6ba47df044361b708e00c6d6274556cc.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'IAD79-C1', 'X-Amz-Cf-Id': 'B3Ew-nEj9emyTqEnV0e09TmrkyP-DNs7KSksnnedc7C29nrOaOjkQw==')>
2021-01-05 18:39:55 DEBUG (MainThread) [alexapy.alexalogin] Not logged in: An exception of type ContentTypeError occurred.
To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.
2021-01-05 18:39:56 DEBUG (MainThread) [alexapy.alexalogin] Captcha requested
2021-01-05 18:39:56 DEBUG (MainThread) [alexapy.alexalogin] Found post url to https://www.amazon.com/ap/signin
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Testing login status: {'error_message': 'Important Message!\n To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.\n ', 'captcha_required': True, 'captcha_image_url': 'https://opfcaptcha-prod.s3.amazonaws.com/e73c8db7f5f4479b950aef082eb100b4.jpg?AWSAccessKeyId=AKIA5WBBRBBBSCNX2IYZ&Expires=1609890296&Signature=wQUzUfWxcXveiKTsA2NtX4tSMvk%3D'}
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Logging in: {'otp_secret': '6************************************************KCQ', 'email': 'p******n@g*******m', 'password': 'REDACTED 12 CHARS', 'url': 'amazon.com', 'debug': False, 'scan_interval': 60, 'include_devices': '', 'exclude_devices': ''} set()
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Login stats: {'login_timestamp': datetime.datetime(1, 1, 1, 0, 0), 'api_calls': 0}
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media] Creating new config flow to login
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating reauth form with OrderedDict([('otp_secret', '6************************************************KCQ'), ('email', 'p******n@g*******m'), ('password', 'REDACTED 12 CHARS'), ('url', 'amazon.com'), ('debug', False), ('scan_interval', 60), ('include_devices', ''), ('exclude_devices', ''), ('reauth', True)])
2021-01-05 18:39:56 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Attempting automatic relogin
2021-01-05 18:40:14 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Using existing login
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from<EMAIL_ADDRESS>2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Using credentials to log in
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Loaded last request to https://www.amazon.com/ap/signin/140-5166045-1481934
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Processing https://www.amazon.com/ap/signin/140-5166045-1481934
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Error message: Important Message!
To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below.
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Captcha requested
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Found post url to https://www.amazon.com/ap/signin
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Preparing form submission to https://www.amazon.com/ap/signin with input data: OrderedDict([('otp_secret', '6************************************************KCQ'), ('email', 'p******n@g*******m'), ('password', 'REDACTED 12 CHARS'), ('url', 'amazon.com'), ('debug', False), ('scan_interval', 60), ('include_devices', ''), ('exclude_devices', ''), ('reauth', True)])
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for 6************************************************KCQ
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 790319
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] No 2FA code supplied but will generate.
2021-01-05 18:40:14 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 790319
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] POST:
https://www.amazon.com/ap/signin returned 200:OK with response <CIMultiDictProxy('Content-Type': 'text/html;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Tue, 05 Jan 2021 23:40:15 GMT', 'x-amz-rid': '8JEYJ2A7XD4KVEN5EW7A', 'Set-Cookie': 'ap-fid=""; Domain=.amazon.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ap/; Secure', 'Set-Cookie': 'session-id=140-5166045-1481934; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'Set-Cookie': 'session-id-time=2240610015l; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'Set-Cookie': 'ubid-main=130-6779389-9734820; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'Set-Cookie': 'session-token=zLJ56fZbbelprzbXHf0HFA9WshakldDTiNkWUs0Du4uFq2bwsYd777iKB3jzyQcG9y0Uw25Sw5XgPvP3FIcODn9b6J7Tg/lZvTrdlpEvOHAu+5UsRO9+ittjwFPOXDthwSrtkQGIshzKSFPIRzsm8yZ88swA/7XpeYTYM8ErxyfBwrLJPhKKa+wa8AV1ZlLP/8QuzNlxOf47GZI0etmaWmjHgLXgnHzC; Domain=.amazon.com; Expires=Wed, 05-Jan-2022 23:40:15 GMT; Path=/; Secure', 'X-XSS-Protection': '1', 'X-Content-Type-Options': 'nosniff', 'x-ua-compatible': 'IE=edge', 'Pragma': 'No-cache', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'p3p': 'policyref="http://www.amazon.com/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM IVAo IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA HEA PRE LOC GOV OTC "', 'X-Frame-Options': 'SAMEORIGIN', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 de6760156d781e28f72545a2e9243b26.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'IAD79-C1', 'X-Amz-Cf-Id': '_9-K-QYHeBMbctmyW22Twj1ouMvA95TfQ03FjmF5C5gpDq1yvhXbbw==')>
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Processing https://www.amazon.com/ap/signin
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Error message: There was a problem
Enter the characters as they are given in the challenge.
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Captcha requested
2021-01-05 18:40:15 DEBUG (MainThread) [alexapy.alexalogin] Found post url to https://www.amazon.com/ap/signin
2021-01-05 18:40:15 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Testing login status: {'error_message': 'There was a problem\n Enter the characters as they are given in the challenge.\n ', 'captcha_required': True, 'captcha_image_url': 'https://opfcaptcha-prod.s3.amazonaws.com/a27f13c1fbf243beacb4dd481e5b180f.jpg?AWSAccessKeyId=AKIA5WBBRBBBSCNX2IYZ&Expires=1609890315&Signature=qhoF%2F%2Fz%2BaFds6Pcc1zdttWOR15g%3D'}
2021-01-05 18:40:15 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating config_flow to request captcha

Additional context When you click on the broken Captcha image, you see the following:

Hello, can you indicate the source, where did you get the information on the constructor of this URL? In particular, I can't figure out where..signin comes from? .. Found either ..oauth2 .. in Cognito, or ..oa? .. in LWA. I also can't find info on ... client_id = device: 4145 ... Found either ..client_id = amzn1.application-oa2-client.b4d6 .. in LWA, or ..opn6m304vbavurl9 .. in Cognito.
Thank you in advance!
Hello, can you indicate the source, where did you get the information on the constructor of this URL? In particular, I can't figure out where..signin comes from? .. Found either ..oauth2 .. in Cognito, or ..oa? .. in LWA. I also can't find info on ... client_id = device: 4145 ... Found either ..client_id = amzn1.application-oa2-client.b4d6 .. in LWA, or ..opn6m304vbavurl9 .. in Cognito.
Thank you in advance!


feat: turbo info command for debugging

Description
A command to provide debugging information for reproductions or otherwise understand a machine better. Output will look something close to this.
CLI:
   Version: 2.2.4-canary.4
   Location: /Users/anthonyshew/projects/open/turbo/target/debug/turbo
   Daemon status: Running
   Package manager: pnpm

Platform:
   Architecture: aarch64
   Operating system: macos
   Available memory (MB): 13598
   Available CPU cores: 10

Environment:
   CI: None
   Terminal (TERM): xterm-256color
   Terminal program (TERM_PROGRAM): tmux
   Terminal program version (TERM_PROGRAM_VERSION): 3.4
   Shell (SHELL): /bin/zsh
   stdin: false

Turborepo System Environment Variables:
   TURBO_INVOCATION_DIR: /Users/anthonyshew/projects/open/turbo

Testing Instructions
Try it out!

Opting to not print the env vars. If we feel like we need it later, we can print them with an optional flag.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1288 ms

Resolved: Bofrost.be performance has improved in 9ccbf60.


how to use the bolierplate as a newbie to analyticsjs

I am the exact man who just copy/pastes the default tracking snippet and calls it a day. But I donot know how to use this boilerplate directly...
I read your post, but I do suppose it need time to digest as a newbie.
Correct me if I am wrong:

If someone use a build system with code splitting features, he can just copy the src/analytics dir to his project and add code in his main.js,   import('./analytics/base.js').then((analytics) => analytics.init());

If someone use a build system without code splitting features, what he need to do is add init call at the the base.js/autotrack.js/multiple-trackers.js and copy bundle version one of them.

I think it would be better to ask this question on Stack Overflow and cite this repo rather than asking it here. I say that because the question is more about features like code splitting and module loading than it is about using analytics.js, and you'd be more likely to get a good answer there.


Fix RSS Feed

RSS is currently not working

seems like it is just not working on sub pages of the blog. It works on the root. Guess it is a relative path related.

fixed with #20


The problem of flaming graph symbolization

Describe the bug
I built 1 demo monitoring system by myself and the target application for monitoring is the official px-sock-shop application.
I found that through the front-end flame chart, I couldn't locate the reason why it took 1.7s at all, because the grid up the flame chart, which shows all 0x00007f39a6723db something like this, is not converted into human readable form. For example:

In addition, the flame chart of the Java process, I can only see the Java code execution of a very few squares, and are also the official Java classes, the application itself does not see the method-related squares, and I found that there are also similar to 0x000 such a grid, and I checked the value of the PL_PROFILER_JAVA_SYMBOLS environment variable, set to true.
To Reproduce
https://withpixie.ai/invite?invite_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODA3NTk2NzcsInN1YiI6IjdjOTBlODNhLThiNDktNDUwNy1hMGYzLWUwZWRiMzJiODk2YSJ9.lA7lGvjEp3kxY64_5viRBVwzDkmlpgJMGG9AVxVqSlg
You can use the invitation link above to see the actual flame chart in action.

Hi @asasas234 ,
Is it possible that you are looking at a NodeJS application? We do not support symbolization for NodeJS yet. Although we plan to add NodeJS symbolization, we are not sure how to set expectations for when that feature may become available (we are not working on that feature right now).
I clicked through the link you provided and found a cluster named xjp. I was not able to see exactly what you saw, but I am including a fully zoomed out image of the flamegraph I found so that you can point me the region of the flamegraph to look at.

@etep hi, The following diagram is an official example of 1 Java system, and you can see that there will also be symbolic problems at: https://work.withpixie.ai/live/clusters/xjp/namespaces/px-sock-shop/pods/carts-7c47dff488- kx4vg?start_time=-5m

In addition to the symbolization problem, I think this flame map collection of the stack, seems to be very incomplete, I only found a limited number of Java classes and methods, the cart system's own class completely missed.
Finally I have 1 more question, this flame chart, what is the collection time range indicated? The same time range as the one selected above? The last 5 minutes?

If you can't see the information from the link I posted, you can also go directly to the px-sock-shop namespace and see the flame chart for the carts project

Hi @asasas234 ,
The flamegraph image you provide looks good to me. The "address" at the root of the stack 0xe0000ae38 is probably not a valid instruction pointer address. The kernel stack frame walker (which we implicitly use through eBPF) can pick up some stray values at the base of the stack, i.e. before it realizes that there is no more stack to walk. We have considered implementing a heuristic to filter those out, but have not put that on our roadmap. Since the address at the bottom of the stack is almost invariably pointing into the root of your program (be that libc/main or the jvm, or node, or python), it is usually not interesting from a perf perspective, i.e. any interesting perf insights will be found elsewhere.
The time frame, is, as you observe, based on the time window in the GUI:

For the screen shot I provide, it means "previous 5 minutes" (relative to the moment when I clicked "run").
Sock shop may not be very useful for you to get confidence in the perf profiling feature: perhaps you don't have a good intuition about where sock shop does or should spend its time (neither do I have that intuition). If you are interested in Java, and you don't already have a Java application up, I suggest crafting a Java application that does something predictable, and then profiling it. If you need such an application, you can check out ours in src/stirling/source_connectors/perf_profiler/testing/java/ProfilerTest.java.
For Java stack trace walking, we strongly encourage use of -XX:+PreserveFramePointer. This preserves the frame pointer in the stack, and enables the kernel stack frame walker to find the correct stack trace.

@etep hi, I found that the carts app in Sock shop, the command line that starts it does not have -XX:+PreserveFramePointer set . However, when I looked at the pod definition for carts, I found that the env.

I was wondering, is there any way I can add -XX:+PreserveFramePointer to the carts system, or is there an official other demo system for Java with the -XX:+PreserveFramePointer parameter set correctly?

Here is a screenshot of my login to carts to check the Java startup parameters

@etep Thanks, I have no problem, by way of custom Dockerfile based on the original Carts image, I successfully added the -XX:+PreserveFramePointer startup parameter, the effect of displaying the flame chart I am more than satisfied, and successfully found out according to the flame chart is operating mongodb slow, but pixie does not seem to support mysql like support for Mongodb, resulting in the inability to see directly from the monitoring mongodb specific what requests are slower.

@etep I found that there are still problems with the flame graph when testing with our actual project. I want to know if there is a limit to its hierarchy? We are a Java project, and the request goes through Tomcat -> Spring MVC before it reaches our actual project code, but the flame graph has already terminated.

Hi @asasas234,
Could you take a look at the script px/stirling_errors? There will be a row populated for each process that does not have frame pointers enabled. My best guess (based on the description that the flame graph is terminated) is that the frame pointers are not enabled somewhere.
Here is a screen shot of what I saw when I setup a cluster to show this type of error:

I don't see the error in your screenshot, but as the following picture shows, the highest level of the flame graph is SpringMVC's DispatcherServlet, which is the entry class of the framework, and still far away from the actual code of our project.

@etep  Below are the parameters I added to the original Java startup parameters in order to display the flame graph.
-XX:+PreserveFramePointer -DPL_PROFILER_JAVA_SYMBOLS=true

@etep https://work.withpixie.ai/live/clusters/247421154832530382-c6d4468c2d4da4dfa93686b32c7866633/namespaces/ratel/pods/international-platform-business.prod.ali.ratel-pod-deploy-gwg27?start_time=-5m  This is the flame graph URL for me to view this process.


Can't render the router

Hi  guys,
I'm trying to use the react router but I'm getting this error:
Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
in this line of code:
ReactDOM.render((
  <Router>
    <Route path="/" component={App}>
      <Route path="about" component={Index}/>
    </Route>
  </Router>
), document.body)

Any idea of what can be happening?
Thanks!

For questions and support, please visit our channel on Reactiflux or Stack Overflow. The issue tracker is exclusively for bug reports and feature requests.

Ok, thanks


Include Handlers for @skip and @include Directives

The executor needs to be aware of these two predefined directives.

Available since alumbra/alumbra.claro@5e7864b8078900fb8042b9c88f36d55dd41b9b60.


docs: add conventional commits requirement

Add a conventional commit requirement to help us with changelog generation and better maintainability.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.32%. Comparing base (ae2bd10) to head (0fd65ae).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1172      +/-   ##
==========================================
+ Coverage   65.83%   66.32%   +0.49%
==========================================
  Files         165      165
  Lines       13890    10764    -3126
==========================================
- Hits         9144     7139    -2005
+ Misses       4245     3121    -1124
- Partials      501      504       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Is there some linter that we can use to enforce this?

Yes, there are several ways to do it. I will make it in a followup PR.


Initial checkin - WIP, refactoring to come in next update

Description of PR:  RabbitMQ messaging and amqp .NET port.


fix status update and cm predicate

This PR:

Introduces a new predicate for the configmap, only triggering reconciles when the data changes.
Only updates the status if the collector deployment was actually updated.

https://issues.redhat.com/browse/ACM-15458

/retest

/retest

/retest

/retest

/retest


Rounding problem

%g does not round the values 5307575.0f or 1104515.0f correctly.
Result 5.30757e+6 but should be 5.30758e+6

I have commited new changes to develop branch that seem to work properly.
When calculating decimal and integer parts of double numbers, 0.5 difference (remaining, for check for rounding) was passing statement as < 0.5f and I have fixed this by checking the difference against 0.5f with small epsilon.
Let's see if it works, it passed my tests for the moment.

I still get rounding errors for values like 1022265.0
As a workaround I added a small offset at line 676
in_num += 0.000000000000005;
Additional a zero value ends up in a loop.
To correct this the loop at line 672 could be changed to (Checking in_num to be > 0)
for (exp_cnt = 0; in_num < 1 && in_num > 0; in_num *= 10, --exp_cnt) {}
There is small typo in lwprintf.h
Line 107 should be changed to
#define     lwprintf_sprintf_ex(lw, s, format, ...)     lwprintf_snprintf_ex((lw), (s), SIZE_MAX, (format), ## VA_ARGS)

I still get rounding errors for values like 1022265.0
As a workaround I added a small offset at line 676
in_num += 0.000000000000005;
Additional a zero value ends up in a loop.
To correct this the loop at line 672 could be changed to (Checking in_num to be > 0)
for (exp_cnt = 0; in_num < 1 && in_num > 0; in_num *= 10, --exp_cnt) {}

This has been fixed for the moment and it seems to work. Please check or post list of numbers where you see wrong data.

There is small typo in lwprintf.h
Line 107 should be changed to
#define lwprintf_sprintf_ex(lw, s, format, ...) lwprintf_snprintf_ex((lw), (s), SIZE_MAX, (format), ## VA_ARGS)
Not sure I catch this point?

Hi, this approach will not work.
Values like 0.44999999 with format %.1g will fail.

If we add num += 0.000000000000005; in the prv_calculate_dbl_num_data just before calculating integer and decimal parts, does it work properly for you then?

Hi, that will do it for me. There are still some values that can fail but the error is much smaller.
The problem seems to be on line 670 and following when dividing or multiplying the value by 10. That may introduce small errors which may have big effects.
Therefore, I was thinking of passing the exponent and orig_num to prv_calculate_dbl_num_data and then calculating the difference.

By the way this one of the best solution I found. Also the documentation is great.
Many thanks