Chore/Unit Test for Legal Texts

This PR contains two unit tests to ensure that the legal texts for PL, RO, and BG are equal to EN.
There is a dependency to https://github.com/corona-warn-app/cwa-app-ios/pull/1398. Please merge #1398 before #1407
No Jira item. No screenshots.

SonarCloud check failed because of low coverage of AppInformationLegalTextsTest. But this is a unit test!

Caution – please merge #1398 first because of dependencies.

PR cancelled due to dependencies. New PR will be created.


Develop an incremental Parser test framework

We need a way to test the incremental parser. This work requires some test utility methods to check whether parser builds the new syntax tree by reusing the all possible nodes from the old syntax tree.

This issue has been marked as "Deferred" and will be revisited in the future when resources are available.


Regression cost for Label Assignment in RTMDet

Branch
3.x branch https://mmdetection.readthedocs.io/en/3.x/
📚 The doc issue
In RTMDet paper, it is stated that "When using Generalized IoU [67] as regression cost, the maximum difference between the best match and the worst match is less than 1". However I think is not true. The best match has GIoU = 1, and the worst match has GIoU apprx -1. So the difference here should be 2?
Suggest a potential alternative/fix
No response

Yes, you are right.

Thank you very much for pointing out the mistake in our technical report, we will correct it in subsequent version!


No matching payload found for entity:

Describe the bug
Error log stating No Matching payload found.
2020-06-27 12:47:14 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: Driveway Motion with state topic: aimotion/driveway. Payload: , with value template Template("{{value_json.baseName}}")
Installation details

OS: [e.g. Mac, Windows 10] Ubuntu 20.04
Docker setup [e.g. sample docker-compose.yaml, Portainer, UnRAID, etc] Docker

Additional context
Add any other context about the problem here.
In the version 5 I am getting that error.

Please provide additional information:

Where is this error from? HomeAssistant?
If it is from HomeAssistant please include your complete MQTT binary sensor configuration yaml
Include your complete triggers.json file

Did you have this working with prior versions of the tool?

Nm it was bug in the configuration. thnx


CRAFT_NITRO/App::isNitro() doesn't work

Looks like it was added here, but then later removed:
https://github.com/craftcms/nitro/search?q=CRAFT_NITRO&type=commits
App::isNitro() will always return false, as CRAFT_NITRO isn't set (nginx or cli).

@timkelty I don't think we are going to add this feature back in and the upstream code is a little out-of-date.

Thoughts @brandonkelly?

@timkelty spoke with Brandon, going to transfer this from nitro to cms as we should remove this feature from core.


Survey Stepper

Description

Added a stepper that allows the user to switch between various parts of the survey. also restyled the indicators page, and changed the flow of the summary page a bit. (There is no longer a separate fragment for answering skipped indicators)
Changes

Added a stepper to the bottom of the survey
Changed the flow of the indicators so the review page is only shown if indicators are skipped
Restyled indicators page.
Restyled all survey pages
Added progress description to top right corner
Made the survey resume in the section (but not the question) that they were last on.

Issues

Fixes

Fixes #348

Introduces

Background questions on resurvey should only show questions that can be edited

Screenshots

Tests

This code has been tested in the following ways:

Tasks:

[X] Logged in to the application
[X] Fill out a snapshot for a new family
[X] Fill out a snapshot for an existing family
[ ] Fill out priorities for a snapshot
[ ] View a family and it's priorities

API Level:

[X] API Level 19
[ ] API Level 22
[X] API Level 25

Screen Size:

[X] 7" screen size
[X] 8" screen size
[ ] 10" screen size

@krconv all changes implemented, thanks 👍


outdated dependencies

(AUTH-4127)
Samples using outdated version of auth0-js and @uirouter/angularjs.

fixed


Updates to base

I think that we should pull gurobi and the angular cli out of the image.
Gurobi can be it's own overlay patch for the few people that are using it.
Angular should be a user installed tool.  No need to install it in the base image.

I think that we should pull gurobi and the angular cli out of the image.
Gurobi can be it's own overlay patch for the few people that are using it.
Angular should be a user installed tool. No need to install it in the base image.

I agree.
What if I move those into the example of user patching?


[docs] show how to use Weave from Franklin

basically similar to using Literate.

explain differences in the  docs (weave is monopage, can output PDF, ...)

(could add that as example in the  extended sandbox)

Is there any advantage to doing this (using weave) as opposed to just using live code evaluation with Franklin.

Now that I think of it, I definitely like the idea of keeping my reports as weavable jmds. But it would be nice to no how to do this within Franklin to have the nav bar etc.

Is there any advantage to doing this (using weave) as opposed to just using live code evaluation with Franklin.

Currently there are two that I can think of:

you get a simple unified experience, you don't have to mess with HTML files etc, all reports will look good from the start
you can output a PDF

(1) is not really an issue with Franklin; you can use one of the template, those will get better as time goes (hopefully), and we could have one that's copied from Weave for single page stuff.
(2) is something that will eventually be addressed in Franklin, there's already a working prototype but it's very much not ready for a release.

Now that I think of it, I definitely like the idea of keeping my reports as weavable jmds. But it would be nice to no how to do this within Franklin to have the nav bar etc.

This you can already do. Basically Franklin can always do the following:
Here some markdown

{{my_insert some parameters}}

here some more markdown

the my_insert corresponds to a function you'd code yourself (hfun_my_insert, see this part of the docs if you're not sure what I'm talking about) and would insert arbitrary HTML. That HTML can, for instance, be generated by Weave.
So a viable path is to write such a function that gets a path to a .jmd file, calls Weave to transform it to HTML, possibly trims that HTML down (e.g. you'd want to remove the head and foot), and then plugs it in (this is what I'd like to have a demo for).

This came up on Slack, @TheCedarPrince came up with the following solution:
function hfun_weave2html(document)
	f_name = tempname(pwd()) * ".html"
	weave(first(document), out_path = f_name)
	text = read(f_name, String)
	final = "<!DOCTYPE html>\n" * split(text, "")[2]
	rm(f_name)
	return final
end

Thanks @tlienart - this solution right now has some issues as it stands:

Syntax highlighting is missing right now. I do not know how to bring back the highlighting at this moment.
As mentioned on slack, the footer is still here, but I think could easily be removed. I'll tinker and post back later. 😄

Glad this can serve as a first pass of a possible solution with Weave + Franklin compatibility!

I don't know how weave encodes code blocks, you should check the produced html. If the code tags have no class then that's the issue, it needs to be given the class "language-julia" and then highlighting should work

Tried taking another pass at this - maybe you have some thoughts @tlienart ?
Here is the code block I am trying to get properly highlighted:
using CSV
using DataFrames
using Latexify
using PrettyTables
using PyPlot
using Statistics
using TimeSeries
using Weave

Here is how weave renders blocks of code:

using CSV
using DataFrames
using Latexify
using PrettyTables
using PyPlot
using Statistics
using TimeSeries
using Weave

Here is my attempt at trying to fix the HTML classes:

  using CSV
  using DataFrames
  using Latexify
  using PrettyTables
  using PyPlot
  using Statistics
  using TimeSeries
  using Weave

Sadly, no syntax highlighting yet. Any thoughts as to what I need to change to make highlighting work?

Ah figured it out! With a bit more tinkering, here is the new and improved function that:

Takes in a raw julia markdown file
Converts it via weave to HTML
Strips the weave formatting out from the HTML file head section
Strips the weave syntax for code blocks out
Replaces the weave code block syntax with Franklin code block syntax
Returns the final Franklin compatible HTML file into the call location
Makes a nice Franklin formatted page like you would expect!

Here is the new function; note that this is most likely brittle, could break easily, and is perhaps not the most robust/fast solution - but now I leave that to folks here to investigate and optimize as it works as is:
function hfun_weave2html(document)
    f_name = tempname(pwd()) * ".html"
    weave(first(document), out_path = f_name)
    text = read(f_name, String)
    final =
        "<!DOCTYPE html>\n" * split(text, "")[2] |> # Splits the weave document on the head block
        x ->
            replace(x, r"" => "") |> # Removes weave code block syntax
            x ->
                replace(x, "" => "") |> # Removes weave code block syntax
                x ->
                    replace(
                        x,
                        "
\n" => "
", # Replaces weave code block syntax with Franklin's
                    ) |> x -> replace(x, "
" => "
") # Replaces weave code block syntax with Franklin's
    rm(f_name)
    return final
end

Here is how one could use it in creating a new Franklin page:
+++
title = "Weave Example"
hascode = true
date = Date(2021, 7, 15)
rss = "Weaving a tapestry of fun with Franklin and Weave.jl"
+++
@def tags = ["literate", "julia"]

{{weave2html path/to/my/file.jl}}

Then here is how it could look like rendered:

Current limitations to this solution:

Didn't test other programming languages
Not extremely resilient or robust at this point
Creates a temporary file in the conversion process (more a limitation of Weave as I could not find a way to write to a buffer)
Didn't look into automatically updating the sidebar

If anyone wants to come after and improve on this, be my guest! But perhaps this addresses the issue folks were asking about? I am CC'ing @tlienart @EvoArt and @jvaverka to see if this looks good as a starting point.

Great to see this working end-to-end. Awesome work @TheCedarPrince !
This works for me given that the weave2html function is the only one on the page. When including this function to insert page tags the weaved doc does not render.
However, just as you said - not robust at the moment. Still great to be able to reuse my Julia Markdown Docs!

Thanks @TheCedarPrince. I cant seem to get it working though. Works fine when I use serve. But not when I push to github. Only works with serve if i include using Weave in utils.jl, but this makes the github deployment fail. Not sure what I'm doing wrong.
Did you test this with a github deployment?

@EvoArt is Weave in your site Project.toml?

Yes, but on the remote repository, it's only in the master branch project toml.

It's just a toy site that I'm using to figure out Franklin. I think I'm going to clear everything out and start again. When I originally added using Weave I hadn't added it to my site toml. Think I may have messed something up by doing that, since now the deployment fails  no matter what I do.

if it still fails after trying this, ping me from the relevant repo and I'll take a look

Thank you @tlienart !
please see here

I finally had a crack at this Weave thing,
here's a demo note that the top bit is Franklin Markdown up until the horizontal line then it's all weave generated, similar effect to what would happen if you used Literate (btw I still encourage people to just use Literate if they don't use Weave specific stuff like PDF output)
here's the function I used
Some notes:

I use PyPlot for the plots backend instead of GR; for some reason I had a QT issue with GR when using the GR backend and deploying on GitHub, maybe this can be worked around though it's not really an issue..
Weave comes with its own CSS that expects a single page layout, I copied some of it to get the same highlighting etc but if you want further correspondence with Weave CSS you have to do some more work, basically your options are:

keep the whole weave page as a standalone HTML page that you link to, you place this HTML page yourself in the hfun_* in __site/some/appropriate/path.html
do something like I did, and do more work in _css/weave.css to adjust smaller details, that's the path you should take if you want to use a Franklin layout around the weave content
create a custom Weave template as per their docs : https://github.com/JunoLab/Weave.jl/blob/master/templates/md2html.tpl

Hey @tlienart - I just tried out your solution for Weave.jl-based Franklin websites and I have to say, "IT WORKS!" This is fantastic! Thank you so much for helping us all with getting it working. I haven't yet deployed the Franklin website to a service such as GitHub Pages, but with your directions, it seems very straightforward! Here is how it looks on my end:

Thanks all. This works for me! I've tried tinkering with the css with some success. The only thing I cant figure out is how to wrap code inside of code blocks. I've tried replacing overflow-x: auto; from line 6 of weave.css  with overflow-wrap: break-word; (and other variants) but just end up with text continuing outside of the code block. Is it possible that css/style decisions in other files are overriding weave.css?

could you deploy this on a draft page so that we can inspect the CSS? + show a screenshot here?
One way to force things to be exactly as you intend them in CSS is to add !important after the property. It's not very nice but it usually does a good job.


add DigitalOcean provider

Adds support for domains managed by DigitalOcean.
I'm not a particularly experienced Go author but I used the CloudFlare provider as a template so I'm hoping I didn't violate any conventions. I've tested that creating, updating and skipping of domains works for subdomains and root domains (using "@" as a subdomain).

Thanks, later I'll update the web panel to support this new provider.

It seems the lint job shows 2 errors, would u pls help to fix them?

update the web panel to support this new provider
Oh, I didn't see any references to specific providers in the web/ directory so I assumed it would work out of the box. Anything I can do to help?

Linting errors are ✔

For the web panel, I think the only thing that should be updated is at: https://github.com/TimothyYe/godns/blob/master/internal/utils/constants.go#L98-L101
I see you've already added this new provider setting, it looks good!

Merged, thanks for your contribution!


Urobiom package terms

The Urobiome package will include the following terms that are reused from other packages, we need to check the definitions are all appropriate for their usage here (tick box when checked):

[ ] MIXS:0000255 - host_age
[ ] MIXS:0000811 - host_sex
[ ] MIXS:0000895 - ethnicity
[ ] MIXS:0000317 - host_body_mass_index
[ ] MIXS:0001106 - ph_meth
[ ] MIXS:0000010 - geo_loc_name
[ ] MIXS:0000009 - lat_lon
[ ] MIXS:0000869 - host_diet
[ ] MIXS:0000011 - collection_date
[ ] MIXS:0000116 - samp_store_dur
[ ] MIXS:0000110 - samp_store_temp
[ ] MIXS:0000111 - samp_vol_we_dna_ext

Below is the list of new terms being suggested, each have their own GitHub tickets:

[ ] - host_gender_identity #262
[ ] - race #263
[ ] - menstrual_status #264
[ ] - suppl_hormone #265
[ ] - lmp #266
[ ] - contraception #267
[ ] - recent_abx #268
[ ] - recent_surgery #269
[ ] - gu_surgery #270
[ ] - gu_implant #271
[ ] - diabetes #272
[ ] - comorbidities #273
[ ] - immunosuppressant_med #274
[ ] - gu_abnormal #275
[ ] - gu_recurrent_infection #276
[ ] - gu_instrumentation #277
[ ] - birth_details #278
[ ] - urine_ph #279
[ ] - urine_spec_grav #280
[ ] - urine_leuk #281
[ ] - urine_blood #282
[ ] - urine_collect_method #283
[ ] - month_collected #284
[ ] - sexual_activity #285
[ ] - last_intercourse #286
[ ] - samp_freeze_interval #287
[ ] - samp_preservative #288
[ ] - dna_extraction #289
[ ] - samp_dna_conc #290
[ ] - seq_method #291
[ ] - samp_protocol #292

These existing terms have been reviewed and are ok to reuse as-is from other packages:

[X]  MIXS:0000895 - ethnicity
[X]  MIXS:0000317 - host_body_mass_index
[X]  MIXS:0000010 - geo_loc_name
[X]  MIXS:0000009 - lat_lon
[X]  MIXS:0000869 - host_diet
[X]  MIXS:0000011 - collection_date
[X]  MIXS:0000116 - samp_store_dur
[X]  MIXS:0000110 - samp_store_temp
[X]  MIXS:0000111 - samp_vol_we_dna_ext

For these, it would be good to have an example that is relevant for the urobiome research community:

[ ]  MIXS:0001106 - ph_meth - relevant examples: pH meter; urinalysis dipstick
[ ]  MIXS:0000255 - host_age - relevant examples: 58 years; 30 months

Below is the list of new terms being suggested, each have their own GitHub tickets:
Checked indicates the term has been discussed and details added to individual tickets

[X]  - host_gender_identity https://github.com/GenomicsStandardsConsortium/mixs/issues/262
[X]  - race https://github.com/GenomicsStandardsConsortium/mixs/issues/263
[X]  - menstrual_status https://github.com/GenomicsStandardsConsortium/mixs/issues/264
[X]  - suppl_hormone https://github.com/GenomicsStandardsConsortium/mixs/issues/265
[X]  - lmp https://github.com/GenomicsStandardsConsortium/mixs/issues/266
[X]  - contraception https://github.com/GenomicsStandardsConsortium/mixs/issues/267
[X]  - recent_abx https://github.com/GenomicsStandardsConsortium/mixs/issues/268
[ ]  - recent_surgery https://github.com/GenomicsStandardsConsortium/mixs/issues/269
[ ]  - gu_surgery https://github.com/GenomicsStandardsConsortium/mixs/issues/270
[ ]  - gu_implant https://github.com/GenomicsStandardsConsortium/mixs/issues/271
[ ]  - diabetes https://github.com/GenomicsStandardsConsortium/mixs/issues/272
[ ]  - comorbidities https://github.com/GenomicsStandardsConsortium/mixs/issues/273
[ ]  - immunosuppressant_med https://github.com/GenomicsStandardsConsortium/mixs/issues/274
[ ]  - gu_abnormal https://github.com/GenomicsStandardsConsortium/mixs/issues/275
[ ]  - gu_recurrent_infection https://github.com/GenomicsStandardsConsortium/mixs/issues/276
[ ]  - gu_instrumentation https://github.com/GenomicsStandardsConsortium/mixs/issues/277
[ ]  - birth_details https://github.com/GenomicsStandardsConsortium/mixs/issues/278
[ ]  - urine_ph https://github.com/GenomicsStandardsConsortium/mixs/issues/279
[ ]  - urine_spec_grav https://github.com/GenomicsStandardsConsortium/mixs/issues/280
[ ]  - urine_leuk https://github.com/GenomicsStandardsConsortium/mixs/issues/281
[ ]  - urine_blood https://github.com/GenomicsStandardsConsortium/mixs/issues/282
[ ]  - urine_collect_method https://github.com/GenomicsStandardsConsortium/mixs/issues/283
[ ]  - month_collected https://github.com/GenomicsStandardsConsortium/mixs/issues/284
[ ]  - sexual_activity https://github.com/GenomicsStandardsConsortium/mixs/issues/285
[ ]  - last_intercourse https://github.com/GenomicsStandardsConsortium/mixs/issues/286
[ ]  - samp_freeze_interval https://github.com/GenomicsStandardsConsortium/mixs/issues/287
[ ]  - samp_preservative https://github.com/GenomicsStandardsConsortium/mixs/issues/288
[ ]  - dna_extraction https://github.com/GenomicsStandardsConsortium/mixs/issues/289
[ ]  - samp_dna_conc https://github.com/GenomicsStandardsConsortium/mixs/issues/290
[ ]  - seq_method https://github.com/GenomicsStandardsConsortium/mixs/issues/291
[ ]  - samp_protocol https://github.com/GenomicsStandardsConsortium/mixs/issues/292

Hi @lakarstens ! I'm working on a summary of MIxS progress since the last meeting. Do you have an update on the urobiom package?
I know we need to release it when v7 comes out, any updates on your end? Term finalization or a publication?


requirements.txt

Hey could you supply the requirements.txt file for the package versions you used in this project
thanks very much.

Hey I could work on this task. If you could please assign it to me.

hello,can you share the dataset of this task?


Harkness (assessment page) - comments disappear when you navigate out of the page. Needs to be saved to the harkness object

This is intentional because the teacher is able to add multiple comments for one student


Bug Test

Verify Bug

@Roseline-Bassey nice work, your test is running properly, you might want to check why the deploy fails.

@Roseline-Bassey nice work, your test is running properly, you might want to check why the deploy fails.

Thank you. Regarding the deployment job, I have been researching and learning about the cause of the failure. I know it's related to unauthorization but I'm yet to figure out where I missed it.  In a bit to figure this out, I opened a discussion in the GitHub community.  to address this. I'd appreciate any hints or suggestions on this.

Hi, @Zolix-ai, I have fixed the deployment issue.  The deploy job can now upload the built libraries to GitHub package registry.


How to compute and cache a screenshot using rest api in superset

I want to get the chart by hitting the API. I read the documentation and found that I can do this by /chart/{pk}/cache_screenshot/
But I am unable to know what is the value of pk over here. It is an integer value and provides a path but I am unable to get the value. Can someone guide me on how can I get the value?

Hi, @pritypriya25 , the PK is chart id(aka slice id), you can get this id(PK) from the chart list.

clicking Charts then hover on the chart that you want to compute.
recording the number between "%3A" and "%7d".
filling the number to the API .

thank you @zhaoyongjie . Now I know what is the slice id. But still I can't get my output for from hitting the api chart/{pk}/cache_screenshot.

@pritypriya25 ,I want know , how to use access_token? can Screenshot?

Hi, have you get a solution? i face same issue...

Solving this requires multiple steps. First, you have to adjust several values in your superset_config.py:
Enable

Solving this requires multiple steps. First, you have to adjust several values in your superset_config.py:
Enable the following feature flags if you want to see thumbnails for your dashboards:
FEATURE_FLAGS = {
    "THUMBNAILS": True,
    "THUMBNAILS_SQLA_LISTENERS": True,
}

provide valid cache configs for CACHE_CONFIG, DATA_CACHE_CONFIG and THUMBNAIL_CACHE_CONFIG, for testing purpose a local FileSystemCache is sufficient:
CACHE_CONFIG = {
    'CACHE_TYPE': 'FileSystemCache',
    'CACHE_DEFAULT_TIMEOUT': 60 * 60 * 24,
    'CACHE_THRESHOLD': CACHE_THRESHOLD,  # integer, limit of items in the cache
    'CACHE_DIR': BASE_CACHE_DIR,  # the directory where the cache should be stored
}

additionally, configure the RESULTS_BACKEND (once again, for testing FileSystemCache is sufficient):
from cachelib.file import FileSystemCache
import os

RESULTS_BACKEND = FileSystemCache(
                    cache_dir=os.path.join(BASE_CACHE_DIR, 'results/'),
                    threshold=CACHE_THRESHOLD,
                    default_timeout=CACHE_DEFAULT_TIMEOUT
                    )

Next, you need to provide a celery config (the one below is copied from the official superset documentation without any modifications):
class CeleryConfig(object):
    BROKER_URL = 'redis://localhost:6379/0'
    CELERY_IMPORTS = (
        'superset.sql_lab',
        'superset.tasks',
        'superset.tasks.thumbnails'
    )
    CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
    CELERYD_LOG_LEVEL = 'DEBUG'
    CELERYD_PREFETCH_MULTIPLIER = 10
    CELERY_ACKS_LATE = True
    CELERY_ANNOTATIONS = {
        'sql_lab.get_sql_results': {
            'rate_limit': '100/s',
        },
        'email_reports.send': {
            'rate_limit': '1/s',
            'time_limit': 120,
            'soft_time_limit': 150,
            'ignore_result': True,
        },
    }
CELERY_CONFIG = CeleryConfig

last steps in the superset_config.py:
WEBDRIVER_TYPE = "firefox"
WEBDRIVER_BASEURL = "http://localhost:8088"  # or whatever URL your superset instance is running on, the webdriver will use this URL to connect to superset in order to take a screenshot
THUMBNAIL_SELENIUM_USER = "admin"  # any user with permissions to view all charts is sufficient

now, in your superset environment, make sure you have a redis server running and listening on port 6379 (otherwise, adjust the redis port in the settings above).  Also, you will need firefox and geckodriver.
Make sure that your redis server can write data to the disk by connecting to it via redis-cli and running the following two commands:
CONFIG SET dir /app/superset_home/redis  # where the database will be stored, the directory must exist
CONFIG SET dbfilename redis.rdb  # or any other filename

Start celery using celery --app=superset.tasks.celery_app:app worker --pool=prefork -O fair -c 4
Now, you should be able to take screenshots and see thumbnails of your dashboards
Note: I am not sure whether all settings are actually needed, this is just the setup that worked for me.

@Hvitgar .. Thanks for providing the solution. Actually I am cloning the git repo and running the superset. Could you please provide the file path even because I can't find the file in the repository ?

the file is not in the repository, but you can simply create it yourself and put it in your PYTHONPATH environment variable as described here

Thank you @Hvitgar for your solution, i have implement it, but when i access screenshot url return 404 not found. Below is log from superset worker:
superset_worker          | [2021-09-06 09:08:54,659: WARNING/ForkPoolWorker-1] Failed at generating thumbnail Message: Reached error page: about:neterror?e=dnsNotFound&u=http%3A//l<IP_ADDRESS>%3A8088/login/&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20l<IP_ADDRESS>. superset_worker          | Traceback (most recent call last): superset_worker          |   File "/app/superset/utils/screenshots.py", line 152, in compute_and_cache superset_worker          |     payload = self.get_screenshot(user=user, window_size=window_size) superset_worker          |   File "/app/superset/utils/screenshots.py", line 74, in get_screenshot superset_worker          |     self.screenshot = driver.get_screenshot(self.url, self.element, user) superset_worker          |   File "/app/superset/utils/webdriver.py", line 112, in get_screenshot superset_worker          |     driver = self.auth(user) superset_worker          |   File "/app/superset/utils/webdriver.py", line 87, in auth superset_worker          |     driver, user superset_worker          |   File "/app/superset/utils/machine_auth.py", line 53, in authenticate_webdriver superset_worker          |     driver.get(headless_url("/login/")) superset_worker          |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get superset_worker          |     self.execute(Command.GET, {'url': url}) superset_worker          |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute superset_worker          |     self.error_handler.check_response(response) superset_worker          |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response superset_worker          |     raise exception_class(message, screen, stacktrace) superset_worker          | selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=dnsNotFound&u=http%3A//l<IP_ADDRESS>%3A8088/login/&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20l<IP_ADDRESS>.
I also try to test webdriver from superset container and i got it :
`>>> webdriver Firefox ()
Traceback (most recent call last):
File "", line 1, in module>
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
keep_alive=True)
self.start_session (capabilities, browser profile)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW SESSION, parameters)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error handler.check_response (response) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception class (message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111)`

hey @isandyawan, I assume that your error is related to this line in the superset_config.py:
WEBDRIVER_BASEURL = "http://localhost:8088"  # or whatever URL your superset instance is running on, the webdriver will use this URL to connect to superset in order to take a screenshot

For taking the screenshot, a browser session accesses the URL above, renders the chart and than produces a screenshot so you have to make sure that superset is accessible on the URL above (it might be a DNS name or IP if hosted publicly, or localhost if on your machine). Also, make sure that the port is correct. Superset offers a health check under /health which returns 'OK' if successful, so you can check your configuration with curl <URL>:<PORT>/health, in my example using curl localhost:8088/health returns 'OK'.
If you are still not able to solve it, please give me more information about the way you are running superset. Are you using docker? Local installation? Cloud?

hey @isandyawan, I assume that your error is related to this line in the superset_config.py:
WEBDRIVER_BASEURL = "http://localhost:8088"  # or whatever URL your superset instance is running on, the webdriver will use this URL to connect to superset in order to take a screenshot

For taking the screenshot, a browser session accesses the URL above, renders the chart and than produces a screenshot so you have to make sure that superset is accessible on the URL above (it might be a DNS name or IP if hosted publicly, or localhost if on your machine). Also, make sure that the port is correct. Superset offers a health check under /health which returns 'OK' if successful, so you can check your configuration with curl <URL>:<PORT>/health, in my example using curl localhost:8088/health returns 'OK'.
If you are still not able to solve it, please give me more information about the way you are running superset. Are you using docker? Local installation? Cloud?

Hi @Hvitgar , thanks for your answer, i was try to change WEBDRIVER_BASEURL with IP but it cannot work too. I also check using 'curl localhost:8088/health ' and it return 'OK'. I using docker to running superset

@Hvitgar @YangJianFei
I am adding the following lines in my superset_config.py file.
DATA_CACHE_CONFIG = {
'CACHE_TYPE': 'redis',

'CACHE_DEFAULT_TIMEOUT': 60 * 60 * 24, #1-day default (in secs)

'CACHE_KEY_PREFIX': 'superset_results',

'CACHE_REDIS_URL': 'redis://localhost:6379/0',

}
CELERYBEAT_SCHEDULE = {
'cache-warmup-hourly': {

    'task': 'cache-warmup',

    'schedule': crontab(minute=0, hour='*'),  # hourly

    'kwargs': {

        'strategy_name': 'top_n_dashboards',

        'top_n': 5,

        'since': '7 days ago',

    },

},

}
FEATURE_FLAGS = {
"THUMBNAILS": True,

"THUMBNAILS_SQLA_LISTENERS": True,

}
I am now getting the result from hitting the API but the status code is 202 and when I hit the URL given in response then I am not getting any result of the image. Please help me with what else I need to add to my default configured file for getting the image on hitting the image URL.

did you do the curl inside your container?If not, please try again from the container as the port inside the container might be different to the one you are using on the system running the container

@Hvitgar.. Thanks for the solution. It's working for me. Now I am getting the screenshot and image URL.

This issue is not working well anymore, at least on my configuration, I made it work using the conf file from #20756

I'm able to cache the screenshot but not able to get the image using the image_url that I got with cache response. How do I use image_url to get the image of chart?

Made superset_config.py file using this here

@vinodtrekea
I have the same issue

I have initiated the discussion on this here


[kmac/dv] Fix issues identified during TO gap analysis

This PR contains two simple commits to fix two issues identified during the TO gap analysis. For details, please refer to the commit messages.

This PR doesn't impact any FPGA tests. All relevant CI steps passed - merging.


Provide a way to "conda env update" an environment: or more general conda commands.

How would this feature be useful?
Another common way of provisioning conda environments is through an environment.yml file which can be used to update an environment with
conda env update --file environment.yml

Describe the solution you'd like
Not sure what is ideal here.  This particular use-case could be solved by adding a command:
    session.conda_env_update("environment.yml")

or similar.  This is easily implemented in session.py:
   ...
    def conda_env_update(self, envfile='environment.yml': str, **kwargs: Any) -> None:
        """Install invokes `conda env update`_ to update the session's
        environment.

        To install packages directly::

            session.conda_env_update('environment.yml')

        .. _conda env update:
        """
        venv = self._runner.venv

        prefix_args = ()  # type: Tuple[str, ...]
        if isinstance(venv, CondaEnv):
            prefix_args = ("--prefix", venv.location)
        elif not isinstance(venv, PassthroughEnv):  # pragma: no cover
            raise ValueError(
                "A session without a conda environment cannot update."
            )

        if "silent" not in kwargs:
            kwargs["silent"] = True

        self._run(
            "conda", "env", "update", *prefix_args, "--file", envfile, external="error", **kwargs
        )
   ...

however, it might be better to provide a more general fallback that allows users to customize commands for conda provisioning.
    session.conda("env update --file environment.yml")

possibly with variables for the --prefix argument.  The other commands like conda_install could then be aliases to this more generic command.  Note: there are some differences between conda install and conda env command (for example, --yes is not supported by the latter) which can cause confusion.
Related: one might also like to replace conda with mamba, so perhaps a kwarg could be provided.  I will play with this a bit and try to make a reasonable PR/

Possible duplicate of #260 ?

Yes - it looks very similar.  Sorry, not sure how I missed that...  I will review what was discussed there, then merge my comments and discussion with that issue and then close this.

@mforbes and @smarie I've just discovered nox, and it's really pretty awesome! Congratulations :100: :tada:
I'd love to be able to create a conda environment based on an environment.yml so it would be great to know if this issue will mature into a pull-request?

Closing in favor of #260


Allow '%', '&', '#' in file names in Python projects

These characters are actually valid in file names, and the restriction is being dropped removed from Solution Explorer which previously blocked this. After that block has been removed, there is a further block inside Python tools that prevents files, folders and projects to be renamed to contain these characters.
Note: Unlike other projects, Python had already allowed "&" despite the error message not being updated to reflect that.
See: https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/431541

@AdamYoblick Could you merge these changes? Can you also confirm that this will make 17.5?

@davkean I just merged them in. We insert every build from main into vs main, so this will flow in. I'll track it to make sure it gets all the way :)

PTVS CI build is running at https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6962523&view=results. I'll reply back once there's a VS insertion.

@AdamYoblick Thanks!

@davkean This change has been merged into vs main 😄

@AdamYoblick awesome!


Postgres 11.1 and single bbr job for whole db

Latest postgres release has updated to 11.1 from 9.x this issue is used for tracking upgrade issues we might encounter.

When using bbr-postgres-db we also no longer need the bosh-backup-and-restore-sdk packages which we are tracking het bucc-bbr-boshrelease. Have removed them in v8: https://github.com/starkandwayne/bucc-bbr-boshrelease

Required bbr changes already in develop: https://github.com/starkandwayne/bucc/commit/8278634a4ee45e032463128f1cfe3187a1b6c09d
Now we just have to wait for the postgres-release PR to be merged, and picked up by our ci.

fixed in https://github.com/starkandwayne/bucc/releases/tag/v0.7.0


Fix poster towork with latest mocked pair

The latest change to make function signature in the poster to map MockedUniswapTokenPair.sol

Codecov Report

Merging #125 into jflatow/uniswap-oracle will not change coverage.
The diff coverage is n/a.

@@                   Coverage Diff                   @@
##           jflatow/uniswap-oracle     #125   +/-   ##
=======================================================
  Coverage                   97.47%   97.47%
=======================================================
  Files                           6        6
  Lines                         555      555
  Branches                      148      148
=======================================================
  Hits                          541      541
  Misses                         14       14


Better and normalization

This is the unoptimized version, with rather bad time complexity.
Running simplifiers without simplifier axioms seems rather dangerous.

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock

Running simplifiers without simplifier axioms seems rather dangerous.

If the simplifier should be run with all the axioms, then we should not allow changing the BuiltinAndAxiomSimplifierMap dynamically, and this will require having a separate simplifier for the initial rule simplification (which is a good idea, anyway).

I fixed all the comments. I'll merge now and fix any further comments (if any) in a follow-up PR.


The user information must be displayed when enrolling with ockam then opening the desktop application

Observed behavior
The user information is not displayed in the application:

Steps to reproduce

ockam reset -y
ockam enroll --authorization-code-flow
start the desktop application

Expected behavior
The user information should be retrieved and displayed
Work around
Reset with the desktop application and enroll again.

The missing piece here is that user_info is not stored in the CliState. If we do that, we could solve this without any workaround. Although we should start doing the migration of the CliState to sqlite as soon as possible.
Should we proceed and add the user_info to the CliState anyways?

Although we should start doing the migration of the CliState to sqlite as soon as possible.

This will happen but we need to plan for it and design it a little bit


Add overloads accepting Swift Concurrency time types

Turns out this is pretty tricky, I'll look into it some more

We may be able to hide away the Dispatch dependency here by introducing a TracingTime type that would have only a "now" and unix timestamp initializer. If we get an UTCClock this is easier to add support for it, and deprecate the entire type, rather than pass around the Dispatch types explicitly.
Thanks @weissi for the idea.

This seems to be turning into "abstract over Clocks" as we're ending up in problematic spaces otherwise.


Tests: enable the non-Darwin behaviour on Windows

Windows, similar to Linux, requires that we use the explicit encoding of .utf8 rather than .fastest.  This fixes a roundtrip test failure on Windows.

@swift-ci please test

@swift-ci please test

@swift-ci please test


thomas-ayissi: Welcome to JS, 4 Weeks

WorkingBranch
My Working Branch
Learning Objectives

all of these skills are limited to short, single-page programs written with
Just Enough JavaScript

Priorities: 🥚, 🐣, 🐥, 🐔 (click to learn more)

There is a lot to learn in this repository. If you can't master all the material
at once, that's expected! Anything you don't master now will always be waiting
for you to review when you need it. These 4 emoji's will help you prioritize
your study time and to measure your progress:

🥚: Understanding this material is required, it covers the base skills you'll
need for this module and the next. You do not need to finish all of them but
should feel comfortable that you could do them with enough time.
🐣: You have started all of these exercises and feel you could complete them
all if you just had more time. It may not be easy for you but with effort you
can make it through.
🐥: You have studied the examples and started some exercises if you had time.
You should have a big-picture understanding of these concepts/skills, but may
not be confident completing the exercises.
🐔: These concepts or skills are not necessary but are related to this module.
If you are finished with 🥚, 🐣 and 🐥 you can use the 🐔 exercises to push
yourself without getting distracted from the module's main objectives.

1. What is Programming
What is a program? What is a programming language? How do programs and people
fit together?

[x] 🥚 Data in, Data Out: You understand that computer programs are used
to transform data, and can explain a JS program from this module in terms
of the data that goes in and the data that comes out.
🥚 Three Audiences: You can explain how a single file of code is used to
communicate with 3 different audiences:

[x] Developers: You can explain how code formatting, comments, logs and
variable names make it easier (or harder!) for a developer to understand
a program.
[x] Computers: You can explain how a computer follows your instructions
to store, read and modify data in program memory.
[x] Users: You can explain how the computer creates a dynamic user
experience by following different executions paths depending on user
input.

[x] 🥚 Tracing Variables: You can complete a trace table for a program
that uses only variables, and can check your work using the "trace"
button.
🥚 JavaScript Syntax: Given a program, you can identify these parts of
JavaScript syntax:

[x] Primitives
[x] Operators
[x] Identifiers
[x] Keywords
[x] Checks
[x] Blocks
[x] Function Calls

[x] 🥚 Pseudo Code: You can explain what pseudo code is, how it's used and
why it's helpful.
[x] 🥚 Program Goals: You understand that a full JavaScript program can be
explained as a series of smaller goals, and can write names for the goals
in a simple working program.
🐣 Program Analysis: You can study a simple working program and identify:

[x] The program's behavior (data in, data out)
[x] The program's goals
[x] The program's syntax and language features
[x] Which parts of the source code are for which audience (users, devs,
computers)

[x] 🐥 Same Behavior, Different Code: You can study simple programs with
the same behavior (data in, data out) but different source code and
explain how the differences matter for each audience.

2. Just Enough JavaScript
Go in depth on JavaScript you need to know for writing interactive text-based
programs in the browser. Along the way you will learn how each language feature
works in small programs.

🥚 Listening and Reading: You can read code out loud, and understand your
classmates when they read code to you. You don't need to understand how a
program works to master these learning objectives!

[x] Listening You can exactly re-write a program that a classmate has
read
[x] Reading You can read a program out loud and guide your classmates to
re-write exactly the same code without them seeing the program. Every
indentation, semi-colon, comment and spelling in their program must be
identical to yours.

🥚 Static vs. Dynamic Analysis: You can explain and use these two ways of
studying a program, each can help you understand different aspects of your
code. To help understand this concept, the options panel in Study Lenses is
organized into static and dynamic study options:

[x] Static: Studying the text in a code file without running it. Some
static study methods are creating a flowchart, analyzing variables,
filling out a trace table, and drawing on code.
[x] Dynamic: Running code and studying the computer's behavior. Some
dynamic study methods are running code and reading console logs, using
the trace button, and stepping through in the debugger or JS Tutor.

[x] 🥚 Tracing Execution: You can complete a "steps" trace table for all
JS language features in Just Enough JavaScript, and can correct your table
using console output from the "trace" button.
[x] 🥚 Analyzing Variables: You can list all the variables in a program,
and answer these 5 questions for each variable:

Where is the variable declared?
What is the variable's scope?
Is the variable initialized with a value?
How many times is its value used (read) in the program?
How many times is the variable assigned a new value?
What types are assigned to this variable during the program's execution?

[x] 🥚 Completing Programs: You can successfully fill in blanks for a
program when the missing words are provided, including distractors.
[x] 🐣 Translating Pseudo Code: Given a program written in Pseudo Code,
you can translate it to working JavaScript.
[x] 🐣 Comparing Programs: You can compare two programs with similar code
and explain if they have the same behavior or not. If they do not, you can
explain how they behave differently and why.
[x] 🐥 Constructing Programs: You can reconstruct a program's lines and
indentation, successfully ignoring distractor lines.
[x] 🐥 Linting: You can find and fix simple linting errors in JavaScript
programs.
[x] 🐔 Writing Programs: You can write small programs that log specific
values, or pass specific test cases.

3. Understanding Programs
Learn how to understand a larger programs by finding connections between the
details and the big picture. By the end of this chapter you will know how to
read a new program and do a simple code review.

[x] 🥚 Stepping Through: You can pause a script in a your browser's
debugger, arrange the debugger, collapse extra panels, and step through a
script written with Just Enough JS. At each point in execution you can
make a prediction of the next line before executing, and can check your
prediction using the scopes panel.
[x] 🥚 Imperative Programming: You can explain what the Imperative
Programming paradigm is, and can explain how you know the programs in
Welcome to JS are Imperative.
[x] 🥚 Logging: You can tracing specific aspects of a program's execution
and log them to the console.
[x] 🐣 Naming Variables: You can analyze how a variable is used in a
program and give it two names:

Generic: You can give a generic name to a variable based on how it is
used in the program.
Specific: You can give a specific name to a variable based on how it's
used and the program's domain (the program's specific data and use-case).

[x] 🐣 Describing Programs: You can read a program and describe it with
comments using to the methodology from /describing-programs:

Zoom Out
Zoom In
Find Connections
Describe Goals

[x] 🐥 Code Review: Given a working program you can review the code for
clarity, correctness and style.

4. Developing Programs
Learn to modify and write larger programs in JavaScript. You'll cover many of
the hidden skills necessary to develop quality software and to work
collaboratively on a code base.

[x] 🥚 Program Life Cycle: You can explain the two phases of a program's
life cycle.

Creation Phase
Execution Phase

[x] 🥚 Fixing Errors: You can use the structured comment to describe an
error in your program, and can make several educated guesses at how to fix
the error.
[x] 🐣 Fixing Bugs: You can use the structured comment to describe and fix
a bug in small programs.
[x] 🐣 Modifying Programs: You can make small changes in a program to
change its behavior without breaking it.
[x] 🐥 Refactoring: Given a working program, you can make changes to the
code without changing the program's behavior.
[x] 🐥 Writing Programs: Given a description of a program's behavior
(user story + test cases), you can plan goals for the program and write
code to pass the tests.
🐔 Reverse Engineering: Given a working program with unreadable code, you
can:

[x] Give the program a name.
[x] Describe the program's behavior with a user story, acceptance criteria
and test cases.
[x] Plan goals for the program.
[x] Develop your own working program with the exact same behvior.

🐔 Imagining Programs: Given an empty page, you can imagine and develop
your own programs using Just Enough JavaScript. This includes:

[x] A title.
[x] A description with a user story, acceptance criteria and test cases.
[x] Commented goals.
[x] Fully working Code.

Welcome to JS, 3 Weeks
Learning Objectives
-Learn JavaScript
Week 1
I need help with:
I don't think I need help at this time.
What went well?
Global study.
What didn't go so well?
Overall, everything went well.
Lessons learned
Learn never ends.
Sunday prep work
Me
What was unclear, where did you get stuck?
I don't think I was blocked yet
What was clear, what you mastered?
Using Git, writing code.
Where you may still need help?
I'm a bit lucky: I don't think I need help at the moment.
Where can you help others move forward?
In the areas I think I understand.

The course
What more can we do?
I have no suggestions. I think it's fine.
What can we do less of?
No major suggestions.
What material was most helpful (from HYF or elsewhere)?
The (many) links to given web pages.
What material from HYF was least useful?
Everything was useful.
Any suggestions for future courses?
Rarely, I have no suggestions.

hi @thomas-ayissi,
Did you solved the exercises in the repo?
It would be nice if you can push your solved exercises in your forked repo and add the link here.
(tracing variables, what is the programming, just enough js)

Hi @yildiztugba
I put my fork URL now

https://github.com/thomas-ayissi/hyf-welcome-to-js/tree/working_branch_sept_25_2022

Working Brach : https://github.com/thomas-ayissi/inside-js/tree/study-branch-sun-9-oct-2022


how to add video output

I know that there was a module name fabgl can realize the goal.
I found the other device was out via vga.

You should add the video/vga routine then you could change to render frame to video output rather than to lcd, you can use i2s 1 for rendering video while i2s 0 for sound output

You should add the video/vga routine then you could change to render frame to video output rather than to lcd, you can use i2s 1 for rendering video while i2s 0 for sound output

Is it colorful? I found it was black and white from other website.

You should add the video/vga routine then you could change to render frame to video output rather than to lcd, you can use i2s 1 for rendering video while i2s 0 for sound output

Is it colorful? I found it was black and white from other website.

The implementation is depend on you it could be colorful or b/w it should be possible


EventBus doesn't have a slf4j log adapter

The default guava EventBus mangles exceptions and prints to console, which makes exceptions thrown during events very hard to track down.
Since this project is set up to use slf4j, an adaptor should be provided to the constructor of EventBus to log the actual exceptions.

Resolved with switching back to log4j2 - https://github.com/mixer/interactive-java/commit/21ae1c32d6cb9372df7e395aaef16a64f8c9ab47


⚠ Samsung has degraded performance

In 69fb936, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3542 ms

Resolved: Samsung performance has improved in e26544f.


possible error in mean of dataframe with nan values?

I am not sure if I am doing something wrong, but this looks like a bug to me:
In [116]: ra.ix[:5,:5]
Out[116]:
005665<PHONE_NUMBER>58 040828            045449
2011-05-09 NaN               NaN    NaN    NaN               NaN
2011-05-10 -0.00284467268624 0.0    0.0    -0.002844627571   0.000353248710642
2011-05-11 -0.00674436854779 0.0    0.0    -0.00674432257973 0.0
2011-05-12 0.0117105570627   0.0    0.0    0.0117104073878   0.0
2011-05-13 0.00367090573068  0.0    0.0    -0.00102855609881 0.0
In [117]: ra.ix[:5,:5].mean(axis=0,skipna=True)
Out[117]:
005665    0.0014481
023740    0.0000000
028758    0.0000000
040828    0.0002732
045449    8.831e-05
In [118]: ra.ix[:5,:5].mean(axis=1,skipna=True)
Out[118]:
2011-05-09    NaN
2011-05-10    NaN
2011-05-11    NaN
2011-05-12    NaN
2011-05-13    NaN
In [122]: ra.ix[1:5,:5].mean(axis=1,skipna=True)
Out[122]:
2011-05-10   -0.0010672
2011-05-11   -0.0026977
2011-05-12    0.0046842
2011-05-13    0.0005285
In step 118, I would expect the same output I get at step 122. Maybe the check if values are all NaN on a given row are done on the wrong axis?

the problem is apparently in _nanmean, where it does
the_mean = the_sum / count
since element 0 of count ==0, this throws an exception.
I see that the case of count==0 is handled in subsequent lines. Is there some assumption here about numpy behaviour? I have version 1.6.1

ok, this happens when the dataframe that I use is of type object:
In [209]: np.array((1,2,3),dtype=object)/np.array((0,0,0))
ZeroDivisionError                         Traceback (most recent call last)
/Users/c.prinoth/ in ()
----> 1 np.array((1,2,3),dtype=object)/np.array((0,0,0))
ZeroDivisionError: integer division or modulo by zero
In [210]: np.array((1,2,3),dtype=float)/np.array((0,0,0))
Out[210]: array([ inf,  inf,  inf])
so not really a pandas problem

Seems like even as object, works now in latest git master:
In [6]: df = df.astype('O')

In [7]: df
Out[7]:
<PHONE_NUMBER>40 028758       040828        045449
2011-05-09          NaN    NaN    NaN          NaN           NaN
2011-05-10 -0.002844673      0      0 -0.002844628  0.0003532487
2011-05-11 -0.006744369      0      0 -0.006744323             0
2011-05-12   0.01171056      0      0   0.01171041             0
2011-05-13  0.003670906      0      0 -0.001028556             0

In [8]: df.ix[1:5,:5].mean(axis=1, skipna=True)
Out[8]:
2011-05-10   -0.001067
2011-05-11   -0.002698
2011-05-12    0.004684
2011-05-13    0.000528

In [9]: df.ix[0:5,:5].mean(axis=1, skipna=True)
Out[9]:
2011-05-09         NaN
2011-05-10   -0.001067
2011-05-11   -0.002698
2011-05-12    0.004684
2011-05-13    0.000528

I recall working on this sometime in the last month. @CRP can you verify that things work on git master?

just did and it appears to work fine
thanks


Empty map

Downloaded last version,installed python etc.
My map is empty
Windows 8 64b
Laptop

Have you tried what is described in #647 ?

You need to open the Pokemon GO app with the account you're using in the Electron Desktop Map. Once you access with that account you'll be presented with TOS that you need to accept. Once you accept the terms and conditions the map will start working fine.

@23ten How can I log in and accept the terms of service without using my phone. I am a tad paranoid to login on the phone that Ill be using my normal account with.

@drippybutt as far as I know, you can't.
Depending on your circumstances, you could use a second phone (family members? non-playing friends?...) or a tablet to download the game, access it with the second account and then accept the TOS. Personally, the other phones/tablets I had access to didn't allow the game's installation so I had to use my own phone to access the second account, not ideal but...fingers crossed nothing happens.

maybe tomorrow ill get bluestacks and try to see if I can run it on there. Other than that, ill go visit my dad and use his phone for a minute...

@23ten thanks..It worked.
One question..How i can scan multiple location?
Can i get pokemon list and gps coords from this app?

How do I get the Map to work on an Iphone? I just have the desktop map for my Macbook.

@zabuza88 , glad that it worked.
As far as I know, you'd need to have multiple instances of the app running to scan multiple locations. There are a few threads about that and its challenges, personally, I've never done that so I can't help much. Try a quick search and see what you can find.
About the list of pokemons and locations, I don't think that's possible at the moment. I think I also saw in the few days before the API changes people requesting that feature but, for now, I don't think it can be done automatically.

@movak93, you may want to check the answer from #652

There's no real need for specific-mobile versions, Android or iOS. Once you have it running on your Desktop you can toggle on the "mobile" option and use the generated URL to access the map from any browser in any device and you'll be seeing the map in that device. Wouldn't that do?

@zabuza88, since this worked you may want to close the thread before more questions crop up :)


Horizontal bands artifacts on OV9282 sensor, but not AR0234

We are working on a recent revision of our custom baseboard for the SoM Pro.
We have a strange observation. The OV9282 image streams have tiny little dense horizontal bands, like the image below

There are more low frequency bands over time, like the video below
https://user-images.githubusercontent.com/7508112/222138194-7cd1bf92-79d5-4230-9e68-88b57460a9fb.mp4
However, the AR0234 on the same board seems to work fine.
May I know what are the possible causes? That renders OV9282 not stable but AR0234 fine? Thanks!

My discovery so far: It is likely due to the 2V8 powerline not being perfectly clean.


Build system is not setup to continue to release 1.x.x versions

Micromamba v1.5.11 was just released. Our build system only tries to build the most recent version, so it will not attempt any version 1.x build.  Do we care?
I made a v1.5.11 branch, that I could manually kick off the build pipeline on, but this will overwrite several tags including latest, so it would take some pipeline modifications.

I think they've solved most of the regressions in v2 in main, so I am hoping that when v2.0.4 is released it will make v1 mostly obsolete. I think a lazy only-if-needed approach v1 releases is perfectly justifiable.


Alternative terms

Please provide alternative terms to Black Box. E.g., what do we do with black-box testing?

Hi @lidiya-tsymbalista,
Thanks for providing feedback. Microsoft has investigated the use of color descriptors, especially “black” and “white.” While certain terms have been reviewed and deemed problematic ("blacklist," for instance), others have no pejorative or racial connotations. While using color to convey meaning through metaphor has always been discouraged in Microsoft content, we now stress the importance of not perpetuating the stereotype of "black" as negative and "white" as positive when using color-based terminology. Currently, the term "black box" has been reviewed and found to be acceptable, given that its use of the adjective "black" does not have any racial associations, is not linked to a historical context of oppression, and does not have any pejorative connotations.


In Debug with Chrome，global.helloWorld is not a function

I create a new react-native procject
npx react-native init jsiDemo

and drag SimpleJsi.h SimpleJsi.mm example.h example.cpp  into ios project. and modify app.js
React.useEffect(() => {
    setResult(global.helloWorld());
  }, []);

everything feels good.

but  when I Debug with Chrome there is a error like this:

can you help me?

I create a new react-native procject
npx react-native init jsiDemo

and drag SimpleJsi.h SimpleJsi.mm example.h example.cpp  into ios project. and modify app.js
React.useEffect(() => {
    setResult(global.helloWorld());
  }, []);

everything feels good.

but  when I Debug with Chrome there is a error like this:

can you help me?

There is no support for chrome debugger in JSI.


PathResourceManager may be configured with an ETagFunction

PathResourceManagers already provided eight constructors, this
adds a builder to avoid more going forward.

Windows Build 1972 outcome was FAILURE using a merge of d94ad5cb49bbf2a5338c76ebfae2319951306916
Summary: Tests failed: 2 (1 new), passed: 2750, ignored: 556 Build time: 00:34:06
Failed tests
io.undertow.servlet.test.streams.ServletOutputStreamTestCase.testAsyncServletOutputStreamWithPreable{proxy}{http2}: java.lang.AssertionError: Must end with END
	at io.undertow.servlet.test.streams.ServletOutputStreamTestCase.runTest(ServletOutputStreamTestCase.java:220)
	at io.undertow.servlet.test.streams.ServletOutputStreamTestCase.testAsyncServletOutputStreamWithPreable(ServletOutputStreamTestCase.java:179)
------- Stderr: -------
21:06:48,864 DEBUG (XNIO-1 task-27) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:48,871 DEBUG (XNIO-1 task-27) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:48,877 DEBUG (XNIO-1 task-27) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:48,923 DEBUG (XNIO-1 task-29) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:48,928 DEBUG (XNIO-1 task-29) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:48,935 DEBUG (XNIO-1 task-29) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,136 DEBUG (XNIO-1 task-2) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:49,139 DEBUG (XNIO-1 task-2) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,141 DEBUG (XNIO-1 task-2) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,185 DEBUG (XNIO-1 task-3) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:49,187 DEBUG (XNIO-1 task-3) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,189 DEBUG (XNIO-1 task-3) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,298 DEBUG (XNIO-1 task-5) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:49,301 DEBUG (XNIO-1 task-5) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,304 DEBUG (XNIO-1 task-5) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,347 DEBUG (XNIO-1 task-7) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:49,349 DEBUG (XNIO-1 task-7) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,353 DEBUG (XNIO-1 task-7) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,830 DEBUG (XNIO-1 task-10) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:49,835 DEBUG (XNIO-1 task-10) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,837 DEBUG (XNIO-1 task-10) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,919 DEBUG (XNIO-1 task-12) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:49,922 DEBUG (XNIO-1 task-12) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:49,925 DEBUG (XNIO-1 task-12) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,144 DEBUG (XNIO-1 task-13) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:50,146 DEBUG (XNIO-1 task-13) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,149 DEBUG (XNIO-1 task-13) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,215 DEBUG (XNIO-1 task-15) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:50,219 DEBUG (XNIO-1 task-15) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,223 DEBUG (XNIO-1 task-15) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,752 DEBUG (XNIO-1 task-17) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:50,755 DEBUG (XNIO-1 task-17) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,757 DEBUG (XNIO-1 task-17) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,898 DEBUG (XNIO-1 task-20) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:50,902 DEBUG (XNIO-1 task-20) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:50,905 DEBUG (XNIO-1 task-20) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:51,282 DEBUG (XNIO-1 task-22) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:51,286 DEBUG (XNIO-1 task-22) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:51,288 DEBUG (XNIO-1 task-22) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:51,349 DEBUG (XNIO-1 task-24) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:51,351 DEBUG (XNIO-1 task-24) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:51,353 DEBUG (XNIO-1 task-24) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:52,010 DEBUG (XNIO-1 task-26) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:52,015 DEBUG (XNIO-1 task-26) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:52,020 DEBUG (XNIO-1 task-26) [io.undertow.request.security] <SecurityContextImpl.java:110> Authentication result was ATTEMPTED for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}
21:06:52,283 DEBUG (XNIO-1 task-28) [io.undertow.request.security] <SecurityContextImpl.java:86> Attempting to authenticate HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}, authentication required: false
21:06:52,287 DEBUG (XNIO-1 task-28) [io.undertow.request.security] <SecurityContextImpl.java:246> Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@1bfc13d for HttpServerExchange{ GET /servletContext/asyncOutput request {x-disable-push=[true], x-forwarded-server=[localhost], user-agent=[Apache-HttpClient/4.2.6 (java 1.5)], x-forwarded-proto=[http], x-forwarded-port=[7777], x-forwarded-for=[<IP_ADDRESS>], x-forwarded-host=[localhost], Host=[localhost:7777]} response {}}

io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes: java.lang.RuntimeException: test failed with i equal to 6
	at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:233)
	at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)
Caused by: java.net.SocketTimeoutException: Read timed out
	at io.undertow.server.handlers.ReceiverTestCase.runTest(ReceiverTestCase.java:246)
	at io.undertow.server.handlers.ReceiverTestCase.doTest(ReceiverTestCase.java:231)
	at io.undertow.server.handlers.ReceiverTestCase.testAsyncReceivePartialBytes(ReceiverTestCase.java:200)

Feel free to modify this yourself if you prefer, our timezone difference can make iteration a bit slow.


Features/datatables

Re-applied the changes from PR #13 and re-integrated the small fixes from PR #14.

#14 works locally but not once deployed. I'm assuming this is because the actual theme files are most likely referencing a common copy hosted elsewhere (https://pages.github.com/themes/). We could've just added a reference to remote_theme to address this.


Mode System

Summary or problem description
While i was doing research with neo, sometimes i have to switch among private network, public network, and testnetwork, it annoies since everytime i make a switch, i have to change not only the configuration file of the neo-core, but also plugins manually. It would be great if i could save my current system setting as a mode  and load it later.
Do you have any solution you want to propose?
Add  a mode system, when user saves a mode, copy all of the config files in the system into the mode folder with each mode under a user specified name.    maybe as a plugin module
Neo Version

Neo 3

Where in the software does this update applies to?

CLI
Plugins

@Liaojinghui is it actually completed?


Uncaught Error: tunneling socket could not be established, cause=connect ETIMEDOUT <IP_ADDRESS>...

[Enter steps to reproduce:]

...
...

Atom: 1.32.2 x64
Electron: 2.0.9
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: tunneling socket could not be established, cause=connect ETIMEDOUT <IP_ADDRESS>:3128
At internal/streams/legacy.js:59

Error: tunneling socket could not be established, cause=connect ETIMEDOUT <IP_ADDRESS>:3128
    at ClientRequest.onError (/app.asar/node_modules/tunnel-agent/index.js:177:17)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at Socket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands
     -9:07.9.0 core:save (input.hidden-input)
     -2:36.5.0 find-and-replace:show (input.hidden-input)
     -2:35.3.0 core:backspace (input.hidden-input)
     -2:34.4.0 core:confirm (input.hidden-input)
  2x -2:26 core:move-down (input.hidden-input)
  2x -2:25.1.0 core:move-up (input.hidden-input)
     -2:24.3.0 core:move-down (input.hidden-input)
     -0:59.7.0 core:backspace (input.hidden-input)
  2x -0:59.5.0 core:confirm (input.hidden-input)

Non-Core Packages
language-haml 0.31.1

Thanks for the report - based on the error, this is maybe a temporary issue with your internet connection or proxy? Please try again later and see if it works.


inject into running resources

Hi, brilliant software works a treat! even got it working automatically with talos!
(had to change failurePolicy to Ignore otherwise the cluster wouldnt start up at all)
but anyways... is it possible to inject the timezone into running pods or only when a pod is created?

hi @si458,
I don't think it's possible. First of all, Pods are immutable so k8tz cannot make changes to them after they are created. In addition to this, some applications uses the TZ environment variable. The environment variable is used at the start of the application and cannot be changed after process starts.
The best time to affect the time zone is during the creation of the Pod as is the case today.

Thanks @yonatankahana I did think that was the case but I wanted to double check first!
just annoying all the calico pods and metric pods, etc start when you apply-confog to bootstrap the cluster in talos but they all have the wrong timezone, but everything after the k8tz is started (like when a few calico pods restart) have the correct timezone

Yes, it's a chicken and egg problem with admission controllers. The best recommendation I can give is to upload as few pods as possible until k8tz is installed and then start installing other things.
And if possible - delete the pods created before k8tz and create them again (i.e rollout restart).


feat(#69): add filter routes support.

Hi, I've created support for filtering routes.
I also did a little refactoring on the 'getOverview' function.
Please let me know if there are changes you'd like to see or if you have any general feedback.

Thanks for the PR!

Thanks to you for the review :) . I will fix what you point pout as soon as possible.


okhttp retryOnConnectionFailure

if i set this value to true, will it affect the way fetch behaves internally?

@duncanokeyo. It should not affect Fetch's behavior.


Remove version: ChilliBits.Spice version 0.7.3

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/spicelang/spice/releases/download/0.7.3/spice_x64_setup.msi
Status Code: 200
(Automated message - build 857)


User stories/usecases/experiences (please add!)

A collection of user stories/usecases & experiences to be used to inform (breaking) api changes.
Please add your own!

please do, we can always move it to its own issue if we have questions. And thank you very much!

Something that seems very hard/impossible with rodio now:

A user adds two songs to a queue. Then they enable cross-fade while the first song is almost at the end. Crossfade the works and the two songs fade into each-other.
The music plays without any stuttering while crossfade is toggled on and off.

I'm simply adding a few use cases I had in the past -- without re-checking if they would currently be possible already.
Sample perfect scheduling
Think of a metronome app that needs to schedule its click sound dynamically (the user can control bpm e.g. via a slider), but with utmost temporal precision (you don't want any fluctuation in a metronome). This requires a to have sample/frame perfect scheduling, i.e., one would need to express start playing this sound at sample index i=xxx.
Sample perfect looping
Sometimes I had to loop sounds also without any gap in the audio output (note that waiting for the sound to finish, and re-schedule it again introduces a gap). This would require to set up a loop information that specifies same (loop_sample_index_from, loop_sample_index_upto) so that the playback can implicitly wrapped-around once the "upto" sample is reached. Ideally the playback interface would expose e.g. a loop_counter to allow users to query once a loop-wrap occurred. The most obvious use case for that are "infinite" background sounds that are constructed in a way that they loop around seamlessly, and simply setting the loop specification to (0, last_sample) would repeat the entire sound indefinitely.
Low-latency scheduling
I was once trying to implement a kind of drum synthesizer in rodio, where certain key-presses triggered certain sounds. However I noticed that the input latency was way too large for musical purposes. I would assume that mainly comes down to the large default buffer size, and #512 should improve that.

I'm simply adding a few use cases I had in the past

Very helpful thank you!

Thanks for all the feedback!

I add my sources more 'dynamically'. Where once the playing song ends a new one is appended. So there is no point where I can apply it.

This is an issue I ran into myself too, good to hear others have trouble with it too. We should make this easy/doable and add a full example.

I used rodio for music playback in my project termusic: https://github.com/tramhao/termusic .
Later on, when more features needed, but rodio is not merging the PRs. I have to use the code from Rodio and merge the necessary code myself.

I used rodio for music playback in my project termusic: https://github.com/tramhao/termusic . Later on, when more features needed, but rodio is not merging the PRs. I have to use the code from Rodio and merge the necessary code myself.

Could you specify which features you specifically need for your app?

From #636 by callum-jones19

Hi there!
I just had a brief issue dealing with the following situation:
You create a new sink.
You open two sources from files.
Both sources are appended to the sink
During playback of source 1, you decide that you want to remove source 2, and append a new source in its place.

However, I want to do this without interrupting the flow of playback. This is for a music player, so the possibility of the next upcoming song changing (say, because of a queue change) without interrupting the current playback (stutters, moment of silence, etc) is quite important. I would also like to keep the gapless playback functionality.
Right now, the only solution I could think of is having a secondary sink which is switched out, but this seems a bit cumbersome and likely to cause one of the issues I mentioned above. The way my player works right now is there is a Vec of song file paths (my 'lightweight' queue). When you add a song to this file path queue, it checks to see if the sink contains < 4 song sources in it. If it does, then it opens the file path into an actual source, and adds it to the sink. An EmptyCallback that sits after this then runs whenever the song source ends, and opens the next song path in the file path vec into a Decoder, which is then appended to the sink.
I do this so that I can have a very large queue that is easy to control (plus has song struct info in it) with minimal open file pointers, etc, but then the sink is constantly kept at 2 songs ready to go (unless there is only 1 left to play) so gapless playback works. This works well, but like I said, if I want to change the next song in the queue during playback of the first source, I am not sure how to remove the second source from the sink and append a new one in its place.
Thanks for all the hard work on Rodio - it's been incredibly helpful, and I've learnt a lot working with the library. Hopefully when I understand it a bit more fully I can contribute back to it too :)

Some of these are pretty specific and my fall outside the scope of this project/may be implemented I just haven't found them yet, buuut...
I would love easier ways to manage channels. Including:

Ways of taking certain channels of a source (for example, taking the first channel of a wave file and making it mono)
Customizing the way that channels from a source are mixed up and down to different numbers of channels (for example a stereo wave file mixing up to an number of device channels).
Ways for sources to be aware of the channel situation of the output (or maybe the next channel configuration in the chain?) (for example, a source that always has the same number of channels as the device output.

This is useful if, for example, you wanted to implement a source that does the sound design trick of delaying each channel of a mono non-transient audio recording and pumping that out to each and every speaker.

Also, I've used the crate Hodaun as an alternative to Rodio in the past for some of the features it has, mostly automation of parameters. Could be a good place to look for desirable features.

Also, I've used the crate Hodaun as an alternative to Rodio in the past for some of the features it has, mostly automation of parameters. Could be a good place to look for desirable features.

very useful, we are definitely looking at it closely!

For my use case, which is a Tauri-based music player (a Rust app with a web UI), it would help a lot to have a callback assignable to source changes directly on the Sink. When one source ends and possibly another begins, it would be great if there's a callback that provides both the ended and newly-begun (if any) source as function params.

from https://github.com/RustAudio/rodio/issues/349 audio processing without playback (as some sort of lighter implementation of DASP).


feat: stringify object values

Fixes RM-2228
:---:
🧰 What's being changed?
Allow using objects as variable values.
🧬 Testing

[ ] The tests pass?

Thanks for jumping on this @kellyjosephprice!

Whoever added the linear ticket, thanks!


Rename audio_classificiation.py to audio_classification.py

Oh good catch. Can you also rename it in src/datasets/tasks/__init__.py ?

Fixed!
(I think, tough word to spell right TBH)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.